Home | History | Annotate | Line # | Download | only in dist
      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 OTOOL_FOR_TARGET
    607 OBJDUMP_FOR_TARGET
    608 OBJCOPY_FOR_TARGET
    609 NM_FOR_TARGET
    610 LIPO_FOR_TARGET
    611 LD_FOR_TARGET
    612 DSYMUTIL_FOR_TARGET
    613 DLLTOOL_FOR_TARGET
    614 AS_FOR_TARGET
    615 AR_FOR_TARGET
    616 GM2_FOR_TARGET
    617 GDC_FOR_TARGET
    618 GOC_FOR_TARGET
    619 GFORTRAN_FOR_TARGET
    620 GCC_FOR_TARGET
    621 CXX_FOR_TARGET
    622 CC_FOR_TARGET
    623 RANLIB_PLUGIN_OPTION
    624 AR_PLUGIN_OPTION
    625 PKG_CONFIG_PATH
    626 GDCFLAGS
    627 READELF
    628 OTOOL
    629 OBJDUMP
    630 OBJCOPY
    631 WINDMC
    632 WINDRES
    633 STRIP
    634 RANLIB
    635 NM
    636 LIPO
    637 LD
    638 DSYMUTIL
    639 DLLTOOL
    640 AS
    641 AR
    642 RUNTEST
    643 EXPECT
    644 MAKEINFO
    645 FLEX
    646 LEX
    647 M4
    648 BISON
    649 YACC
    650 WINDRES_FOR_BUILD
    651 WINDMC_FOR_BUILD
    652 RANLIB_FOR_BUILD
    653 NM_FOR_BUILD
    654 LD_FOR_BUILD
    655 LDFLAGS_FOR_BUILD
    656 GDC_FOR_BUILD
    657 GOC_FOR_BUILD
    658 GFORTRAN_FOR_BUILD
    659 DSYMUTIL_FOR_BUILD
    660 DLLTOOL_FOR_BUILD
    661 CXX_FOR_BUILD
    662 CXXFLAGS_FOR_BUILD
    663 CPPFLAGS_FOR_BUILD
    664 CPP_FOR_BUILD
    665 CFLAGS_FOR_BUILD
    666 CC_FOR_BUILD
    667 AS_FOR_BUILD
    668 AR_FOR_BUILD
    669 target_configdirs
    670 configdirs
    671 build_configdirs
    672 INSTALL_GDB_TK
    673 GDB_TK
    674 CONFIGURE_GDB_TK
    675 build_tooldir
    676 tooldir
    677 GCC_SHLIB_SUBDIR
    678 RPATH_ENVVAR
    679 target_configargs
    680 host_configargs
    681 build_configargs
    682 BUILD_CONFIG
    683 LDFLAGS_FOR_TARGET
    684 CXXFLAGS_FOR_TARGET
    685 CFLAGS_FOR_TARGET
    686 DEBUG_PREFIX_CFLAGS_FOR_TARGET
    687 SYSROOT_CFLAGS_FOR_TARGET
    688 get_gcc_base_ver
    689 extra_host_zlib_configure_flags
    690 extra_host_libiberty_configure_flags
    691 stage1_languages
    692 host_libs_picflag
    693 PICFLAG
    694 host_shared
    695 gcc_host_pie
    696 host_pie
    697 extra_linker_plugin_flags
    698 extra_linker_plugin_configure_flags
    699 islinc
    700 isllibs
    701 poststage1_ldflags
    702 poststage1_libs
    703 stage1_ldflags
    704 stage1_libs
    705 extra_isl_gmp_configure_flags
    706 extra_mpc_mpfr_configure_flags
    707 extra_mpc_gmp_configure_flags
    708 extra_mpfr_configure_flags
    709 gmpinc
    710 gmplibs
    711 PGO_BUILD_LTO_CFLAGS
    712 PGO_BUILD_USE_CFLAGS
    713 PGO_BUILD_GEN_CFLAGS
    714 HAVE_CXX11_FOR_BUILD
    715 HAVE_CXX11
    716 do_compare
    717 CARGO
    718 GDC
    719 GNATMAKE
    720 GNATBIND
    721 ac_ct_CXX
    722 CXXFLAGS
    723 CXX
    724 OBJEXT
    725 EXEEXT
    726 ac_ct_CC
    727 CPPFLAGS
    728 LDFLAGS
    729 CFLAGS
    730 CC
    731 target_subdir
    732 host_subdir
    733 build_subdir
    734 build_libsubdir
    735 AWK
    736 SED
    737 LN_S
    738 LN
    739 INSTALL_DATA
    740 INSTALL_SCRIPT
    741 INSTALL_PROGRAM
    742 target_os
    743 target_vendor
    744 target_cpu
    745 target
    746 host_os
    747 host_vendor
    748 host_cpu
    749 host
    750 target_noncanonical
    751 host_noncanonical
    752 build_noncanonical
    753 build_os
    754 build_vendor
    755 build_cpu
    756 build
    757 TOPLEVEL_CONFIGURE_ARGUMENTS
    758 target_alias
    759 host_alias
    760 build_alias
    761 LIBS
    762 ECHO_T
    763 ECHO_N
    764 ECHO_C
    765 DEFS
    766 mandir
    767 localedir
    768 libdir
    769 psdir
    770 pdfdir
    771 dvidir
    772 htmldir
    773 infodir
    774 docdir
    775 oldincludedir
    776 includedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL'
    796 ac_subst_files='serialization_dependencies
    797 host_makefile_frag
    798 target_makefile_frag
    799 alphaieee_frag
    800 ospace_frag'
    801 ac_user_opts='
    802 enable_option_checking
    803 with_build_libsubdir
    804 with_system_zlib
    805 with_zstd
    806 enable_as_accelerator_for
    807 enable_offload_targets
    808 enable_offload_defaulted
    809 enable_gold
    810 enable_ld
    811 enable_gprofng
    812 enable_compressed_debug_sections
    813 enable_default_compressed_debug_sections_algorithm
    814 enable_year2038
    815 enable_libquadmath
    816 enable_libquadmath_support
    817 enable_libada
    818 enable_libgm2
    819 enable_libssp
    820 enable_libstdcxx
    821 enable_bootstrap
    822 enable_pgo_build
    823 with_mpc
    824 with_mpc_include
    825 with_mpc_lib
    826 with_mpfr
    827 with_mpfr_include
    828 with_mpfr_lib
    829 with_gmp
    830 with_gmp_include
    831 with_gmp_lib
    832 with_stage1_libs
    833 with_static_standard_libraries
    834 with_stage1_ldflags
    835 with_boot_libs
    836 with_boot_ldflags
    837 with_isl
    838 with_isl_include
    839 with_isl_lib
    840 enable_isl_version_check
    841 enable_lto
    842 enable_linker_plugin_configure_flags
    843 enable_linker_plugin_flags
    844 enable_host_pie
    845 enable_host_shared
    846 enable_stage1_languages
    847 enable_objc_gc
    848 with_target_bdw_gc
    849 with_target_bdw_gc_include
    850 with_target_bdw_gc_lib
    851 with_gcc_major_version_only
    852 with_build_sysroot
    853 with_debug_prefix_map
    854 with_build_config
    855 enable_vtable_verify
    856 enable_serial_configure
    857 with_build_time_tools
    858 enable_maintainer_mode
    859 enable_stage1_checking
    860 enable_werror
    861 '
    862       ac_precious_vars='build_alias
    863 host_alias
    864 target_alias
    865 CC
    866 CFLAGS
    867 LDFLAGS
    868 LIBS
    869 CPPFLAGS
    870 CXX
    871 CXXFLAGS
    872 CCC
    873 build_configargs
    874 host_configargs
    875 target_configargs
    876 AR
    877 AS
    878 DLLTOOL
    879 DSYMUTIL
    880 LD
    881 LIPO
    882 NM
    883 RANLIB
    884 STRIP
    885 WINDRES
    886 WINDMC
    887 OBJCOPY
    888 OBJDUMP
    889 OTOOL
    890 READELF
    891 CC_FOR_TARGET
    892 CXX_FOR_TARGET
    893 GCC_FOR_TARGET
    894 GFORTRAN_FOR_TARGET
    895 GOC_FOR_TARGET
    896 GDC_FOR_TARGET
    897 GM2_FOR_TARGET
    898 AR_FOR_TARGET
    899 AS_FOR_TARGET
    900 DLLTOOL_FOR_TARGET
    901 DSYMUTIL_FOR_TARGET
    902 LD_FOR_TARGET
    903 LIPO_FOR_TARGET
    904 NM_FOR_TARGET
    905 OBJCOPY_FOR_TARGET
    906 OBJDUMP_FOR_TARGET
    907 OTOOL_FOR_TARGET
    908 RANLIB_FOR_TARGET
    909 READELF_FOR_TARGET
    910 STRIP_FOR_TARGET
    911 WINDRES_FOR_TARGET
    912 WINDMC_FOR_TARGET'
    913 
    914 
    915 # Initialize some variables set by options.
    916 ac_init_help=
    917 ac_init_version=false
    918 ac_unrecognized_opts=
    919 ac_unrecognized_sep=
    920 # The variables have the same names as the options, with
    921 # dashes changed to underlines.
    922 cache_file=/dev/null
    923 exec_prefix=NONE
    924 no_create=
    925 no_recursion=
    926 prefix=NONE
    927 program_prefix=NONE
    928 program_suffix=NONE
    929 program_transform_name=s,x,x,
    930 silent=
    931 site=
    932 srcdir=
    933 verbose=
    934 x_includes=NONE
    935 x_libraries=NONE
    936 
    937 # Installation directory options.
    938 # These are left unexpanded so users can "make install exec_prefix=/foo"
    939 # and all the variables that are supposed to be based on exec_prefix
    940 # by default will actually change.
    941 # Use braces instead of parens because sh, perl, etc. also accept them.
    942 # (The list follows the same order as the GNU Coding Standards.)
    943 bindir='${exec_prefix}/bin'
    944 sbindir='${exec_prefix}/sbin'
    945 libexecdir='${exec_prefix}/libexec'
    946 datarootdir='${prefix}/share'
    947 datadir='${datarootdir}'
    948 sysconfdir='${prefix}/etc'
    949 sharedstatedir='${prefix}/com'
    950 localstatedir='${prefix}/var'
    951 includedir='${prefix}/include'
    952 oldincludedir='/usr/include'
    953 docdir='${datarootdir}/doc/${PACKAGE}'
    954 infodir='${datarootdir}/info'
    955 htmldir='${docdir}'
    956 dvidir='${docdir}'
    957 pdfdir='${docdir}'
    958 psdir='${docdir}'
    959 libdir='${exec_prefix}/lib'
    960 localedir='${datarootdir}/locale'
    961 mandir='${datarootdir}/man'
    962 
    963 ac_prev=
    964 ac_dashdash=
    965 for ac_option
    966 do
    967   # If the previous option needs an argument, assign it.
    968   if test -n "$ac_prev"; then
    969     eval $ac_prev=\$ac_option
    970     ac_prev=
    971     continue
    972   fi
    973 
    974   case $ac_option in
    975   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    976   *=)   ac_optarg= ;;
    977   *)    ac_optarg=yes ;;
    978   esac
    979 
    980   # Accept the important Cygnus configure options, so we can diagnose typos.
    981 
    982   case $ac_dashdash$ac_option in
    983   --)
    984     ac_dashdash=yes ;;
    985 
    986   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    987     ac_prev=bindir ;;
    988   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    989     bindir=$ac_optarg ;;
    990 
    991   -build | --build | --buil | --bui | --bu)
    992     ac_prev=build_alias ;;
    993   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    994     build_alias=$ac_optarg ;;
    995 
    996   -cache-file | --cache-file | --cache-fil | --cache-fi \
    997   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    998     ac_prev=cache_file ;;
    999   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1000   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1001     cache_file=$ac_optarg ;;
   1002 
   1003   --config-cache | -C)
   1004     cache_file=config.cache ;;
   1005 
   1006   -datadir | --datadir | --datadi | --datad)
   1007     ac_prev=datadir ;;
   1008   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1009     datadir=$ac_optarg ;;
   1010 
   1011   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1012   | --dataroo | --dataro | --datar)
   1013     ac_prev=datarootdir ;;
   1014   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1015   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1016     datarootdir=$ac_optarg ;;
   1017 
   1018   -disable-* | --disable-*)
   1019     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1020     # Reject names that are not valid shell variable names.
   1021     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1022       as_fn_error $? "invalid feature name: $ac_useropt"
   1023     ac_useropt_orig=$ac_useropt
   1024     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1025     case $ac_user_opts in
   1026       *"
   1027 "enable_$ac_useropt"
   1028 "*) ;;
   1029       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1030 	 ac_unrecognized_sep=', ';;
   1031     esac
   1032     eval enable_$ac_useropt=no ;;
   1033 
   1034   -docdir | --docdir | --docdi | --doc | --do)
   1035     ac_prev=docdir ;;
   1036   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1037     docdir=$ac_optarg ;;
   1038 
   1039   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1040     ac_prev=dvidir ;;
   1041   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1042     dvidir=$ac_optarg ;;
   1043 
   1044   -enable-* | --enable-*)
   1045     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1046     # Reject names that are not valid shell variable names.
   1047     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1048       as_fn_error $? "invalid feature name: $ac_useropt"
   1049     ac_useropt_orig=$ac_useropt
   1050     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1051     case $ac_user_opts in
   1052       *"
   1053 "enable_$ac_useropt"
   1054 "*) ;;
   1055       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1056 	 ac_unrecognized_sep=', ';;
   1057     esac
   1058     eval enable_$ac_useropt=\$ac_optarg ;;
   1059 
   1060   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1061   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1062   | --exec | --exe | --ex)
   1063     ac_prev=exec_prefix ;;
   1064   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1065   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1066   | --exec=* | --exe=* | --ex=*)
   1067     exec_prefix=$ac_optarg ;;
   1068 
   1069   -gas | --gas | --ga | --g)
   1070     # Obsolete; use --with-gas.
   1071     with_gas=yes ;;
   1072 
   1073   -help | --help | --hel | --he | -h)
   1074     ac_init_help=long ;;
   1075   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1076     ac_init_help=recursive ;;
   1077   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1078     ac_init_help=short ;;
   1079 
   1080   -host | --host | --hos | --ho)
   1081     ac_prev=host_alias ;;
   1082   -host=* | --host=* | --hos=* | --ho=*)
   1083     host_alias=$ac_optarg ;;
   1084 
   1085   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1086     ac_prev=htmldir ;;
   1087   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1088   | --ht=*)
   1089     htmldir=$ac_optarg ;;
   1090 
   1091   -includedir | --includedir | --includedi | --included | --include \
   1092   | --includ | --inclu | --incl | --inc)
   1093     ac_prev=includedir ;;
   1094   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1095   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1096     includedir=$ac_optarg ;;
   1097 
   1098   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1099     ac_prev=infodir ;;
   1100   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1101     infodir=$ac_optarg ;;
   1102 
   1103   -libdir | --libdir | --libdi | --libd)
   1104     ac_prev=libdir ;;
   1105   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1106     libdir=$ac_optarg ;;
   1107 
   1108   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1109   | --libexe | --libex | --libe)
   1110     ac_prev=libexecdir ;;
   1111   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1112   | --libexe=* | --libex=* | --libe=*)
   1113     libexecdir=$ac_optarg ;;
   1114 
   1115   -localedir | --localedir | --localedi | --localed | --locale)
   1116     ac_prev=localedir ;;
   1117   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1118     localedir=$ac_optarg ;;
   1119 
   1120   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1121   | --localstate | --localstat | --localsta | --localst | --locals)
   1122     ac_prev=localstatedir ;;
   1123   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1124   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1125     localstatedir=$ac_optarg ;;
   1126 
   1127   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1128     ac_prev=mandir ;;
   1129   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1130     mandir=$ac_optarg ;;
   1131 
   1132   -nfp | --nfp | --nf)
   1133     # Obsolete; use --without-fp.
   1134     with_fp=no ;;
   1135 
   1136   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1137   | --no-cr | --no-c | -n)
   1138     no_create=yes ;;
   1139 
   1140   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1141   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1142     no_recursion=yes ;;
   1143 
   1144   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1145   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1146   | --oldin | --oldi | --old | --ol | --o)
   1147     ac_prev=oldincludedir ;;
   1148   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1149   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1150   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1151     oldincludedir=$ac_optarg ;;
   1152 
   1153   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1154     ac_prev=prefix ;;
   1155   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1156     prefix=$ac_optarg ;;
   1157 
   1158   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1159   | --program-pre | --program-pr | --program-p)
   1160     ac_prev=program_prefix ;;
   1161   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1162   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1163     program_prefix=$ac_optarg ;;
   1164 
   1165   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1166   | --program-suf | --program-su | --program-s)
   1167     ac_prev=program_suffix ;;
   1168   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1169   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1170     program_suffix=$ac_optarg ;;
   1171 
   1172   -program-transform-name | --program-transform-name \
   1173   | --program-transform-nam | --program-transform-na \
   1174   | --program-transform-n | --program-transform- \
   1175   | --program-transform | --program-transfor \
   1176   | --program-transfo | --program-transf \
   1177   | --program-trans | --program-tran \
   1178   | --progr-tra | --program-tr | --program-t)
   1179     ac_prev=program_transform_name ;;
   1180   -program-transform-name=* | --program-transform-name=* \
   1181   | --program-transform-nam=* | --program-transform-na=* \
   1182   | --program-transform-n=* | --program-transform-=* \
   1183   | --program-transform=* | --program-transfor=* \
   1184   | --program-transfo=* | --program-transf=* \
   1185   | --program-trans=* | --program-tran=* \
   1186   | --progr-tra=* | --program-tr=* | --program-t=*)
   1187     program_transform_name=$ac_optarg ;;
   1188 
   1189   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1190     ac_prev=pdfdir ;;
   1191   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1192     pdfdir=$ac_optarg ;;
   1193 
   1194   -psdir | --psdir | --psdi | --psd | --ps)
   1195     ac_prev=psdir ;;
   1196   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1197     psdir=$ac_optarg ;;
   1198 
   1199   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1200   | -silent | --silent | --silen | --sile | --sil)
   1201     silent=yes ;;
   1202 
   1203   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1204     ac_prev=sbindir ;;
   1205   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1206   | --sbi=* | --sb=*)
   1207     sbindir=$ac_optarg ;;
   1208 
   1209   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1210   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1211   | --sharedst | --shareds | --shared | --share | --shar \
   1212   | --sha | --sh)
   1213     ac_prev=sharedstatedir ;;
   1214   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1215   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1216   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1217   | --sha=* | --sh=*)
   1218     sharedstatedir=$ac_optarg ;;
   1219 
   1220   -site | --site | --sit)
   1221     ac_prev=site ;;
   1222   -site=* | --site=* | --sit=*)
   1223     site=$ac_optarg ;;
   1224 
   1225   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1226     ac_prev=srcdir ;;
   1227   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1228     srcdir=$ac_optarg ;;
   1229 
   1230   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1231   | --syscon | --sysco | --sysc | --sys | --sy)
   1232     ac_prev=sysconfdir ;;
   1233   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1234   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1235     sysconfdir=$ac_optarg ;;
   1236 
   1237   -target | --target | --targe | --targ | --tar | --ta | --t)
   1238     ac_prev=target_alias ;;
   1239   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1240     target_alias=$ac_optarg ;;
   1241 
   1242   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1243     verbose=yes ;;
   1244 
   1245   -version | --version | --versio | --versi | --vers | -V)
   1246     ac_init_version=: ;;
   1247 
   1248   -with-* | --with-*)
   1249     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1250     # Reject names that are not valid shell variable names.
   1251     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1252       as_fn_error $? "invalid package name: $ac_useropt"
   1253     ac_useropt_orig=$ac_useropt
   1254     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1255     case $ac_user_opts in
   1256       *"
   1257 "with_$ac_useropt"
   1258 "*) ;;
   1259       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1260 	 ac_unrecognized_sep=', ';;
   1261     esac
   1262     eval with_$ac_useropt=\$ac_optarg ;;
   1263 
   1264   -without-* | --without-*)
   1265     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1266     # Reject names that are not valid shell variable names.
   1267     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1268       as_fn_error $? "invalid package name: $ac_useropt"
   1269     ac_useropt_orig=$ac_useropt
   1270     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1271     case $ac_user_opts in
   1272       *"
   1273 "with_$ac_useropt"
   1274 "*) ;;
   1275       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1276 	 ac_unrecognized_sep=', ';;
   1277     esac
   1278     eval with_$ac_useropt=no ;;
   1279 
   1280   --x)
   1281     # Obsolete; use --with-x.
   1282     with_x=yes ;;
   1283 
   1284   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1285   | --x-incl | --x-inc | --x-in | --x-i)
   1286     ac_prev=x_includes ;;
   1287   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1288   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1289     x_includes=$ac_optarg ;;
   1290 
   1291   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1292   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1293     ac_prev=x_libraries ;;
   1294   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1295   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1296     x_libraries=$ac_optarg ;;
   1297 
   1298   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1299 Try \`$0 --help' for more information"
   1300     ;;
   1301 
   1302   *=*)
   1303     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1304     # Reject names that are not valid shell variable names.
   1305     case $ac_envvar in #(
   1306       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1307       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1308     esac
   1309     eval $ac_envvar=\$ac_optarg
   1310     export $ac_envvar ;;
   1311 
   1312   *)
   1313     # FIXME: should be removed in autoconf 3.0.
   1314     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1315     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1316       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1317     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1318     ;;
   1319 
   1320   esac
   1321 done
   1322 
   1323 if test -n "$ac_prev"; then
   1324   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1325   as_fn_error $? "missing argument to $ac_option"
   1326 fi
   1327 
   1328 if test -n "$ac_unrecognized_opts"; then
   1329   case $enable_option_checking in
   1330     no) ;;
   1331     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1332     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1333   esac
   1334 fi
   1335 
   1336 # Check all directory arguments for consistency.
   1337 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1338 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1339 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1340 		libdir localedir mandir
   1341 do
   1342   eval ac_val=\$$ac_var
   1343   # Remove trailing slashes.
   1344   case $ac_val in
   1345     */ )
   1346       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1347       eval $ac_var=\$ac_val;;
   1348   esac
   1349   # Be sure to have absolute directory names.
   1350   case $ac_val in
   1351     [\\/$]* | ?:[\\/]* )  continue;;
   1352     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1353   esac
   1354   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1355 done
   1356 
   1357 # There might be people who depend on the old broken behavior: `$host'
   1358 # used to hold the argument of --host etc.
   1359 # FIXME: To remove some day.
   1360 build=$build_alias
   1361 host=$host_alias
   1362 target=$target_alias
   1363 
   1364 # FIXME: To remove some day.
   1365 if test "x$host_alias" != x; then
   1366   if test "x$build_alias" = x; then
   1367     cross_compiling=maybe
   1368   elif test "x$build_alias" != "x$host_alias"; then
   1369     cross_compiling=yes
   1370   fi
   1371 fi
   1372 
   1373 ac_tool_prefix=
   1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1375 
   1376 test "$silent" = yes && exec 6>/dev/null
   1377 
   1378 
   1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1380 ac_ls_di=`ls -di .` &&
   1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1382   as_fn_error $? "working directory cannot be determined"
   1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1384   as_fn_error $? "pwd does not report name of working directory"
   1385 
   1386 
   1387 # Find the source files, if location was not specified.
   1388 if test -z "$srcdir"; then
   1389   ac_srcdir_defaulted=yes
   1390   # Try the directory containing this script, then the parent directory.
   1391   ac_confdir=`$as_dirname -- "$as_myself" ||
   1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1393 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1394 	 X"$as_myself" : 'X\(//\)$' \| \
   1395 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1396 $as_echo X"$as_myself" |
   1397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  /^X\(\/\/\)[^/].*/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\/\)$/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  /^X\(\/\).*/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  s/.*/./; q'`
   1414   srcdir=$ac_confdir
   1415   if test ! -r "$srcdir/$ac_unique_file"; then
   1416     srcdir=..
   1417   fi
   1418 else
   1419   ac_srcdir_defaulted=no
   1420 fi
   1421 if test ! -r "$srcdir/$ac_unique_file"; then
   1422   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1423   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1424 fi
   1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1426 ac_abs_confdir=`(
   1427 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1428 	pwd)`
   1429 # When building in place, set srcdir=.
   1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1431   srcdir=.
   1432 fi
   1433 # Remove unnecessary trailing slashes from srcdir.
   1434 # Double slashes in file names in object file debugging info
   1435 # mess up M-x gdb in Emacs.
   1436 case $srcdir in
   1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1438 esac
   1439 case $srcdir in
   1440   *" "*)
   1441     as_fn_error $? "path to source, $srcdir, contains spaces"
   1442     ;;
   1443 esac
   1444 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
   1445 
   1446 for ac_var in $ac_precious_vars; do
   1447   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1448   eval ac_env_${ac_var}_value=\$${ac_var}
   1449   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1450   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1451 done
   1452 
   1453 #
   1454 # Report the --help message.
   1455 #
   1456 if test "$ac_init_help" = "long"; then
   1457   # Omit some internal or obsolete options to make the list less imposing.
   1458   # This message is too long to be a string in the A/UX 3.1 sh.
   1459   cat <<_ACEOF
   1460 \`configure' configures this package to adapt to many kinds of systems.
   1461 
   1462 Usage: $0 [OPTION]... [VAR=VALUE]...
   1463 
   1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1465 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1466 
   1467 Defaults for the options are specified in brackets.
   1468 
   1469 Configuration:
   1470   -h, --help              display this help and exit
   1471       --help=short        display options specific to this package
   1472       --help=recursive    display the short help of all the included packages
   1473   -V, --version           display version information and exit
   1474   -q, --quiet, --silent   do not print \`checking ...' messages
   1475       --cache-file=FILE   cache test results in FILE [disabled]
   1476   -C, --config-cache      alias for \`--cache-file=config.cache'
   1477   -n, --no-create         do not create output files
   1478       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1479 
   1480 Installation directories:
   1481   --prefix=PREFIX         install architecture-independent files in PREFIX
   1482                           [$ac_default_prefix]
   1483   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1484                           [PREFIX]
   1485 
   1486 By default, \`make install' will install all the files in
   1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1489 for instance \`--prefix=\$HOME'.
   1490 
   1491 For better control, use the options below.
   1492 
   1493 Fine tuning of the installation directories:
   1494   --bindir=DIR            user executables [EPREFIX/bin]
   1495   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1496   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1497   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1498   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1499   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1500   --libdir=DIR            object code libraries [EPREFIX/lib]
   1501   --includedir=DIR        C header files [PREFIX/include]
   1502   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1503   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1504   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1505   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1506   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1507   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1508   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1509   --htmldir=DIR           html documentation [DOCDIR]
   1510   --dvidir=DIR            dvi documentation [DOCDIR]
   1511   --pdfdir=DIR            pdf documentation [DOCDIR]
   1512   --psdir=DIR             ps documentation [DOCDIR]
   1513 _ACEOF
   1514 
   1515   cat <<\_ACEOF
   1516 
   1517 Program names:
   1518   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1519   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1520   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1521 
   1522 System types:
   1523   --build=BUILD     configure for building on BUILD [guessed]
   1524   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1525   --target=TARGET   configure for building compilers for TARGET [HOST]
   1526 _ACEOF
   1527 fi
   1528 
   1529 if test -n "$ac_init_help"; then
   1530 
   1531   cat <<\_ACEOF
   1532 
   1533 Optional Features:
   1534   --disable-option-checking  ignore unrecognized --enable/--with options
   1535   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1536   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1537   --enable-as-accelerator-for=ARG
   1538                           build as offload target compiler. Specify offload
   1539                           host triple by ARG
   1540   --enable-offload-targets=LIST
   1541                           enable offloading to devices from comma-separated
   1542                           LIST of TARGET[=DIR]. Use optional path to find
   1543                           offload target compiler during the build
   1544   --enable-offload-defaulted
   1545 		If enabled, configured but not installed offload compilers and
   1546 		libgomp plugins are silently ignored.  Useful for distribution
   1547 		compilers where those are in separate optional packages.
   1548 
   1549   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1550   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   1551   --enable-gprofng[=ARG]  build gprofng [ARG={yes,no}]
   1552   --enable-compressed-debug-sections={all,gas,gold,ld,none}
   1553                           Enable compressed debug sections for gas, gold or ld
   1554                           by default
   1555   --enable-default-compressed-debug-sections-algorithm={zlib,zstd}
   1556                           Default compression algorithm for
   1557                           --enable-compressed-debug-sections.
   1558   --enable-year2038       enable support for timestamps past the year 2038
   1559   --disable-libquadmath   do not build libquadmath directory
   1560   --disable-libquadmath-support
   1561                           disable libquadmath support for Fortran
   1562   --enable-libada         build libada directory
   1563   --enable-libgm2         build libgm2 directory
   1564   --enable-libssp         build libssp directory
   1565   --disable-libstdcxx     do not build libstdc++-v3 directory
   1566   --enable-bootstrap      enable bootstrapping [yes if native build]
   1567   --enable-pgo-build[=lto]
   1568                           enable the PGO build
   1569   --disable-isl-version-check
   1570                           disable check for isl version
   1571   --enable-lto            enable link time optimization support
   1572   --enable-linker-plugin-configure-flags=FLAGS
   1573                           additional flags for configuring linker plugins
   1574                           [none]
   1575   --enable-linker-plugin-flags=FLAGS
   1576                           additional flags for configuring and building linker
   1577                           plugins [none]
   1578   --enable-host-pie       build position independent host executables
   1579   --enable-host-shared    build host code as shared libraries
   1580   --enable-stage1-languages[=all]
   1581                           choose additional languages to build during stage1.
   1582                           Mostly useful for compiler development
   1583   --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
   1584                           Objective-C runtime
   1585   --enable-vtable-verify  Enable vtable verification feature
   1586   --enable-serial-[{host,target,build}-]configure
   1587                           force sequential configuration of sub-packages for
   1588                           the host, target or build machine, or all
   1589                           sub-packages
   1590   --enable-maintainer-mode
   1591                           enable make rules and dependencies not useful (and
   1592                           sometimes confusing) to the casual installer
   1593   --enable-stage1-checking[=all]
   1594                           choose additional checking for stage1 of the
   1595                           compiler
   1596   --enable-werror         enable -Werror in bootstrap stage2 and later
   1597 
   1598 Optional Packages:
   1599   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1600   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1601   --with-build-libsubdir=DIR  Directory where to find libraries for build system
   1602   --with-system-zlib      use installed libz
   1603   --with-zstd             Support zstd compressed debug sections
   1604                           (default=auto)
   1605   --with-mpc=PATH         specify prefix directory for installed MPC package.
   1606                           Equivalent to --with-mpc-include=PATH/include plus
   1607                           --with-mpc-lib=PATH/lib
   1608   --with-mpc-include=PATH specify directory for installed MPC include files
   1609   --with-mpc-lib=PATH     specify directory for the installed MPC library
   1610   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
   1611                           Equivalent to --with-mpfr-include=PATH/include plus
   1612                           --with-mpfr-lib=PATH/lib
   1613   --with-mpfr-include=PATH
   1614                           specify directory for installed MPFR include files
   1615   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   1616   --with-gmp=PATH         specify prefix directory for the installed GMP
   1617                           package. Equivalent to
   1618                           --with-gmp-include=PATH/include plus
   1619                           --with-gmp-lib=PATH/lib
   1620   --with-gmp-include=PATH specify directory for installed GMP include files
   1621   --with-gmp-lib=PATH     specify directory for the installed GMP library
   1622   --with-stage1-libs=LIBS libraries for stage1
   1623   --with-static-standard-libraries
   1624                           use -static-libstdc++ and -static-libgcc
   1625                           (default=auto)
   1626   --with-stage1-ldflags=FLAGS
   1627                           linker flags for stage1
   1628   --with-boot-libs=LIBS   libraries for stage2 and later
   1629   --with-boot-ldflags=FLAGS
   1630                           linker flags for stage2 and later
   1631   --with-isl=PATH         Specify prefix directory for the installed isl
   1632                           package. Equivalent to
   1633                           --with-isl-include=PATH/include plus
   1634                           --with-isl-lib=PATH/lib
   1635   --with-isl-include=PATH Specify directory for installed isl include files
   1636   --with-isl-lib=PATH     Specify the directory for the installed isl library
   1637   --with-target-bdw-gc=PATHLIST
   1638                           specify prefix directory for installed bdw-gc
   1639                           package. Equivalent to
   1640                           --with-target-bdw-gc-include=PATH/include plus
   1641                           --with-target-bdw-gc-lib=PATH/lib
   1642   --with-target-bdw-gc-include=PATHLIST
   1643                           specify directories for installed bdw-gc include
   1644                           files
   1645   --with-target-bdw-gc-lib=PATHLIST
   1646                           specify directories for installed bdw-gc library
   1647   --with-gcc-major-version-only
   1648                           use only GCC major number in filesystem paths
   1649   --with-build-sysroot=SYSROOT
   1650                           use sysroot as the system root during the build
   1651   --with-debug-prefix-map='A=B C=D ...'
   1652                           map A to B, C to D ... in debug information
   1653   --with-build-config='NAME NAME2...'
   1654                           use config/NAME.mk build configuration
   1655   --with-build-time-tools=PATH
   1656                           use given path to find target tools during the build
   1657 
   1658 Some influential environment variables:
   1659   CC          C compiler command
   1660   CFLAGS      C compiler flags
   1661   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1662               nonstandard directory <lib dir>
   1663   LIBS        libraries to pass to the linker, e.g. -l<library>
   1664   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1665               you have headers in a nonstandard directory <include dir>
   1666   CXX         C++ compiler command
   1667   CXXFLAGS    C++ compiler flags
   1668   build_configargs
   1669               additional configure arguments for build directories
   1670   host_configargs
   1671               additional configure arguments for host directories
   1672   target_configargs
   1673               additional configure arguments for target directories
   1674   AR          AR for the host
   1675   AS          AS for the host
   1676   DLLTOOL     DLLTOOL for the host
   1677   DSYMUTIL    DSYMUTIL for the host
   1678   LD          LD for the host
   1679   LIPO        LIPO for the host
   1680   NM          NM for the host
   1681   RANLIB      RANLIB for the host
   1682   STRIP       STRIP for the host
   1683   WINDRES     WINDRES for the host
   1684   WINDMC      WINDMC for the host
   1685   OBJCOPY     OBJCOPY for the host
   1686   OBJDUMP     OBJDUMP for the host
   1687   OTOOL       OTOOL for the host
   1688   READELF     READELF for the host
   1689   CC_FOR_TARGET
   1690               CC for the target
   1691   CXX_FOR_TARGET
   1692               CXX for the target
   1693   GCC_FOR_TARGET
   1694               GCC for the target
   1695   GFORTRAN_FOR_TARGET
   1696               GFORTRAN for the target
   1697   GOC_FOR_TARGET
   1698               GOC for the target
   1699   GDC_FOR_TARGET
   1700               GDC for the target
   1701   GM2_FOR_TARGET
   1702               GM2 for the target
   1703   AR_FOR_TARGET
   1704               AR for the target
   1705   AS_FOR_TARGET
   1706               AS for the target
   1707   DLLTOOL_FOR_TARGET
   1708               DLLTOOL for the target
   1709   DSYMUTIL_FOR_TARGET
   1710               DSYMUTIL for the target
   1711   LD_FOR_TARGET
   1712               LD for the target
   1713   LIPO_FOR_TARGET
   1714               LIPO for the target
   1715   NM_FOR_TARGET
   1716               NM for the target
   1717   OBJCOPY_FOR_TARGET
   1718               OBJCOPY for the target
   1719   OBJDUMP_FOR_TARGET
   1720               OBJDUMP for the target
   1721   OTOOL_FOR_TARGET
   1722               OTOOL for the target
   1723   RANLIB_FOR_TARGET
   1724               RANLIB for the target
   1725   READELF_FOR_TARGET
   1726               READELF for the target
   1727   STRIP_FOR_TARGET
   1728               STRIP for the target
   1729   WINDRES_FOR_TARGET
   1730               WINDRES for the target
   1731   WINDMC_FOR_TARGET
   1732               WINDMC for the target
   1733 
   1734 Use these variables to override the choices made by `configure' or to help
   1735 it to find libraries and programs with nonstandard names/locations.
   1736 
   1737 Report bugs to the package provider.
   1738 _ACEOF
   1739 ac_status=$?
   1740 fi
   1741 
   1742 if test "$ac_init_help" = "recursive"; then
   1743   # If there are subdirs, report their specific --help.
   1744   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1745     test -d "$ac_dir" ||
   1746       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1747       continue
   1748     ac_builddir=.
   1749 
   1750 case "$ac_dir" in
   1751 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1752 *)
   1753   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1754   # A ".." for each directory in $ac_dir_suffix.
   1755   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1756   case $ac_top_builddir_sub in
   1757   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1758   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1759   esac ;;
   1760 esac
   1761 ac_abs_top_builddir=$ac_pwd
   1762 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1763 # for backward compatibility:
   1764 ac_top_builddir=$ac_top_build_prefix
   1765 
   1766 case $srcdir in
   1767   .)  # We are building in place.
   1768     ac_srcdir=.
   1769     ac_top_srcdir=$ac_top_builddir_sub
   1770     ac_abs_top_srcdir=$ac_pwd ;;
   1771   [\\/]* | ?:[\\/]* )  # Absolute name.
   1772     ac_srcdir=$srcdir$ac_dir_suffix;
   1773     ac_top_srcdir=$srcdir
   1774     ac_abs_top_srcdir=$srcdir ;;
   1775   *) # Relative name.
   1776     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1777     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1778     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1779 esac
   1780 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1781 
   1782     cd "$ac_dir" || { ac_status=$?; continue; }
   1783     # Check for guested configure.
   1784     if test -f "$ac_srcdir/configure.gnu"; then
   1785       echo &&
   1786       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1787     elif test -f "$ac_srcdir/configure"; then
   1788       echo &&
   1789       $SHELL "$ac_srcdir/configure" --help=recursive
   1790     else
   1791       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1792     fi || ac_status=$?
   1793     cd "$ac_pwd" || { ac_status=$?; break; }
   1794   done
   1795 fi
   1796 
   1797 test -n "$ac_init_help" && exit $ac_status
   1798 if $ac_init_version; then
   1799   cat <<\_ACEOF
   1800 configure
   1801 generated by GNU Autoconf 2.69
   1802 
   1803 Copyright (C) 2012 Free Software Foundation, Inc.
   1804 This configure script is free software; the Free Software Foundation
   1805 gives unlimited permission to copy, distribute and modify it.
   1806 _ACEOF
   1807   exit
   1808 fi
   1809 
   1810 ## ------------------------ ##
   1811 ## Autoconf initialization. ##
   1812 ## ------------------------ ##
   1813 
   1814 # ac_fn_c_try_compile LINENO
   1815 # --------------------------
   1816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1817 ac_fn_c_try_compile ()
   1818 {
   1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1820   rm -f conftest.$ac_objext
   1821   if { { ac_try="$ac_compile"
   1822 case "(($ac_try" in
   1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1824   *) ac_try_echo=$ac_try;;
   1825 esac
   1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1827 $as_echo "$ac_try_echo"; } >&5
   1828   (eval "$ac_compile") 2>conftest.err
   1829   ac_status=$?
   1830   if test -s conftest.err; then
   1831     grep -v '^ *+' conftest.err >conftest.er1
   1832     cat conftest.er1 >&5
   1833     mv -f conftest.er1 conftest.err
   1834   fi
   1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1836   test $ac_status = 0; } && {
   1837 	 test -z "$ac_c_werror_flag" ||
   1838 	 test ! -s conftest.err
   1839        } && test -s conftest.$ac_objext; then :
   1840   ac_retval=0
   1841 else
   1842   $as_echo "$as_me: failed program was:" >&5
   1843 sed 's/^/| /' conftest.$ac_ext >&5
   1844 
   1845 	ac_retval=1
   1846 fi
   1847   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1848   as_fn_set_status $ac_retval
   1849 
   1850 } # ac_fn_c_try_compile
   1851 
   1852 # ac_fn_cxx_try_compile LINENO
   1853 # ----------------------------
   1854 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1855 ac_fn_cxx_try_compile ()
   1856 {
   1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1858   rm -f conftest.$ac_objext
   1859   if { { ac_try="$ac_compile"
   1860 case "(($ac_try" in
   1861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1862   *) ac_try_echo=$ac_try;;
   1863 esac
   1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1865 $as_echo "$ac_try_echo"; } >&5
   1866   (eval "$ac_compile") 2>conftest.err
   1867   ac_status=$?
   1868   if test -s conftest.err; then
   1869     grep -v '^ *+' conftest.err >conftest.er1
   1870     cat conftest.er1 >&5
   1871     mv -f conftest.er1 conftest.err
   1872   fi
   1873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1874   test $ac_status = 0; } && {
   1875 	 test -z "$ac_cxx_werror_flag" ||
   1876 	 test ! -s conftest.err
   1877        } && test -s conftest.$ac_objext; then :
   1878   ac_retval=0
   1879 else
   1880   $as_echo "$as_me: failed program was:" >&5
   1881 sed 's/^/| /' conftest.$ac_ext >&5
   1882 
   1883 	ac_retval=1
   1884 fi
   1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1886   as_fn_set_status $ac_retval
   1887 
   1888 } # ac_fn_cxx_try_compile
   1889 
   1890 # ac_fn_cxx_try_link LINENO
   1891 # -------------------------
   1892 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1893 ac_fn_cxx_try_link ()
   1894 {
   1895   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1896   rm -f conftest.$ac_objext conftest$ac_exeext
   1897   if { { ac_try="$ac_link"
   1898 case "(($ac_try" in
   1899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1900   *) ac_try_echo=$ac_try;;
   1901 esac
   1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1903 $as_echo "$ac_try_echo"; } >&5
   1904   (eval "$ac_link") 2>conftest.err
   1905   ac_status=$?
   1906   if test -s conftest.err; then
   1907     grep -v '^ *+' conftest.err >conftest.er1
   1908     cat conftest.er1 >&5
   1909     mv -f conftest.er1 conftest.err
   1910   fi
   1911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1912   test $ac_status = 0; } && {
   1913 	 test -z "$ac_cxx_werror_flag" ||
   1914 	 test ! -s conftest.err
   1915        } && test -s conftest$ac_exeext && {
   1916 	 test "$cross_compiling" = yes ||
   1917 	 test -x conftest$ac_exeext
   1918        }; then :
   1919   ac_retval=0
   1920 else
   1921   $as_echo "$as_me: failed program was:" >&5
   1922 sed 's/^/| /' conftest.$ac_ext >&5
   1923 
   1924 	ac_retval=1
   1925 fi
   1926   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1927   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1928   # interfere with the next link command; also delete a directory that is
   1929   # left behind by Apple's compiler.  We do this before executing the actions.
   1930   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1932   as_fn_set_status $ac_retval
   1933 
   1934 } # ac_fn_cxx_try_link
   1935 
   1936 # ac_fn_c_try_link LINENO
   1937 # -----------------------
   1938 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1939 ac_fn_c_try_link ()
   1940 {
   1941   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1942   rm -f conftest.$ac_objext conftest$ac_exeext
   1943   if { { ac_try="$ac_link"
   1944 case "(($ac_try" in
   1945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1946   *) ac_try_echo=$ac_try;;
   1947 esac
   1948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1949 $as_echo "$ac_try_echo"; } >&5
   1950   (eval "$ac_link") 2>conftest.err
   1951   ac_status=$?
   1952   if test -s conftest.err; then
   1953     grep -v '^ *+' conftest.err >conftest.er1
   1954     cat conftest.er1 >&5
   1955     mv -f conftest.er1 conftest.err
   1956   fi
   1957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1958   test $ac_status = 0; } && {
   1959 	 test -z "$ac_c_werror_flag" ||
   1960 	 test ! -s conftest.err
   1961        } && test -s conftest$ac_exeext && {
   1962 	 test "$cross_compiling" = yes ||
   1963 	 test -x conftest$ac_exeext
   1964        }; then :
   1965   ac_retval=0
   1966 else
   1967   $as_echo "$as_me: failed program was:" >&5
   1968 sed 's/^/| /' conftest.$ac_ext >&5
   1969 
   1970 	ac_retval=1
   1971 fi
   1972   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1973   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1974   # interfere with the next link command; also delete a directory that is
   1975   # left behind by Apple's compiler.  We do this before executing the actions.
   1976   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1977   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1978   as_fn_set_status $ac_retval
   1979 
   1980 } # ac_fn_c_try_link
   1981 cat >config.log <<_ACEOF
   1982 This file contains any messages produced by compilers while
   1983 running configure, to aid debugging if configure makes a mistake.
   1984 
   1985 It was created by $as_me, which was
   1986 generated by GNU Autoconf 2.69.  Invocation command line was
   1987 
   1988   $ $0 $@
   1989 
   1990 _ACEOF
   1991 exec 5>>config.log
   1992 {
   1993 cat <<_ASUNAME
   1994 ## --------- ##
   1995 ## Platform. ##
   1996 ## --------- ##
   1997 
   1998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2003 
   2004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2005 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2006 
   2007 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2008 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2010 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2011 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2012 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2013 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2014 
   2015 _ASUNAME
   2016 
   2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2018 for as_dir in $PATH
   2019 do
   2020   IFS=$as_save_IFS
   2021   test -z "$as_dir" && as_dir=.
   2022     $as_echo "PATH: $as_dir"
   2023   done
   2024 IFS=$as_save_IFS
   2025 
   2026 } >&5
   2027 
   2028 cat >&5 <<_ACEOF
   2029 
   2030 
   2031 ## ----------- ##
   2032 ## Core tests. ##
   2033 ## ----------- ##
   2034 
   2035 _ACEOF
   2036 
   2037 
   2038 # Keep a trace of the command line.
   2039 # Strip out --no-create and --no-recursion so they do not pile up.
   2040 # Strip out --silent because we don't want to record it for future runs.
   2041 # Also quote any args containing shell meta-characters.
   2042 # Make two passes to allow for proper duplicate-argument suppression.
   2043 ac_configure_args=
   2044 ac_configure_args0=
   2045 ac_configure_args1=
   2046 ac_must_keep_next=false
   2047 for ac_pass in 1 2
   2048 do
   2049   for ac_arg
   2050   do
   2051     case $ac_arg in
   2052     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2053     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2054     | -silent | --silent | --silen | --sile | --sil)
   2055       continue ;;
   2056     *\'*)
   2057       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2058     esac
   2059     case $ac_pass in
   2060     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2061     2)
   2062       as_fn_append ac_configure_args1 " '$ac_arg'"
   2063       if test $ac_must_keep_next = true; then
   2064 	ac_must_keep_next=false # Got value, back to normal.
   2065       else
   2066 	case $ac_arg in
   2067 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2068 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2069 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2070 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2071 	    case "$ac_configure_args0 " in
   2072 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2073 	    esac
   2074 	    ;;
   2075 	  -* ) ac_must_keep_next=true ;;
   2076 	esac
   2077       fi
   2078       as_fn_append ac_configure_args " '$ac_arg'"
   2079       ;;
   2080     esac
   2081   done
   2082 done
   2083 { ac_configure_args0=; unset ac_configure_args0;}
   2084 { ac_configure_args1=; unset ac_configure_args1;}
   2085 
   2086 # When interrupted or exit'd, cleanup temporary files, and complete
   2087 # config.log.  We remove comments because anyway the quotes in there
   2088 # would cause problems or look ugly.
   2089 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2090 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2091 trap 'exit_status=$?
   2092   # Save into config.log some information that might help in debugging.
   2093   {
   2094     echo
   2095 
   2096     $as_echo "## ---------------- ##
   2097 ## Cache variables. ##
   2098 ## ---------------- ##"
   2099     echo
   2100     # The following way of writing the cache mishandles newlines in values,
   2101 (
   2102   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2103     eval ac_val=\$$ac_var
   2104     case $ac_val in #(
   2105     *${as_nl}*)
   2106       case $ac_var in #(
   2107       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2109       esac
   2110       case $ac_var in #(
   2111       _ | IFS | as_nl) ;; #(
   2112       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2113       *) { eval $ac_var=; unset $ac_var;} ;;
   2114       esac ;;
   2115     esac
   2116   done
   2117   (set) 2>&1 |
   2118     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2119     *${as_nl}ac_space=\ *)
   2120       sed -n \
   2121 	"s/'\''/'\''\\\\'\'''\''/g;
   2122 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2123       ;; #(
   2124     *)
   2125       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2126       ;;
   2127     esac |
   2128     sort
   2129 )
   2130     echo
   2131 
   2132     $as_echo "## ----------------- ##
   2133 ## Output variables. ##
   2134 ## ----------------- ##"
   2135     echo
   2136     for ac_var in $ac_subst_vars
   2137     do
   2138       eval ac_val=\$$ac_var
   2139       case $ac_val in
   2140       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2141       esac
   2142       $as_echo "$ac_var='\''$ac_val'\''"
   2143     done | sort
   2144     echo
   2145 
   2146     if test -n "$ac_subst_files"; then
   2147       $as_echo "## ------------------- ##
   2148 ## File substitutions. ##
   2149 ## ------------------- ##"
   2150       echo
   2151       for ac_var in $ac_subst_files
   2152       do
   2153 	eval ac_val=\$$ac_var
   2154 	case $ac_val in
   2155 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2156 	esac
   2157 	$as_echo "$ac_var='\''$ac_val'\''"
   2158       done | sort
   2159       echo
   2160     fi
   2161 
   2162     if test -s confdefs.h; then
   2163       $as_echo "## ----------- ##
   2164 ## confdefs.h. ##
   2165 ## ----------- ##"
   2166       echo
   2167       cat confdefs.h
   2168       echo
   2169     fi
   2170     test "$ac_signal" != 0 &&
   2171       $as_echo "$as_me: caught signal $ac_signal"
   2172     $as_echo "$as_me: exit $exit_status"
   2173   } >&5
   2174   rm -f core *.core core.conftest.* &&
   2175     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2176     exit $exit_status
   2177 ' 0
   2178 for ac_signal in 1 2 13 15; do
   2179   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2180 done
   2181 ac_signal=0
   2182 
   2183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2184 rm -f -r conftest* confdefs.h
   2185 
   2186 $as_echo "/* confdefs.h */" > confdefs.h
   2187 
   2188 # Predefined preprocessor variables.
   2189 
   2190 cat >>confdefs.h <<_ACEOF
   2191 #define PACKAGE_NAME "$PACKAGE_NAME"
   2192 _ACEOF
   2193 
   2194 cat >>confdefs.h <<_ACEOF
   2195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2196 _ACEOF
   2197 
   2198 cat >>confdefs.h <<_ACEOF
   2199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2200 _ACEOF
   2201 
   2202 cat >>confdefs.h <<_ACEOF
   2203 #define PACKAGE_STRING "$PACKAGE_STRING"
   2204 _ACEOF
   2205 
   2206 cat >>confdefs.h <<_ACEOF
   2207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2208 _ACEOF
   2209 
   2210 cat >>confdefs.h <<_ACEOF
   2211 #define PACKAGE_URL "$PACKAGE_URL"
   2212 _ACEOF
   2213 
   2214 
   2215 # Let the site file select an alternate cache file if it wants to.
   2216 # Prefer an explicitly selected file to automatically selected ones.
   2217 ac_site_file1=NONE
   2218 ac_site_file2=NONE
   2219 if test -n "$CONFIG_SITE"; then
   2220   # We do not want a PATH search for config.site.
   2221   case $CONFIG_SITE in #((
   2222     -*)  ac_site_file1=./$CONFIG_SITE;;
   2223     */*) ac_site_file1=$CONFIG_SITE;;
   2224     *)   ac_site_file1=./$CONFIG_SITE;;
   2225   esac
   2226 elif test "x$prefix" != xNONE; then
   2227   ac_site_file1=$prefix/share/config.site
   2228   ac_site_file2=$prefix/etc/config.site
   2229 else
   2230   ac_site_file1=$ac_default_prefix/share/config.site
   2231   ac_site_file2=$ac_default_prefix/etc/config.site
   2232 fi
   2233 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2234 do
   2235   test "x$ac_site_file" = xNONE && continue
   2236   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2237     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2238 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2239     sed 's/^/| /' "$ac_site_file" >&5
   2240     . "$ac_site_file" \
   2241       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2243 as_fn_error $? "failed to load site script $ac_site_file
   2244 See \`config.log' for more details" "$LINENO" 5; }
   2245   fi
   2246 done
   2247 
   2248 if test -r "$cache_file"; then
   2249   # Some versions of bash will fail to source /dev/null (special files
   2250   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2251   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2252     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2253 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2254     case $cache_file in
   2255       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2256       *)                      . "./$cache_file";;
   2257     esac
   2258   fi
   2259 else
   2260   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2261 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2262   >$cache_file
   2263 fi
   2264 
   2265 # Check that the precious variables saved in the cache have kept the same
   2266 # value.
   2267 ac_cache_corrupted=false
   2268 for ac_var in $ac_precious_vars; do
   2269   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2270   eval ac_new_set=\$ac_env_${ac_var}_set
   2271   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2272   eval ac_new_val=\$ac_env_${ac_var}_value
   2273   case $ac_old_set,$ac_new_set in
   2274     set,)
   2275       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2276 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2277       ac_cache_corrupted=: ;;
   2278     ,set)
   2279       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2280 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2281       ac_cache_corrupted=: ;;
   2282     ,);;
   2283     *)
   2284       if test "x$ac_old_val" != "x$ac_new_val"; then
   2285 	# differences in whitespace do not lead to failure.
   2286 	ac_old_val_w=`echo x $ac_old_val`
   2287 	ac_new_val_w=`echo x $ac_new_val`
   2288 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2289 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2290 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2291 	  ac_cache_corrupted=:
   2292 	else
   2293 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2294 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2295 	  eval $ac_var=\$ac_old_val
   2296 	fi
   2297 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2298 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2299 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2300 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2301       fi;;
   2302   esac
   2303   # Pass precious variables to config.status.
   2304   if test "$ac_new_set" = set; then
   2305     case $ac_new_val in
   2306     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2307     *) ac_arg=$ac_var=$ac_new_val ;;
   2308     esac
   2309     case " $ac_configure_args " in
   2310       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2311       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2312     esac
   2313   fi
   2314 done
   2315 if $ac_cache_corrupted; then
   2316   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2318   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2319 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2320   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2321 fi
   2322 ## -------------------- ##
   2323 ## Main body of script. ##
   2324 ## -------------------- ##
   2325 
   2326 ac_ext=c
   2327 ac_cpp='$CPP $CPPFLAGS'
   2328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2331 
   2332 
   2333 
   2334 
   2335 
   2336 
   2337 
   2338 
   2339 progname=$0
   2340 # if PWD already has a value, it is probably wrong.
   2341 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
   2342 
   2343 # Export original configure arguments for use by sub-configures.
   2344 # Quote arguments with shell meta charatcers.
   2345 TOPLEVEL_CONFIGURE_ARGUMENTS=
   2346 set -- "$progname" "$@"
   2347 for ac_arg
   2348 do
   2349   case "$ac_arg" in
   2350   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
   2351     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   2352     # if the argument is of the form -foo=baz, quote the baz part only
   2353     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
   2354   *) ;;
   2355   esac
   2356   # Add the quoted argument to the list.
   2357   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
   2358 done
   2359 if test "$silent" = yes; then
   2360   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
   2361 fi
   2362 # Remove the initial space we just introduced and, as these will be
   2363 # expanded by make, quote '$'.
   2364 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   2365 
   2366 
   2367 # Find the build, host, and target systems.
   2368 ac_aux_dir=
   2369 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2370   if test -f "$ac_dir/install-sh"; then
   2371     ac_aux_dir=$ac_dir
   2372     ac_install_sh="$SHELL $ac_aux_dir/install-sh -c"
   2373     break
   2374   elif test -f "$ac_dir/install.sh"; then
   2375     ac_aux_dir=$ac_dir
   2376     ac_install_sh="$SHELL $ac_aux_dir/install.sh -c"
   2377     break
   2378   elif test -f "$ac_dir/shtool"; then
   2379     ac_aux_dir=$ac_dir
   2380     ac_install_sh="$SHELL $ac_aux_dir/shtool install -c"
   2381     break
   2382   fi
   2383 done
   2384 if test -z "$ac_aux_dir"; then
   2385   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2386 fi
   2387 
   2388 # These three variables are undocumented and unsupported,
   2389 # and are intended to be withdrawn in a future Autoconf release.
   2390 # They can cause serious problems if a builder's source tree is in a directory
   2391 # whose full name contains unusual characters.
   2392 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2393 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2394 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2395 
   2396 
   2397 # Make sure we can run config.sub.
   2398 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2399   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2400 
   2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2402 $as_echo_n "checking build system type... " >&6; }
   2403 if ${ac_cv_build+:} false; then :
   2404   $as_echo_n "(cached) " >&6
   2405 else
   2406   ac_build_alias=$build_alias
   2407 test "x$ac_build_alias" = x &&
   2408   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2409 test "x$ac_build_alias" = x &&
   2410   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2411 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2412   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2413 
   2414 fi
   2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2416 $as_echo "$ac_cv_build" >&6; }
   2417 case $ac_cv_build in
   2418 *-*-*) ;;
   2419 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2420 esac
   2421 build=$ac_cv_build
   2422 ac_save_IFS=$IFS; IFS='-'
   2423 set x $ac_cv_build
   2424 shift
   2425 build_cpu=$1
   2426 build_vendor=$2
   2427 shift; shift
   2428 # Remember, the first character of IFS is used to create $*,
   2429 # except with old shells:
   2430 build_os=$*
   2431 IFS=$ac_save_IFS
   2432 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2433 
   2434 
   2435  case ${build_alias} in
   2436   "") build_noncanonical=${build} ;;
   2437   *) build_noncanonical=${build_alias} ;;
   2438 esac
   2439 
   2440 
   2441 
   2442  case ${host_alias} in
   2443   "") host_noncanonical=${build_noncanonical} ;;
   2444   *) host_noncanonical=${host_alias} ;;
   2445 esac
   2446 
   2447 
   2448 
   2449  case ${target_alias} in
   2450   "") target_noncanonical=${host_noncanonical} ;;
   2451   *) target_noncanonical=${target_alias} ;;
   2452 esac
   2453 
   2454 
   2455 
   2456 
   2457 test "$host_noncanonical" = "$target_noncanonical" &&
   2458   test "$program_prefix$program_suffix$program_transform_name" = \
   2459     NONENONEs,x,x, &&
   2460   program_transform_name=s,y,y,
   2461 
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2463 $as_echo_n "checking host system type... " >&6; }
   2464 if ${ac_cv_host+:} false; then :
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test "x$host_alias" = x; then
   2468   ac_cv_host=$ac_cv_build
   2469 else
   2470   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2471     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2472 fi
   2473 
   2474 fi
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2476 $as_echo "$ac_cv_host" >&6; }
   2477 case $ac_cv_host in
   2478 *-*-*) ;;
   2479 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2480 esac
   2481 host=$ac_cv_host
   2482 ac_save_IFS=$IFS; IFS='-'
   2483 set x $ac_cv_host
   2484 shift
   2485 host_cpu=$1
   2486 host_vendor=$2
   2487 shift; shift
   2488 # Remember, the first character of IFS is used to create $*,
   2489 # except with old shells:
   2490 host_os=$*
   2491 IFS=$ac_save_IFS
   2492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2493 
   2494 
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2496 $as_echo_n "checking target system type... " >&6; }
   2497 if ${ac_cv_target+:} false; then :
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   if test "x$target_alias" = x; then
   2501   ac_cv_target=$ac_cv_host
   2502 else
   2503   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2504     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2505 fi
   2506 
   2507 fi
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2509 $as_echo "$ac_cv_target" >&6; }
   2510 case $ac_cv_target in
   2511 *-*-*) ;;
   2512 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2513 esac
   2514 target=$ac_cv_target
   2515 ac_save_IFS=$IFS; IFS='-'
   2516 set x $ac_cv_target
   2517 shift
   2518 target_cpu=$1
   2519 target_vendor=$2
   2520 shift; shift
   2521 # Remember, the first character of IFS is used to create $*,
   2522 # except with old shells:
   2523 target_os=$*
   2524 IFS=$ac_save_IFS
   2525 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2526 
   2527 
   2528 # The aliases save the names the user supplied, while $host etc.
   2529 # will get canonicalized.
   2530 test -n "$target_alias" &&
   2531   test "$program_prefix$program_suffix$program_transform_name" = \
   2532     NONENONEs,x,x, &&
   2533   program_prefix=${target_alias}-
   2534 
   2535 test "$program_prefix" != NONE &&
   2536   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2537 # Use a double $ so make ignores it.
   2538 test "$program_suffix" != NONE &&
   2539   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2540 # Double any \ or $.
   2541 # By default was `s,x,x', remove it if useless.
   2542 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2543 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2544 
   2545 
   2546 
   2547 # Get 'install' or 'install-sh' and its variants.
   2548 # Find a good install program.  We prefer a C program (faster),
   2549 # so one script is as good as another.  But avoid the broken or
   2550 # incompatible versions:
   2551 # SysV /etc/install, /usr/sbin/install
   2552 # SunOS /usr/etc/install
   2553 # IRIX /sbin/install
   2554 # AIX /bin/install
   2555 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2556 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2557 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2558 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2559 # OS/2's system install, which has a completely different semantic
   2560 # ./install, which can be erroneously created by make from ./install.sh.
   2561 # Reject install programs that cannot install multiple files.
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2563 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2564 if test -z "$INSTALL"; then
   2565 if ${ac_cv_path_install+:} false; then :
   2566   $as_echo_n "(cached) " >&6
   2567 else
   2568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 for as_dir in $PATH
   2570 do
   2571   IFS=$as_save_IFS
   2572   test -z "$as_dir" && as_dir=.
   2573     # Account for people who put trailing slashes in PATH elements.
   2574 case $as_dir/ in #((
   2575   ./ | .// | /[cC]/* | \
   2576   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2577   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2578   /usr/ucb/* ) ;;
   2579   *)
   2580     # OSF1 and SCO ODT 3.0 have their own names for install.
   2581     # Don't use installbsd from OSF since it installs stuff as root
   2582     # by default.
   2583     for ac_prog in ginstall scoinst install; do
   2584       for ac_exec_ext in '' $ac_executable_extensions; do
   2585 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2586 	  if test $ac_prog = install &&
   2587 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2588 	    # AIX install.  It has an incompatible calling convention.
   2589 	    :
   2590 	  elif test $ac_prog = install &&
   2591 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2592 	    # program-specific install script used by HP pwplus--don't use.
   2593 	    :
   2594 	  else
   2595 	    rm -rf conftest.one conftest.two conftest.dir
   2596 	    echo one > conftest.one
   2597 	    echo two > conftest.two
   2598 	    mkdir conftest.dir
   2599 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2600 	      test -s conftest.one && test -s conftest.two &&
   2601 	      test -s conftest.dir/conftest.one &&
   2602 	      test -s conftest.dir/conftest.two
   2603 	    then
   2604 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2605 	      break 3
   2606 	    fi
   2607 	  fi
   2608 	fi
   2609       done
   2610     done
   2611     ;;
   2612 esac
   2613 
   2614   done
   2615 IFS=$as_save_IFS
   2616 
   2617 rm -rf conftest.one conftest.two conftest.dir
   2618 
   2619 fi
   2620   if test "${ac_cv_path_install+set}" = set; then
   2621     INSTALL=$ac_cv_path_install
   2622   else
   2623     # As a last resort, use the slow shell script.  Don't cache a
   2624     # value for INSTALL within a source directory, because that will
   2625     # break other packages using the cache if that directory is
   2626     # removed, or if the value is a relative name.
   2627     INSTALL=$ac_install_sh
   2628   fi
   2629 fi
   2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2631 $as_echo "$INSTALL" >&6; }
   2632 
   2633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2634 # It thinks the first close brace ends the variable substitution.
   2635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2636 
   2637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2638 
   2639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2640 
   2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
   2642 $as_echo_n "checking whether ln works... " >&6; }
   2643 if ${acx_cv_prog_LN+:} false; then :
   2644   $as_echo_n "(cached) " >&6
   2645 else
   2646   rm -f conftestdata_t
   2647 echo >conftestdata_f
   2648 if ln conftestdata_f conftestdata_t 2>/dev/null
   2649 then
   2650   acx_cv_prog_LN=ln
   2651 else
   2652   acx_cv_prog_LN=no
   2653 fi
   2654 rm -f conftestdata_f conftestdata_t
   2655 
   2656 fi
   2657 if test $acx_cv_prog_LN = no; then
   2658   LN="cp"
   2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
   2660 $as_echo "no, using $LN" >&6; }
   2661 else
   2662   LN="$acx_cv_prog_LN"
   2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2664 $as_echo "yes" >&6; }
   2665 fi
   2666 
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   2668 $as_echo_n "checking whether ln -s works... " >&6; }
   2669 LN_S=$as_ln_s
   2670 if test "$LN_S" = "ln -s"; then
   2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2672 $as_echo "yes" >&6; }
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   2675 $as_echo "no, using $LN_S" >&6; }
   2676 fi
   2677 
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   2679 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   2680 if ${ac_cv_path_SED+:} false; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   2684      for ac_i in 1 2 3 4 5 6 7; do
   2685        ac_script="$ac_script$as_nl$ac_script"
   2686      done
   2687      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   2688      { ac_script=; unset ac_script;}
   2689      if test -z "$SED"; then
   2690   ac_path_SED_found=false
   2691   # Loop through the user's path and test for each of PROGNAME-LIST
   2692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_prog in sed gsed; do
   2698     for ac_exec_ext in '' $ac_executable_extensions; do
   2699       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   2700       as_fn_executable_p "$ac_path_SED" || continue
   2701 # Check for GNU ac_path_SED and select it if it is found.
   2702   # Check for GNU $ac_path_SED
   2703 case `"$ac_path_SED" --version 2>&1` in
   2704 *GNU*)
   2705   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   2706 *)
   2707   ac_count=0
   2708   $as_echo_n 0123456789 >"conftest.in"
   2709   while :
   2710   do
   2711     cat "conftest.in" "conftest.in" >"conftest.tmp"
   2712     mv "conftest.tmp" "conftest.in"
   2713     cp "conftest.in" "conftest.nl"
   2714     $as_echo '' >> "conftest.nl"
   2715     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   2716     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   2717     as_fn_arith $ac_count + 1 && ac_count=$as_val
   2718     if test $ac_count -gt ${ac_path_SED_max-0}; then
   2719       # Best one so far, save it but keep looking for a better one
   2720       ac_cv_path_SED="$ac_path_SED"
   2721       ac_path_SED_max=$ac_count
   2722     fi
   2723     # 10*(2^10) chars as input seems more than enough
   2724     test $ac_count -gt 10 && break
   2725   done
   2726   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   2727 esac
   2728 
   2729       $ac_path_SED_found && break 3
   2730     done
   2731   done
   2732   done
   2733 IFS=$as_save_IFS
   2734   if test -z "$ac_cv_path_SED"; then
   2735     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   2736   fi
   2737 else
   2738   ac_cv_path_SED=$SED
   2739 fi
   2740 
   2741 fi
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   2743 $as_echo "$ac_cv_path_SED" >&6; }
   2744  SED="$ac_cv_path_SED"
   2745   rm -f conftest.sed
   2746 
   2747 for ac_prog in gawk mawk nawk awk
   2748 do
   2749   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2750 set dummy $ac_prog; ac_word=$2
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2752 $as_echo_n "checking for $ac_word... " >&6; }
   2753 if ${ac_cv_prog_AWK+:} false; then :
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if test -n "$AWK"; then
   2757   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2758 else
   2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   test -z "$as_dir" && as_dir=.
   2764     for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2766     ac_cv_prog_AWK="$ac_prog"
   2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771   done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 AWK=$ac_cv_prog_AWK
   2777 if test -n "$AWK"; then
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2779 $as_echo "$AWK" >&6; }
   2780 else
   2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 $as_echo "no" >&6; }
   2783 fi
   2784 
   2785 
   2786   test -n "$AWK" && break
   2787 done
   2788 
   2789 
   2790 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
   2791 
   2792 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
   2793 # a relative path.
   2794 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
   2795   INSTALL="${srcpwd}/install-sh -c"
   2796 fi
   2797 
   2798 # Set srcdir to "." if that's what it is.
   2799 # This is important for multilib support.
   2800 pwd=`${PWDCMD-pwd}`
   2801 if test "${pwd}" = "${srcpwd}" ; then
   2802   srcdir=.
   2803 fi
   2804 
   2805 topsrcdir=$srcpwd
   2806 
   2807 extra_host_args=
   2808 
   2809 ### To add a new directory to the tree, first choose whether it is a target
   2810 ### or a host dependent tool.  Then put it into the appropriate list
   2811 ### (library or tools, host or target), doing a dependency sort.
   2812 
   2813 # Subdirs will be configured in the order listed in build_configdirs,
   2814 # configdirs, or target_configdirs; see the serialization section below.
   2815 
   2816 # Dependency sorting is only needed when *configuration* must be done in
   2817 # a particular order.  In all cases a dependency should be specified in
   2818 # the Makefile, whether or not it's implicitly specified here.
   2819 
   2820 # Double entries in build_configdirs, configdirs, or target_configdirs may
   2821 # cause circular dependencies and break everything horribly.
   2822 
   2823 # these library is used by various programs built for the build
   2824 # environment
   2825 #
   2826 build_libs="build-libiberty build-libcpp"
   2827 
   2828 # these tools are built for the build environment
   2829 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
   2830 
   2831 # these libraries are used by various programs built for the host environment
   2832 #f
   2833 host_libs="gettext libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe libgrust "
   2834 
   2835 # these tools are built for the host environment
   2836 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
   2837 # know that we are building the simulator.
   2838 # binutils, gas and ld appear in that order because it makes sense to run
   2839 # "make check" in that particular order.
   2840 # If --enable-gold is used, "gold" may replace "ld".
   2841 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 gm2tools gotools c++tools"
   2842 
   2843 # these libraries are built for the target environment, and are built after
   2844 # the host libraries and the host tools (which may be a cross compiler)
   2845 # Note that libiberty is not a target library.
   2846 target_libraries="target-libgcc \
   2847 		target-libbacktrace \
   2848 		target-libgloss \
   2849 		target-newlib \
   2850 		target-libgomp \
   2851 		target-libatomic \
   2852 		target-libitm \
   2853 		target-libstdc++-v3 \
   2854 		target-libsanitizer \
   2855 		target-libvtv \
   2856 		target-libssp \
   2857 		target-libquadmath \
   2858 		target-libgfortran \
   2859 		target-libffi \
   2860 		target-libobjc \
   2861 		target-libada \
   2862 		target-libgm2 \
   2863 		target-libgo \
   2864 		target-libgrust \
   2865 		target-libphobos \
   2866 		target-zlib"
   2867 
   2868 # these tools are built using the target libraries, and are intended to
   2869 # run only in the target environment
   2870 #
   2871 # note: any program that *uses* libraries that are in the "target_libraries"
   2872 # list belongs in this list.
   2873 #
   2874 target_tools="target-rda"
   2875 
   2876 ################################################################################
   2877 
   2878 ## All tools belong in one of the four categories, and are assigned above
   2879 ## We assign ${configdirs} this way to remove all embedded newlines.  This
   2880 ## is important because configure will choke if they ever get through.
   2881 ## ${configdirs} is directories we build using the host tools.
   2882 ## ${target_configdirs} is directories we build using the target tools.
   2883 configdirs=`echo ${host_libs} ${host_tools}`
   2884 target_configdirs=`echo ${target_libraries} ${target_tools}`
   2885 build_configdirs=`echo ${build_libs} ${build_tools}`
   2886 
   2887 
   2888 
   2889 ################################################################################
   2890 
   2891 srcname="gnu development package"
   2892 
   2893 # This gets set non-empty for some net releases of packages.
   2894 appdirs=""
   2895 
   2896 # Define is_cross_compiler to save on calls to 'test'.
   2897 is_cross_compiler=
   2898 if test x"${host}" = x"${target}" ; then
   2899   is_cross_compiler=no
   2900 else
   2901   is_cross_compiler=yes
   2902 fi
   2903 
   2904 # Find the build and target subdir names.
   2905 
   2906 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
   2907 # have matching libraries, they should use host libraries: Makefile.tpl
   2908 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
   2909 # However, they still use the build modules, because the corresponding
   2910 # host modules (e.g. bison) are only built for the host when bootstrap
   2911 # finishes. So:
   2912 # - build_subdir is where we find build modules, and never changes.
   2913 # - build_libsubdir is where we find build libraries, and can be overridden.
   2914 
   2915 # Prefix 'build-' so this never conflicts with target_subdir.
   2916 build_subdir="build-${build_noncanonical}"
   2917 
   2918 # Check whether --with-build-libsubdir was given.
   2919 if test "${with_build_libsubdir+set}" = set; then :
   2920   withval=$with_build_libsubdir; build_libsubdir="$withval"
   2921 else
   2922   build_libsubdir="$build_subdir"
   2923 fi
   2924 
   2925 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
   2926 if ( test $srcdir = . && test -d gcc ) \
   2927    || test -d $srcdir/../host-${host_noncanonical}; then
   2928   host_subdir="host-${host_noncanonical}"
   2929 else
   2930   host_subdir=.
   2931 fi
   2932 # No prefix.
   2933 target_subdir=${target_noncanonical}
   2934 
   2935 # Be sure to cover against remnants of an in-tree build.
   2936 if test $srcdir != .  && test -d $srcdir/host-${host_noncanonical}; then
   2937   as_fn_error $? "building out of tree but $srcdir contains host-${host_noncanonical}.
   2938 Use a pristine source tree when building in a separate tree" "$LINENO" 5
   2939 fi
   2940 
   2941 # Skipdirs are removed silently.
   2942 skipdirs=
   2943 # Noconfigdirs are removed loudly.
   2944 noconfigdirs=""
   2945 
   2946 use_gnu_ld=
   2947 # Make sure we don't let GNU ld be added if we didn't want it.
   2948 if test x$with_gnu_ld = xno ; then
   2949   use_gnu_ld=no
   2950   noconfigdirs="$noconfigdirs ld gold"
   2951 fi
   2952 
   2953 use_gnu_as=
   2954 # Make sure we don't let GNU as be added if we didn't want it.
   2955 if test x$with_gnu_as = xno ; then
   2956   use_gnu_as=no
   2957   noconfigdirs="$noconfigdirs gas"
   2958 fi
   2959 
   2960 use_included_zlib=
   2961 
   2962 # Check whether --with-system-zlib was given.
   2963 if test "${with_system_zlib+set}" = set; then :
   2964   withval=$with_system_zlib;
   2965 fi
   2966 
   2967 # Make sure we don't let ZLIB be added if we didn't want it.
   2968 if test x$with_system_zlib = xyes ; then
   2969   use_included_zlib=no
   2970   noconfigdirs="$noconfigdirs zlib"
   2971 fi
   2972 
   2973 # Don't compile the bundled readline/libreadline.a if --with-system-readline
   2974 # is provided.
   2975 if test x$with_system_readline = xyes ; then
   2976   noconfigdirs="$noconfigdirs readline"
   2977 fi
   2978 
   2979 
   2980 # Check whether --with-zstd was given.
   2981 if test "${with_zstd+set}" = set; then :
   2982   withval=$with_zstd;
   2983 fi
   2984 
   2985 
   2986 # some tools are so dependent upon X11 that if we're not building with X,
   2987 # it's not even worth trying to configure, much less build, that tool.
   2988 
   2989 case ${with_x} in
   2990   yes | "") ;; # the default value for this tree is that X11 is available
   2991   no)
   2992     skipdirs="${skipdirs} tk itcl libgui"
   2993     # We won't be able to build gdbtk without X.
   2994     enable_gdbtk=no
   2995     ;;
   2996   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
   2997 esac
   2998 
   2999 # Some are only suitable for cross toolchains.
   3000 # Remove these if host=target.
   3001 cross_only="target-libgloss target-newlib target-opcodes"
   3002 
   3003 case $is_cross_compiler in
   3004   no) skipdirs="${skipdirs} ${cross_only}" ;;
   3005 esac
   3006 
   3007 # If both --with-headers and --with-libs are specified, default to
   3008 # --without-newlib.
   3009 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
   3010    && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   3011   if test x"${with_newlib}" = x ; then
   3012     with_newlib=no
   3013   fi
   3014 fi
   3015 
   3016 # Recognize --with-newlib/--without-newlib.
   3017 case ${with_newlib} in
   3018   no) skipdirs="${skipdirs} target-newlib" ;;
   3019   yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
   3020 esac
   3021 
   3022 # Check whether --enable-as-accelerator-for was given.
   3023 if test "${enable_as_accelerator_for+set}" = set; then :
   3024   enableval=$enable_as_accelerator_for;
   3025 fi
   3026 
   3027 
   3028 # Check whether --enable-offload-targets was given.
   3029 if test "${enable_offload_targets+set}" = set; then :
   3030   enableval=$enable_offload_targets;
   3031   if test x"$enable_offload_targets" = x; then
   3032     as_fn_error $? "no offload targets specified" "$LINENO" 5
   3033   fi
   3034 
   3035 else
   3036   enable_offload_targets=
   3037 fi
   3038 
   3039 
   3040 # Check whether --enable-offload-defaulted was given.
   3041 if test "${enable_offload_defaulted+set}" = set; then :
   3042   enableval=$enable_offload_defaulted; enable_offload_defaulted=$enableval
   3043 else
   3044   enable_offload_defaulted=
   3045 fi
   3046 
   3047 
   3048 # Handle --enable-gold, --enable-ld.
   3049 # --disable-gold [--enable-ld]
   3050 #     Build only ld.  Default option.
   3051 # --enable-gold [--enable-ld]
   3052 #     Build both gold and ld.  Install gold as "ld.gold", install ld
   3053 #     as "ld.bfd" and "ld".
   3054 # --enable-gold=default [--enable-ld]
   3055 #     Build both gold and ld.  Install gold as "ld.gold" and "ld",
   3056 #     install ld as "ld.bfd".
   3057 # --enable-gold[=default] --disable-ld
   3058 #     Build only gold, which is then installed as both "ld.gold" and "ld".
   3059 # --enable-gold --enable-ld=default
   3060 #     Build both gold (installed as "ld.gold") and ld (installed as "ld"
   3061 #     and ld.bfd).
   3062 #     In other words, ld is default
   3063 # --enable-gold=default --enable-ld=default
   3064 #     Error.
   3065 
   3066 default_ld=
   3067 # Check whether --enable-gold was given.
   3068 if test "${enable_gold+set}" = set; then :
   3069   enableval=$enable_gold; ENABLE_GOLD=$enableval
   3070 else
   3071   ENABLE_GOLD=no
   3072 fi
   3073 
   3074 case "${ENABLE_GOLD}" in
   3075   yes|default)
   3076     # Check for ELF target.
   3077     is_elf=no
   3078     case "${target}" in
   3079       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
   3080       | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
   3081       | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
   3082       | *-*-solaris2* | *-*-nto* | *-*-nacl* | *-*-haiku*)
   3083         case "${target}" in
   3084           *-*-linux*aout* | *-*-linux*oldld*)
   3085             ;;
   3086           *)
   3087             is_elf=yes
   3088             ;;
   3089         esac
   3090     esac
   3091 
   3092     if test "$is_elf" = "yes"; then
   3093       # Check for target supported by gold.
   3094       case "${target}" in
   3095         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
   3096         | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*)
   3097 	  configdirs="$configdirs gold"
   3098 	  if test x${ENABLE_GOLD} = xdefault; then
   3099 	    default_ld=gold
   3100 	  fi
   3101 	  ENABLE_GOLD=yes
   3102           ;;
   3103       esac
   3104     fi
   3105     ;;
   3106   no)
   3107     ;;
   3108   *)
   3109     as_fn_error $? "invalid --enable-gold argument" "$LINENO" 5
   3110     ;;
   3111 esac
   3112 
   3113 # Check whether --enable-ld was given.
   3114 if test "${enable_ld+set}" = set; then :
   3115   enableval=$enable_ld; ENABLE_LD=$enableval
   3116 else
   3117   ENABLE_LD=yes
   3118 fi
   3119 
   3120 
   3121 case "${ENABLE_LD}" in
   3122   default)
   3123     if test x${default_ld} != x; then
   3124       as_fn_error $? "either gold or ld can be the default ld" "$LINENO" 5
   3125     fi
   3126     ;;
   3127   yes)
   3128     ;;
   3129   no)
   3130     if test x${ENABLE_GOLD} != xyes; then
   3131       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
   3132 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
   3133     fi
   3134     configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
   3135     ;;
   3136   *)
   3137     as_fn_error $? "invalid --enable-ld argument" "$LINENO" 5
   3138     ;;
   3139 esac
   3140 
   3141 # Check whether --enable-gprofng was given.
   3142 if test "${enable_gprofng+set}" = set; then :
   3143   enableval=$enable_gprofng; enable_gprofng=$enableval
   3144 else
   3145   enable_gprofng=yes
   3146 fi
   3147 
   3148 if test "$enable_gprofng" = "yes"; then
   3149   case "${target}" in
   3150     x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux*)
   3151     configdirs="$configdirs gprofng"
   3152     ;;
   3153   esac
   3154 fi
   3155 
   3156 
   3157 # PR gas/19109
   3158 # Decide the default method for compressing debug sections.
   3159 # Provide a configure time option to override our default.
   3160 # Check whether --enable-compressed_debug_sections was given.
   3161 if test "${enable_compressed_debug_sections+set}" = set; then :
   3162   enableval=$enable_compressed_debug_sections;
   3163   if test x"$enable_compressed_debug_sections" = xyes; then
   3164     as_fn_error $? "no program with compressed debug sections specified" "$LINENO" 5
   3165   fi
   3166 
   3167 else
   3168   enable_compressed_debug_sections=
   3169 fi
   3170 
   3171 
   3172 # Select default compression algorithm.
   3173 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
   3174 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
   3175   enableval=$enable_default_compressed_debug_sections_algorithm;
   3176 else
   3177   default_compressed_debug_sections_algorithm=
   3178 fi
   3179 
   3180 
   3181 # Configure extra directories which are host specific
   3182 
   3183 case "${host}" in
   3184   *-cygwin*)
   3185     configdirs="$configdirs libtermcap" ;;
   3186 esac
   3187 
   3188 # A target can indicate whether a language isn't supported for some reason.
   3189 # Only spaces may be used in this macro; not newlines or tabs.
   3190 unsupported_languages=
   3191 
   3192 # Remove more programs from consideration, based on the host or
   3193 # target this usually means that a port of the program doesn't
   3194 # exist yet.
   3195 
   3196 case "${host}" in
   3197   i[3456789]86-*-msdosdjgpp*)
   3198     noconfigdirs="$noconfigdirs tcl tk itcl"
   3199     ;;
   3200 esac
   3201 
   3202 # Default to --disable-year2038 until we can handle differences between
   3203 # projects that use gnulib (which understands year 2038) and projects that
   3204 # do not (like BFD).
   3205 # Check whether --enable-year2038 was given.
   3206 if test "${enable_year2038+set}" = set; then :
   3207   enableval=$enable_year2038; ENABLE_YEAR2038=$enableval
   3208 else
   3209   ENABLE_YEAR2038=no
   3210 fi
   3211 
   3212 enable_year2038=
   3213 if test "${ENABLE_YEAR2038}" = "no" ; then
   3214   enable_year2038=no
   3215 fi
   3216 
   3217 # Check whether --enable-libquadmath was given.
   3218 if test "${enable_libquadmath+set}" = set; then :
   3219   enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
   3220 else
   3221   ENABLE_LIBQUADMATH=yes
   3222 fi
   3223 
   3224 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
   3225   noconfigdirs="$noconfigdirs target-libquadmath"
   3226 fi
   3227 
   3228 
   3229 # Check whether --enable-libquadmath-support was given.
   3230 if test "${enable_libquadmath_support+set}" = set; then :
   3231   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
   3232 else
   3233   ENABLE_LIBQUADMATH_SUPPORT=yes
   3234 fi
   3235 
   3236 enable_libquadmath_support=
   3237 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
   3238   enable_libquadmath_support=no
   3239 fi
   3240 
   3241 
   3242 # Check whether --enable-libada was given.
   3243 if test "${enable_libada+set}" = set; then :
   3244   enableval=$enable_libada; ENABLE_LIBADA=$enableval
   3245 else
   3246   ENABLE_LIBADA=yes
   3247 fi
   3248 
   3249 if test "${ENABLE_LIBADA}" != "yes" ; then
   3250   noconfigdirs="$noconfigdirs gnattools"
   3251 fi
   3252 
   3253 # Check whether --enable-libgm2 was given.
   3254 if test "${enable_libgm2+set}" = set; then :
   3255   enableval=$enable_libgm2; ENABLE_LIBGM2=$enableval
   3256 else
   3257   ENABLE_LIBGM2=no
   3258 fi
   3259 
   3260 if test "${ENABLE_LIBGM2}" != "yes" ; then
   3261   noconfigdirs="$noconfigdirs gm2tools"
   3262 fi
   3263 
   3264 # Check whether --enable-libssp was given.
   3265 if test "${enable_libssp+set}" = set; then :
   3266   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
   3267 else
   3268   ENABLE_LIBSSP=yes
   3269 fi
   3270 
   3271 
   3272 # Check whether --enable-libstdcxx was given.
   3273 if test "${enable_libstdcxx+set}" = set; then :
   3274   enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
   3275 else
   3276   ENABLE_LIBSTDCXX=default
   3277 fi
   3278 
   3279 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
   3280   noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3281 fi
   3282 
   3283 # Enable libgomp by default on hosted POSIX systems, and a few others.
   3284 if test x$enable_libgomp = x ; then
   3285     case "${target}" in
   3286     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3287 	;;
   3288     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
   3289 	;;
   3290     *-*-solaris2* | *-*-hpux11*)
   3291 	;;
   3292     *-*-darwin* | *-*-aix*)
   3293 	;;
   3294     nvptx*-*-* | amdgcn*-*-*)
   3295 	;;
   3296     *)
   3297 	noconfigdirs="$noconfigdirs target-libgomp"
   3298 	;;
   3299     esac
   3300 fi
   3301 
   3302 # Disable libatomic on unsupported systems.
   3303 if test -d ${srcdir}/libatomic; then
   3304     if test x$enable_libatomic = x; then
   3305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
   3306 $as_echo_n "checking for libatomic support... " >&6; }
   3307 	if (srcdir=${srcdir}/libatomic; \
   3308 		. ${srcdir}/configure.tgt; \
   3309 		test -n "$UNSUPPORTED")
   3310 	then
   3311 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3312 $as_echo "no" >&6; }
   3313 	    noconfigdirs="$noconfigdirs target-libatomic"
   3314 	else
   3315 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3316 $as_echo "yes" >&6; }
   3317 	fi
   3318     fi
   3319 fi
   3320 
   3321 # Disable libitm on unsupported systems.
   3322 if test -d ${srcdir}/libitm; then
   3323     if test x$enable_libitm = x; then
   3324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
   3325 $as_echo_n "checking for libitm support... " >&6; }
   3326 	if (srcdir=${srcdir}/libitm; \
   3327 		. ${srcdir}/configure.tgt; \
   3328 		test -n "$UNSUPPORTED")
   3329 	then
   3330 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3331 $as_echo "no" >&6; }
   3332 	    noconfigdirs="$noconfigdirs target-libitm"
   3333 	else
   3334 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3335 $as_echo "yes" >&6; }
   3336 	fi
   3337     fi
   3338 fi
   3339 
   3340 # Disable libsanitizer on unsupported systems.
   3341 if test -d ${srcdir}/libsanitizer; then
   3342     if test x$enable_libsanitizer = x; then
   3343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
   3344 $as_echo_n "checking for libsanitizer support... " >&6; }
   3345 	if (srcdir=${srcdir}/libsanitizer; \
   3346 		. ${srcdir}/configure.tgt; \
   3347 		test -n "$UNSUPPORTED")
   3348 	then
   3349 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3350 $as_echo "no" >&6; }
   3351 	    noconfigdirs="$noconfigdirs target-libsanitizer"
   3352 	else
   3353 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3354 $as_echo "yes" >&6; }
   3355 	fi
   3356     fi
   3357 fi
   3358 
   3359 # Disable libvtv on unsupported systems.
   3360 if test -d ${srcdir}/libvtv; then
   3361     if test x$enable_libvtv = x; then
   3362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
   3363 $as_echo_n "checking for libvtv support... " >&6; }
   3364 	if (srcdir=${srcdir}/libvtv; \
   3365 		. ${srcdir}/configure.tgt; \
   3366 		test "$VTV_SUPPORTED" != "yes")
   3367 	then
   3368 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3369 $as_echo "no" >&6; }
   3370 	    noconfigdirs="$noconfigdirs target-libvtv"
   3371 	else
   3372 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3373 $as_echo "yes" >&6; }
   3374 	fi
   3375     fi
   3376 fi
   3377 
   3378 # Disable libquadmath for some systems.
   3379 case "${target}" in
   3380   avr-*-*)
   3381     noconfigdirs="$noconfigdirs target-libquadmath"
   3382     ;;
   3383   # libquadmath is unused on AIX and libquadmath build process use of
   3384   # LD_LIBRARY_PATH can break AIX bootstrap.
   3385   powerpc-*-aix* | rs6000-*-aix*)
   3386     noconfigdirs="$noconfigdirs target-libquadmath"
   3387     ;;
   3388 esac
   3389 
   3390 # Disable libssp for some systems.
   3391 case "${target}" in
   3392   avr-*-*)
   3393     # No hosted I/O support.
   3394     noconfigdirs="$noconfigdirs target-libssp"
   3395     ;;
   3396   bpf-*-*)
   3397     noconfigdirs="$noconfigdirs target-libssp"
   3398     ;;
   3399   powerpc-*-aix* | rs6000-*-aix*)
   3400     noconfigdirs="$noconfigdirs target-libssp"
   3401     ;;
   3402   pru-*-*)
   3403     # No hosted I/O support.
   3404     noconfigdirs="$noconfigdirs target-libssp"
   3405     ;;
   3406   rl78-*-*)
   3407     # libssp uses a misaligned load to trigger a fault, but the RL78
   3408     # doesn't fault for those - instead, it gives a build-time error
   3409     # for explicit misaligned loads.
   3410     noconfigdirs="$noconfigdirs target-libssp"
   3411     ;;
   3412   visium-*-*)
   3413     # No hosted I/O support.
   3414     noconfigdirs="$noconfigdirs target-libssp"
   3415     ;;
   3416 esac
   3417 
   3418 # Disable libstdc++-v3 for some systems.
   3419 # Allow user to override this if they pass --enable-libstdcxx
   3420 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   3421   case "${target}" in
   3422     *-*-vxworks*)
   3423       # VxWorks uses the Dinkumware C++ library.
   3424       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3425       ;;
   3426     amdgcn*-*-*)
   3427       # Not ported/fails to build when using newlib.
   3428       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3429       ;;
   3430     arm*-wince-pe*)
   3431       # the C++ libraries don't build on top of CE's C libraries
   3432       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3433       ;;
   3434     avr-*-*)
   3435       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3436       ;;
   3437     bpf-*-*)
   3438       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3439       ;;
   3440     ft32-*-*)
   3441       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3442       ;;
   3443   esac
   3444 fi
   3445 
   3446 # Disable C++ on systems where it is known to not work.
   3447 # For testing, you can override this with --enable-languages=c++.
   3448 case ,${enable_languages}, in
   3449   *,c++,*)
   3450     ;;
   3451   *)
   3452       case "${target}" in
   3453         bpf-*-*)
   3454           unsupported_languages="$unsupported_languages c++"
   3455           ;;
   3456       esac
   3457       ;;
   3458 esac
   3459 
   3460 # Disable Objc on systems where it is known to not work.
   3461 # For testing, you can override this with --enable-languages=objc.
   3462 case ,${enable_languages}, in
   3463   *,objc,*)
   3464     ;;
   3465   *)
   3466       case "${target}" in
   3467         bpf-*-*)
   3468           unsupported_languages="$unsupported_languages objc"
   3469           ;;
   3470       esac
   3471       ;;
   3472 esac
   3473 
   3474 # Disable D on systems where it is known to not work.
   3475 # For testing, you can override this with --enable-languages=d.
   3476 case ,${enable_languages}, in
   3477   *,d,*)
   3478     ;;
   3479   *)
   3480     case "${target}" in
   3481       bpf-*-*)
   3482 	unsupported_languages="$unsupported_languages d"
   3483 	;;
   3484     esac
   3485     ;;
   3486 esac
   3487 
   3488 # Disable libphobos on unsupported systems.
   3489 # For testing, you can override this with --enable-libphobos.
   3490 if test -d ${srcdir}/libphobos; then
   3491     if test x$enable_libphobos = x; then
   3492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
   3493 $as_echo_n "checking for libphobos support... " >&6; }
   3494 	if (srcdir=${srcdir}/libphobos; \
   3495 		. ${srcdir}/configure.tgt; \
   3496 		test "$LIBPHOBOS_SUPPORTED" != "yes")
   3497 	then
   3498 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3499 $as_echo "no" >&6; }
   3500 	    noconfigdirs="$noconfigdirs target-libphobos"
   3501 	else
   3502 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3503 $as_echo "yes" >&6; }
   3504 	fi
   3505     fi
   3506 fi
   3507 
   3508 # Disable Fortran for some systems.
   3509 case "${target}" in
   3510   mmix-*-*)
   3511     # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
   3512     unsupported_languages="$unsupported_languages fortran"
   3513     ;;
   3514   bpf-*-*)
   3515     unsupported_languages="$unsupported_languages fortran"
   3516     ;;
   3517 esac
   3518 
   3519 # Disable libffi for some systems.
   3520 case "${target}" in
   3521   powerpc-*-darwin*)
   3522     ;;
   3523   i[3456789]86-*-darwin*)
   3524     ;;
   3525   x86_64-*-darwin[912]*)
   3526     ;;
   3527   *-*-darwin*)
   3528     noconfigdirs="$noconfigdirs target-libffi"
   3529     ;;
   3530   *-*-netware*)
   3531     noconfigdirs="$noconfigdirs target-libffi"
   3532     ;;
   3533   *-*-phoenix*)
   3534     noconfigdirs="$noconfigdirs target-libffi"
   3535     ;;
   3536   *-*-rtems*)
   3537     noconfigdirs="$noconfigdirs target-libffi"
   3538     ;;
   3539   *-*-tpf*)
   3540     noconfigdirs="$noconfigdirs target-libffi"
   3541     ;;
   3542   *-*-uclinux*)
   3543     noconfigdirs="$noconfigdirs target-libffi"
   3544     ;;
   3545   *-*-vxworks*)
   3546     noconfigdirs="$noconfigdirs target-libffi"
   3547     ;;
   3548   aarch64*-*-freebsd*)
   3549     noconfigdirs="$noconfigdirs target-libffi"
   3550     ;;
   3551   alpha*-*-*vms*)
   3552     noconfigdirs="$noconfigdirs target-libffi"
   3553     ;;
   3554   arm*-*-freebsd*)
   3555     noconfigdirs="$noconfigdirs target-libffi"
   3556     ;;
   3557   arm-wince-pe)
   3558     noconfigdirs="$noconfigdirs target-libffi"
   3559     ;;
   3560   arm*-*-symbianelf*)
   3561     noconfigdirs="$noconfigdirs target-libffi"
   3562     ;;
   3563   bpf-*-*)
   3564     noconfigdirs="$noconfigdirs target-libffi"
   3565     ;;
   3566   cris-*-* | crisv32-*-*)
   3567     case "${target}" in
   3568       *-*-linux*)
   3569 	;;
   3570       *) # See PR46792 regarding target-libffi.
   3571 	noconfigdirs="$noconfigdirs target-libffi";;
   3572     esac
   3573     ;;
   3574   hppa*64*-*-hpux*)
   3575     noconfigdirs="$noconfigdirs target-libffi"
   3576     ;;
   3577   hppa*-hp-hpux11*)
   3578     ;;
   3579   hppa*-*-hpux*)
   3580     noconfigdirs="$noconfigdirs target-libffi"
   3581     ;;
   3582   ia64*-*-*vms*)
   3583     noconfigdirs="$noconfigdirs target-libffi"
   3584     ;;
   3585   i[3456789]86-w64-mingw*)
   3586     noconfigdirs="$noconfigdirs target-libffi"
   3587     ;;
   3588   i[3456789]86-*-mingw*)
   3589     noconfigdirs="$noconfigdirs target-libffi"
   3590     ;;
   3591   x86_64-*-mingw*)
   3592     noconfigdirs="$noconfigdirs target-libffi"
   3593     ;;
   3594   mmix-*-*)
   3595     noconfigdirs="$noconfigdirs target-libffi"
   3596     ;;
   3597   powerpc-*-aix*)
   3598     ;;
   3599   rs6000-*-aix*)
   3600     ;;
   3601   ft32-*-*)
   3602     noconfigdirs="$noconfigdirs target-libffi"
   3603     ;;
   3604   *-*-lynxos*)
   3605     noconfigdirs="$noconfigdirs target-libffi"
   3606     ;;
   3607 esac
   3608 
   3609 # Disable the go frontend on systems where it is known to not work. Please keep
   3610 # this in sync with contrib/config-list.mk.
   3611 case "${target}" in
   3612 *-*-darwin* | *-*-cygwin* | *-*-mingw* | bpf-* )
   3613     unsupported_languages="$unsupported_languages go"
   3614     ;;
   3615 esac
   3616 
   3617 # Only allow gdbserver on some systems.
   3618 if test -d ${srcdir}/gdbserver; then
   3619     if test x$enable_gdbserver = x; then
   3620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
   3621 $as_echo_n "checking for gdbserver support... " >&6; }
   3622 	if (srcdir=${srcdir}/gdbserver; \
   3623 		. ${srcdir}/configure.srv; \
   3624 		test -n "$UNSUPPORTED")
   3625 	then
   3626 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3627 $as_echo "no" >&6; }
   3628 	    noconfigdirs="$noconfigdirs gdbserver"
   3629 	else
   3630 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3631 $as_echo "yes" >&6; }
   3632 	fi
   3633     fi
   3634 fi
   3635 
   3636 # Disable libgo for some systems where it is known to not work.
   3637 # For testing, you can easily override this with --enable-libgo.
   3638 if test x$enable_libgo = x; then
   3639     case "${target}" in
   3640     *-*-darwin*)
   3641 	# PR 46986
   3642 	noconfigdirs="$noconfigdirs target-libgo"
   3643 	;;
   3644     *-*-cygwin* | *-*-mingw*)
   3645 	noconfigdirs="$noconfigdirs target-libgo"
   3646 	;;
   3647     bpf-*-*)
   3648         noconfigdirs="$noconfigdirs target-libgo"
   3649         ;;
   3650     esac
   3651 fi
   3652 
   3653 # Default libgloss CPU subdirectory.
   3654 libgloss_dir="$target_cpu"
   3655 
   3656 case "${target}" in
   3657   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3658     libgloss_dir=wince
   3659     ;;
   3660   aarch64*-*-* )
   3661     libgloss_dir=aarch64
   3662     ;;
   3663   arm*-*-*)
   3664     libgloss_dir=arm
   3665     ;;
   3666   cris-*-* | crisv32-*-*)
   3667     libgloss_dir=cris
   3668     ;;
   3669   hppa*-*-*)
   3670     libgloss_dir=pa
   3671     ;;
   3672   i[3456789]86-*-*)
   3673     libgloss_dir=i386
   3674     ;;
   3675   loongarch*-*-*)
   3676     libgloss_dir=loongarch
   3677     ;;
   3678   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3679     libgloss_dir=m68hc11
   3680     ;;
   3681   m68*-*-* | fido-*-*)
   3682     libgloss_dir=m68k
   3683     ;;
   3684   mips*-*-*)
   3685     libgloss_dir=mips
   3686     ;;
   3687   powerpc*-*-*)
   3688     libgloss_dir=rs6000
   3689     ;;
   3690   pru-*-*)
   3691     libgloss_dir=pru
   3692     ;;
   3693   sparc*-*-*)
   3694     libgloss_dir=sparc
   3695     ;;
   3696 esac
   3697 
   3698 # Disable newlib and libgloss for various target OSes.
   3699 case "${target}" in
   3700   alpha*-dec-osf*)
   3701     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3702     ;;
   3703   i[3456789]86-*-linux*)
   3704     # This section makes it possible to build newlib natively on linux.
   3705     # If we are using a cross compiler then don't configure newlib.
   3706     if test x${is_cross_compiler} != xno ; then
   3707       noconfigdirs="$noconfigdirs target-newlib"
   3708     fi
   3709     noconfigdirs="$noconfigdirs target-libgloss"
   3710     # If we are not using a cross compiler, do configure newlib.
   3711     # Note however, that newlib will only be configured in this situation
   3712     # if the --with-newlib option has been given, because otherwise
   3713     # 'target-newlib' will appear in skipdirs.
   3714     ;;
   3715   i[3456789]86-*-rdos*)
   3716     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3717     ;;
   3718   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3719     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3720     ;;
   3721   sparc-*-sunos4*)
   3722     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3723     ;;
   3724   bpf-*-*)
   3725     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3726     ;;
   3727   *-*-aix*)
   3728     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3729     ;;
   3730   *-*-beos*)
   3731     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3732     ;;
   3733   *-*-chorusos)
   3734     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3735     ;;
   3736   *-*-dragonfly*)
   3737     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3738     ;;
   3739   *-*-freebsd*)
   3740     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3741     ;;
   3742   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3743     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3744     ;;
   3745   *-*-lynxos*)
   3746     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3747     ;;
   3748   *-*-mingw*)
   3749     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3750     ;;
   3751   *-*-netbsd*)
   3752     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3753     ;;
   3754   *-*-netware*)
   3755     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3756     ;;
   3757   *-*-tpf*)
   3758     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3759     ;;
   3760   *-*-uclinux*)
   3761     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3762     ;;
   3763   *-*-vxworks*)
   3764     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3765     ;;
   3766 esac
   3767 
   3768 case "${target}" in
   3769   *-*-chorusos)
   3770     ;;
   3771   aarch64-*-darwin*)
   3772     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3773     noconfigdirs="$noconfigdirs sim target-rda"
   3774     ;;
   3775   amdgcn*-*-*)
   3776     ;;
   3777   arm-*-darwin*)
   3778     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3779     noconfigdirs="$noconfigdirs sim target-rda"
   3780     ;;
   3781   powerpc-*-darwin*)
   3782     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3783     noconfigdirs="$noconfigdirs sim target-rda"
   3784     ;;
   3785   i[3456789]86-*-darwin*)
   3786     noconfigdirs="$noconfigdirs ld gprof"
   3787     noconfigdirs="$noconfigdirs sim target-rda"
   3788     ;;
   3789   x86_64-*-darwin[912]*)
   3790     noconfigdirs="$noconfigdirs ld gas gprof"
   3791     noconfigdirs="$noconfigdirs sim target-rda"
   3792     ;;
   3793   *-*-darwin*)
   3794     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3795     noconfigdirs="$noconfigdirs sim target-rda"
   3796     ;;
   3797   *-*-dragonfly*)
   3798     ;;
   3799   *-*-freebsd*)
   3800     if test "x$with_gmp" = x \
   3801 	&& ! test -d ${srcdir}/gmp \
   3802 	&& test -f /usr/local/include/gmp.h; then
   3803       with_gmp=/usr/local
   3804     fi
   3805     ;;
   3806   *-*-kaos*)
   3807     # Remove unsupported stuff on all kaOS configurations.
   3808     noconfigdirs="$noconfigdirs target-libgloss"
   3809     ;;
   3810   *-*-netbsd*)
   3811     ;;
   3812   *-*-netware*)
   3813     ;;
   3814   *-*-phoenix*)
   3815     noconfigdirs="$noconfigdirs target-libgloss"
   3816     ;;
   3817   *-*-rtems*)
   3818     noconfigdirs="$noconfigdirs target-libgloss"
   3819     ;;
   3820     # The tpf target doesn't support gdb yet.
   3821   *-*-tpf*)
   3822     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3823     ;;
   3824   *-*-uclinux*)
   3825     noconfigdirs="$noconfigdirs target-rda"
   3826     ;;
   3827   *-*-vxworks*)
   3828     ;;
   3829   alpha*-dec-osf*)
   3830     # ld works, but does not support shared libraries.
   3831     # gas doesn't generate exception information.
   3832     noconfigdirs="$noconfigdirs gas ld"
   3833     ;;
   3834   alpha*-*-*vms*)
   3835     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3836     ;;
   3837   alpha*-*-*)
   3838     # newlib is not 64 bit ready
   3839     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3840     ;;
   3841   bpf-*-*)
   3842     noconfigdirs="$noconfigdirs target-libobjc target-libbacktrace"
   3843     ;;
   3844   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3845     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3846     ;;
   3847   arc*-*-*)
   3848     noconfigdirs="$noconfigdirs sim"
   3849     ;;
   3850   arm-*-pe*)
   3851     noconfigdirs="$noconfigdirs target-libgloss"
   3852     ;;
   3853   arm-*-riscix*)
   3854     noconfigdirs="$noconfigdirs ld target-libgloss"
   3855     ;;
   3856   avr-*-*)
   3857     if test x${with_avrlibc} != xno; then
   3858       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3859     fi
   3860     ;;
   3861   c4x-*-* | tic4x-*-*)
   3862     noconfigdirs="$noconfigdirs target-libgloss"
   3863     ;;
   3864   tic54x-*-*)
   3865     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3866     ;;
   3867   d10v-*-*)
   3868     noconfigdirs="$noconfigdirs target-libgloss"
   3869     ;;
   3870   d30v-*-*)
   3871     noconfigdirs="$noconfigdirs gdb"
   3872     ;;
   3873   fr30-*-elf*)
   3874     noconfigdirs="$noconfigdirs gdb"
   3875     ;;
   3876   ft32-*-*)
   3877     noconfigdirs="$noconfigdirs target-rda gprof"
   3878     ;;
   3879   moxie-*-*)
   3880     noconfigdirs="$noconfigdirs"
   3881     ;;
   3882   h8300*-*-*)
   3883     noconfigdirs="$noconfigdirs target-libgloss"
   3884     ;;
   3885   h8500-*-*)
   3886     noconfigdirs="$noconfigdirs target-libgloss"
   3887     ;;
   3888   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3889     ;;
   3890   hppa*64*-*-hpux*)
   3891     noconfigdirs="$noconfigdirs gdb"
   3892     ;;
   3893   hppa*-*-hpux11*)
   3894     noconfigdirs="$noconfigdirs gdb ld"
   3895     ;;
   3896   hppa*64*-*-linux*)
   3897     ;;
   3898   hppa*-*-linux*)
   3899     ;;
   3900   hppa*-*-*elf* | \
   3901   hppa*-*-lites* | \
   3902   hppa*-*-openbsd* | \
   3903   hppa*64*-*-*)
   3904     ;;
   3905   hppa*-*-pro*)
   3906     ;;
   3907   hppa*-*-*)
   3908     noconfigdirs="$noconfigdirs ld"
   3909     ;;
   3910   i960-*-*)
   3911     noconfigdirs="$noconfigdirs gdb"
   3912     ;;
   3913   ia64*-*-elf*)
   3914     # No gdb support yet.
   3915     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3916     ;;
   3917   ia64*-**-hpux*)
   3918     # No ld support yet.
   3919     noconfigdirs="$noconfigdirs gdb libgui itcl ld"
   3920     ;;
   3921   ia64*-*-*vms*)
   3922     # No ld support yet.
   3923     noconfigdirs="$noconfigdirs libgui itcl ld"
   3924     ;;
   3925   i[3456789]86-w64-mingw*)
   3926     ;;
   3927   i[3456789]86-*-mingw*)
   3928     target_configdirs="$target_configdirs target-winsup"
   3929     ;;
   3930   *-*-cygwin*)
   3931     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3932     noconfigdirs="$noconfigdirs target-libgloss"
   3933     # always build newlib if winsup directory is present.
   3934     if test -d "$srcdir/winsup/cygwin"; then
   3935       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3936     elif test -d "$srcdir/newlib"; then
   3937       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3938     fi
   3939     ;;
   3940   i[3456789]86-*-pe)
   3941     noconfigdirs="$noconfigdirs target-libgloss"
   3942     ;;
   3943   i[3456789]86-*-sco3.2v5*)
   3944     # The linker does not yet know about weak symbols in COFF,
   3945     # and is not configured to handle mixed ELF and COFF.
   3946     noconfigdirs="$noconfigdirs ld target-libgloss"
   3947     ;;
   3948   i[3456789]86-*-sco*)
   3949     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3950     ;;
   3951   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3952     noconfigdirs="$noconfigdirs target-libgloss"
   3953     ;;
   3954   i[3456789]86-*-sysv4*)
   3955     noconfigdirs="$noconfigdirs target-libgloss"
   3956     ;;
   3957   i[3456789]86-*-beos*)
   3958     noconfigdirs="$noconfigdirs gdb"
   3959     ;;
   3960   i[3456789]86-*-rdos*)
   3961     noconfigdirs="$noconfigdirs gdb"
   3962     ;;
   3963   mmix-*-*)
   3964     noconfigdirs="$noconfigdirs gdb"
   3965     ;;
   3966   mt-*-*)
   3967     noconfigdirs="$noconfigdirs sim"
   3968     ;;
   3969   nfp-*-*)
   3970     noconfigdirs="$noconfigdirs ld gas gdb gprof sim"
   3971     noconfigdirs="$noconfigdirs $target_libraries"
   3972     ;;
   3973   pdp11-*-*)
   3974     noconfigdirs="$noconfigdirs gdb gprof"
   3975     ;;
   3976   powerpc-*-aix*)
   3977     # copied from rs6000-*-* entry
   3978     noconfigdirs="$noconfigdirs gprof"
   3979     ;;
   3980   powerpc*-*-winnt* | powerpc*-*-pe*)
   3981     target_configdirs="$target_configdirs target-winsup"
   3982     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3983     # always build newlib.
   3984     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3985     ;;
   3986     # This is temporary until we can link against shared libraries
   3987   powerpcle-*-solaris*)
   3988     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3989     ;;
   3990   powerpc-*-beos*)
   3991     noconfigdirs="$noconfigdirs gdb"
   3992     ;;
   3993   rs6000-*-lynxos*)
   3994     noconfigdirs="$noconfigdirs gprof"
   3995     ;;
   3996   rs6000-*-aix*)
   3997     noconfigdirs="$noconfigdirs gprof"
   3998     ;;
   3999   rs6000-*-*)
   4000     noconfigdirs="$noconfigdirs gprof"
   4001     ;;
   4002   m68k-apollo-*)
   4003     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   4004     ;;
   4005   microblaze*)
   4006     noconfigdirs="$noconfigdirs gprof"
   4007     ;;
   4008   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   4009     if test x$with_newlib = xyes; then
   4010       noconfigdirs="$noconfigdirs gprof"
   4011     fi
   4012     ;;
   4013   mips*-*-irix5*)
   4014     noconfigdirs="$noconfigdirs gprof target-libgloss"
   4015     ;;
   4016   mips*-*-irix6*)
   4017     noconfigdirs="$noconfigdirs gprof target-libgloss"
   4018     ;;
   4019   mips*-*-bsd*)
   4020     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   4021     ;;
   4022   mips*-*-linux*)
   4023     ;;
   4024   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   4025   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   4026     noconfigdirs="$noconfigdirs ld gas gprof"
   4027     ;;
   4028   mips*-*-*)
   4029     noconfigdirs="$noconfigdirs gprof"
   4030     ;;
   4031   nvptx*-*-*)
   4032     noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
   4033     ;;
   4034   sh-*-*)
   4035     case "${target}" in
   4036       sh*-*-elf)
   4037          ;;
   4038       *)
   4039          noconfigdirs="$noconfigdirs target-libgloss" ;;
   4040     esac
   4041     ;;
   4042   sparc-*-sunos4*)
   4043     if test x${is_cross_compiler} = xno ; then
   4044            use_gnu_ld=no
   4045     fi
   4046     ;;
   4047   tic6x-*-*)
   4048     noconfigdirs="$noconfigdirs sim"
   4049     ;;
   4050   tilepro*-*-* | tilegx*-*-*)
   4051     noconfigdirs="$noconfigdirs sim"
   4052     ;;
   4053   v810-*-*)
   4054     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   4055     ;;
   4056   vax-*-*)
   4057     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   4058     ;;
   4059   wasm32-*-*)
   4060     noconfigdirs="$noconfigdirs ld"
   4061     ;;
   4062   loongarch*-*-linux*)
   4063     ;;
   4064   loongarch*-*-*)
   4065     noconfigdirs="$noconfigdirs gprof"
   4066     ;;
   4067 esac
   4068 
   4069 # If we aren't building newlib, then don't build libgloss, since libgloss
   4070 # depends upon some newlib header files.
   4071 case "${noconfigdirs}" in
   4072   *target-libgloss*) ;;
   4073   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   4074 esac
   4075 
   4076 # Work in distributions that contain no compiler tools, like Autoconf.
   4077 host_makefile_frag=/dev/null
   4078 if test -d ${srcdir}/config ; then
   4079 case "${host}" in
   4080   i[3456789]86-*-msdosdjgpp*)
   4081     host_makefile_frag="config/mh-djgpp"
   4082     ;;
   4083   *-cygwin*)
   4084 
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   4086 $as_echo_n "checking to see if cat works as expected... " >&6; }
   4087 echo a >cygwin-cat-check
   4088 if test `cat cygwin-cat-check` = a ; then
   4089   rm cygwin-cat-check
   4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4091 $as_echo "yes" >&6; }
   4092 else
   4093   rm cygwin-cat-check
   4094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4095 $as_echo "no" >&6; }
   4096   as_fn_error $? "The cat command does not ignore carriage return characters.
   4097   Please either mount the build directory in binary mode or run the following
   4098   commands before running any configure script:
   4099 set -o igncr
   4100 export SHELLOPTS
   4101   " "$LINENO" 5
   4102 fi
   4103 
   4104     host_makefile_frag="config/mh-cygwin"
   4105     ;;
   4106   *-mingw*)
   4107     host_makefile_frag="config/mh-mingw"
   4108     ;;
   4109   alpha*-linux*)
   4110     host_makefile_frag="config/mh-alpha-linux"
   4111     ;;
   4112   hppa*-hp-hpux*)
   4113     host_makefile_frag="config/mh-pa"
   4114     ;;
   4115   hppa*-*)
   4116     host_makefile_frag="config/mh-pa"
   4117     ;;
   4118   i?86-*-darwin[89]* | i?86-*-darwin1[0-7]* | powerpc*-*-darwin*)
   4119     host_makefile_frag="config/mh-darwin"
   4120     ;;
   4121   powerpc-*-aix*)
   4122     host_makefile_frag="config/mh-ppc-aix"
   4123     ;;
   4124   rs6000-*-aix*)
   4125     host_makefile_frag="config/mh-ppc-aix"
   4126     ;;
   4127 esac
   4128 fi
   4129 
   4130 if test "${build}" != "${host}" ; then
   4131   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   4132   AS_FOR_BUILD=${AS_FOR_BUILD-as}
   4133   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   4134   CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
   4135   CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
   4136   DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
   4137   GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
   4138   GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
   4139   GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
   4140   DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
   4141   LD_FOR_BUILD=${LD_FOR_BUILD-ld}
   4142   NM_FOR_BUILD=${NM_FOR_BUILD-nm}
   4143   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
   4144   WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
   4145   WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
   4146 else
   4147   AR_FOR_BUILD="\$(AR)"
   4148   AS_FOR_BUILD="\$(AS)"
   4149   CC_FOR_BUILD="\$(CC)"
   4150   CXX_FOR_BUILD="\$(CXX)"
   4151   DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
   4152   GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
   4153   GOC_FOR_BUILD="\$(GOC)"
   4154   GDC_FOR_BUILD="\$(GDC)"
   4155   DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
   4156   LD_FOR_BUILD="\$(LD)"
   4157   NM_FOR_BUILD="\$(NM)"
   4158   RANLIB_FOR_BUILD="\$(RANLIB)"
   4159   WINDRES_FOR_BUILD="\$(WINDRES)"
   4160   WINDMC_FOR_BUILD="\$(WINDMC)"
   4161 fi
   4162 
   4163 ac_ext=c
   4164 ac_cpp='$CPP $CPPFLAGS'
   4165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4168 if test -n "$ac_tool_prefix"; then
   4169   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4170 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4172 $as_echo_n "checking for $ac_word... " >&6; }
   4173 if ${ac_cv_prog_CC+:} false; then :
   4174   $as_echo_n "(cached) " >&6
   4175 else
   4176   if test -n "$CC"; then
   4177   ac_cv_prog_CC="$CC" # Let the user override the test.
   4178 else
   4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4180 for as_dir in $PATH
   4181 do
   4182   IFS=$as_save_IFS
   4183   test -z "$as_dir" && as_dir=.
   4184     for ac_exec_ext in '' $ac_executable_extensions; do
   4185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4186     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4188     break 2
   4189   fi
   4190 done
   4191   done
   4192 IFS=$as_save_IFS
   4193 
   4194 fi
   4195 fi
   4196 CC=$ac_cv_prog_CC
   4197 if test -n "$CC"; then
   4198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4199 $as_echo "$CC" >&6; }
   4200 else
   4201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4202 $as_echo "no" >&6; }
   4203 fi
   4204 
   4205 
   4206 fi
   4207 if test -z "$ac_cv_prog_CC"; then
   4208   ac_ct_CC=$CC
   4209   # Extract the first word of "gcc", so it can be a program name with args.
   4210 set dummy gcc; ac_word=$2
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4212 $as_echo_n "checking for $ac_word... " >&6; }
   4213 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   if test -n "$ac_ct_CC"; then
   4217   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4218 else
   4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4220 for as_dir in $PATH
   4221 do
   4222   IFS=$as_save_IFS
   4223   test -z "$as_dir" && as_dir=.
   4224     for ac_exec_ext in '' $ac_executable_extensions; do
   4225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4226     ac_cv_prog_ac_ct_CC="gcc"
   4227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4228     break 2
   4229   fi
   4230 done
   4231   done
   4232 IFS=$as_save_IFS
   4233 
   4234 fi
   4235 fi
   4236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4237 if test -n "$ac_ct_CC"; then
   4238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4239 $as_echo "$ac_ct_CC" >&6; }
   4240 else
   4241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4242 $as_echo "no" >&6; }
   4243 fi
   4244 
   4245   if test "x$ac_ct_CC" = x; then
   4246     CC=""
   4247   else
   4248     case $cross_compiling:$ac_tool_warned in
   4249 yes:)
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4252 ac_tool_warned=yes ;;
   4253 esac
   4254     CC=$ac_ct_CC
   4255   fi
   4256 else
   4257   CC="$ac_cv_prog_CC"
   4258 fi
   4259 
   4260 if test -z "$CC"; then
   4261           if test -n "$ac_tool_prefix"; then
   4262     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4263 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4265 $as_echo_n "checking for $ac_word... " >&6; }
   4266 if ${ac_cv_prog_CC+:} false; then :
   4267   $as_echo_n "(cached) " >&6
   4268 else
   4269   if test -n "$CC"; then
   4270   ac_cv_prog_CC="$CC" # Let the user override the test.
   4271 else
   4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4273 for as_dir in $PATH
   4274 do
   4275   IFS=$as_save_IFS
   4276   test -z "$as_dir" && as_dir=.
   4277     for ac_exec_ext in '' $ac_executable_extensions; do
   4278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4279     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4281     break 2
   4282   fi
   4283 done
   4284   done
   4285 IFS=$as_save_IFS
   4286 
   4287 fi
   4288 fi
   4289 CC=$ac_cv_prog_CC
   4290 if test -n "$CC"; then
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4292 $as_echo "$CC" >&6; }
   4293 else
   4294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4295 $as_echo "no" >&6; }
   4296 fi
   4297 
   4298 
   4299   fi
   4300 fi
   4301 if test -z "$CC"; then
   4302   # Extract the first word of "cc", so it can be a program name with args.
   4303 set dummy cc; ac_word=$2
   4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4305 $as_echo_n "checking for $ac_word... " >&6; }
   4306 if ${ac_cv_prog_CC+:} false; then :
   4307   $as_echo_n "(cached) " >&6
   4308 else
   4309   if test -n "$CC"; then
   4310   ac_cv_prog_CC="$CC" # Let the user override the test.
   4311 else
   4312   ac_prog_rejected=no
   4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4314 for as_dir in $PATH
   4315 do
   4316   IFS=$as_save_IFS
   4317   test -z "$as_dir" && as_dir=.
   4318     for ac_exec_ext in '' $ac_executable_extensions; do
   4319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4320     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4321        ac_prog_rejected=yes
   4322        continue
   4323      fi
   4324     ac_cv_prog_CC="cc"
   4325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4326     break 2
   4327   fi
   4328 done
   4329   done
   4330 IFS=$as_save_IFS
   4331 
   4332 if test $ac_prog_rejected = yes; then
   4333   # We found a bogon in the path, so make sure we never use it.
   4334   set dummy $ac_cv_prog_CC
   4335   shift
   4336   if test $# != 0; then
   4337     # We chose a different compiler from the bogus one.
   4338     # However, it has the same basename, so the bogon will be chosen
   4339     # first if we set CC to just the basename; use the full file name.
   4340     shift
   4341     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4342   fi
   4343 fi
   4344 fi
   4345 fi
   4346 CC=$ac_cv_prog_CC
   4347 if test -n "$CC"; then
   4348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4349 $as_echo "$CC" >&6; }
   4350 else
   4351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4352 $as_echo "no" >&6; }
   4353 fi
   4354 
   4355 
   4356 fi
   4357 if test -z "$CC"; then
   4358   if test -n "$ac_tool_prefix"; then
   4359   for ac_prog in cl.exe
   4360   do
   4361     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4362 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4364 $as_echo_n "checking for $ac_word... " >&6; }
   4365 if ${ac_cv_prog_CC+:} false; then :
   4366   $as_echo_n "(cached) " >&6
   4367 else
   4368   if test -n "$CC"; then
   4369   ac_cv_prog_CC="$CC" # Let the user override the test.
   4370 else
   4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4372 for as_dir in $PATH
   4373 do
   4374   IFS=$as_save_IFS
   4375   test -z "$as_dir" && as_dir=.
   4376     for ac_exec_ext in '' $ac_executable_extensions; do
   4377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4378     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4380     break 2
   4381   fi
   4382 done
   4383   done
   4384 IFS=$as_save_IFS
   4385 
   4386 fi
   4387 fi
   4388 CC=$ac_cv_prog_CC
   4389 if test -n "$CC"; then
   4390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4391 $as_echo "$CC" >&6; }
   4392 else
   4393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4394 $as_echo "no" >&6; }
   4395 fi
   4396 
   4397 
   4398     test -n "$CC" && break
   4399   done
   4400 fi
   4401 if test -z "$CC"; then
   4402   ac_ct_CC=$CC
   4403   for ac_prog in cl.exe
   4404 do
   4405   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4406 set dummy $ac_prog; ac_word=$2
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4408 $as_echo_n "checking for $ac_word... " >&6; }
   4409 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4410   $as_echo_n "(cached) " >&6
   4411 else
   4412   if test -n "$ac_ct_CC"; then
   4413   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4414 else
   4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4416 for as_dir in $PATH
   4417 do
   4418   IFS=$as_save_IFS
   4419   test -z "$as_dir" && as_dir=.
   4420     for ac_exec_ext in '' $ac_executable_extensions; do
   4421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4422     ac_cv_prog_ac_ct_CC="$ac_prog"
   4423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4424     break 2
   4425   fi
   4426 done
   4427   done
   4428 IFS=$as_save_IFS
   4429 
   4430 fi
   4431 fi
   4432 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4433 if test -n "$ac_ct_CC"; then
   4434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4435 $as_echo "$ac_ct_CC" >&6; }
   4436 else
   4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4438 $as_echo "no" >&6; }
   4439 fi
   4440 
   4441 
   4442   test -n "$ac_ct_CC" && break
   4443 done
   4444 
   4445   if test "x$ac_ct_CC" = x; then
   4446     CC=""
   4447   else
   4448     case $cross_compiling:$ac_tool_warned in
   4449 yes:)
   4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4452 ac_tool_warned=yes ;;
   4453 esac
   4454     CC=$ac_ct_CC
   4455   fi
   4456 fi
   4457 
   4458 fi
   4459 
   4460 
   4461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4463 as_fn_error $? "no acceptable C compiler found in \$PATH
   4464 See \`config.log' for more details" "$LINENO" 5; }
   4465 
   4466 # Provide some information about the compiler.
   4467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4468 set X $ac_compile
   4469 ac_compiler=$2
   4470 for ac_option in --version -v -V -qversion; do
   4471   { { ac_try="$ac_compiler $ac_option >&5"
   4472 case "(($ac_try" in
   4473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4474   *) ac_try_echo=$ac_try;;
   4475 esac
   4476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4477 $as_echo "$ac_try_echo"; } >&5
   4478   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4479   ac_status=$?
   4480   if test -s conftest.err; then
   4481     sed '10a\
   4482 ... rest of stderr output deleted ...
   4483          10q' conftest.err >conftest.er1
   4484     cat conftest.er1 >&5
   4485   fi
   4486   rm -f conftest.er1 conftest.err
   4487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4488   test $ac_status = 0; }
   4489 done
   4490 
   4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4492 /* end confdefs.h.  */
   4493 
   4494 int
   4495 main ()
   4496 {
   4497 
   4498   ;
   4499   return 0;
   4500 }
   4501 _ACEOF
   4502 ac_clean_files_save=$ac_clean_files
   4503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4504 # Try to create an executable without -o first, disregard a.out.
   4505 # It will help us diagnose broken compilers, and finding out an intuition
   4506 # of exeext.
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4508 $as_echo_n "checking whether the C compiler works... " >&6; }
   4509 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4510 
   4511 # The possible output files:
   4512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4513 
   4514 ac_rmfiles=
   4515 for ac_file in $ac_files
   4516 do
   4517   case $ac_file in
   4518     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4519     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4520   esac
   4521 done
   4522 rm -f $ac_rmfiles
   4523 
   4524 if { { ac_try="$ac_link_default"
   4525 case "(($ac_try" in
   4526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4527   *) ac_try_echo=$ac_try;;
   4528 esac
   4529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4530 $as_echo "$ac_try_echo"; } >&5
   4531   (eval "$ac_link_default") 2>&5
   4532   ac_status=$?
   4533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4534   test $ac_status = 0; }; then :
   4535   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4537 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4538 # so that the user can short-circuit this test for compilers unknown to
   4539 # Autoconf.
   4540 for ac_file in $ac_files ''
   4541 do
   4542   test -f "$ac_file" || continue
   4543   case $ac_file in
   4544     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4545 	;;
   4546     [ab].out )
   4547 	# We found the default executable, but exeext='' is most
   4548 	# certainly right.
   4549 	break;;
   4550     *.* )
   4551 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4552 	then :; else
   4553 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4554 	fi
   4555 	# We set ac_cv_exeext here because the later test for it is not
   4556 	# safe: cross compilers may not add the suffix if given an `-o'
   4557 	# argument, so we may need to know it at that point already.
   4558 	# Even if this section looks crufty: it has the advantage of
   4559 	# actually working.
   4560 	break;;
   4561     * )
   4562 	break;;
   4563   esac
   4564 done
   4565 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4566 
   4567 else
   4568   ac_file=''
   4569 fi
   4570 if test -z "$ac_file"; then :
   4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4572 $as_echo "no" >&6; }
   4573 $as_echo "$as_me: failed program was:" >&5
   4574 sed 's/^/| /' conftest.$ac_ext >&5
   4575 
   4576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4578 as_fn_error 77 "C compiler cannot create executables
   4579 See \`config.log' for more details" "$LINENO" 5; }
   4580 else
   4581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4582 $as_echo "yes" >&6; }
   4583 fi
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4585 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4587 $as_echo "$ac_file" >&6; }
   4588 ac_exeext=$ac_cv_exeext
   4589 
   4590 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4591 ac_clean_files=$ac_clean_files_save
   4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4593 $as_echo_n "checking for suffix of executables... " >&6; }
   4594 if { { ac_try="$ac_link"
   4595 case "(($ac_try" in
   4596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4597   *) ac_try_echo=$ac_try;;
   4598 esac
   4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4600 $as_echo "$ac_try_echo"; } >&5
   4601   (eval "$ac_link") 2>&5
   4602   ac_status=$?
   4603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4604   test $ac_status = 0; }; then :
   4605   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4606 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4607 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4608 # `rm'.
   4609 for ac_file in conftest.exe conftest conftest.*; do
   4610   test -f "$ac_file" || continue
   4611   case $ac_file in
   4612     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4613     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4614 	  break;;
   4615     * ) break;;
   4616   esac
   4617 done
   4618 else
   4619   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4621 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4622 See \`config.log' for more details" "$LINENO" 5; }
   4623 fi
   4624 rm -f conftest conftest$ac_cv_exeext
   4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4626 $as_echo "$ac_cv_exeext" >&6; }
   4627 
   4628 rm -f conftest.$ac_ext
   4629 EXEEXT=$ac_cv_exeext
   4630 ac_exeext=$EXEEXT
   4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4632 /* end confdefs.h.  */
   4633 #include <stdio.h>
   4634 int
   4635 main ()
   4636 {
   4637 FILE *f = fopen ("conftest.out", "w");
   4638  return ferror (f) || fclose (f) != 0;
   4639 
   4640   ;
   4641   return 0;
   4642 }
   4643 _ACEOF
   4644 ac_clean_files="$ac_clean_files conftest.out"
   4645 # Check that the compiler produces executables we can run.  If not, either
   4646 # the compiler is broken, or we cross compile.
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4648 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4649 if test "$cross_compiling" != yes; then
   4650   { { ac_try="$ac_link"
   4651 case "(($ac_try" in
   4652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4653   *) ac_try_echo=$ac_try;;
   4654 esac
   4655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4656 $as_echo "$ac_try_echo"; } >&5
   4657   (eval "$ac_link") 2>&5
   4658   ac_status=$?
   4659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4660   test $ac_status = 0; }
   4661   if { ac_try='./conftest$ac_cv_exeext'
   4662   { { case "(($ac_try" in
   4663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4664   *) ac_try_echo=$ac_try;;
   4665 esac
   4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4667 $as_echo "$ac_try_echo"; } >&5
   4668   (eval "$ac_try") 2>&5
   4669   ac_status=$?
   4670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4671   test $ac_status = 0; }; }; then
   4672     cross_compiling=no
   4673   else
   4674     if test "$cross_compiling" = maybe; then
   4675 	cross_compiling=yes
   4676     else
   4677 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4679 as_fn_error $? "cannot run C compiled programs.
   4680 If you meant to cross compile, use \`--host'.
   4681 See \`config.log' for more details" "$LINENO" 5; }
   4682     fi
   4683   fi
   4684 fi
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4686 $as_echo "$cross_compiling" >&6; }
   4687 
   4688 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4689 ac_clean_files=$ac_clean_files_save
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4691 $as_echo_n "checking for suffix of object files... " >&6; }
   4692 if ${ac_cv_objext+:} false; then :
   4693   $as_echo_n "(cached) " >&6
   4694 else
   4695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4696 /* end confdefs.h.  */
   4697 
   4698 int
   4699 main ()
   4700 {
   4701 
   4702   ;
   4703   return 0;
   4704 }
   4705 _ACEOF
   4706 rm -f conftest.o conftest.obj
   4707 if { { ac_try="$ac_compile"
   4708 case "(($ac_try" in
   4709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4710   *) ac_try_echo=$ac_try;;
   4711 esac
   4712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4713 $as_echo "$ac_try_echo"; } >&5
   4714   (eval "$ac_compile") 2>&5
   4715   ac_status=$?
   4716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4717   test $ac_status = 0; }; then :
   4718   for ac_file in conftest.o conftest.obj conftest.*; do
   4719   test -f "$ac_file" || continue;
   4720   case $ac_file in
   4721     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4722     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4723        break;;
   4724   esac
   4725 done
   4726 else
   4727   $as_echo "$as_me: failed program was:" >&5
   4728 sed 's/^/| /' conftest.$ac_ext >&5
   4729 
   4730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4732 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4733 See \`config.log' for more details" "$LINENO" 5; }
   4734 fi
   4735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4736 fi
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4738 $as_echo "$ac_cv_objext" >&6; }
   4739 OBJEXT=$ac_cv_objext
   4740 ac_objext=$OBJEXT
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4742 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4743 if ${ac_cv_c_compiler_gnu+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4747 /* end confdefs.h.  */
   4748 
   4749 int
   4750 main ()
   4751 {
   4752 #ifndef __GNUC__
   4753        choke me
   4754 #endif
   4755 
   4756   ;
   4757   return 0;
   4758 }
   4759 _ACEOF
   4760 if ac_fn_c_try_compile "$LINENO"; then :
   4761   ac_compiler_gnu=yes
   4762 else
   4763   ac_compiler_gnu=no
   4764 fi
   4765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4767 
   4768 fi
   4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4770 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4771 if test $ac_compiler_gnu = yes; then
   4772   GCC=yes
   4773 else
   4774   GCC=
   4775 fi
   4776 ac_test_CFLAGS=${CFLAGS+set}
   4777 ac_save_CFLAGS=$CFLAGS
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4779 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4780 if ${ac_cv_prog_cc_g+:} false; then :
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783   ac_save_c_werror_flag=$ac_c_werror_flag
   4784    ac_c_werror_flag=yes
   4785    ac_cv_prog_cc_g=no
   4786    CFLAGS="-g"
   4787    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4788 /* end confdefs.h.  */
   4789 
   4790 int
   4791 main ()
   4792 {
   4793 
   4794   ;
   4795   return 0;
   4796 }
   4797 _ACEOF
   4798 if ac_fn_c_try_compile "$LINENO"; then :
   4799   ac_cv_prog_cc_g=yes
   4800 else
   4801   CFLAGS=""
   4802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4803 /* end confdefs.h.  */
   4804 
   4805 int
   4806 main ()
   4807 {
   4808 
   4809   ;
   4810   return 0;
   4811 }
   4812 _ACEOF
   4813 if ac_fn_c_try_compile "$LINENO"; then :
   4814 
   4815 else
   4816   ac_c_werror_flag=$ac_save_c_werror_flag
   4817 	 CFLAGS="-g"
   4818 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4819 /* end confdefs.h.  */
   4820 
   4821 int
   4822 main ()
   4823 {
   4824 
   4825   ;
   4826   return 0;
   4827 }
   4828 _ACEOF
   4829 if ac_fn_c_try_compile "$LINENO"; then :
   4830   ac_cv_prog_cc_g=yes
   4831 fi
   4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4833 fi
   4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4835 fi
   4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4837    ac_c_werror_flag=$ac_save_c_werror_flag
   4838 fi
   4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4840 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4841 if test "$ac_test_CFLAGS" = set; then
   4842   CFLAGS=$ac_save_CFLAGS
   4843 elif test $ac_cv_prog_cc_g = yes; then
   4844   if test "$GCC" = yes; then
   4845     CFLAGS="-g -O2"
   4846   else
   4847     CFLAGS="-g"
   4848   fi
   4849 else
   4850   if test "$GCC" = yes; then
   4851     CFLAGS="-O2"
   4852   else
   4853     CFLAGS=
   4854   fi
   4855 fi
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4857 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4858 if ${ac_cv_prog_cc_c89+:} false; then :
   4859   $as_echo_n "(cached) " >&6
   4860 else
   4861   ac_cv_prog_cc_c89=no
   4862 ac_save_CC=$CC
   4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4864 /* end confdefs.h.  */
   4865 #include <stdarg.h>
   4866 #include <stdio.h>
   4867 struct stat;
   4868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4869 struct buf { int x; };
   4870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4871 static char *e (p, i)
   4872      char **p;
   4873      int i;
   4874 {
   4875   return p[i];
   4876 }
   4877 static char *f (char * (*g) (char **, int), char **p, ...)
   4878 {
   4879   char *s;
   4880   va_list v;
   4881   va_start (v,p);
   4882   s = g (p, va_arg (v,int));
   4883   va_end (v);
   4884   return s;
   4885 }
   4886 
   4887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4888    function prototypes and stuff, but not '\xHH' hex character constants.
   4889    These don't provoke an error unfortunately, instead are silently treated
   4890    as 'x'.  The following induces an error, until -std is added to get
   4891    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4892    array size at least.  It's necessary to write '\x00'==0 to get something
   4893    that's true only with -std.  */
   4894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4895 
   4896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4897    inside strings and character constants.  */
   4898 #define FOO(x) 'x'
   4899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4900 
   4901 int test (int i, double x);
   4902 struct s1 {int (*f) (int a);};
   4903 struct s2 {int (*f) (double a);};
   4904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4905 int argc;
   4906 char **argv;
   4907 int
   4908 main ()
   4909 {
   4910 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4911   ;
   4912   return 0;
   4913 }
   4914 _ACEOF
   4915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4916 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4917 do
   4918   CC="$ac_save_CC $ac_arg"
   4919   if ac_fn_c_try_compile "$LINENO"; then :
   4920   ac_cv_prog_cc_c89=$ac_arg
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext
   4923   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4924 done
   4925 rm -f conftest.$ac_ext
   4926 CC=$ac_save_CC
   4927 
   4928 fi
   4929 # AC_CACHE_VAL
   4930 case "x$ac_cv_prog_cc_c89" in
   4931   x)
   4932     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4933 $as_echo "none needed" >&6; } ;;
   4934   xno)
   4935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4936 $as_echo "unsupported" >&6; } ;;
   4937   *)
   4938     CC="$CC $ac_cv_prog_cc_c89"
   4939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4940 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4941 esac
   4942 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4943 
   4944 fi
   4945 
   4946 ac_ext=c
   4947 ac_cpp='$CPP $CPPFLAGS'
   4948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4951 
   4952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4953 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4954 if ${ac_cv_prog_cc_c99+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   ac_cv_prog_cc_c99=no
   4958 ac_save_CC=$CC
   4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4960 /* end confdefs.h.  */
   4961 #include <stdarg.h>
   4962 #include <stdbool.h>
   4963 #include <stdlib.h>
   4964 #include <wchar.h>
   4965 #include <stdio.h>
   4966 
   4967 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4968 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4969 #define showlist(...) puts (#__VA_ARGS__)
   4970 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4971 static void
   4972 test_varargs_macros (void)
   4973 {
   4974   int x = 1234;
   4975   int y = 5678;
   4976   debug ("Flag");
   4977   debug ("X = %d\n", x);
   4978   showlist (The first, second, and third items.);
   4979   report (x>y, "x is %d but y is %d", x, y);
   4980 }
   4981 
   4982 // Check long long types.
   4983 #define BIG64 18446744073709551615ull
   4984 #define BIG32 4294967295ul
   4985 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4986 #if !BIG_OK
   4987   your preprocessor is broken;
   4988 #endif
   4989 #if BIG_OK
   4990 #else
   4991   your preprocessor is broken;
   4992 #endif
   4993 static long long int bignum = -9223372036854775807LL;
   4994 static unsigned long long int ubignum = BIG64;
   4995 
   4996 struct incomplete_array
   4997 {
   4998   int datasize;
   4999   double data[];
   5000 };
   5001 
   5002 struct named_init {
   5003   int number;
   5004   const wchar_t *name;
   5005   double average;
   5006 };
   5007 
   5008 typedef const char *ccp;
   5009 
   5010 static inline int
   5011 test_restrict (ccp restrict text)
   5012 {
   5013   // See if C++-style comments work.
   5014   // Iterate through items via the restricted pointer.
   5015   // Also check for declarations in for loops.
   5016   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   5017     continue;
   5018   return 0;
   5019 }
   5020 
   5021 // Check varargs and va_copy.
   5022 static void
   5023 test_varargs (const char *format, ...)
   5024 {
   5025   va_list args;
   5026   va_start (args, format);
   5027   va_list args_copy;
   5028   va_copy (args_copy, args);
   5029 
   5030   const char *str;
   5031   int number;
   5032   float fnumber;
   5033 
   5034   while (*format)
   5035     {
   5036       switch (*format++)
   5037 	{
   5038 	case 's': // string
   5039 	  str = va_arg (args_copy, const char *);
   5040 	  break;
   5041 	case 'd': // int
   5042 	  number = va_arg (args_copy, int);
   5043 	  break;
   5044 	case 'f': // float
   5045 	  fnumber = va_arg (args_copy, double);
   5046 	  break;
   5047 	default:
   5048 	  break;
   5049 	}
   5050     }
   5051   va_end (args_copy);
   5052   va_end (args);
   5053 }
   5054 
   5055 int
   5056 main ()
   5057 {
   5058 
   5059   // Check bool.
   5060   _Bool success = false;
   5061 
   5062   // Check restrict.
   5063   if (test_restrict ("String literal") == 0)
   5064     success = true;
   5065   char *restrict newvar = "Another string";
   5066 
   5067   // Check varargs.
   5068   test_varargs ("s, d' f .", "string", 65, 34.234);
   5069   test_varargs_macros ();
   5070 
   5071   // Check flexible array members.
   5072   struct incomplete_array *ia =
   5073     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   5074   ia->datasize = 10;
   5075   for (int i = 0; i < ia->datasize; ++i)
   5076     ia->data[i] = i * 1.234;
   5077 
   5078   // Check named initializers.
   5079   struct named_init ni = {
   5080     .number = 34,
   5081     .name = L"Test wide string",
   5082     .average = 543.34343,
   5083   };
   5084 
   5085   ni.number = 58;
   5086 
   5087   int dynamic_array[ni.number];
   5088   dynamic_array[ni.number - 1] = 543;
   5089 
   5090   // work around unused variable warnings
   5091   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   5092 	  || dynamic_array[ni.number - 1] != 543);
   5093 
   5094   ;
   5095   return 0;
   5096 }
   5097 _ACEOF
   5098 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   5099 do
   5100   CC="$ac_save_CC $ac_arg"
   5101   if ac_fn_c_try_compile "$LINENO"; then :
   5102   ac_cv_prog_cc_c99=$ac_arg
   5103 fi
   5104 rm -f core conftest.err conftest.$ac_objext
   5105   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5106 done
   5107 rm -f conftest.$ac_ext
   5108 CC=$ac_save_CC
   5109 
   5110 fi
   5111 # AC_CACHE_VAL
   5112 case "x$ac_cv_prog_cc_c99" in
   5113   x)
   5114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5115 $as_echo "none needed" >&6; } ;;
   5116   xno)
   5117     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5118 $as_echo "unsupported" >&6; } ;;
   5119   *)
   5120     CC="$CC $ac_cv_prog_cc_c99"
   5121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5122 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   5123 esac
   5124 if test "x$ac_cv_prog_cc_c99" != xno; then :
   5125 
   5126 fi
   5127 
   5128 
   5129 ac_ext=cpp
   5130 ac_cpp='$CXXCPP $CPPFLAGS'
   5131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5134 if test -z "$CXX"; then
   5135   if test -n "$CCC"; then
   5136     CXX=$CCC
   5137   else
   5138     if test -n "$ac_tool_prefix"; then
   5139   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5140   do
   5141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5144 $as_echo_n "checking for $ac_word... " >&6; }
   5145 if ${ac_cv_prog_CXX+:} false; then :
   5146   $as_echo_n "(cached) " >&6
   5147 else
   5148   if test -n "$CXX"; then
   5149   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5150 else
   5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5152 for as_dir in $PATH
   5153 do
   5154   IFS=$as_save_IFS
   5155   test -z "$as_dir" && as_dir=.
   5156     for ac_exec_ext in '' $ac_executable_extensions; do
   5157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5158     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5160     break 2
   5161   fi
   5162 done
   5163   done
   5164 IFS=$as_save_IFS
   5165 
   5166 fi
   5167 fi
   5168 CXX=$ac_cv_prog_CXX
   5169 if test -n "$CXX"; then
   5170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5171 $as_echo "$CXX" >&6; }
   5172 else
   5173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5174 $as_echo "no" >&6; }
   5175 fi
   5176 
   5177 
   5178     test -n "$CXX" && break
   5179   done
   5180 fi
   5181 if test -z "$CXX"; then
   5182   ac_ct_CXX=$CXX
   5183   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5184 do
   5185   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5186 set dummy $ac_prog; ac_word=$2
   5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5188 $as_echo_n "checking for $ac_word... " >&6; }
   5189 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5190   $as_echo_n "(cached) " >&6
   5191 else
   5192   if test -n "$ac_ct_CXX"; then
   5193   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5194 else
   5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5196 for as_dir in $PATH
   5197 do
   5198   IFS=$as_save_IFS
   5199   test -z "$as_dir" && as_dir=.
   5200     for ac_exec_ext in '' $ac_executable_extensions; do
   5201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5202     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5204     break 2
   5205   fi
   5206 done
   5207   done
   5208 IFS=$as_save_IFS
   5209 
   5210 fi
   5211 fi
   5212 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5213 if test -n "$ac_ct_CXX"; then
   5214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5215 $as_echo "$ac_ct_CXX" >&6; }
   5216 else
   5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5218 $as_echo "no" >&6; }
   5219 fi
   5220 
   5221 
   5222   test -n "$ac_ct_CXX" && break
   5223 done
   5224 
   5225   if test "x$ac_ct_CXX" = x; then
   5226     CXX="g++"
   5227   else
   5228     case $cross_compiling:$ac_tool_warned in
   5229 yes:)
   5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5232 ac_tool_warned=yes ;;
   5233 esac
   5234     CXX=$ac_ct_CXX
   5235   fi
   5236 fi
   5237 
   5238   fi
   5239 fi
   5240 # Provide some information about the compiler.
   5241 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5242 set X $ac_compile
   5243 ac_compiler=$2
   5244 for ac_option in --version -v -V -qversion; do
   5245   { { ac_try="$ac_compiler $ac_option >&5"
   5246 case "(($ac_try" in
   5247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5248   *) ac_try_echo=$ac_try;;
   5249 esac
   5250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5251 $as_echo "$ac_try_echo"; } >&5
   5252   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5253   ac_status=$?
   5254   if test -s conftest.err; then
   5255     sed '10a\
   5256 ... rest of stderr output deleted ...
   5257          10q' conftest.err >conftest.er1
   5258     cat conftest.er1 >&5
   5259   fi
   5260   rm -f conftest.er1 conftest.err
   5261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5262   test $ac_status = 0; }
   5263 done
   5264 
   5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5266 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5267 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 
   5273 int
   5274 main ()
   5275 {
   5276 #ifndef __GNUC__
   5277        choke me
   5278 #endif
   5279 
   5280   ;
   5281   return 0;
   5282 }
   5283 _ACEOF
   5284 if ac_fn_cxx_try_compile "$LINENO"; then :
   5285   ac_compiler_gnu=yes
   5286 else
   5287   ac_compiler_gnu=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5291 
   5292 fi
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5294 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5295 if test $ac_compiler_gnu = yes; then
   5296   GXX=yes
   5297 else
   5298   GXX=
   5299 fi
   5300 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5301 ac_save_CXXFLAGS=$CXXFLAGS
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5303 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5304 if ${ac_cv_prog_cxx_g+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5308    ac_cxx_werror_flag=yes
   5309    ac_cv_prog_cxx_g=no
   5310    CXXFLAGS="-g"
   5311    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 
   5314 int
   5315 main ()
   5316 {
   5317 
   5318   ;
   5319   return 0;
   5320 }
   5321 _ACEOF
   5322 if ac_fn_cxx_try_compile "$LINENO"; then :
   5323   ac_cv_prog_cxx_g=yes
   5324 else
   5325   CXXFLAGS=""
   5326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5327 /* end confdefs.h.  */
   5328 
   5329 int
   5330 main ()
   5331 {
   5332 
   5333   ;
   5334   return 0;
   5335 }
   5336 _ACEOF
   5337 if ac_fn_cxx_try_compile "$LINENO"; then :
   5338 
   5339 else
   5340   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5341 	 CXXFLAGS="-g"
   5342 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5343 /* end confdefs.h.  */
   5344 
   5345 int
   5346 main ()
   5347 {
   5348 
   5349   ;
   5350   return 0;
   5351 }
   5352 _ACEOF
   5353 if ac_fn_cxx_try_compile "$LINENO"; then :
   5354   ac_cv_prog_cxx_g=yes
   5355 fi
   5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5359 fi
   5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5361    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5362 fi
   5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5364 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5365 if test "$ac_test_CXXFLAGS" = set; then
   5366   CXXFLAGS=$ac_save_CXXFLAGS
   5367 elif test $ac_cv_prog_cxx_g = yes; then
   5368   if test "$GXX" = yes; then
   5369     CXXFLAGS="-g -O2"
   5370   else
   5371     CXXFLAGS="-g"
   5372   fi
   5373 else
   5374   if test "$GXX" = yes; then
   5375     CXXFLAGS="-O2"
   5376   else
   5377     CXXFLAGS=
   5378   fi
   5379 fi
   5380 ac_ext=c
   5381 ac_cpp='$CPP $CPPFLAGS'
   5382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5385 
   5386 
   5387 # We must set the default linker to the linker used by gcc for the correct
   5388 # operation of libtool.  If LD is not defined and we are using gcc, try to
   5389 # set the LD default to the ld used by gcc.
   5390 if test -z "$LD"; then
   5391   if test "$GCC" = yes; then
   5392     case $build in
   5393     *-*-mingw*)
   5394       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
   5395     *)
   5396       gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
   5397     esac
   5398     case $gcc_prog_ld in
   5399     # Accept absolute paths.
   5400     [\\/]* | [A-Za-z]:[\\/]*)
   5401       LD="$gcc_prog_ld" ;;
   5402     esac
   5403   fi
   5404 fi
   5405 
   5406 # Check whether -static-libstdc++ -static-libgcc is supported.
   5407 have_static_libs=no
   5408 if test "$GCC" = yes; then
   5409   saved_LDFLAGS="$LDFLAGS"
   5410 
   5411   LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
   5412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
   5413 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
   5414   ac_ext=cpp
   5415 ac_cpp='$CXXCPP $CPPFLAGS'
   5416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5419 
   5420 
   5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 
   5424 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   5425 #error -static-libstdc++ not implemented
   5426 #endif
   5427 int main() {}
   5428 _ACEOF
   5429 if ac_fn_cxx_try_link "$LINENO"; then :
   5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5431 $as_echo "yes" >&6; }; have_static_libs=yes
   5432 else
   5433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5434 $as_echo "no" >&6; }
   5435 fi
   5436 rm -f core conftest.err conftest.$ac_objext \
   5437     conftest$ac_exeext conftest.$ac_ext
   5438   ac_ext=c
   5439 ac_cpp='$CPP $CPPFLAGS'
   5440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5443 
   5444 
   5445   LDFLAGS="$saved_LDFLAGS"
   5446 fi
   5447 
   5448 
   5449 
   5450 
   5451 if test -n "$ac_tool_prefix"; then
   5452   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
   5453 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5455 $as_echo_n "checking for $ac_word... " >&6; }
   5456 if ${ac_cv_prog_GNATBIND+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   if test -n "$GNATBIND"; then
   5460   ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
   5461 else
   5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5463 for as_dir in $PATH
   5464 do
   5465   IFS=$as_save_IFS
   5466   test -z "$as_dir" && as_dir=.
   5467     for ac_exec_ext in '' $ac_executable_extensions; do
   5468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5469     ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
   5470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5471     break 2
   5472   fi
   5473 done
   5474   done
   5475 IFS=$as_save_IFS
   5476 
   5477 fi
   5478 fi
   5479 GNATBIND=$ac_cv_prog_GNATBIND
   5480 if test -n "$GNATBIND"; then
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
   5482 $as_echo "$GNATBIND" >&6; }
   5483 else
   5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5485 $as_echo "no" >&6; }
   5486 fi
   5487 
   5488 
   5489 fi
   5490 if test -z "$ac_cv_prog_GNATBIND"; then
   5491   ac_ct_GNATBIND=$GNATBIND
   5492   # Extract the first word of "gnatbind", so it can be a program name with args.
   5493 set dummy gnatbind; ac_word=$2
   5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5495 $as_echo_n "checking for $ac_word... " >&6; }
   5496 if ${ac_cv_prog_ac_ct_GNATBIND+:} false; then :
   5497   $as_echo_n "(cached) " >&6
   5498 else
   5499   if test -n "$ac_ct_GNATBIND"; then
   5500   ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
   5501 else
   5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5503 for as_dir in $PATH
   5504 do
   5505   IFS=$as_save_IFS
   5506   test -z "$as_dir" && as_dir=.
   5507     for ac_exec_ext in '' $ac_executable_extensions; do
   5508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5509     ac_cv_prog_ac_ct_GNATBIND="gnatbind"
   5510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5511     break 2
   5512   fi
   5513 done
   5514   done
   5515 IFS=$as_save_IFS
   5516 
   5517 fi
   5518 fi
   5519 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
   5520 if test -n "$ac_ct_GNATBIND"; then
   5521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
   5522 $as_echo "$ac_ct_GNATBIND" >&6; }
   5523 else
   5524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5525 $as_echo "no" >&6; }
   5526 fi
   5527 
   5528   if test "x$ac_ct_GNATBIND" = x; then
   5529     GNATBIND="no"
   5530   else
   5531     case $cross_compiling:$ac_tool_warned in
   5532 yes:)
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5535 ac_tool_warned=yes ;;
   5536 esac
   5537     GNATBIND=$ac_ct_GNATBIND
   5538   fi
   5539 else
   5540   GNATBIND="$ac_cv_prog_GNATBIND"
   5541 fi
   5542 
   5543 if test -n "$ac_tool_prefix"; then
   5544   # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
   5545 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5547 $as_echo_n "checking for $ac_word... " >&6; }
   5548 if ${ac_cv_prog_GNATMAKE+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   if test -n "$GNATMAKE"; then
   5552   ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
   5553 else
   5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5555 for as_dir in $PATH
   5556 do
   5557   IFS=$as_save_IFS
   5558   test -z "$as_dir" && as_dir=.
   5559     for ac_exec_ext in '' $ac_executable_extensions; do
   5560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5561     ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
   5562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5563     break 2
   5564   fi
   5565 done
   5566   done
   5567 IFS=$as_save_IFS
   5568 
   5569 fi
   5570 fi
   5571 GNATMAKE=$ac_cv_prog_GNATMAKE
   5572 if test -n "$GNATMAKE"; then
   5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
   5574 $as_echo "$GNATMAKE" >&6; }
   5575 else
   5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5577 $as_echo "no" >&6; }
   5578 fi
   5579 
   5580 
   5581 fi
   5582 if test -z "$ac_cv_prog_GNATMAKE"; then
   5583   ac_ct_GNATMAKE=$GNATMAKE
   5584   # Extract the first word of "gnatmake", so it can be a program name with args.
   5585 set dummy gnatmake; ac_word=$2
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5587 $as_echo_n "checking for $ac_word... " >&6; }
   5588 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false; then :
   5589   $as_echo_n "(cached) " >&6
   5590 else
   5591   if test -n "$ac_ct_GNATMAKE"; then
   5592   ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
   5593 else
   5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5595 for as_dir in $PATH
   5596 do
   5597   IFS=$as_save_IFS
   5598   test -z "$as_dir" && as_dir=.
   5599     for ac_exec_ext in '' $ac_executable_extensions; do
   5600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5601     ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
   5602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5603     break 2
   5604   fi
   5605 done
   5606   done
   5607 IFS=$as_save_IFS
   5608 
   5609 fi
   5610 fi
   5611 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
   5612 if test -n "$ac_ct_GNATMAKE"; then
   5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
   5614 $as_echo "$ac_ct_GNATMAKE" >&6; }
   5615 else
   5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5617 $as_echo "no" >&6; }
   5618 fi
   5619 
   5620   if test "x$ac_ct_GNATMAKE" = x; then
   5621     GNATMAKE="no"
   5622   else
   5623     case $cross_compiling:$ac_tool_warned in
   5624 yes:)
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5627 ac_tool_warned=yes ;;
   5628 esac
   5629     GNATMAKE=$ac_ct_GNATMAKE
   5630   fi
   5631 else
   5632   GNATMAKE="$ac_cv_prog_GNATMAKE"
   5633 fi
   5634 
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada and is recent enough" >&5
   5636 $as_echo_n "checking whether compiler driver understands Ada and is recent enough... " >&6; }
   5637 if ${acx_cv_cc_gcc_supports_ada+:} false; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   cat >conftest.adb <<EOF
   5641 pragma Warnings (Off);
   5642 with System.CRTL;
   5643 pragma Warnings (On);
   5644 use type System.CRTL.int64;
   5645 procedure conftest is begin null; end conftest;
   5646 EOF
   5647 acx_cv_cc_gcc_supports_ada=no
   5648 # There is a bug in old released versions of GCC which causes the
   5649 # driver to exit successfully when the appropriate language module
   5650 # has not been installed.  This is fixed in 2.95.4, 3.0.2, and 3.1.
   5651 # Therefore we must check for the error message as well as an
   5652 # unsuccessful exit.
   5653 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
   5654 # given a .adb file, but produce no object file.  So we must check
   5655 # if an object file was really produced to guard against this.
   5656 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
   5657 if test x"$errors" = x && test -f conftest.$ac_objext; then
   5658   acx_cv_cc_gcc_supports_ada=yes
   5659 fi
   5660 rm -f conftest.*
   5661 fi
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
   5663 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
   5664 
   5665 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
   5666   have_gnat=yes
   5667 else
   5668   have_gnat=no
   5669 fi
   5670 
   5671 
   5672 
   5673 if test -n "$ac_tool_prefix"; then
   5674   # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
   5675 set dummy ${ac_tool_prefix}gdc; ac_word=$2
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5677 $as_echo_n "checking for $ac_word... " >&6; }
   5678 if ${ac_cv_prog_GDC+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   if test -n "$GDC"; then
   5682   ac_cv_prog_GDC="$GDC" # Let the user override the test.
   5683 else
   5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5685 for as_dir in $PATH
   5686 do
   5687   IFS=$as_save_IFS
   5688   test -z "$as_dir" && as_dir=.
   5689     for ac_exec_ext in '' $ac_executable_extensions; do
   5690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5691     ac_cv_prog_GDC="${ac_tool_prefix}gdc"
   5692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5693     break 2
   5694   fi
   5695 done
   5696   done
   5697 IFS=$as_save_IFS
   5698 
   5699 fi
   5700 fi
   5701 GDC=$ac_cv_prog_GDC
   5702 if test -n "$GDC"; then
   5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
   5704 $as_echo "$GDC" >&6; }
   5705 else
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5707 $as_echo "no" >&6; }
   5708 fi
   5709 
   5710 
   5711 fi
   5712 if test -z "$ac_cv_prog_GDC"; then
   5713   ac_ct_GDC=$GDC
   5714   # Extract the first word of "gdc", so it can be a program name with args.
   5715 set dummy gdc; ac_word=$2
   5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5717 $as_echo_n "checking for $ac_word... " >&6; }
   5718 if ${ac_cv_prog_ac_ct_GDC+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   if test -n "$ac_ct_GDC"; then
   5722   ac_cv_prog_ac_ct_GDC="$ac_ct_GDC" # Let the user override the test.
   5723 else
   5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5725 for as_dir in $PATH
   5726 do
   5727   IFS=$as_save_IFS
   5728   test -z "$as_dir" && as_dir=.
   5729     for ac_exec_ext in '' $ac_executable_extensions; do
   5730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5731     ac_cv_prog_ac_ct_GDC="gdc"
   5732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5733     break 2
   5734   fi
   5735 done
   5736   done
   5737 IFS=$as_save_IFS
   5738 
   5739 fi
   5740 fi
   5741 ac_ct_GDC=$ac_cv_prog_ac_ct_GDC
   5742 if test -n "$ac_ct_GDC"; then
   5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
   5744 $as_echo "$ac_ct_GDC" >&6; }
   5745 else
   5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 $as_echo "no" >&6; }
   5748 fi
   5749 
   5750   if test "x$ac_ct_GDC" = x; then
   5751     GDC="no"
   5752   else
   5753     case $cross_compiling:$ac_tool_warned in
   5754 yes:)
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5757 ac_tool_warned=yes ;;
   5758 esac
   5759     GDC=$ac_ct_GDC
   5760   fi
   5761 else
   5762   GDC="$ac_cv_prog_GDC"
   5763 fi
   5764 
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D compiler works" >&5
   5766 $as_echo_n "checking whether the D compiler works... " >&6; }
   5767 if ${acx_cv_d_compiler_works+:} false; then :
   5768   $as_echo_n "(cached) " >&6
   5769 else
   5770   cat >conftest.d <<EOF
   5771 module conftest; int main() { return 0; }
   5772 EOF
   5773 acx_cv_d_compiler_works=no
   5774 if test "x$GDC" != xno; then
   5775   errors=`(${GDC} -c conftest.d) 2>&1 || echo failure`
   5776   if test x"$errors" = x && test -f conftest.$ac_objext; then
   5777     acx_cv_d_compiler_works=yes
   5778   fi
   5779   rm -f conftest.*
   5780 fi
   5781 fi
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_d_compiler_works" >&5
   5783 $as_echo "$acx_cv_d_compiler_works" >&6; }
   5784 if test "x$GDC" != xno && test x$acx_cv_d_compiler_works != xno; then
   5785   have_gdc=yes
   5786 else
   5787   have_gdc=no
   5788 fi
   5789 
   5790 for ac_prog in cargo
   5791 do
   5792   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5793 set dummy $ac_prog; ac_word=$2
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5795 $as_echo_n "checking for $ac_word... " >&6; }
   5796 if ${ac_cv_prog_CARGO+:} false; then :
   5797   $as_echo_n "(cached) " >&6
   5798 else
   5799   if test -n "$CARGO"; then
   5800   ac_cv_prog_CARGO="$CARGO" # Let the user override the test.
   5801 else
   5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5803 for as_dir in $PATH
   5804 do
   5805   IFS=$as_save_IFS
   5806   test -z "$as_dir" && as_dir=.
   5807     for ac_exec_ext in '' $ac_executable_extensions; do
   5808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5809     ac_cv_prog_CARGO="$ac_prog"
   5810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5811     break 2
   5812   fi
   5813 done
   5814   done
   5815 IFS=$as_save_IFS
   5816 
   5817 fi
   5818 fi
   5819 CARGO=$ac_cv_prog_CARGO
   5820 if test -n "$CARGO"; then
   5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CARGO" >&5
   5822 $as_echo "$CARGO" >&6; }
   5823 else
   5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5825 $as_echo "no" >&6; }
   5826 fi
   5827 
   5828 
   5829   test -n "$CARGO" && break
   5830 done
   5831 test -n "$CARGO" || CARGO="no"
   5832 
   5833 if test "x$CARGO" != xno; then
   5834   have_cargo=yes
   5835 else
   5836   have_cargo=no
   5837 fi
   5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   5839 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   5840 if ${gcc_cv_prog_cmp_skip+:} false; then :
   5841   $as_echo_n "(cached) " >&6
   5842 else
   5843    echo abfoo >t1
   5844   echo cdfoo >t2
   5845   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   5846   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   5847     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   5848       :
   5849     else
   5850       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   5851     fi
   5852   fi
   5853   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   5854     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   5855       :
   5856     else
   5857       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   5858     fi
   5859   fi
   5860   rm t1 t2
   5861 
   5862 fi
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   5864 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   5865 do_compare="$gcc_cv_prog_cmp_skip"
   5866 
   5867 
   5868 
   5869 # Check whether --enable-bootstrap was given.
   5870 if test "${enable_bootstrap+set}" = set; then :
   5871   enableval=$enable_bootstrap;
   5872 else
   5873   enable_bootstrap=default
   5874 fi
   5875 
   5876 
   5877 # Issue errors and warnings for invalid/strange bootstrap combinations.
   5878 if test -r $srcdir/gcc/configure; then
   5879   have_compiler=yes
   5880 else
   5881   have_compiler=no
   5882 fi
   5883 
   5884 case "$have_compiler:$host:$target:$enable_bootstrap" in
   5885   *:*:*:no) ;;
   5886 
   5887   # Default behavior.  Enable bootstrap if we have a compiler
   5888   # and we are in a native configuration.
   5889   yes:$build:$build:default)
   5890     enable_bootstrap=yes ;;
   5891 
   5892   *:*:*:default)
   5893     enable_bootstrap=no ;;
   5894 
   5895   # We have a compiler and we are in a native configuration, bootstrap is ok
   5896   yes:$build:$build:yes)
   5897     ;;
   5898 
   5899   # Other configurations, but we have a compiler.  Assume the user knows
   5900   # what he's doing.
   5901   yes:*:*:yes)
   5902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
   5903 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
   5904     ;;
   5905 
   5906   # No compiler: if they passed --enable-bootstrap explicitly, fail
   5907   no:*:*:yes)
   5908     as_fn_error $? "cannot bootstrap without a compiler" "$LINENO" 5 ;;
   5909 
   5910   # Fail if wrong command line
   5911   *)
   5912     as_fn_error $? "invalid option for --enable-bootstrap" "$LINENO" 5
   5913     ;;
   5914 esac
   5915 
   5916 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
   5917 # C++11 compiler can still start the bootstrap.  Otherwise, if building GCC,
   5918 # require C++11 (or higher).
   5919 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   5920   CXX="$CXX -std=c++11"
   5921 elif test "$have_compiler" = yes; then
   5922     ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
   5923   ac_ext=cpp
   5924 ac_cpp='$CXXCPP $CPPFLAGS'
   5925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5928   ac_success=no
   5929 
   5930       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
   5931 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
   5932 if ${ax_cv_cxx_compile_cxx11+:} false; then :
   5933   $as_echo_n "(cached) " >&6
   5934 else
   5935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5936 /* end confdefs.h.  */
   5937 
   5938 
   5939 // If the compiler admits that it is not ready for C++11, why torture it?
   5940 // Hopefully, this will speed up the test.
   5941 
   5942 #ifndef __cplusplus
   5943 
   5944 #error "This is not a C++ compiler"
   5945 
   5946 #elif __cplusplus < 201103L
   5947 
   5948 #error "This is not a C++11 compiler"
   5949 
   5950 #else
   5951 
   5952 namespace cxx11
   5953 {
   5954 
   5955   namespace test_static_assert
   5956   {
   5957 
   5958     template <typename T>
   5959     struct check
   5960     {
   5961       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   5962     };
   5963 
   5964   }
   5965 
   5966   namespace test_final_override
   5967   {
   5968 
   5969     struct Base
   5970     {
   5971       virtual ~Base() {}
   5972       virtual void f() {}
   5973     };
   5974 
   5975     struct Derived : public Base
   5976     {
   5977       virtual ~Derived() override {}
   5978       virtual void f() override {}
   5979     };
   5980 
   5981   }
   5982 
   5983   namespace test_double_right_angle_brackets
   5984   {
   5985 
   5986     template < typename T >
   5987     struct check {};
   5988 
   5989     typedef check<void> single_type;
   5990     typedef check<check<void>> double_type;
   5991     typedef check<check<check<void>>> triple_type;
   5992     typedef check<check<check<check<void>>>> quadruple_type;
   5993 
   5994   }
   5995 
   5996   namespace test_decltype
   5997   {
   5998 
   5999     int
   6000     f()
   6001     {
   6002       int a = 1;
   6003       decltype(a) b = 2;
   6004       return a + b;
   6005     }
   6006 
   6007   }
   6008 
   6009   namespace test_type_deduction
   6010   {
   6011 
   6012     template < typename T1, typename T2 >
   6013     struct is_same
   6014     {
   6015       static const bool value = false;
   6016     };
   6017 
   6018     template < typename T >
   6019     struct is_same<T, T>
   6020     {
   6021       static const bool value = true;
   6022     };
   6023 
   6024     template < typename T1, typename T2 >
   6025     auto
   6026     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   6027     {
   6028       return a1 + a2;
   6029     }
   6030 
   6031     int
   6032     test(const int c, volatile int v)
   6033     {
   6034       static_assert(is_same<int, decltype(0)>::value == true, "");
   6035       static_assert(is_same<int, decltype(c)>::value == false, "");
   6036       static_assert(is_same<int, decltype(v)>::value == false, "");
   6037       auto ac = c;
   6038       auto av = v;
   6039       auto sumi = ac + av + 'x';
   6040       auto sumf = ac + av + 1.0;
   6041       static_assert(is_same<int, decltype(ac)>::value == true, "");
   6042       static_assert(is_same<int, decltype(av)>::value == true, "");
   6043       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   6044       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   6045       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   6046       return (sumf > 0.0) ? sumi : add(c, v);
   6047     }
   6048 
   6049   }
   6050 
   6051   namespace test_noexcept
   6052   {
   6053 
   6054     int f() { return 0; }
   6055     int g() noexcept { return 0; }
   6056 
   6057     static_assert(noexcept(f()) == false, "");
   6058     static_assert(noexcept(g()) == true, "");
   6059 
   6060   }
   6061 
   6062   namespace test_constexpr
   6063   {
   6064 
   6065     template < typename CharT >
   6066     unsigned long constexpr
   6067     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   6068     {
   6069       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   6070     }
   6071 
   6072     template < typename CharT >
   6073     unsigned long constexpr
   6074     strlen_c(const CharT *const s) noexcept
   6075     {
   6076       return strlen_c_r(s, 0UL);
   6077     }
   6078 
   6079     static_assert(strlen_c("") == 0UL, "");
   6080     static_assert(strlen_c("1") == 1UL, "");
   6081     static_assert(strlen_c("example") == 7UL, "");
   6082     static_assert(strlen_c("another\0example") == 7UL, "");
   6083 
   6084   }
   6085 
   6086   namespace test_rvalue_references
   6087   {
   6088 
   6089     template < int N >
   6090     struct answer
   6091     {
   6092       static constexpr int value = N;
   6093     };
   6094 
   6095     answer<1> f(int&)       { return answer<1>(); }
   6096     answer<2> f(const int&) { return answer<2>(); }
   6097     answer<3> f(int&&)      { return answer<3>(); }
   6098 
   6099     void
   6100     test()
   6101     {
   6102       int i = 0;
   6103       const int c = 0;
   6104       static_assert(decltype(f(i))::value == 1, "");
   6105       static_assert(decltype(f(c))::value == 2, "");
   6106       static_assert(decltype(f(0))::value == 3, "");
   6107     }
   6108 
   6109   }
   6110 
   6111   namespace test_uniform_initialization
   6112   {
   6113 
   6114     struct test
   6115     {
   6116       static const int zero {};
   6117       static const int one {1};
   6118     };
   6119 
   6120     static_assert(test::zero == 0, "");
   6121     static_assert(test::one == 1, "");
   6122 
   6123   }
   6124 
   6125   namespace test_lambdas
   6126   {
   6127 
   6128     void
   6129     test1()
   6130     {
   6131       auto lambda1 = [](){};
   6132       auto lambda2 = lambda1;
   6133       lambda1();
   6134       lambda2();
   6135     }
   6136 
   6137     int
   6138     test2()
   6139     {
   6140       auto a = [](int i, int j){ return i + j; }(1, 2);
   6141       auto b = []() -> int { return '0'; }();
   6142       auto c = [=](){ return a + b; }();
   6143       auto d = [&](){ return c; }();
   6144       auto e = [a, &b](int x) mutable {
   6145         const auto identity = [](int y){ return y; };
   6146         for (auto i = 0; i < a; ++i)
   6147           a += b--;
   6148         return x + identity(a + b);
   6149       }(0);
   6150       return a + b + c + d + e;
   6151     }
   6152 
   6153     int
   6154     test3()
   6155     {
   6156       const auto nullary = [](){ return 0; };
   6157       const auto unary = [](int x){ return x; };
   6158       using nullary_t = decltype(nullary);
   6159       using unary_t = decltype(unary);
   6160       const auto higher1st = [](nullary_t f){ return f(); };
   6161       const auto higher2nd = [unary](nullary_t f1){
   6162         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   6163       };
   6164       return higher1st(nullary) + higher2nd(nullary)(unary);
   6165     }
   6166 
   6167   }
   6168 
   6169   namespace test_variadic_templates
   6170   {
   6171 
   6172     template <int...>
   6173     struct sum;
   6174 
   6175     template <int N0, int... N1toN>
   6176     struct sum<N0, N1toN...>
   6177     {
   6178       static constexpr auto value = N0 + sum<N1toN...>::value;
   6179     };
   6180 
   6181     template <>
   6182     struct sum<>
   6183     {
   6184       static constexpr auto value = 0;
   6185     };
   6186 
   6187     static_assert(sum<>::value == 0, "");
   6188     static_assert(sum<1>::value == 1, "");
   6189     static_assert(sum<23>::value == 23, "");
   6190     static_assert(sum<1, 2>::value == 3, "");
   6191     static_assert(sum<5, 5, 11>::value == 21, "");
   6192     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   6193 
   6194   }
   6195 
   6196   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   6197   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   6198   // because of this.
   6199   namespace test_template_alias_sfinae
   6200   {
   6201 
   6202     struct foo {};
   6203 
   6204     template<typename T>
   6205     using member = typename T::member_type;
   6206 
   6207     template<typename T>
   6208     void func(...) {}
   6209 
   6210     template<typename T>
   6211     void func(member<T>*) {}
   6212 
   6213     void test();
   6214 
   6215     void test() { func<foo>(0); }
   6216 
   6217   }
   6218 
   6219 }  // namespace cxx11
   6220 
   6221 #endif  // __cplusplus >= 201103L
   6222 
   6223 
   6224 
   6225 _ACEOF
   6226 if ac_fn_cxx_try_compile "$LINENO"; then :
   6227   ax_cv_cxx_compile_cxx11=yes
   6228 else
   6229   ax_cv_cxx_compile_cxx11=no
   6230 fi
   6231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6232 fi
   6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
   6234 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
   6235     if test x$ax_cv_cxx_compile_cxx11 = xyes; then
   6236       ac_success=yes
   6237     fi
   6238 
   6239     if test x$ac_success = xno; then
   6240     for alternative in ${ax_cxx_compile_alternatives}; do
   6241       switch="-std=gnu++${alternative}"
   6242       cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
   6243       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   6244 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
   6245 if eval \${$cachevar+:} false; then :
   6246   $as_echo_n "(cached) " >&6
   6247 else
   6248   ac_save_CXX="$CXX"
   6249          CXX="$CXX $switch"
   6250          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 
   6253 
   6254 // If the compiler admits that it is not ready for C++11, why torture it?
   6255 // Hopefully, this will speed up the test.
   6256 
   6257 #ifndef __cplusplus
   6258 
   6259 #error "This is not a C++ compiler"
   6260 
   6261 #elif __cplusplus < 201103L
   6262 
   6263 #error "This is not a C++11 compiler"
   6264 
   6265 #else
   6266 
   6267 namespace cxx11
   6268 {
   6269 
   6270   namespace test_static_assert
   6271   {
   6272 
   6273     template <typename T>
   6274     struct check
   6275     {
   6276       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   6277     };
   6278 
   6279   }
   6280 
   6281   namespace test_final_override
   6282   {
   6283 
   6284     struct Base
   6285     {
   6286       virtual ~Base() {}
   6287       virtual void f() {}
   6288     };
   6289 
   6290     struct Derived : public Base
   6291     {
   6292       virtual ~Derived() override {}
   6293       virtual void f() override {}
   6294     };
   6295 
   6296   }
   6297 
   6298   namespace test_double_right_angle_brackets
   6299   {
   6300 
   6301     template < typename T >
   6302     struct check {};
   6303 
   6304     typedef check<void> single_type;
   6305     typedef check<check<void>> double_type;
   6306     typedef check<check<check<void>>> triple_type;
   6307     typedef check<check<check<check<void>>>> quadruple_type;
   6308 
   6309   }
   6310 
   6311   namespace test_decltype
   6312   {
   6313 
   6314     int
   6315     f()
   6316     {
   6317       int a = 1;
   6318       decltype(a) b = 2;
   6319       return a + b;
   6320     }
   6321 
   6322   }
   6323 
   6324   namespace test_type_deduction
   6325   {
   6326 
   6327     template < typename T1, typename T2 >
   6328     struct is_same
   6329     {
   6330       static const bool value = false;
   6331     };
   6332 
   6333     template < typename T >
   6334     struct is_same<T, T>
   6335     {
   6336       static const bool value = true;
   6337     };
   6338 
   6339     template < typename T1, typename T2 >
   6340     auto
   6341     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   6342     {
   6343       return a1 + a2;
   6344     }
   6345 
   6346     int
   6347     test(const int c, volatile int v)
   6348     {
   6349       static_assert(is_same<int, decltype(0)>::value == true, "");
   6350       static_assert(is_same<int, decltype(c)>::value == false, "");
   6351       static_assert(is_same<int, decltype(v)>::value == false, "");
   6352       auto ac = c;
   6353       auto av = v;
   6354       auto sumi = ac + av + 'x';
   6355       auto sumf = ac + av + 1.0;
   6356       static_assert(is_same<int, decltype(ac)>::value == true, "");
   6357       static_assert(is_same<int, decltype(av)>::value == true, "");
   6358       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   6359       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   6360       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   6361       return (sumf > 0.0) ? sumi : add(c, v);
   6362     }
   6363 
   6364   }
   6365 
   6366   namespace test_noexcept
   6367   {
   6368 
   6369     int f() { return 0; }
   6370     int g() noexcept { return 0; }
   6371 
   6372     static_assert(noexcept(f()) == false, "");
   6373     static_assert(noexcept(g()) == true, "");
   6374 
   6375   }
   6376 
   6377   namespace test_constexpr
   6378   {
   6379 
   6380     template < typename CharT >
   6381     unsigned long constexpr
   6382     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   6383     {
   6384       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   6385     }
   6386 
   6387     template < typename CharT >
   6388     unsigned long constexpr
   6389     strlen_c(const CharT *const s) noexcept
   6390     {
   6391       return strlen_c_r(s, 0UL);
   6392     }
   6393 
   6394     static_assert(strlen_c("") == 0UL, "");
   6395     static_assert(strlen_c("1") == 1UL, "");
   6396     static_assert(strlen_c("example") == 7UL, "");
   6397     static_assert(strlen_c("another\0example") == 7UL, "");
   6398 
   6399   }
   6400 
   6401   namespace test_rvalue_references
   6402   {
   6403 
   6404     template < int N >
   6405     struct answer
   6406     {
   6407       static constexpr int value = N;
   6408     };
   6409 
   6410     answer<1> f(int&)       { return answer<1>(); }
   6411     answer<2> f(const int&) { return answer<2>(); }
   6412     answer<3> f(int&&)      { return answer<3>(); }
   6413 
   6414     void
   6415     test()
   6416     {
   6417       int i = 0;
   6418       const int c = 0;
   6419       static_assert(decltype(f(i))::value == 1, "");
   6420       static_assert(decltype(f(c))::value == 2, "");
   6421       static_assert(decltype(f(0))::value == 3, "");
   6422     }
   6423 
   6424   }
   6425 
   6426   namespace test_uniform_initialization
   6427   {
   6428 
   6429     struct test
   6430     {
   6431       static const int zero {};
   6432       static const int one {1};
   6433     };
   6434 
   6435     static_assert(test::zero == 0, "");
   6436     static_assert(test::one == 1, "");
   6437 
   6438   }
   6439 
   6440   namespace test_lambdas
   6441   {
   6442 
   6443     void
   6444     test1()
   6445     {
   6446       auto lambda1 = [](){};
   6447       auto lambda2 = lambda1;
   6448       lambda1();
   6449       lambda2();
   6450     }
   6451 
   6452     int
   6453     test2()
   6454     {
   6455       auto a = [](int i, int j){ return i + j; }(1, 2);
   6456       auto b = []() -> int { return '0'; }();
   6457       auto c = [=](){ return a + b; }();
   6458       auto d = [&](){ return c; }();
   6459       auto e = [a, &b](int x) mutable {
   6460         const auto identity = [](int y){ return y; };
   6461         for (auto i = 0; i < a; ++i)
   6462           a += b--;
   6463         return x + identity(a + b);
   6464       }(0);
   6465       return a + b + c + d + e;
   6466     }
   6467 
   6468     int
   6469     test3()
   6470     {
   6471       const auto nullary = [](){ return 0; };
   6472       const auto unary = [](int x){ return x; };
   6473       using nullary_t = decltype(nullary);
   6474       using unary_t = decltype(unary);
   6475       const auto higher1st = [](nullary_t f){ return f(); };
   6476       const auto higher2nd = [unary](nullary_t f1){
   6477         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   6478       };
   6479       return higher1st(nullary) + higher2nd(nullary)(unary);
   6480     }
   6481 
   6482   }
   6483 
   6484   namespace test_variadic_templates
   6485   {
   6486 
   6487     template <int...>
   6488     struct sum;
   6489 
   6490     template <int N0, int... N1toN>
   6491     struct sum<N0, N1toN...>
   6492     {
   6493       static constexpr auto value = N0 + sum<N1toN...>::value;
   6494     };
   6495 
   6496     template <>
   6497     struct sum<>
   6498     {
   6499       static constexpr auto value = 0;
   6500     };
   6501 
   6502     static_assert(sum<>::value == 0, "");
   6503     static_assert(sum<1>::value == 1, "");
   6504     static_assert(sum<23>::value == 23, "");
   6505     static_assert(sum<1, 2>::value == 3, "");
   6506     static_assert(sum<5, 5, 11>::value == 21, "");
   6507     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   6508 
   6509   }
   6510 
   6511   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   6512   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   6513   // because of this.
   6514   namespace test_template_alias_sfinae
   6515   {
   6516 
   6517     struct foo {};
   6518 
   6519     template<typename T>
   6520     using member = typename T::member_type;
   6521 
   6522     template<typename T>
   6523     void func(...) {}
   6524 
   6525     template<typename T>
   6526     void func(member<T>*) {}
   6527 
   6528     void test();
   6529 
   6530     void test() { func<foo>(0); }
   6531 
   6532   }
   6533 
   6534 }  // namespace cxx11
   6535 
   6536 #endif  // __cplusplus >= 201103L
   6537 
   6538 
   6539 
   6540 _ACEOF
   6541 if ac_fn_cxx_try_compile "$LINENO"; then :
   6542   eval $cachevar=yes
   6543 else
   6544   eval $cachevar=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547          CXX="$ac_save_CXX"
   6548 fi
   6549 eval ac_res=\$$cachevar
   6550 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6551 $as_echo "$ac_res" >&6; }
   6552       if eval test x\$$cachevar = xyes; then
   6553         CXX="$CXX $switch"
   6554         if test -n "$CXXCPP" ; then
   6555           CXXCPP="$CXXCPP $switch"
   6556         fi
   6557         ac_success=yes
   6558         break
   6559       fi
   6560     done
   6561   fi
   6562 
   6563     if test x$ac_success = xno; then
   6564                 for alternative in ${ax_cxx_compile_alternatives}; do
   6565       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
   6566         cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
   6567         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   6568 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
   6569 if eval \${$cachevar+:} false; then :
   6570   $as_echo_n "(cached) " >&6
   6571 else
   6572   ac_save_CXX="$CXX"
   6573            CXX="$CXX $switch"
   6574            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 
   6577 
   6578 // If the compiler admits that it is not ready for C++11, why torture it?
   6579 // Hopefully, this will speed up the test.
   6580 
   6581 #ifndef __cplusplus
   6582 
   6583 #error "This is not a C++ compiler"
   6584 
   6585 #elif __cplusplus < 201103L
   6586 
   6587 #error "This is not a C++11 compiler"
   6588 
   6589 #else
   6590 
   6591 namespace cxx11
   6592 {
   6593 
   6594   namespace test_static_assert
   6595   {
   6596 
   6597     template <typename T>
   6598     struct check
   6599     {
   6600       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   6601     };
   6602 
   6603   }
   6604 
   6605   namespace test_final_override
   6606   {
   6607 
   6608     struct Base
   6609     {
   6610       virtual ~Base() {}
   6611       virtual void f() {}
   6612     };
   6613 
   6614     struct Derived : public Base
   6615     {
   6616       virtual ~Derived() override {}
   6617       virtual void f() override {}
   6618     };
   6619 
   6620   }
   6621 
   6622   namespace test_double_right_angle_brackets
   6623   {
   6624 
   6625     template < typename T >
   6626     struct check {};
   6627 
   6628     typedef check<void> single_type;
   6629     typedef check<check<void>> double_type;
   6630     typedef check<check<check<void>>> triple_type;
   6631     typedef check<check<check<check<void>>>> quadruple_type;
   6632 
   6633   }
   6634 
   6635   namespace test_decltype
   6636   {
   6637 
   6638     int
   6639     f()
   6640     {
   6641       int a = 1;
   6642       decltype(a) b = 2;
   6643       return a + b;
   6644     }
   6645 
   6646   }
   6647 
   6648   namespace test_type_deduction
   6649   {
   6650 
   6651     template < typename T1, typename T2 >
   6652     struct is_same
   6653     {
   6654       static const bool value = false;
   6655     };
   6656 
   6657     template < typename T >
   6658     struct is_same<T, T>
   6659     {
   6660       static const bool value = true;
   6661     };
   6662 
   6663     template < typename T1, typename T2 >
   6664     auto
   6665     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   6666     {
   6667       return a1 + a2;
   6668     }
   6669 
   6670     int
   6671     test(const int c, volatile int v)
   6672     {
   6673       static_assert(is_same<int, decltype(0)>::value == true, "");
   6674       static_assert(is_same<int, decltype(c)>::value == false, "");
   6675       static_assert(is_same<int, decltype(v)>::value == false, "");
   6676       auto ac = c;
   6677       auto av = v;
   6678       auto sumi = ac + av + 'x';
   6679       auto sumf = ac + av + 1.0;
   6680       static_assert(is_same<int, decltype(ac)>::value == true, "");
   6681       static_assert(is_same<int, decltype(av)>::value == true, "");
   6682       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   6683       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   6684       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   6685       return (sumf > 0.0) ? sumi : add(c, v);
   6686     }
   6687 
   6688   }
   6689 
   6690   namespace test_noexcept
   6691   {
   6692 
   6693     int f() { return 0; }
   6694     int g() noexcept { return 0; }
   6695 
   6696     static_assert(noexcept(f()) == false, "");
   6697     static_assert(noexcept(g()) == true, "");
   6698 
   6699   }
   6700 
   6701   namespace test_constexpr
   6702   {
   6703 
   6704     template < typename CharT >
   6705     unsigned long constexpr
   6706     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   6707     {
   6708       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   6709     }
   6710 
   6711     template < typename CharT >
   6712     unsigned long constexpr
   6713     strlen_c(const CharT *const s) noexcept
   6714     {
   6715       return strlen_c_r(s, 0UL);
   6716     }
   6717 
   6718     static_assert(strlen_c("") == 0UL, "");
   6719     static_assert(strlen_c("1") == 1UL, "");
   6720     static_assert(strlen_c("example") == 7UL, "");
   6721     static_assert(strlen_c("another\0example") == 7UL, "");
   6722 
   6723   }
   6724 
   6725   namespace test_rvalue_references
   6726   {
   6727 
   6728     template < int N >
   6729     struct answer
   6730     {
   6731       static constexpr int value = N;
   6732     };
   6733 
   6734     answer<1> f(int&)       { return answer<1>(); }
   6735     answer<2> f(const int&) { return answer<2>(); }
   6736     answer<3> f(int&&)      { return answer<3>(); }
   6737 
   6738     void
   6739     test()
   6740     {
   6741       int i = 0;
   6742       const int c = 0;
   6743       static_assert(decltype(f(i))::value == 1, "");
   6744       static_assert(decltype(f(c))::value == 2, "");
   6745       static_assert(decltype(f(0))::value == 3, "");
   6746     }
   6747 
   6748   }
   6749 
   6750   namespace test_uniform_initialization
   6751   {
   6752 
   6753     struct test
   6754     {
   6755       static const int zero {};
   6756       static const int one {1};
   6757     };
   6758 
   6759     static_assert(test::zero == 0, "");
   6760     static_assert(test::one == 1, "");
   6761 
   6762   }
   6763 
   6764   namespace test_lambdas
   6765   {
   6766 
   6767     void
   6768     test1()
   6769     {
   6770       auto lambda1 = [](){};
   6771       auto lambda2 = lambda1;
   6772       lambda1();
   6773       lambda2();
   6774     }
   6775 
   6776     int
   6777     test2()
   6778     {
   6779       auto a = [](int i, int j){ return i + j; }(1, 2);
   6780       auto b = []() -> int { return '0'; }();
   6781       auto c = [=](){ return a + b; }();
   6782       auto d = [&](){ return c; }();
   6783       auto e = [a, &b](int x) mutable {
   6784         const auto identity = [](int y){ return y; };
   6785         for (auto i = 0; i < a; ++i)
   6786           a += b--;
   6787         return x + identity(a + b);
   6788       }(0);
   6789       return a + b + c + d + e;
   6790     }
   6791 
   6792     int
   6793     test3()
   6794     {
   6795       const auto nullary = [](){ return 0; };
   6796       const auto unary = [](int x){ return x; };
   6797       using nullary_t = decltype(nullary);
   6798       using unary_t = decltype(unary);
   6799       const auto higher1st = [](nullary_t f){ return f(); };
   6800       const auto higher2nd = [unary](nullary_t f1){
   6801         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   6802       };
   6803       return higher1st(nullary) + higher2nd(nullary)(unary);
   6804     }
   6805 
   6806   }
   6807 
   6808   namespace test_variadic_templates
   6809   {
   6810 
   6811     template <int...>
   6812     struct sum;
   6813 
   6814     template <int N0, int... N1toN>
   6815     struct sum<N0, N1toN...>
   6816     {
   6817       static constexpr auto value = N0 + sum<N1toN...>::value;
   6818     };
   6819 
   6820     template <>
   6821     struct sum<>
   6822     {
   6823       static constexpr auto value = 0;
   6824     };
   6825 
   6826     static_assert(sum<>::value == 0, "");
   6827     static_assert(sum<1>::value == 1, "");
   6828     static_assert(sum<23>::value == 23, "");
   6829     static_assert(sum<1, 2>::value == 3, "");
   6830     static_assert(sum<5, 5, 11>::value == 21, "");
   6831     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   6832 
   6833   }
   6834 
   6835   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   6836   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   6837   // because of this.
   6838   namespace test_template_alias_sfinae
   6839   {
   6840 
   6841     struct foo {};
   6842 
   6843     template<typename T>
   6844     using member = typename T::member_type;
   6845 
   6846     template<typename T>
   6847     void func(...) {}
   6848 
   6849     template<typename T>
   6850     void func(member<T>*) {}
   6851 
   6852     void test();
   6853 
   6854     void test() { func<foo>(0); }
   6855 
   6856   }
   6857 
   6858 }  // namespace cxx11
   6859 
   6860 #endif  // __cplusplus >= 201103L
   6861 
   6862 
   6863 
   6864 _ACEOF
   6865 if ac_fn_cxx_try_compile "$LINENO"; then :
   6866   eval $cachevar=yes
   6867 else
   6868   eval $cachevar=no
   6869 fi
   6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6871            CXX="$ac_save_CXX"
   6872 fi
   6873 eval ac_res=\$$cachevar
   6874 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6875 $as_echo "$ac_res" >&6; }
   6876         if eval test x\$$cachevar = xyes; then
   6877           CXX="$CXX $switch"
   6878           if test -n "$CXXCPP" ; then
   6879             CXXCPP="$CXXCPP $switch"
   6880           fi
   6881           ac_success=yes
   6882           break
   6883         fi
   6884       done
   6885       if test x$ac_success = xyes; then
   6886         break
   6887       fi
   6888     done
   6889   fi
   6890 
   6891   ac_ext=c
   6892 ac_cpp='$CPP $CPPFLAGS'
   6893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6896 
   6897   if test x$ax_cxx_compile_cxx11_required = xtrue; then
   6898     if test x$ac_success = xno; then
   6899       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
   6900     fi
   6901   fi
   6902   if test x$ac_success = xno; then
   6903     HAVE_CXX11=0
   6904     { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
   6905 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
   6906   else
   6907     HAVE_CXX11=1
   6908 
   6909 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
   6910 
   6911   fi
   6912 
   6913 
   6914 
   6915   if test "${build}" != "${host}"; then
   6916       ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=true
   6917   ac_ext=cpp
   6918 ac_cpp='$CXXCPP $CPPFLAGS'
   6919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6922   ac_success=no
   6923       ax_cv_cxx_compile_cxx11_orig_cxx="$CXX"
   6924     ax_cv_cxx_compile_cxx11_orig_cxxflags="$CXXFLAGS"
   6925     ax_cv_cxx_compile_cxx11_orig_cppflags="$CPPFLAGS"
   6926     CXX="$CXX_FOR_BUILD"
   6927     CXXFLAGS="$CXXFLAGS_FOR_BUILD"
   6928     CPPFLAGS="$CPPFLAGS_FOR_BUILD"
   6929       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
   6930 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
   6931 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 
   6937 
   6938 // If the compiler admits that it is not ready for C++11, why torture it?
   6939 // Hopefully, this will speed up the test.
   6940 
   6941 #ifndef __cplusplus
   6942 
   6943 #error "This is not a C++ compiler"
   6944 
   6945 #elif __cplusplus < 201103L
   6946 
   6947 #error "This is not a C++11 compiler"
   6948 
   6949 #else
   6950 
   6951 namespace cxx11
   6952 {
   6953 
   6954   namespace test_static_assert
   6955   {
   6956 
   6957     template <typename T>
   6958     struct check
   6959     {
   6960       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   6961     };
   6962 
   6963   }
   6964 
   6965   namespace test_final_override
   6966   {
   6967 
   6968     struct Base
   6969     {
   6970       virtual ~Base() {}
   6971       virtual void f() {}
   6972     };
   6973 
   6974     struct Derived : public Base
   6975     {
   6976       virtual ~Derived() override {}
   6977       virtual void f() override {}
   6978     };
   6979 
   6980   }
   6981 
   6982   namespace test_double_right_angle_brackets
   6983   {
   6984 
   6985     template < typename T >
   6986     struct check {};
   6987 
   6988     typedef check<void> single_type;
   6989     typedef check<check<void>> double_type;
   6990     typedef check<check<check<void>>> triple_type;
   6991     typedef check<check<check<check<void>>>> quadruple_type;
   6992 
   6993   }
   6994 
   6995   namespace test_decltype
   6996   {
   6997 
   6998     int
   6999     f()
   7000     {
   7001       int a = 1;
   7002       decltype(a) b = 2;
   7003       return a + b;
   7004     }
   7005 
   7006   }
   7007 
   7008   namespace test_type_deduction
   7009   {
   7010 
   7011     template < typename T1, typename T2 >
   7012     struct is_same
   7013     {
   7014       static const bool value = false;
   7015     };
   7016 
   7017     template < typename T >
   7018     struct is_same<T, T>
   7019     {
   7020       static const bool value = true;
   7021     };
   7022 
   7023     template < typename T1, typename T2 >
   7024     auto
   7025     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   7026     {
   7027       return a1 + a2;
   7028     }
   7029 
   7030     int
   7031     test(const int c, volatile int v)
   7032     {
   7033       static_assert(is_same<int, decltype(0)>::value == true, "");
   7034       static_assert(is_same<int, decltype(c)>::value == false, "");
   7035       static_assert(is_same<int, decltype(v)>::value == false, "");
   7036       auto ac = c;
   7037       auto av = v;
   7038       auto sumi = ac + av + 'x';
   7039       auto sumf = ac + av + 1.0;
   7040       static_assert(is_same<int, decltype(ac)>::value == true, "");
   7041       static_assert(is_same<int, decltype(av)>::value == true, "");
   7042       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   7043       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   7044       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   7045       return (sumf > 0.0) ? sumi : add(c, v);
   7046     }
   7047 
   7048   }
   7049 
   7050   namespace test_noexcept
   7051   {
   7052 
   7053     int f() { return 0; }
   7054     int g() noexcept { return 0; }
   7055 
   7056     static_assert(noexcept(f()) == false, "");
   7057     static_assert(noexcept(g()) == true, "");
   7058 
   7059   }
   7060 
   7061   namespace test_constexpr
   7062   {
   7063 
   7064     template < typename CharT >
   7065     unsigned long constexpr
   7066     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   7067     {
   7068       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   7069     }
   7070 
   7071     template < typename CharT >
   7072     unsigned long constexpr
   7073     strlen_c(const CharT *const s) noexcept
   7074     {
   7075       return strlen_c_r(s, 0UL);
   7076     }
   7077 
   7078     static_assert(strlen_c("") == 0UL, "");
   7079     static_assert(strlen_c("1") == 1UL, "");
   7080     static_assert(strlen_c("example") == 7UL, "");
   7081     static_assert(strlen_c("another\0example") == 7UL, "");
   7082 
   7083   }
   7084 
   7085   namespace test_rvalue_references
   7086   {
   7087 
   7088     template < int N >
   7089     struct answer
   7090     {
   7091       static constexpr int value = N;
   7092     };
   7093 
   7094     answer<1> f(int&)       { return answer<1>(); }
   7095     answer<2> f(const int&) { return answer<2>(); }
   7096     answer<3> f(int&&)      { return answer<3>(); }
   7097 
   7098     void
   7099     test()
   7100     {
   7101       int i = 0;
   7102       const int c = 0;
   7103       static_assert(decltype(f(i))::value == 1, "");
   7104       static_assert(decltype(f(c))::value == 2, "");
   7105       static_assert(decltype(f(0))::value == 3, "");
   7106     }
   7107 
   7108   }
   7109 
   7110   namespace test_uniform_initialization
   7111   {
   7112 
   7113     struct test
   7114     {
   7115       static const int zero {};
   7116       static const int one {1};
   7117     };
   7118 
   7119     static_assert(test::zero == 0, "");
   7120     static_assert(test::one == 1, "");
   7121 
   7122   }
   7123 
   7124   namespace test_lambdas
   7125   {
   7126 
   7127     void
   7128     test1()
   7129     {
   7130       auto lambda1 = [](){};
   7131       auto lambda2 = lambda1;
   7132       lambda1();
   7133       lambda2();
   7134     }
   7135 
   7136     int
   7137     test2()
   7138     {
   7139       auto a = [](int i, int j){ return i + j; }(1, 2);
   7140       auto b = []() -> int { return '0'; }();
   7141       auto c = [=](){ return a + b; }();
   7142       auto d = [&](){ return c; }();
   7143       auto e = [a, &b](int x) mutable {
   7144         const auto identity = [](int y){ return y; };
   7145         for (auto i = 0; i < a; ++i)
   7146           a += b--;
   7147         return x + identity(a + b);
   7148       }(0);
   7149       return a + b + c + d + e;
   7150     }
   7151 
   7152     int
   7153     test3()
   7154     {
   7155       const auto nullary = [](){ return 0; };
   7156       const auto unary = [](int x){ return x; };
   7157       using nullary_t = decltype(nullary);
   7158       using unary_t = decltype(unary);
   7159       const auto higher1st = [](nullary_t f){ return f(); };
   7160       const auto higher2nd = [unary](nullary_t f1){
   7161         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   7162       };
   7163       return higher1st(nullary) + higher2nd(nullary)(unary);
   7164     }
   7165 
   7166   }
   7167 
   7168   namespace test_variadic_templates
   7169   {
   7170 
   7171     template <int...>
   7172     struct sum;
   7173 
   7174     template <int N0, int... N1toN>
   7175     struct sum<N0, N1toN...>
   7176     {
   7177       static constexpr auto value = N0 + sum<N1toN...>::value;
   7178     };
   7179 
   7180     template <>
   7181     struct sum<>
   7182     {
   7183       static constexpr auto value = 0;
   7184     };
   7185 
   7186     static_assert(sum<>::value == 0, "");
   7187     static_assert(sum<1>::value == 1, "");
   7188     static_assert(sum<23>::value == 23, "");
   7189     static_assert(sum<1, 2>::value == 3, "");
   7190     static_assert(sum<5, 5, 11>::value == 21, "");
   7191     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   7192 
   7193   }
   7194 
   7195   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   7196   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   7197   // because of this.
   7198   namespace test_template_alias_sfinae
   7199   {
   7200 
   7201     struct foo {};
   7202 
   7203     template<typename T>
   7204     using member = typename T::member_type;
   7205 
   7206     template<typename T>
   7207     void func(...) {}
   7208 
   7209     template<typename T>
   7210     void func(member<T>*) {}
   7211 
   7212     void test();
   7213 
   7214     void test() { func<foo>(0); }
   7215 
   7216   }
   7217 
   7218 }  // namespace cxx11
   7219 
   7220 #endif  // __cplusplus >= 201103L
   7221 
   7222 
   7223 
   7224 _ACEOF
   7225 if ac_fn_cxx_try_compile "$LINENO"; then :
   7226   ax_cv_cxx_compile_cxx11_FOR_BUILD=yes
   7227 else
   7228   ax_cv_cxx_compile_cxx11_FOR_BUILD=no
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7231 fi
   7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
   7233 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
   7234     if test x$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes; then
   7235       ac_success=yes
   7236     fi
   7237 
   7238     if test x$ac_success = xno; then
   7239     for alternative in ${ax_cxx_compile_alternatives}; do
   7240       switch="-std=gnu++${alternative}"
   7241       cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
   7242       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   7243 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
   7244 if eval \${$cachevar+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   ac_save_CXX="$CXX"
   7248          CXX="$CXX $switch"
   7249          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7250 /* end confdefs.h.  */
   7251 
   7252 
   7253 // If the compiler admits that it is not ready for C++11, why torture it?
   7254 // Hopefully, this will speed up the test.
   7255 
   7256 #ifndef __cplusplus
   7257 
   7258 #error "This is not a C++ compiler"
   7259 
   7260 #elif __cplusplus < 201103L
   7261 
   7262 #error "This is not a C++11 compiler"
   7263 
   7264 #else
   7265 
   7266 namespace cxx11
   7267 {
   7268 
   7269   namespace test_static_assert
   7270   {
   7271 
   7272     template <typename T>
   7273     struct check
   7274     {
   7275       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   7276     };
   7277 
   7278   }
   7279 
   7280   namespace test_final_override
   7281   {
   7282 
   7283     struct Base
   7284     {
   7285       virtual ~Base() {}
   7286       virtual void f() {}
   7287     };
   7288 
   7289     struct Derived : public Base
   7290     {
   7291       virtual ~Derived() override {}
   7292       virtual void f() override {}
   7293     };
   7294 
   7295   }
   7296 
   7297   namespace test_double_right_angle_brackets
   7298   {
   7299 
   7300     template < typename T >
   7301     struct check {};
   7302 
   7303     typedef check<void> single_type;
   7304     typedef check<check<void>> double_type;
   7305     typedef check<check<check<void>>> triple_type;
   7306     typedef check<check<check<check<void>>>> quadruple_type;
   7307 
   7308   }
   7309 
   7310   namespace test_decltype
   7311   {
   7312 
   7313     int
   7314     f()
   7315     {
   7316       int a = 1;
   7317       decltype(a) b = 2;
   7318       return a + b;
   7319     }
   7320 
   7321   }
   7322 
   7323   namespace test_type_deduction
   7324   {
   7325 
   7326     template < typename T1, typename T2 >
   7327     struct is_same
   7328     {
   7329       static const bool value = false;
   7330     };
   7331 
   7332     template < typename T >
   7333     struct is_same<T, T>
   7334     {
   7335       static const bool value = true;
   7336     };
   7337 
   7338     template < typename T1, typename T2 >
   7339     auto
   7340     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   7341     {
   7342       return a1 + a2;
   7343     }
   7344 
   7345     int
   7346     test(const int c, volatile int v)
   7347     {
   7348       static_assert(is_same<int, decltype(0)>::value == true, "");
   7349       static_assert(is_same<int, decltype(c)>::value == false, "");
   7350       static_assert(is_same<int, decltype(v)>::value == false, "");
   7351       auto ac = c;
   7352       auto av = v;
   7353       auto sumi = ac + av + 'x';
   7354       auto sumf = ac + av + 1.0;
   7355       static_assert(is_same<int, decltype(ac)>::value == true, "");
   7356       static_assert(is_same<int, decltype(av)>::value == true, "");
   7357       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   7358       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   7359       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   7360       return (sumf > 0.0) ? sumi : add(c, v);
   7361     }
   7362 
   7363   }
   7364 
   7365   namespace test_noexcept
   7366   {
   7367 
   7368     int f() { return 0; }
   7369     int g() noexcept { return 0; }
   7370 
   7371     static_assert(noexcept(f()) == false, "");
   7372     static_assert(noexcept(g()) == true, "");
   7373 
   7374   }
   7375 
   7376   namespace test_constexpr
   7377   {
   7378 
   7379     template < typename CharT >
   7380     unsigned long constexpr
   7381     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   7382     {
   7383       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   7384     }
   7385 
   7386     template < typename CharT >
   7387     unsigned long constexpr
   7388     strlen_c(const CharT *const s) noexcept
   7389     {
   7390       return strlen_c_r(s, 0UL);
   7391     }
   7392 
   7393     static_assert(strlen_c("") == 0UL, "");
   7394     static_assert(strlen_c("1") == 1UL, "");
   7395     static_assert(strlen_c("example") == 7UL, "");
   7396     static_assert(strlen_c("another\0example") == 7UL, "");
   7397 
   7398   }
   7399 
   7400   namespace test_rvalue_references
   7401   {
   7402 
   7403     template < int N >
   7404     struct answer
   7405     {
   7406       static constexpr int value = N;
   7407     };
   7408 
   7409     answer<1> f(int&)       { return answer<1>(); }
   7410     answer<2> f(const int&) { return answer<2>(); }
   7411     answer<3> f(int&&)      { return answer<3>(); }
   7412 
   7413     void
   7414     test()
   7415     {
   7416       int i = 0;
   7417       const int c = 0;
   7418       static_assert(decltype(f(i))::value == 1, "");
   7419       static_assert(decltype(f(c))::value == 2, "");
   7420       static_assert(decltype(f(0))::value == 3, "");
   7421     }
   7422 
   7423   }
   7424 
   7425   namespace test_uniform_initialization
   7426   {
   7427 
   7428     struct test
   7429     {
   7430       static const int zero {};
   7431       static const int one {1};
   7432     };
   7433 
   7434     static_assert(test::zero == 0, "");
   7435     static_assert(test::one == 1, "");
   7436 
   7437   }
   7438 
   7439   namespace test_lambdas
   7440   {
   7441 
   7442     void
   7443     test1()
   7444     {
   7445       auto lambda1 = [](){};
   7446       auto lambda2 = lambda1;
   7447       lambda1();
   7448       lambda2();
   7449     }
   7450 
   7451     int
   7452     test2()
   7453     {
   7454       auto a = [](int i, int j){ return i + j; }(1, 2);
   7455       auto b = []() -> int { return '0'; }();
   7456       auto c = [=](){ return a + b; }();
   7457       auto d = [&](){ return c; }();
   7458       auto e = [a, &b](int x) mutable {
   7459         const auto identity = [](int y){ return y; };
   7460         for (auto i = 0; i < a; ++i)
   7461           a += b--;
   7462         return x + identity(a + b);
   7463       }(0);
   7464       return a + b + c + d + e;
   7465     }
   7466 
   7467     int
   7468     test3()
   7469     {
   7470       const auto nullary = [](){ return 0; };
   7471       const auto unary = [](int x){ return x; };
   7472       using nullary_t = decltype(nullary);
   7473       using unary_t = decltype(unary);
   7474       const auto higher1st = [](nullary_t f){ return f(); };
   7475       const auto higher2nd = [unary](nullary_t f1){
   7476         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   7477       };
   7478       return higher1st(nullary) + higher2nd(nullary)(unary);
   7479     }
   7480 
   7481   }
   7482 
   7483   namespace test_variadic_templates
   7484   {
   7485 
   7486     template <int...>
   7487     struct sum;
   7488 
   7489     template <int N0, int... N1toN>
   7490     struct sum<N0, N1toN...>
   7491     {
   7492       static constexpr auto value = N0 + sum<N1toN...>::value;
   7493     };
   7494 
   7495     template <>
   7496     struct sum<>
   7497     {
   7498       static constexpr auto value = 0;
   7499     };
   7500 
   7501     static_assert(sum<>::value == 0, "");
   7502     static_assert(sum<1>::value == 1, "");
   7503     static_assert(sum<23>::value == 23, "");
   7504     static_assert(sum<1, 2>::value == 3, "");
   7505     static_assert(sum<5, 5, 11>::value == 21, "");
   7506     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   7507 
   7508   }
   7509 
   7510   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   7511   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   7512   // because of this.
   7513   namespace test_template_alias_sfinae
   7514   {
   7515 
   7516     struct foo {};
   7517 
   7518     template<typename T>
   7519     using member = typename T::member_type;
   7520 
   7521     template<typename T>
   7522     void func(...) {}
   7523 
   7524     template<typename T>
   7525     void func(member<T>*) {}
   7526 
   7527     void test();
   7528 
   7529     void test() { func<foo>(0); }
   7530 
   7531   }
   7532 
   7533 }  // namespace cxx11
   7534 
   7535 #endif  // __cplusplus >= 201103L
   7536 
   7537 
   7538 
   7539 _ACEOF
   7540 if ac_fn_cxx_try_compile "$LINENO"; then :
   7541   eval $cachevar=yes
   7542 else
   7543   eval $cachevar=no
   7544 fi
   7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7546          CXX="$ac_save_CXX"
   7547 fi
   7548 eval ac_res=\$$cachevar
   7549 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7550 $as_echo "$ac_res" >&6; }
   7551       if eval test x\$$cachevar = xyes; then
   7552         CXX="$CXX $switch"
   7553         if test -n "$CXXCPP" ; then
   7554           CXXCPP="$CXXCPP $switch"
   7555         fi
   7556         ac_success=yes
   7557         break
   7558       fi
   7559     done
   7560   fi
   7561 
   7562     if test x$ac_success = xno; then
   7563                 for alternative in ${ax_cxx_compile_alternatives}; do
   7564       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
   7565         cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
   7566         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   7567 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
   7568 if eval \${$cachevar+:} false; then :
   7569   $as_echo_n "(cached) " >&6
   7570 else
   7571   ac_save_CXX="$CXX"
   7572            CXX="$CXX $switch"
   7573            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 
   7576 
   7577 // If the compiler admits that it is not ready for C++11, why torture it?
   7578 // Hopefully, this will speed up the test.
   7579 
   7580 #ifndef __cplusplus
   7581 
   7582 #error "This is not a C++ compiler"
   7583 
   7584 #elif __cplusplus < 201103L
   7585 
   7586 #error "This is not a C++11 compiler"
   7587 
   7588 #else
   7589 
   7590 namespace cxx11
   7591 {
   7592 
   7593   namespace test_static_assert
   7594   {
   7595 
   7596     template <typename T>
   7597     struct check
   7598     {
   7599       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   7600     };
   7601 
   7602   }
   7603 
   7604   namespace test_final_override
   7605   {
   7606 
   7607     struct Base
   7608     {
   7609       virtual ~Base() {}
   7610       virtual void f() {}
   7611     };
   7612 
   7613     struct Derived : public Base
   7614     {
   7615       virtual ~Derived() override {}
   7616       virtual void f() override {}
   7617     };
   7618 
   7619   }
   7620 
   7621   namespace test_double_right_angle_brackets
   7622   {
   7623 
   7624     template < typename T >
   7625     struct check {};
   7626 
   7627     typedef check<void> single_type;
   7628     typedef check<check<void>> double_type;
   7629     typedef check<check<check<void>>> triple_type;
   7630     typedef check<check<check<check<void>>>> quadruple_type;
   7631 
   7632   }
   7633 
   7634   namespace test_decltype
   7635   {
   7636 
   7637     int
   7638     f()
   7639     {
   7640       int a = 1;
   7641       decltype(a) b = 2;
   7642       return a + b;
   7643     }
   7644 
   7645   }
   7646 
   7647   namespace test_type_deduction
   7648   {
   7649 
   7650     template < typename T1, typename T2 >
   7651     struct is_same
   7652     {
   7653       static const bool value = false;
   7654     };
   7655 
   7656     template < typename T >
   7657     struct is_same<T, T>
   7658     {
   7659       static const bool value = true;
   7660     };
   7661 
   7662     template < typename T1, typename T2 >
   7663     auto
   7664     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   7665     {
   7666       return a1 + a2;
   7667     }
   7668 
   7669     int
   7670     test(const int c, volatile int v)
   7671     {
   7672       static_assert(is_same<int, decltype(0)>::value == true, "");
   7673       static_assert(is_same<int, decltype(c)>::value == false, "");
   7674       static_assert(is_same<int, decltype(v)>::value == false, "");
   7675       auto ac = c;
   7676       auto av = v;
   7677       auto sumi = ac + av + 'x';
   7678       auto sumf = ac + av + 1.0;
   7679       static_assert(is_same<int, decltype(ac)>::value == true, "");
   7680       static_assert(is_same<int, decltype(av)>::value == true, "");
   7681       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   7682       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   7683       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   7684       return (sumf > 0.0) ? sumi : add(c, v);
   7685     }
   7686 
   7687   }
   7688 
   7689   namespace test_noexcept
   7690   {
   7691 
   7692     int f() { return 0; }
   7693     int g() noexcept { return 0; }
   7694 
   7695     static_assert(noexcept(f()) == false, "");
   7696     static_assert(noexcept(g()) == true, "");
   7697 
   7698   }
   7699 
   7700   namespace test_constexpr
   7701   {
   7702 
   7703     template < typename CharT >
   7704     unsigned long constexpr
   7705     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   7706     {
   7707       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   7708     }
   7709 
   7710     template < typename CharT >
   7711     unsigned long constexpr
   7712     strlen_c(const CharT *const s) noexcept
   7713     {
   7714       return strlen_c_r(s, 0UL);
   7715     }
   7716 
   7717     static_assert(strlen_c("") == 0UL, "");
   7718     static_assert(strlen_c("1") == 1UL, "");
   7719     static_assert(strlen_c("example") == 7UL, "");
   7720     static_assert(strlen_c("another\0example") == 7UL, "");
   7721 
   7722   }
   7723 
   7724   namespace test_rvalue_references
   7725   {
   7726 
   7727     template < int N >
   7728     struct answer
   7729     {
   7730       static constexpr int value = N;
   7731     };
   7732 
   7733     answer<1> f(int&)       { return answer<1>(); }
   7734     answer<2> f(const int&) { return answer<2>(); }
   7735     answer<3> f(int&&)      { return answer<3>(); }
   7736 
   7737     void
   7738     test()
   7739     {
   7740       int i = 0;
   7741       const int c = 0;
   7742       static_assert(decltype(f(i))::value == 1, "");
   7743       static_assert(decltype(f(c))::value == 2, "");
   7744       static_assert(decltype(f(0))::value == 3, "");
   7745     }
   7746 
   7747   }
   7748 
   7749   namespace test_uniform_initialization
   7750   {
   7751 
   7752     struct test
   7753     {
   7754       static const int zero {};
   7755       static const int one {1};
   7756     };
   7757 
   7758     static_assert(test::zero == 0, "");
   7759     static_assert(test::one == 1, "");
   7760 
   7761   }
   7762 
   7763   namespace test_lambdas
   7764   {
   7765 
   7766     void
   7767     test1()
   7768     {
   7769       auto lambda1 = [](){};
   7770       auto lambda2 = lambda1;
   7771       lambda1();
   7772       lambda2();
   7773     }
   7774 
   7775     int
   7776     test2()
   7777     {
   7778       auto a = [](int i, int j){ return i + j; }(1, 2);
   7779       auto b = []() -> int { return '0'; }();
   7780       auto c = [=](){ return a + b; }();
   7781       auto d = [&](){ return c; }();
   7782       auto e = [a, &b](int x) mutable {
   7783         const auto identity = [](int y){ return y; };
   7784         for (auto i = 0; i < a; ++i)
   7785           a += b--;
   7786         return x + identity(a + b);
   7787       }(0);
   7788       return a + b + c + d + e;
   7789     }
   7790 
   7791     int
   7792     test3()
   7793     {
   7794       const auto nullary = [](){ return 0; };
   7795       const auto unary = [](int x){ return x; };
   7796       using nullary_t = decltype(nullary);
   7797       using unary_t = decltype(unary);
   7798       const auto higher1st = [](nullary_t f){ return f(); };
   7799       const auto higher2nd = [unary](nullary_t f1){
   7800         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   7801       };
   7802       return higher1st(nullary) + higher2nd(nullary)(unary);
   7803     }
   7804 
   7805   }
   7806 
   7807   namespace test_variadic_templates
   7808   {
   7809 
   7810     template <int...>
   7811     struct sum;
   7812 
   7813     template <int N0, int... N1toN>
   7814     struct sum<N0, N1toN...>
   7815     {
   7816       static constexpr auto value = N0 + sum<N1toN...>::value;
   7817     };
   7818 
   7819     template <>
   7820     struct sum<>
   7821     {
   7822       static constexpr auto value = 0;
   7823     };
   7824 
   7825     static_assert(sum<>::value == 0, "");
   7826     static_assert(sum<1>::value == 1, "");
   7827     static_assert(sum<23>::value == 23, "");
   7828     static_assert(sum<1, 2>::value == 3, "");
   7829     static_assert(sum<5, 5, 11>::value == 21, "");
   7830     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   7831 
   7832   }
   7833 
   7834   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   7835   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   7836   // because of this.
   7837   namespace test_template_alias_sfinae
   7838   {
   7839 
   7840     struct foo {};
   7841 
   7842     template<typename T>
   7843     using member = typename T::member_type;
   7844 
   7845     template<typename T>
   7846     void func(...) {}
   7847 
   7848     template<typename T>
   7849     void func(member<T>*) {}
   7850 
   7851     void test();
   7852 
   7853     void test() { func<foo>(0); }
   7854 
   7855   }
   7856 
   7857 }  // namespace cxx11
   7858 
   7859 #endif  // __cplusplus >= 201103L
   7860 
   7861 
   7862 
   7863 _ACEOF
   7864 if ac_fn_cxx_try_compile "$LINENO"; then :
   7865   eval $cachevar=yes
   7866 else
   7867   eval $cachevar=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7870            CXX="$ac_save_CXX"
   7871 fi
   7872 eval ac_res=\$$cachevar
   7873 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7874 $as_echo "$ac_res" >&6; }
   7875         if eval test x\$$cachevar = xyes; then
   7876           CXX="$CXX $switch"
   7877           if test -n "$CXXCPP" ; then
   7878             CXXCPP="$CXXCPP $switch"
   7879           fi
   7880           ac_success=yes
   7881           break
   7882         fi
   7883       done
   7884       if test x$ac_success = xyes; then
   7885         break
   7886       fi
   7887     done
   7888   fi
   7889       CXX_FOR_BUILD="$CXX"
   7890     CXXFLAGS_FOR_BUILD="$CXXFLAGS"
   7891     CPPFLAGS_FOR_BUILD="$CPPFLAGS"
   7892     CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
   7893     CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
   7894     CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
   7895   ac_ext=c
   7896 ac_cpp='$CPP $CPPFLAGS'
   7897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7900 
   7901   if test x$ax_cxx_compile_cxx11_required = xtrue; then
   7902     if test x$ac_success = xno; then
   7903       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
   7904     fi
   7905   fi
   7906   if test x$ac_success = xno; then
   7907     HAVE_CXX11_FOR_BUILD=0
   7908     { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
   7909 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
   7910   else
   7911     HAVE_CXX11_FOR_BUILD=1
   7912 
   7913 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
   7914 
   7915   fi
   7916 
   7917 
   7918   fi
   7919 fi
   7920 
   7921 # Check whether --enable-pgo-build was given.
   7922 if test "${enable_pgo_build+set}" = set; then :
   7923   enableval=$enable_pgo_build; enable_pgo_build=$enableval
   7924 else
   7925   enable_pgo_build=no
   7926 fi
   7927 
   7928 
   7929 # Issue errors and warnings for invalid/strange PGO build combinations.
   7930 case "$have_compiler:$host:$target:$enable_pgo_build" in
   7931   *:*:*:no) ;;
   7932 
   7933   # Allow the PGO build only if we aren't building a compiler and
   7934   # we are in a native configuration.
   7935   no:$build:$build:yes | no:$build:$build:lto) ;;
   7936 
   7937   # Disallow the PGO bootstrap if we are building a compiler.
   7938   yes:*:*:yes | yes:*:*:lto)
   7939     as_fn_error $? "cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
   7940 
   7941   *)
   7942     as_fn_error $? "invalid option for --enable-pgo-build" "$LINENO" 5
   7943     ;;
   7944 esac
   7945 
   7946 if test "$enable_pgo_build" != "no"; then
   7947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
   7948 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
   7949   old_CFLAGS="$CFLAGS"
   7950   PGO_BUILD_GEN_CFLAGS="-fprofile-generate"
   7951   CFLAGS="$CFLAGS $PGO_BUILD_CFLAGS"
   7952 
   7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7954 /* end confdefs.h.  */
   7955 int foo;
   7956 _ACEOF
   7957 if ac_fn_c_try_compile "$LINENO"; then :
   7958 
   7959 else
   7960   PGO_BUILD_GEN_CFLAGS=
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7963   CFLAGS="$old_CFLAGS"
   7964   if test -n "$PGO_BUILD_GEN_CFLAGS"; then
   7965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7966 $as_echo "yes" >&6; }
   7967     PGO_BUILD_USE_CFLAGS="-fprofile-use"
   7968   else
   7969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7970 $as_echo "no" >&6; }
   7971     as_fn_error $? "cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
   7972   fi
   7973 
   7974   if test "$enable_pgo_build" = "lto"; then
   7975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
   7976 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
   7977     old_CFLAGS="$CFLAGS"
   7978     PGO_BUILD_LTO_CFLAGS="-flto=jobserver -ffat-lto-objects"
   7979     CFLAGS="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
   7980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int foo;
   7983 _ACEOF
   7984 if ac_fn_c_try_compile "$LINENO"; then :
   7985 
   7986 else
   7987   PGO_BUILD_LTO_CFLAGS=
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7990     CFLAGS="$old_CFLAGS"
   7991     if test -n "$PGO_BUILD_LTO_CFLAGS"; then
   7992       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7993 $as_echo "yes" >&6; }
   7994     else
   7995       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7996 $as_echo "no" >&6; }
   7997       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
   7998 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
   7999     fi
   8000   fi
   8001 fi
   8002 
   8003 
   8004 
   8005 
   8006 # Used for setting $lt_cv_objdir
   8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8008 $as_echo_n "checking for objdir... " >&6; }
   8009 if ${lt_cv_objdir+:} false; then :
   8010   $as_echo_n "(cached) " >&6
   8011 else
   8012   rm -f .libs 2>/dev/null
   8013 mkdir .libs 2>/dev/null
   8014 if test -d .libs; then
   8015   lt_cv_objdir=.libs
   8016 else
   8017   # MS-DOS does not allow filenames that begin with a dot.
   8018   lt_cv_objdir=_libs
   8019 fi
   8020 rmdir .libs 2>/dev/null
   8021 fi
   8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8023 $as_echo "$lt_cv_objdir" >&6; }
   8024 objdir=$lt_cv_objdir
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 cat >>confdefs.h <<_ACEOF
   8031 #define LT_OBJDIR "$lt_cv_objdir/"
   8032 _ACEOF
   8033 
   8034 
   8035 
   8036 # Check for GMP, MPFR and MPC
   8037 require_gmp=no
   8038 require_mpc=no
   8039 if test -d ${srcdir}/gcc ; then
   8040   require_gmp=yes
   8041   require_mpc=yes
   8042 fi
   8043 if test -d ${srcdir}/gdb ; then
   8044   if test "x$enable_gdb" != xno; then
   8045    require_gmp=yes
   8046   fi
   8047 fi
   8048 
   8049 gmplibs="-lmpfr -lgmp"
   8050 if test x"$require_mpc" = "xyes" ; then
   8051   gmplibs="-lmpc $gmplibs"
   8052 fi
   8053 gmpinc=
   8054 have_gmp=no
   8055 
   8056 # Specify a location for mpc
   8057 # check for this first so it ends up on the link line before mpfr.
   8058 
   8059 # Check whether --with-mpc was given.
   8060 if test "${with_mpc+set}" = set; then :
   8061   withval=$with_mpc;
   8062 fi
   8063 
   8064 
   8065 # Check whether --with-mpc-include was given.
   8066 if test "${with_mpc_include+set}" = set; then :
   8067   withval=$with_mpc_include;
   8068 fi
   8069 
   8070 
   8071 # Check whether --with-mpc-lib was given.
   8072 if test "${with_mpc_lib+set}" = set; then :
   8073   withval=$with_mpc_lib;
   8074 fi
   8075 
   8076 
   8077 if test "x$with_mpc" != x; then
   8078   gmplibs="-L$with_mpc/lib $gmplibs"
   8079   gmpinc="-I$with_mpc/include $gmpinc"
   8080 fi
   8081 if test "x$with_mpc_include" != x; then
   8082   gmpinc="-I$with_mpc_include $gmpinc"
   8083 fi
   8084 if test "x$with_mpc_lib" != x; then
   8085   gmplibs="-L$with_mpc_lib $gmplibs"
   8086 fi
   8087 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
   8088   gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
   8089   gmpinc='-I$$s/mpc/src '"$gmpinc"
   8090   # Do not test the mpc version.  Assume that it is sufficient, since
   8091   # it is in the source tree, and the library has not been built yet
   8092   # but it would be included on the link line in the version check below
   8093   # hence making the test fail.
   8094   have_gmp=yes
   8095 fi
   8096 
   8097 # Specify a location for mpfr
   8098 # check for this first so it ends up on the link line before gmp.
   8099 
   8100 # Check whether --with-mpfr was given.
   8101 if test "${with_mpfr+set}" = set; then :
   8102   withval=$with_mpfr;
   8103 fi
   8104 
   8105 
   8106 # Check whether --with-mpfr-include was given.
   8107 if test "${with_mpfr_include+set}" = set; then :
   8108   withval=$with_mpfr_include;
   8109 fi
   8110 
   8111 
   8112 # Check whether --with-mpfr-lib was given.
   8113 if test "${with_mpfr_lib+set}" = set; then :
   8114   withval=$with_mpfr_lib;
   8115 fi
   8116 
   8117 
   8118 if test "x$with_mpfr" != x; then
   8119   gmplibs="-L$with_mpfr/lib $gmplibs"
   8120   gmpinc="-I$with_mpfr/include $gmpinc"
   8121 fi
   8122 if test "x$with_mpfr_include" != x; then
   8123   gmpinc="-I$with_mpfr_include $gmpinc"
   8124 fi
   8125 if test "x$with_mpfr_lib" != x; then
   8126   gmplibs="-L$with_mpfr_lib $gmplibs"
   8127 fi
   8128 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
   8129   # MPFR v3.1.0 moved the sources into a src sub-directory.
   8130   if ! test -d ${srcdir}/mpfr/src; then
   8131     as_fn_error $? "Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
   8132   fi
   8133   gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
   8134   gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
   8135   extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
   8136   # Do not test the mpfr version.  Assume that it is sufficient, since
   8137   # it is in the source tree, and the library has not been built yet
   8138   # but it would be included on the link line in the version check below
   8139   # hence making the test fail.
   8140   have_gmp=yes
   8141 fi
   8142 
   8143 # Specify a location for gmp
   8144 
   8145 # Check whether --with-gmp was given.
   8146 if test "${with_gmp+set}" = set; then :
   8147   withval=$with_gmp;
   8148 fi
   8149 
   8150 
   8151 # Check whether --with-gmp-include was given.
   8152 if test "${with_gmp_include+set}" = set; then :
   8153   withval=$with_gmp_include;
   8154 fi
   8155 
   8156 
   8157 # Check whether --with-gmp-lib was given.
   8158 if test "${with_gmp_lib+set}" = set; then :
   8159   withval=$with_gmp_lib;
   8160 fi
   8161 
   8162 
   8163 
   8164 if test "x$with_gmp" != x; then
   8165   gmplibs="-L$with_gmp/lib $gmplibs"
   8166   gmpinc="-I$with_gmp/include $gmpinc"
   8167 fi
   8168 if test "x$with_gmp_include" != x; then
   8169   gmpinc="-I$with_gmp_include $gmpinc"
   8170 fi
   8171 if test "x$with_gmp_lib" != x; then
   8172   gmplibs="-L$with_gmp_lib $gmplibs"
   8173 fi
   8174 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
   8175   gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
   8176   gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
   8177   extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   8178   extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
   8179   extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
   8180   # Do not test the gmp version.  Assume that it is sufficient, since
   8181   # it is in the source tree, and the library has not been built yet
   8182   # but it would be included on the link line in the version check below
   8183   # hence making the test fail.
   8184   have_gmp=yes
   8185 fi
   8186 
   8187 if test "x$require_gmp" = xyes && test "x$have_gmp" = xno; then
   8188   have_gmp=yes
   8189   saved_CFLAGS="$CFLAGS"
   8190   CFLAGS="$CFLAGS $gmpinc"
   8191   # Check for the recommended and required versions of GMP.
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
   8193 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
   8194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8195 /* end confdefs.h.  */
   8196 #include "gmp.h"
   8197 int
   8198 main ()
   8199 {
   8200 
   8201   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   8202   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   8203   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
   8204   choke me
   8205   #endif
   8206 
   8207   ;
   8208   return 0;
   8209 }
   8210 _ACEOF
   8211 if ac_fn_c_try_compile "$LINENO"; then :
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 #include <gmp.h>
   8215 int
   8216 main ()
   8217 {
   8218 
   8219   #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
   8220   #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
   8221   #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
   8222   choke me
   8223   #endif
   8224 
   8225   ;
   8226   return 0;
   8227 }
   8228 _ACEOF
   8229 if ac_fn_c_try_compile "$LINENO"; then :
   8230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8231 $as_echo "yes" >&6; }
   8232 else
   8233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   8234 $as_echo "buggy but acceptable" >&6; }
   8235 fi
   8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8237 else
   8238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8239 $as_echo "no" >&6; }; have_gmp=no
   8240 fi
   8241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8242 
   8243   # If we have GMP, check the MPFR version.
   8244   if test x"$have_gmp" = xyes; then
   8245     # Check for the recommended and required versions of MPFR.
   8246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
   8247 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
   8248     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8249 /* end confdefs.h.  */
   8250 #include <gmp.h>
   8251     #include <mpfr.h>
   8252 int
   8253 main ()
   8254 {
   8255 
   8256     #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
   8257     choke me
   8258     #endif
   8259 
   8260   ;
   8261   return 0;
   8262 }
   8263 _ACEOF
   8264 if ac_fn_c_try_compile "$LINENO"; then :
   8265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8266 /* end confdefs.h.  */
   8267 #include <gmp.h>
   8268     #include <mpfr.h>
   8269 int
   8270 main ()
   8271 {
   8272 
   8273     #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
   8274     choke me
   8275     #endif
   8276 
   8277   ;
   8278   return 0;
   8279 }
   8280 _ACEOF
   8281 if ac_fn_c_try_compile "$LINENO"; then :
   8282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8283 $as_echo "yes" >&6; }
   8284 else
   8285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   8286 $as_echo "buggy but acceptable" >&6; }
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8289 else
   8290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8291 $as_echo "no" >&6; }; have_gmp=no
   8292 fi
   8293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8294   fi
   8295 
   8296   # Check for the MPC header version.
   8297   if test "x$require_mpc" = xyes && test x"$have_gmp" = xyes ; then
   8298     # Check for the recommended and required versions of MPC.
   8299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
   8300 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
   8301     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8302 /* end confdefs.h.  */
   8303 #include <mpc.h>
   8304 int
   8305 main ()
   8306 {
   8307 
   8308     #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
   8309     choke me
   8310     #endif
   8311 
   8312   ;
   8313   return 0;
   8314 }
   8315 _ACEOF
   8316 if ac_fn_c_try_compile "$LINENO"; then :
   8317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8318 /* end confdefs.h.  */
   8319 #include <mpc.h>
   8320 int
   8321 main ()
   8322 {
   8323 
   8324     #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
   8325     choke me
   8326     #endif
   8327 
   8328   ;
   8329   return 0;
   8330 }
   8331 _ACEOF
   8332 if ac_fn_c_try_compile "$LINENO"; then :
   8333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8334 $as_echo "yes" >&6; }
   8335 else
   8336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
   8337 $as_echo "buggy but acceptable" >&6; }
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8340 else
   8341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8342 $as_echo "no" >&6; }; have_gmp=no
   8343 fi
   8344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8345   fi
   8346 
   8347   # Now check the MPFR library.
   8348   if test x"$have_gmp" = xyes; then
   8349     saved_LIBS="$LIBS"
   8350     LIBS="$LIBS $gmplibs"
   8351     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
   8352 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
   8353     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8354 /* end confdefs.h.  */
   8355 #include <mpfr.h>
   8356 int
   8357 main ()
   8358 {
   8359 
   8360     mpfr_t n;
   8361     mpfr_t x;
   8362     int t;
   8363     mpfr_init (n);
   8364     mpfr_init (x);
   8365     mpfr_atan2 (n, n, x, MPFR_RNDN);
   8366     mpfr_erfc (n, x, MPFR_RNDN);
   8367     mpfr_subnormalize (x, t, MPFR_RNDN);
   8368     mpfr_clear(n);
   8369     mpfr_clear(x);
   8370 
   8371   ;
   8372   return 0;
   8373 }
   8374 _ACEOF
   8375 if ac_fn_c_try_link "$LINENO"; then :
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8377 $as_echo "yes" >&6; }
   8378 else
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8380 $as_echo "no" >&6; }; have_gmp=no
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext \
   8383     conftest$ac_exeext conftest.$ac_ext
   8384     LIBS="$saved_LIBS"
   8385   fi
   8386 
   8387   # Now check the MPC library
   8388   if test "x$require_mpc" = xyes && test x"$have_gmp" = xyes; then
   8389     saved_LIBS="$LIBS"
   8390     LIBS="$LIBS $gmplibs"
   8391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc libraries" >&5
   8392 $as_echo_n "checking for the correct version of the mpc libraries... " >&6; }
   8393     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 #include <mpc.h>
   8396 int
   8397 main ()
   8398 {
   8399 
   8400     mpc_t c;
   8401     mpc_init2 (c, 53);
   8402     mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
   8403     mpc_cosh (c, c, MPC_RNDNN);
   8404     mpc_pow (c, c, c, MPC_RNDNN);
   8405     mpc_acosh (c, c, MPC_RNDNN);
   8406     mpc_clear (c);
   8407 
   8408   ;
   8409   return 0;
   8410 }
   8411 _ACEOF
   8412 if ac_fn_c_try_link "$LINENO"; then :
   8413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8414 $as_echo "yes" >&6; }
   8415 else
   8416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8417 $as_echo "no" >&6; }; have_gmp=no
   8418 fi
   8419 rm -f core conftest.err conftest.$ac_objext \
   8420     conftest$ac_exeext conftest.$ac_ext
   8421     LIBS="$saved_LIBS"
   8422   fi
   8423 
   8424   CFLAGS="$saved_CFLAGS"
   8425 
   8426 # The library versions listed in the error message below should match
   8427 # the HARD-minimums enforced above.
   8428   if test x$have_gmp != xyes; then
   8429     if test -d ${srcdir}/gcc ; then
   8430       as_fn_error $? "Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
   8431 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
   8432 their locations.  Source code for these libraries can be found at
   8433 their respective hosting sites as well as at
   8434 https://gcc.gnu.org/pub/gcc/infrastructure/.  See also
   8435 http://gcc.gnu.org/install/prerequisites.html for additional info.  If
   8436 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
   8437 make sure that you have installed both the libraries and the header
   8438 files.  They may be located in separate packages." "$LINENO" 5
   8439     else
   8440       as_fn_error $? "Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
   8441 Try the --with-gmp and/or --with-mpfr options to specify
   8442 their locations.  If you obtained GMP and/or MPFR from a vendor
   8443 distribution package, make sure that you have installed both the libraries
   8444 and the header files.  They may be located in separate packages." "$LINENO" 5
   8445     fi
   8446   fi
   8447 fi
   8448 
   8449 # Flags needed for both GMP, MPFR and/or MPC.
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 # Libraries to use for stage1 or when not bootstrapping.
   8458 
   8459 # Check whether --with-stage1-libs was given.
   8460 if test "${with_stage1_libs+set}" = set; then :
   8461   withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   8462    stage1_libs=
   8463  else
   8464    stage1_libs=$withval
   8465  fi
   8466 else
   8467   stage1_libs=
   8468 fi
   8469 
   8470 
   8471 
   8472 # Whether or not to use -static-libstdc++ and -static-libgcc.  The
   8473 # default is yes if gcc is being built; no otherwise.  The reason for
   8474 # this default is that gdb is sometimes linked against GNU Source
   8475 # Highlight, which is a shared library that uses C++ exceptions.  In
   8476 # this case, -static-libstdc++ will cause crashes.
   8477 
   8478 # Check whether --with-static-standard-libraries was given.
   8479 if test "${with_static_standard_libraries+set}" = set; then :
   8480   withval=$with_static_standard_libraries;
   8481 else
   8482   with_static_standard_libraries=auto
   8483 fi
   8484 
   8485 if test "$with_static_standard_libraries" = auto; then
   8486   with_static_standard_libraries=$have_compiler
   8487 fi
   8488 
   8489 # Linker flags to use for stage1 or when not bootstrapping.
   8490 
   8491 # Check whether --with-stage1-ldflags was given.
   8492 if test "${with_stage1_ldflags+set}" = set; then :
   8493   withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   8494    stage1_ldflags=
   8495  else
   8496    stage1_ldflags=$withval
   8497  fi
   8498 else
   8499   stage1_ldflags=
   8500  # In stage 1, default to linking libstdc++ and libgcc statically with GCC
   8501  # if supported.  But if the user explicitly specified the libraries to use,
   8502  # trust that they are doing what they want.
   8503  if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
   8504      -a "$have_static_libs" = yes; then
   8505    stage1_ldflags="-static-libstdc++ -static-libgcc"
   8506  fi
   8507 fi
   8508 
   8509 
   8510 
   8511 # Libraries to use for stage2 and later builds.
   8512 
   8513 # Check whether --with-boot-libs was given.
   8514 if test "${with_boot_libs+set}" = set; then :
   8515   withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
   8516    poststage1_libs=
   8517  else
   8518    poststage1_libs=$withval
   8519  fi
   8520 else
   8521   poststage1_libs=
   8522 fi
   8523 
   8524 
   8525 
   8526 # Linker flags to use for stage2 and later builds.
   8527 
   8528 # Check whether --with-boot-ldflags was given.
   8529 if test "${with_boot_ldflags+set}" = set; then :
   8530   withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
   8531    poststage1_ldflags=
   8532  else
   8533    poststage1_ldflags=$withval
   8534  fi
   8535 else
   8536   poststage1_ldflags=
   8537  # In stages 2 and 3, default to linking libstdc++ and libgcc
   8538  # statically.  But if the user explicitly specified the libraries to
   8539  # use, trust that they are doing what they want.
   8540  if test "$poststage1_libs" = ""; then
   8541    poststage1_ldflags="-static-libstdc++ -static-libgcc"
   8542  fi
   8543 fi
   8544 
   8545 case $target in
   8546   *-darwin2* | *-darwin1[56789]*)
   8547     # For these versions, we default to using embedded rpaths.
   8548     if test "x$enable_darwin_at_rpath" != "xno"; then
   8549       poststage1_ldflags="$poststage1_ldflags -nodefaultrpaths"
   8550     fi
   8551   ;;
   8552   *-darwin*)
   8553     # For these versions, we only use embedded rpaths on demand.
   8554     if test "x$enable_darwin_at_rpath" = "xyes"; then
   8555       poststage1_ldflags="$poststage1_ldflags -nodefaultrpaths"
   8556     fi
   8557   ;;
   8558 esac
   8559 
   8560 
   8561 # GCC GRAPHITE dependency isl.
   8562 # Basic setup is inlined here, actual checks are in config/isl.m4
   8563 
   8564 
   8565 # Check whether --with-isl was given.
   8566 if test "${with_isl+set}" = set; then :
   8567   withval=$with_isl;
   8568 fi
   8569 
   8570 
   8571 # Treat --without-isl as a request to disable
   8572 # GRAPHITE support and skip all following checks.
   8573 if test "x$with_isl" != "xno"; then
   8574   # Check for isl
   8575 
   8576 
   8577 # Check whether --with-isl-include was given.
   8578 if test "${with_isl_include+set}" = set; then :
   8579   withval=$with_isl_include;
   8580 fi
   8581 
   8582 
   8583 # Check whether --with-isl-lib was given.
   8584 if test "${with_isl_lib+set}" = set; then :
   8585   withval=$with_isl_lib;
   8586 fi
   8587 
   8588 
   8589   # Check whether --enable-isl-version-check was given.
   8590 if test "${enable_isl_version_check+set}" = set; then :
   8591   enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
   8592 else
   8593   ENABLE_ISL_CHECK=yes
   8594 fi
   8595 
   8596 
   8597   # Initialize isllibs and islinc.
   8598   case $with_isl in
   8599     no)
   8600       isllibs=
   8601       islinc=
   8602       ;;
   8603     "" | yes)
   8604       ;;
   8605     *)
   8606       isllibs="-L$with_isl/lib"
   8607       islinc="-I$with_isl/include"
   8608       ;;
   8609   esac
   8610   if test "x${with_isl_include}" != x ; then
   8611     islinc="-I$with_isl_include"
   8612   fi
   8613   if test "x${with_isl_lib}" != x; then
   8614     isllibs="-L$with_isl_lib"
   8615   fi
   8616         if test "x${islinc}" = x && test "x${isllibs}" = x \
   8617      && test -d ${srcdir}/isl; then
   8618     isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
   8619     islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
   8620     ENABLE_ISL_CHECK=no
   8621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
   8622 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
   8623   fi
   8624 
   8625   isllibs="${isllibs} -lisl"
   8626 
   8627 
   8628 
   8629   if test "${ENABLE_ISL_CHECK}" = yes ; then
   8630     _isl_saved_CFLAGS=$CFLAGS
   8631     _isl_saved_LDFLAGS=$LDFLAGS
   8632     _isl_saved_LIBS=$LIBS
   8633 
   8634     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
   8635     LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
   8636     LIBS="${_isl_saved_LIBS} -lisl -lgmp"
   8637 
   8638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
   8639 $as_echo_n "checking for isl 0.15 or later... " >&6; }
   8640     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 #include <isl/schedule.h>
   8643 int
   8644 main ()
   8645 {
   8646 isl_options_set_schedule_serialize_sccs (NULL, 0);
   8647   ;
   8648   return 0;
   8649 }
   8650 _ACEOF
   8651 if ac_fn_c_try_link "$LINENO"; then :
   8652   gcc_cv_isl=yes
   8653 else
   8654   gcc_cv_isl=no
   8655 fi
   8656 rm -f core conftest.err conftest.$ac_objext \
   8657     conftest$ac_exeext conftest.$ac_ext
   8658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
   8659 $as_echo "$gcc_cv_isl" >&6; }
   8660 
   8661     if test "${gcc_cv_isl}" = no ; then
   8662       { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
   8663 $as_echo "required isl version is 0.15 or later" >&6; }
   8664     fi
   8665 
   8666     CFLAGS=$_isl_saved_CFLAGS
   8667     LDFLAGS=$_isl_saved_LDFLAGS
   8668     LIBS=$_isl_saved_LIBS
   8669   fi
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676   if test "x${with_isl}" = xno; then
   8677     graphite_requested=no
   8678   elif test "x${with_isl}" != x \
   8679     || test "x${with_isl_include}" != x \
   8680     || test "x${with_isl_lib}" != x ; then
   8681     graphite_requested=yes
   8682   else
   8683     graphite_requested=no
   8684   fi
   8685 
   8686 
   8687 
   8688   if test "${gcc_cv_isl}" = no ; then
   8689     isllibs=
   8690     islinc=
   8691   fi
   8692 
   8693   if test "${graphite_requested}" = yes \
   8694     && test "x${isllibs}" = x \
   8695     && test "x${islinc}" = x ; then
   8696 
   8697     as_fn_error $? "Unable to find a usable isl.  See config.log for details." "$LINENO" 5
   8698   fi
   8699 
   8700 
   8701 fi
   8702 
   8703 # If the isl check failed, disable builds of in-tree variant of isl
   8704 if test "x$with_isl" = xno ||
   8705    test "x$gcc_cv_isl" = xno; then
   8706   noconfigdirs="$noconfigdirs isl"
   8707   islinc=
   8708 fi
   8709 
   8710 
   8711 
   8712 
   8713 # Check for LTO support.
   8714 # Check whether --enable-lto was given.
   8715 if test "${enable_lto+set}" = set; then :
   8716   enableval=$enable_lto; enable_lto=$enableval
   8717 else
   8718   enable_lto=yes; default_enable_lto=yes
   8719 fi
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 target_elf=no
   8726 case $target in
   8727   *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
   8728   *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
   8729   alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux* | \
   8730   nvptx-*-none)
   8731     target_elf=no
   8732     ;;
   8733   *)
   8734     target_elf=yes
   8735     ;;
   8736 esac
   8737 
   8738 if test $target_elf = yes; then :
   8739   # ELF platforms build the lto-plugin always.
   8740   case $target in
   8741   m68010-*)
   8742     build_lto_plugin=no;;
   8743   *)
   8744     build_lto_plugin=yes;;
   8745   esac
   8746 
   8747 else
   8748   if test x"$default_enable_lto" = x"yes" ; then
   8749     case $target in
   8750       *-apple-darwin[912]* | *-cygwin* | *-mingw* | *djgpp*) ;;
   8751       # On other non-ELF platforms, LTO has yet to be validated.
   8752       *) enable_lto=no ;;
   8753     esac
   8754   else
   8755   # Apart from ELF platforms, only Windows and Darwin support LTO so far.
   8756   # It would also be nice to check the binutils support, but we don't
   8757   # have gcc_GAS_CHECK_FEATURE available here.  For now, we'll just
   8758   # warn during gcc/ subconfigure; unless you're bootstrapping with
   8759   # -flto it won't be needed until after installation anyway.
   8760     case $target in
   8761       *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
   8762       *) if test x"$enable_lto" = x"yes"; then
   8763 	as_fn_error $? "LTO support is not enabled for this target." "$LINENO" 5
   8764         fi
   8765       ;;
   8766     esac
   8767   fi
   8768   # Among non-ELF, only Windows platforms support the lto-plugin so far.
   8769   # Build it unless LTO was explicitly disabled.
   8770   case $target in
   8771     *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
   8772     *) ;;
   8773   esac
   8774 
   8775 fi
   8776 
   8777 
   8778 # Check whether --enable-linker-plugin-configure-flags was given.
   8779 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
   8780   enableval=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags=$enableval
   8781 else
   8782   extra_linker_plugin_configure_flags=
   8783 fi
   8784 
   8785 
   8786 # Check whether --enable-linker-plugin-flags was given.
   8787 if test "${enable_linker_plugin_flags+set}" = set; then :
   8788   enableval=$enable_linker_plugin_flags; extra_linker_plugin_flags=$enableval
   8789 else
   8790   extra_linker_plugin_flags=
   8791 fi
   8792 
   8793 
   8794 
   8795 # Handle --enable-host-pie
   8796 # If host PIE executables are the default (or must be forced on) for some host,
   8797 # we must pass that configuration to the gcc directory.
   8798 gcc_host_pie=
   8799 # Check whether --enable-host-pie was given.
   8800 if test "${enable_host_pie+set}" = set; then :
   8801   enableval=$enable_host_pie; host_pie=$enableval
   8802  case $host in
   8803    *-*-darwin2*)
   8804      if test x$host_pie != xyes ; then
   8805        # for Darwin20+ this is required.
   8806        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&5
   8807 $as_echo "$as_me: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&2;}
   8808        host_pie=yes
   8809        gcc_host_pie=--enable-host-pie
   8810      fi ;;
   8811   *) ;;
   8812  esac
   8813 else
   8814   case $host in
   8815   *-*-darwin2*)
   8816     # Default to PIE (mandatory for aarch64).
   8817     host_pie=yes
   8818     gcc_host_pie=--enable-host-pie
   8819     ;;
   8820   *) host_pie=no ;;
   8821  esac
   8822 fi
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 # Enable --enable-host-shared.
   8829 # Checked early to determine whether jit is an 'all' language
   8830 # Check whether --enable-host-shared was given.
   8831 if test "${enable_host_shared+set}" = set; then :
   8832   enableval=$enable_host_shared; host_shared=$enableval
   8833  case $host in
   8834    x86_64-*-darwin* | aarch64-*-darwin*)
   8835      if test x$host_shared != xyes ; then
   8836        # PIC is the default, and actually cannot be switched off.
   8837        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&5
   8838 $as_echo "$as_me: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&2;}
   8839        host_shared=yes
   8840      fi ;;
   8841    *-*-darwin*)
   8842      if test x$host_pie = xyes -a x$host_shared != xyes ; then
   8843        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&5
   8844 $as_echo "$as_me: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&2;}
   8845        host_shared=yes
   8846      fi ;;
   8847   *) ;;
   8848  esac
   8849 else
   8850   case $host in
   8851   # 64B x86_64 and Aarch64 Darwin default to PIC.
   8852   x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
   8853   # 32B and powerpc64 Darwin must use PIC to link PIE exes.
   8854   *-*-darwin*) host_shared=$host_pie ;;
   8855   *) host_shared=no;;
   8856  esac
   8857 fi
   8858 
   8859 
   8860 
   8861 
   8862 if test x$host_shared = xyes; then
   8863   case $host in
   8864     *-*-darwin*)
   8865       # Since host shared is the default for 64b Darwin, and also enabled for
   8866       # host_pie, ensure that we present the PIE flag when host_pie is active.
   8867       if test x$host_pie = xyes; then
   8868         PICFLAG=-fPIE
   8869       fi
   8870       ;;
   8871     *)
   8872       PICFLAG=-fPIC
   8873       ;;
   8874   esac
   8875 elif test x$host_pie = xyes; then
   8876   PICFLAG=-fPIE
   8877 else
   8878   PICFLAG=
   8879 fi
   8880 
   8881 
   8882 
   8883 # If we are building PIC/PIE host executables, and we are building dependent
   8884 # libs (e.g. GMP) in-tree those libs need to be configured to generate PIC
   8885 # code.
   8886 host_libs_picflag=
   8887 if test "$host_shared" = "yes" -o "$host_pie" = "yes"; then
   8888 host_libs_picflag='--with-pic'
   8889 fi
   8890 
   8891 
   8892 # By default, C and C++ are the only stage 1 languages.
   8893 stage1_languages=,c,
   8894 
   8895 # Target libraries that we bootstrap.
   8896 bootstrap_target_libs=,target-libgcc,
   8897 
   8898 # Figure out what language subdirectories are present.
   8899 # Look if the user specified --enable-languages="..."; if not, use
   8900 # the environment variable $LANGUAGES if defined. $LANGUAGES might
   8901 # go away some day.
   8902 # NB:  embedded tabs in this IF block -- do not untabify
   8903 if test -d ${srcdir}/gcc; then
   8904   if test x"${enable_languages+set}" != xset; then
   8905     if test x"${LANGUAGES+set}" = xset; then
   8906       enable_languages="${LANGUAGES}"
   8907         echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
   8908     else
   8909       enable_languages=default
   8910     fi
   8911   else
   8912     if test x"${enable_languages}" = x ||
   8913        test x"${enable_languages}" = xyes;
   8914        then
   8915       echo configure.ac: --enable-languages needs at least one language argument 1>&2
   8916       exit 1
   8917     fi
   8918   fi
   8919   enable_languages=`echo "${enable_languages}" | sed -e 's/[ 	,][ 	,]*/,/g' -e 's/,$//'`
   8920 
   8921   # 'f95' is the old name for the 'fortran' language. We issue a warning
   8922   # and make the substitution.
   8923   case ,${enable_languages}, in
   8924     *,f95,*)
   8925       echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
   8926       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
   8927       ;;
   8928   esac
   8929 
   8930   # If bootstrapping, C++ must be enabled.
   8931   case ",$enable_languages,:$enable_bootstrap" in
   8932     *,c++,*:*) ;;
   8933     *:yes)
   8934       if test -f ${srcdir}/gcc/cp/config-lang.in; then
   8935         enable_languages="${enable_languages},c++"
   8936       else
   8937         as_fn_error $? "bootstrapping requires c++ sources" "$LINENO" 5
   8938       fi
   8939       ;;
   8940   esac
   8941 
   8942   # First scan to see if an enabled language requires some other language.
   8943   # We assume that a given config-lang.in will list all the language
   8944   # front ends it requires, even if some are required indirectly.
   8945   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   8946     case ${lang_frag} in
   8947       ..) ;;
   8948       # The odd quoting in the next line works around
   8949       # an apparent bug in bash 1.12 on linux.
   8950       ${srcdir}/gcc/[*]/config-lang.in) ;;
   8951       *)
   8952         # From the config-lang.in, get $language, $lang_requires, and
   8953         # $lang_requires_boot_languages.
   8954         language=
   8955         lang_requires=
   8956         lang_requires_boot_languages=
   8957         # set srcdir during sourcing lang_frag to the gcc dir.
   8958         # Sadly overriding srcdir on the . line doesn't work in plain sh as it
   8959         # polutes this shell
   8960         saved_srcdir=${srcdir}
   8961         srcdir=${srcdir}/gcc . ${lang_frag}
   8962         srcdir=${saved_srcdir}
   8963         for other in ${lang_requires} ${lang_requires_boot_languages}; do
   8964           case ,${enable_languages}, in
   8965 	    *,$other,*) ;;
   8966 	    *,default,*) ;;
   8967 	    *,all,*) ;;
   8968 	    *,$language,*)
   8969 	      echo " \`$other' language required by \`$language'; enabling" 1>&2
   8970 	      enable_languages="${enable_languages},${other}"
   8971 	      ;;
   8972 	  esac
   8973         done
   8974 	for other in ${lang_requires_boot_languages} ; do
   8975 	  if test "$other" != "c"; then
   8976 	    case ,${enable_stage1_languages}, in
   8977 	      *,$other,*) ;;
   8978 	      *,default,*) ;;
   8979 	      *,all,*) ;;
   8980 	      *)
   8981 		case ,${enable_languages}, in
   8982 		  *,$language,*)
   8983 		    echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
   8984 		    enable_stage1_languages="$enable_stage1_languages,${other}"
   8985 		    ;;
   8986 		esac
   8987 		;;
   8988 	    esac
   8989           fi
   8990         done
   8991         ;;
   8992     esac
   8993   done
   8994 
   8995   new_enable_languages=,c,
   8996 
   8997   # If LTO is enabled, add the LTO front end.
   8998   if test "$enable_lto" = "yes" ; then
   8999     case ,${enable_languages}, in
   9000       *,lto,*) ;;
   9001       *) enable_languages="${enable_languages},lto" ;;
   9002     esac
   9003     if test "${build_lto_plugin}" = "yes" ; then
   9004       configdirs="$configdirs lto-plugin"
   9005     fi
   9006   fi
   9007 
   9008   # If we're building an offloading compiler, add the LTO front end.
   9009   if test x"$enable_as_accelerator_for" != x ; then
   9010     case ,${enable_languages}, in
   9011       *,lto,*) ;;
   9012       *) enable_languages="${enable_languages},lto" ;;
   9013     esac
   9014   fi
   9015 
   9016   missing_languages=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
   9017   potential_languages=,c,
   9018 
   9019   enabled_target_libs=
   9020   disabled_target_libs=
   9021 
   9022   for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
   9023     case ${lang_frag} in
   9024       ..) ;;
   9025       # The odd quoting in the next line works around
   9026       # an apparent bug in bash 1.12 on linux.
   9027       ${srcdir}/gcc/[*]/config-lang.in) ;;
   9028       *)
   9029         # From the config-lang.in, get $language, $target_libs,
   9030         # $lang_dirs, $boot_language, and $build_by_default
   9031         language=
   9032         target_libs=
   9033         lang_dirs=
   9034         subdir_requires=
   9035         boot_language=no
   9036         build_by_default=yes
   9037         # set srcdir during sourcing.  See above about save & restore
   9038         saved_srcdir=${srcdir}
   9039         srcdir=${srcdir}/gcc . ${lang_frag}
   9040         srcdir=${saved_srcdir}
   9041         if test x${language} = x; then
   9042           echo "${lang_frag} doesn't set \$language." 1>&2
   9043           exit 1
   9044         fi
   9045 
   9046 	if test "$language" = "c++"; then
   9047 	  boot_language=yes
   9048 	fi
   9049 
   9050         add_this_lang=no
   9051         # C is always enabled, so no need to add it again
   9052         if test "$language" != "c"; then
   9053           case ,${enable_languages}, in
   9054             *,${language},*)
   9055               # Language was explicitly selected; include it
   9056 	      add_this_lang=yes
   9057               ;;
   9058 	    *,all,*)
   9059 	      # All languages are enabled
   9060 	      add_this_lang=all
   9061               ;;
   9062             *,default,*)
   9063               # 'default' was selected, select it if it is a default language
   9064 	      add_this_lang=${build_by_default}
   9065               ;;
   9066           esac
   9067         fi
   9068 
   9069         # Disable languages that need other directories if these aren't available.
   9070 	for i in $subdir_requires; do
   9071 	  test -f "$srcdir/gcc/$i/config-lang.in" && continue
   9072 	  case ${add_this_lang} in
   9073 	    yes)
   9074               # Specifically requested language; tell them.
   9075               as_fn_error $? "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
   9076               ;;
   9077             all)
   9078               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
   9079 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
   9080               add_this_lang=unsupported
   9081               ;;
   9082             *)
   9083               # Silently disable.
   9084               add_this_lang=unsupported
   9085               ;;
   9086           esac
   9087 	done
   9088 
   9089         # Disable Ada if no preexisting GNAT is available.
   9090         case ${add_this_lang}:${language}:${have_gnat} in
   9091           yes:ada:no)
   9092             # Specifically requested language; tell them.
   9093             as_fn_error $? "GNAT is required to build $language" "$LINENO" 5
   9094             ;;
   9095           all:ada:no)
   9096             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
   9097 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
   9098             add_this_lang=unsupported
   9099             ;;
   9100           *:ada:no)
   9101             # Silently disable.
   9102             add_this_lang=unsupported
   9103             ;;
   9104         esac
   9105 
   9106         # Disable D if no preexisting GDC is available.
   9107         case ${add_this_lang}:${language}:${have_gdc} in
   9108           yes:d:no)
   9109             # Specifically requested language; tell them.
   9110             as_fn_error $? "GDC is required to build $language" "$LINENO" 5
   9111            ;;
   9112           all:d:no)
   9113             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GDC is required to build $language" >&5
   9114 $as_echo "$as_me: WARNING: GDC is required to build $language" >&2;}
   9115             add_this_lang=unsupported
   9116             ;;
   9117           *:d:no)
   9118             # Silently disable.
   9119             add_this_lang=unsupported
   9120             ;;
   9121         esac
   9122 
   9123         # Disable jit if -enable-host-shared not specified
   9124         # but not if building for Mingw. All code in Windows
   9125         # is position independent code (PIC).
   9126         case $target in
   9127           *mingw*) ;;
   9128           *)
   9129           case ${add_this_lang}:${language}:${host_shared} in
   9130             yes:jit:no)
   9131 	           # PR jit/64780: explicitly specify --enable-host-shared
   9132 	    as_fn_error $? "
   9133 Enabling language \"jit\" requires --enable-host-shared.
   9134 
   9135 --enable-host-shared typically slows the rest of the compiler down by
   9136 a few %, so you must explicitly enable it.
   9137 
   9138 If you want to build both the jit and the regular compiler, it is often
   9139 best to do this via two separate configure/builds, in separate
   9140 directories, to avoid imposing the performance cost of
   9141 --enable-host-shared on the regular compiler." "$LINENO" 5
   9142 	            ;;
   9143             all:jit:no)
   9144 	      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
   9145 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
   9146               add_this_lang=unsupported
   9147               ;;
   9148             *:jit:no)
   9149               # Silently disable.
   9150               add_this_lang=unsupported
   9151               ;;
   9152 	        esac
   9153           ;;
   9154         esac
   9155 
   9156         # Pre-conditions to consider whether cargo being supported.
   9157         if test x"$have_cargo" = xyes \
   9158           && test x"$build" != x"$host"; then
   9159           # Until <https://github.com/Rust-GCC/gccrs/issues/2898>
   9160           # "'cargo' should build for the host system" is resolved:
   9161           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: use of cargo not yet supported here in Canadian cross configurations" >&5
   9162 $as_echo "$as_me: WARNING: use of cargo not yet supported here in Canadian cross configurations" >&2;}
   9163           have_cargo=no
   9164         else
   9165           # Assume that cargo-produced object files are compatible with what
   9166           # we're going to build here.
   9167           :
   9168         fi
   9169         # Disable Rust if cargo is unavailable.
   9170         case ${add_this_lang}:${language}:${have_cargo} in
   9171           yes:rust:no)
   9172             # Specifically requested language; tell them.
   9173             as_fn_error $? "cargo is required to build $language" "$LINENO" 5
   9174             ;;
   9175           all:rust:no)
   9176             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cargo is required to build $language" >&5
   9177 $as_echo "$as_me: WARNING: cargo is required to build $language" >&2;}
   9178             add_this_lang=unsupported
   9179             ;;
   9180           *:rust:no)
   9181             # Silently disable.
   9182             add_this_lang=unsupported
   9183             ;;
   9184         esac
   9185 
   9186 
   9187         # Disable a language that is unsupported by the target.
   9188 	case "${add_this_lang}: $unsupported_languages " in
   9189 	  no:*) ;;
   9190 	  unsupported:*) ;;
   9191 	  *:*" $language "*)
   9192 	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
   9193 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
   9194 	    add_this_lang=unsupported
   9195 	    ;;
   9196 	esac
   9197 
   9198 	case $add_this_lang in
   9199 	  unsupported)
   9200             # Remove language-dependent dirs.
   9201 	    disabled_target_libs="$disabled_target_libs $target_libs"
   9202 	    noconfigdirs="$noconfigdirs $lang_dirs"
   9203 	    ;;
   9204 	  no)
   9205             # Remove language-dependent dirs; still show language as supported.
   9206 	    disabled_target_libs="$disabled_target_libs $target_libs"
   9207 	    noconfigdirs="$noconfigdirs $lang_dirs"
   9208             potential_languages="${potential_languages}${language},"
   9209 	    ;;
   9210           all|yes)
   9211 	    new_enable_languages="${new_enable_languages}${language},"
   9212             potential_languages="${potential_languages}${language},"
   9213 	    missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
   9214 	    enabled_target_libs="$enabled_target_libs $target_libs"
   9215 	    case "${boot_language}:,$enable_stage1_languages," in
   9216 	      yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
   9217 		# Add to (comma-separated) list of stage 1 languages.
   9218 		case ",$stage1_languages," in
   9219 		  *,$language,* | ,yes, | ,all,) ;;
   9220 		  *) stage1_languages="${stage1_languages}${language}," ;;
   9221 		esac
   9222 		# We need to bootstrap any supporting libraries.
   9223 		bootstrap_target_libs=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
   9224 		;;
   9225 	    esac
   9226 	    ;;
   9227         esac
   9228         ;;
   9229     esac
   9230   done
   9231 
   9232   # Add target libraries which are only needed for disabled languages
   9233   # to noconfigdirs.
   9234   if test -n "$disabled_target_libs"; then
   9235     for dir in $disabled_target_libs; do
   9236       case " $enabled_target_libs " in
   9237       *" ${dir} "*) ;;
   9238       *) noconfigdirs="$noconfigdirs $dir" ;;
   9239       esac
   9240     done
   9241   fi
   9242 
   9243   # Check whether --enable-stage1-languages was given.
   9244 if test "${enable_stage1_languages+set}" = set; then :
   9245   enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
   9246     ,no,|,,)
   9247       # Set it to something that will have no effect in the loop below
   9248       enable_stage1_languages=c ;;
   9249     ,yes,)
   9250       enable_stage1_languages=`echo $new_enable_languages | \
   9251 	sed -e "s/^,//" -e "s/,$//" ` ;;
   9252     *,all,*)
   9253       enable_stage1_languages=`echo ,$enable_stage1_languages, | \
   9254 	sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
   9255   esac
   9256 
   9257   # Add "good" languages from enable_stage1_languages to stage1_languages,
   9258   # while "bad" languages go in missing_languages.  Leave no duplicates.
   9259   for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
   9260     case $potential_languages in
   9261       *,$i,*)
   9262         case $stage1_languages in
   9263           *,$i,*) ;;
   9264           *) stage1_languages="$stage1_languages$i," ;;
   9265         esac ;;
   9266       *)
   9267         case $missing_languages in
   9268           *,$i,*) ;;
   9269           *) missing_languages="$missing_languages$i," ;;
   9270         esac ;;
   9271      esac
   9272   done
   9273 fi
   9274 
   9275 
   9276   # Remove leading/trailing commas that were added for simplicity
   9277   potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
   9278   missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
   9279   stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
   9280   new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
   9281 
   9282   if test "x$missing_languages" != x; then
   9283     as_fn_error $? "
   9284 The following requested languages could not be built: ${missing_languages}
   9285 Supported languages are: ${potential_languages}" "$LINENO" 5
   9286   fi
   9287   if test "x$new_enable_languages" != "x$enable_languages"; then
   9288     echo The following languages will be built: ${new_enable_languages}
   9289     enable_languages="$new_enable_languages"
   9290   fi
   9291 
   9292 
   9293   ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
   9294 fi
   9295 
   9296 # Handle --disable-<component> generically.
   9297 for dir in $configdirs $build_configdirs $target_configdirs ; do
   9298   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
   9299   varname=`echo $dirname | sed -e s/+/_/g`
   9300   if eval test x\${enable_${varname}} "=" xno ; then
   9301     noconfigdirs="$noconfigdirs $dir"
   9302   fi
   9303 done
   9304 
   9305 # Check for Boehm's garbage collector
   9306 # Check whether --enable-objc-gc was given.
   9307 if test "${enable_objc_gc+set}" = set; then :
   9308   enableval=$enable_objc_gc;
   9309 fi
   9310 
   9311 
   9312 # Check whether --with-target-bdw-gc was given.
   9313 if test "${with_target_bdw_gc+set}" = set; then :
   9314   withval=$with_target_bdw_gc;
   9315 fi
   9316 
   9317 
   9318 # Check whether --with-target-bdw-gc-include was given.
   9319 if test "${with_target_bdw_gc_include+set}" = set; then :
   9320   withval=$with_target_bdw_gc_include;
   9321 fi
   9322 
   9323 
   9324 # Check whether --with-target-bdw-gc-lib was given.
   9325 if test "${with_target_bdw_gc_lib+set}" = set; then :
   9326   withval=$with_target_bdw_gc_lib;
   9327 fi
   9328 
   9329 
   9330 case ,${enable_languages},:${enable_objc_gc} in *,objc,*:yes|*,objc,*:auto)
   9331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
   9332 $as_echo_n "checking for bdw garbage collector... " >&6; }
   9333   if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x; then
   9334         { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
   9335 $as_echo "using bdw-gc in default locations" >&6; }
   9336   else
   9337         if test "x$with_target_bdw_gc_include" = x && test "x$with_target_bdw_gc_lib" != x; then
   9338       as_fn_error $? "found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
   9339     elif test "x$with_target_bdw_gc_include" != x && test "x$with_target_bdw_gc_lib" = x; then
   9340       as_fn_error $? "found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
   9341     else
   9342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
   9343 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
   9344     fi
   9345   fi
   9346 esac
   9347 
   9348 # Disable libitm, libsanitizer, libvtv if we're not building C++
   9349 case ,${enable_languages}, in
   9350   *,c++,*)
   9351     # Disable libitm, libsanitizer if we're not building libstdc++
   9352     case "${noconfigdirs}" in
   9353       *target-libstdc++-v3*)
   9354         noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
   9355         ;;
   9356       *) ;;
   9357     esac
   9358     ;;
   9359   *)
   9360     noconfigdirs="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
   9361     ;;
   9362 esac
   9363 
   9364 case ,${enable_languages}, in
   9365   *,rust,*)
   9366     case " ${noconfigdirs} " in
   9367       *\ target-libstdc++-v3\ *)
   9368         # Disable target libgrust if we're not building target libstdc++.
   9369         noconfigdirs="$noconfigdirs target-libgrust"
   9370         ;;
   9371     esac
   9372     ;;
   9373 esac
   9374 
   9375 # If gcc/ is not in the source tree then we'll not be building a
   9376 # target compiler, assume in that case we don't want to build any
   9377 # target libraries or tools.
   9378 #
   9379 # This was added primarily for the benefit for binutils-gdb who reuse
   9380 # this configure script, but don't always have target tools available.
   9381 if test ! -d ${srcdir}/gcc; then
   9382    skipdirs="${skipdirs} ${target_configdirs}"
   9383 fi
   9384 
   9385 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
   9386 # $build_configdirs and $target_configdirs.
   9387 # If we have the source for $noconfigdirs entries, add them to $notsupp.
   9388 
   9389 notsupp=""
   9390 for dir in . $skipdirs $noconfigdirs ; do
   9391   dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
   9392   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9393     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
   9394     if test -r $srcdir/$dirname/configure ; then
   9395       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9396 	true
   9397       else
   9398 	notsupp="$notsupp $dir"
   9399       fi
   9400     fi
   9401   fi
   9402   if test $dir != .  && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9403     build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
   9404     if test -r $srcdir/$dirname/configure ; then
   9405       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9406 	true
   9407       else
   9408 	notsupp="$notsupp $dir"
   9409       fi
   9410     fi
   9411   fi
   9412   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9413     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
   9414     if test -r $srcdir/$dirname/configure ; then
   9415       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9416 	true
   9417       else
   9418 	notsupp="$notsupp $dir"
   9419       fi
   9420     fi
   9421   fi
   9422 done
   9423 
   9424 # Quietly strip out all directories which aren't configurable in this tree.
   9425 # This relies on all configurable subdirectories being autoconfiscated, which
   9426 # is now the case.
   9427 build_configdirs_all="$build_configdirs"
   9428 build_configdirs=
   9429 for i in ${build_configdirs_all} ; do
   9430   j=`echo $i | sed -e s/build-//g`
   9431   if test -f ${srcdir}/$j/configure ; then
   9432     build_configdirs="${build_configdirs} $i"
   9433   fi
   9434 done
   9435 
   9436 configdirs_all="$configdirs"
   9437 configdirs=
   9438 for i in ${configdirs_all} ; do
   9439   if test -f ${srcdir}/$i/configure ; then
   9440     configdirs="${configdirs} $i"
   9441   fi
   9442 done
   9443 
   9444 target_configdirs_all="$target_configdirs"
   9445 target_configdirs=
   9446 for i in ${target_configdirs_all} ; do
   9447   j=`echo $i | sed -e s/target-//g`
   9448   if test -f ${srcdir}/$j/configure ; then
   9449     target_configdirs="${target_configdirs} $i"
   9450   fi
   9451 done
   9452 
   9453 # libiberty-linker-plugin is special: it doesn't have its own source directory,
   9454 # so we have to add it after the preceding checks.
   9455 if test x"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
   9456 then
   9457   case " $configdirs " in
   9458     *" libiberty "*)
   9459       # If we can build libiberty, we can also build libiberty-linker-plugin.
   9460       configdirs="$configdirs libiberty-linker-plugin"
   9461       extra_linker_plugin_configure_flags="$extra_linker_plugin_configure_flags \
   9462         --with-libiberty=../libiberty-linker-plugin";;
   9463     *)
   9464       as_fn_error $? "libiberty missing" "$LINENO" 5;;
   9465   esac
   9466 fi
   9467 
   9468 # Sometimes we have special requirements for the host libiberty.
   9469 extra_host_libiberty_configure_flags=
   9470 case " $configdirs " in
   9471   *" lto-plugin "* | *" libcc1 "* | *" gdbserver "*)
   9472     # When these are to be built as shared libraries, the same applies to
   9473     # libiberty.
   9474     extra_host_libiberty_configure_flags=--enable-shared
   9475     ;;
   9476 esac
   9477 
   9478 
   9479 # Sometimes we have special requirements for the host zlib.
   9480 extra_host_zlib_configure_flags=
   9481 case " $configdirs " in
   9482   *" bfd "*)
   9483     # When bfd is to be built as a shared library, the same applies to
   9484     # zlib.
   9485     if test "$enable_shared" = "yes"; then
   9486       extra_host_zlib_configure_flags=--enable-host-shared
   9487     fi
   9488     ;;
   9489 esac
   9490 
   9491 
   9492 # Produce a warning message for the subdirs we can't configure.
   9493 # This isn't especially interesting in the Cygnus tree, but in the individual
   9494 # FSF releases, it's important to let people know when their machine isn't
   9495 # supported by the one or two programs in a package.
   9496 
   9497 if test -n "${notsupp}" && test -z "${norecursion}" ; then
   9498   # If $appdirs is non-empty, at least one of those directories must still
   9499   # be configured, or we error out.  (E.g., if the gas release supports a
   9500   # specified target in some subdirs but not the gas subdir, we shouldn't
   9501   # pretend that all is well.)
   9502   if test -n "$appdirs" ; then
   9503     for dir in $appdirs ; do
   9504       if test -r $dir/Makefile.in ; then
   9505 	if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
   9506 	  appdirs=""
   9507 	  break
   9508 	fi
   9509 	if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
   9510 	  appdirs=""
   9511 	  break
   9512 	fi
   9513       fi
   9514     done
   9515     if test -n "$appdirs" ; then
   9516       echo "*** This configuration is not supported by this package." 1>&2
   9517       exit 1
   9518     fi
   9519   fi
   9520   # Okay, some application will build, or we don't care to check.  Still
   9521   # notify of subdirs not getting built.
   9522   echo "*** This configuration is not supported in the following subdirectories:" 1>&2
   9523   echo "    ${notsupp}" 1>&2
   9524   echo "    (Any other directories should still work fine.)" 1>&2
   9525 fi
   9526 
   9527 case "$host" in
   9528   *msdosdjgpp*)
   9529     enable_gdbtk=no ;;
   9530 esac
   9531 
   9532 # To find our prefix, in gcc_cv_tool_prefix.
   9533 
   9534 # The user is always right.
   9535 if test "${PATH_SEPARATOR+set}" != set; then
   9536   echo "#! /bin/sh" >conf$$.sh
   9537   echo  "exit 0"   >>conf$$.sh
   9538   chmod +x conf$$.sh
   9539   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9540     PATH_SEPARATOR=';'
   9541   else
   9542     PATH_SEPARATOR=:
   9543   fi
   9544   rm -f conf$$.sh
   9545 fi
   9546 
   9547 
   9548   get_gcc_base_ver="cat"
   9549 
   9550 # Check whether --with-gcc-major-version-only was given.
   9551 if test "${with_gcc_major_version_only+set}" = set; then :
   9552   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
   9553         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
   9554       fi
   9555 
   9556 fi
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 if test "x$exec_prefix" = xNONE; then
   9564         if test "x$prefix" = xNONE; then
   9565                 gcc_cv_tool_prefix=$ac_default_prefix
   9566         else
   9567                 gcc_cv_tool_prefix=$prefix
   9568         fi
   9569 else
   9570         gcc_cv_tool_prefix=$exec_prefix
   9571 fi
   9572 
   9573 # If there is no compiler in the tree, use the PATH only.  In any
   9574 # case, if there is no compiler in the tree nobody should use
   9575 # AS_FOR_TARGET and LD_FOR_TARGET.
   9576 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
   9577     if test x$with_gcc_major_version_only = xyes ; then
   9578                 gcc_version=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
   9579             else
   9580         gcc_version=`cat $srcdir/gcc/BASE-VER`
   9581     fi
   9582     gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   9583     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
   9584     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   9585     gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
   9586     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
   9587     gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
   9588 else
   9589     gcc_cv_tool_dirs=
   9590 fi
   9591 
   9592 if test x$build = x$target && test -n "$md_exec_prefix"; then
   9593         gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
   9594 fi
   9595 
   9596 
   9597 
   9598 copy_dirs=
   9599 
   9600 
   9601 # Check whether --with-build-sysroot was given.
   9602 if test "${with_build_sysroot+set}" = set; then :
   9603   withval=$with_build_sysroot; if test x"$withval" != x ; then
   9604      SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
   9605    fi
   9606 else
   9607   SYSROOT_CFLAGS_FOR_TARGET=
   9608 fi
   9609 
   9610 
   9611 
   9612 
   9613 # Check whether --with-debug-prefix-map was given.
   9614 if test "${with_debug_prefix_map+set}" = set; then :
   9615   withval=$with_debug_prefix_map; if test x"$withval" != x; then
   9616      DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   9617      for debug_map in $withval; do
   9618        DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
   9619      done
   9620    fi
   9621 else
   9622   DEBUG_PREFIX_CFLAGS_FOR_TARGET=
   9623 fi
   9624 
   9625 
   9626 
   9627 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
   9628 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
   9629 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
   9630 # We want to ensure that TARGET libraries (which we know are built with
   9631 # gcc) are built with "-O2 -g", so include those options when setting
   9632 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
   9633 if test "x$CFLAGS_FOR_TARGET" = x; then
   9634   if test "x${is_cross_compiler}" = xyes; then
   9635     CFLAGS_FOR_TARGET="-g -O2"
   9636   else
   9637     CFLAGS_FOR_TARGET=$CFLAGS
   9638     case " $CFLAGS " in
   9639       *" -O2 "*) ;;
   9640       *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
   9641     esac
   9642     case " $CFLAGS " in
   9643       *" -g "* | *" -g3 "*) ;;
   9644       *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
   9645     esac
   9646   fi
   9647 fi
   9648 
   9649 
   9650 if test "x$CXXFLAGS_FOR_TARGET" = x; then
   9651   if test "x${is_cross_compiler}" = xyes; then
   9652     CXXFLAGS_FOR_TARGET="-g -O2"
   9653   else
   9654     CXXFLAGS_FOR_TARGET=$CXXFLAGS
   9655     case " $CXXFLAGS " in
   9656       *" -O2 "*) ;;
   9657       *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
   9658     esac
   9659     case " $CXXFLAGS " in
   9660       *" -g "* | *" -g3 "*) ;;
   9661       *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
   9662     esac
   9663   fi
   9664 fi
   9665 
   9666 
   9667 
   9668 
   9669 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
   9670 # the named directory are copied to $(tooldir)/sys-include.
   9671 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
   9672   if test x${is_cross_compiler} = xno ; then
   9673     echo 1>&2 '***' --with-headers is only supported when cross compiling
   9674     exit 1
   9675   fi
   9676   if test x"${with_headers}" != xyes ; then
   9677     x=${gcc_cv_tool_prefix}
   9678     copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
   9679   fi
   9680 fi
   9681 
   9682 # Handle --with-libs=XXX.  If the value is not "yes", the contents of
   9683 # the name directories are copied to $(tooldir)/lib.  Multiple directories
   9684 # are permitted.
   9685 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   9686   if test x${is_cross_compiler} = xno ; then
   9687     echo 1>&2 '***' --with-libs is only supported when cross compiling
   9688     exit 1
   9689   fi
   9690   if test x"${with_libs}" != xyes ; then
   9691     # Copy the libraries in reverse order, so that files in the first named
   9692     # library override files in subsequent libraries.
   9693     x=${gcc_cv_tool_prefix}
   9694     for l in ${with_libs}; do
   9695       copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
   9696     done
   9697   fi
   9698 fi
   9699 
   9700 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
   9701 #
   9702 # This is done by determining whether or not the appropriate directory
   9703 # is available, and by checking whether or not specific configurations
   9704 # have requested that this magic not happen.
   9705 #
   9706 # The command line options always override the explicit settings in
   9707 # configure.ac, and the settings in configure.ac override this magic.
   9708 #
   9709 # If the default for a toolchain is to use GNU as and ld, and you don't
   9710 # want to do that, then you should use the --without-gnu-as and
   9711 # --without-gnu-ld options for the configure script.  Similarly, if
   9712 # the default is to use the included zlib and you don't want to do that,
   9713 # you should use the --with-system-zlib option for the configure script.
   9714 
   9715 if test x${use_gnu_as} = x &&
   9716    echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
   9717   with_gnu_as=yes
   9718   extra_host_args="$extra_host_args --with-gnu-as"
   9719 fi
   9720 
   9721 if test x${use_gnu_ld} = x &&
   9722    echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
   9723   with_gnu_ld=yes
   9724   extra_host_args="$extra_host_args --with-gnu-ld"
   9725 fi
   9726 
   9727 if test x${use_included_zlib} = x &&
   9728    echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
   9729   :
   9730 else
   9731   with_system_zlib=yes
   9732   extra_host_args="$extra_host_args --with-system-zlib"
   9733 fi
   9734 
   9735 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
   9736 # can detect this case.
   9737 
   9738 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
   9739   with_newlib=yes
   9740   extra_host_args="$extra_host_args --with-newlib"
   9741 fi
   9742 
   9743 # Handle ${copy_dirs}
   9744 set fnord ${copy_dirs}
   9745 shift
   9746 while test $# != 0 ; do
   9747   if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
   9748     :
   9749   else
   9750     echo Copying $1 to $2
   9751 
   9752     # Use the install script to create the directory and all required
   9753     # parent directories.
   9754     if test -d $2 ; then
   9755       :
   9756     else
   9757       echo >config.temp
   9758       ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
   9759     fi
   9760 
   9761     # Copy the directory, assuming we have tar.
   9762     # FIXME: Should we use B in the second tar?  Not all systems support it.
   9763     (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
   9764 
   9765     # It is the responsibility of the user to correctly adjust all
   9766     # symlinks.  If somebody can figure out how to handle them correctly
   9767     # here, feel free to add the code.
   9768 
   9769     echo $1 > $2/COPIED
   9770   fi
   9771   shift; shift
   9772 done
   9773 
   9774 # Determine a target-dependent exec_prefix that the installed
   9775 # gcc will search in.  Keep this list sorted by triplet, with
   9776 # the *-*-osname triplets last.
   9777 md_exec_prefix=
   9778 case "${target}" in
   9779   i[34567]86-pc-msdosdjgpp*)
   9780     md_exec_prefix=/dev/env/DJDIR/bin
   9781     ;;
   9782   *-*-hpux* | \
   9783   *-*-nto-qnx* | \
   9784   *-*-solaris2*)
   9785     md_exec_prefix=/usr/ccs/bin
   9786     ;;
   9787 esac
   9788 
   9789 extra_arflags_for_target=
   9790 extra_nmflags_for_target=
   9791 extra_ranlibflags_for_target=
   9792 target_makefile_frag=/dev/null
   9793 case "${target}" in
   9794   spu-*-*)
   9795     target_makefile_frag="config/mt-spu"
   9796     ;;
   9797   loongarch*-*linux* | loongarch*-*gnu*)
   9798     target_makefile_frag="config/mt-loongarch-gnu"
   9799     ;;
   9800   loongarch*-*elf*)
   9801     target_makefile_frag="config/mt-loongarch-elf"
   9802     ;;
   9803   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   9804     target_makefile_frag="config/mt-sde"
   9805     ;;
   9806   mipsisa*-*-elfoabi*)
   9807     target_makefile_frag="config/mt-mips-elfoabi"
   9808     ;;
   9809   mips*-*-*linux* | mips*-*-gnu*)
   9810     target_makefile_frag="config/mt-mips-gnu"
   9811     ;;
   9812   nios2-*-elf*)
   9813     target_makefile_frag="config/mt-nios2-elf"
   9814     ;;
   9815   *-*-linux-android*)
   9816     target_makefile_frag="config/mt-android"
   9817     ;;
   9818   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   9819     target_makefile_frag="config/mt-gnu"
   9820     ;;
   9821   *-*-aix4.[3456789]* | *-*-aix[56789].*)
   9822     # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
   9823     # commands to handle both 32-bit and 64-bit objects.  These flags are
   9824     # harmless if we're using GNU nm or ar.
   9825     extra_arflags_for_target=" -X32_64"
   9826     extra_nmflags_for_target=" -B -X32_64"
   9827     ;;
   9828 esac
   9829 
   9830 alphaieee_frag=/dev/null
   9831 case $target in
   9832   alpha*-*-*)
   9833     # This just makes sure to use the -mieee option to build target libs.
   9834     # This should probably be set individually by each library.
   9835     alphaieee_frag="config/mt-alphaieee"
   9836     ;;
   9837 esac
   9838 
   9839 # If --enable-target-optspace always use -Os instead of -O2 to build
   9840 # the target libraries, similarly if it is not specified, use -Os
   9841 # on selected platforms.
   9842 ospace_frag=/dev/null
   9843 case "${enable_target_optspace}:${target}" in
   9844   yes:*)
   9845     ospace_frag="config/mt-ospace"
   9846     ;;
   9847   :d30v-*)
   9848     ospace_frag="config/mt-d30v"
   9849     ;;
   9850   :m32r-* | :d10v-* | :fr30-* | :i?86*-*-elfiamcu)
   9851     ospace_frag="config/mt-ospace"
   9852     ;;
   9853   no:* | :*)
   9854     ;;
   9855   *)
   9856     echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
   9857     ;;
   9858 esac
   9859 
   9860 # Some systems (e.g., one of the i386-aix systems the gas testers are
   9861 # using) don't handle "\$" correctly, so don't use it here.
   9862 tooldir='${exec_prefix}'/${target_noncanonical}
   9863 build_tooldir=${tooldir}
   9864 
   9865 # Create a .gdbinit file which runs the one in srcdir
   9866 # and tells GDB to look there for source files.
   9867 
   9868 if test -r ${srcdir}/.gdbinit ; then
   9869   case ${srcdir} in
   9870     .) ;;
   9871     *) cat > ./.gdbinit <<EOF
   9872 # ${NO_EDIT}
   9873 dir ${srcdir}
   9874 dir .
   9875 source ${srcdir}/.gdbinit
   9876 EOF
   9877     ;;
   9878   esac
   9879 fi
   9880 
   9881 # Make sure that the compiler is able to generate an executable.  If it
   9882 # can't, we are probably in trouble.  We don't care whether we can run the
   9883 # executable--we might be using a cross compiler--we only care whether it
   9884 # can be created.  At this point the main configure script has set CC.
   9885 we_are_ok=no
   9886 echo "int main () { return 0; }" > conftest.c
   9887 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   9888 if test $? = 0 ; then
   9889   if test -s conftest || test -s conftest.exe ; then
   9890     we_are_ok=yes
   9891   fi
   9892 fi
   9893 case $we_are_ok in
   9894   no)
   9895     echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
   9896     echo 1>&2 "*** You must set the environment variable CC to a working compiler."
   9897     rm -f conftest*
   9898     exit 1
   9899     ;;
   9900 esac
   9901 rm -f conftest*
   9902 
   9903 # Decide which environment variable is used to find dynamic libraries.
   9904 case "${host}" in
   9905   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
   9906   *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
   9907   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
   9908   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
   9909 esac
   9910 
   9911 # On systems where the dynamic library environment variable is PATH,
   9912 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
   9913 # built executables to PATH.
   9914 if test "$RPATH_ENVVAR" = PATH; then
   9915   GCC_SHLIB_SUBDIR=/shlib
   9916 else
   9917   GCC_SHLIB_SUBDIR=
   9918 fi
   9919 
   9920 # Adjust the toplevel makefile according to whether bootstrap was selected.
   9921 case $enable_bootstrap in
   9922   yes)
   9923     bootstrap_suffix=bootstrap
   9924     BUILD_CONFIG=bootstrap-debug
   9925     ;;
   9926   no)
   9927     bootstrap_suffix=no-bootstrap
   9928     BUILD_CONFIG=
   9929     ;;
   9930 esac
   9931 
   9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
   9933 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
   9934 
   9935 
   9936 # Check whether --with-build-config was given.
   9937 if test "${with_build_config+set}" = set; then :
   9938   withval=$with_build_config; case $with_build_config in
   9939    yes) with_build_config= ;;
   9940    no) with_build_config= BUILD_CONFIG= ;;
   9941    esac
   9942 fi
   9943 
   9944 
   9945 if test "x${with_build_config}" != x; then
   9946   BUILD_CONFIG=$with_build_config
   9947 else
   9948   case $BUILD_CONFIG in
   9949   bootstrap-debug)
   9950     if echo "int f (void) { return 0; }" > conftest.c &&
   9951        ${CC} -c conftest.c &&
   9952        mv conftest.o conftest.o.g0 &&
   9953        ${CC} -c -g conftest.c &&
   9954        mv conftest.o conftest.o.g &&
   9955        ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
   9956       :
   9957     else
   9958       BUILD_CONFIG=
   9959     fi
   9960     rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
   9961     ;;
   9962   esac
   9963 fi
   9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
   9965 $as_echo "$BUILD_CONFIG" >&6; }
   9966 
   9967 
   9968 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
   9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
   9970 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
   9971 # Check whether --enable-vtable-verify was given.
   9972 if test "${enable_vtable_verify+set}" = set; then :
   9973   enableval=$enable_vtable_verify; case "$enableval" in
   9974  yes) enable_vtable_verify=yes ;;
   9975  no)  enable_vtable_verify=no ;;
   9976  *)   enable_vtable_verify=no;;
   9977  esac
   9978 else
   9979   enable_vtable_verify=no
   9980 fi
   9981 
   9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
   9983 $as_echo "$enable_vtable_verify" >&6; }
   9984 
   9985 # Record target_configdirs and the configure arguments for target and
   9986 # build configuration in Makefile.
   9987 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
   9988 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
   9989 bootstrap_fixincludes=no
   9990 
   9991 # If we are building libgomp, bootstrap it.
   9992 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
   9993   bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
   9994 fi
   9995 
   9996 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
   9997 # or bootstrap-ubsan, bootstrap it.
   9998 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then
   9999   case "$BUILD_CONFIG" in
   10000     *bootstrap-hwasan* | *bootstrap-asan* | *bootstrap-ubsan* )
   10001       bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
   10002       bootstrap_fixincludes=yes
   10003       ;;
   10004   esac
   10005 fi
   10006 
   10007 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
   10008 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 &&
   10009    test "$enable_vtable_verify" != no; then
   10010   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
   10011 fi
   10012 
   10013 # If we are building libatomic and the list of enabled languages includes the
   10014 # D frontend, bootstrap it.
   10015 if echo " ${target_configdirs} " | grep " libatomic " > /dev/null 2>&1; then
   10016   case ,${enable_languages}, in
   10017     *,d,*)
   10018       bootstrap_target_libs=${bootstrap_target_libs}target-libatomic,
   10019       ;;
   10020   esac
   10021 fi
   10022 
   10023 # Determine whether gdb needs tk/tcl or not.
   10024 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
   10025 # and in that case we want gdb to be built without tk.  Ugh!
   10026 # In fact I believe gdb is the *only* package directly dependent on tk,
   10027 # so we should be able to put the 'maybe's in unconditionally and
   10028 # leave out the maybe dependencies when enable_gdbtk is false.  I'm not
   10029 # 100% sure that that's safe though.
   10030 
   10031 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
   10032 case "$enable_gdbtk" in
   10033   no)
   10034     GDB_TK="" ;;
   10035   yes)
   10036     GDB_TK="${gdb_tk}" ;;
   10037   *)
   10038     # Only add the dependency on gdbtk when GDBtk is part of the gdb
   10039     # distro.  Eventually someone will fix this and move Insight, nee
   10040     # gdbtk to a separate directory.
   10041     if test -d ${srcdir}/gdb/gdbtk ; then
   10042       GDB_TK="${gdb_tk}"
   10043     else
   10044       GDB_TK=""
   10045     fi
   10046     ;;
   10047 esac
   10048 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
   10049 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
   10050 
   10051 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
   10052 # else does, only include them if one of these is built.  The Makefile
   10053 # provides the ordering, so it's enough here to add to the list.
   10054 case " ${configdirs} " in
   10055   *\ gdb\ *)
   10056     configdirs="${configdirs} gnulib gdbsupport"
   10057     ;;
   10058   *\ gdbserver\ *)
   10059     configdirs="${configdirs} gnulib gdbsupport"
   10060     ;;
   10061   *\ sim\ *)
   10062     configdirs="${configdirs} gnulib"
   10063     ;;
   10064 esac
   10065 
   10066 # Strip out unwanted targets.
   10067 
   10068 # While at that, we remove Makefiles if we were started for recursive
   10069 # configuration, so that the top-level Makefile reconfigures them,
   10070 # like we used to do when configure itself was recursive.
   10071 
   10072 # Loop over modules.  We used to use the "$extrasub" feature from Autoconf
   10073 # but now we're fixing up the Makefile ourselves with the additional
   10074 # commands passed to AC_CONFIG_FILES.  Use separate variables
   10075 # extrasub-{build,host,target} not because there is any reason to split
   10076 # the substitutions up that way, but only to remain below the limit of
   10077 # 99 commands in a script, for HP-UX sed.
   10078 
   10079 # Do not nest @if/@endif or @unless/@endunless pairs, because
   10080 # configure will not warn you at all.
   10081 
   10082 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
   10083   yes:yes:*\ gold\ *:*,c++,*) ;;
   10084   yes:yes:*\ gold\ *:*)
   10085     as_fn_error $? "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
   10086     ;;
   10087 esac
   10088 
   10089 extrasub_build=
   10090 for module in ${build_configdirs} ; do
   10091   if test -z "${no_recursion}" \
   10092      && test -f ${build_subdir}/${module}/Makefile; then
   10093     echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
   10094     rm -f ${build_subdir}/${module}/Makefile
   10095   fi
   10096   extrasub_build="$extrasub_build
   10097 /^@if build-$module\$/d
   10098 /^@endif build-$module\$/d
   10099 /^@unless build-$module\$/,/^@endunless build-$module\$/d
   10100 /^@if build-$module-$bootstrap_suffix\$/d
   10101 /^@endif build-$module-$bootstrap_suffix\$/d
   10102 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
   10103 done
   10104 extrasub_host=
   10105 for module in ${configdirs} ; do
   10106   if test -z "${no_recursion}"; then
   10107     for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
   10108       if test -f ${file}; then
   10109 	echo 1>&2 "*** removing ${file} to force reconfigure"
   10110 	rm -f ${file}
   10111       fi
   10112     done
   10113   fi
   10114   case ${module},${bootstrap_fixincludes} in
   10115     fixincludes,no) host_bootstrap_suffix=no-bootstrap ;;
   10116     *) host_bootstrap_suffix=$bootstrap_suffix ;;
   10117   esac
   10118   extrasub_host="$extrasub_host
   10119 /^@if $module\$/d
   10120 /^@endif $module\$/d
   10121 /^@unless $module\$/,/^@endunless $module\$/d
   10122 /^@if $module-$host_bootstrap_suffix\$/d
   10123 /^@endif $module-$host_bootstrap_suffix\$/d
   10124 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
   10125 done
   10126 extrasub_target=
   10127 for module in ${target_configdirs} ; do
   10128   if test -z "${no_recursion}" \
   10129      && test -f ${target_subdir}/${module}/Makefile; then
   10130     echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
   10131     rm -f ${target_subdir}/${module}/Makefile
   10132   fi
   10133 
   10134   # We only bootstrap target libraries listed in bootstrap_target_libs.
   10135   case $bootstrap_target_libs in
   10136     *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
   10137     *) target_bootstrap_suffix=no-bootstrap ;;
   10138   esac
   10139 
   10140   extrasub_target="$extrasub_target
   10141 /^@if target-$module\$/d
   10142 /^@endif target-$module\$/d
   10143 /^@unless target-$module\$/,/^@endunless target-$module\$/d
   10144 /^@if target-$module-$target_bootstrap_suffix\$/d
   10145 /^@endif target-$module-$target_bootstrap_suffix\$/d
   10146 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
   10147 done
   10148 
   10149 # Do the final fixup along with target modules.
   10150 extrasub_target="$extrasub_target
   10151 /^@if /,/^@endif /d
   10152 /^@unless /d
   10153 /^@endunless /d"
   10154 
   10155 if test "$enable_pgo_build" != "no"; then
   10156   extrasub_build="$extrasub_build
   10157 /^@if pgo-build\$/d
   10158 /^@endif pgo-build\$/d"
   10159 fi
   10160 
   10161 # Create the serialization dependencies.  This uses a temporary file.
   10162 
   10163 # Check whether --enable-serial-configure was given.
   10164 if test "${enable_serial_configure+set}" = set; then :
   10165   enableval=$enable_serial_configure;
   10166 fi
   10167 
   10168 
   10169 case ${enable_serial_configure} in
   10170   yes)
   10171     enable_serial_build_configure=yes
   10172     enable_serial_host_configure=yes
   10173     enable_serial_target_configure=yes
   10174     ;;
   10175 esac
   10176 
   10177 # These force 'configure's to be done one at a time, to avoid problems
   10178 # with contention over a shared config.cache.
   10179 rm -f serdep.tmp
   10180 if test "x${enable_serial_build_configure}" = xyes || test "x${enable_serial_host_configure}" = xyes || test "x${enable_serial_target_configure}" = xyes; then
   10181 echo '# serdep.tmp' > serdep.tmp
   10182 fi
   10183 olditem=
   10184 test "x${enable_serial_build_configure}" = xyes &&
   10185 for item in ${build_configdirs} ; do
   10186   case ${olditem} in
   10187     "") ;;
   10188     *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
   10189   esac
   10190   olditem=${item}
   10191 done
   10192 olditem=
   10193 test "x${enable_serial_host_configure}" = xyes &&
   10194 for item in ${configdirs} ; do
   10195   case ${olditem} in
   10196     "") ;;
   10197     *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
   10198   esac
   10199   olditem=${item}
   10200 done
   10201 olditem=
   10202 test "x${enable_serial_target_configure}" = xyes &&
   10203 for item in ${target_configdirs} ; do
   10204   case ${olditem} in
   10205     "") ;;
   10206     *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
   10207   esac
   10208   olditem=${item}
   10209 done
   10210 serialization_dependencies=serdep.tmp
   10211 
   10212 
   10213 # Base args.  Strip norecursion, cache-file, srcdir, host, build,
   10214 # target, nonopt, and variable assignments.  These are the ones we
   10215 # might not want to pass down to subconfigures.  The exception being
   10216 # --cache-file=/dev/null, which is used to turn off the use of cache
   10217 # files altogether, and which should be passed on to subconfigures.
   10218 # Also strip program-prefix, program-suffix, and program-transform-name,
   10219 # so that we can pass down a consistent program-transform-name.
   10220 hbaseargs=
   10221 bbaseargs=
   10222 tbaseargs=
   10223 keep_next=no
   10224 skip_next=no
   10225 eval "set -- $ac_configure_args"
   10226 for ac_arg
   10227 do
   10228   if test X"$skip_next" = X"yes"; then
   10229     skip_next=no
   10230     continue
   10231   fi
   10232   if test X"$keep_next" = X"yes"; then
   10233     case $ac_arg in
   10234       *\'*)
   10235 	ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10236     esac
   10237     hbaseargs="$hbaseargs '$ac_arg'"
   10238     bbaseargs="$bbaseargs '$ac_arg'"
   10239     tbaseargs="$tbaseargs '$ac_arg'"
   10240     keep_next=no
   10241     continue
   10242   fi
   10243 
   10244   # Handle separated arguments.  Based on the logic generated by
   10245   # autoconf 2.59.
   10246   case $ac_arg in
   10247     *=* | --config-cache | -C | -disable-* | --disable-* \
   10248       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   10249       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   10250       | -with-* | --with-* | -without-* | --without-* | --x)
   10251       separate_arg=no
   10252       ;;
   10253     -*)
   10254       separate_arg=yes
   10255       ;;
   10256     *)
   10257       separate_arg=no
   10258       ;;
   10259   esac
   10260 
   10261   skip_targ=no
   10262   skip_barg=no
   10263   case $ac_arg in
   10264 
   10265   --with-* | --without-*)
   10266     libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
   10267 
   10268     case $libopt in
   10269     *[-_]include)
   10270       lib=`echo "$libopt" | sed 's,[-_]include$,,'`
   10271       ;;
   10272     *[-_]lib)
   10273       lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
   10274       ;;
   10275     *[-_]prefix)
   10276       lib=`echo "$libopt" | sed 's,[-_]prefix$,,'`
   10277       ;;
   10278     *[-_]type)
   10279       lib=`echo "$libopt" | sed 's,[-_]type$,,'`
   10280       ;;
   10281     *)
   10282       lib=$libopt
   10283       ;;
   10284     esac
   10285 
   10286 
   10287     case $lib in
   10288     mpc | mpfr | gmp | isl)
   10289       # If we're processing --with-$lib, --with-$lib-include or
   10290       # --with-$lib-lib, for one of the libs above, and target is
   10291       # different from host, don't pass the current argument to any
   10292       # target library's configure.
   10293       if test x$is_cross_compiler = xyes; then
   10294         skip_targ=yes
   10295       fi
   10296       ;;
   10297     libintl | libiconv)
   10298       # We don't want libintl (and co.) in anything but the host arguments.
   10299       skip_targ=yes
   10300       skip_barg=yes
   10301       ;;
   10302     esac
   10303     ;;
   10304   esac
   10305 
   10306   case "$ac_arg" in
   10307     --cache-file=/dev/null | \
   10308     -cache-file=/dev/null )
   10309       # Handled here to avoid the test to skip args below.
   10310       hbaseargs="$hbaseargs '$ac_arg'"
   10311       bbaseargs="$bbaseargs '$ac_arg'"
   10312       tbaseargs="$tbaseargs '$ac_arg'"
   10313       # Assert: $separate_arg should always be no.
   10314       keep_next=$separate_arg
   10315       ;;
   10316     --no*)
   10317       continue
   10318       ;;
   10319     --c* | \
   10320     --sr* | \
   10321     --ho* | \
   10322     --bu* | \
   10323     --t* | \
   10324     --program-* | \
   10325     -cache_file* | \
   10326     -srcdir* | \
   10327     -host* | \
   10328     -build* | \
   10329     -target* | \
   10330     -program-prefix* | \
   10331     -program-suffix* | \
   10332     -program-transform-name* )
   10333       skip_next=$separate_arg
   10334       continue
   10335       ;;
   10336     -*)
   10337       # An option.  Add it.
   10338       case $ac_arg in
   10339 	*\'*)
   10340 	  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10341       esac
   10342       hbaseargs="$hbaseargs '$ac_arg'"
   10343       if test X"$skip_barg" = Xno; then
   10344 	bbaseargs="$bbaseargs '$ac_arg'"
   10345       fi
   10346       if test X"$skip_targ" = Xno; then
   10347         tbaseargs="$tbaseargs '$ac_arg'"
   10348       fi
   10349       keep_next=$separate_arg
   10350       ;;
   10351     *)
   10352       # Either a variable assignment, or a nonopt (triplet).  Don't
   10353       # pass it down; let the Makefile handle this.
   10354       continue
   10355       ;;
   10356   esac
   10357 done
   10358 # Remove the initial space we just introduced and, as these will be
   10359 # expanded by make, quote '$'.
   10360 hbaseargs=`echo "x$hbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   10361 bbaseargs=`echo "x$bbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   10362 
   10363 # Add in --program-transform-name, after --program-prefix and
   10364 # --program-suffix have been applied to it.  Autoconf has already
   10365 # doubled dollar signs and backslashes in program_transform_name; we want
   10366 # the backslashes un-doubled, and then the entire thing wrapped in single
   10367 # quotes, because this will be expanded first by make and then by the shell.
   10368 # Also, because we want to override the logic in subdir configure scripts to
   10369 # choose program_transform_name, replace any s,x,x, with s,y,y,.
   10370 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
   10371 ${program_transform_name}
   10372 EOF_SED
   10373 gcc_transform_name=`cat conftestsed.out`
   10374 rm -f conftestsed.out
   10375 hbaseargs="$hbaseargs --program-transform-name='${gcc_transform_name}'"
   10376 bbaseargs="$bbaseargs --program-transform-name='${gcc_transform_name}'"
   10377 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
   10378 if test "$silent" = yes; then
   10379   bbaseargs="$bbaseargs --silent"
   10380   hbaseargs="$hbaseargs --silent"
   10381   tbaseargs="$tbaseargs --silent"
   10382 fi
   10383 
   10384 bbaseargs="$bbaseargs --disable-option-checking"
   10385 hbaseargs="$hbaseargs --disable-option-checking"
   10386 tbaseargs="$tbaseargs --disable-option-checking"
   10387 
   10388 if test "$enable_year2038" = no; then
   10389   baseargs="$baseargs --disable-year2038"
   10390   tbaseargs="$tbaseargs --disable-year2038"
   10391 fi
   10392 
   10393 # Record and document user additions to sub configure arguments.
   10394 
   10395 
   10396 
   10397 
   10398 # For the build-side libraries, we just need to pretend we're native,
   10399 # and not use the same cache file.  Multilibs are neither needed nor
   10400 # desired.  We can't even use the same cache file for all build-side
   10401 # libraries, as they're compiled differently; some with C, some with
   10402 # C++ or with different feature-enabling options.
   10403 build_configargs="$build_configargs --cache-file=./config.cache ${bbaseargs}"
   10404 
   10405 # For host modules, accept cache file option, or specification as blank.
   10406 case "${cache_file}" in
   10407 "") # empty
   10408   cache_file_option="" ;;
   10409 /* | [A-Za-z]:[\\/]* ) # absolute path
   10410   cache_file_option="--cache-file=${cache_file}" ;;
   10411 *) # relative path
   10412   cache_file_option="--cache-file=../${cache_file}" ;;
   10413 esac
   10414 
   10415 # Host dirs don't like to share a cache file either, horribly enough.
   10416 # This seems to be due to autoconf 2.5x stupidity.
   10417 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${hbaseargs}"
   10418 
   10419 target_configargs="$target_configargs ${tbaseargs}"
   10420 
   10421 # Passing a --with-cross-host argument lets the target libraries know
   10422 # whether they are being built with a cross-compiler or being built
   10423 # native.  However, it would be better to use other mechanisms to make the
   10424 # sorts of decisions they want to make on this basis.  Please consider
   10425 # this option to be deprecated.  FIXME.
   10426 if test x${is_cross_compiler} = xyes ; then
   10427   target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
   10428 fi
   10429 
   10430 # Special user-friendly check for native x86_64-linux build, if
   10431 # multilib is not explicitly enabled.
   10432 case "$target:$have_compiler:$host:$target:$enable_multilib" in
   10433   x86_64-*linux*:yes:$build:$build:)
   10434     # Make sure we have a development environment that handles 32-bit
   10435     dev64=no
   10436     echo "int main () { return 0; }" > conftest.c
   10437     ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
   10438     if test $? = 0 ; then
   10439       if test -s conftest || test -s conftest.exe ; then
   10440 	dev64=yes
   10441       fi
   10442     fi
   10443     rm -f conftest*
   10444     if test x${dev64} != xyes ; then
   10445       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
   10446     fi
   10447     ;;
   10448 esac
   10449 
   10450 # Default to --enable-multilib.
   10451 if test x${enable_multilib} = x ; then
   10452   target_configargs="--enable-multilib ${target_configargs}"
   10453 fi
   10454 
   10455 # Pass --with-newlib if appropriate.  Note that target_configdirs has
   10456 # changed from the earlier setting of with_newlib.
   10457 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
   10458   target_configargs="--with-newlib ${target_configargs}"
   10459 fi
   10460 
   10461 # Different target subdirs use different values of certain variables
   10462 # (notably CXX).  Worse, multilibs use *lots* of different values.
   10463 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
   10464 # it doesn't automatically accept command-line overrides of them.
   10465 # This means it's not safe for target subdirs to share a cache file,
   10466 # which is disgusting, but there you have it.  Hopefully this can be
   10467 # fixed in future.  It's still worthwhile to use a cache file for each
   10468 # directory.  I think.
   10469 
   10470 # Pass the appropriate --build, --host, --target and --cache-file arguments.
   10471 # We need to pass --target, as newer autoconf's requires consistency
   10472 # for target_alias and gcc doesn't manage it consistently.
   10473 target_configargs="--cache-file=./config.cache ${target_configargs}"
   10474 
   10475 FLAGS_FOR_TARGET=
   10476 case " $target_configdirs " in
   10477  *" newlib "*)
   10478   case " $target_configargs " in
   10479   *" --with-newlib "*)
   10480    case "$target" in
   10481     *-cygwin*)
   10482       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
   10483       ;;
   10484    esac
   10485 
   10486    # If we're not building GCC, don't discard standard headers.
   10487    if test -d ${srcdir}/gcc; then
   10488      FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
   10489 
   10490      if test "${build}" != "${host}"; then
   10491        # On Canadian crosses, CC_FOR_TARGET will have already been set
   10492        # by `configure', so we won't have an opportunity to add -Bgcc/
   10493        # to it.  This is right: we don't want to search that directory
   10494        # for binaries, but we want the header files in there, so add
   10495        # them explicitly.
   10496        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
   10497 
   10498        # Someone might think of using the pre-installed headers on
   10499        # Canadian crosses, in case the installed compiler is not fully
   10500        # compatible with the compiler being built.  In this case, it
   10501        # would be better to flag an error than risking having
   10502        # incompatible object files being constructed.  We can't
   10503        # guarantee that an error will be flagged, but let's hope the
   10504        # compiler will do it, when presented with incompatible header
   10505        # files.
   10506      fi
   10507    fi
   10508 
   10509    case "${target}-${is_cross_compiler}" in
   10510    i[3456789]86-*-linux*-no)
   10511       # Here host == target, so we don't need to build gcc,
   10512       # so we don't want to discard standard headers.
   10513       FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
   10514       ;;
   10515    *)
   10516       # If we're building newlib, use its generic headers last, but search
   10517       # for any libc-related directories first (so make it the last -B
   10518       # switch).
   10519       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
   10520 
   10521       # If we're building libgloss, find the startup file, simulator library
   10522       # and linker script.
   10523       case " $target_configdirs " in
   10524 	*" libgloss "*)
   10525 	# Look for startup file, simulator library and maybe linker script.
   10526 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
   10527 	# Look for libnosys.a in case the target needs it.
   10528 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
   10529 	# Most targets have the linker script in the source directory.
   10530 	FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
   10531 	;;
   10532       esac
   10533       ;;
   10534    esac
   10535    ;;
   10536   esac
   10537   ;;
   10538 esac
   10539 
   10540 case "$target" in
   10541   x86_64-*mingw* | *-w64-mingw*)
   10542   # MinGW-w64 does not use newlib, nor does it use winsup. It may,
   10543   # however, use a symlink named 'mingw' in ${prefix} .
   10544     FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
   10545     ;;
   10546   *-mingw*)
   10547   # MinGW can't be handled as Cygwin above since it does not use newlib.
   10548     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'
   10549     ;;
   10550 esac
   10551 
   10552 # Allow the user to override the flags for
   10553 # our build compiler if desired.
   10554 if test x"${build}" = x"${host}" ; then
   10555   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   10556   CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
   10557   CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
   10558   LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   10559 fi
   10560 
   10561 # On Canadian crosses, we'll be searching the right directories for
   10562 # the previously-installed cross compiler, so don't bother to add
   10563 # flags for directories within the install tree of the compiler
   10564 # being built; programs in there won't even run.
   10565 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
   10566   # Search for pre-installed headers if nothing else fits.
   10567   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
   10568 fi
   10569 
   10570 if test "x${use_gnu_ld}" = x &&
   10571    echo " ${configdirs} " | grep " ld " > /dev/null ; then
   10572   # Arrange for us to find uninstalled linker scripts.
   10573   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
   10574 fi
   10575 
   10576 # Search for other target-specific linker scripts and such.
   10577 case "${target}" in
   10578   mep*)
   10579     FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
   10580     ;;
   10581   # The VxWorks support for shared libraries is getting in
   10582   # incrementally.  Make sure it doesn't get activated implicitly:
   10583   *vxworks*)
   10584     if test "${enable_shared-unset}" = unset ; then
   10585       enable_shared=no
   10586       # So the build of libraries knows ...
   10587       target_configargs="${target_configargs} --disable-shared"
   10588       # So gcc knows ...
   10589       host_configargs="${host_configargs} --disable-shared"
   10590     fi
   10591     ;;
   10592 esac
   10593 
   10594 # Makefile fragments.
   10595 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
   10596 do
   10597   eval fragval=\$$frag
   10598   if test $fragval != /dev/null; then
   10599     eval $frag=${srcdir}/$fragval
   10600   fi
   10601 done
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 # Miscellanea: directories, flags, etc.
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 # Build module lists & subconfigure args.
   10617 
   10618 
   10619 
   10620 # Host module lists & subconfigure args.
   10621 
   10622 
   10623 
   10624 
   10625 # Target module lists & subconfigure args.
   10626 
   10627 
   10628 
   10629 # Build tools.
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 # Generate default definitions for YACC, M4, LEX and other programs that run
   10651 # on the build machine.  These are used if the Makefile can't locate these
   10652 # programs in objdir.
   10653 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   10654 
   10655 for ac_prog in 'bison -y' byacc yacc
   10656 do
   10657   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10658 set dummy $ac_prog; ac_word=$2
   10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10660 $as_echo_n "checking for $ac_word... " >&6; }
   10661 if ${ac_cv_prog_YACC+:} false; then :
   10662   $as_echo_n "(cached) " >&6
   10663 else
   10664   if test -n "$YACC"; then
   10665   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10666 else
   10667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10668 for as_dir in $PATH
   10669 do
   10670   IFS=$as_save_IFS
   10671   test -z "$as_dir" && as_dir=.
   10672     for ac_exec_ext in '' $ac_executable_extensions; do
   10673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10674     ac_cv_prog_YACC="$ac_prog"
   10675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10676     break 2
   10677   fi
   10678 done
   10679   done
   10680 IFS=$as_save_IFS
   10681 
   10682 fi
   10683 fi
   10684 YACC=$ac_cv_prog_YACC
   10685 if test -n "$YACC"; then
   10686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10687 $as_echo "$YACC" >&6; }
   10688 else
   10689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10690 $as_echo "no" >&6; }
   10691 fi
   10692 
   10693 
   10694   test -n "$YACC" && break
   10695 done
   10696 test -n "$YACC" || YACC="$MISSING bison -y"
   10697 
   10698 case " $build_configdirs " in
   10699   *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
   10700 esac
   10701 
   10702 for ac_prog in bison
   10703 do
   10704   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10705 set dummy $ac_prog; ac_word=$2
   10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10707 $as_echo_n "checking for $ac_word... " >&6; }
   10708 if ${ac_cv_prog_BISON+:} false; then :
   10709   $as_echo_n "(cached) " >&6
   10710 else
   10711   if test -n "$BISON"; then
   10712   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   10713 else
   10714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10715 for as_dir in $PATH
   10716 do
   10717   IFS=$as_save_IFS
   10718   test -z "$as_dir" && as_dir=.
   10719     for ac_exec_ext in '' $ac_executable_extensions; do
   10720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10721     ac_cv_prog_BISON="$ac_prog"
   10722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10723     break 2
   10724   fi
   10725 done
   10726   done
   10727 IFS=$as_save_IFS
   10728 
   10729 fi
   10730 fi
   10731 BISON=$ac_cv_prog_BISON
   10732 if test -n "$BISON"; then
   10733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   10734 $as_echo "$BISON" >&6; }
   10735 else
   10736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10737 $as_echo "no" >&6; }
   10738 fi
   10739 
   10740 
   10741   test -n "$BISON" && break
   10742 done
   10743 test -n "$BISON" || BISON="$MISSING bison"
   10744 
   10745 case " $build_configdirs " in
   10746   *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
   10747 esac
   10748 
   10749 for ac_prog in gm4 gnum4 m4
   10750 do
   10751   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10752 set dummy $ac_prog; ac_word=$2
   10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10754 $as_echo_n "checking for $ac_word... " >&6; }
   10755 if ${ac_cv_prog_M4+:} false; then :
   10756   $as_echo_n "(cached) " >&6
   10757 else
   10758   if test -n "$M4"; then
   10759   ac_cv_prog_M4="$M4" # Let the user override the test.
   10760 else
   10761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10762 for as_dir in $PATH
   10763 do
   10764   IFS=$as_save_IFS
   10765   test -z "$as_dir" && as_dir=.
   10766     for ac_exec_ext in '' $ac_executable_extensions; do
   10767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10768     ac_cv_prog_M4="$ac_prog"
   10769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10770     break 2
   10771   fi
   10772 done
   10773   done
   10774 IFS=$as_save_IFS
   10775 
   10776 fi
   10777 fi
   10778 M4=$ac_cv_prog_M4
   10779 if test -n "$M4"; then
   10780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   10781 $as_echo "$M4" >&6; }
   10782 else
   10783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10784 $as_echo "no" >&6; }
   10785 fi
   10786 
   10787 
   10788   test -n "$M4" && break
   10789 done
   10790 test -n "$M4" || M4="$MISSING m4"
   10791 
   10792 case " $build_configdirs " in
   10793   *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
   10794 esac
   10795 
   10796 for ac_prog in flex lex
   10797 do
   10798   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10799 set dummy $ac_prog; ac_word=$2
   10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10801 $as_echo_n "checking for $ac_word... " >&6; }
   10802 if ${ac_cv_prog_LEX+:} false; then :
   10803   $as_echo_n "(cached) " >&6
   10804 else
   10805   if test -n "$LEX"; then
   10806   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   10807 else
   10808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10809 for as_dir in $PATH
   10810 do
   10811   IFS=$as_save_IFS
   10812   test -z "$as_dir" && as_dir=.
   10813     for ac_exec_ext in '' $ac_executable_extensions; do
   10814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10815     ac_cv_prog_LEX="$ac_prog"
   10816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10817     break 2
   10818   fi
   10819 done
   10820   done
   10821 IFS=$as_save_IFS
   10822 
   10823 fi
   10824 fi
   10825 LEX=$ac_cv_prog_LEX
   10826 if test -n "$LEX"; then
   10827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   10828 $as_echo "$LEX" >&6; }
   10829 else
   10830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10831 $as_echo "no" >&6; }
   10832 fi
   10833 
   10834 
   10835   test -n "$LEX" && break
   10836 done
   10837 test -n "$LEX" || LEX="$MISSING flex"
   10838 
   10839 case " $build_configdirs " in
   10840   *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   10841   *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
   10842 esac
   10843 
   10844 for ac_prog in flex
   10845 do
   10846   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10847 set dummy $ac_prog; ac_word=$2
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10849 $as_echo_n "checking for $ac_word... " >&6; }
   10850 if ${ac_cv_prog_FLEX+:} false; then :
   10851   $as_echo_n "(cached) " >&6
   10852 else
   10853   if test -n "$FLEX"; then
   10854   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
   10855 else
   10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10857 for as_dir in $PATH
   10858 do
   10859   IFS=$as_save_IFS
   10860   test -z "$as_dir" && as_dir=.
   10861     for ac_exec_ext in '' $ac_executable_extensions; do
   10862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10863     ac_cv_prog_FLEX="$ac_prog"
   10864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10865     break 2
   10866   fi
   10867 done
   10868   done
   10869 IFS=$as_save_IFS
   10870 
   10871 fi
   10872 fi
   10873 FLEX=$ac_cv_prog_FLEX
   10874 if test -n "$FLEX"; then
   10875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
   10876 $as_echo "$FLEX" >&6; }
   10877 else
   10878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10879 $as_echo "no" >&6; }
   10880 fi
   10881 
   10882 
   10883   test -n "$FLEX" && break
   10884 done
   10885 test -n "$FLEX" || FLEX="$MISSING flex"
   10886 
   10887 case " $build_configdirs " in
   10888   *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
   10889 esac
   10890 
   10891 for ac_prog in makeinfo
   10892 do
   10893   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10894 set dummy $ac_prog; ac_word=$2
   10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10896 $as_echo_n "checking for $ac_word... " >&6; }
   10897 if ${ac_cv_prog_MAKEINFO+:} false; then :
   10898   $as_echo_n "(cached) " >&6
   10899 else
   10900   if test -n "$MAKEINFO"; then
   10901   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   10902 else
   10903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10904 for as_dir in $PATH
   10905 do
   10906   IFS=$as_save_IFS
   10907   test -z "$as_dir" && as_dir=.
   10908     for ac_exec_ext in '' $ac_executable_extensions; do
   10909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10910     ac_cv_prog_MAKEINFO="$ac_prog"
   10911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10912     break 2
   10913   fi
   10914 done
   10915   done
   10916 IFS=$as_save_IFS
   10917 
   10918 fi
   10919 fi
   10920 MAKEINFO=$ac_cv_prog_MAKEINFO
   10921 if test -n "$MAKEINFO"; then
   10922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   10923 $as_echo "$MAKEINFO" >&6; }
   10924 else
   10925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10926 $as_echo "no" >&6; }
   10927 fi
   10928 
   10929 
   10930   test -n "$MAKEINFO" && break
   10931 done
   10932 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   10933 
   10934 case " $build_configdirs " in
   10935   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
   10936   *)
   10937 
   10938     # For an installed makeinfo, we require it to be from texinfo 4.7 or
   10939     # higher, else we use the "missing" dummy.
   10940     if ${MAKEINFO} --version \
   10941        | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
   10942       :
   10943     else
   10944       MAKEINFO="$MISSING makeinfo"
   10945     fi
   10946     ;;
   10947 
   10948 esac
   10949 
   10950 # FIXME: expect and dejagnu may become build tools?
   10951 
   10952 for ac_prog in expect
   10953 do
   10954   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10955 set dummy $ac_prog; ac_word=$2
   10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10957 $as_echo_n "checking for $ac_word... " >&6; }
   10958 if ${ac_cv_prog_EXPECT+:} false; then :
   10959   $as_echo_n "(cached) " >&6
   10960 else
   10961   if test -n "$EXPECT"; then
   10962   ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
   10963 else
   10964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10965 for as_dir in $PATH
   10966 do
   10967   IFS=$as_save_IFS
   10968   test -z "$as_dir" && as_dir=.
   10969     for ac_exec_ext in '' $ac_executable_extensions; do
   10970   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10971     ac_cv_prog_EXPECT="$ac_prog"
   10972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10973     break 2
   10974   fi
   10975 done
   10976   done
   10977 IFS=$as_save_IFS
   10978 
   10979 fi
   10980 fi
   10981 EXPECT=$ac_cv_prog_EXPECT
   10982 if test -n "$EXPECT"; then
   10983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   10984 $as_echo "$EXPECT" >&6; }
   10985 else
   10986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10987 $as_echo "no" >&6; }
   10988 fi
   10989 
   10990 
   10991   test -n "$EXPECT" && break
   10992 done
   10993 test -n "$EXPECT" || EXPECT="expect"
   10994 
   10995 case " $configdirs " in
   10996   *" expect "*)
   10997     test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
   10998     ;;
   10999 esac
   11000 
   11001 for ac_prog in runtest
   11002 do
   11003   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11004 set dummy $ac_prog; ac_word=$2
   11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11006 $as_echo_n "checking for $ac_word... " >&6; }
   11007 if ${ac_cv_prog_RUNTEST+:} false; then :
   11008   $as_echo_n "(cached) " >&6
   11009 else
   11010   if test -n "$RUNTEST"; then
   11011   ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
   11012 else
   11013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11014 for as_dir in $PATH
   11015 do
   11016   IFS=$as_save_IFS
   11017   test -z "$as_dir" && as_dir=.
   11018     for ac_exec_ext in '' $ac_executable_extensions; do
   11019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11020     ac_cv_prog_RUNTEST="$ac_prog"
   11021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11022     break 2
   11023   fi
   11024 done
   11025   done
   11026 IFS=$as_save_IFS
   11027 
   11028 fi
   11029 fi
   11030 RUNTEST=$ac_cv_prog_RUNTEST
   11031 if test -n "$RUNTEST"; then
   11032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
   11033 $as_echo "$RUNTEST" >&6; }
   11034 else
   11035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11036 $as_echo "no" >&6; }
   11037 fi
   11038 
   11039 
   11040   test -n "$RUNTEST" && break
   11041 done
   11042 test -n "$RUNTEST" || RUNTEST="runtest"
   11043 
   11044 case " $configdirs " in
   11045   *" dejagnu "*)
   11046     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
   11047     ;;
   11048 esac
   11049 
   11050 
   11051 # Host tools.
   11052 ncn_tool_prefix=
   11053 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
   11054 ncn_target_tool_prefix=
   11055 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
   11056 
   11057 
   11058 
   11059 if test -n "$AR"; then
   11060   ac_cv_prog_AR=$AR
   11061 elif test -n "$ac_cv_prog_AR"; then
   11062   AR=$ac_cv_prog_AR
   11063 fi
   11064 
   11065 if test -n "$ac_cv_prog_AR"; then
   11066   for ncn_progname in ar; do
   11067     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11068 set dummy ${ncn_progname}; ac_word=$2
   11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11070 $as_echo_n "checking for $ac_word... " >&6; }
   11071 if ${ac_cv_prog_AR+:} false; then :
   11072   $as_echo_n "(cached) " >&6
   11073 else
   11074   if test -n "$AR"; then
   11075   ac_cv_prog_AR="$AR" # Let the user override the test.
   11076 else
   11077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11078 for as_dir in $PATH
   11079 do
   11080   IFS=$as_save_IFS
   11081   test -z "$as_dir" && as_dir=.
   11082     for ac_exec_ext in '' $ac_executable_extensions; do
   11083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11084     ac_cv_prog_AR="${ncn_progname}"
   11085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11086     break 2
   11087   fi
   11088 done
   11089   done
   11090 IFS=$as_save_IFS
   11091 
   11092 fi
   11093 fi
   11094 AR=$ac_cv_prog_AR
   11095 if test -n "$AR"; then
   11096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   11097 $as_echo "$AR" >&6; }
   11098 else
   11099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11100 $as_echo "no" >&6; }
   11101 fi
   11102 
   11103 
   11104   done
   11105 fi
   11106 
   11107 for ncn_progname in ar; do
   11108   if test -n "$ncn_tool_prefix"; then
   11109     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11110 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11112 $as_echo_n "checking for $ac_word... " >&6; }
   11113 if ${ac_cv_prog_AR+:} false; then :
   11114   $as_echo_n "(cached) " >&6
   11115 else
   11116   if test -n "$AR"; then
   11117   ac_cv_prog_AR="$AR" # Let the user override the test.
   11118 else
   11119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11120 for as_dir in $PATH
   11121 do
   11122   IFS=$as_save_IFS
   11123   test -z "$as_dir" && as_dir=.
   11124     for ac_exec_ext in '' $ac_executable_extensions; do
   11125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11126     ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
   11127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11128     break 2
   11129   fi
   11130 done
   11131   done
   11132 IFS=$as_save_IFS
   11133 
   11134 fi
   11135 fi
   11136 AR=$ac_cv_prog_AR
   11137 if test -n "$AR"; then
   11138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   11139 $as_echo "$AR" >&6; }
   11140 else
   11141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11142 $as_echo "no" >&6; }
   11143 fi
   11144 
   11145 
   11146   fi
   11147   if test -z "$ac_cv_prog_AR" && test $build = $host ; then
   11148     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11149 set dummy ${ncn_progname}; ac_word=$2
   11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11151 $as_echo_n "checking for $ac_word... " >&6; }
   11152 if ${ac_cv_prog_AR+:} false; then :
   11153   $as_echo_n "(cached) " >&6
   11154 else
   11155   if test -n "$AR"; then
   11156   ac_cv_prog_AR="$AR" # Let the user override the test.
   11157 else
   11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11159 for as_dir in $PATH
   11160 do
   11161   IFS=$as_save_IFS
   11162   test -z "$as_dir" && as_dir=.
   11163     for ac_exec_ext in '' $ac_executable_extensions; do
   11164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11165     ac_cv_prog_AR="${ncn_progname}"
   11166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11167     break 2
   11168   fi
   11169 done
   11170   done
   11171 IFS=$as_save_IFS
   11172 
   11173 fi
   11174 fi
   11175 AR=$ac_cv_prog_AR
   11176 if test -n "$AR"; then
   11177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   11178 $as_echo "$AR" >&6; }
   11179 else
   11180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11181 $as_echo "no" >&6; }
   11182 fi
   11183 
   11184 
   11185   fi
   11186   test -n "$ac_cv_prog_AR" && break
   11187 done
   11188 
   11189 if test -z "$ac_cv_prog_AR" ; then
   11190   set dummy ar
   11191   if test $build = $host ; then
   11192     AR="$2"
   11193   else
   11194     AR="${ncn_tool_prefix}$2"
   11195   fi
   11196 fi
   11197 
   11198 
   11199 
   11200 if test -n "$AS"; then
   11201   ac_cv_prog_AS=$AS
   11202 elif test -n "$ac_cv_prog_AS"; then
   11203   AS=$ac_cv_prog_AS
   11204 fi
   11205 
   11206 if test -n "$ac_cv_prog_AS"; then
   11207   for ncn_progname in as; do
   11208     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11209 set dummy ${ncn_progname}; ac_word=$2
   11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11211 $as_echo_n "checking for $ac_word... " >&6; }
   11212 if ${ac_cv_prog_AS+:} false; then :
   11213   $as_echo_n "(cached) " >&6
   11214 else
   11215   if test -n "$AS"; then
   11216   ac_cv_prog_AS="$AS" # Let the user override the test.
   11217 else
   11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11219 for as_dir in $PATH
   11220 do
   11221   IFS=$as_save_IFS
   11222   test -z "$as_dir" && as_dir=.
   11223     for ac_exec_ext in '' $ac_executable_extensions; do
   11224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11225     ac_cv_prog_AS="${ncn_progname}"
   11226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11227     break 2
   11228   fi
   11229 done
   11230   done
   11231 IFS=$as_save_IFS
   11232 
   11233 fi
   11234 fi
   11235 AS=$ac_cv_prog_AS
   11236 if test -n "$AS"; then
   11237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   11238 $as_echo "$AS" >&6; }
   11239 else
   11240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11241 $as_echo "no" >&6; }
   11242 fi
   11243 
   11244 
   11245   done
   11246 fi
   11247 
   11248 for ncn_progname in as; do
   11249   if test -n "$ncn_tool_prefix"; then
   11250     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11251 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11253 $as_echo_n "checking for $ac_word... " >&6; }
   11254 if ${ac_cv_prog_AS+:} false; then :
   11255   $as_echo_n "(cached) " >&6
   11256 else
   11257   if test -n "$AS"; then
   11258   ac_cv_prog_AS="$AS" # Let the user override the test.
   11259 else
   11260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11261 for as_dir in $PATH
   11262 do
   11263   IFS=$as_save_IFS
   11264   test -z "$as_dir" && as_dir=.
   11265     for ac_exec_ext in '' $ac_executable_extensions; do
   11266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11267     ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
   11268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11269     break 2
   11270   fi
   11271 done
   11272   done
   11273 IFS=$as_save_IFS
   11274 
   11275 fi
   11276 fi
   11277 AS=$ac_cv_prog_AS
   11278 if test -n "$AS"; then
   11279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   11280 $as_echo "$AS" >&6; }
   11281 else
   11282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11283 $as_echo "no" >&6; }
   11284 fi
   11285 
   11286 
   11287   fi
   11288   if test -z "$ac_cv_prog_AS" && test $build = $host ; then
   11289     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11290 set dummy ${ncn_progname}; ac_word=$2
   11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11292 $as_echo_n "checking for $ac_word... " >&6; }
   11293 if ${ac_cv_prog_AS+:} false; then :
   11294   $as_echo_n "(cached) " >&6
   11295 else
   11296   if test -n "$AS"; then
   11297   ac_cv_prog_AS="$AS" # Let the user override the test.
   11298 else
   11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11300 for as_dir in $PATH
   11301 do
   11302   IFS=$as_save_IFS
   11303   test -z "$as_dir" && as_dir=.
   11304     for ac_exec_ext in '' $ac_executable_extensions; do
   11305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11306     ac_cv_prog_AS="${ncn_progname}"
   11307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11308     break 2
   11309   fi
   11310 done
   11311   done
   11312 IFS=$as_save_IFS
   11313 
   11314 fi
   11315 fi
   11316 AS=$ac_cv_prog_AS
   11317 if test -n "$AS"; then
   11318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   11319 $as_echo "$AS" >&6; }
   11320 else
   11321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11322 $as_echo "no" >&6; }
   11323 fi
   11324 
   11325 
   11326   fi
   11327   test -n "$ac_cv_prog_AS" && break
   11328 done
   11329 
   11330 if test -z "$ac_cv_prog_AS" ; then
   11331   set dummy as
   11332   if test $build = $host ; then
   11333     AS="$2"
   11334   else
   11335     AS="${ncn_tool_prefix}$2"
   11336   fi
   11337 fi
   11338 
   11339 
   11340 
   11341 if test -n "$DLLTOOL"; then
   11342   ac_cv_prog_DLLTOOL=$DLLTOOL
   11343 elif test -n "$ac_cv_prog_DLLTOOL"; then
   11344   DLLTOOL=$ac_cv_prog_DLLTOOL
   11345 fi
   11346 
   11347 if test -n "$ac_cv_prog_DLLTOOL"; then
   11348   for ncn_progname in dlltool; do
   11349     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11350 set dummy ${ncn_progname}; ac_word=$2
   11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11352 $as_echo_n "checking for $ac_word... " >&6; }
   11353 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11354   $as_echo_n "(cached) " >&6
   11355 else
   11356   if test -n "$DLLTOOL"; then
   11357   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11358 else
   11359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11360 for as_dir in $PATH
   11361 do
   11362   IFS=$as_save_IFS
   11363   test -z "$as_dir" && as_dir=.
   11364     for ac_exec_ext in '' $ac_executable_extensions; do
   11365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11366     ac_cv_prog_DLLTOOL="${ncn_progname}"
   11367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11368     break 2
   11369   fi
   11370 done
   11371   done
   11372 IFS=$as_save_IFS
   11373 
   11374 fi
   11375 fi
   11376 DLLTOOL=$ac_cv_prog_DLLTOOL
   11377 if test -n "$DLLTOOL"; then
   11378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11379 $as_echo "$DLLTOOL" >&6; }
   11380 else
   11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11382 $as_echo "no" >&6; }
   11383 fi
   11384 
   11385 
   11386   done
   11387 fi
   11388 
   11389 for ncn_progname in dlltool; do
   11390   if test -n "$ncn_tool_prefix"; then
   11391     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11392 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11394 $as_echo_n "checking for $ac_word... " >&6; }
   11395 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11396   $as_echo_n "(cached) " >&6
   11397 else
   11398   if test -n "$DLLTOOL"; then
   11399   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11400 else
   11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11402 for as_dir in $PATH
   11403 do
   11404   IFS=$as_save_IFS
   11405   test -z "$as_dir" && as_dir=.
   11406     for ac_exec_ext in '' $ac_executable_extensions; do
   11407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11408     ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
   11409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11410     break 2
   11411   fi
   11412 done
   11413   done
   11414 IFS=$as_save_IFS
   11415 
   11416 fi
   11417 fi
   11418 DLLTOOL=$ac_cv_prog_DLLTOOL
   11419 if test -n "$DLLTOOL"; then
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11421 $as_echo "$DLLTOOL" >&6; }
   11422 else
   11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11424 $as_echo "no" >&6; }
   11425 fi
   11426 
   11427 
   11428   fi
   11429   if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
   11430     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11431 set dummy ${ncn_progname}; ac_word=$2
   11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11433 $as_echo_n "checking for $ac_word... " >&6; }
   11434 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11435   $as_echo_n "(cached) " >&6
   11436 else
   11437   if test -n "$DLLTOOL"; then
   11438   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11439 else
   11440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11441 for as_dir in $PATH
   11442 do
   11443   IFS=$as_save_IFS
   11444   test -z "$as_dir" && as_dir=.
   11445     for ac_exec_ext in '' $ac_executable_extensions; do
   11446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11447     ac_cv_prog_DLLTOOL="${ncn_progname}"
   11448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11449     break 2
   11450   fi
   11451 done
   11452   done
   11453 IFS=$as_save_IFS
   11454 
   11455 fi
   11456 fi
   11457 DLLTOOL=$ac_cv_prog_DLLTOOL
   11458 if test -n "$DLLTOOL"; then
   11459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11460 $as_echo "$DLLTOOL" >&6; }
   11461 else
   11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11463 $as_echo "no" >&6; }
   11464 fi
   11465 
   11466 
   11467   fi
   11468   test -n "$ac_cv_prog_DLLTOOL" && break
   11469 done
   11470 
   11471 if test -z "$ac_cv_prog_DLLTOOL" ; then
   11472   set dummy dlltool
   11473   if test $build = $host ; then
   11474     DLLTOOL="$2"
   11475   else
   11476     DLLTOOL="${ncn_tool_prefix}$2"
   11477   fi
   11478 fi
   11479 
   11480 
   11481 
   11482 if test -n "$DSYMUTIL"; then
   11483   ac_cv_prog_DSYMUTIL=$DSYMUTIL
   11484 elif test -n "$ac_cv_prog_DSYMUTIL"; then
   11485   DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11486 fi
   11487 
   11488 if test -n "$ac_cv_prog_DSYMUTIL"; then
   11489   for ncn_progname in dsymutil; do
   11490     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11491 set dummy ${ncn_progname}; ac_word=$2
   11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11493 $as_echo_n "checking for $ac_word... " >&6; }
   11494 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   11495   $as_echo_n "(cached) " >&6
   11496 else
   11497   if test -n "$DSYMUTIL"; then
   11498   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11499 else
   11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11501 for as_dir in $PATH
   11502 do
   11503   IFS=$as_save_IFS
   11504   test -z "$as_dir" && as_dir=.
   11505     for ac_exec_ext in '' $ac_executable_extensions; do
   11506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11507     ac_cv_prog_DSYMUTIL="${ncn_progname}"
   11508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11509     break 2
   11510   fi
   11511 done
   11512   done
   11513 IFS=$as_save_IFS
   11514 
   11515 fi
   11516 fi
   11517 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11518 if test -n "$DSYMUTIL"; then
   11519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11520 $as_echo "$DSYMUTIL" >&6; }
   11521 else
   11522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11523 $as_echo "no" >&6; }
   11524 fi
   11525 
   11526 
   11527   done
   11528 fi
   11529 
   11530 for ncn_progname in dsymutil; do
   11531   if test -n "$ncn_tool_prefix"; then
   11532     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11533 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11535 $as_echo_n "checking for $ac_word... " >&6; }
   11536 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   11537   $as_echo_n "(cached) " >&6
   11538 else
   11539   if test -n "$DSYMUTIL"; then
   11540   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11541 else
   11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11543 for as_dir in $PATH
   11544 do
   11545   IFS=$as_save_IFS
   11546   test -z "$as_dir" && as_dir=.
   11547     for ac_exec_ext in '' $ac_executable_extensions; do
   11548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11549     ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
   11550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11551     break 2
   11552   fi
   11553 done
   11554   done
   11555 IFS=$as_save_IFS
   11556 
   11557 fi
   11558 fi
   11559 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11560 if test -n "$DSYMUTIL"; then
   11561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11562 $as_echo "$DSYMUTIL" >&6; }
   11563 else
   11564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11565 $as_echo "no" >&6; }
   11566 fi
   11567 
   11568 
   11569   fi
   11570   if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
   11571     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11572 set dummy ${ncn_progname}; ac_word=$2
   11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11574 $as_echo_n "checking for $ac_word... " >&6; }
   11575 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   11576   $as_echo_n "(cached) " >&6
   11577 else
   11578   if test -n "$DSYMUTIL"; then
   11579   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11580 else
   11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11582 for as_dir in $PATH
   11583 do
   11584   IFS=$as_save_IFS
   11585   test -z "$as_dir" && as_dir=.
   11586     for ac_exec_ext in '' $ac_executable_extensions; do
   11587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11588     ac_cv_prog_DSYMUTIL="${ncn_progname}"
   11589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11590     break 2
   11591   fi
   11592 done
   11593   done
   11594 IFS=$as_save_IFS
   11595 
   11596 fi
   11597 fi
   11598 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11599 if test -n "$DSYMUTIL"; then
   11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11601 $as_echo "$DSYMUTIL" >&6; }
   11602 else
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11604 $as_echo "no" >&6; }
   11605 fi
   11606 
   11607 
   11608   fi
   11609   test -n "$ac_cv_prog_DSYMUTIL" && break
   11610 done
   11611 
   11612 if test -z "$ac_cv_prog_DSYMUTIL" ; then
   11613   set dummy dsymutil
   11614   if test $build = $host ; then
   11615     DSYMUTIL="$2"
   11616   else
   11617     DSYMUTIL="${ncn_tool_prefix}$2"
   11618   fi
   11619 fi
   11620 
   11621 
   11622 
   11623 if test -n "$LD"; then
   11624   ac_cv_prog_LD=$LD
   11625 elif test -n "$ac_cv_prog_LD"; then
   11626   LD=$ac_cv_prog_LD
   11627 fi
   11628 
   11629 if test -n "$ac_cv_prog_LD"; then
   11630   for ncn_progname in ld; do
   11631     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11632 set dummy ${ncn_progname}; ac_word=$2
   11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11634 $as_echo_n "checking for $ac_word... " >&6; }
   11635 if ${ac_cv_prog_LD+:} false; then :
   11636   $as_echo_n "(cached) " >&6
   11637 else
   11638   if test -n "$LD"; then
   11639   ac_cv_prog_LD="$LD" # Let the user override the test.
   11640 else
   11641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11642 for as_dir in $PATH
   11643 do
   11644   IFS=$as_save_IFS
   11645   test -z "$as_dir" && as_dir=.
   11646     for ac_exec_ext in '' $ac_executable_extensions; do
   11647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11648     ac_cv_prog_LD="${ncn_progname}"
   11649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11650     break 2
   11651   fi
   11652 done
   11653   done
   11654 IFS=$as_save_IFS
   11655 
   11656 fi
   11657 fi
   11658 LD=$ac_cv_prog_LD
   11659 if test -n "$LD"; then
   11660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11661 $as_echo "$LD" >&6; }
   11662 else
   11663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11664 $as_echo "no" >&6; }
   11665 fi
   11666 
   11667 
   11668   done
   11669 fi
   11670 
   11671 for ncn_progname in ld; do
   11672   if test -n "$ncn_tool_prefix"; then
   11673     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11674 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11676 $as_echo_n "checking for $ac_word... " >&6; }
   11677 if ${ac_cv_prog_LD+:} false; then :
   11678   $as_echo_n "(cached) " >&6
   11679 else
   11680   if test -n "$LD"; then
   11681   ac_cv_prog_LD="$LD" # Let the user override the test.
   11682 else
   11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11684 for as_dir in $PATH
   11685 do
   11686   IFS=$as_save_IFS
   11687   test -z "$as_dir" && as_dir=.
   11688     for ac_exec_ext in '' $ac_executable_extensions; do
   11689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11690     ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
   11691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11692     break 2
   11693   fi
   11694 done
   11695   done
   11696 IFS=$as_save_IFS
   11697 
   11698 fi
   11699 fi
   11700 LD=$ac_cv_prog_LD
   11701 if test -n "$LD"; then
   11702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11703 $as_echo "$LD" >&6; }
   11704 else
   11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11706 $as_echo "no" >&6; }
   11707 fi
   11708 
   11709 
   11710   fi
   11711   if test -z "$ac_cv_prog_LD" && test $build = $host ; then
   11712     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11713 set dummy ${ncn_progname}; ac_word=$2
   11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11715 $as_echo_n "checking for $ac_word... " >&6; }
   11716 if ${ac_cv_prog_LD+:} false; then :
   11717   $as_echo_n "(cached) " >&6
   11718 else
   11719   if test -n "$LD"; then
   11720   ac_cv_prog_LD="$LD" # Let the user override the test.
   11721 else
   11722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11723 for as_dir in $PATH
   11724 do
   11725   IFS=$as_save_IFS
   11726   test -z "$as_dir" && as_dir=.
   11727     for ac_exec_ext in '' $ac_executable_extensions; do
   11728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11729     ac_cv_prog_LD="${ncn_progname}"
   11730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11731     break 2
   11732   fi
   11733 done
   11734   done
   11735 IFS=$as_save_IFS
   11736 
   11737 fi
   11738 fi
   11739 LD=$ac_cv_prog_LD
   11740 if test -n "$LD"; then
   11741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11742 $as_echo "$LD" >&6; }
   11743 else
   11744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11745 $as_echo "no" >&6; }
   11746 fi
   11747 
   11748 
   11749   fi
   11750   test -n "$ac_cv_prog_LD" && break
   11751 done
   11752 
   11753 if test -z "$ac_cv_prog_LD" ; then
   11754   set dummy ld
   11755   if test $build = $host ; then
   11756     LD="$2"
   11757   else
   11758     LD="${ncn_tool_prefix}$2"
   11759   fi
   11760 fi
   11761 
   11762 
   11763 
   11764 if test -n "$LIPO"; then
   11765   ac_cv_prog_LIPO=$LIPO
   11766 elif test -n "$ac_cv_prog_LIPO"; then
   11767   LIPO=$ac_cv_prog_LIPO
   11768 fi
   11769 
   11770 if test -n "$ac_cv_prog_LIPO"; then
   11771   for ncn_progname in lipo; do
   11772     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11773 set dummy ${ncn_progname}; ac_word=$2
   11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11775 $as_echo_n "checking for $ac_word... " >&6; }
   11776 if ${ac_cv_prog_LIPO+:} false; then :
   11777   $as_echo_n "(cached) " >&6
   11778 else
   11779   if test -n "$LIPO"; then
   11780   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   11781 else
   11782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11783 for as_dir in $PATH
   11784 do
   11785   IFS=$as_save_IFS
   11786   test -z "$as_dir" && as_dir=.
   11787     for ac_exec_ext in '' $ac_executable_extensions; do
   11788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11789     ac_cv_prog_LIPO="${ncn_progname}"
   11790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11791     break 2
   11792   fi
   11793 done
   11794   done
   11795 IFS=$as_save_IFS
   11796 
   11797 fi
   11798 fi
   11799 LIPO=$ac_cv_prog_LIPO
   11800 if test -n "$LIPO"; then
   11801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   11802 $as_echo "$LIPO" >&6; }
   11803 else
   11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11805 $as_echo "no" >&6; }
   11806 fi
   11807 
   11808 
   11809   done
   11810 fi
   11811 
   11812 for ncn_progname in lipo; do
   11813   if test -n "$ncn_tool_prefix"; then
   11814     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11815 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11817 $as_echo_n "checking for $ac_word... " >&6; }
   11818 if ${ac_cv_prog_LIPO+:} false; then :
   11819   $as_echo_n "(cached) " >&6
   11820 else
   11821   if test -n "$LIPO"; then
   11822   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   11823 else
   11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11825 for as_dir in $PATH
   11826 do
   11827   IFS=$as_save_IFS
   11828   test -z "$as_dir" && as_dir=.
   11829     for ac_exec_ext in '' $ac_executable_extensions; do
   11830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11831     ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
   11832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11833     break 2
   11834   fi
   11835 done
   11836   done
   11837 IFS=$as_save_IFS
   11838 
   11839 fi
   11840 fi
   11841 LIPO=$ac_cv_prog_LIPO
   11842 if test -n "$LIPO"; then
   11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   11844 $as_echo "$LIPO" >&6; }
   11845 else
   11846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 $as_echo "no" >&6; }
   11848 fi
   11849 
   11850 
   11851   fi
   11852   if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
   11853     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11854 set dummy ${ncn_progname}; ac_word=$2
   11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11856 $as_echo_n "checking for $ac_word... " >&6; }
   11857 if ${ac_cv_prog_LIPO+:} false; then :
   11858   $as_echo_n "(cached) " >&6
   11859 else
   11860   if test -n "$LIPO"; then
   11861   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   11862 else
   11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11864 for as_dir in $PATH
   11865 do
   11866   IFS=$as_save_IFS
   11867   test -z "$as_dir" && as_dir=.
   11868     for ac_exec_ext in '' $ac_executable_extensions; do
   11869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11870     ac_cv_prog_LIPO="${ncn_progname}"
   11871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11872     break 2
   11873   fi
   11874 done
   11875   done
   11876 IFS=$as_save_IFS
   11877 
   11878 fi
   11879 fi
   11880 LIPO=$ac_cv_prog_LIPO
   11881 if test -n "$LIPO"; then
   11882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   11883 $as_echo "$LIPO" >&6; }
   11884 else
   11885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11886 $as_echo "no" >&6; }
   11887 fi
   11888 
   11889 
   11890   fi
   11891   test -n "$ac_cv_prog_LIPO" && break
   11892 done
   11893 
   11894 if test -z "$ac_cv_prog_LIPO" ; then
   11895   set dummy lipo
   11896   if test $build = $host ; then
   11897     LIPO="$2"
   11898   else
   11899     LIPO="${ncn_tool_prefix}$2"
   11900   fi
   11901 fi
   11902 
   11903 
   11904 
   11905 if test -n "$NM"; then
   11906   ac_cv_prog_NM=$NM
   11907 elif test -n "$ac_cv_prog_NM"; then
   11908   NM=$ac_cv_prog_NM
   11909 fi
   11910 
   11911 if test -n "$ac_cv_prog_NM"; then
   11912   for ncn_progname in nm; do
   11913     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11914 set dummy ${ncn_progname}; ac_word=$2
   11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11916 $as_echo_n "checking for $ac_word... " >&6; }
   11917 if ${ac_cv_prog_NM+:} false; then :
   11918   $as_echo_n "(cached) " >&6
   11919 else
   11920   if test -n "$NM"; then
   11921   ac_cv_prog_NM="$NM" # Let the user override the test.
   11922 else
   11923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11924 for as_dir in $PATH
   11925 do
   11926   IFS=$as_save_IFS
   11927   test -z "$as_dir" && as_dir=.
   11928     for ac_exec_ext in '' $ac_executable_extensions; do
   11929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11930     ac_cv_prog_NM="${ncn_progname}"
   11931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11932     break 2
   11933   fi
   11934 done
   11935   done
   11936 IFS=$as_save_IFS
   11937 
   11938 fi
   11939 fi
   11940 NM=$ac_cv_prog_NM
   11941 if test -n "$NM"; then
   11942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   11943 $as_echo "$NM" >&6; }
   11944 else
   11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11946 $as_echo "no" >&6; }
   11947 fi
   11948 
   11949 
   11950   done
   11951 fi
   11952 
   11953 for ncn_progname in nm; do
   11954   if test -n "$ncn_tool_prefix"; then
   11955     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   11956 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11958 $as_echo_n "checking for $ac_word... " >&6; }
   11959 if ${ac_cv_prog_NM+:} false; then :
   11960   $as_echo_n "(cached) " >&6
   11961 else
   11962   if test -n "$NM"; then
   11963   ac_cv_prog_NM="$NM" # Let the user override the test.
   11964 else
   11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11966 for as_dir in $PATH
   11967 do
   11968   IFS=$as_save_IFS
   11969   test -z "$as_dir" && as_dir=.
   11970     for ac_exec_ext in '' $ac_executable_extensions; do
   11971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11972     ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
   11973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11974     break 2
   11975   fi
   11976 done
   11977   done
   11978 IFS=$as_save_IFS
   11979 
   11980 fi
   11981 fi
   11982 NM=$ac_cv_prog_NM
   11983 if test -n "$NM"; then
   11984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   11985 $as_echo "$NM" >&6; }
   11986 else
   11987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11988 $as_echo "no" >&6; }
   11989 fi
   11990 
   11991 
   11992   fi
   11993   if test -z "$ac_cv_prog_NM" && test $build = $host ; then
   11994     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   11995 set dummy ${ncn_progname}; ac_word=$2
   11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11997 $as_echo_n "checking for $ac_word... " >&6; }
   11998 if ${ac_cv_prog_NM+:} false; then :
   11999   $as_echo_n "(cached) " >&6
   12000 else
   12001   if test -n "$NM"; then
   12002   ac_cv_prog_NM="$NM" # Let the user override the test.
   12003 else
   12004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12005 for as_dir in $PATH
   12006 do
   12007   IFS=$as_save_IFS
   12008   test -z "$as_dir" && as_dir=.
   12009     for ac_exec_ext in '' $ac_executable_extensions; do
   12010   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12011     ac_cv_prog_NM="${ncn_progname}"
   12012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12013     break 2
   12014   fi
   12015 done
   12016   done
   12017 IFS=$as_save_IFS
   12018 
   12019 fi
   12020 fi
   12021 NM=$ac_cv_prog_NM
   12022 if test -n "$NM"; then
   12023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   12024 $as_echo "$NM" >&6; }
   12025 else
   12026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12027 $as_echo "no" >&6; }
   12028 fi
   12029 
   12030 
   12031   fi
   12032   test -n "$ac_cv_prog_NM" && break
   12033 done
   12034 
   12035 if test -z "$ac_cv_prog_NM" ; then
   12036   set dummy nm
   12037   if test $build = $host ; then
   12038     NM="$2"
   12039   else
   12040     NM="${ncn_tool_prefix}$2"
   12041   fi
   12042 fi
   12043 
   12044 
   12045 
   12046 if test -n "$RANLIB"; then
   12047   ac_cv_prog_RANLIB=$RANLIB
   12048 elif test -n "$ac_cv_prog_RANLIB"; then
   12049   RANLIB=$ac_cv_prog_RANLIB
   12050 fi
   12051 
   12052 if test -n "$ac_cv_prog_RANLIB"; then
   12053   for ncn_progname in ranlib; do
   12054     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12055 set dummy ${ncn_progname}; ac_word=$2
   12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12057 $as_echo_n "checking for $ac_word... " >&6; }
   12058 if ${ac_cv_prog_RANLIB+:} false; then :
   12059   $as_echo_n "(cached) " >&6
   12060 else
   12061   if test -n "$RANLIB"; then
   12062   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12063 else
   12064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12065 for as_dir in $PATH
   12066 do
   12067   IFS=$as_save_IFS
   12068   test -z "$as_dir" && as_dir=.
   12069     for ac_exec_ext in '' $ac_executable_extensions; do
   12070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12071     ac_cv_prog_RANLIB="${ncn_progname}"
   12072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12073     break 2
   12074   fi
   12075 done
   12076   done
   12077 IFS=$as_save_IFS
   12078 
   12079 fi
   12080 fi
   12081 RANLIB=$ac_cv_prog_RANLIB
   12082 if test -n "$RANLIB"; then
   12083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12084 $as_echo "$RANLIB" >&6; }
   12085 else
   12086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12087 $as_echo "no" >&6; }
   12088 fi
   12089 
   12090 
   12091   done
   12092 fi
   12093 
   12094 for ncn_progname in ranlib; do
   12095   if test -n "$ncn_tool_prefix"; then
   12096     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12097 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12099 $as_echo_n "checking for $ac_word... " >&6; }
   12100 if ${ac_cv_prog_RANLIB+:} false; then :
   12101   $as_echo_n "(cached) " >&6
   12102 else
   12103   if test -n "$RANLIB"; then
   12104   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12105 else
   12106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12107 for as_dir in $PATH
   12108 do
   12109   IFS=$as_save_IFS
   12110   test -z "$as_dir" && as_dir=.
   12111     for ac_exec_ext in '' $ac_executable_extensions; do
   12112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12113     ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
   12114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12115     break 2
   12116   fi
   12117 done
   12118   done
   12119 IFS=$as_save_IFS
   12120 
   12121 fi
   12122 fi
   12123 RANLIB=$ac_cv_prog_RANLIB
   12124 if test -n "$RANLIB"; then
   12125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12126 $as_echo "$RANLIB" >&6; }
   12127 else
   12128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12129 $as_echo "no" >&6; }
   12130 fi
   12131 
   12132 
   12133   fi
   12134   if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
   12135     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12136 set dummy ${ncn_progname}; ac_word=$2
   12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12138 $as_echo_n "checking for $ac_word... " >&6; }
   12139 if ${ac_cv_prog_RANLIB+:} false; then :
   12140   $as_echo_n "(cached) " >&6
   12141 else
   12142   if test -n "$RANLIB"; then
   12143   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12144 else
   12145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12146 for as_dir in $PATH
   12147 do
   12148   IFS=$as_save_IFS
   12149   test -z "$as_dir" && as_dir=.
   12150     for ac_exec_ext in '' $ac_executable_extensions; do
   12151   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12152     ac_cv_prog_RANLIB="${ncn_progname}"
   12153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12154     break 2
   12155   fi
   12156 done
   12157   done
   12158 IFS=$as_save_IFS
   12159 
   12160 fi
   12161 fi
   12162 RANLIB=$ac_cv_prog_RANLIB
   12163 if test -n "$RANLIB"; then
   12164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12165 $as_echo "$RANLIB" >&6; }
   12166 else
   12167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12168 $as_echo "no" >&6; }
   12169 fi
   12170 
   12171 
   12172   fi
   12173   test -n "$ac_cv_prog_RANLIB" && break
   12174 done
   12175 
   12176 if test -z "$ac_cv_prog_RANLIB" ; then
   12177   RANLIB="true"
   12178 fi
   12179 
   12180 
   12181 
   12182 if test -n "$STRIP"; then
   12183   ac_cv_prog_STRIP=$STRIP
   12184 elif test -n "$ac_cv_prog_STRIP"; then
   12185   STRIP=$ac_cv_prog_STRIP
   12186 fi
   12187 
   12188 if test -n "$ac_cv_prog_STRIP"; then
   12189   for ncn_progname in strip; do
   12190     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12191 set dummy ${ncn_progname}; ac_word=$2
   12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12193 $as_echo_n "checking for $ac_word... " >&6; }
   12194 if ${ac_cv_prog_STRIP+:} false; then :
   12195   $as_echo_n "(cached) " >&6
   12196 else
   12197   if test -n "$STRIP"; then
   12198   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12199 else
   12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12201 for as_dir in $PATH
   12202 do
   12203   IFS=$as_save_IFS
   12204   test -z "$as_dir" && as_dir=.
   12205     for ac_exec_ext in '' $ac_executable_extensions; do
   12206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12207     ac_cv_prog_STRIP="${ncn_progname}"
   12208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12209     break 2
   12210   fi
   12211 done
   12212   done
   12213 IFS=$as_save_IFS
   12214 
   12215 fi
   12216 fi
   12217 STRIP=$ac_cv_prog_STRIP
   12218 if test -n "$STRIP"; then
   12219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12220 $as_echo "$STRIP" >&6; }
   12221 else
   12222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12223 $as_echo "no" >&6; }
   12224 fi
   12225 
   12226 
   12227   done
   12228 fi
   12229 
   12230 for ncn_progname in strip; do
   12231   if test -n "$ncn_tool_prefix"; then
   12232     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12233 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12235 $as_echo_n "checking for $ac_word... " >&6; }
   12236 if ${ac_cv_prog_STRIP+:} false; then :
   12237   $as_echo_n "(cached) " >&6
   12238 else
   12239   if test -n "$STRIP"; then
   12240   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12241 else
   12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12243 for as_dir in $PATH
   12244 do
   12245   IFS=$as_save_IFS
   12246   test -z "$as_dir" && as_dir=.
   12247     for ac_exec_ext in '' $ac_executable_extensions; do
   12248   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12249     ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
   12250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12251     break 2
   12252   fi
   12253 done
   12254   done
   12255 IFS=$as_save_IFS
   12256 
   12257 fi
   12258 fi
   12259 STRIP=$ac_cv_prog_STRIP
   12260 if test -n "$STRIP"; then
   12261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12262 $as_echo "$STRIP" >&6; }
   12263 else
   12264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12265 $as_echo "no" >&6; }
   12266 fi
   12267 
   12268 
   12269   fi
   12270   if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
   12271     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12272 set dummy ${ncn_progname}; ac_word=$2
   12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12274 $as_echo_n "checking for $ac_word... " >&6; }
   12275 if ${ac_cv_prog_STRIP+:} false; then :
   12276   $as_echo_n "(cached) " >&6
   12277 else
   12278   if test -n "$STRIP"; then
   12279   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12280 else
   12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12282 for as_dir in $PATH
   12283 do
   12284   IFS=$as_save_IFS
   12285   test -z "$as_dir" && as_dir=.
   12286     for ac_exec_ext in '' $ac_executable_extensions; do
   12287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12288     ac_cv_prog_STRIP="${ncn_progname}"
   12289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12290     break 2
   12291   fi
   12292 done
   12293   done
   12294 IFS=$as_save_IFS
   12295 
   12296 fi
   12297 fi
   12298 STRIP=$ac_cv_prog_STRIP
   12299 if test -n "$STRIP"; then
   12300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12301 $as_echo "$STRIP" >&6; }
   12302 else
   12303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12304 $as_echo "no" >&6; }
   12305 fi
   12306 
   12307 
   12308   fi
   12309   test -n "$ac_cv_prog_STRIP" && break
   12310 done
   12311 
   12312 if test -z "$ac_cv_prog_STRIP" ; then
   12313   STRIP="true"
   12314 fi
   12315 
   12316 
   12317 
   12318 if test -n "$WINDRES"; then
   12319   ac_cv_prog_WINDRES=$WINDRES
   12320 elif test -n "$ac_cv_prog_WINDRES"; then
   12321   WINDRES=$ac_cv_prog_WINDRES
   12322 fi
   12323 
   12324 if test -n "$ac_cv_prog_WINDRES"; then
   12325   for ncn_progname in windres; do
   12326     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12327 set dummy ${ncn_progname}; ac_word=$2
   12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12329 $as_echo_n "checking for $ac_word... " >&6; }
   12330 if ${ac_cv_prog_WINDRES+:} false; then :
   12331   $as_echo_n "(cached) " >&6
   12332 else
   12333   if test -n "$WINDRES"; then
   12334   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   12335 else
   12336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12337 for as_dir in $PATH
   12338 do
   12339   IFS=$as_save_IFS
   12340   test -z "$as_dir" && as_dir=.
   12341     for ac_exec_ext in '' $ac_executable_extensions; do
   12342   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12343     ac_cv_prog_WINDRES="${ncn_progname}"
   12344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12345     break 2
   12346   fi
   12347 done
   12348   done
   12349 IFS=$as_save_IFS
   12350 
   12351 fi
   12352 fi
   12353 WINDRES=$ac_cv_prog_WINDRES
   12354 if test -n "$WINDRES"; then
   12355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   12356 $as_echo "$WINDRES" >&6; }
   12357 else
   12358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12359 $as_echo "no" >&6; }
   12360 fi
   12361 
   12362 
   12363   done
   12364 fi
   12365 
   12366 for ncn_progname in windres; do
   12367   if test -n "$ncn_tool_prefix"; then
   12368     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12369 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12371 $as_echo_n "checking for $ac_word... " >&6; }
   12372 if ${ac_cv_prog_WINDRES+:} false; then :
   12373   $as_echo_n "(cached) " >&6
   12374 else
   12375   if test -n "$WINDRES"; then
   12376   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   12377 else
   12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12379 for as_dir in $PATH
   12380 do
   12381   IFS=$as_save_IFS
   12382   test -z "$as_dir" && as_dir=.
   12383     for ac_exec_ext in '' $ac_executable_extensions; do
   12384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12385     ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
   12386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12387     break 2
   12388   fi
   12389 done
   12390   done
   12391 IFS=$as_save_IFS
   12392 
   12393 fi
   12394 fi
   12395 WINDRES=$ac_cv_prog_WINDRES
   12396 if test -n "$WINDRES"; then
   12397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   12398 $as_echo "$WINDRES" >&6; }
   12399 else
   12400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12401 $as_echo "no" >&6; }
   12402 fi
   12403 
   12404 
   12405   fi
   12406   if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
   12407     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12408 set dummy ${ncn_progname}; ac_word=$2
   12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12410 $as_echo_n "checking for $ac_word... " >&6; }
   12411 if ${ac_cv_prog_WINDRES+:} false; then :
   12412   $as_echo_n "(cached) " >&6
   12413 else
   12414   if test -n "$WINDRES"; then
   12415   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   12416 else
   12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12418 for as_dir in $PATH
   12419 do
   12420   IFS=$as_save_IFS
   12421   test -z "$as_dir" && as_dir=.
   12422     for ac_exec_ext in '' $ac_executable_extensions; do
   12423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12424     ac_cv_prog_WINDRES="${ncn_progname}"
   12425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12426     break 2
   12427   fi
   12428 done
   12429   done
   12430 IFS=$as_save_IFS
   12431 
   12432 fi
   12433 fi
   12434 WINDRES=$ac_cv_prog_WINDRES
   12435 if test -n "$WINDRES"; then
   12436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   12437 $as_echo "$WINDRES" >&6; }
   12438 else
   12439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12440 $as_echo "no" >&6; }
   12441 fi
   12442 
   12443 
   12444   fi
   12445   test -n "$ac_cv_prog_WINDRES" && break
   12446 done
   12447 
   12448 if test -z "$ac_cv_prog_WINDRES" ; then
   12449   set dummy windres
   12450   if test $build = $host ; then
   12451     WINDRES="$2"
   12452   else
   12453     WINDRES="${ncn_tool_prefix}$2"
   12454   fi
   12455 fi
   12456 
   12457 
   12458 
   12459 if test -n "$WINDMC"; then
   12460   ac_cv_prog_WINDMC=$WINDMC
   12461 elif test -n "$ac_cv_prog_WINDMC"; then
   12462   WINDMC=$ac_cv_prog_WINDMC
   12463 fi
   12464 
   12465 if test -n "$ac_cv_prog_WINDMC"; then
   12466   for ncn_progname in windmc; do
   12467     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12468 set dummy ${ncn_progname}; ac_word=$2
   12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12470 $as_echo_n "checking for $ac_word... " >&6; }
   12471 if ${ac_cv_prog_WINDMC+:} false; then :
   12472   $as_echo_n "(cached) " >&6
   12473 else
   12474   if test -n "$WINDMC"; then
   12475   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   12476 else
   12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12478 for as_dir in $PATH
   12479 do
   12480   IFS=$as_save_IFS
   12481   test -z "$as_dir" && as_dir=.
   12482     for ac_exec_ext in '' $ac_executable_extensions; do
   12483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12484     ac_cv_prog_WINDMC="${ncn_progname}"
   12485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12486     break 2
   12487   fi
   12488 done
   12489   done
   12490 IFS=$as_save_IFS
   12491 
   12492 fi
   12493 fi
   12494 WINDMC=$ac_cv_prog_WINDMC
   12495 if test -n "$WINDMC"; then
   12496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   12497 $as_echo "$WINDMC" >&6; }
   12498 else
   12499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12500 $as_echo "no" >&6; }
   12501 fi
   12502 
   12503 
   12504   done
   12505 fi
   12506 
   12507 for ncn_progname in windmc; do
   12508   if test -n "$ncn_tool_prefix"; then
   12509     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12510 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12512 $as_echo_n "checking for $ac_word... " >&6; }
   12513 if ${ac_cv_prog_WINDMC+:} false; then :
   12514   $as_echo_n "(cached) " >&6
   12515 else
   12516   if test -n "$WINDMC"; then
   12517   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   12518 else
   12519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12520 for as_dir in $PATH
   12521 do
   12522   IFS=$as_save_IFS
   12523   test -z "$as_dir" && as_dir=.
   12524     for ac_exec_ext in '' $ac_executable_extensions; do
   12525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12526     ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
   12527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12528     break 2
   12529   fi
   12530 done
   12531   done
   12532 IFS=$as_save_IFS
   12533 
   12534 fi
   12535 fi
   12536 WINDMC=$ac_cv_prog_WINDMC
   12537 if test -n "$WINDMC"; then
   12538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   12539 $as_echo "$WINDMC" >&6; }
   12540 else
   12541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12542 $as_echo "no" >&6; }
   12543 fi
   12544 
   12545 
   12546   fi
   12547   if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
   12548     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12549 set dummy ${ncn_progname}; ac_word=$2
   12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12551 $as_echo_n "checking for $ac_word... " >&6; }
   12552 if ${ac_cv_prog_WINDMC+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555   if test -n "$WINDMC"; then
   12556   ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
   12557 else
   12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12559 for as_dir in $PATH
   12560 do
   12561   IFS=$as_save_IFS
   12562   test -z "$as_dir" && as_dir=.
   12563     for ac_exec_ext in '' $ac_executable_extensions; do
   12564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12565     ac_cv_prog_WINDMC="${ncn_progname}"
   12566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12567     break 2
   12568   fi
   12569 done
   12570   done
   12571 IFS=$as_save_IFS
   12572 
   12573 fi
   12574 fi
   12575 WINDMC=$ac_cv_prog_WINDMC
   12576 if test -n "$WINDMC"; then
   12577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
   12578 $as_echo "$WINDMC" >&6; }
   12579 else
   12580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12581 $as_echo "no" >&6; }
   12582 fi
   12583 
   12584 
   12585   fi
   12586   test -n "$ac_cv_prog_WINDMC" && break
   12587 done
   12588 
   12589 if test -z "$ac_cv_prog_WINDMC" ; then
   12590   set dummy windmc
   12591   if test $build = $host ; then
   12592     WINDMC="$2"
   12593   else
   12594     WINDMC="${ncn_tool_prefix}$2"
   12595   fi
   12596 fi
   12597 
   12598 
   12599 
   12600 if test -n "$OBJCOPY"; then
   12601   ac_cv_prog_OBJCOPY=$OBJCOPY
   12602 elif test -n "$ac_cv_prog_OBJCOPY"; then
   12603   OBJCOPY=$ac_cv_prog_OBJCOPY
   12604 fi
   12605 
   12606 if test -n "$ac_cv_prog_OBJCOPY"; then
   12607   for ncn_progname in objcopy; do
   12608     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12609 set dummy ${ncn_progname}; ac_word=$2
   12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12611 $as_echo_n "checking for $ac_word... " >&6; }
   12612 if ${ac_cv_prog_OBJCOPY+:} false; then :
   12613   $as_echo_n "(cached) " >&6
   12614 else
   12615   if test -n "$OBJCOPY"; then
   12616   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   12617 else
   12618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12619 for as_dir in $PATH
   12620 do
   12621   IFS=$as_save_IFS
   12622   test -z "$as_dir" && as_dir=.
   12623     for ac_exec_ext in '' $ac_executable_extensions; do
   12624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12625     ac_cv_prog_OBJCOPY="${ncn_progname}"
   12626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12627     break 2
   12628   fi
   12629 done
   12630   done
   12631 IFS=$as_save_IFS
   12632 
   12633 fi
   12634 fi
   12635 OBJCOPY=$ac_cv_prog_OBJCOPY
   12636 if test -n "$OBJCOPY"; then
   12637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   12638 $as_echo "$OBJCOPY" >&6; }
   12639 else
   12640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12641 $as_echo "no" >&6; }
   12642 fi
   12643 
   12644 
   12645   done
   12646 fi
   12647 
   12648 for ncn_progname in objcopy; do
   12649   if test -n "$ncn_tool_prefix"; then
   12650     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12651 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12653 $as_echo_n "checking for $ac_word... " >&6; }
   12654 if ${ac_cv_prog_OBJCOPY+:} false; then :
   12655   $as_echo_n "(cached) " >&6
   12656 else
   12657   if test -n "$OBJCOPY"; then
   12658   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   12659 else
   12660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12661 for as_dir in $PATH
   12662 do
   12663   IFS=$as_save_IFS
   12664   test -z "$as_dir" && as_dir=.
   12665     for ac_exec_ext in '' $ac_executable_extensions; do
   12666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12667     ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
   12668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12669     break 2
   12670   fi
   12671 done
   12672   done
   12673 IFS=$as_save_IFS
   12674 
   12675 fi
   12676 fi
   12677 OBJCOPY=$ac_cv_prog_OBJCOPY
   12678 if test -n "$OBJCOPY"; then
   12679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   12680 $as_echo "$OBJCOPY" >&6; }
   12681 else
   12682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12683 $as_echo "no" >&6; }
   12684 fi
   12685 
   12686 
   12687   fi
   12688   if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
   12689     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12690 set dummy ${ncn_progname}; ac_word=$2
   12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12692 $as_echo_n "checking for $ac_word... " >&6; }
   12693 if ${ac_cv_prog_OBJCOPY+:} false; then :
   12694   $as_echo_n "(cached) " >&6
   12695 else
   12696   if test -n "$OBJCOPY"; then
   12697   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   12698 else
   12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12700 for as_dir in $PATH
   12701 do
   12702   IFS=$as_save_IFS
   12703   test -z "$as_dir" && as_dir=.
   12704     for ac_exec_ext in '' $ac_executable_extensions; do
   12705   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12706     ac_cv_prog_OBJCOPY="${ncn_progname}"
   12707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12708     break 2
   12709   fi
   12710 done
   12711   done
   12712 IFS=$as_save_IFS
   12713 
   12714 fi
   12715 fi
   12716 OBJCOPY=$ac_cv_prog_OBJCOPY
   12717 if test -n "$OBJCOPY"; then
   12718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   12719 $as_echo "$OBJCOPY" >&6; }
   12720 else
   12721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12722 $as_echo "no" >&6; }
   12723 fi
   12724 
   12725 
   12726   fi
   12727   test -n "$ac_cv_prog_OBJCOPY" && break
   12728 done
   12729 
   12730 if test -z "$ac_cv_prog_OBJCOPY" ; then
   12731   set dummy objcopy
   12732   if test $build = $host ; then
   12733     OBJCOPY="$2"
   12734   else
   12735     OBJCOPY="${ncn_tool_prefix}$2"
   12736   fi
   12737 fi
   12738 
   12739 
   12740 
   12741 if test -n "$OBJDUMP"; then
   12742   ac_cv_prog_OBJDUMP=$OBJDUMP
   12743 elif test -n "$ac_cv_prog_OBJDUMP"; then
   12744   OBJDUMP=$ac_cv_prog_OBJDUMP
   12745 fi
   12746 
   12747 if test -n "$ac_cv_prog_OBJDUMP"; then
   12748   for ncn_progname in objdump; do
   12749     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12750 set dummy ${ncn_progname}; ac_word=$2
   12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12752 $as_echo_n "checking for $ac_word... " >&6; }
   12753 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12754   $as_echo_n "(cached) " >&6
   12755 else
   12756   if test -n "$OBJDUMP"; then
   12757   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12758 else
   12759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12760 for as_dir in $PATH
   12761 do
   12762   IFS=$as_save_IFS
   12763   test -z "$as_dir" && as_dir=.
   12764     for ac_exec_ext in '' $ac_executable_extensions; do
   12765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12766     ac_cv_prog_OBJDUMP="${ncn_progname}"
   12767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12768     break 2
   12769   fi
   12770 done
   12771   done
   12772 IFS=$as_save_IFS
   12773 
   12774 fi
   12775 fi
   12776 OBJDUMP=$ac_cv_prog_OBJDUMP
   12777 if test -n "$OBJDUMP"; then
   12778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12779 $as_echo "$OBJDUMP" >&6; }
   12780 else
   12781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12782 $as_echo "no" >&6; }
   12783 fi
   12784 
   12785 
   12786   done
   12787 fi
   12788 
   12789 for ncn_progname in objdump; do
   12790   if test -n "$ncn_tool_prefix"; then
   12791     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12792 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12794 $as_echo_n "checking for $ac_word... " >&6; }
   12795 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12796   $as_echo_n "(cached) " >&6
   12797 else
   12798   if test -n "$OBJDUMP"; then
   12799   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12800 else
   12801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12802 for as_dir in $PATH
   12803 do
   12804   IFS=$as_save_IFS
   12805   test -z "$as_dir" && as_dir=.
   12806     for ac_exec_ext in '' $ac_executable_extensions; do
   12807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12808     ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
   12809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12810     break 2
   12811   fi
   12812 done
   12813   done
   12814 IFS=$as_save_IFS
   12815 
   12816 fi
   12817 fi
   12818 OBJDUMP=$ac_cv_prog_OBJDUMP
   12819 if test -n "$OBJDUMP"; then
   12820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12821 $as_echo "$OBJDUMP" >&6; }
   12822 else
   12823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12824 $as_echo "no" >&6; }
   12825 fi
   12826 
   12827 
   12828   fi
   12829   if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
   12830     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12831 set dummy ${ncn_progname}; ac_word=$2
   12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12833 $as_echo_n "checking for $ac_word... " >&6; }
   12834 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12835   $as_echo_n "(cached) " >&6
   12836 else
   12837   if test -n "$OBJDUMP"; then
   12838   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12839 else
   12840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12841 for as_dir in $PATH
   12842 do
   12843   IFS=$as_save_IFS
   12844   test -z "$as_dir" && as_dir=.
   12845     for ac_exec_ext in '' $ac_executable_extensions; do
   12846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12847     ac_cv_prog_OBJDUMP="${ncn_progname}"
   12848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12849     break 2
   12850   fi
   12851 done
   12852   done
   12853 IFS=$as_save_IFS
   12854 
   12855 fi
   12856 fi
   12857 OBJDUMP=$ac_cv_prog_OBJDUMP
   12858 if test -n "$OBJDUMP"; then
   12859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12860 $as_echo "$OBJDUMP" >&6; }
   12861 else
   12862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12863 $as_echo "no" >&6; }
   12864 fi
   12865 
   12866 
   12867   fi
   12868   test -n "$ac_cv_prog_OBJDUMP" && break
   12869 done
   12870 
   12871 if test -z "$ac_cv_prog_OBJDUMP" ; then
   12872   set dummy objdump
   12873   if test $build = $host ; then
   12874     OBJDUMP="$2"
   12875   else
   12876     OBJDUMP="${ncn_tool_prefix}$2"
   12877   fi
   12878 fi
   12879 
   12880 
   12881 
   12882 if test -n "$OTOOL"; then
   12883   ac_cv_prog_OTOOL=$OTOOL
   12884 elif test -n "$ac_cv_prog_OTOOL"; then
   12885   OTOOL=$ac_cv_prog_OTOOL
   12886 fi
   12887 
   12888 if test -n "$ac_cv_prog_OTOOL"; then
   12889   for ncn_progname in otool; do
   12890     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12891 set dummy ${ncn_progname}; ac_word=$2
   12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12893 $as_echo_n "checking for $ac_word... " >&6; }
   12894 if ${ac_cv_prog_OTOOL+:} false; then :
   12895   $as_echo_n "(cached) " >&6
   12896 else
   12897   if test -n "$OTOOL"; then
   12898   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12899 else
   12900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12901 for as_dir in $PATH
   12902 do
   12903   IFS=$as_save_IFS
   12904   test -z "$as_dir" && as_dir=.
   12905     for ac_exec_ext in '' $ac_executable_extensions; do
   12906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12907     ac_cv_prog_OTOOL="${ncn_progname}"
   12908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12909     break 2
   12910   fi
   12911 done
   12912   done
   12913 IFS=$as_save_IFS
   12914 
   12915 fi
   12916 fi
   12917 OTOOL=$ac_cv_prog_OTOOL
   12918 if test -n "$OTOOL"; then
   12919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   12920 $as_echo "$OTOOL" >&6; }
   12921 else
   12922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12923 $as_echo "no" >&6; }
   12924 fi
   12925 
   12926 
   12927   done
   12928 fi
   12929 
   12930 for ncn_progname in otool; do
   12931   if test -n "$ncn_tool_prefix"; then
   12932     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   12933 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12935 $as_echo_n "checking for $ac_word... " >&6; }
   12936 if ${ac_cv_prog_OTOOL+:} false; then :
   12937   $as_echo_n "(cached) " >&6
   12938 else
   12939   if test -n "$OTOOL"; then
   12940   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12941 else
   12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12943 for as_dir in $PATH
   12944 do
   12945   IFS=$as_save_IFS
   12946   test -z "$as_dir" && as_dir=.
   12947     for ac_exec_ext in '' $ac_executable_extensions; do
   12948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12949     ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
   12950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12951     break 2
   12952   fi
   12953 done
   12954   done
   12955 IFS=$as_save_IFS
   12956 
   12957 fi
   12958 fi
   12959 OTOOL=$ac_cv_prog_OTOOL
   12960 if test -n "$OTOOL"; then
   12961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   12962 $as_echo "$OTOOL" >&6; }
   12963 else
   12964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12965 $as_echo "no" >&6; }
   12966 fi
   12967 
   12968 
   12969   fi
   12970   if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
   12971     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   12972 set dummy ${ncn_progname}; ac_word=$2
   12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12974 $as_echo_n "checking for $ac_word... " >&6; }
   12975 if ${ac_cv_prog_OTOOL+:} false; then :
   12976   $as_echo_n "(cached) " >&6
   12977 else
   12978   if test -n "$OTOOL"; then
   12979   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12980 else
   12981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12982 for as_dir in $PATH
   12983 do
   12984   IFS=$as_save_IFS
   12985   test -z "$as_dir" && as_dir=.
   12986     for ac_exec_ext in '' $ac_executable_extensions; do
   12987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12988     ac_cv_prog_OTOOL="${ncn_progname}"
   12989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12990     break 2
   12991   fi
   12992 done
   12993   done
   12994 IFS=$as_save_IFS
   12995 
   12996 fi
   12997 fi
   12998 OTOOL=$ac_cv_prog_OTOOL
   12999 if test -n "$OTOOL"; then
   13000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13001 $as_echo "$OTOOL" >&6; }
   13002 else
   13003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13004 $as_echo "no" >&6; }
   13005 fi
   13006 
   13007 
   13008   fi
   13009   test -n "$ac_cv_prog_OTOOL" && break
   13010 done
   13011 
   13012 if test -z "$ac_cv_prog_OTOOL" ; then
   13013   set dummy otool
   13014   if test $build = $host ; then
   13015     OTOOL="$2"
   13016   else
   13017     OTOOL="${ncn_tool_prefix}$2"
   13018   fi
   13019 fi
   13020 
   13021 
   13022 
   13023 if test -n "$READELF"; then
   13024   ac_cv_prog_READELF=$READELF
   13025 elif test -n "$ac_cv_prog_READELF"; then
   13026   READELF=$ac_cv_prog_READELF
   13027 fi
   13028 
   13029 if test -n "$ac_cv_prog_READELF"; then
   13030   for ncn_progname in readelf; do
   13031     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13032 set dummy ${ncn_progname}; ac_word=$2
   13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13034 $as_echo_n "checking for $ac_word... " >&6; }
   13035 if ${ac_cv_prog_READELF+:} false; then :
   13036   $as_echo_n "(cached) " >&6
   13037 else
   13038   if test -n "$READELF"; then
   13039   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   13040 else
   13041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13042 for as_dir in $PATH
   13043 do
   13044   IFS=$as_save_IFS
   13045   test -z "$as_dir" && as_dir=.
   13046     for ac_exec_ext in '' $ac_executable_extensions; do
   13047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13048     ac_cv_prog_READELF="${ncn_progname}"
   13049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13050     break 2
   13051   fi
   13052 done
   13053   done
   13054 IFS=$as_save_IFS
   13055 
   13056 fi
   13057 fi
   13058 READELF=$ac_cv_prog_READELF
   13059 if test -n "$READELF"; then
   13060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   13061 $as_echo "$READELF" >&6; }
   13062 else
   13063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13064 $as_echo "no" >&6; }
   13065 fi
   13066 
   13067 
   13068   done
   13069 fi
   13070 
   13071 for ncn_progname in readelf; do
   13072   if test -n "$ncn_tool_prefix"; then
   13073     # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13074 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
   13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13076 $as_echo_n "checking for $ac_word... " >&6; }
   13077 if ${ac_cv_prog_READELF+:} false; then :
   13078   $as_echo_n "(cached) " >&6
   13079 else
   13080   if test -n "$READELF"; then
   13081   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   13082 else
   13083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13084 for as_dir in $PATH
   13085 do
   13086   IFS=$as_save_IFS
   13087   test -z "$as_dir" && as_dir=.
   13088     for ac_exec_ext in '' $ac_executable_extensions; do
   13089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13090     ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
   13091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13092     break 2
   13093   fi
   13094 done
   13095   done
   13096 IFS=$as_save_IFS
   13097 
   13098 fi
   13099 fi
   13100 READELF=$ac_cv_prog_READELF
   13101 if test -n "$READELF"; then
   13102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   13103 $as_echo "$READELF" >&6; }
   13104 else
   13105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13106 $as_echo "no" >&6; }
   13107 fi
   13108 
   13109 
   13110   fi
   13111   if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
   13112     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13113 set dummy ${ncn_progname}; ac_word=$2
   13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13115 $as_echo_n "checking for $ac_word... " >&6; }
   13116 if ${ac_cv_prog_READELF+:} false; then :
   13117   $as_echo_n "(cached) " >&6
   13118 else
   13119   if test -n "$READELF"; then
   13120   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   13121 else
   13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13123 for as_dir in $PATH
   13124 do
   13125   IFS=$as_save_IFS
   13126   test -z "$as_dir" && as_dir=.
   13127     for ac_exec_ext in '' $ac_executable_extensions; do
   13128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13129     ac_cv_prog_READELF="${ncn_progname}"
   13130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13131     break 2
   13132   fi
   13133 done
   13134   done
   13135 IFS=$as_save_IFS
   13136 
   13137 fi
   13138 fi
   13139 READELF=$ac_cv_prog_READELF
   13140 if test -n "$READELF"; then
   13141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   13142 $as_echo "$READELF" >&6; }
   13143 else
   13144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13145 $as_echo "no" >&6; }
   13146 fi
   13147 
   13148 
   13149   fi
   13150   test -n "$ac_cv_prog_READELF" && break
   13151 done
   13152 
   13153 if test -z "$ac_cv_prog_READELF" ; then
   13154   set dummy readelf
   13155   if test $build = $host ; then
   13156     READELF="$2"
   13157   else
   13158     READELF="${ncn_tool_prefix}$2"
   13159   fi
   13160 fi
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 GDCFLAGS=${GDCFLAGS-${CFLAGS}}
   13169 
   13170 
   13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
   13172 $as_echo_n "checking for -plugin option... " >&6; }
   13173 
   13174 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   13175 plugin_option=
   13176 for plugin in $plugin_names; do
   13177   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   13178   if test x$plugin_so = x$plugin; then
   13179     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   13180   fi
   13181   if test x$plugin_so != x$plugin; then
   13182     plugin_option="--plugin $plugin_so"
   13183     break
   13184   fi
   13185 done
   13186 if test -n "$ac_tool_prefix"; then
   13187   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   13188 set dummy ${ac_tool_prefix}ar; ac_word=$2
   13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13190 $as_echo_n "checking for $ac_word... " >&6; }
   13191 if ${ac_cv_prog_AR+:} false; then :
   13192   $as_echo_n "(cached) " >&6
   13193 else
   13194   if test -n "$AR"; then
   13195   ac_cv_prog_AR="$AR" # Let the user override the test.
   13196 else
   13197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13198 for as_dir in $PATH
   13199 do
   13200   IFS=$as_save_IFS
   13201   test -z "$as_dir" && as_dir=.
   13202     for ac_exec_ext in '' $ac_executable_extensions; do
   13203   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13204     ac_cv_prog_AR="${ac_tool_prefix}ar"
   13205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13206     break 2
   13207   fi
   13208 done
   13209   done
   13210 IFS=$as_save_IFS
   13211 
   13212 fi
   13213 fi
   13214 AR=$ac_cv_prog_AR
   13215 if test -n "$AR"; then
   13216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13217 $as_echo "$AR" >&6; }
   13218 else
   13219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13220 $as_echo "no" >&6; }
   13221 fi
   13222 
   13223 
   13224 fi
   13225 if test -z "$ac_cv_prog_AR"; then
   13226   ac_ct_AR=$AR
   13227   # Extract the first word of "ar", so it can be a program name with args.
   13228 set dummy ar; ac_word=$2
   13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13230 $as_echo_n "checking for $ac_word... " >&6; }
   13231 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   13232   $as_echo_n "(cached) " >&6
   13233 else
   13234   if test -n "$ac_ct_AR"; then
   13235   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13236 else
   13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13238 for as_dir in $PATH
   13239 do
   13240   IFS=$as_save_IFS
   13241   test -z "$as_dir" && as_dir=.
   13242     for ac_exec_ext in '' $ac_executable_extensions; do
   13243   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13244     ac_cv_prog_ac_ct_AR="ar"
   13245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13246     break 2
   13247   fi
   13248 done
   13249   done
   13250 IFS=$as_save_IFS
   13251 
   13252 fi
   13253 fi
   13254 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13255 if test -n "$ac_ct_AR"; then
   13256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13257 $as_echo "$ac_ct_AR" >&6; }
   13258 else
   13259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13260 $as_echo "no" >&6; }
   13261 fi
   13262 
   13263   if test "x$ac_ct_AR" = x; then
   13264     AR=""
   13265   else
   13266     case $cross_compiling:$ac_tool_warned in
   13267 yes:)
   13268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13270 ac_tool_warned=yes ;;
   13271 esac
   13272     AR=$ac_ct_AR
   13273   fi
   13274 else
   13275   AR="$ac_cv_prog_AR"
   13276 fi
   13277 
   13278 if test "${AR}" = "" ; then
   13279   as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   13280 fi
   13281 touch conftest.c
   13282 ${AR} $plugin_option rc conftest.a conftest.c
   13283 if test "$?" != 0; then
   13284   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   13285 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   13286   plugin_option=
   13287 fi
   13288 rm -f conftest.*
   13289 if test -n "$plugin_option"; then
   13290   PLUGIN_OPTION="$plugin_option"
   13291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5
   13292 $as_echo "$plugin_option" >&6; }
   13293 else
   13294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13295 $as_echo "no" >&6; }
   13296 fi
   13297 
   13298 AR_PLUGIN_OPTION=
   13299 RANLIB_PLUGIN_OPTION=
   13300 if test -n "$PLUGIN_OPTION"; then
   13301   if $AR --help 2>&1 | grep -q "\--plugin"; then
   13302     AR_PLUGIN_OPTION="$PLUGIN_OPTION"
   13303   fi
   13304   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   13305     RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
   13306   fi
   13307 fi
   13308 
   13309 
   13310 
   13311 # Target tools.
   13312 
   13313 # Check whether --with-build-time-tools was given.
   13314 if test "${with_build_time_tools+set}" = set; then :
   13315   withval=$with_build_time_tools; case x"$withval" in
   13316      x/*) ;;
   13317      *)
   13318        with_build_time_tools=
   13319        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
   13320 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
   13321        ;;
   13322    esac
   13323 else
   13324   with_build_time_tools=
   13325 fi
   13326 
   13327 
   13328 
   13329 
   13330 if test -n "$CC_FOR_TARGET"; then
   13331   ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
   13332 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   13333   CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   13334 fi
   13335 
   13336 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
   13337   for ncn_progname in cc gcc; do
   13338     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13339 set dummy ${ncn_progname}; ac_word=$2
   13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13341 $as_echo_n "checking for $ac_word... " >&6; }
   13342 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   13343   $as_echo_n "(cached) " >&6
   13344 else
   13345   if test -n "$CC_FOR_TARGET"; then
   13346   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   13347 else
   13348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13349 for as_dir in $PATH
   13350 do
   13351   IFS=$as_save_IFS
   13352   test -z "$as_dir" && as_dir=.
   13353     for ac_exec_ext in '' $ac_executable_extensions; do
   13354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13355     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   13356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13357     break 2
   13358   fi
   13359 done
   13360   done
   13361 IFS=$as_save_IFS
   13362 
   13363 fi
   13364 fi
   13365 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   13366 if test -n "$CC_FOR_TARGET"; then
   13367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   13368 $as_echo "$CC_FOR_TARGET" >&6; }
   13369 else
   13370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13371 $as_echo "no" >&6; }
   13372 fi
   13373 
   13374 
   13375   done
   13376 fi
   13377 
   13378 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13379   for ncn_progname in cc gcc; do
   13380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13381 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13382     if test -x $with_build_time_tools/${ncn_progname}; then
   13383       ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13384       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13385 $as_echo "yes" >&6; }
   13386       break
   13387     else
   13388       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13389 $as_echo "no" >&6; }
   13390     fi
   13391   done
   13392 fi
   13393 
   13394 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
   13395   for ncn_progname in cc gcc; do
   13396     if test -n "$ncn_target_tool_prefix"; then
   13397       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13398 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13400 $as_echo_n "checking for $ac_word... " >&6; }
   13401 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   13402   $as_echo_n "(cached) " >&6
   13403 else
   13404   if test -n "$CC_FOR_TARGET"; then
   13405   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   13406 else
   13407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13408 for as_dir in $PATH
   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_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   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 fi
   13423 fi
   13424 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   13425 if test -n "$CC_FOR_TARGET"; then
   13426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   13427 $as_echo "$CC_FOR_TARGET" >&6; }
   13428 else
   13429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13430 $as_echo "no" >&6; }
   13431 fi
   13432 
   13433 
   13434     fi
   13435     if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
   13436       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13437 set dummy ${ncn_progname}; ac_word=$2
   13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13439 $as_echo_n "checking for $ac_word... " >&6; }
   13440 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
   13441   $as_echo_n "(cached) " >&6
   13442 else
   13443   if test -n "$CC_FOR_TARGET"; then
   13444   ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
   13445 else
   13446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13447 for as_dir in $PATH
   13448 do
   13449   IFS=$as_save_IFS
   13450   test -z "$as_dir" && as_dir=.
   13451     for ac_exec_ext in '' $ac_executable_extensions; do
   13452   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13453     ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
   13454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13455     break 2
   13456   fi
   13457 done
   13458   done
   13459 IFS=$as_save_IFS
   13460 
   13461 fi
   13462 fi
   13463 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
   13464 if test -n "$CC_FOR_TARGET"; then
   13465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
   13466 $as_echo "$CC_FOR_TARGET" >&6; }
   13467 else
   13468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13469 $as_echo "no" >&6; }
   13470 fi
   13471 
   13472 
   13473     fi
   13474     test -n "$ac_cv_prog_CC_FOR_TARGET" && break
   13475   done
   13476 fi
   13477 
   13478 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
   13479   set dummy cc gcc
   13480   if test $build = $target ; then
   13481     CC_FOR_TARGET="$2"
   13482   else
   13483     CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13484   fi
   13485 else
   13486   CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
   13487 fi
   13488 
   13489 
   13490 
   13491 if test -n "$CXX_FOR_TARGET"; then
   13492   ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
   13493 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   13494   CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   13495 fi
   13496 
   13497 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
   13498   for ncn_progname in c++ g++ cxx gxx; do
   13499     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13500 set dummy ${ncn_progname}; ac_word=$2
   13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13502 $as_echo_n "checking for $ac_word... " >&6; }
   13503 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   13504   $as_echo_n "(cached) " >&6
   13505 else
   13506   if test -n "$CXX_FOR_TARGET"; then
   13507   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   13508 else
   13509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13510 for as_dir in $PATH
   13511 do
   13512   IFS=$as_save_IFS
   13513   test -z "$as_dir" && as_dir=.
   13514     for ac_exec_ext in '' $ac_executable_extensions; do
   13515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13516     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   13517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13518     break 2
   13519   fi
   13520 done
   13521   done
   13522 IFS=$as_save_IFS
   13523 
   13524 fi
   13525 fi
   13526 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   13527 if test -n "$CXX_FOR_TARGET"; then
   13528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   13529 $as_echo "$CXX_FOR_TARGET" >&6; }
   13530 else
   13531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13532 $as_echo "no" >&6; }
   13533 fi
   13534 
   13535 
   13536   done
   13537 fi
   13538 
   13539 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13540   for ncn_progname in c++ g++ cxx gxx; do
   13541     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13542 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13543     if test -x $with_build_time_tools/${ncn_progname}; then
   13544       ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13545       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13546 $as_echo "yes" >&6; }
   13547       break
   13548     else
   13549       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13550 $as_echo "no" >&6; }
   13551     fi
   13552   done
   13553 fi
   13554 
   13555 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
   13556   for ncn_progname in c++ g++ cxx gxx; do
   13557     if test -n "$ncn_target_tool_prefix"; then
   13558       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13559 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13561 $as_echo_n "checking for $ac_word... " >&6; }
   13562 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   13563   $as_echo_n "(cached) " >&6
   13564 else
   13565   if test -n "$CXX_FOR_TARGET"; then
   13566   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   13567 else
   13568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13569 for as_dir in $PATH
   13570 do
   13571   IFS=$as_save_IFS
   13572   test -z "$as_dir" && as_dir=.
   13573     for ac_exec_ext in '' $ac_executable_extensions; do
   13574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13575     ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13577     break 2
   13578   fi
   13579 done
   13580   done
   13581 IFS=$as_save_IFS
   13582 
   13583 fi
   13584 fi
   13585 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   13586 if test -n "$CXX_FOR_TARGET"; then
   13587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   13588 $as_echo "$CXX_FOR_TARGET" >&6; }
   13589 else
   13590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13591 $as_echo "no" >&6; }
   13592 fi
   13593 
   13594 
   13595     fi
   13596     if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
   13597       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13598 set dummy ${ncn_progname}; ac_word=$2
   13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13600 $as_echo_n "checking for $ac_word... " >&6; }
   13601 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
   13602   $as_echo_n "(cached) " >&6
   13603 else
   13604   if test -n "$CXX_FOR_TARGET"; then
   13605   ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
   13606 else
   13607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13608 for as_dir in $PATH
   13609 do
   13610   IFS=$as_save_IFS
   13611   test -z "$as_dir" && as_dir=.
   13612     for ac_exec_ext in '' $ac_executable_extensions; do
   13613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13614     ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
   13615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13616     break 2
   13617   fi
   13618 done
   13619   done
   13620 IFS=$as_save_IFS
   13621 
   13622 fi
   13623 fi
   13624 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
   13625 if test -n "$CXX_FOR_TARGET"; then
   13626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
   13627 $as_echo "$CXX_FOR_TARGET" >&6; }
   13628 else
   13629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13630 $as_echo "no" >&6; }
   13631 fi
   13632 
   13633 
   13634     fi
   13635     test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
   13636   done
   13637 fi
   13638 
   13639 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
   13640   set dummy c++ g++ cxx gxx
   13641   if test $build = $target ; then
   13642     CXX_FOR_TARGET="$2"
   13643   else
   13644     CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13645   fi
   13646 else
   13647   CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
   13648 fi
   13649 
   13650 
   13651 
   13652 if test -n "$GCC_FOR_TARGET"; then
   13653   ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
   13654 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   13655   GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   13656 fi
   13657 
   13658 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
   13659   for ncn_progname in gcc; do
   13660     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13661 set dummy ${ncn_progname}; ac_word=$2
   13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13663 $as_echo_n "checking for $ac_word... " >&6; }
   13664 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   13665   $as_echo_n "(cached) " >&6
   13666 else
   13667   if test -n "$GCC_FOR_TARGET"; then
   13668   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   13669 else
   13670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13671 for as_dir in $PATH
   13672 do
   13673   IFS=$as_save_IFS
   13674   test -z "$as_dir" && as_dir=.
   13675     for ac_exec_ext in '' $ac_executable_extensions; do
   13676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13677     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   13678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13679     break 2
   13680   fi
   13681 done
   13682   done
   13683 IFS=$as_save_IFS
   13684 
   13685 fi
   13686 fi
   13687 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   13688 if test -n "$GCC_FOR_TARGET"; then
   13689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   13690 $as_echo "$GCC_FOR_TARGET" >&6; }
   13691 else
   13692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13693 $as_echo "no" >&6; }
   13694 fi
   13695 
   13696 
   13697   done
   13698 fi
   13699 
   13700 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13701   for ncn_progname in gcc; do
   13702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13703 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13704     if test -x $with_build_time_tools/${ncn_progname}; then
   13705       ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13706       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13707 $as_echo "yes" >&6; }
   13708       break
   13709     else
   13710       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13711 $as_echo "no" >&6; }
   13712     fi
   13713   done
   13714 fi
   13715 
   13716 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
   13717   for ncn_progname in gcc; do
   13718     if test -n "$ncn_target_tool_prefix"; then
   13719       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13720 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13722 $as_echo_n "checking for $ac_word... " >&6; }
   13723 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   13724   $as_echo_n "(cached) " >&6
   13725 else
   13726   if test -n "$GCC_FOR_TARGET"; then
   13727   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   13728 else
   13729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13730 for as_dir in $PATH
   13731 do
   13732   IFS=$as_save_IFS
   13733   test -z "$as_dir" && as_dir=.
   13734     for ac_exec_ext in '' $ac_executable_extensions; do
   13735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13736     ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13738     break 2
   13739   fi
   13740 done
   13741   done
   13742 IFS=$as_save_IFS
   13743 
   13744 fi
   13745 fi
   13746 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   13747 if test -n "$GCC_FOR_TARGET"; then
   13748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   13749 $as_echo "$GCC_FOR_TARGET" >&6; }
   13750 else
   13751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13752 $as_echo "no" >&6; }
   13753 fi
   13754 
   13755 
   13756     fi
   13757     if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
   13758       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13759 set dummy ${ncn_progname}; ac_word=$2
   13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13761 $as_echo_n "checking for $ac_word... " >&6; }
   13762 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
   13763   $as_echo_n "(cached) " >&6
   13764 else
   13765   if test -n "$GCC_FOR_TARGET"; then
   13766   ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
   13767 else
   13768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13769 for as_dir in $PATH
   13770 do
   13771   IFS=$as_save_IFS
   13772   test -z "$as_dir" && as_dir=.
   13773     for ac_exec_ext in '' $ac_executable_extensions; do
   13774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13775     ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
   13776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13777     break 2
   13778   fi
   13779 done
   13780   done
   13781 IFS=$as_save_IFS
   13782 
   13783 fi
   13784 fi
   13785 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
   13786 if test -n "$GCC_FOR_TARGET"; then
   13787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
   13788 $as_echo "$GCC_FOR_TARGET" >&6; }
   13789 else
   13790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13791 $as_echo "no" >&6; }
   13792 fi
   13793 
   13794 
   13795     fi
   13796     test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
   13797   done
   13798 fi
   13799 
   13800 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
   13801   GCC_FOR_TARGET="${CC_FOR_TARGET}"
   13802 else
   13803   GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
   13804 fi
   13805 
   13806 
   13807 
   13808 if test -n "$GFORTRAN_FOR_TARGET"; then
   13809   ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
   13810 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   13811   GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   13812 fi
   13813 
   13814 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   13815   for ncn_progname in gfortran; do
   13816     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13817 set dummy ${ncn_progname}; ac_word=$2
   13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13819 $as_echo_n "checking for $ac_word... " >&6; }
   13820 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   13821   $as_echo_n "(cached) " >&6
   13822 else
   13823   if test -n "$GFORTRAN_FOR_TARGET"; then
   13824   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   13825 else
   13826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13827 for as_dir in $PATH
   13828 do
   13829   IFS=$as_save_IFS
   13830   test -z "$as_dir" && as_dir=.
   13831     for ac_exec_ext in '' $ac_executable_extensions; do
   13832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13833     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   13834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13835     break 2
   13836   fi
   13837 done
   13838   done
   13839 IFS=$as_save_IFS
   13840 
   13841 fi
   13842 fi
   13843 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   13844 if test -n "$GFORTRAN_FOR_TARGET"; then
   13845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   13846 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   13847 else
   13848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13849 $as_echo "no" >&6; }
   13850 fi
   13851 
   13852 
   13853   done
   13854 fi
   13855 
   13856 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
   13857   for ncn_progname in gfortran; do
   13858     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   13859 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   13860     if test -x $with_build_time_tools/${ncn_progname}; then
   13861       ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   13862       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13863 $as_echo "yes" >&6; }
   13864       break
   13865     else
   13866       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13867 $as_echo "no" >&6; }
   13868     fi
   13869   done
   13870 fi
   13871 
   13872 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
   13873   for ncn_progname in gfortran; do
   13874     if test -n "$ncn_target_tool_prefix"; then
   13875       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   13876 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13878 $as_echo_n "checking for $ac_word... " >&6; }
   13879 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   if test -n "$GFORTRAN_FOR_TARGET"; then
   13883   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   13884 else
   13885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13886 for as_dir in $PATH
   13887 do
   13888   IFS=$as_save_IFS
   13889   test -z "$as_dir" && as_dir=.
   13890     for ac_exec_ext in '' $ac_executable_extensions; do
   13891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13892     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   13893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13894     break 2
   13895   fi
   13896 done
   13897   done
   13898 IFS=$as_save_IFS
   13899 
   13900 fi
   13901 fi
   13902 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   13903 if test -n "$GFORTRAN_FOR_TARGET"; then
   13904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   13905 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   13906 else
   13907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13908 $as_echo "no" >&6; }
   13909 fi
   13910 
   13911 
   13912     fi
   13913     if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
   13914       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13915 set dummy ${ncn_progname}; ac_word=$2
   13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13917 $as_echo_n "checking for $ac_word... " >&6; }
   13918 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
   13919   $as_echo_n "(cached) " >&6
   13920 else
   13921   if test -n "$GFORTRAN_FOR_TARGET"; then
   13922   ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
   13923 else
   13924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13925 for as_dir in $PATH
   13926 do
   13927   IFS=$as_save_IFS
   13928   test -z "$as_dir" && as_dir=.
   13929     for ac_exec_ext in '' $ac_executable_extensions; do
   13930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13931     ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
   13932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13933     break 2
   13934   fi
   13935 done
   13936   done
   13937 IFS=$as_save_IFS
   13938 
   13939 fi
   13940 fi
   13941 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
   13942 if test -n "$GFORTRAN_FOR_TARGET"; then
   13943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
   13944 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
   13945 else
   13946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13947 $as_echo "no" >&6; }
   13948 fi
   13949 
   13950 
   13951     fi
   13952     test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
   13953   done
   13954 fi
   13955 
   13956 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
   13957   set dummy gfortran
   13958   if test $build = $target ; then
   13959     GFORTRAN_FOR_TARGET="$2"
   13960   else
   13961     GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
   13962   fi
   13963 else
   13964   GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
   13965 fi
   13966 
   13967 
   13968 
   13969 if test -n "$GOC_FOR_TARGET"; then
   13970   ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
   13971 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   13972   GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   13973 fi
   13974 
   13975 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
   13976   for ncn_progname in gccgo; do
   13977     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   13978 set dummy ${ncn_progname}; ac_word=$2
   13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13980 $as_echo_n "checking for $ac_word... " >&6; }
   13981 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   13982   $as_echo_n "(cached) " >&6
   13983 else
   13984   if test -n "$GOC_FOR_TARGET"; then
   13985   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   13986 else
   13987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13988 for as_dir in $PATH
   13989 do
   13990   IFS=$as_save_IFS
   13991   test -z "$as_dir" && as_dir=.
   13992     for ac_exec_ext in '' $ac_executable_extensions; do
   13993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13994     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   13995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13996     break 2
   13997   fi
   13998 done
   13999   done
   14000 IFS=$as_save_IFS
   14001 
   14002 fi
   14003 fi
   14004 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   14005 if test -n "$GOC_FOR_TARGET"; then
   14006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   14007 $as_echo "$GOC_FOR_TARGET" >&6; }
   14008 else
   14009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14010 $as_echo "no" >&6; }
   14011 fi
   14012 
   14013 
   14014   done
   14015 fi
   14016 
   14017 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   14018   for ncn_progname in gccgo; do
   14019     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   14020 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   14021     if test -x $with_build_time_tools/${ncn_progname}; then
   14022       ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   14023       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14024 $as_echo "yes" >&6; }
   14025       break
   14026     else
   14027       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14028 $as_echo "no" >&6; }
   14029     fi
   14030   done
   14031 fi
   14032 
   14033 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
   14034   for ncn_progname in gccgo; do
   14035     if test -n "$ncn_target_tool_prefix"; then
   14036       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   14037 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14039 $as_echo_n "checking for $ac_word... " >&6; }
   14040 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   14041   $as_echo_n "(cached) " >&6
   14042 else
   14043   if test -n "$GOC_FOR_TARGET"; then
   14044   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   14045 else
   14046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14047 for as_dir in $PATH
   14048 do
   14049   IFS=$as_save_IFS
   14050   test -z "$as_dir" && as_dir=.
   14051     for ac_exec_ext in '' $ac_executable_extensions; do
   14052   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14053     ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   14054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14055     break 2
   14056   fi
   14057 done
   14058   done
   14059 IFS=$as_save_IFS
   14060 
   14061 fi
   14062 fi
   14063 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   14064 if test -n "$GOC_FOR_TARGET"; then
   14065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   14066 $as_echo "$GOC_FOR_TARGET" >&6; }
   14067 else
   14068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14069 $as_echo "no" >&6; }
   14070 fi
   14071 
   14072 
   14073     fi
   14074     if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
   14075       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14076 set dummy ${ncn_progname}; ac_word=$2
   14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14078 $as_echo_n "checking for $ac_word... " >&6; }
   14079 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
   14080   $as_echo_n "(cached) " >&6
   14081 else
   14082   if test -n "$GOC_FOR_TARGET"; then
   14083   ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
   14084 else
   14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14086 for as_dir in $PATH
   14087 do
   14088   IFS=$as_save_IFS
   14089   test -z "$as_dir" && as_dir=.
   14090     for ac_exec_ext in '' $ac_executable_extensions; do
   14091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14092     ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
   14093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14094     break 2
   14095   fi
   14096 done
   14097   done
   14098 IFS=$as_save_IFS
   14099 
   14100 fi
   14101 fi
   14102 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
   14103 if test -n "$GOC_FOR_TARGET"; then
   14104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
   14105 $as_echo "$GOC_FOR_TARGET" >&6; }
   14106 else
   14107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14108 $as_echo "no" >&6; }
   14109 fi
   14110 
   14111 
   14112     fi
   14113     test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
   14114   done
   14115 fi
   14116 
   14117 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
   14118   set dummy gccgo
   14119   if test $build = $target ; then
   14120     GOC_FOR_TARGET="$2"
   14121   else
   14122     GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   14123   fi
   14124 else
   14125   GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
   14126 fi
   14127 
   14128 
   14129 
   14130 if test -n "$GDC_FOR_TARGET"; then
   14131   ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
   14132 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
   14133   GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
   14134 fi
   14135 
   14136 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
   14137   for ncn_progname in gdc; do
   14138     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14139 set dummy ${ncn_progname}; ac_word=$2
   14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14141 $as_echo_n "checking for $ac_word... " >&6; }
   14142 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
   14143   $as_echo_n "(cached) " >&6
   14144 else
   14145   if test -n "$GDC_FOR_TARGET"; then
   14146   ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
   14147 else
   14148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14149 for as_dir in $PATH
   14150 do
   14151   IFS=$as_save_IFS
   14152   test -z "$as_dir" && as_dir=.
   14153     for ac_exec_ext in '' $ac_executable_extensions; do
   14154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14155     ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
   14156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14157     break 2
   14158   fi
   14159 done
   14160   done
   14161 IFS=$as_save_IFS
   14162 
   14163 fi
   14164 fi
   14165 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
   14166 if test -n "$GDC_FOR_TARGET"; then
   14167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC_FOR_TARGET" >&5
   14168 $as_echo "$GDC_FOR_TARGET" >&6; }
   14169 else
   14170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14171 $as_echo "no" >&6; }
   14172 fi
   14173 
   14174 
   14175   done
   14176 fi
   14177 
   14178 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   14179   for ncn_progname in gdc; do
   14180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   14181 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   14182     if test -x $with_build_time_tools/${ncn_progname}; then
   14183       ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   14184       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14185 $as_echo "yes" >&6; }
   14186       break
   14187     else
   14188       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14189 $as_echo "no" >&6; }
   14190     fi
   14191   done
   14192 fi
   14193 
   14194 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
   14195   for ncn_progname in gdc; do
   14196     if test -n "$ncn_target_tool_prefix"; then
   14197       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   14198 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14200 $as_echo_n "checking for $ac_word... " >&6; }
   14201 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
   14202   $as_echo_n "(cached) " >&6
   14203 else
   14204   if test -n "$GDC_FOR_TARGET"; then
   14205   ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
   14206 else
   14207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14208 for as_dir in $PATH
   14209 do
   14210   IFS=$as_save_IFS
   14211   test -z "$as_dir" && as_dir=.
   14212     for ac_exec_ext in '' $ac_executable_extensions; do
   14213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14214     ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   14215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14216     break 2
   14217   fi
   14218 done
   14219   done
   14220 IFS=$as_save_IFS
   14221 
   14222 fi
   14223 fi
   14224 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
   14225 if test -n "$GDC_FOR_TARGET"; then
   14226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC_FOR_TARGET" >&5
   14227 $as_echo "$GDC_FOR_TARGET" >&6; }
   14228 else
   14229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14230 $as_echo "no" >&6; }
   14231 fi
   14232 
   14233 
   14234     fi
   14235     if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
   14236       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14237 set dummy ${ncn_progname}; ac_word=$2
   14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14239 $as_echo_n "checking for $ac_word... " >&6; }
   14240 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
   14241   $as_echo_n "(cached) " >&6
   14242 else
   14243   if test -n "$GDC_FOR_TARGET"; then
   14244   ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
   14245 else
   14246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14247 for as_dir in $PATH
   14248 do
   14249   IFS=$as_save_IFS
   14250   test -z "$as_dir" && as_dir=.
   14251     for ac_exec_ext in '' $ac_executable_extensions; do
   14252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14253     ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
   14254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14255     break 2
   14256   fi
   14257 done
   14258   done
   14259 IFS=$as_save_IFS
   14260 
   14261 fi
   14262 fi
   14263 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
   14264 if test -n "$GDC_FOR_TARGET"; then
   14265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC_FOR_TARGET" >&5
   14266 $as_echo "$GDC_FOR_TARGET" >&6; }
   14267 else
   14268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14269 $as_echo "no" >&6; }
   14270 fi
   14271 
   14272 
   14273     fi
   14274     test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
   14275   done
   14276 fi
   14277 
   14278 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
   14279   set dummy gdc
   14280   if test $build = $target ; then
   14281     GDC_FOR_TARGET="$2"
   14282   else
   14283     GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   14284   fi
   14285 else
   14286   GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
   14287 fi
   14288 
   14289 
   14290 
   14291 if test -n "$GM2_FOR_TARGET"; then
   14292   ac_cv_prog_GM2_FOR_TARGET=$GM2_FOR_TARGET
   14293 elif test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
   14294   GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
   14295 fi
   14296 
   14297 if test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
   14298   for ncn_progname in gm2; do
   14299     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14300 set dummy ${ncn_progname}; ac_word=$2
   14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14302 $as_echo_n "checking for $ac_word... " >&6; }
   14303 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
   14304   $as_echo_n "(cached) " >&6
   14305 else
   14306   if test -n "$GM2_FOR_TARGET"; then
   14307   ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
   14308 else
   14309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14310 for as_dir in $PATH
   14311 do
   14312   IFS=$as_save_IFS
   14313   test -z "$as_dir" && as_dir=.
   14314     for ac_exec_ext in '' $ac_executable_extensions; do
   14315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14316     ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
   14317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14318     break 2
   14319   fi
   14320 done
   14321   done
   14322 IFS=$as_save_IFS
   14323 
   14324 fi
   14325 fi
   14326 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
   14327 if test -n "$GM2_FOR_TARGET"; then
   14328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
   14329 $as_echo "$GM2_FOR_TARGET" >&6; }
   14330 else
   14331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14332 $as_echo "no" >&6; }
   14333 fi
   14334 
   14335 
   14336   done
   14337 fi
   14338 
   14339 if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test -n "$with_build_time_tools"; then
   14340   for ncn_progname in gm2; do
   14341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   14342 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   14343     if test -x $with_build_time_tools/${ncn_progname}; then
   14344       ac_cv_prog_GM2_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   14345       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14346 $as_echo "yes" >&6; }
   14347       break
   14348     else
   14349       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14350 $as_echo "no" >&6; }
   14351     fi
   14352   done
   14353 fi
   14354 
   14355 if test -z "$ac_cv_prog_GM2_FOR_TARGET"; then
   14356   for ncn_progname in gm2; do
   14357     if test -n "$ncn_target_tool_prefix"; then
   14358       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   14359 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14361 $as_echo_n "checking for $ac_word... " >&6; }
   14362 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
   14363   $as_echo_n "(cached) " >&6
   14364 else
   14365   if test -n "$GM2_FOR_TARGET"; then
   14366   ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
   14367 else
   14368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14369 for as_dir in $PATH
   14370 do
   14371   IFS=$as_save_IFS
   14372   test -z "$as_dir" && as_dir=.
   14373     for ac_exec_ext in '' $ac_executable_extensions; do
   14374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14375     ac_cv_prog_GM2_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   14376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14377     break 2
   14378   fi
   14379 done
   14380   done
   14381 IFS=$as_save_IFS
   14382 
   14383 fi
   14384 fi
   14385 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
   14386 if test -n "$GM2_FOR_TARGET"; then
   14387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
   14388 $as_echo "$GM2_FOR_TARGET" >&6; }
   14389 else
   14390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14391 $as_echo "no" >&6; }
   14392 fi
   14393 
   14394 
   14395     fi
   14396     if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test $build = $target ; then
   14397       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14398 set dummy ${ncn_progname}; ac_word=$2
   14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14400 $as_echo_n "checking for $ac_word... " >&6; }
   14401 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
   14402   $as_echo_n "(cached) " >&6
   14403 else
   14404   if test -n "$GM2_FOR_TARGET"; then
   14405   ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
   14406 else
   14407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14408 for as_dir in $PATH
   14409 do
   14410   IFS=$as_save_IFS
   14411   test -z "$as_dir" && as_dir=.
   14412     for ac_exec_ext in '' $ac_executable_extensions; do
   14413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14414     ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
   14415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14416     break 2
   14417   fi
   14418 done
   14419   done
   14420 IFS=$as_save_IFS
   14421 
   14422 fi
   14423 fi
   14424 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
   14425 if test -n "$GM2_FOR_TARGET"; then
   14426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
   14427 $as_echo "$GM2_FOR_TARGET" >&6; }
   14428 else
   14429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14430 $as_echo "no" >&6; }
   14431 fi
   14432 
   14433 
   14434     fi
   14435     test -n "$ac_cv_prog_GM2_FOR_TARGET" && break
   14436   done
   14437 fi
   14438 
   14439 if test -z "$ac_cv_prog_GM2_FOR_TARGET" ; then
   14440   set dummy gm2
   14441   if test $build = $target ; then
   14442     GM2_FOR_TARGET="$2"
   14443   else
   14444     GM2_FOR_TARGET="${ncn_target_tool_prefix}$2"
   14445   fi
   14446 else
   14447   GM2_FOR_TARGET="$ac_cv_prog_GM2_FOR_TARGET"
   14448 fi
   14449 
   14450 
   14451 
   14452 cat > conftest.c << \EOF
   14453 #ifdef __GNUC__
   14454   gcc_yay;
   14455 #endif
   14456 EOF
   14457 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
   14458   have_gcc_for_target=yes
   14459 else
   14460   GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
   14461   have_gcc_for_target=no
   14462 fi
   14463 rm conftest.c
   14464 
   14465 
   14466 
   14467 
   14468 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   14469   if test -n "$with_build_time_tools"; then
   14470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
   14471 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
   14472     if test -x $with_build_time_tools/ar; then
   14473       AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
   14474       ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   14475       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
   14476 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
   14477     else
   14478       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14479 $as_echo "no" >&6; }
   14480     fi
   14481   elif test $build != $host && test $have_gcc_for_target = yes; then
   14482     AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
   14483     test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
   14484     test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
   14485   fi
   14486 fi
   14487 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   14488   # Extract the first word of "ar", so it can be a program name with args.
   14489 set dummy ar; ac_word=$2
   14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14491 $as_echo_n "checking for $ac_word... " >&6; }
   14492 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
   14493   $as_echo_n "(cached) " >&6
   14494 else
   14495   case $AR_FOR_TARGET in
   14496   [\\/]* | ?:[\\/]*)
   14497   ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
   14498   ;;
   14499   *)
   14500   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14501 for as_dir in $gcc_cv_tool_dirs
   14502 do
   14503   IFS=$as_save_IFS
   14504   test -z "$as_dir" && as_dir=.
   14505     for ac_exec_ext in '' $ac_executable_extensions; do
   14506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14507     ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   14508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14509     break 2
   14510   fi
   14511 done
   14512   done
   14513 IFS=$as_save_IFS
   14514 
   14515   ;;
   14516 esac
   14517 fi
   14518 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   14519 if test -n "$AR_FOR_TARGET"; then
   14520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   14521 $as_echo "$AR_FOR_TARGET" >&6; }
   14522 else
   14523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14524 $as_echo "no" >&6; }
   14525 fi
   14526 
   14527 
   14528 fi
   14529 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
   14530 
   14531 
   14532 if test -n "$AR_FOR_TARGET"; then
   14533   ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
   14534 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   14535   AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   14536 fi
   14537 
   14538 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
   14539   for ncn_progname in ar; do
   14540     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14541 set dummy ${ncn_progname}; ac_word=$2
   14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14543 $as_echo_n "checking for $ac_word... " >&6; }
   14544 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   14545   $as_echo_n "(cached) " >&6
   14546 else
   14547   if test -n "$AR_FOR_TARGET"; then
   14548   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   14549 else
   14550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14551 for as_dir in $PATH
   14552 do
   14553   IFS=$as_save_IFS
   14554   test -z "$as_dir" && as_dir=.
   14555     for ac_exec_ext in '' $ac_executable_extensions; do
   14556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14557     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   14558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14559     break 2
   14560   fi
   14561 done
   14562   done
   14563 IFS=$as_save_IFS
   14564 
   14565 fi
   14566 fi
   14567 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   14568 if test -n "$AR_FOR_TARGET"; then
   14569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   14570 $as_echo "$AR_FOR_TARGET" >&6; }
   14571 else
   14572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14573 $as_echo "no" >&6; }
   14574 fi
   14575 
   14576 
   14577   done
   14578 fi
   14579 
   14580 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
   14581   for ncn_progname in ar; do
   14582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   14583 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   14584     if test -x $with_build_time_tools/${ncn_progname}; then
   14585       ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   14586       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14587 $as_echo "yes" >&6; }
   14588       break
   14589     else
   14590       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14591 $as_echo "no" >&6; }
   14592     fi
   14593   done
   14594 fi
   14595 
   14596 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
   14597   for ncn_progname in ar; do
   14598     if test -n "$ncn_target_tool_prefix"; then
   14599       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   14600 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14602 $as_echo_n "checking for $ac_word... " >&6; }
   14603 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   14604   $as_echo_n "(cached) " >&6
   14605 else
   14606   if test -n "$AR_FOR_TARGET"; then
   14607   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   14608 else
   14609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14610 for as_dir in $PATH
   14611 do
   14612   IFS=$as_save_IFS
   14613   test -z "$as_dir" && as_dir=.
   14614     for ac_exec_ext in '' $ac_executable_extensions; do
   14615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14616     ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   14617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14618     break 2
   14619   fi
   14620 done
   14621   done
   14622 IFS=$as_save_IFS
   14623 
   14624 fi
   14625 fi
   14626 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   14627 if test -n "$AR_FOR_TARGET"; then
   14628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   14629 $as_echo "$AR_FOR_TARGET" >&6; }
   14630 else
   14631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14632 $as_echo "no" >&6; }
   14633 fi
   14634 
   14635 
   14636     fi
   14637     if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
   14638       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14639 set dummy ${ncn_progname}; ac_word=$2
   14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14641 $as_echo_n "checking for $ac_word... " >&6; }
   14642 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
   14643   $as_echo_n "(cached) " >&6
   14644 else
   14645   if test -n "$AR_FOR_TARGET"; then
   14646   ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
   14647 else
   14648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14649 for as_dir in $PATH
   14650 do
   14651   IFS=$as_save_IFS
   14652   test -z "$as_dir" && as_dir=.
   14653     for ac_exec_ext in '' $ac_executable_extensions; do
   14654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14655     ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
   14656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14657     break 2
   14658   fi
   14659 done
   14660   done
   14661 IFS=$as_save_IFS
   14662 
   14663 fi
   14664 fi
   14665 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
   14666 if test -n "$AR_FOR_TARGET"; then
   14667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
   14668 $as_echo "$AR_FOR_TARGET" >&6; }
   14669 else
   14670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14671 $as_echo "no" >&6; }
   14672 fi
   14673 
   14674 
   14675     fi
   14676     test -n "$ac_cv_prog_AR_FOR_TARGET" && break
   14677   done
   14678 fi
   14679 
   14680 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
   14681   set dummy ar
   14682   if test $build = $target ; then
   14683     AR_FOR_TARGET="$2"
   14684   else
   14685     AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
   14686   fi
   14687 else
   14688   AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
   14689 fi
   14690 
   14691 else
   14692   AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
   14693 fi
   14694 
   14695 
   14696 
   14697 
   14698 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   14699   if test -n "$with_build_time_tools"; then
   14700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
   14701 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
   14702     if test -x $with_build_time_tools/as; then
   14703       AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
   14704       ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   14705       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
   14706 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
   14707     else
   14708       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14709 $as_echo "no" >&6; }
   14710     fi
   14711   elif test $build != $host && test $have_gcc_for_target = yes; then
   14712     AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
   14713     test $AS_FOR_TARGET = as && AS_FOR_TARGET=
   14714     test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
   14715   fi
   14716 fi
   14717 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   14718   # Extract the first word of "as", so it can be a program name with args.
   14719 set dummy as; ac_word=$2
   14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14721 $as_echo_n "checking for $ac_word... " >&6; }
   14722 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
   14723   $as_echo_n "(cached) " >&6
   14724 else
   14725   case $AS_FOR_TARGET in
   14726   [\\/]* | ?:[\\/]*)
   14727   ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
   14728   ;;
   14729   *)
   14730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14731 for as_dir in $gcc_cv_tool_dirs
   14732 do
   14733   IFS=$as_save_IFS
   14734   test -z "$as_dir" && as_dir=.
   14735     for ac_exec_ext in '' $ac_executable_extensions; do
   14736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14737     ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   14738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14739     break 2
   14740   fi
   14741 done
   14742   done
   14743 IFS=$as_save_IFS
   14744 
   14745   ;;
   14746 esac
   14747 fi
   14748 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   14749 if test -n "$AS_FOR_TARGET"; then
   14750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   14751 $as_echo "$AS_FOR_TARGET" >&6; }
   14752 else
   14753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14754 $as_echo "no" >&6; }
   14755 fi
   14756 
   14757 
   14758 fi
   14759 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
   14760 
   14761 
   14762 if test -n "$AS_FOR_TARGET"; then
   14763   ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
   14764 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   14765   AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   14766 fi
   14767 
   14768 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
   14769   for ncn_progname in as; do
   14770     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14771 set dummy ${ncn_progname}; ac_word=$2
   14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14773 $as_echo_n "checking for $ac_word... " >&6; }
   14774 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   14775   $as_echo_n "(cached) " >&6
   14776 else
   14777   if test -n "$AS_FOR_TARGET"; then
   14778   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   14779 else
   14780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14781 for as_dir in $PATH
   14782 do
   14783   IFS=$as_save_IFS
   14784   test -z "$as_dir" && as_dir=.
   14785     for ac_exec_ext in '' $ac_executable_extensions; do
   14786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14787     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   14788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14789     break 2
   14790   fi
   14791 done
   14792   done
   14793 IFS=$as_save_IFS
   14794 
   14795 fi
   14796 fi
   14797 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   14798 if test -n "$AS_FOR_TARGET"; then
   14799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   14800 $as_echo "$AS_FOR_TARGET" >&6; }
   14801 else
   14802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14803 $as_echo "no" >&6; }
   14804 fi
   14805 
   14806 
   14807   done
   14808 fi
   14809 
   14810 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
   14811   for ncn_progname in as; do
   14812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   14813 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   14814     if test -x $with_build_time_tools/${ncn_progname}; then
   14815       ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   14816       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14817 $as_echo "yes" >&6; }
   14818       break
   14819     else
   14820       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14821 $as_echo "no" >&6; }
   14822     fi
   14823   done
   14824 fi
   14825 
   14826 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
   14827   for ncn_progname in as; do
   14828     if test -n "$ncn_target_tool_prefix"; then
   14829       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   14830 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14832 $as_echo_n "checking for $ac_word... " >&6; }
   14833 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   14834   $as_echo_n "(cached) " >&6
   14835 else
   14836   if test -n "$AS_FOR_TARGET"; then
   14837   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   14838 else
   14839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14840 for as_dir in $PATH
   14841 do
   14842   IFS=$as_save_IFS
   14843   test -z "$as_dir" && as_dir=.
   14844     for ac_exec_ext in '' $ac_executable_extensions; do
   14845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14846     ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   14847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14848     break 2
   14849   fi
   14850 done
   14851   done
   14852 IFS=$as_save_IFS
   14853 
   14854 fi
   14855 fi
   14856 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   14857 if test -n "$AS_FOR_TARGET"; then
   14858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   14859 $as_echo "$AS_FOR_TARGET" >&6; }
   14860 else
   14861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14862 $as_echo "no" >&6; }
   14863 fi
   14864 
   14865 
   14866     fi
   14867     if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
   14868       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   14869 set dummy ${ncn_progname}; ac_word=$2
   14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14871 $as_echo_n "checking for $ac_word... " >&6; }
   14872 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
   14873   $as_echo_n "(cached) " >&6
   14874 else
   14875   if test -n "$AS_FOR_TARGET"; then
   14876   ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
   14877 else
   14878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14879 for as_dir in $PATH
   14880 do
   14881   IFS=$as_save_IFS
   14882   test -z "$as_dir" && as_dir=.
   14883     for ac_exec_ext in '' $ac_executable_extensions; do
   14884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14885     ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
   14886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14887     break 2
   14888   fi
   14889 done
   14890   done
   14891 IFS=$as_save_IFS
   14892 
   14893 fi
   14894 fi
   14895 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
   14896 if test -n "$AS_FOR_TARGET"; then
   14897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
   14898 $as_echo "$AS_FOR_TARGET" >&6; }
   14899 else
   14900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14901 $as_echo "no" >&6; }
   14902 fi
   14903 
   14904 
   14905     fi
   14906     test -n "$ac_cv_prog_AS_FOR_TARGET" && break
   14907   done
   14908 fi
   14909 
   14910 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
   14911   set dummy as
   14912   if test $build = $target ; then
   14913     AS_FOR_TARGET="$2"
   14914   else
   14915     AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
   14916   fi
   14917 else
   14918   AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
   14919 fi
   14920 
   14921 else
   14922   AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
   14923 fi
   14924 
   14925 
   14926 
   14927 
   14928 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   14929   if test -n "$with_build_time_tools"; then
   14930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
   14931 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
   14932     if test -x $with_build_time_tools/dlltool; then
   14933       DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
   14934       ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   14935       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
   14936 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
   14937     else
   14938       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14939 $as_echo "no" >&6; }
   14940     fi
   14941   elif test $build != $host && test $have_gcc_for_target = yes; then
   14942     DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
   14943     test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
   14944     test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   14945   fi
   14946 fi
   14947 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   14948   # Extract the first word of "dlltool", so it can be a program name with args.
   14949 set dummy dlltool; ac_word=$2
   14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14951 $as_echo_n "checking for $ac_word... " >&6; }
   14952 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
   14953   $as_echo_n "(cached) " >&6
   14954 else
   14955   case $DLLTOOL_FOR_TARGET in
   14956   [\\/]* | ?:[\\/]*)
   14957   ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
   14958   ;;
   14959   *)
   14960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14961 for as_dir in $gcc_cv_tool_dirs
   14962 do
   14963   IFS=$as_save_IFS
   14964   test -z "$as_dir" && as_dir=.
   14965     for ac_exec_ext in '' $ac_executable_extensions; do
   14966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14967     ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   14968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14969     break 2
   14970   fi
   14971 done
   14972   done
   14973 IFS=$as_save_IFS
   14974 
   14975   ;;
   14976 esac
   14977 fi
   14978 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   14979 if test -n "$DLLTOOL_FOR_TARGET"; then
   14980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   14981 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   14982 else
   14983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14984 $as_echo "no" >&6; }
   14985 fi
   14986 
   14987 
   14988 fi
   14989 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
   14990 
   14991 
   14992 if test -n "$DLLTOOL_FOR_TARGET"; then
   14993   ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
   14994 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   14995   DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   14996 fi
   14997 
   14998 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   14999   for ncn_progname in dlltool; do
   15000     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15001 set dummy ${ncn_progname}; ac_word=$2
   15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15003 $as_echo_n "checking for $ac_word... " >&6; }
   15004 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   15005   $as_echo_n "(cached) " >&6
   15006 else
   15007   if test -n "$DLLTOOL_FOR_TARGET"; then
   15008   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   15009 else
   15010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15011 for as_dir in $PATH
   15012 do
   15013   IFS=$as_save_IFS
   15014   test -z "$as_dir" && as_dir=.
   15015     for ac_exec_ext in '' $ac_executable_extensions; do
   15016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15017     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   15018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15019     break 2
   15020   fi
   15021 done
   15022   done
   15023 IFS=$as_save_IFS
   15024 
   15025 fi
   15026 fi
   15027 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   15028 if test -n "$DLLTOOL_FOR_TARGET"; then
   15029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   15030 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   15031 else
   15032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15033 $as_echo "no" >&6; }
   15034 fi
   15035 
   15036 
   15037   done
   15038 fi
   15039 
   15040 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   15041   for ncn_progname in dlltool; do
   15042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   15043 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   15044     if test -x $with_build_time_tools/${ncn_progname}; then
   15045       ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   15046       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15047 $as_echo "yes" >&6; }
   15048       break
   15049     else
   15050       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15051 $as_echo "no" >&6; }
   15052     fi
   15053   done
   15054 fi
   15055 
   15056 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
   15057   for ncn_progname in dlltool; do
   15058     if test -n "$ncn_target_tool_prefix"; then
   15059       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   15060 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15062 $as_echo_n "checking for $ac_word... " >&6; }
   15063 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   15064   $as_echo_n "(cached) " >&6
   15065 else
   15066   if test -n "$DLLTOOL_FOR_TARGET"; then
   15067   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   15068 else
   15069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15070 for as_dir in $PATH
   15071 do
   15072   IFS=$as_save_IFS
   15073   test -z "$as_dir" && as_dir=.
   15074     for ac_exec_ext in '' $ac_executable_extensions; do
   15075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15076     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   15077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15078     break 2
   15079   fi
   15080 done
   15081   done
   15082 IFS=$as_save_IFS
   15083 
   15084 fi
   15085 fi
   15086 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   15087 if test -n "$DLLTOOL_FOR_TARGET"; then
   15088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   15089 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   15090 else
   15091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15092 $as_echo "no" >&6; }
   15093 fi
   15094 
   15095 
   15096     fi
   15097     if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
   15098       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15099 set dummy ${ncn_progname}; ac_word=$2
   15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15101 $as_echo_n "checking for $ac_word... " >&6; }
   15102 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
   15103   $as_echo_n "(cached) " >&6
   15104 else
   15105   if test -n "$DLLTOOL_FOR_TARGET"; then
   15106   ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
   15107 else
   15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15109 for as_dir in $PATH
   15110 do
   15111   IFS=$as_save_IFS
   15112   test -z "$as_dir" && as_dir=.
   15113     for ac_exec_ext in '' $ac_executable_extensions; do
   15114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15115     ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
   15116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15117     break 2
   15118   fi
   15119 done
   15120   done
   15121 IFS=$as_save_IFS
   15122 
   15123 fi
   15124 fi
   15125 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
   15126 if test -n "$DLLTOOL_FOR_TARGET"; then
   15127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
   15128 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
   15129 else
   15130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15131 $as_echo "no" >&6; }
   15132 fi
   15133 
   15134 
   15135     fi
   15136     test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
   15137   done
   15138 fi
   15139 
   15140 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
   15141   set dummy dlltool
   15142   if test $build = $target ; then
   15143     DLLTOOL_FOR_TARGET="$2"
   15144   else
   15145     DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   15146   fi
   15147 else
   15148   DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
   15149 fi
   15150 
   15151 else
   15152   DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
   15153 fi
   15154 
   15155 
   15156 
   15157 
   15158 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
   15159   if test -n "$with_build_time_tools"; then
   15160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dsymutil in $with_build_time_tools" >&5
   15161 $as_echo_n "checking for dsymutil in $with_build_time_tools... " >&6; }
   15162     if test -x $with_build_time_tools/dsymutil; then
   15163       DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
   15164       ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
   15165       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
   15166 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
   15167     else
   15168       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15169 $as_echo "no" >&6; }
   15170     fi
   15171   elif test $build != $host && test $have_gcc_for_target = yes; then
   15172     DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
   15173     test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
   15174     test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
   15175   fi
   15176 fi
   15177 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   15178   # Extract the first word of "dsymutil", so it can be a program name with args.
   15179 set dummy dsymutil; ac_word=$2
   15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15181 $as_echo_n "checking for $ac_word... " >&6; }
   15182 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
   15183   $as_echo_n "(cached) " >&6
   15184 else
   15185   case $DSYMUTIL_FOR_TARGET in
   15186   [\\/]* | ?:[\\/]*)
   15187   ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
   15188   ;;
   15189   *)
   15190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15191 for as_dir in $gcc_cv_tool_dirs
   15192 do
   15193   IFS=$as_save_IFS
   15194   test -z "$as_dir" && as_dir=.
   15195     for ac_exec_ext in '' $ac_executable_extensions; do
   15196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15197     ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   15198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15199     break 2
   15200   fi
   15201 done
   15202   done
   15203 IFS=$as_save_IFS
   15204 
   15205   ;;
   15206 esac
   15207 fi
   15208 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
   15209 if test -n "$DSYMUTIL_FOR_TARGET"; then
   15210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL_FOR_TARGET" >&5
   15211 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
   15212 else
   15213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15214 $as_echo "no" >&6; }
   15215 fi
   15216 
   15217 
   15218 fi
   15219 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
   15220 
   15221 
   15222 if test -n "$DSYMUTIL_FOR_TARGET"; then
   15223   ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
   15224 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
   15225   DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
   15226 fi
   15227 
   15228 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
   15229   for ncn_progname in dsymutil; do
   15230     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15231 set dummy ${ncn_progname}; ac_word=$2
   15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15233 $as_echo_n "checking for $ac_word... " >&6; }
   15234 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
   15235   $as_echo_n "(cached) " >&6
   15236 else
   15237   if test -n "$DSYMUTIL_FOR_TARGET"; then
   15238   ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
   15239 else
   15240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15241 for as_dir in $PATH
   15242 do
   15243   IFS=$as_save_IFS
   15244   test -z "$as_dir" && as_dir=.
   15245     for ac_exec_ext in '' $ac_executable_extensions; do
   15246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15247     ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
   15248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15249     break 2
   15250   fi
   15251 done
   15252   done
   15253 IFS=$as_save_IFS
   15254 
   15255 fi
   15256 fi
   15257 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
   15258 if test -n "$DSYMUTIL_FOR_TARGET"; then
   15259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL_FOR_TARGET" >&5
   15260 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
   15261 else
   15262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15263 $as_echo "no" >&6; }
   15264 fi
   15265 
   15266 
   15267   done
   15268 fi
   15269 
   15270 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   15271   for ncn_progname in dsymutil; do
   15272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   15273 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   15274     if test -x $with_build_time_tools/${ncn_progname}; then
   15275       ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   15276       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15277 $as_echo "yes" >&6; }
   15278       break
   15279     else
   15280       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15281 $as_echo "no" >&6; }
   15282     fi
   15283   done
   15284 fi
   15285 
   15286 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
   15287   for ncn_progname in dsymutil; do
   15288     if test -n "$ncn_target_tool_prefix"; then
   15289       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   15290 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15292 $as_echo_n "checking for $ac_word... " >&6; }
   15293 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
   15294   $as_echo_n "(cached) " >&6
   15295 else
   15296   if test -n "$DSYMUTIL_FOR_TARGET"; then
   15297   ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
   15298 else
   15299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15300 for as_dir in $PATH
   15301 do
   15302   IFS=$as_save_IFS
   15303   test -z "$as_dir" && as_dir=.
   15304     for ac_exec_ext in '' $ac_executable_extensions; do
   15305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15306     ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   15307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15308     break 2
   15309   fi
   15310 done
   15311   done
   15312 IFS=$as_save_IFS
   15313 
   15314 fi
   15315 fi
   15316 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
   15317 if test -n "$DSYMUTIL_FOR_TARGET"; then
   15318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL_FOR_TARGET" >&5
   15319 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
   15320 else
   15321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15322 $as_echo "no" >&6; }
   15323 fi
   15324 
   15325 
   15326     fi
   15327     if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
   15328       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15329 set dummy ${ncn_progname}; ac_word=$2
   15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15331 $as_echo_n "checking for $ac_word... " >&6; }
   15332 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
   15333   $as_echo_n "(cached) " >&6
   15334 else
   15335   if test -n "$DSYMUTIL_FOR_TARGET"; then
   15336   ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
   15337 else
   15338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15339 for as_dir in $PATH
   15340 do
   15341   IFS=$as_save_IFS
   15342   test -z "$as_dir" && as_dir=.
   15343     for ac_exec_ext in '' $ac_executable_extensions; do
   15344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15345     ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
   15346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15347     break 2
   15348   fi
   15349 done
   15350   done
   15351 IFS=$as_save_IFS
   15352 
   15353 fi
   15354 fi
   15355 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
   15356 if test -n "$DSYMUTIL_FOR_TARGET"; then
   15357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL_FOR_TARGET" >&5
   15358 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
   15359 else
   15360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15361 $as_echo "no" >&6; }
   15362 fi
   15363 
   15364 
   15365     fi
   15366     test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
   15367   done
   15368 fi
   15369 
   15370 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
   15371   set dummy dsymutil
   15372   if test $build = $target ; then
   15373     DSYMUTIL_FOR_TARGET="$2"
   15374   else
   15375     DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   15376   fi
   15377 else
   15378   DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
   15379 fi
   15380 
   15381 else
   15382   DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
   15383 fi
   15384 
   15385 
   15386 
   15387 
   15388 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   15389   if test -n "$with_build_time_tools"; then
   15390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
   15391 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
   15392     if test -x $with_build_time_tools/ld; then
   15393       LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
   15394       ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   15395       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
   15396 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
   15397     else
   15398       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15399 $as_echo "no" >&6; }
   15400     fi
   15401   elif test $build != $host && test $have_gcc_for_target = yes; then
   15402     LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
   15403     test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
   15404     test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
   15405   fi
   15406 fi
   15407 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   15408   # Extract the first word of "ld", so it can be a program name with args.
   15409 set dummy ld; ac_word=$2
   15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15411 $as_echo_n "checking for $ac_word... " >&6; }
   15412 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
   15413   $as_echo_n "(cached) " >&6
   15414 else
   15415   case $LD_FOR_TARGET in
   15416   [\\/]* | ?:[\\/]*)
   15417   ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
   15418   ;;
   15419   *)
   15420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15421 for as_dir in $gcc_cv_tool_dirs
   15422 do
   15423   IFS=$as_save_IFS
   15424   test -z "$as_dir" && as_dir=.
   15425     for ac_exec_ext in '' $ac_executable_extensions; do
   15426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15427     ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   15428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15429     break 2
   15430   fi
   15431 done
   15432   done
   15433 IFS=$as_save_IFS
   15434 
   15435   ;;
   15436 esac
   15437 fi
   15438 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   15439 if test -n "$LD_FOR_TARGET"; then
   15440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   15441 $as_echo "$LD_FOR_TARGET" >&6; }
   15442 else
   15443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15444 $as_echo "no" >&6; }
   15445 fi
   15446 
   15447 
   15448 fi
   15449 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
   15450 
   15451 
   15452 if test -n "$LD_FOR_TARGET"; then
   15453   ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
   15454 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   15455   LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   15456 fi
   15457 
   15458 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
   15459   for ncn_progname in ld; do
   15460     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15461 set dummy ${ncn_progname}; ac_word=$2
   15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15463 $as_echo_n "checking for $ac_word... " >&6; }
   15464 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   15465   $as_echo_n "(cached) " >&6
   15466 else
   15467   if test -n "$LD_FOR_TARGET"; then
   15468   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   15469 else
   15470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15471 for as_dir in $PATH
   15472 do
   15473   IFS=$as_save_IFS
   15474   test -z "$as_dir" && as_dir=.
   15475     for ac_exec_ext in '' $ac_executable_extensions; do
   15476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15477     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   15478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15479     break 2
   15480   fi
   15481 done
   15482   done
   15483 IFS=$as_save_IFS
   15484 
   15485 fi
   15486 fi
   15487 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   15488 if test -n "$LD_FOR_TARGET"; then
   15489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   15490 $as_echo "$LD_FOR_TARGET" >&6; }
   15491 else
   15492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15493 $as_echo "no" >&6; }
   15494 fi
   15495 
   15496 
   15497   done
   15498 fi
   15499 
   15500 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
   15501   for ncn_progname in ld; do
   15502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   15503 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   15504     if test -x $with_build_time_tools/${ncn_progname}; then
   15505       ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   15506       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15507 $as_echo "yes" >&6; }
   15508       break
   15509     else
   15510       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15511 $as_echo "no" >&6; }
   15512     fi
   15513   done
   15514 fi
   15515 
   15516 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
   15517   for ncn_progname in ld; do
   15518     if test -n "$ncn_target_tool_prefix"; then
   15519       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   15520 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15522 $as_echo_n "checking for $ac_word... " >&6; }
   15523 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   15524   $as_echo_n "(cached) " >&6
   15525 else
   15526   if test -n "$LD_FOR_TARGET"; then
   15527   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   15528 else
   15529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15530 for as_dir in $PATH
   15531 do
   15532   IFS=$as_save_IFS
   15533   test -z "$as_dir" && as_dir=.
   15534     for ac_exec_ext in '' $ac_executable_extensions; do
   15535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15536     ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   15537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15538     break 2
   15539   fi
   15540 done
   15541   done
   15542 IFS=$as_save_IFS
   15543 
   15544 fi
   15545 fi
   15546 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   15547 if test -n "$LD_FOR_TARGET"; then
   15548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   15549 $as_echo "$LD_FOR_TARGET" >&6; }
   15550 else
   15551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15552 $as_echo "no" >&6; }
   15553 fi
   15554 
   15555 
   15556     fi
   15557     if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
   15558       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15559 set dummy ${ncn_progname}; ac_word=$2
   15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15561 $as_echo_n "checking for $ac_word... " >&6; }
   15562 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
   15563   $as_echo_n "(cached) " >&6
   15564 else
   15565   if test -n "$LD_FOR_TARGET"; then
   15566   ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
   15567 else
   15568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15569 for as_dir in $PATH
   15570 do
   15571   IFS=$as_save_IFS
   15572   test -z "$as_dir" && as_dir=.
   15573     for ac_exec_ext in '' $ac_executable_extensions; do
   15574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15575     ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
   15576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15577     break 2
   15578   fi
   15579 done
   15580   done
   15581 IFS=$as_save_IFS
   15582 
   15583 fi
   15584 fi
   15585 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
   15586 if test -n "$LD_FOR_TARGET"; then
   15587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
   15588 $as_echo "$LD_FOR_TARGET" >&6; }
   15589 else
   15590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15591 $as_echo "no" >&6; }
   15592 fi
   15593 
   15594 
   15595     fi
   15596     test -n "$ac_cv_prog_LD_FOR_TARGET" && break
   15597   done
   15598 fi
   15599 
   15600 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
   15601   set dummy ld
   15602   if test $build = $target ; then
   15603     LD_FOR_TARGET="$2"
   15604   else
   15605     LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
   15606   fi
   15607 else
   15608   LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
   15609 fi
   15610 
   15611 else
   15612   LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
   15613 fi
   15614 
   15615 
   15616 
   15617 
   15618 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   15619   if test -n "$with_build_time_tools"; then
   15620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
   15621 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
   15622     if test -x $with_build_time_tools/lipo; then
   15623       LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
   15624       ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   15625       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
   15626 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
   15627     else
   15628       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15629 $as_echo "no" >&6; }
   15630     fi
   15631   elif test $build != $host && test $have_gcc_for_target = yes; then
   15632     LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
   15633     test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
   15634     test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   15635   fi
   15636 fi
   15637 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   15638   # Extract the first word of "lipo", so it can be a program name with args.
   15639 set dummy lipo; ac_word=$2
   15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15641 $as_echo_n "checking for $ac_word... " >&6; }
   15642 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
   15643   $as_echo_n "(cached) " >&6
   15644 else
   15645   case $LIPO_FOR_TARGET in
   15646   [\\/]* | ?:[\\/]*)
   15647   ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
   15648   ;;
   15649   *)
   15650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15651 for as_dir in $gcc_cv_tool_dirs
   15652 do
   15653   IFS=$as_save_IFS
   15654   test -z "$as_dir" && as_dir=.
   15655     for ac_exec_ext in '' $ac_executable_extensions; do
   15656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15657     ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   15658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15659     break 2
   15660   fi
   15661 done
   15662   done
   15663 IFS=$as_save_IFS
   15664 
   15665   ;;
   15666 esac
   15667 fi
   15668 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   15669 if test -n "$LIPO_FOR_TARGET"; then
   15670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   15671 $as_echo "$LIPO_FOR_TARGET" >&6; }
   15672 else
   15673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15674 $as_echo "no" >&6; }
   15675 fi
   15676 
   15677 
   15678 fi
   15679 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
   15680 
   15681 
   15682 if test -n "$LIPO_FOR_TARGET"; then
   15683   ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
   15684 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   15685   LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   15686 fi
   15687 
   15688 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
   15689   for ncn_progname in lipo; do
   15690     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15691 set dummy ${ncn_progname}; ac_word=$2
   15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15693 $as_echo_n "checking for $ac_word... " >&6; }
   15694 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   15695   $as_echo_n "(cached) " >&6
   15696 else
   15697   if test -n "$LIPO_FOR_TARGET"; then
   15698   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   15699 else
   15700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15701 for as_dir in $PATH
   15702 do
   15703   IFS=$as_save_IFS
   15704   test -z "$as_dir" && as_dir=.
   15705     for ac_exec_ext in '' $ac_executable_extensions; do
   15706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15707     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   15708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15709     break 2
   15710   fi
   15711 done
   15712   done
   15713 IFS=$as_save_IFS
   15714 
   15715 fi
   15716 fi
   15717 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   15718 if test -n "$LIPO_FOR_TARGET"; then
   15719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   15720 $as_echo "$LIPO_FOR_TARGET" >&6; }
   15721 else
   15722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15723 $as_echo "no" >&6; }
   15724 fi
   15725 
   15726 
   15727   done
   15728 fi
   15729 
   15730 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
   15731   for ncn_progname in lipo; do
   15732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   15733 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   15734     if test -x $with_build_time_tools/${ncn_progname}; then
   15735       ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   15736       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15737 $as_echo "yes" >&6; }
   15738       break
   15739     else
   15740       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15741 $as_echo "no" >&6; }
   15742     fi
   15743   done
   15744 fi
   15745 
   15746 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
   15747   for ncn_progname in lipo; do
   15748     if test -n "$ncn_target_tool_prefix"; then
   15749       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   15750 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15752 $as_echo_n "checking for $ac_word... " >&6; }
   15753 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   15754   $as_echo_n "(cached) " >&6
   15755 else
   15756   if test -n "$LIPO_FOR_TARGET"; then
   15757   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   15758 else
   15759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15760 for as_dir in $PATH
   15761 do
   15762   IFS=$as_save_IFS
   15763   test -z "$as_dir" && as_dir=.
   15764     for ac_exec_ext in '' $ac_executable_extensions; do
   15765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15766     ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   15767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15768     break 2
   15769   fi
   15770 done
   15771   done
   15772 IFS=$as_save_IFS
   15773 
   15774 fi
   15775 fi
   15776 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   15777 if test -n "$LIPO_FOR_TARGET"; then
   15778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   15779 $as_echo "$LIPO_FOR_TARGET" >&6; }
   15780 else
   15781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15782 $as_echo "no" >&6; }
   15783 fi
   15784 
   15785 
   15786     fi
   15787     if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
   15788       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15789 set dummy ${ncn_progname}; ac_word=$2
   15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15791 $as_echo_n "checking for $ac_word... " >&6; }
   15792 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
   15793   $as_echo_n "(cached) " >&6
   15794 else
   15795   if test -n "$LIPO_FOR_TARGET"; then
   15796   ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
   15797 else
   15798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15799 for as_dir in $PATH
   15800 do
   15801   IFS=$as_save_IFS
   15802   test -z "$as_dir" && as_dir=.
   15803     for ac_exec_ext in '' $ac_executable_extensions; do
   15804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15805     ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
   15806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15807     break 2
   15808   fi
   15809 done
   15810   done
   15811 IFS=$as_save_IFS
   15812 
   15813 fi
   15814 fi
   15815 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
   15816 if test -n "$LIPO_FOR_TARGET"; then
   15817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
   15818 $as_echo "$LIPO_FOR_TARGET" >&6; }
   15819 else
   15820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15821 $as_echo "no" >&6; }
   15822 fi
   15823 
   15824 
   15825     fi
   15826     test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
   15827   done
   15828 fi
   15829 
   15830 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
   15831   set dummy lipo
   15832   if test $build = $target ; then
   15833     LIPO_FOR_TARGET="$2"
   15834   else
   15835     LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
   15836   fi
   15837 else
   15838   LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
   15839 fi
   15840 
   15841 else
   15842   LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
   15843 fi
   15844 
   15845 
   15846 
   15847 
   15848 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   15849   if test -n "$with_build_time_tools"; then
   15850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
   15851 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
   15852     if test -x $with_build_time_tools/nm; then
   15853       NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
   15854       ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   15855       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
   15856 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
   15857     else
   15858       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15859 $as_echo "no" >&6; }
   15860     fi
   15861   elif test $build != $host && test $have_gcc_for_target = yes; then
   15862     NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
   15863     test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
   15864     test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
   15865   fi
   15866 fi
   15867 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   15868   # Extract the first word of "nm", so it can be a program name with args.
   15869 set dummy nm; ac_word=$2
   15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15871 $as_echo_n "checking for $ac_word... " >&6; }
   15872 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
   15873   $as_echo_n "(cached) " >&6
   15874 else
   15875   case $NM_FOR_TARGET in
   15876   [\\/]* | ?:[\\/]*)
   15877   ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
   15878   ;;
   15879   *)
   15880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15881 for as_dir in $gcc_cv_tool_dirs
   15882 do
   15883   IFS=$as_save_IFS
   15884   test -z "$as_dir" && as_dir=.
   15885     for ac_exec_ext in '' $ac_executable_extensions; do
   15886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15887     ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   15888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15889     break 2
   15890   fi
   15891 done
   15892   done
   15893 IFS=$as_save_IFS
   15894 
   15895   ;;
   15896 esac
   15897 fi
   15898 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   15899 if test -n "$NM_FOR_TARGET"; then
   15900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   15901 $as_echo "$NM_FOR_TARGET" >&6; }
   15902 else
   15903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15904 $as_echo "no" >&6; }
   15905 fi
   15906 
   15907 
   15908 fi
   15909 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
   15910 
   15911 
   15912 if test -n "$NM_FOR_TARGET"; then
   15913   ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
   15914 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   15915   NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   15916 fi
   15917 
   15918 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
   15919   for ncn_progname in nm; do
   15920     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   15921 set dummy ${ncn_progname}; ac_word=$2
   15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15923 $as_echo_n "checking for $ac_word... " >&6; }
   15924 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   15925   $as_echo_n "(cached) " >&6
   15926 else
   15927   if test -n "$NM_FOR_TARGET"; then
   15928   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   15929 else
   15930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15931 for as_dir in $PATH
   15932 do
   15933   IFS=$as_save_IFS
   15934   test -z "$as_dir" && as_dir=.
   15935     for ac_exec_ext in '' $ac_executable_extensions; do
   15936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15937     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   15938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15939     break 2
   15940   fi
   15941 done
   15942   done
   15943 IFS=$as_save_IFS
   15944 
   15945 fi
   15946 fi
   15947 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   15948 if test -n "$NM_FOR_TARGET"; then
   15949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   15950 $as_echo "$NM_FOR_TARGET" >&6; }
   15951 else
   15952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15953 $as_echo "no" >&6; }
   15954 fi
   15955 
   15956 
   15957   done
   15958 fi
   15959 
   15960 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
   15961   for ncn_progname in nm; do
   15962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   15963 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   15964     if test -x $with_build_time_tools/${ncn_progname}; then
   15965       ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   15966       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15967 $as_echo "yes" >&6; }
   15968       break
   15969     else
   15970       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15971 $as_echo "no" >&6; }
   15972     fi
   15973   done
   15974 fi
   15975 
   15976 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
   15977   for ncn_progname in nm; do
   15978     if test -n "$ncn_target_tool_prefix"; then
   15979       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   15980 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15982 $as_echo_n "checking for $ac_word... " >&6; }
   15983 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   15984   $as_echo_n "(cached) " >&6
   15985 else
   15986   if test -n "$NM_FOR_TARGET"; then
   15987   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   15988 else
   15989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15990 for as_dir in $PATH
   15991 do
   15992   IFS=$as_save_IFS
   15993   test -z "$as_dir" && as_dir=.
   15994     for ac_exec_ext in '' $ac_executable_extensions; do
   15995   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15996     ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   15997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15998     break 2
   15999   fi
   16000 done
   16001   done
   16002 IFS=$as_save_IFS
   16003 
   16004 fi
   16005 fi
   16006 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   16007 if test -n "$NM_FOR_TARGET"; then
   16008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   16009 $as_echo "$NM_FOR_TARGET" >&6; }
   16010 else
   16011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16012 $as_echo "no" >&6; }
   16013 fi
   16014 
   16015 
   16016     fi
   16017     if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
   16018       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16019 set dummy ${ncn_progname}; ac_word=$2
   16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16021 $as_echo_n "checking for $ac_word... " >&6; }
   16022 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
   16023   $as_echo_n "(cached) " >&6
   16024 else
   16025   if test -n "$NM_FOR_TARGET"; then
   16026   ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
   16027 else
   16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16029 for as_dir in $PATH
   16030 do
   16031   IFS=$as_save_IFS
   16032   test -z "$as_dir" && as_dir=.
   16033     for ac_exec_ext in '' $ac_executable_extensions; do
   16034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16035     ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
   16036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16037     break 2
   16038   fi
   16039 done
   16040   done
   16041 IFS=$as_save_IFS
   16042 
   16043 fi
   16044 fi
   16045 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
   16046 if test -n "$NM_FOR_TARGET"; then
   16047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
   16048 $as_echo "$NM_FOR_TARGET" >&6; }
   16049 else
   16050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16051 $as_echo "no" >&6; }
   16052 fi
   16053 
   16054 
   16055     fi
   16056     test -n "$ac_cv_prog_NM_FOR_TARGET" && break
   16057   done
   16058 fi
   16059 
   16060 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
   16061   set dummy nm
   16062   if test $build = $target ; then
   16063     NM_FOR_TARGET="$2"
   16064   else
   16065     NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
   16066   fi
   16067 else
   16068   NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
   16069 fi
   16070 
   16071 else
   16072   NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
   16073 fi
   16074 
   16075 
   16076 
   16077 
   16078 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   16079   if test -n "$with_build_time_tools"; then
   16080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objcopy in $with_build_time_tools" >&5
   16081 $as_echo_n "checking for objcopy in $with_build_time_tools... " >&6; }
   16082     if test -x $with_build_time_tools/objcopy; then
   16083       OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
   16084       ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   16085       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
   16086 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
   16087     else
   16088       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16089 $as_echo "no" >&6; }
   16090     fi
   16091   elif test $build != $host && test $have_gcc_for_target = yes; then
   16092     OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
   16093     test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
   16094     test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   16095   fi
   16096 fi
   16097 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   16098   # Extract the first word of "objcopy", so it can be a program name with args.
   16099 set dummy objcopy; ac_word=$2
   16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16101 $as_echo_n "checking for $ac_word... " >&6; }
   16102 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
   16103   $as_echo_n "(cached) " >&6
   16104 else
   16105   case $OBJCOPY_FOR_TARGET in
   16106   [\\/]* | ?:[\\/]*)
   16107   ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
   16108   ;;
   16109   *)
   16110   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16111 for as_dir in $gcc_cv_tool_dirs
   16112 do
   16113   IFS=$as_save_IFS
   16114   test -z "$as_dir" && as_dir=.
   16115     for ac_exec_ext in '' $ac_executable_extensions; do
   16116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16117     ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   16118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16119     break 2
   16120   fi
   16121 done
   16122   done
   16123 IFS=$as_save_IFS
   16124 
   16125   ;;
   16126 esac
   16127 fi
   16128 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   16129 if test -n "$OBJCOPY_FOR_TARGET"; then
   16130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   16131 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   16132 else
   16133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16134 $as_echo "no" >&6; }
   16135 fi
   16136 
   16137 
   16138 fi
   16139 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
   16140 
   16141 
   16142 if test -n "$OBJCOPY_FOR_TARGET"; then
   16143   ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
   16144 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   16145   OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   16146 fi
   16147 
   16148 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   16149   for ncn_progname in objcopy; do
   16150     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16151 set dummy ${ncn_progname}; ac_word=$2
   16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16153 $as_echo_n "checking for $ac_word... " >&6; }
   16154 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   16155   $as_echo_n "(cached) " >&6
   16156 else
   16157   if test -n "$OBJCOPY_FOR_TARGET"; then
   16158   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   16159 else
   16160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16161 for as_dir in $PATH
   16162 do
   16163   IFS=$as_save_IFS
   16164   test -z "$as_dir" && as_dir=.
   16165     for ac_exec_ext in '' $ac_executable_extensions; do
   16166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16167     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   16168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16169     break 2
   16170   fi
   16171 done
   16172   done
   16173 IFS=$as_save_IFS
   16174 
   16175 fi
   16176 fi
   16177 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   16178 if test -n "$OBJCOPY_FOR_TARGET"; then
   16179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   16180 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   16181 else
   16182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16183 $as_echo "no" >&6; }
   16184 fi
   16185 
   16186 
   16187   done
   16188 fi
   16189 
   16190 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
   16191   for ncn_progname in objcopy; do
   16192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   16193 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   16194     if test -x $with_build_time_tools/${ncn_progname}; then
   16195       ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   16196       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16197 $as_echo "yes" >&6; }
   16198       break
   16199     else
   16200       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16201 $as_echo "no" >&6; }
   16202     fi
   16203   done
   16204 fi
   16205 
   16206 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
   16207   for ncn_progname in objcopy; do
   16208     if test -n "$ncn_target_tool_prefix"; then
   16209       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   16210 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16212 $as_echo_n "checking for $ac_word... " >&6; }
   16213 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   16214   $as_echo_n "(cached) " >&6
   16215 else
   16216   if test -n "$OBJCOPY_FOR_TARGET"; then
   16217   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   16218 else
   16219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16220 for as_dir in $PATH
   16221 do
   16222   IFS=$as_save_IFS
   16223   test -z "$as_dir" && as_dir=.
   16224     for ac_exec_ext in '' $ac_executable_extensions; do
   16225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16226     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   16227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16228     break 2
   16229   fi
   16230 done
   16231   done
   16232 IFS=$as_save_IFS
   16233 
   16234 fi
   16235 fi
   16236 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   16237 if test -n "$OBJCOPY_FOR_TARGET"; then
   16238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   16239 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   16240 else
   16241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16242 $as_echo "no" >&6; }
   16243 fi
   16244 
   16245 
   16246     fi
   16247     if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
   16248       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16249 set dummy ${ncn_progname}; ac_word=$2
   16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16251 $as_echo_n "checking for $ac_word... " >&6; }
   16252 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
   16253   $as_echo_n "(cached) " >&6
   16254 else
   16255   if test -n "$OBJCOPY_FOR_TARGET"; then
   16256   ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
   16257 else
   16258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16259 for as_dir in $PATH
   16260 do
   16261   IFS=$as_save_IFS
   16262   test -z "$as_dir" && as_dir=.
   16263     for ac_exec_ext in '' $ac_executable_extensions; do
   16264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16265     ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
   16266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16267     break 2
   16268   fi
   16269 done
   16270   done
   16271 IFS=$as_save_IFS
   16272 
   16273 fi
   16274 fi
   16275 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
   16276 if test -n "$OBJCOPY_FOR_TARGET"; then
   16277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY_FOR_TARGET" >&5
   16278 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
   16279 else
   16280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16281 $as_echo "no" >&6; }
   16282 fi
   16283 
   16284 
   16285     fi
   16286     test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
   16287   done
   16288 fi
   16289 
   16290 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
   16291   set dummy objcopy
   16292   if test $build = $target ; then
   16293     OBJCOPY_FOR_TARGET="$2"
   16294   else
   16295     OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
   16296   fi
   16297 else
   16298   OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
   16299 fi
   16300 
   16301 else
   16302   OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
   16303 fi
   16304 
   16305 
   16306 
   16307 
   16308 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   16309   if test -n "$with_build_time_tools"; then
   16310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
   16311 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
   16312     if test -x $with_build_time_tools/objdump; then
   16313       OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
   16314       ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   16315       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
   16316 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
   16317     else
   16318       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16319 $as_echo "no" >&6; }
   16320     fi
   16321   elif test $build != $host && test $have_gcc_for_target = yes; then
   16322     OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
   16323     test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
   16324     test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   16325   fi
   16326 fi
   16327 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   16328   # Extract the first word of "objdump", so it can be a program name with args.
   16329 set dummy objdump; ac_word=$2
   16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16331 $as_echo_n "checking for $ac_word... " >&6; }
   16332 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
   16333   $as_echo_n "(cached) " >&6
   16334 else
   16335   case $OBJDUMP_FOR_TARGET in
   16336   [\\/]* | ?:[\\/]*)
   16337   ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
   16338   ;;
   16339   *)
   16340   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16341 for as_dir in $gcc_cv_tool_dirs
   16342 do
   16343   IFS=$as_save_IFS
   16344   test -z "$as_dir" && as_dir=.
   16345     for ac_exec_ext in '' $ac_executable_extensions; do
   16346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16347     ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   16348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16349     break 2
   16350   fi
   16351 done
   16352   done
   16353 IFS=$as_save_IFS
   16354 
   16355   ;;
   16356 esac
   16357 fi
   16358 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   16359 if test -n "$OBJDUMP_FOR_TARGET"; then
   16360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   16361 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   16362 else
   16363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16364 $as_echo "no" >&6; }
   16365 fi
   16366 
   16367 
   16368 fi
   16369 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
   16370 
   16371 
   16372 if test -n "$OBJDUMP_FOR_TARGET"; then
   16373   ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
   16374 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   16375   OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   16376 fi
   16377 
   16378 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   16379   for ncn_progname in objdump; do
   16380     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16381 set dummy ${ncn_progname}; ac_word=$2
   16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16383 $as_echo_n "checking for $ac_word... " >&6; }
   16384 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   16385   $as_echo_n "(cached) " >&6
   16386 else
   16387   if test -n "$OBJDUMP_FOR_TARGET"; then
   16388   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   16389 else
   16390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16391 for as_dir in $PATH
   16392 do
   16393   IFS=$as_save_IFS
   16394   test -z "$as_dir" && as_dir=.
   16395     for ac_exec_ext in '' $ac_executable_extensions; do
   16396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16397     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   16398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16399     break 2
   16400   fi
   16401 done
   16402   done
   16403 IFS=$as_save_IFS
   16404 
   16405 fi
   16406 fi
   16407 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   16408 if test -n "$OBJDUMP_FOR_TARGET"; then
   16409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   16410 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   16411 else
   16412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16413 $as_echo "no" >&6; }
   16414 fi
   16415 
   16416 
   16417   done
   16418 fi
   16419 
   16420 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   16421   for ncn_progname in objdump; do
   16422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   16423 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   16424     if test -x $with_build_time_tools/${ncn_progname}; then
   16425       ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   16426       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16427 $as_echo "yes" >&6; }
   16428       break
   16429     else
   16430       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16431 $as_echo "no" >&6; }
   16432     fi
   16433   done
   16434 fi
   16435 
   16436 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
   16437   for ncn_progname in objdump; do
   16438     if test -n "$ncn_target_tool_prefix"; then
   16439       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   16440 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16442 $as_echo_n "checking for $ac_word... " >&6; }
   16443 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   16444   $as_echo_n "(cached) " >&6
   16445 else
   16446   if test -n "$OBJDUMP_FOR_TARGET"; then
   16447   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   16448 else
   16449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16450 for as_dir in $PATH
   16451 do
   16452   IFS=$as_save_IFS
   16453   test -z "$as_dir" && as_dir=.
   16454     for ac_exec_ext in '' $ac_executable_extensions; do
   16455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16456     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   16457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16458     break 2
   16459   fi
   16460 done
   16461   done
   16462 IFS=$as_save_IFS
   16463 
   16464 fi
   16465 fi
   16466 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   16467 if test -n "$OBJDUMP_FOR_TARGET"; then
   16468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   16469 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   16470 else
   16471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16472 $as_echo "no" >&6; }
   16473 fi
   16474 
   16475 
   16476     fi
   16477     if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
   16478       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16479 set dummy ${ncn_progname}; ac_word=$2
   16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16481 $as_echo_n "checking for $ac_word... " >&6; }
   16482 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
   16483   $as_echo_n "(cached) " >&6
   16484 else
   16485   if test -n "$OBJDUMP_FOR_TARGET"; then
   16486   ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
   16487 else
   16488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16489 for as_dir in $PATH
   16490 do
   16491   IFS=$as_save_IFS
   16492   test -z "$as_dir" && as_dir=.
   16493     for ac_exec_ext in '' $ac_executable_extensions; do
   16494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16495     ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
   16496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16497     break 2
   16498   fi
   16499 done
   16500   done
   16501 IFS=$as_save_IFS
   16502 
   16503 fi
   16504 fi
   16505 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
   16506 if test -n "$OBJDUMP_FOR_TARGET"; then
   16507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
   16508 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
   16509 else
   16510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16511 $as_echo "no" >&6; }
   16512 fi
   16513 
   16514 
   16515     fi
   16516     test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
   16517   done
   16518 fi
   16519 
   16520 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
   16521   set dummy objdump
   16522   if test $build = $target ; then
   16523     OBJDUMP_FOR_TARGET="$2"
   16524   else
   16525     OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   16526   fi
   16527 else
   16528   OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
   16529 fi
   16530 
   16531 else
   16532   OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
   16533 fi
   16534 
   16535 
   16536 
   16537 
   16538 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
   16539   if test -n "$with_build_time_tools"; then
   16540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for otool in $with_build_time_tools" >&5
   16541 $as_echo_n "checking for otool in $with_build_time_tools... " >&6; }
   16542     if test -x $with_build_time_tools/otool; then
   16543       OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
   16544       ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
   16545       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OTOOL_FOR_TARGET" >&5
   16546 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
   16547     else
   16548       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16549 $as_echo "no" >&6; }
   16550     fi
   16551   elif test $build != $host && test $have_gcc_for_target = yes; then
   16552     OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
   16553     test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
   16554     test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
   16555   fi
   16556 fi
   16557 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   16558   # Extract the first word of "otool", so it can be a program name with args.
   16559 set dummy otool; ac_word=$2
   16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16561 $as_echo_n "checking for $ac_word... " >&6; }
   16562 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
   16563   $as_echo_n "(cached) " >&6
   16564 else
   16565   case $OTOOL_FOR_TARGET in
   16566   [\\/]* | ?:[\\/]*)
   16567   ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
   16568   ;;
   16569   *)
   16570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16571 for as_dir in $gcc_cv_tool_dirs
   16572 do
   16573   IFS=$as_save_IFS
   16574   test -z "$as_dir" && as_dir=.
   16575     for ac_exec_ext in '' $ac_executable_extensions; do
   16576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16577     ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   16578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16579     break 2
   16580   fi
   16581 done
   16582   done
   16583 IFS=$as_save_IFS
   16584 
   16585   ;;
   16586 esac
   16587 fi
   16588 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
   16589 if test -n "$OTOOL_FOR_TARGET"; then
   16590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL_FOR_TARGET" >&5
   16591 $as_echo "$OTOOL_FOR_TARGET" >&6; }
   16592 else
   16593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16594 $as_echo "no" >&6; }
   16595 fi
   16596 
   16597 
   16598 fi
   16599 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
   16600 
   16601 
   16602 if test -n "$OTOOL_FOR_TARGET"; then
   16603   ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
   16604 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
   16605   OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
   16606 fi
   16607 
   16608 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
   16609   for ncn_progname in otool; do
   16610     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16611 set dummy ${ncn_progname}; ac_word=$2
   16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16613 $as_echo_n "checking for $ac_word... " >&6; }
   16614 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
   16615   $as_echo_n "(cached) " >&6
   16616 else
   16617   if test -n "$OTOOL_FOR_TARGET"; then
   16618   ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
   16619 else
   16620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16621 for as_dir in $PATH
   16622 do
   16623   IFS=$as_save_IFS
   16624   test -z "$as_dir" && as_dir=.
   16625     for ac_exec_ext in '' $ac_executable_extensions; do
   16626   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16627     ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
   16628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16629     break 2
   16630   fi
   16631 done
   16632   done
   16633 IFS=$as_save_IFS
   16634 
   16635 fi
   16636 fi
   16637 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
   16638 if test -n "$OTOOL_FOR_TARGET"; then
   16639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL_FOR_TARGET" >&5
   16640 $as_echo "$OTOOL_FOR_TARGET" >&6; }
   16641 else
   16642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16643 $as_echo "no" >&6; }
   16644 fi
   16645 
   16646 
   16647   done
   16648 fi
   16649 
   16650 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
   16651   for ncn_progname in otool; do
   16652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   16653 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   16654     if test -x $with_build_time_tools/${ncn_progname}; then
   16655       ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   16656       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16657 $as_echo "yes" >&6; }
   16658       break
   16659     else
   16660       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16661 $as_echo "no" >&6; }
   16662     fi
   16663   done
   16664 fi
   16665 
   16666 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
   16667   for ncn_progname in otool; do
   16668     if test -n "$ncn_target_tool_prefix"; then
   16669       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   16670 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16672 $as_echo_n "checking for $ac_word... " >&6; }
   16673 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
   16674   $as_echo_n "(cached) " >&6
   16675 else
   16676   if test -n "$OTOOL_FOR_TARGET"; then
   16677   ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
   16678 else
   16679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16680 for as_dir in $PATH
   16681 do
   16682   IFS=$as_save_IFS
   16683   test -z "$as_dir" && as_dir=.
   16684     for ac_exec_ext in '' $ac_executable_extensions; do
   16685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16686     ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   16687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16688     break 2
   16689   fi
   16690 done
   16691   done
   16692 IFS=$as_save_IFS
   16693 
   16694 fi
   16695 fi
   16696 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
   16697 if test -n "$OTOOL_FOR_TARGET"; then
   16698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL_FOR_TARGET" >&5
   16699 $as_echo "$OTOOL_FOR_TARGET" >&6; }
   16700 else
   16701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16702 $as_echo "no" >&6; }
   16703 fi
   16704 
   16705 
   16706     fi
   16707     if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
   16708       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16709 set dummy ${ncn_progname}; ac_word=$2
   16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16711 $as_echo_n "checking for $ac_word... " >&6; }
   16712 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
   16713   $as_echo_n "(cached) " >&6
   16714 else
   16715   if test -n "$OTOOL_FOR_TARGET"; then
   16716   ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
   16717 else
   16718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16719 for as_dir in $PATH
   16720 do
   16721   IFS=$as_save_IFS
   16722   test -z "$as_dir" && as_dir=.
   16723     for ac_exec_ext in '' $ac_executable_extensions; do
   16724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16725     ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
   16726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16727     break 2
   16728   fi
   16729 done
   16730   done
   16731 IFS=$as_save_IFS
   16732 
   16733 fi
   16734 fi
   16735 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
   16736 if test -n "$OTOOL_FOR_TARGET"; then
   16737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL_FOR_TARGET" >&5
   16738 $as_echo "$OTOOL_FOR_TARGET" >&6; }
   16739 else
   16740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16741 $as_echo "no" >&6; }
   16742 fi
   16743 
   16744 
   16745     fi
   16746     test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
   16747   done
   16748 fi
   16749 
   16750 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
   16751   set dummy otool
   16752   if test $build = $target ; then
   16753     OTOOL_FOR_TARGET="$2"
   16754   else
   16755     OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
   16756   fi
   16757 else
   16758   OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
   16759 fi
   16760 
   16761 else
   16762   OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
   16763 fi
   16764 
   16765 
   16766 
   16767 
   16768 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   16769   if test -n "$with_build_time_tools"; then
   16770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
   16771 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
   16772     if test -x $with_build_time_tools/ranlib; then
   16773       RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
   16774       ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   16775       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
   16776 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
   16777     else
   16778       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16779 $as_echo "no" >&6; }
   16780     fi
   16781   elif test $build != $host && test $have_gcc_for_target = yes; then
   16782     RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
   16783     test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
   16784     test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   16785   fi
   16786 fi
   16787 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   16788   # Extract the first word of "ranlib", so it can be a program name with args.
   16789 set dummy ranlib; ac_word=$2
   16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16791 $as_echo_n "checking for $ac_word... " >&6; }
   16792 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
   16793   $as_echo_n "(cached) " >&6
   16794 else
   16795   case $RANLIB_FOR_TARGET in
   16796   [\\/]* | ?:[\\/]*)
   16797   ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
   16798   ;;
   16799   *)
   16800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16801 for as_dir in $gcc_cv_tool_dirs
   16802 do
   16803   IFS=$as_save_IFS
   16804   test -z "$as_dir" && as_dir=.
   16805     for ac_exec_ext in '' $ac_executable_extensions; do
   16806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16807     ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   16808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16809     break 2
   16810   fi
   16811 done
   16812   done
   16813 IFS=$as_save_IFS
   16814 
   16815   ;;
   16816 esac
   16817 fi
   16818 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   16819 if test -n "$RANLIB_FOR_TARGET"; then
   16820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   16821 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   16822 else
   16823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16824 $as_echo "no" >&6; }
   16825 fi
   16826 
   16827 
   16828 fi
   16829 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
   16830 
   16831 
   16832 if test -n "$RANLIB_FOR_TARGET"; then
   16833   ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
   16834 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   16835   RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   16836 fi
   16837 
   16838 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   16839   for ncn_progname in ranlib; do
   16840     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16841 set dummy ${ncn_progname}; ac_word=$2
   16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16843 $as_echo_n "checking for $ac_word... " >&6; }
   16844 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   16845   $as_echo_n "(cached) " >&6
   16846 else
   16847   if test -n "$RANLIB_FOR_TARGET"; then
   16848   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   16849 else
   16850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16851 for as_dir in $PATH
   16852 do
   16853   IFS=$as_save_IFS
   16854   test -z "$as_dir" && as_dir=.
   16855     for ac_exec_ext in '' $ac_executable_extensions; do
   16856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16857     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   16858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16859     break 2
   16860   fi
   16861 done
   16862   done
   16863 IFS=$as_save_IFS
   16864 
   16865 fi
   16866 fi
   16867 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   16868 if test -n "$RANLIB_FOR_TARGET"; then
   16869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   16870 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   16871 else
   16872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16873 $as_echo "no" >&6; }
   16874 fi
   16875 
   16876 
   16877   done
   16878 fi
   16879 
   16880 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
   16881   for ncn_progname in ranlib; do
   16882     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   16883 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   16884     if test -x $with_build_time_tools/${ncn_progname}; then
   16885       ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   16886       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16887 $as_echo "yes" >&6; }
   16888       break
   16889     else
   16890       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16891 $as_echo "no" >&6; }
   16892     fi
   16893   done
   16894 fi
   16895 
   16896 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
   16897   for ncn_progname in ranlib; do
   16898     if test -n "$ncn_target_tool_prefix"; then
   16899       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   16900 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16902 $as_echo_n "checking for $ac_word... " >&6; }
   16903 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   16904   $as_echo_n "(cached) " >&6
   16905 else
   16906   if test -n "$RANLIB_FOR_TARGET"; then
   16907   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   16908 else
   16909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16910 for as_dir in $PATH
   16911 do
   16912   IFS=$as_save_IFS
   16913   test -z "$as_dir" && as_dir=.
   16914     for ac_exec_ext in '' $ac_executable_extensions; do
   16915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16916     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   16917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16918     break 2
   16919   fi
   16920 done
   16921   done
   16922 IFS=$as_save_IFS
   16923 
   16924 fi
   16925 fi
   16926 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   16927 if test -n "$RANLIB_FOR_TARGET"; then
   16928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   16929 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   16930 else
   16931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16932 $as_echo "no" >&6; }
   16933 fi
   16934 
   16935 
   16936     fi
   16937     if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
   16938       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   16939 set dummy ${ncn_progname}; ac_word=$2
   16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16941 $as_echo_n "checking for $ac_word... " >&6; }
   16942 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
   16943   $as_echo_n "(cached) " >&6
   16944 else
   16945   if test -n "$RANLIB_FOR_TARGET"; then
   16946   ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
   16947 else
   16948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16949 for as_dir in $PATH
   16950 do
   16951   IFS=$as_save_IFS
   16952   test -z "$as_dir" && as_dir=.
   16953     for ac_exec_ext in '' $ac_executable_extensions; do
   16954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16955     ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
   16956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16957     break 2
   16958   fi
   16959 done
   16960   done
   16961 IFS=$as_save_IFS
   16962 
   16963 fi
   16964 fi
   16965 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
   16966 if test -n "$RANLIB_FOR_TARGET"; then
   16967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
   16968 $as_echo "$RANLIB_FOR_TARGET" >&6; }
   16969 else
   16970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16971 $as_echo "no" >&6; }
   16972 fi
   16973 
   16974 
   16975     fi
   16976     test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
   16977   done
   16978 fi
   16979 
   16980 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
   16981   set dummy ranlib
   16982   if test $build = $target ; then
   16983     RANLIB_FOR_TARGET="$2"
   16984   else
   16985     RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
   16986   fi
   16987 else
   16988   RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
   16989 fi
   16990 
   16991 else
   16992   RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
   16993 fi
   16994 
   16995 
   16996 
   16997 
   16998 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   16999   if test -n "$with_build_time_tools"; then
   17000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
   17001 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
   17002     if test -x $with_build_time_tools/readelf; then
   17003       READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
   17004       ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   17005       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
   17006 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
   17007     else
   17008       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17009 $as_echo "no" >&6; }
   17010     fi
   17011   elif test $build != $host && test $have_gcc_for_target = yes; then
   17012     READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
   17013     test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
   17014     test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
   17015   fi
   17016 fi
   17017 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   17018   # Extract the first word of "readelf", so it can be a program name with args.
   17019 set dummy readelf; ac_word=$2
   17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17021 $as_echo_n "checking for $ac_word... " >&6; }
   17022 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
   17023   $as_echo_n "(cached) " >&6
   17024 else
   17025   case $READELF_FOR_TARGET in
   17026   [\\/]* | ?:[\\/]*)
   17027   ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
   17028   ;;
   17029   *)
   17030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17031 for as_dir in $gcc_cv_tool_dirs
   17032 do
   17033   IFS=$as_save_IFS
   17034   test -z "$as_dir" && as_dir=.
   17035     for ac_exec_ext in '' $ac_executable_extensions; do
   17036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17037     ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   17038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17039     break 2
   17040   fi
   17041 done
   17042   done
   17043 IFS=$as_save_IFS
   17044 
   17045   ;;
   17046 esac
   17047 fi
   17048 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   17049 if test -n "$READELF_FOR_TARGET"; then
   17050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   17051 $as_echo "$READELF_FOR_TARGET" >&6; }
   17052 else
   17053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17054 $as_echo "no" >&6; }
   17055 fi
   17056 
   17057 
   17058 fi
   17059 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
   17060 
   17061 
   17062 if test -n "$READELF_FOR_TARGET"; then
   17063   ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
   17064 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   17065   READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   17066 fi
   17067 
   17068 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
   17069   for ncn_progname in readelf; do
   17070     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17071 set dummy ${ncn_progname}; ac_word=$2
   17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17073 $as_echo_n "checking for $ac_word... " >&6; }
   17074 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   17075   $as_echo_n "(cached) " >&6
   17076 else
   17077   if test -n "$READELF_FOR_TARGET"; then
   17078   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   17079 else
   17080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17081 for as_dir in $PATH
   17082 do
   17083   IFS=$as_save_IFS
   17084   test -z "$as_dir" && as_dir=.
   17085     for ac_exec_ext in '' $ac_executable_extensions; do
   17086   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17087     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   17088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17089     break 2
   17090   fi
   17091 done
   17092   done
   17093 IFS=$as_save_IFS
   17094 
   17095 fi
   17096 fi
   17097 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   17098 if test -n "$READELF_FOR_TARGET"; then
   17099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   17100 $as_echo "$READELF_FOR_TARGET" >&6; }
   17101 else
   17102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17103 $as_echo "no" >&6; }
   17104 fi
   17105 
   17106 
   17107   done
   17108 fi
   17109 
   17110 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
   17111   for ncn_progname in readelf; do
   17112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   17113 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   17114     if test -x $with_build_time_tools/${ncn_progname}; then
   17115       ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   17116       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17117 $as_echo "yes" >&6; }
   17118       break
   17119     else
   17120       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17121 $as_echo "no" >&6; }
   17122     fi
   17123   done
   17124 fi
   17125 
   17126 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
   17127   for ncn_progname in readelf; do
   17128     if test -n "$ncn_target_tool_prefix"; then
   17129       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   17130 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17132 $as_echo_n "checking for $ac_word... " >&6; }
   17133 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   17134   $as_echo_n "(cached) " >&6
   17135 else
   17136   if test -n "$READELF_FOR_TARGET"; then
   17137   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   17138 else
   17139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17140 for as_dir in $PATH
   17141 do
   17142   IFS=$as_save_IFS
   17143   test -z "$as_dir" && as_dir=.
   17144     for ac_exec_ext in '' $ac_executable_extensions; do
   17145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17146     ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   17147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17148     break 2
   17149   fi
   17150 done
   17151   done
   17152 IFS=$as_save_IFS
   17153 
   17154 fi
   17155 fi
   17156 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   17157 if test -n "$READELF_FOR_TARGET"; then
   17158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   17159 $as_echo "$READELF_FOR_TARGET" >&6; }
   17160 else
   17161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17162 $as_echo "no" >&6; }
   17163 fi
   17164 
   17165 
   17166     fi
   17167     if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
   17168       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17169 set dummy ${ncn_progname}; ac_word=$2
   17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17171 $as_echo_n "checking for $ac_word... " >&6; }
   17172 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
   17173   $as_echo_n "(cached) " >&6
   17174 else
   17175   if test -n "$READELF_FOR_TARGET"; then
   17176   ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
   17177 else
   17178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17179 for as_dir in $PATH
   17180 do
   17181   IFS=$as_save_IFS
   17182   test -z "$as_dir" && as_dir=.
   17183     for ac_exec_ext in '' $ac_executable_extensions; do
   17184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17185     ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
   17186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17187     break 2
   17188   fi
   17189 done
   17190   done
   17191 IFS=$as_save_IFS
   17192 
   17193 fi
   17194 fi
   17195 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
   17196 if test -n "$READELF_FOR_TARGET"; then
   17197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
   17198 $as_echo "$READELF_FOR_TARGET" >&6; }
   17199 else
   17200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17201 $as_echo "no" >&6; }
   17202 fi
   17203 
   17204 
   17205     fi
   17206     test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
   17207   done
   17208 fi
   17209 
   17210 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
   17211   set dummy readelf
   17212   if test $build = $target ; then
   17213     READELF_FOR_TARGET="$2"
   17214   else
   17215     READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
   17216   fi
   17217 else
   17218   READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
   17219 fi
   17220 
   17221 else
   17222   READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
   17223 fi
   17224 
   17225 
   17226 
   17227 
   17228 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   17229   if test -n "$with_build_time_tools"; then
   17230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
   17231 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
   17232     if test -x $with_build_time_tools/strip; then
   17233       STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
   17234       ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   17235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
   17236 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
   17237     else
   17238       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17239 $as_echo "no" >&6; }
   17240     fi
   17241   elif test $build != $host && test $have_gcc_for_target = yes; then
   17242     STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
   17243     test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
   17244     test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   17245   fi
   17246 fi
   17247 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   17248   # Extract the first word of "strip", so it can be a program name with args.
   17249 set dummy strip; ac_word=$2
   17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17251 $as_echo_n "checking for $ac_word... " >&6; }
   17252 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
   17253   $as_echo_n "(cached) " >&6
   17254 else
   17255   case $STRIP_FOR_TARGET in
   17256   [\\/]* | ?:[\\/]*)
   17257   ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
   17258   ;;
   17259   *)
   17260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17261 for as_dir in $gcc_cv_tool_dirs
   17262 do
   17263   IFS=$as_save_IFS
   17264   test -z "$as_dir" && as_dir=.
   17265     for ac_exec_ext in '' $ac_executable_extensions; do
   17266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17267     ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   17268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17269     break 2
   17270   fi
   17271 done
   17272   done
   17273 IFS=$as_save_IFS
   17274 
   17275   ;;
   17276 esac
   17277 fi
   17278 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   17279 if test -n "$STRIP_FOR_TARGET"; then
   17280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   17281 $as_echo "$STRIP_FOR_TARGET" >&6; }
   17282 else
   17283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17284 $as_echo "no" >&6; }
   17285 fi
   17286 
   17287 
   17288 fi
   17289 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
   17290 
   17291 
   17292 if test -n "$STRIP_FOR_TARGET"; then
   17293   ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
   17294 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   17295   STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   17296 fi
   17297 
   17298 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
   17299   for ncn_progname in strip; do
   17300     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17301 set dummy ${ncn_progname}; ac_word=$2
   17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17303 $as_echo_n "checking for $ac_word... " >&6; }
   17304 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   17305   $as_echo_n "(cached) " >&6
   17306 else
   17307   if test -n "$STRIP_FOR_TARGET"; then
   17308   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   17309 else
   17310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17311 for as_dir in $PATH
   17312 do
   17313   IFS=$as_save_IFS
   17314   test -z "$as_dir" && as_dir=.
   17315     for ac_exec_ext in '' $ac_executable_extensions; do
   17316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17317     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   17318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17319     break 2
   17320   fi
   17321 done
   17322   done
   17323 IFS=$as_save_IFS
   17324 
   17325 fi
   17326 fi
   17327 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   17328 if test -n "$STRIP_FOR_TARGET"; then
   17329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   17330 $as_echo "$STRIP_FOR_TARGET" >&6; }
   17331 else
   17332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17333 $as_echo "no" >&6; }
   17334 fi
   17335 
   17336 
   17337   done
   17338 fi
   17339 
   17340 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
   17341   for ncn_progname in strip; do
   17342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   17343 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   17344     if test -x $with_build_time_tools/${ncn_progname}; then
   17345       ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   17346       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17347 $as_echo "yes" >&6; }
   17348       break
   17349     else
   17350       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17351 $as_echo "no" >&6; }
   17352     fi
   17353   done
   17354 fi
   17355 
   17356 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
   17357   for ncn_progname in strip; do
   17358     if test -n "$ncn_target_tool_prefix"; then
   17359       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   17360 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17362 $as_echo_n "checking for $ac_word... " >&6; }
   17363 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   17364   $as_echo_n "(cached) " >&6
   17365 else
   17366   if test -n "$STRIP_FOR_TARGET"; then
   17367   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   17368 else
   17369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17370 for as_dir in $PATH
   17371 do
   17372   IFS=$as_save_IFS
   17373   test -z "$as_dir" && as_dir=.
   17374     for ac_exec_ext in '' $ac_executable_extensions; do
   17375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17376     ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   17377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17378     break 2
   17379   fi
   17380 done
   17381   done
   17382 IFS=$as_save_IFS
   17383 
   17384 fi
   17385 fi
   17386 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   17387 if test -n "$STRIP_FOR_TARGET"; then
   17388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   17389 $as_echo "$STRIP_FOR_TARGET" >&6; }
   17390 else
   17391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17392 $as_echo "no" >&6; }
   17393 fi
   17394 
   17395 
   17396     fi
   17397     if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
   17398       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17399 set dummy ${ncn_progname}; ac_word=$2
   17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17401 $as_echo_n "checking for $ac_word... " >&6; }
   17402 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
   17403   $as_echo_n "(cached) " >&6
   17404 else
   17405   if test -n "$STRIP_FOR_TARGET"; then
   17406   ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
   17407 else
   17408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17409 for as_dir in $PATH
   17410 do
   17411   IFS=$as_save_IFS
   17412   test -z "$as_dir" && as_dir=.
   17413     for ac_exec_ext in '' $ac_executable_extensions; do
   17414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17415     ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
   17416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17417     break 2
   17418   fi
   17419 done
   17420   done
   17421 IFS=$as_save_IFS
   17422 
   17423 fi
   17424 fi
   17425 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
   17426 if test -n "$STRIP_FOR_TARGET"; then
   17427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
   17428 $as_echo "$STRIP_FOR_TARGET" >&6; }
   17429 else
   17430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17431 $as_echo "no" >&6; }
   17432 fi
   17433 
   17434 
   17435     fi
   17436     test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
   17437   done
   17438 fi
   17439 
   17440 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
   17441   set dummy strip
   17442   if test $build = $target ; then
   17443     STRIP_FOR_TARGET="$2"
   17444   else
   17445     STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
   17446   fi
   17447 else
   17448   STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
   17449 fi
   17450 
   17451 else
   17452   STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
   17453 fi
   17454 
   17455 
   17456 
   17457 
   17458 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   17459   if test -n "$with_build_time_tools"; then
   17460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
   17461 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
   17462     if test -x $with_build_time_tools/windres; then
   17463       WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
   17464       ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   17465       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
   17466 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
   17467     else
   17468       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17469 $as_echo "no" >&6; }
   17470     fi
   17471   elif test $build != $host && test $have_gcc_for_target = yes; then
   17472     WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
   17473     test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
   17474     test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   17475   fi
   17476 fi
   17477 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   17478   # Extract the first word of "windres", so it can be a program name with args.
   17479 set dummy windres; ac_word=$2
   17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17481 $as_echo_n "checking for $ac_word... " >&6; }
   17482 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
   17483   $as_echo_n "(cached) " >&6
   17484 else
   17485   case $WINDRES_FOR_TARGET in
   17486   [\\/]* | ?:[\\/]*)
   17487   ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
   17488   ;;
   17489   *)
   17490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17491 for as_dir in $gcc_cv_tool_dirs
   17492 do
   17493   IFS=$as_save_IFS
   17494   test -z "$as_dir" && as_dir=.
   17495     for ac_exec_ext in '' $ac_executable_extensions; do
   17496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17497     ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   17498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17499     break 2
   17500   fi
   17501 done
   17502   done
   17503 IFS=$as_save_IFS
   17504 
   17505   ;;
   17506 esac
   17507 fi
   17508 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   17509 if test -n "$WINDRES_FOR_TARGET"; then
   17510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   17511 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   17512 else
   17513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17514 $as_echo "no" >&6; }
   17515 fi
   17516 
   17517 
   17518 fi
   17519 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
   17520 
   17521 
   17522 if test -n "$WINDRES_FOR_TARGET"; then
   17523   ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
   17524 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   17525   WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   17526 fi
   17527 
   17528 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   17529   for ncn_progname in windres; do
   17530     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17531 set dummy ${ncn_progname}; ac_word=$2
   17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17533 $as_echo_n "checking for $ac_word... " >&6; }
   17534 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   17535   $as_echo_n "(cached) " >&6
   17536 else
   17537   if test -n "$WINDRES_FOR_TARGET"; then
   17538   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   17539 else
   17540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17541 for as_dir in $PATH
   17542 do
   17543   IFS=$as_save_IFS
   17544   test -z "$as_dir" && as_dir=.
   17545     for ac_exec_ext in '' $ac_executable_extensions; do
   17546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17547     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   17548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17549     break 2
   17550   fi
   17551 done
   17552   done
   17553 IFS=$as_save_IFS
   17554 
   17555 fi
   17556 fi
   17557 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   17558 if test -n "$WINDRES_FOR_TARGET"; then
   17559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   17560 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   17561 else
   17562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17563 $as_echo "no" >&6; }
   17564 fi
   17565 
   17566 
   17567   done
   17568 fi
   17569 
   17570 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
   17571   for ncn_progname in windres; do
   17572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   17573 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   17574     if test -x $with_build_time_tools/${ncn_progname}; then
   17575       ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   17576       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17577 $as_echo "yes" >&6; }
   17578       break
   17579     else
   17580       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17581 $as_echo "no" >&6; }
   17582     fi
   17583   done
   17584 fi
   17585 
   17586 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
   17587   for ncn_progname in windres; do
   17588     if test -n "$ncn_target_tool_prefix"; then
   17589       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   17590 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17592 $as_echo_n "checking for $ac_word... " >&6; }
   17593 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   17594   $as_echo_n "(cached) " >&6
   17595 else
   17596   if test -n "$WINDRES_FOR_TARGET"; then
   17597   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   17598 else
   17599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17600 for as_dir in $PATH
   17601 do
   17602   IFS=$as_save_IFS
   17603   test -z "$as_dir" && as_dir=.
   17604     for ac_exec_ext in '' $ac_executable_extensions; do
   17605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17606     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   17607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17608     break 2
   17609   fi
   17610 done
   17611   done
   17612 IFS=$as_save_IFS
   17613 
   17614 fi
   17615 fi
   17616 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   17617 if test -n "$WINDRES_FOR_TARGET"; then
   17618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   17619 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   17620 else
   17621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17622 $as_echo "no" >&6; }
   17623 fi
   17624 
   17625 
   17626     fi
   17627     if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
   17628       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17629 set dummy ${ncn_progname}; ac_word=$2
   17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17631 $as_echo_n "checking for $ac_word... " >&6; }
   17632 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
   17633   $as_echo_n "(cached) " >&6
   17634 else
   17635   if test -n "$WINDRES_FOR_TARGET"; then
   17636   ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
   17637 else
   17638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17639 for as_dir in $PATH
   17640 do
   17641   IFS=$as_save_IFS
   17642   test -z "$as_dir" && as_dir=.
   17643     for ac_exec_ext in '' $ac_executable_extensions; do
   17644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17645     ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
   17646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17647     break 2
   17648   fi
   17649 done
   17650   done
   17651 IFS=$as_save_IFS
   17652 
   17653 fi
   17654 fi
   17655 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
   17656 if test -n "$WINDRES_FOR_TARGET"; then
   17657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
   17658 $as_echo "$WINDRES_FOR_TARGET" >&6; }
   17659 else
   17660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17661 $as_echo "no" >&6; }
   17662 fi
   17663 
   17664 
   17665     fi
   17666     test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
   17667   done
   17668 fi
   17669 
   17670 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
   17671   set dummy windres
   17672   if test $build = $target ; then
   17673     WINDRES_FOR_TARGET="$2"
   17674   else
   17675     WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
   17676   fi
   17677 else
   17678   WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
   17679 fi
   17680 
   17681 else
   17682   WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
   17683 fi
   17684 
   17685 
   17686 
   17687 
   17688 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   17689   if test -n "$with_build_time_tools"; then
   17690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
   17691 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
   17692     if test -x $with_build_time_tools/windmc; then
   17693       WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
   17694       ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   17695       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
   17696 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
   17697     else
   17698       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17699 $as_echo "no" >&6; }
   17700     fi
   17701   elif test $build != $host && test $have_gcc_for_target = yes; then
   17702     WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
   17703     test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
   17704     test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   17705   fi
   17706 fi
   17707 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
   17708   # Extract the first word of "windmc", so it can be a program name with args.
   17709 set dummy windmc; ac_word=$2
   17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17711 $as_echo_n "checking for $ac_word... " >&6; }
   17712 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
   17713   $as_echo_n "(cached) " >&6
   17714 else
   17715   case $WINDMC_FOR_TARGET in
   17716   [\\/]* | ?:[\\/]*)
   17717   ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
   17718   ;;
   17719   *)
   17720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17721 for as_dir in $gcc_cv_tool_dirs
   17722 do
   17723   IFS=$as_save_IFS
   17724   test -z "$as_dir" && as_dir=.
   17725     for ac_exec_ext in '' $ac_executable_extensions; do
   17726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17727     ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
   17728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17729     break 2
   17730   fi
   17731 done
   17732   done
   17733 IFS=$as_save_IFS
   17734 
   17735   ;;
   17736 esac
   17737 fi
   17738 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   17739 if test -n "$WINDMC_FOR_TARGET"; then
   17740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   17741 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   17742 else
   17743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17744 $as_echo "no" >&6; }
   17745 fi
   17746 
   17747 
   17748 fi
   17749 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
   17750 
   17751 
   17752 if test -n "$WINDMC_FOR_TARGET"; then
   17753   ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
   17754 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   17755   WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   17756 fi
   17757 
   17758 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   17759   for ncn_progname in windmc; do
   17760     # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17761 set dummy ${ncn_progname}; ac_word=$2
   17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17763 $as_echo_n "checking for $ac_word... " >&6; }
   17764 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   17765   $as_echo_n "(cached) " >&6
   17766 else
   17767   if test -n "$WINDMC_FOR_TARGET"; then
   17768   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   17769 else
   17770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17771 for as_dir in $PATH
   17772 do
   17773   IFS=$as_save_IFS
   17774   test -z "$as_dir" && as_dir=.
   17775     for ac_exec_ext in '' $ac_executable_extensions; do
   17776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17777     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   17778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17779     break 2
   17780   fi
   17781 done
   17782   done
   17783 IFS=$as_save_IFS
   17784 
   17785 fi
   17786 fi
   17787 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   17788 if test -n "$WINDMC_FOR_TARGET"; then
   17789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   17790 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   17791 else
   17792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17793 $as_echo "no" >&6; }
   17794 fi
   17795 
   17796 
   17797   done
   17798 fi
   17799 
   17800 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
   17801   for ncn_progname in windmc; do
   17802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
   17803 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
   17804     if test -x $with_build_time_tools/${ncn_progname}; then
   17805       ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
   17806       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17807 $as_echo "yes" >&6; }
   17808       break
   17809     else
   17810       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17811 $as_echo "no" >&6; }
   17812     fi
   17813   done
   17814 fi
   17815 
   17816 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
   17817   for ncn_progname in windmc; do
   17818     if test -n "$ncn_target_tool_prefix"; then
   17819       # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
   17820 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
   17821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17822 $as_echo_n "checking for $ac_word... " >&6; }
   17823 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   17824   $as_echo_n "(cached) " >&6
   17825 else
   17826   if test -n "$WINDMC_FOR_TARGET"; then
   17827   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   17828 else
   17829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17830 for as_dir in $PATH
   17831 do
   17832   IFS=$as_save_IFS
   17833   test -z "$as_dir" && as_dir=.
   17834     for ac_exec_ext in '' $ac_executable_extensions; do
   17835   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17836     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
   17837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17838     break 2
   17839   fi
   17840 done
   17841   done
   17842 IFS=$as_save_IFS
   17843 
   17844 fi
   17845 fi
   17846 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   17847 if test -n "$WINDMC_FOR_TARGET"; then
   17848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   17849 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   17850 else
   17851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17852 $as_echo "no" >&6; }
   17853 fi
   17854 
   17855 
   17856     fi
   17857     if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
   17858       # Extract the first word of "${ncn_progname}", so it can be a program name with args.
   17859 set dummy ${ncn_progname}; ac_word=$2
   17860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17861 $as_echo_n "checking for $ac_word... " >&6; }
   17862 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
   17863   $as_echo_n "(cached) " >&6
   17864 else
   17865   if test -n "$WINDMC_FOR_TARGET"; then
   17866   ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
   17867 else
   17868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17869 for as_dir in $PATH
   17870 do
   17871   IFS=$as_save_IFS
   17872   test -z "$as_dir" && as_dir=.
   17873     for ac_exec_ext in '' $ac_executable_extensions; do
   17874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17875     ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
   17876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17877     break 2
   17878   fi
   17879 done
   17880   done
   17881 IFS=$as_save_IFS
   17882 
   17883 fi
   17884 fi
   17885 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
   17886 if test -n "$WINDMC_FOR_TARGET"; then
   17887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
   17888 $as_echo "$WINDMC_FOR_TARGET" >&6; }
   17889 else
   17890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17891 $as_echo "no" >&6; }
   17892 fi
   17893 
   17894 
   17895     fi
   17896     test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
   17897   done
   17898 fi
   17899 
   17900 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
   17901   set dummy windmc
   17902   if test $build = $target ; then
   17903     WINDMC_FOR_TARGET="$2"
   17904   else
   17905     WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
   17906   fi
   17907 else
   17908   WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
   17909 fi
   17910 
   17911 else
   17912   WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
   17913 fi
   17914 
   17915 
   17916 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
   17917 
   17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
   17919 $as_echo_n "checking where to find the target ar... " >&6; }
   17920 if test "x${build}" != "x${host}" ; then
   17921   if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   17922     # We already found the complete path
   17923     ac_dir=`dirname $AR_FOR_TARGET`
   17924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   17925 $as_echo "pre-installed in $ac_dir" >&6; }
   17926   else
   17927     # Canadian cross, just use what we found
   17928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   17929 $as_echo "pre-installed" >&6; }
   17930   fi
   17931 else
   17932   ok=yes
   17933   case " ${configdirs} " in
   17934     *" binutils "*) ;;
   17935     *) ok=no ;;
   17936   esac
   17937 
   17938   if test $ok = yes; then
   17939     # An in-tree tool is available and we can use it
   17940     AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
   17941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   17942 $as_echo "just compiled" >&6; }
   17943   elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
   17944     # We already found the complete path
   17945     ac_dir=`dirname $AR_FOR_TARGET`
   17946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   17947 $as_echo "pre-installed in $ac_dir" >&6; }
   17948   elif test "x$target" = "x$host"; then
   17949     # We can use an host tool
   17950     AR_FOR_TARGET='$(AR)'
   17951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   17952 $as_echo "host tool" >&6; }
   17953   else
   17954     # We need a cross tool
   17955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   17956 $as_echo "pre-installed" >&6; }
   17957   fi
   17958 fi
   17959 
   17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
   17961 $as_echo_n "checking where to find the target as... " >&6; }
   17962 if test "x${build}" != "x${host}" ; then
   17963   if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   17964     # We already found the complete path
   17965     ac_dir=`dirname $AS_FOR_TARGET`
   17966     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   17967 $as_echo "pre-installed in $ac_dir" >&6; }
   17968   else
   17969     # Canadian cross, just use what we found
   17970     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   17971 $as_echo "pre-installed" >&6; }
   17972   fi
   17973 else
   17974   ok=yes
   17975   case " ${configdirs} " in
   17976     *" gas "*) ;;
   17977     *) ok=no ;;
   17978   esac
   17979 
   17980   if test $ok = yes; then
   17981     # An in-tree tool is available and we can use it
   17982     AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
   17983     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   17984 $as_echo "just compiled" >&6; }
   17985   elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
   17986     # We already found the complete path
   17987     ac_dir=`dirname $AS_FOR_TARGET`
   17988     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   17989 $as_echo "pre-installed in $ac_dir" >&6; }
   17990   elif test "x$target" = "x$host"; then
   17991     # We can use an host tool
   17992     AS_FOR_TARGET='$(AS)'
   17993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   17994 $as_echo "host tool" >&6; }
   17995   else
   17996     # We need a cross tool
   17997     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   17998 $as_echo "pre-installed" >&6; }
   17999   fi
   18000 fi
   18001 
   18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
   18003 $as_echo_n "checking where to find the target cc... " >&6; }
   18004 if test "x${build}" != "x${host}" ; then
   18005   if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   18006     # We already found the complete path
   18007     ac_dir=`dirname $CC_FOR_TARGET`
   18008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18009 $as_echo "pre-installed in $ac_dir" >&6; }
   18010   else
   18011     # Canadian cross, just use what we found
   18012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18013 $as_echo "pre-installed" >&6; }
   18014   fi
   18015 else
   18016   ok=yes
   18017   case " ${configdirs} " in
   18018     *" gcc "*) ;;
   18019     *) ok=no ;;
   18020   esac
   18021 
   18022   if test $ok = yes; then
   18023     # An in-tree tool is available and we can use it
   18024     CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   18025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18026 $as_echo "just compiled" >&6; }
   18027   elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
   18028     # We already found the complete path
   18029     ac_dir=`dirname $CC_FOR_TARGET`
   18030     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18031 $as_echo "pre-installed in $ac_dir" >&6; }
   18032   elif test "x$target" = "x$host"; then
   18033     # We can use an host tool
   18034     CC_FOR_TARGET='$(CC)'
   18035     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18036 $as_echo "host tool" >&6; }
   18037   else
   18038     # We need a cross tool
   18039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18040 $as_echo "pre-installed" >&6; }
   18041   fi
   18042 fi
   18043 
   18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
   18045 $as_echo_n "checking where to find the target c++... " >&6; }
   18046 if test "x${build}" != "x${host}" ; then
   18047   if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   18048     # We already found the complete path
   18049     ac_dir=`dirname $CXX_FOR_TARGET`
   18050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18051 $as_echo "pre-installed in $ac_dir" >&6; }
   18052   else
   18053     # Canadian cross, just use what we found
   18054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18055 $as_echo "pre-installed" >&6; }
   18056   fi
   18057 else
   18058   ok=yes
   18059   case " ${configdirs} " in
   18060     *" gcc "*) ;;
   18061     *) ok=no ;;
   18062   esac
   18063   case ,${enable_languages}, in
   18064     *,c++,*) ;;
   18065     *) ok=no ;;
   18066   esac
   18067   if test $ok = yes; then
   18068     # An in-tree tool is available and we can use it
   18069     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'
   18070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18071 $as_echo "just compiled" >&6; }
   18072   elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
   18073     # We already found the complete path
   18074     ac_dir=`dirname $CXX_FOR_TARGET`
   18075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18076 $as_echo "pre-installed in $ac_dir" >&6; }
   18077   elif test "x$target" = "x$host"; then
   18078     # We can use an host tool
   18079     CXX_FOR_TARGET='$(CXX)'
   18080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18081 $as_echo "host tool" >&6; }
   18082   else
   18083     # We need a cross tool
   18084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18085 $as_echo "pre-installed" >&6; }
   18086   fi
   18087 fi
   18088 
   18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
   18090 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
   18091 if test "x${build}" != "x${host}" ; then
   18092   if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   18093     # We already found the complete path
   18094     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   18095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18096 $as_echo "pre-installed in $ac_dir" >&6; }
   18097   else
   18098     # Canadian cross, just use what we found
   18099     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18100 $as_echo "pre-installed" >&6; }
   18101   fi
   18102 else
   18103   ok=yes
   18104   case " ${configdirs} " in
   18105     *" gcc "*) ;;
   18106     *) ok=no ;;
   18107   esac
   18108   case ,${enable_languages}, in
   18109     *,c++,*) ;;
   18110     *) ok=no ;;
   18111   esac
   18112   if test $ok = yes; then
   18113     # An in-tree tool is available and we can use it
   18114     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'
   18115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18116 $as_echo "just compiled" >&6; }
   18117   elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
   18118     # We already found the complete path
   18119     ac_dir=`dirname $RAW_CXX_FOR_TARGET`
   18120     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18121 $as_echo "pre-installed in $ac_dir" >&6; }
   18122   elif test "x$target" = "x$host"; then
   18123     # We can use an host tool
   18124     RAW_CXX_FOR_TARGET='$(CXX)'
   18125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18126 $as_echo "host tool" >&6; }
   18127   else
   18128     # We need a cross tool
   18129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18130 $as_echo "pre-installed" >&6; }
   18131   fi
   18132 fi
   18133 
   18134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
   18135 $as_echo_n "checking where to find the target dlltool... " >&6; }
   18136 if test "x${build}" != "x${host}" ; then
   18137   if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   18138     # We already found the complete path
   18139     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   18140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18141 $as_echo "pre-installed in $ac_dir" >&6; }
   18142   else
   18143     # Canadian cross, just use what we found
   18144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18145 $as_echo "pre-installed" >&6; }
   18146   fi
   18147 else
   18148   ok=yes
   18149   case " ${configdirs} " in
   18150     *" binutils "*) ;;
   18151     *) ok=no ;;
   18152   esac
   18153 
   18154   if test $ok = yes; then
   18155     # An in-tree tool is available and we can use it
   18156     DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
   18157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18158 $as_echo "just compiled" >&6; }
   18159   elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
   18160     # We already found the complete path
   18161     ac_dir=`dirname $DLLTOOL_FOR_TARGET`
   18162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18163 $as_echo "pre-installed in $ac_dir" >&6; }
   18164   elif test "x$target" = "x$host"; then
   18165     # We can use an host tool
   18166     DLLTOOL_FOR_TARGET='$(DLLTOOL)'
   18167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18168 $as_echo "host tool" >&6; }
   18169   else
   18170     # We need a cross tool
   18171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18172 $as_echo "pre-installed" >&6; }
   18173   fi
   18174 fi
   18175 
   18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dsymutil" >&5
   18177 $as_echo_n "checking where to find the target dsymutil... " >&6; }
   18178 if test "x${build}" != "x${host}" ; then
   18179   if expr "x$DSYMUTIL_FOR_TARGET" : "x/" > /dev/null; then
   18180     # We already found the complete path
   18181     ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
   18182     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18183 $as_echo "pre-installed in $ac_dir" >&6; }
   18184   else
   18185     # Canadian cross, just use what we found
   18186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18187 $as_echo "pre-installed" >&6; }
   18188   fi
   18189 else
   18190   if expr "x$DSYMUTIL_FOR_TARGET" : "x/" > /dev/null; then
   18191     # We already found the complete path
   18192     ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
   18193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18194 $as_echo "pre-installed in $ac_dir" >&6; }
   18195   elif test "x$target" = "x$host"; then
   18196     # We can use an host tool
   18197     DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
   18198     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18199 $as_echo "host tool" >&6; }
   18200   else
   18201     # We need a cross tool
   18202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18203 $as_echo "pre-installed" >&6; }
   18204   fi
   18205 fi
   18206 
   18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
   18208 $as_echo_n "checking where to find the target gcc... " >&6; }
   18209 if test "x${build}" != "x${host}" ; then
   18210   if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   18211     # We already found the complete path
   18212     ac_dir=`dirname $GCC_FOR_TARGET`
   18213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18214 $as_echo "pre-installed in $ac_dir" >&6; }
   18215   else
   18216     # Canadian cross, just use what we found
   18217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18218 $as_echo "pre-installed" >&6; }
   18219   fi
   18220 else
   18221   ok=yes
   18222   case " ${configdirs} " in
   18223     *" gcc "*) ;;
   18224     *) ok=no ;;
   18225   esac
   18226 
   18227   if test $ok = yes; then
   18228     # An in-tree tool is available and we can use it
   18229     GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
   18230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18231 $as_echo "just compiled" >&6; }
   18232   elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
   18233     # We already found the complete path
   18234     ac_dir=`dirname $GCC_FOR_TARGET`
   18235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18236 $as_echo "pre-installed in $ac_dir" >&6; }
   18237   elif test "x$target" = "x$host"; then
   18238     # We can use an host tool
   18239     GCC_FOR_TARGET='$()'
   18240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18241 $as_echo "host tool" >&6; }
   18242   else
   18243     # We need a cross tool
   18244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18245 $as_echo "pre-installed" >&6; }
   18246   fi
   18247 fi
   18248 
   18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
   18250 $as_echo_n "checking where to find the target gfortran... " >&6; }
   18251 if test "x${build}" != "x${host}" ; then
   18252   if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   18253     # We already found the complete path
   18254     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   18255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18256 $as_echo "pre-installed in $ac_dir" >&6; }
   18257   else
   18258     # Canadian cross, just use what we found
   18259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18260 $as_echo "pre-installed" >&6; }
   18261   fi
   18262 else
   18263   ok=yes
   18264   case " ${configdirs} " in
   18265     *" gcc "*) ;;
   18266     *) ok=no ;;
   18267   esac
   18268   case ,${enable_languages}, in
   18269     *,fortran,*) ;;
   18270     *) ok=no ;;
   18271   esac
   18272   if test $ok = yes; then
   18273     # An in-tree tool is available and we can use it
   18274     GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
   18275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18276 $as_echo "just compiled" >&6; }
   18277   elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
   18278     # We already found the complete path
   18279     ac_dir=`dirname $GFORTRAN_FOR_TARGET`
   18280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18281 $as_echo "pre-installed in $ac_dir" >&6; }
   18282   elif test "x$target" = "x$host"; then
   18283     # We can use an host tool
   18284     GFORTRAN_FOR_TARGET='$(GFORTRAN)'
   18285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18286 $as_echo "host tool" >&6; }
   18287   else
   18288     # We need a cross tool
   18289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18290 $as_echo "pre-installed" >&6; }
   18291   fi
   18292 fi
   18293 
   18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
   18295 $as_echo_n "checking where to find the target gccgo... " >&6; }
   18296 if test "x${build}" != "x${host}" ; then
   18297   if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   18298     # We already found the complete path
   18299     ac_dir=`dirname $GOC_FOR_TARGET`
   18300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18301 $as_echo "pre-installed in $ac_dir" >&6; }
   18302   else
   18303     # Canadian cross, just use what we found
   18304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18305 $as_echo "pre-installed" >&6; }
   18306   fi
   18307 else
   18308   ok=yes
   18309   case " ${configdirs} " in
   18310     *" gcc "*) ;;
   18311     *) ok=no ;;
   18312   esac
   18313   case ,${enable_languages}, in
   18314     *,go,*) ;;
   18315     *) ok=no ;;
   18316   esac
   18317   if test $ok = yes; then
   18318     # An in-tree tool is available and we can use it
   18319     GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
   18320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18321 $as_echo "just compiled" >&6; }
   18322   elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
   18323     # We already found the complete path
   18324     ac_dir=`dirname $GOC_FOR_TARGET`
   18325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18326 $as_echo "pre-installed in $ac_dir" >&6; }
   18327   elif test "x$target" = "x$host"; then
   18328     # We can use an host tool
   18329     GOC_FOR_TARGET='$(GOC)'
   18330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18331 $as_echo "host tool" >&6; }
   18332   else
   18333     # We need a cross tool
   18334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18335 $as_echo "pre-installed" >&6; }
   18336   fi
   18337 fi
   18338 
   18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gdc" >&5
   18340 $as_echo_n "checking where to find the target gdc... " >&6; }
   18341 if test "x${build}" != "x${host}" ; then
   18342   if expr "x$GDC_FOR_TARGET" : "x/" > /dev/null; then
   18343     # We already found the complete path
   18344     ac_dir=`dirname $GDC_FOR_TARGET`
   18345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18346 $as_echo "pre-installed in $ac_dir" >&6; }
   18347   else
   18348     # Canadian cross, just use what we found
   18349     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18350 $as_echo "pre-installed" >&6; }
   18351   fi
   18352 else
   18353   ok=yes
   18354   case " ${configdirs} " in
   18355     *" gcc "*) ;;
   18356     *) ok=no ;;
   18357   esac
   18358   case ,${enable_languages}, in
   18359     *,d,*) ;;
   18360     *) ok=no ;;
   18361   esac
   18362   if test $ok = yes; then
   18363     # An in-tree tool is available and we can use it
   18364     GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
   18365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18366 $as_echo "just compiled" >&6; }
   18367   elif expr "x$GDC_FOR_TARGET" : "x/" > /dev/null; then
   18368     # We already found the complete path
   18369     ac_dir=`dirname $GDC_FOR_TARGET`
   18370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18371 $as_echo "pre-installed in $ac_dir" >&6; }
   18372   elif test "x$target" = "x$host"; then
   18373     # We can use an host tool
   18374     GDC_FOR_TARGET='$(GDC)'
   18375     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18376 $as_echo "host tool" >&6; }
   18377   else
   18378     # We need a cross tool
   18379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18380 $as_echo "pre-installed" >&6; }
   18381   fi
   18382 fi
   18383 
   18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gm2" >&5
   18385 $as_echo_n "checking where to find the target gm2... " >&6; }
   18386 if test "x${build}" != "x${host}" ; then
   18387   if expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
   18388     # We already found the complete path
   18389     ac_dir=`dirname $GM2_FOR_TARGET`
   18390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18391 $as_echo "pre-installed in $ac_dir" >&6; }
   18392   else
   18393     # Canadian cross, just use what we found
   18394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18395 $as_echo "pre-installed" >&6; }
   18396   fi
   18397 else
   18398   ok=yes
   18399   case " ${configdirs} " in
   18400     *" gcc "*) ;;
   18401     *) ok=no ;;
   18402   esac
   18403   case ,${enable_languages}, in
   18404     *,m2,*) ;;
   18405     *) ok=no ;;
   18406   esac
   18407   if test $ok = yes; then
   18408     # An in-tree tool is available and we can use it
   18409     GM2_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/'
   18410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18411 $as_echo "just compiled" >&6; }
   18412   elif expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
   18413     # We already found the complete path
   18414     ac_dir=`dirname $GM2_FOR_TARGET`
   18415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18416 $as_echo "pre-installed in $ac_dir" >&6; }
   18417   elif test "x$target" = "x$host"; then
   18418     # We can use an host tool
   18419     GM2_FOR_TARGET='$(GM2)'
   18420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18421 $as_echo "host tool" >&6; }
   18422   else
   18423     # We need a cross tool
   18424     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18425 $as_echo "pre-installed" >&6; }
   18426   fi
   18427 fi
   18428 
   18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
   18430 $as_echo_n "checking where to find the target ld... " >&6; }
   18431 if test "x${build}" != "x${host}" ; then
   18432   if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   18433     # We already found the complete path
   18434     ac_dir=`dirname $LD_FOR_TARGET`
   18435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18436 $as_echo "pre-installed in $ac_dir" >&6; }
   18437   else
   18438     # Canadian cross, just use what we found
   18439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18440 $as_echo "pre-installed" >&6; }
   18441   fi
   18442 else
   18443   ok=yes
   18444   case " ${configdirs} " in
   18445     *" ld "*) ;;
   18446     *) ok=no ;;
   18447   esac
   18448 
   18449   if test $ok = yes; then
   18450     # An in-tree tool is available and we can use it
   18451     LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
   18452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18453 $as_echo "just compiled" >&6; }
   18454   elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
   18455     # We already found the complete path
   18456     ac_dir=`dirname $LD_FOR_TARGET`
   18457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18458 $as_echo "pre-installed in $ac_dir" >&6; }
   18459   elif test "x$target" = "x$host"; then
   18460     # We can use an host tool
   18461     LD_FOR_TARGET='$(LD)'
   18462     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18463 $as_echo "host tool" >&6; }
   18464   else
   18465     # We need a cross tool
   18466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18467 $as_echo "pre-installed" >&6; }
   18468   fi
   18469 fi
   18470 
   18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
   18472 $as_echo_n "checking where to find the target lipo... " >&6; }
   18473 if test "x${build}" != "x${host}" ; then
   18474   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   18475     # We already found the complete path
   18476     ac_dir=`dirname $LIPO_FOR_TARGET`
   18477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18478 $as_echo "pre-installed in $ac_dir" >&6; }
   18479   else
   18480     # Canadian cross, just use what we found
   18481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18482 $as_echo "pre-installed" >&6; }
   18483   fi
   18484 else
   18485   if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
   18486     # We already found the complete path
   18487     ac_dir=`dirname $LIPO_FOR_TARGET`
   18488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18489 $as_echo "pre-installed in $ac_dir" >&6; }
   18490   elif test "x$target" = "x$host"; then
   18491     # We can use an host tool
   18492     LIPO_FOR_TARGET='$(LIPO)'
   18493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18494 $as_echo "host tool" >&6; }
   18495   else
   18496     # We need a cross tool
   18497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18498 $as_echo "pre-installed" >&6; }
   18499   fi
   18500 fi
   18501 
   18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
   18503 $as_echo_n "checking where to find the target nm... " >&6; }
   18504 if test "x${build}" != "x${host}" ; then
   18505   if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   18506     # We already found the complete path
   18507     ac_dir=`dirname $NM_FOR_TARGET`
   18508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18509 $as_echo "pre-installed in $ac_dir" >&6; }
   18510   else
   18511     # Canadian cross, just use what we found
   18512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18513 $as_echo "pre-installed" >&6; }
   18514   fi
   18515 else
   18516   ok=yes
   18517   case " ${configdirs} " in
   18518     *" binutils "*) ;;
   18519     *) ok=no ;;
   18520   esac
   18521 
   18522   if test $ok = yes; then
   18523     # An in-tree tool is available and we can use it
   18524     NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
   18525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18526 $as_echo "just compiled" >&6; }
   18527   elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
   18528     # We already found the complete path
   18529     ac_dir=`dirname $NM_FOR_TARGET`
   18530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18531 $as_echo "pre-installed in $ac_dir" >&6; }
   18532   elif test "x$target" = "x$host"; then
   18533     # We can use an host tool
   18534     NM_FOR_TARGET='$(NM)'
   18535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18536 $as_echo "host tool" >&6; }
   18537   else
   18538     # We need a cross tool
   18539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18540 $as_echo "pre-installed" >&6; }
   18541   fi
   18542 fi
   18543 
   18544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objcopy" >&5
   18545 $as_echo_n "checking where to find the target objcopy... " >&6; }
   18546 if test "x${build}" != "x${host}" ; then
   18547   if expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   18548     # We already found the complete path
   18549     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   18550     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18551 $as_echo "pre-installed in $ac_dir" >&6; }
   18552   else
   18553     # Canadian cross, just use what we found
   18554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18555 $as_echo "pre-installed" >&6; }
   18556   fi
   18557 else
   18558   ok=yes
   18559   case " ${configdirs} " in
   18560     *" binutils "*) ;;
   18561     *) ok=no ;;
   18562   esac
   18563 
   18564   if test $ok = yes; then
   18565     # An in-tree tool is available and we can use it
   18566     OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
   18567     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18568 $as_echo "just compiled" >&6; }
   18569   elif expr "x$OBJCOPY_FOR_TARGET" : "x/" > /dev/null; then
   18570     # We already found the complete path
   18571     ac_dir=`dirname $OBJCOPY_FOR_TARGET`
   18572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18573 $as_echo "pre-installed in $ac_dir" >&6; }
   18574   elif test "x$target" = "x$host"; then
   18575     # We can use an host tool
   18576     OBJCOPY_FOR_TARGET='$(OBJCOPY)'
   18577     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18578 $as_echo "host tool" >&6; }
   18579   else
   18580     # We need a cross tool
   18581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18582 $as_echo "pre-installed" >&6; }
   18583   fi
   18584 fi
   18585 
   18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
   18587 $as_echo_n "checking where to find the target objdump... " >&6; }
   18588 if test "x${build}" != "x${host}" ; then
   18589   if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   18590     # We already found the complete path
   18591     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   18592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18593 $as_echo "pre-installed in $ac_dir" >&6; }
   18594   else
   18595     # Canadian cross, just use what we found
   18596     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18597 $as_echo "pre-installed" >&6; }
   18598   fi
   18599 else
   18600   ok=yes
   18601   case " ${configdirs} " in
   18602     *" binutils "*) ;;
   18603     *) ok=no ;;
   18604   esac
   18605 
   18606   if test $ok = yes; then
   18607     # An in-tree tool is available and we can use it
   18608     OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
   18609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18610 $as_echo "just compiled" >&6; }
   18611   elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
   18612     # We already found the complete path
   18613     ac_dir=`dirname $OBJDUMP_FOR_TARGET`
   18614     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18615 $as_echo "pre-installed in $ac_dir" >&6; }
   18616   elif test "x$target" = "x$host"; then
   18617     # We can use an host tool
   18618     OBJDUMP_FOR_TARGET='$(OBJDUMP)'
   18619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18620 $as_echo "host tool" >&6; }
   18621   else
   18622     # We need a cross tool
   18623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18624 $as_echo "pre-installed" >&6; }
   18625   fi
   18626 fi
   18627 
   18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target otool" >&5
   18629 $as_echo_n "checking where to find the target otool... " >&6; }
   18630 if test "x${build}" != "x${host}" ; then
   18631   if expr "x$OTOOL_FOR_TARGET" : "x/" > /dev/null; then
   18632     # We already found the complete path
   18633     ac_dir=`dirname $OTOOL_FOR_TARGET`
   18634     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18635 $as_echo "pre-installed in $ac_dir" >&6; }
   18636   else
   18637     # Canadian cross, just use what we found
   18638     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18639 $as_echo "pre-installed" >&6; }
   18640   fi
   18641 else
   18642   if expr "x$OTOOL_FOR_TARGET" : "x/" > /dev/null; then
   18643     # We already found the complete path
   18644     ac_dir=`dirname $OTOOL_FOR_TARGET`
   18645     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18646 $as_echo "pre-installed in $ac_dir" >&6; }
   18647   elif test "x$target" = "x$host"; then
   18648     # We can use an host tool
   18649     OTOOL_FOR_TARGET='$(OTOOL)'
   18650     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18651 $as_echo "host tool" >&6; }
   18652   else
   18653     # We need a cross tool
   18654     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18655 $as_echo "pre-installed" >&6; }
   18656   fi
   18657 fi
   18658 
   18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
   18660 $as_echo_n "checking where to find the target ranlib... " >&6; }
   18661 if test "x${build}" != "x${host}" ; then
   18662   if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   18663     # We already found the complete path
   18664     ac_dir=`dirname $RANLIB_FOR_TARGET`
   18665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18666 $as_echo "pre-installed in $ac_dir" >&6; }
   18667   else
   18668     # Canadian cross, just use what we found
   18669     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18670 $as_echo "pre-installed" >&6; }
   18671   fi
   18672 else
   18673   ok=yes
   18674   case " ${configdirs} " in
   18675     *" binutils "*) ;;
   18676     *) ok=no ;;
   18677   esac
   18678 
   18679   if test $ok = yes; then
   18680     # An in-tree tool is available and we can use it
   18681     RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
   18682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18683 $as_echo "just compiled" >&6; }
   18684   elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
   18685     # We already found the complete path
   18686     ac_dir=`dirname $RANLIB_FOR_TARGET`
   18687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18688 $as_echo "pre-installed in $ac_dir" >&6; }
   18689   elif test "x$target" = "x$host"; then
   18690     # We can use an host tool
   18691     RANLIB_FOR_TARGET='$(RANLIB)'
   18692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18693 $as_echo "host tool" >&6; }
   18694   else
   18695     # We need a cross tool
   18696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18697 $as_echo "pre-installed" >&6; }
   18698   fi
   18699 fi
   18700 
   18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
   18702 $as_echo_n "checking where to find the target readelf... " >&6; }
   18703 if test "x${build}" != "x${host}" ; then
   18704   if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   18705     # We already found the complete path
   18706     ac_dir=`dirname $READELF_FOR_TARGET`
   18707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18708 $as_echo "pre-installed in $ac_dir" >&6; }
   18709   else
   18710     # Canadian cross, just use what we found
   18711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18712 $as_echo "pre-installed" >&6; }
   18713   fi
   18714 else
   18715   ok=yes
   18716   case " ${configdirs} " in
   18717     *" binutils "*) ;;
   18718     *) ok=no ;;
   18719   esac
   18720 
   18721   if test $ok = yes; then
   18722     # An in-tree tool is available and we can use it
   18723     READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
   18724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18725 $as_echo "just compiled" >&6; }
   18726   elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
   18727     # We already found the complete path
   18728     ac_dir=`dirname $READELF_FOR_TARGET`
   18729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18730 $as_echo "pre-installed in $ac_dir" >&6; }
   18731   elif test "x$target" = "x$host"; then
   18732     # We can use an host tool
   18733     READELF_FOR_TARGET='$(READELF)'
   18734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18735 $as_echo "host tool" >&6; }
   18736   else
   18737     # We need a cross tool
   18738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18739 $as_echo "pre-installed" >&6; }
   18740   fi
   18741 fi
   18742 
   18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
   18744 $as_echo_n "checking where to find the target strip... " >&6; }
   18745 if test "x${build}" != "x${host}" ; then
   18746   if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   18747     # We already found the complete path
   18748     ac_dir=`dirname $STRIP_FOR_TARGET`
   18749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18750 $as_echo "pre-installed in $ac_dir" >&6; }
   18751   else
   18752     # Canadian cross, just use what we found
   18753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18754 $as_echo "pre-installed" >&6; }
   18755   fi
   18756 else
   18757   ok=yes
   18758   case " ${configdirs} " in
   18759     *" binutils "*) ;;
   18760     *) ok=no ;;
   18761   esac
   18762 
   18763   if test $ok = yes; then
   18764     # An in-tree tool is available and we can use it
   18765     STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
   18766     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18767 $as_echo "just compiled" >&6; }
   18768   elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
   18769     # We already found the complete path
   18770     ac_dir=`dirname $STRIP_FOR_TARGET`
   18771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18772 $as_echo "pre-installed in $ac_dir" >&6; }
   18773   elif test "x$target" = "x$host"; then
   18774     # We can use an host tool
   18775     STRIP_FOR_TARGET='$(STRIP)'
   18776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18777 $as_echo "host tool" >&6; }
   18778   else
   18779     # We need a cross tool
   18780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18781 $as_echo "pre-installed" >&6; }
   18782   fi
   18783 fi
   18784 
   18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
   18786 $as_echo_n "checking where to find the target windres... " >&6; }
   18787 if test "x${build}" != "x${host}" ; then
   18788   if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   18789     # We already found the complete path
   18790     ac_dir=`dirname $WINDRES_FOR_TARGET`
   18791     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18792 $as_echo "pre-installed in $ac_dir" >&6; }
   18793   else
   18794     # Canadian cross, just use what we found
   18795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18796 $as_echo "pre-installed" >&6; }
   18797   fi
   18798 else
   18799   ok=yes
   18800   case " ${configdirs} " in
   18801     *" binutils "*) ;;
   18802     *) ok=no ;;
   18803   esac
   18804 
   18805   if test $ok = yes; then
   18806     # An in-tree tool is available and we can use it
   18807     WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
   18808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18809 $as_echo "just compiled" >&6; }
   18810   elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
   18811     # We already found the complete path
   18812     ac_dir=`dirname $WINDRES_FOR_TARGET`
   18813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18814 $as_echo "pre-installed in $ac_dir" >&6; }
   18815   elif test "x$target" = "x$host"; then
   18816     # We can use an host tool
   18817     WINDRES_FOR_TARGET='$(WINDRES)'
   18818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18819 $as_echo "host tool" >&6; }
   18820   else
   18821     # We need a cross tool
   18822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18823 $as_echo "pre-installed" >&6; }
   18824   fi
   18825 fi
   18826 
   18827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
   18828 $as_echo_n "checking where to find the target windmc... " >&6; }
   18829 if test "x${build}" != "x${host}" ; then
   18830   if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   18831     # We already found the complete path
   18832     ac_dir=`dirname $WINDMC_FOR_TARGET`
   18833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18834 $as_echo "pre-installed in $ac_dir" >&6; }
   18835   else
   18836     # Canadian cross, just use what we found
   18837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18838 $as_echo "pre-installed" >&6; }
   18839   fi
   18840 else
   18841   ok=yes
   18842   case " ${configdirs} " in
   18843     *" binutils "*) ;;
   18844     *) ok=no ;;
   18845   esac
   18846 
   18847   if test $ok = yes; then
   18848     # An in-tree tool is available and we can use it
   18849     WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
   18850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
   18851 $as_echo "just compiled" >&6; }
   18852   elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
   18853     # We already found the complete path
   18854     ac_dir=`dirname $WINDMC_FOR_TARGET`
   18855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
   18856 $as_echo "pre-installed in $ac_dir" >&6; }
   18857   elif test "x$target" = "x$host"; then
   18858     # We can use an host tool
   18859     WINDMC_FOR_TARGET='$(WINDMC)'
   18860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
   18861 $as_echo "host tool" >&6; }
   18862   else
   18863     # We need a cross tool
   18864     { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
   18865 $as_echo "pre-installed" >&6; }
   18866   fi
   18867 fi
   18868 
   18869 
   18870 
   18871 
   18872 
   18873 # Certain tools may need extra flags.
   18874 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
   18875 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
   18876 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
   18877 
   18878 # When building target libraries, except in a Canadian cross, we use
   18879 # the same toolchain as the compiler we just built.
   18880 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
   18881 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
   18882 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
   18883 if test $host = $build; then
   18884   case " $configdirs " in
   18885     *" gcc "*)
   18886       COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
   18887       COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
   18888       COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
   18889       ;;
   18890   esac
   18891 fi
   18892 
   18893 
   18894 
   18895 
   18896 
   18897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   18898 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   18899 # Check whether --enable-maintainer-mode was given.
   18900 if test "${enable_maintainer_mode+set}" = set; then :
   18901   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   18902 else
   18903   USE_MAINTAINER_MODE=no
   18904 fi
   18905 
   18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   18907 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   18908 
   18909 
   18910 if test "$USE_MAINTAINER_MODE" = yes; then
   18911   MAINTAINER_MODE_TRUE=
   18912   MAINTAINER_MODE_FALSE='#'
   18913 else
   18914   MAINTAINER_MODE_TRUE='#'
   18915   MAINTAINER_MODE_FALSE=
   18916 fi
   18917 MAINT=$MAINTAINER_MODE_TRUE
   18918 
   18919 # ---------------------
   18920 # GCC bootstrap support
   18921 # ---------------------
   18922 
   18923 # Stage specific cflags for build.
   18924 stage1_cflags="-g"
   18925 case $build in
   18926   vax-*-*)
   18927     case ${GCC} in
   18928       yes) stage1_cflags="-g -Wa,-J" ;;
   18929       *) stage1_cflags="-g -J" ;;
   18930     esac ;;
   18931 esac
   18932 
   18933 
   18934 
   18935 # Enable --enable-checking in stage1 of the compiler.
   18936 # Check whether --enable-stage1-checking was given.
   18937 if test "${enable_stage1_checking+set}" = set; then :
   18938   enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
   18939 else
   18940   if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
   18941   # For --disable-checking or implicit --enable-checking=release, avoid
   18942   # setting --enable-checking=gc in the default stage1 checking for LTO
   18943   # bootstraps.  See PR62077.
   18944   case $BUILD_CONFIG in
   18945     *lto*)
   18946       stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
   18947     *)
   18948       stage1_checking=--enable-checking=yes,types;;
   18949   esac
   18950   if test "x$enable_checking" = x && \
   18951      test -d ${srcdir}/gcc && \
   18952      test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
   18953     stage1_checking=--enable-checking=yes,types,extra
   18954   fi
   18955 else
   18956   stage1_checking=--enable-checking=$enable_checking,types
   18957 fi
   18958 fi
   18959 
   18960 
   18961 
   18962 # Enable -Werror in bootstrap stage2 and later.
   18963 # Check whether --enable-werror was given.
   18964 if test "${enable_werror+set}" = set; then :
   18965   enableval=$enable_werror;
   18966 case ${enable_werror} in
   18967   yes) stage2_werror_flag="--enable-werror-always" ;;
   18968   *) stage2_werror_flag="" ;;
   18969 esac
   18970 
   18971 else
   18972 
   18973 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
   18974   case $BUILD_CONFIG in
   18975   bootstrap-debug)
   18976       stage2_werror_flag="--enable-werror-always" ;;
   18977   "")
   18978       stage2_werror_flag="--enable-werror-always" ;;
   18979   esac
   18980 fi
   18981 
   18982 fi
   18983 
   18984 
   18985 
   18986 
   18987 # Specify what files to not compare during bootstrap.
   18988 
   18989 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
   18990 compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
   18991 compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
   18992 compare_exclusions="$compare_exclusions | gcc/m2/gm2version*"
   18993 case "$target" in
   18994   hppa*64*-*-hpux*) ;;
   18995   powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions | *libgomp*\$(objext)" ;;
   18996 esac
   18997 
   18998 
   18999 ac_config_files="$ac_config_files Makefile"
   19000 
   19001 cat >confcache <<\_ACEOF
   19002 # This file is a shell script that caches the results of configure
   19003 # tests run on this system so they can be shared between configure
   19004 # scripts and configure runs, see configure's option --config-cache.
   19005 # It is not useful on other systems.  If it contains results you don't
   19006 # want to keep, you may remove or edit it.
   19007 #
   19008 # config.status only pays attention to the cache file if you give it
   19009 # the --recheck option to rerun configure.
   19010 #
   19011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19013 # following values.
   19014 
   19015 _ACEOF
   19016 
   19017 # The following way of writing the cache mishandles newlines in values,
   19018 # but we know of no workaround that is simple, portable, and efficient.
   19019 # So, we kill variables containing newlines.
   19020 # Ultrix sh set writes to stderr and can't be redirected directly,
   19021 # and sets the high bit in the cache file unless we assign to the vars.
   19022 (
   19023   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19024     eval ac_val=\$$ac_var
   19025     case $ac_val in #(
   19026     *${as_nl}*)
   19027       case $ac_var in #(
   19028       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19029 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19030       esac
   19031       case $ac_var in #(
   19032       _ | IFS | as_nl) ;; #(
   19033       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19034       *) { eval $ac_var=; unset $ac_var;} ;;
   19035       esac ;;
   19036     esac
   19037   done
   19038 
   19039   (set) 2>&1 |
   19040     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19041     *${as_nl}ac_space=\ *)
   19042       # `set' does not quote correctly, so add quotes: double-quote
   19043       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19044       sed -n \
   19045 	"s/'/'\\\\''/g;
   19046 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19047       ;; #(
   19048     *)
   19049       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19050       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19051       ;;
   19052     esac |
   19053     sort
   19054 ) |
   19055   sed '
   19056      /^ac_cv_env_/b end
   19057      t clear
   19058      :clear
   19059      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19060      t end
   19061      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19062      :end' >>confcache
   19063 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19064   if test -w "$cache_file"; then
   19065     if test "x$cache_file" != "x/dev/null"; then
   19066       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19067 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19068       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19069 	cat confcache >"$cache_file"
   19070       else
   19071         case $cache_file in #(
   19072         */* | ?:*)
   19073 	  mv -f confcache "$cache_file"$$ &&
   19074 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19075         *)
   19076 	  mv -f confcache "$cache_file" ;;
   19077 	esac
   19078       fi
   19079     fi
   19080   else
   19081     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19082 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19083   fi
   19084 fi
   19085 rm -f confcache
   19086 
   19087 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19088 # Let make expand exec_prefix.
   19089 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19090 
   19091 # Transform confdefs.h into DEFS.
   19092 # Protect against shell expansion while executing Makefile rules.
   19093 # Protect against Makefile macro expansion.
   19094 #
   19095 # If the first sed substitution is executed (which looks for macros that
   19096 # take arguments), then branch to the quote section.  Otherwise,
   19097 # look for a macro that doesn't take arguments.
   19098 ac_script='
   19099 :mline
   19100 /\\$/{
   19101  N
   19102  s,\\\n,,
   19103  b mline
   19104 }
   19105 t clear
   19106 :clear
   19107 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   19108 t quote
   19109 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   19110 t quote
   19111 b any
   19112 :quote
   19113 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   19114 s/\[/\\&/g
   19115 s/\]/\\&/g
   19116 s/\$/$$/g
   19117 H
   19118 :any
   19119 ${
   19120 	g
   19121 	s/^\n//
   19122 	s/\n/ /g
   19123 	p
   19124 }
   19125 '
   19126 DEFS=`sed -n "$ac_script" confdefs.h`
   19127 
   19128 
   19129 ac_libobjs=
   19130 ac_ltlibobjs=
   19131 U=
   19132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19133   # 1. Remove the extension, and $U if already installed.
   19134   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19135   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19136   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19137   #    will be set to the directory where LIBOBJS objects are built.
   19138   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19139   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19140 done
   19141 LIBOBJS=$ac_libobjs
   19142 
   19143 LTLIBOBJS=$ac_ltlibobjs
   19144 
   19145 
   19146 
   19147 : "${CONFIG_STATUS=./config.status}"
   19148 ac_write_fail=0
   19149 ac_clean_files_save=$ac_clean_files
   19150 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19152 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19153 as_write_fail=0
   19154 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19155 #! $SHELL
   19156 # Generated by $as_me.
   19157 # Run this file to recreate the current configuration.
   19158 # Compiler output produced by configure, useful for debugging
   19159 # configure, is in config.log if it exists.
   19160 
   19161 debug=false
   19162 ac_cs_recheck=false
   19163 ac_cs_silent=false
   19164 
   19165 SHELL=\${CONFIG_SHELL-$SHELL}
   19166 export SHELL
   19167 _ASEOF
   19168 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19169 ## -------------------- ##
   19170 ## M4sh Initialization. ##
   19171 ## -------------------- ##
   19172 
   19173 # Be more Bourne compatible
   19174 DUALCASE=1; export DUALCASE # for MKS sh
   19175 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19176   emulate sh
   19177   NULLCMD=:
   19178   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19179   # is contrary to our usage.  Disable this feature.
   19180   alias -g '${1+"$@"}'='"$@"'
   19181   setopt NO_GLOB_SUBST
   19182 else
   19183   case `(set -o) 2>/dev/null` in #(
   19184   *posix*) :
   19185     set -o posix ;; #(
   19186   *) :
   19187      ;;
   19188 esac
   19189 fi
   19190 
   19191 
   19192 as_nl='
   19193 '
   19194 export as_nl
   19195 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19196 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19197 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19198 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19199 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19200 # but without wasting forks for bash or zsh.
   19201 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19202     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19203   as_echo='print -r --'
   19204   as_echo_n='print -rn --'
   19205 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19206   as_echo='printf %s\n'
   19207   as_echo_n='printf %s'
   19208 else
   19209   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19210     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19211     as_echo_n='/usr/ucb/echo -n'
   19212   else
   19213     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19214     as_echo_n_body='eval
   19215       arg=$1;
   19216       case $arg in #(
   19217       *"$as_nl"*)
   19218 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19219 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19220       esac;
   19221       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19222     '
   19223     export as_echo_n_body
   19224     as_echo_n='sh -c $as_echo_n_body as_echo'
   19225   fi
   19226   export as_echo_body
   19227   as_echo='sh -c $as_echo_body as_echo'
   19228 fi
   19229 
   19230 # The user is always right.
   19231 if test "${PATH_SEPARATOR+set}" != set; then
   19232   PATH_SEPARATOR=:
   19233   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19234     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19235       PATH_SEPARATOR=';'
   19236   }
   19237 fi
   19238 
   19239 
   19240 # IFS
   19241 # We need space, tab and new line, in precisely that order.  Quoting is
   19242 # there to prevent editors from complaining about space-tab.
   19243 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19244 # splitting by setting IFS to empty value.)
   19245 IFS=" ""	$as_nl"
   19246 
   19247 # Find who we are.  Look in the path if we contain no directory separator.
   19248 as_myself=
   19249 case $0 in #((
   19250   *[\\/]* ) as_myself=$0 ;;
   19251   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19252 for as_dir in $PATH
   19253 do
   19254   IFS=$as_save_IFS
   19255   test -z "$as_dir" && as_dir=.
   19256     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19257   done
   19258 IFS=$as_save_IFS
   19259 
   19260      ;;
   19261 esac
   19262 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19263 # in which case we are not to be found in the path.
   19264 if test "x$as_myself" = x; then
   19265   as_myself=$0
   19266 fi
   19267 if test ! -f "$as_myself"; then
   19268   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19269   exit 1
   19270 fi
   19271 
   19272 # Unset variables that we do not need and which cause bugs (e.g. in
   19273 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19274 # suppresses any "Segmentation fault" message there.  '((' could
   19275 # trigger a bug in pdksh 5.2.14.
   19276 for as_var in BASH_ENV ENV MAIL MAILPATH
   19277 do eval test x\${$as_var+set} = xset \
   19278   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19279 done
   19280 PS1='$ '
   19281 PS2='> '
   19282 PS4='+ '
   19283 
   19284 # NLS nuisances.
   19285 LC_ALL=C
   19286 export LC_ALL
   19287 LANGUAGE=C
   19288 export LANGUAGE
   19289 
   19290 # CDPATH.
   19291 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19292 
   19293 
   19294 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19295 # ----------------------------------------
   19296 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19297 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19298 # script with STATUS, using 1 if that was 0.
   19299 as_fn_error ()
   19300 {
   19301   as_status=$1; test $as_status -eq 0 && as_status=1
   19302   if test "$4"; then
   19303     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19304     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19305   fi
   19306   $as_echo "$as_me: error: $2" >&2
   19307   as_fn_exit $as_status
   19308 } # as_fn_error
   19309 
   19310 
   19311 # as_fn_set_status STATUS
   19312 # -----------------------
   19313 # Set $? to STATUS, without forking.
   19314 as_fn_set_status ()
   19315 {
   19316   return $1
   19317 } # as_fn_set_status
   19318 
   19319 # as_fn_exit STATUS
   19320 # -----------------
   19321 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19322 as_fn_exit ()
   19323 {
   19324   set +e
   19325   as_fn_set_status $1
   19326   exit $1
   19327 } # as_fn_exit
   19328 
   19329 # as_fn_unset VAR
   19330 # ---------------
   19331 # Portably unset VAR.
   19332 as_fn_unset ()
   19333 {
   19334   { eval $1=; unset $1;}
   19335 }
   19336 as_unset=as_fn_unset
   19337 # as_fn_append VAR VALUE
   19338 # ----------------------
   19339 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19340 # advantage of any shell optimizations that allow amortized linear growth over
   19341 # repeated appends, instead of the typical quadratic growth present in naive
   19342 # implementations.
   19343 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19344   eval 'as_fn_append ()
   19345   {
   19346     eval $1+=\$2
   19347   }'
   19348 else
   19349   as_fn_append ()
   19350   {
   19351     eval $1=\$$1\$2
   19352   }
   19353 fi # as_fn_append
   19354 
   19355 # as_fn_arith ARG...
   19356 # ------------------
   19357 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19358 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19359 # must be portable across $(()) and expr.
   19360 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19361   eval 'as_fn_arith ()
   19362   {
   19363     as_val=$(( $* ))
   19364   }'
   19365 else
   19366   as_fn_arith ()
   19367   {
   19368     as_val=`expr "$@" || test $? -eq 1`
   19369   }
   19370 fi # as_fn_arith
   19371 
   19372 
   19373 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19375   as_expr=expr
   19376 else
   19377   as_expr=false
   19378 fi
   19379 
   19380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19381   as_basename=basename
   19382 else
   19383   as_basename=false
   19384 fi
   19385 
   19386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19387   as_dirname=dirname
   19388 else
   19389   as_dirname=false
   19390 fi
   19391 
   19392 as_me=`$as_basename -- "$0" ||
   19393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19394 	 X"$0" : 'X\(//\)$' \| \
   19395 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19396 $as_echo X/"$0" |
   19397     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19398 	    s//\1/
   19399 	    q
   19400 	  }
   19401 	  /^X\/\(\/\/\)$/{
   19402 	    s//\1/
   19403 	    q
   19404 	  }
   19405 	  /^X\/\(\/\).*/{
   19406 	    s//\1/
   19407 	    q
   19408 	  }
   19409 	  s/.*/./; q'`
   19410 
   19411 # Avoid depending upon Character Ranges.
   19412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19415 as_cr_digits='0123456789'
   19416 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19417 
   19418 ECHO_C= ECHO_N= ECHO_T=
   19419 case `echo -n x` in #(((((
   19420 -n*)
   19421   case `echo 'xy\c'` in
   19422   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19423   xy)  ECHO_C='\c';;
   19424   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19425        ECHO_T='	';;
   19426   esac;;
   19427 *)
   19428   ECHO_N='-n';;
   19429 esac
   19430 
   19431 rm -f conf$$ conf$$.exe conf$$.file
   19432 if test -d conf$$.dir; then
   19433   rm -f conf$$.dir/conf$$.file
   19434 else
   19435   rm -f conf$$.dir
   19436   mkdir conf$$.dir 2>/dev/null
   19437 fi
   19438 if (echo >conf$$.file) 2>/dev/null; then
   19439   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19440     as_ln_s='ln -s'
   19441     # ... but there are two gotchas:
   19442     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19443     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19444     # In both cases, we have to default to `cp -pR'.
   19445     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19446       as_ln_s='cp -pR'
   19447   elif ln conf$$.file conf$$ 2>/dev/null; then
   19448     as_ln_s=ln
   19449   else
   19450     as_ln_s='cp -pR'
   19451   fi
   19452 else
   19453   as_ln_s='cp -pR'
   19454 fi
   19455 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19456 rmdir conf$$.dir 2>/dev/null
   19457 
   19458 
   19459 # as_fn_mkdir_p
   19460 # -------------
   19461 # Create "$as_dir" as a directory, including parents if necessary.
   19462 as_fn_mkdir_p ()
   19463 {
   19464 
   19465   case $as_dir in #(
   19466   -*) as_dir=./$as_dir;;
   19467   esac
   19468   test -d "$as_dir" || eval $as_mkdir_p || {
   19469     as_dirs=
   19470     while :; do
   19471       case $as_dir in #(
   19472       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19473       *) as_qdir=$as_dir;;
   19474       esac
   19475       as_dirs="'$as_qdir' $as_dirs"
   19476       as_dir=`$as_dirname -- "$as_dir" ||
   19477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19478 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19479 	 X"$as_dir" : 'X\(//\)$' \| \
   19480 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19481 $as_echo X"$as_dir" |
   19482     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19483 	    s//\1/
   19484 	    q
   19485 	  }
   19486 	  /^X\(\/\/\)[^/].*/{
   19487 	    s//\1/
   19488 	    q
   19489 	  }
   19490 	  /^X\(\/\/\)$/{
   19491 	    s//\1/
   19492 	    q
   19493 	  }
   19494 	  /^X\(\/\).*/{
   19495 	    s//\1/
   19496 	    q
   19497 	  }
   19498 	  s/.*/./; q'`
   19499       test -d "$as_dir" && break
   19500     done
   19501     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19502   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19503 
   19504 
   19505 } # as_fn_mkdir_p
   19506 if mkdir -p . 2>/dev/null; then
   19507   as_mkdir_p='mkdir -p "$as_dir"'
   19508 else
   19509   test -d ./-p && rmdir ./-p
   19510   as_mkdir_p=false
   19511 fi
   19512 
   19513 
   19514 # as_fn_executable_p FILE
   19515 # -----------------------
   19516 # Test if FILE is an executable regular file.
   19517 as_fn_executable_p ()
   19518 {
   19519   test -f "$1" && test -x "$1"
   19520 } # as_fn_executable_p
   19521 as_test_x='test -x'
   19522 as_executable_p=as_fn_executable_p
   19523 
   19524 # Sed expression to map a string onto a valid CPP name.
   19525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19526 
   19527 # Sed expression to map a string onto a valid variable name.
   19528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19529 
   19530 
   19531 exec 6>&1
   19532 ## ----------------------------------- ##
   19533 ## Main body of $CONFIG_STATUS script. ##
   19534 ## ----------------------------------- ##
   19535 _ASEOF
   19536 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19537 
   19538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19539 # Save the log message, to keep $0 and so on meaningful, and to
   19540 # report actual input values of CONFIG_FILES etc. instead of their
   19541 # values after options handling.
   19542 ac_log="
   19543 This file was extended by $as_me, which was
   19544 generated by GNU Autoconf 2.69.  Invocation command line was
   19545 
   19546   CONFIG_FILES    = $CONFIG_FILES
   19547   CONFIG_HEADERS  = $CONFIG_HEADERS
   19548   CONFIG_LINKS    = $CONFIG_LINKS
   19549   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19550   $ $0 $@
   19551 
   19552 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19553 "
   19554 
   19555 _ACEOF
   19556 
   19557 case $ac_config_files in *"
   19558 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19559 esac
   19560 
   19561 
   19562 
   19563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19564 # Files that config.status was made for.
   19565 config_files="$ac_config_files"
   19566 
   19567 _ACEOF
   19568 
   19569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19570 ac_cs_usage="\
   19571 \`$as_me' instantiates files and other configuration actions
   19572 from templates according to the current configuration.  Unless the files
   19573 and actions are specified as TAGs, all are instantiated by default.
   19574 
   19575 Usage: $0 [OPTION]... [TAG]...
   19576 
   19577   -h, --help       print this help, then exit
   19578   -V, --version    print version number and configuration settings, then exit
   19579       --config     print configuration, then exit
   19580   -q, --quiet, --silent
   19581                    do not print progress messages
   19582   -d, --debug      don't remove temporary files
   19583       --recheck    update $as_me by reconfiguring in the same conditions
   19584       --file=FILE[:TEMPLATE]
   19585                    instantiate the configuration file FILE
   19586 
   19587 Configuration files:
   19588 $config_files
   19589 
   19590 Report bugs to the package provider."
   19591 
   19592 _ACEOF
   19593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19594 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19595 ac_cs_version="\\
   19596 config.status
   19597 configured by $0, generated by GNU Autoconf 2.69,
   19598   with options \\"\$ac_cs_config\\"
   19599 
   19600 Copyright (C) 2012 Free Software Foundation, Inc.
   19601 This config.status script is free software; the Free Software Foundation
   19602 gives unlimited permission to copy, distribute and modify it."
   19603 
   19604 ac_pwd='$ac_pwd'
   19605 srcdir='$srcdir'
   19606 INSTALL='$INSTALL'
   19607 AWK='$AWK'
   19608 test -n "\$AWK" || AWK=awk
   19609 _ACEOF
   19610 
   19611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19612 # The default lists apply if the user does not specify any file.
   19613 ac_need_defaults=:
   19614 while test $# != 0
   19615 do
   19616   case $1 in
   19617   --*=?*)
   19618     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19619     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19620     ac_shift=:
   19621     ;;
   19622   --*=)
   19623     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19624     ac_optarg=
   19625     ac_shift=:
   19626     ;;
   19627   *)
   19628     ac_option=$1
   19629     ac_optarg=$2
   19630     ac_shift=shift
   19631     ;;
   19632   esac
   19633 
   19634   case $ac_option in
   19635   # Handling of the options.
   19636   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19637     ac_cs_recheck=: ;;
   19638   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19639     $as_echo "$ac_cs_version"; exit ;;
   19640   --config | --confi | --conf | --con | --co | --c )
   19641     $as_echo "$ac_cs_config"; exit ;;
   19642   --debug | --debu | --deb | --de | --d | -d )
   19643     debug=: ;;
   19644   --file | --fil | --fi | --f )
   19645     $ac_shift
   19646     case $ac_optarg in
   19647     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19648     '') as_fn_error $? "missing file argument" ;;
   19649     esac
   19650     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19651     ac_need_defaults=false;;
   19652   --he | --h |  --help | --hel | -h )
   19653     $as_echo "$ac_cs_usage"; exit ;;
   19654   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19655   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19656     ac_cs_silent=: ;;
   19657 
   19658   # This is an error.
   19659   -*) as_fn_error $? "unrecognized option: \`$1'
   19660 Try \`$0 --help' for more information." ;;
   19661 
   19662   *) as_fn_append ac_config_targets " $1"
   19663      ac_need_defaults=false ;;
   19664 
   19665   esac
   19666   shift
   19667 done
   19668 
   19669 ac_configure_extra_args=
   19670 
   19671 if $ac_cs_silent; then
   19672   exec 6>/dev/null
   19673   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19674 fi
   19675 
   19676 _ACEOF
   19677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19678 if \$ac_cs_recheck; then
   19679   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19680   shift
   19681   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19682   CONFIG_SHELL='$SHELL'
   19683   export CONFIG_SHELL
   19684   exec "\$@"
   19685 fi
   19686 
   19687 _ACEOF
   19688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19689 exec 5>>config.log
   19690 {
   19691   echo
   19692   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19693 ## Running $as_me. ##
   19694 _ASBOX
   19695   $as_echo "$ac_log"
   19696 } >&5
   19697 
   19698 _ACEOF
   19699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19700 #
   19701 # INIT-COMMANDS
   19702 #
   19703 extrasub_build="$extrasub_build"
   19704    extrasub_host="$extrasub_host"
   19705    extrasub_target="$extrasub_target"
   19706 
   19707 _ACEOF
   19708 
   19709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19710 
   19711 # Handling of arguments.
   19712 for ac_config_target in $ac_config_targets
   19713 do
   19714   case $ac_config_target in
   19715     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19716 
   19717   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19718   esac
   19719 done
   19720 
   19721 
   19722 # If the user did not use the arguments to specify the items to instantiate,
   19723 # then the envvar interface is used.  Set only those that are not.
   19724 # We use the long form for the default assignment because of an extremely
   19725 # bizarre bug on SunOS 4.1.3.
   19726 if $ac_need_defaults; then
   19727   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19728 fi
   19729 
   19730 # Have a temporary directory for convenience.  Make it in the build tree
   19731 # simply because there is no reason against having it here, and in addition,
   19732 # creating and moving files from /tmp can sometimes cause problems.
   19733 # Hook for its removal unless debugging.
   19734 # Note that there is a small window in which the directory will not be cleaned:
   19735 # after its creation but before its name has been assigned to `$tmp'.
   19736 $debug ||
   19737 {
   19738   tmp= ac_tmp=
   19739   trap 'exit_status=$?
   19740   : "${ac_tmp:=$tmp}"
   19741   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19742 ' 0
   19743   trap 'as_fn_exit 1' 1 2 13 15
   19744 }
   19745 # Create a (secure) tmp directory for tmp files.
   19746 
   19747 {
   19748   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19749   test -d "$tmp"
   19750 }  ||
   19751 {
   19752   tmp=./conf$$-$RANDOM
   19753   (umask 077 && mkdir "$tmp")
   19754 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19755 ac_tmp=$tmp
   19756 
   19757 # Set up the scripts for CONFIG_FILES section.
   19758 # No need to generate them if there are no CONFIG_FILES.
   19759 # This happens for instance with `./config.status config.h'.
   19760 if test -n "$CONFIG_FILES"; then
   19761 
   19762 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
   19763   ac_cs_awk_getline=:
   19764   ac_cs_awk_pipe_init=
   19765   ac_cs_awk_read_file='
   19766       while ((getline aline < (F[key])) > 0)
   19767 	print(aline)
   19768       close(F[key])'
   19769   ac_cs_awk_pipe_fini=
   19770 else
   19771   ac_cs_awk_getline=false
   19772   ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
   19773   ac_cs_awk_read_file='
   19774       print "|#_!!_#|"
   19775       print "cat " F[key] " &&"
   19776       '$ac_cs_awk_pipe_init
   19777   # The final `:' finishes the AND list.
   19778   ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
   19779 fi
   19780 ac_cr=`echo X | tr X '\015'`
   19781 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19782 # But we know of no other shell where ac_cr would be empty at this
   19783 # point, so we can use a bashism as a fallback.
   19784 if test "x$ac_cr" = x; then
   19785   eval ac_cr=\$\'\\r\'
   19786 fi
   19787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19789   ac_cs_awk_cr='\\r'
   19790 else
   19791   ac_cs_awk_cr=$ac_cr
   19792 fi
   19793 
   19794 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19795 _ACEOF
   19796 
   19797 # Create commands to substitute file output variables.
   19798 {
   19799   echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
   19800   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
   19801   echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
   19802   echo "_ACAWK" &&
   19803   echo "_ACEOF"
   19804 } >conf$$files.sh &&
   19805 . ./conf$$files.sh ||
   19806   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19807 rm -f conf$$files.sh
   19808 
   19809 {
   19810   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19811   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19812   echo "_ACEOF"
   19813 } >conf$$subs.sh ||
   19814   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19815 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19816 ac_delim='%!_!# '
   19817 for ac_last_try in false false false false false :; do
   19818   . ./conf$$subs.sh ||
   19819     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19820 
   19821   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19822   if test $ac_delim_n = $ac_delim_num; then
   19823     break
   19824   elif $ac_last_try; then
   19825     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19826   else
   19827     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19828   fi
   19829 done
   19830 rm -f conf$$subs.sh
   19831 
   19832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19833 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19834 _ACEOF
   19835 sed -n '
   19836 h
   19837 s/^/S["/; s/!.*/"]=/
   19838 p
   19839 g
   19840 s/^[^!]*!//
   19841 :repl
   19842 t repl
   19843 s/'"$ac_delim"'$//
   19844 t delim
   19845 :nl
   19846 h
   19847 s/\(.\{148\}\)..*/\1/
   19848 t more1
   19849 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19850 p
   19851 n
   19852 b repl
   19853 :more1
   19854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19855 p
   19856 g
   19857 s/.\{148\}//
   19858 t nl
   19859 :delim
   19860 h
   19861 s/\(.\{148\}\)..*/\1/
   19862 t more2
   19863 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19864 p
   19865 b
   19866 :more2
   19867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19868 p
   19869 g
   19870 s/.\{148\}//
   19871 t delim
   19872 ' <conf$$subs.awk | sed '
   19873 /^[^""]/{
   19874   N
   19875   s/\n//
   19876 }
   19877 ' >>$CONFIG_STATUS || ac_write_fail=1
   19878 rm -f conf$$subs.awk
   19879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19880 _ACAWK
   19881 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19882   for (key in S) S_is_set[key] = 1
   19883   FS = ""
   19884   \$ac_cs_awk_pipe_init
   19885 }
   19886 {
   19887   line = $ 0
   19888   nfields = split(line, field, "@")
   19889   substed = 0
   19890   len = length(field[1])
   19891   for (i = 2; i < nfields; i++) {
   19892     key = field[i]
   19893     keylen = length(key)
   19894     if (S_is_set[key]) {
   19895       value = S[key]
   19896       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19897       len += length(value) + length(field[++i])
   19898       substed = 1
   19899     } else
   19900       len += 1 + keylen
   19901   }
   19902   if (nfields == 3 && !substed) {
   19903     key = field[2]
   19904     if (F[key] != "" && line ~ /^[	 ]*@.*@[	 ]*$/) {
   19905       \$ac_cs_awk_read_file
   19906       next
   19907     }
   19908   }
   19909   print line
   19910 }
   19911 \$ac_cs_awk_pipe_fini
   19912 _ACAWK
   19913 _ACEOF
   19914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19915 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19916   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19917 else
   19918   cat
   19919 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19920   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19921 _ACEOF
   19922 
   19923 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19924 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19925 # trailing colons and then remove the whole line if VPATH becomes empty
   19926 # (actually we leave an empty line to preserve line numbers).
   19927 if test "x$srcdir" = x.; then
   19928   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19929 h
   19930 s///
   19931 s/^/:/
   19932 s/[	 ]*$/:/
   19933 s/:\$(srcdir):/:/g
   19934 s/:\${srcdir}:/:/g
   19935 s/:@srcdir@:/:/g
   19936 s/^:*//
   19937 s/:*$//
   19938 x
   19939 s/\(=[	 ]*\).*/\1/
   19940 G
   19941 s/\n//
   19942 s/^[^=]*=[	 ]*$//
   19943 }'
   19944 fi
   19945 
   19946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19947 fi # test -n "$CONFIG_FILES"
   19948 
   19949 
   19950 eval set X "  :F $CONFIG_FILES      "
   19951 shift
   19952 for ac_tag
   19953 do
   19954   case $ac_tag in
   19955   :[FHLC]) ac_mode=$ac_tag; continue;;
   19956   esac
   19957   case $ac_mode$ac_tag in
   19958   :[FHL]*:*);;
   19959   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19960   :[FH]-) ac_tag=-:-;;
   19961   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19962   esac
   19963   ac_save_IFS=$IFS
   19964   IFS=:
   19965   set x $ac_tag
   19966   IFS=$ac_save_IFS
   19967   shift
   19968   ac_file=$1
   19969   shift
   19970 
   19971   case $ac_mode in
   19972   :L) ac_source=$1;;
   19973   :[FH])
   19974     ac_file_inputs=
   19975     for ac_f
   19976     do
   19977       case $ac_f in
   19978       -) ac_f="$ac_tmp/stdin";;
   19979       *) # Look for the file first in the build tree, then in the source tree
   19980 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19981 	 # because $ac_f cannot contain `:'.
   19982 	 test -f "$ac_f" ||
   19983 	   case $ac_f in
   19984 	   [\\/$]*) false;;
   19985 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19986 	   esac ||
   19987 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19988       esac
   19989       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19990       as_fn_append ac_file_inputs " '$ac_f'"
   19991     done
   19992 
   19993     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19994     # use $as_me), people would be surprised to read:
   19995     #    /* config.h.  Generated by config.status.  */
   19996     configure_input='Generated from '`
   19997 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19998 	`' by configure.'
   19999     if test x"$ac_file" != x-; then
   20000       configure_input="$ac_file.  $configure_input"
   20001       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20002 $as_echo "$as_me: creating $ac_file" >&6;}
   20003     fi
   20004     # Neutralize special characters interpreted by sed in replacement strings.
   20005     case $configure_input in #(
   20006     *\&* | *\|* | *\\* )
   20007        ac_sed_conf_input=`$as_echo "$configure_input" |
   20008        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20009     *) ac_sed_conf_input=$configure_input;;
   20010     esac
   20011 
   20012     case $ac_tag in
   20013     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20014       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20015     esac
   20016     ;;
   20017   esac
   20018 
   20019   ac_dir=`$as_dirname -- "$ac_file" ||
   20020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20021 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20022 	 X"$ac_file" : 'X\(//\)$' \| \
   20023 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20024 $as_echo X"$ac_file" |
   20025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20026 	    s//\1/
   20027 	    q
   20028 	  }
   20029 	  /^X\(\/\/\)[^/].*/{
   20030 	    s//\1/
   20031 	    q
   20032 	  }
   20033 	  /^X\(\/\/\)$/{
   20034 	    s//\1/
   20035 	    q
   20036 	  }
   20037 	  /^X\(\/\).*/{
   20038 	    s//\1/
   20039 	    q
   20040 	  }
   20041 	  s/.*/./; q'`
   20042   as_dir="$ac_dir"; as_fn_mkdir_p
   20043   ac_builddir=.
   20044 
   20045 case "$ac_dir" in
   20046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20047 *)
   20048   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20049   # A ".." for each directory in $ac_dir_suffix.
   20050   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20051   case $ac_top_builddir_sub in
   20052   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20053   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20054   esac ;;
   20055 esac
   20056 ac_abs_top_builddir=$ac_pwd
   20057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20058 # for backward compatibility:
   20059 ac_top_builddir=$ac_top_build_prefix
   20060 
   20061 case $srcdir in
   20062   .)  # We are building in place.
   20063     ac_srcdir=.
   20064     ac_top_srcdir=$ac_top_builddir_sub
   20065     ac_abs_top_srcdir=$ac_pwd ;;
   20066   [\\/]* | ?:[\\/]* )  # Absolute name.
   20067     ac_srcdir=$srcdir$ac_dir_suffix;
   20068     ac_top_srcdir=$srcdir
   20069     ac_abs_top_srcdir=$srcdir ;;
   20070   *) # Relative name.
   20071     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20072     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20073     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20074 esac
   20075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20076 
   20077 
   20078   case $ac_mode in
   20079   :F)
   20080   #
   20081   # CONFIG_FILE
   20082   #
   20083 
   20084   case $INSTALL in
   20085   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20086   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20087   esac
   20088 _ACEOF
   20089 
   20090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20091 # If the template does not know about datarootdir, expand it.
   20092 # FIXME: This hack should be removed a few years after 2.60.
   20093 ac_datarootdir_hack=; ac_datarootdir_seen=
   20094 ac_sed_dataroot='
   20095 /datarootdir/ {
   20096   p
   20097   q
   20098 }
   20099 /@datadir@/p
   20100 /@docdir@/p
   20101 /@infodir@/p
   20102 /@localedir@/p
   20103 /@mandir@/p'
   20104 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20105 *datarootdir*) ac_datarootdir_seen=yes;;
   20106 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20107   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20108 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20109 _ACEOF
   20110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20111   ac_datarootdir_hack='
   20112   s&@datadir@&$datadir&g
   20113   s&@docdir@&$docdir&g
   20114   s&@infodir@&$infodir&g
   20115   s&@localedir@&$localedir&g
   20116   s&@mandir@&$mandir&g
   20117   s&\\\${datarootdir}&$datarootdir&g' ;;
   20118 esac
   20119 _ACEOF
   20120 
   20121 # Neutralize VPATH when `$srcdir' = `.'.
   20122 # Shell code in configure.ac might set extrasub.
   20123 # FIXME: do we really want to maintain this feature?
   20124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20125 ac_sed_extra="$ac_vpsub
   20126 $extrasub
   20127 _ACEOF
   20128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20129 :t
   20130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20131 s|@configure_input@|$ac_sed_conf_input|;t t
   20132 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20133 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20134 s&@srcdir@&$ac_srcdir&;t t
   20135 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20136 s&@top_srcdir@&$ac_top_srcdir&;t t
   20137 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20138 s&@builddir@&$ac_builddir&;t t
   20139 s&@abs_builddir@&$ac_abs_builddir&;t t
   20140 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20141 s&@INSTALL@&$ac_INSTALL&;t t
   20142 $ac_datarootdir_hack
   20143 "
   20144 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
   20145 if $ac_cs_awk_getline; then
   20146   $AWK -f "$ac_tmp/subs.awk"
   20147 else
   20148   $AWK -f "$ac_tmp/subs.awk" | $SHELL
   20149 fi \
   20150   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20151 
   20152 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20153   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20154   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20155       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20156   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20157 which seems to be undefined.  Please make sure it is defined" >&5
   20158 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20159 which seems to be undefined.  Please make sure it is defined" >&2;}
   20160 
   20161   rm -f "$ac_tmp/stdin"
   20162   case $ac_file in
   20163   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20164   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20165   esac \
   20166   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20167  ;;
   20168 
   20169 
   20170 
   20171   esac
   20172 
   20173 
   20174   case $ac_file$ac_mode in
   20175     "Makefile":F) sed "$extrasub_build" Makefile |
   20176    sed "$extrasub_host" |
   20177    sed "$extrasub_target" > mf$$
   20178    mv -f mf$$ Makefile ;;
   20179 
   20180   esac
   20181 done # for ac_tag
   20182 
   20183 
   20184 as_fn_exit 0
   20185 _ACEOF
   20186 ac_clean_files=$ac_clean_files_save
   20187 
   20188 test $ac_write_fail = 0 ||
   20189   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20190 
   20191 
   20192 # configure is writing to config.log, and then calls config.status.
   20193 # config.status does its own redirection, appending to config.log.
   20194 # Unfortunately, on DOS this fails, as config.log is still kept open
   20195 # by configure, so config.status won't be able to write to it; its
   20196 # output is simply discarded.  So we exec the FD to /dev/null,
   20197 # effectively closing config.log, so it can be properly (re)opened and
   20198 # appended to by config.status.  When coming back to configure, we
   20199 # need to make the FD available again.
   20200 if test "$no_create" != yes; then
   20201   ac_cs_success=:
   20202   ac_config_status_args=
   20203   test "$silent" = yes &&
   20204     ac_config_status_args="$ac_config_status_args --quiet"
   20205   exec 5>/dev/null
   20206   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20207   exec 5>>config.log
   20208   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20209   # would make configure fail if this is the last instruction.
   20210   $ac_cs_success || as_fn_exit 1
   20211 fi
   20212 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20213   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20214 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20215 fi
   20216 
   20217