Home | History | Annotate | Download | only in binutils-2.25
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      7 # Foundation, Inc.
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 case $0 in #((
     91   *[\\/]* ) as_myself=$0 ;;
     92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     93 for as_dir in $PATH
     94 do
     95   IFS=$as_save_IFS
     96   test -z "$as_dir" && as_dir=.
     97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     98   done
     99 IFS=$as_save_IFS
    100 
    101      ;;
    102 esac
    103 # We did not find ourselves, most probably we were run as `sh COMMAND'
    104 # in which case we are not to be found in the path.
    105 if test "x$as_myself" = x; then
    106   as_myself=$0
    107 fi
    108 if test ! -f "$as_myself"; then
    109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    110   exit 1
    111 fi
    112 
    113 # Unset variables that we do not need and which cause bugs (e.g. in
    114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    115 # suppresses any "Segmentation fault" message there.  '((' could
    116 # trigger a bug in pdksh 5.2.14.
    117 for as_var in BASH_ENV ENV MAIL MAILPATH
    118 do eval test x\${$as_var+set} = xset \
    119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    120 done
    121 PS1='$ '
    122 PS2='> '
    123 PS4='+ '
    124 
    125 # NLS nuisances.
    126 LC_ALL=C
    127 export LC_ALL
    128 LANGUAGE=C
    129 export LANGUAGE
    130 
    131 # CDPATH.
    132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    133 
    134 if test "x$CONFIG_SHELL" = x; then
    135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    136   emulate sh
    137   NULLCMD=:
    138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    139   # is contrary to our usage.  Disable this feature.
    140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    141   setopt NO_GLOB_SUBST
    142 else
    143   case \`(set -o) 2>/dev/null\` in #(
    144   *posix*) :
    145     set -o posix ;; #(
    146   *) :
    147      ;;
    148 esac
    149 fi
    150 "
    151   as_required="as_fn_return () { (exit \$1); }
    152 as_fn_success () { as_fn_return 0; }
    153 as_fn_failure () { as_fn_return 1; }
    154 as_fn_ret_success () { return 0; }
    155 as_fn_ret_failure () { return 1; }
    156 
    157 exitcode=0
    158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    163 
    164 else
    165   exitcode=1; echo positional parameters were not saved.
    166 fi
    167 test x\$exitcode = x0 || exit 1"
    168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    172 test \$(( 1 + 1 )) = 2 || exit 1"
    173   if (eval "$as_required") 2>/dev/null; then :
    174   as_have_required=yes
    175 else
    176   as_have_required=no
    177 fi
    178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    179 
    180 else
    181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    182 as_found=false
    183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    184 do
    185   IFS=$as_save_IFS
    186   test -z "$as_dir" && as_dir=.
    187   as_found=:
    188   case $as_dir in #(
    189 	 /*)
    190 	   for as_base in sh bash ksh sh5; do
    191 	     # Try only shells that exist, to save several forks.
    192 	     as_shell=$as_dir/$as_base
    193 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    194 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    195   CONFIG_SHELL=$as_shell as_have_required=yes
    196 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   break 2
    198 fi
    199 fi
    200 	   done;;
    201        esac
    202   as_found=false
    203 done
    204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    205 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    206   CONFIG_SHELL=$SHELL as_have_required=yes
    207 fi; }
    208 IFS=$as_save_IFS
    209 
    210 
    211       if test "x$CONFIG_SHELL" != x; then :
    212   # We cannot yet assume a decent shell, so we have to provide a
    213 	# neutralization value for shells without unset; and this also
    214 	# works around shells that cannot unset nonexistent variables.
    215 	BASH_ENV=/dev/null
    216 	ENV=/dev/null
    217 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    218 	export CONFIG_SHELL
    219 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    220 fi
    221 
    222     if test x$as_have_required = xno; then :
    223   $as_echo "$0: This script requires a shell more modern than all"
    224   $as_echo "$0: the shells that I found on your system."
    225   if test x${ZSH_VERSION+set} = xset ; then
    226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    228   else
    229     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    230 $0: including any error possibly output before this
    231 $0: message. Then install a modern shell, or manually run
    232 $0: the script under such a shell if you do have one."
    233   fi
    234   exit 1
    235 fi
    236 fi
    237 fi
    238 SHELL=${CONFIG_SHELL-/bin/sh}
    239 export SHELL
    240 # Unset more variables known to interfere with behavior of common tools.
    241 CLICOLOR_FORCE= GREP_OPTIONS=
    242 unset CLICOLOR_FORCE GREP_OPTIONS
    243 
    244 ## --------------------- ##
    245 ## M4sh Shell Functions. ##
    246 ## --------------------- ##
    247 # as_fn_unset VAR
    248 # ---------------
    249 # Portably unset VAR.
    250 as_fn_unset ()
    251 {
    252   { eval $1=; unset $1;}
    253 }
    254 as_unset=as_fn_unset
    255 
    256 # as_fn_set_status STATUS
    257 # -----------------------
    258 # Set $? to STATUS, without forking.
    259 as_fn_set_status ()
    260 {
    261   return $1
    262 } # as_fn_set_status
    263 
    264 # as_fn_exit STATUS
    265 # -----------------
    266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    267 as_fn_exit ()
    268 {
    269   set +e
    270   as_fn_set_status $1
    271   exit $1
    272 } # as_fn_exit
    273 
    274 # as_fn_mkdir_p
    275 # -------------
    276 # Create "$as_dir" as a directory, including parents if necessary.
    277 as_fn_mkdir_p ()
    278 {
    279 
    280   case $as_dir in #(
    281   -*) as_dir=./$as_dir;;
    282   esac
    283   test -d "$as_dir" || eval $as_mkdir_p || {
    284     as_dirs=
    285     while :; do
    286       case $as_dir in #(
    287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    288       *) as_qdir=$as_dir;;
    289       esac
    290       as_dirs="'$as_qdir' $as_dirs"
    291       as_dir=`$as_dirname -- "$as_dir" ||
    292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    293 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    294 	 X"$as_dir" : 'X\(//\)$' \| \
    295 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    296 $as_echo X"$as_dir" |
    297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    298 	    s//\1/
    299 	    q
    300 	  }
    301 	  /^X\(\/\/\)[^/].*/{
    302 	    s//\1/
    303 	    q
    304 	  }
    305 	  /^X\(\/\/\)$/{
    306 	    s//\1/
    307 	    q
    308 	  }
    309 	  /^X\(\/\).*/{
    310 	    s//\1/
    311 	    q
    312 	  }
    313 	  s/.*/./; q'`
    314       test -d "$as_dir" && break
    315     done
    316     test -z "$as_dirs" || eval "mkdir $as_dirs"
    317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    318 
    319 
    320 } # as_fn_mkdir_p
    321 # as_fn_append VAR VALUE
    322 # ----------------------
    323 # Append the text in VALUE to the end of the definition contained in VAR. Take
    324 # advantage of any shell optimizations that allow amortized linear growth over
    325 # repeated appends, instead of the typical quadratic growth present in naive
    326 # implementations.
    327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    328   eval 'as_fn_append ()
    329   {
    330     eval $1+=\$2
    331   }'
    332 else
    333   as_fn_append ()
    334   {
    335     eval $1=\$$1\$2
    336   }
    337 fi # as_fn_append
    338 
    339 # as_fn_arith ARG...
    340 # ------------------
    341 # Perform arithmetic evaluation on the ARGs, and store the result in the
    342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    343 # must be portable across $(()) and expr.
    344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    345   eval 'as_fn_arith ()
    346   {
    347     as_val=$(( $* ))
    348   }'
    349 else
    350   as_fn_arith ()
    351   {
    352     as_val=`expr "$@" || test $? -eq 1`
    353   }
    354 fi # as_fn_arith
    355 
    356 
    357 # as_fn_error ERROR [LINENO LOG_FD]
    358 # ---------------------------------
    359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    361 # script with status $?, using 1 if that was 0.
    362 as_fn_error ()
    363 {
    364   as_status=$?; test $as_status -eq 0 && as_status=1
    365   if test "$3"; then
    366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    368   fi
    369   $as_echo "$as_me: error: $1" >&2
    370   as_fn_exit $as_status
    371 } # as_fn_error
    372 
    373 if expr a : '\(a\)' >/dev/null 2>&1 &&
    374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    375   as_expr=expr
    376 else
    377   as_expr=false
    378 fi
    379 
    380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    381   as_basename=basename
    382 else
    383   as_basename=false
    384 fi
    385 
    386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    387   as_dirname=dirname
    388 else
    389   as_dirname=false
    390 fi
    391 
    392 as_me=`$as_basename -- "$0" ||
    393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    394 	 X"$0" : 'X\(//\)$' \| \
    395 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    396 $as_echo X/"$0" |
    397     sed '/^.*\/\([^/][^/]*\)\/*$/{
    398 	    s//\1/
    399 	    q
    400 	  }
    401 	  /^X\/\(\/\/\)$/{
    402 	    s//\1/
    403 	    q
    404 	  }
    405 	  /^X\/\(\/\).*/{
    406 	    s//\1/
    407 	    q
    408 	  }
    409 	  s/.*/./; q'`
    410 
    411 # Avoid depending upon Character Ranges.
    412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    415 as_cr_digits='0123456789'
    416 as_cr_alnum=$as_cr_Letters$as_cr_digits
    417 
    418 
    419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    424   sed -n '
    425     p
    426     /[$]LINENO/=
    427   ' <$as_myself |
    428     sed '
    429       s/[$]LINENO.*/&-/
    430       t lineno
    431       b
    432       :lineno
    433       N
    434       :loop
    435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    436       t loop
    437       s/-\n.*//
    438     ' >$as_me.lineno &&
    439   chmod +x "$as_me.lineno" ||
    440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    441 
    442   # Don't try to exec as it changes $[0], causing all sort of problems
    443   # (the dirname of $[0] is not the place where we might find the
    444   # original and so on.  Autoconf is especially sensitive to this).
    445   . "./$as_me.lineno"
    446   # Exit status is that of the last command.
    447   exit
    448 }
    449 
    450 ECHO_C= ECHO_N= ECHO_T=
    451 case `echo -n x` in #(((((
    452 -n*)
    453   case `echo 'xy\c'` in
    454   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    455   xy)  ECHO_C='\c';;
    456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    457        ECHO_T='	';;
    458   esac;;
    459 *)
    460   ECHO_N='-n';;
    461 esac
    462 
    463 rm -f conf$$ conf$$.exe conf$$.file
    464 if test -d conf$$.dir; then
    465   rm -f conf$$.dir/conf$$.file
    466 else
    467   rm -f conf$$.dir
    468   mkdir conf$$.dir 2>/dev/null
    469 fi
    470 if (echo >conf$$.file) 2>/dev/null; then
    471   if ln -s conf$$.file conf$$ 2>/dev/null; then
    472     as_ln_s='ln -s'
    473     # ... but there are two gotchas:
    474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    476     # In both cases, we have to default to `cp -p'.
    477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    478       as_ln_s='cp -p'
    479   elif ln conf$$.file conf$$ 2>/dev/null; then
    480     as_ln_s=ln
    481   else
    482     as_ln_s='cp -p'
    483   fi
    484 else
    485   as_ln_s='cp -p'
    486 fi
    487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    488 rmdir conf$$.dir 2>/dev/null
    489 
    490 if mkdir -p . 2>/dev/null; then
    491   as_mkdir_p='mkdir -p "$as_dir"'
    492 else
    493   test -d ./-p && rmdir ./-p
    494   as_mkdir_p=false
    495 fi
    496 
    497 if test -x / >/dev/null 2>&1; then
    498   as_test_x='test -x'
    499 else
    500   if ls -dL / >/dev/null 2>&1; then
    501     as_ls_L_option=L
    502   else
    503     as_ls_L_option=
    504   fi
    505   as_test_x='
    506     eval sh -c '\''
    507       if test -d "$1"; then
    508 	test -d "$1/.";
    509       else
    510 	case $1 in #(
    511 	-*)set "./$1";;
    512 	esac;
    513 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    514 	???[sx]*):;;*)false;;esac;fi
    515     '\'' sh
    516   '
    517 fi
    518 as_executable_p=$as_test_x
    519 
    520 # Sed expression to map a string onto a valid CPP name.
    521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    522 
    523 # Sed expression to map a string onto a valid variable name.
    524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    525 
    526 
    527 exec 7<&0 </dev/null 6>&1
    528 
    529 # Name of the host.
    530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    531 # so uname gets run too.
    532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    533 
    534 #
    535 # Initializations.
    536 #
    537 ac_default_prefix=/usr/local
    538 ac_clean_files=
    539 ac_config_libobj_dir=.
    540 LIBOBJS=
    541 cross_compiling=no
    542 subdirs=
    543 MFLAGS=
    544 MAKEFLAGS=
    545 
    546 # Identity of this package.
    547 PACKAGE_NAME=
    548 PACKAGE_TARNAME=
    549 PACKAGE_VERSION=
    550 PACKAGE_STRING=
    551 PACKAGE_BUGREPORT=
    552 PACKAGE_URL=
    553 
    554 ac_unique_file="move-if-change"
    555 enable_option_checking=no
    556 ac_subst_vars='LTLIBOBJS
    557 LIBOBJS
    558 compare_exclusions
    559 host_shared
    560 stage2_werror_flag
    561 stage1_checking
    562 stage1_cflags
    563 MAINT
    564 MAINTAINER_MODE_FALSE
    565 MAINTAINER_MODE_TRUE
    566 COMPILER_NM_FOR_TARGET
    567 COMPILER_LD_FOR_TARGET
    568 COMPILER_AS_FOR_TARGET
    569 FLAGS_FOR_TARGET
    570 RAW_CXX_FOR_TARGET
    571 WINDMC_FOR_TARGET
    572 WINDRES_FOR_TARGET
    573 STRIP_FOR_TARGET
    574 READELF_FOR_TARGET
    575 RANLIB_FOR_TARGET
    576 OBJDUMP_FOR_TARGET
    577 NM_FOR_TARGET
    578 LIPO_FOR_TARGET
    579 LD_FOR_TARGET
    580 DLLTOOL_FOR_TARGET
    581 AS_FOR_TARGET
    582 AR_FOR_TARGET
    583 GOC_FOR_TARGET
    584 GFORTRAN_FOR_TARGET
    585 GCJ_FOR_TARGET
    586 GCC_FOR_TARGET
    587 CXX_FOR_TARGET
    588 CC_FOR_TARGET
    589 READELF
    590 OBJDUMP
    591 OBJCOPY
    592 WINDMC
    593 WINDRES
    594 STRIP
    595 RANLIB
    596 NM
    597 LIPO
    598 LD
    599 DLLTOOL
    600 AS
    601 AR
    602 RUNTEST
    603 EXPECT
    604 MAKEINFO
    605 FLEX
    606 LEX
    607 M4
    608 BISON
    609 YACC
    610 WINDRES_FOR_BUILD
    611 WINDMC_FOR_BUILD
    612 RANLIB_FOR_BUILD
    613 NM_FOR_BUILD
    614 LD_FOR_BUILD
    615 LDFLAGS_FOR_BUILD
    616 GOC_FOR_BUILD
    617 GFORTRAN_FOR_BUILD
    618 GCJ_FOR_BUILD
    619 DLLTOOL_FOR_BUILD
    620 CXX_FOR_BUILD
    621 CXXFLAGS_FOR_BUILD
    622 CFLAGS_FOR_BUILD
    623 CC_FOR_BUILD
    624 AS_FOR_BUILD
    625 AR_FOR_BUILD
    626 target_configdirs
    627 configdirs
    628 build_configdirs
    629 INSTALL_GDB_TK
    630 GDB_TK
    631 CONFIGURE_GDB_TK
    632 build_tooldir
    633 tooldir
    634 GCC_SHLIB_SUBDIR
    635 RPATH_ENVVAR
    636 target_configargs
    637 host_configargs
    638 build_configargs
    639 BUILD_CONFIG
    640 LDFLAGS_FOR_TARGET
    641 CXXFLAGS_FOR_TARGET
    642 CFLAGS_FOR_TARGET
    643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
    644 SYSROOT_CFLAGS_FOR_TARGET
    645 stage1_languages
    646 extra_host_libiberty_configure_flags
    647 clooginc
    648 clooglibs
    649 islinc
    650 poststage1_ldflags
    651 poststage1_libs
    652 stage1_ldflags
    653 stage1_libs
    654 extra_isl_gmp_configure_flags
    655 extra_mpc_mpfr_configure_flags
    656 extra_mpc_gmp_configure_flags
    657 extra_mpfr_configure_flags
    658 gmpinc
    659 gmplibs
    660 do_compare
    661 GNATMAKE
    662 GNATBIND
    663 ac_ct_CXX
    664 CXXFLAGS
    665 CXX
    666 OBJEXT
    667 EXEEXT
    668 ac_ct_CC
    669 CPPFLAGS
    670 LDFLAGS
    671 CFLAGS
    672 CC
    673 EXTRA_CONFIGARGS_LIBJAVA
    674 target_subdir
    675 host_subdir
    676 build_subdir
    677 build_libsubdir
    678 AWK
    679 SED
    680 LN_S
    681 LN
    682 INSTALL_DATA
    683 INSTALL_SCRIPT
    684 INSTALL_PROGRAM
    685 target_os
    686 target_vendor
    687 target_cpu
    688 target
    689 host_os
    690 host_vendor
    691 host_cpu
    692 host
    693 target_noncanonical
    694 host_noncanonical
    695 build_noncanonical
    696 build_os
    697 build_vendor
    698 build_cpu
    699 build
    700 TOPLEVEL_CONFIGURE_ARGUMENTS
    701 target_alias
    702 host_alias
    703 build_alias
    704 LIBS
    705 ECHO_T
    706 ECHO_N
    707 ECHO_C
    708 DEFS
    709 mandir
    710 localedir
    711 libdir
    712 psdir
    713 pdfdir
    714 dvidir
    715 htmldir
    716 infodir
    717 docdir
    718 oldincludedir
    719 includedir
    720 localstatedir
    721 sharedstatedir
    722 sysconfdir
    723 datadir
    724 datarootdir
    725 libexecdir
    726 sbindir
    727 bindir
    728 program_transform_name
    729 prefix
    730 exec_prefix
    731 PACKAGE_URL
    732 PACKAGE_BUGREPORT
    733 PACKAGE_STRING
    734 PACKAGE_VERSION
    735 PACKAGE_TARNAME
    736 PACKAGE_NAME
    737 PATH_SEPARATOR
    738 SHELL'
    739 ac_subst_files='serialization_dependencies
    740 host_makefile_frag
    741 target_makefile_frag
    742 alphaieee_frag
    743 ospace_frag'
    744 ac_user_opts='
    745 enable_option_checking
    746 with_build_libsubdir
    747 enable_gold
    748 enable_ld
    749 enable_libquadmath
    750 enable_libquadmath_support
    751 enable_libada
    752 enable_libssp
    753 enable_libstdcxx
    754 enable_static_libjava
    755 enable_bootstrap
    756 with_mpc
    757 with_mpc_include
    758 with_mpc_lib
    759 with_mpfr_dir
    760 with_mpfr
    761 with_mpfr_include
    762 with_mpfr_lib
    763 with_gmp_dir
    764 with_gmp
    765 with_gmp_include
    766 with_gmp_lib
    767 with_host_libstdcxx
    768 with_stage1_libs
    769 with_stage1_ldflags
    770 with_boot_libs
    771 with_boot_ldflags
    772 with_cloog
    773 with_isl
    774 with_isl_include
    775 with_isl_lib
    776 enable_isl_version_check
    777 with_cloog_include
    778 with_cloog_lib
    779 enable_cloog_version_check
    780 enable_lto
    781 enable_stage1_languages
    782 enable_objc_gc
    783 with_build_sysroot
    784 with_debug_prefix_map
    785 with_build_config
    786 enable_vtable_verify
    787 enable_serial_configure
    788 with_build_time_tools
    789 enable_maintainer_mode
    790 enable_stage1_checking
    791 enable_werror
    792 enable_host_shared
    793 '
    794       ac_precious_vars='build_alias
    795 host_alias
    796 target_alias
    797 CC
    798 CFLAGS
    799 LDFLAGS
    800 LIBS
    801 CPPFLAGS
    802 CXX
    803 CXXFLAGS
    804 CCC
    805 build_configargs
    806 host_configargs
    807 target_configargs
    808 AR
    809 AS
    810 DLLTOOL
    811 LD
    812 LIPO
    813 NM
    814 RANLIB
    815 STRIP
    816 WINDRES
    817 WINDMC
    818 OBJCOPY
    819 OBJDUMP
    820 READELF
    821 CC_FOR_TARGET
    822 CXX_FOR_TARGET
    823 GCC_FOR_TARGET
    824 GCJ_FOR_TARGET
    825 GFORTRAN_FOR_TARGET
    826 GOC_FOR_TARGET
    827 AR_FOR_TARGET
    828 AS_FOR_TARGET
    829 DLLTOOL_FOR_TARGET
    830 LD_FOR_TARGET
    831 LIPO_FOR_TARGET
    832 NM_FOR_TARGET
    833 OBJDUMP_FOR_TARGET
    834 RANLIB_FOR_TARGET
    835 READELF_FOR_TARGET
    836 STRIP_FOR_TARGET
    837 WINDRES_FOR_TARGET
    838 WINDMC_FOR_TARGET'
    839 
    840 
    841 # Initialize some variables set by options.
    842 ac_init_help=
    843 ac_init_version=false
    844 ac_unrecognized_opts=
    845 ac_unrecognized_sep=
    846 # The variables have the same names as the options, with
    847 # dashes changed to underlines.
    848 cache_file=/dev/null
    849 exec_prefix=NONE
    850 no_create=
    851 no_recursion=
    852 prefix=NONE
    853 program_prefix=NONE
    854 program_suffix=NONE
    855 program_transform_name=s,x,x,
    856 silent=
    857 site=
    858 srcdir=
    859 verbose=
    860 x_includes=NONE
    861 x_libraries=NONE
    862 
    863 # Installation directory options.
    864 # These are left unexpanded so users can "make install exec_prefix=/foo"
    865 # and all the variables that are supposed to be based on exec_prefix
    866 # by default will actually change.
    867 # Use braces instead of parens because sh, perl, etc. also accept them.
    868 # (The list follows the same order as the GNU Coding Standards.)
    869 bindir='${exec_prefix}/bin'
    870 sbindir='${exec_prefix}/sbin'
    871 libexecdir='${exec_prefix}/libexec'
    872 datarootdir='${prefix}/share'
    873 datadir='${datarootdir}'
    874 sysconfdir='${prefix}/etc'
    875 sharedstatedir='${prefix}/com'
    876 localstatedir='${prefix}/var'
    877 includedir='${prefix}/include'
    878 oldincludedir='/usr/include'
    879 docdir='${datarootdir}/doc/${PACKAGE}'
    880 infodir='${datarootdir}/info'
    881 htmldir='${docdir}'
    882 dvidir='${docdir}'
    883 pdfdir='${docdir}'
    884 psdir='${docdir}'
    885 libdir='${exec_prefix}/lib'
    886 localedir='${datarootdir}/locale'
    887 mandir='${datarootdir}/man'
    888 
    889 ac_prev=
    890 ac_dashdash=
    891 for ac_option
    892 do
    893   # If the previous option needs an argument, assign it.
    894   if test -n "$ac_prev"; then
    895     eval $ac_prev=\$ac_option
    896     ac_prev=
    897     continue
    898   fi
    899 
    900   case $ac_option in
    901   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    902   *)	ac_optarg=yes ;;
    903   esac
    904 
    905   # Accept the important Cygnus configure options, so we can diagnose typos.
    906 
    907   case $ac_dashdash$ac_option in
    908   --)
    909     ac_dashdash=yes ;;
    910 
    911   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    912     ac_prev=bindir ;;
    913   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    914     bindir=$ac_optarg ;;
    915 
    916   -build | --build | --buil | --bui | --bu)
    917     ac_prev=build_alias ;;
    918   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    919     build_alias=$ac_optarg ;;
    920 
    921   -cache-file | --cache-file | --cache-fil | --cache-fi \
    922   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    923     ac_prev=cache_file ;;
    924   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    925   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    926     cache_file=$ac_optarg ;;
    927 
    928   --config-cache | -C)
    929     cache_file=config.cache ;;
    930 
    931   -datadir | --datadir | --datadi | --datad)
    932     ac_prev=datadir ;;
    933   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    934     datadir=$ac_optarg ;;
    935 
    936   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    937   | --dataroo | --dataro | --datar)
    938     ac_prev=datarootdir ;;
    939   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    940   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    941     datarootdir=$ac_optarg ;;
    942 
    943   -disable-* | --disable-*)
    944     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    945     # Reject names that are not valid shell variable names.
    946     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    947       as_fn_error "invalid feature name: $ac_useropt"
    948     ac_useropt_orig=$ac_useropt
    949     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    950     case $ac_user_opts in
    951       *"
    952 "enable_$ac_useropt"
    953 "*) ;;
    954       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    955 	 ac_unrecognized_sep=', ';;
    956     esac
    957     eval enable_$ac_useropt=no ;;
    958 
    959   -docdir | --docdir | --docdi | --doc | --do)
    960     ac_prev=docdir ;;
    961   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    962     docdir=$ac_optarg ;;
    963 
    964   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    965     ac_prev=dvidir ;;
    966   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    967     dvidir=$ac_optarg ;;
    968 
    969   -enable-* | --enable-*)
    970     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    971     # Reject names that are not valid shell variable names.
    972     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    973       as_fn_error "invalid feature name: $ac_useropt"
    974     ac_useropt_orig=$ac_useropt
    975     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    976     case $ac_user_opts in
    977       *"
    978 "enable_$ac_useropt"
    979 "*) ;;
    980       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    981 	 ac_unrecognized_sep=', ';;
    982     esac
    983     eval enable_$ac_useropt=\$ac_optarg ;;
    984 
    985   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    986   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    987   | --exec | --exe | --ex)
    988     ac_prev=exec_prefix ;;
    989   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    990   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    991   | --exec=* | --exe=* | --ex=*)
    992     exec_prefix=$ac_optarg ;;
    993 
    994   -gas | --gas | --ga | --g)
    995     # Obsolete; use --with-gas.
    996     with_gas=yes ;;
    997 
    998   -help | --help | --hel | --he | -h)
    999     ac_init_help=long ;;
   1000   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1001     ac_init_help=recursive ;;
   1002   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1003     ac_init_help=short ;;
   1004 
   1005   -host | --host | --hos | --ho)
   1006     ac_prev=host_alias ;;
   1007   -host=* | --host=* | --hos=* | --ho=*)
   1008     host_alias=$ac_optarg ;;
   1009 
   1010   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1011     ac_prev=htmldir ;;
   1012   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1013   | --ht=*)
   1014     htmldir=$ac_optarg ;;
   1015 
   1016   -includedir | --includedir | --includedi | --included | --include \
   1017   | --includ | --inclu | --incl | --inc)
   1018     ac_prev=includedir ;;
   1019   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1020   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1021     includedir=$ac_optarg ;;
   1022 
   1023   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1024     ac_prev=infodir ;;
   1025   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1026     infodir=$ac_optarg ;;
   1027 
   1028   -libdir | --libdir | --libdi | --libd)
   1029     ac_prev=libdir ;;
   1030   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1031     libdir=$ac_optarg ;;
   1032 
   1033   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1034   | --libexe | --libex | --libe)
   1035     ac_prev=libexecdir ;;
   1036   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1037   | --libexe=* | --libex=* | --libe=*)
   1038     libexecdir=$ac_optarg ;;
   1039 
   1040   -localedir | --localedir | --localedi | --localed | --locale)
   1041     ac_prev=localedir ;;
   1042   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1043     localedir=$ac_optarg ;;
   1044 
   1045   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1046   | --localstate | --localstat | --localsta | --localst | --locals)
   1047     ac_prev=localstatedir ;;
   1048   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1049   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1050     localstatedir=$ac_optarg ;;
   1051 
   1052   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1053     ac_prev=mandir ;;
   1054   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1055     mandir=$ac_optarg ;;
   1056 
   1057   -nfp | --nfp | --nf)
   1058     # Obsolete; use --without-fp.
   1059     with_fp=no ;;
   1060 
   1061   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1062   | --no-cr | --no-c | -n)
   1063     no_create=yes ;;
   1064 
   1065   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1066   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1067     no_recursion=yes ;;
   1068 
   1069   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1070   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1071   | --oldin | --oldi | --old | --ol | --o)
   1072     ac_prev=oldincludedir ;;
   1073   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1074   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1075   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1076     oldincludedir=$ac_optarg ;;
   1077 
   1078   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1079     ac_prev=prefix ;;
   1080   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1081     prefix=$ac_optarg ;;
   1082 
   1083   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1084   | --program-pre | --program-pr | --program-p)
   1085     ac_prev=program_prefix ;;
   1086   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1087   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1088     program_prefix=$ac_optarg ;;
   1089 
   1090   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1091   | --program-suf | --program-su | --program-s)
   1092     ac_prev=program_suffix ;;
   1093   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1094   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1095     program_suffix=$ac_optarg ;;
   1096 
   1097   -program-transform-name | --program-transform-name \
   1098   | --program-transform-nam | --program-transform-na \
   1099   | --program-transform-n | --program-transform- \
   1100   | --program-transform | --program-transfor \
   1101   | --program-transfo | --program-transf \
   1102   | --program-trans | --program-tran \
   1103   | --progr-tra | --program-tr | --program-t)
   1104     ac_prev=program_transform_name ;;
   1105   -program-transform-name=* | --program-transform-name=* \
   1106   | --program-transform-nam=* | --program-transform-na=* \
   1107   | --program-transform-n=* | --program-transform-=* \
   1108   | --program-transform=* | --program-transfor=* \
   1109   | --program-transfo=* | --program-transf=* \
   1110   | --program-trans=* | --program-tran=* \
   1111   | --progr-tra=* | --program-tr=* | --program-t=*)
   1112     program_transform_name=$ac_optarg ;;
   1113 
   1114   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1115     ac_prev=pdfdir ;;
   1116   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1117     pdfdir=$ac_optarg ;;
   1118 
   1119   -psdir | --psdir | --psdi | --psd | --ps)
   1120     ac_prev=psdir ;;
   1121   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1122     psdir=$ac_optarg ;;
   1123 
   1124   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1125   | -silent | --silent | --silen | --sile | --sil)
   1126     silent=yes ;;
   1127 
   1128   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1129     ac_prev=sbindir ;;
   1130   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1131   | --sbi=* | --sb=*)
   1132     sbindir=$ac_optarg ;;
   1133 
   1134   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1135   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1136   | --sharedst | --shareds | --shared | --share | --shar \
   1137   | --sha | --sh)
   1138     ac_prev=sharedstatedir ;;
   1139   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1140   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1141   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1142   | --sha=* | --sh=*)
   1143     sharedstatedir=$ac_optarg ;;
   1144 
   1145   -site | --site | --sit)
   1146     ac_prev=site ;;
   1147   -site=* | --site=* | --sit=*)
   1148     site=$ac_optarg ;;
   1149 
   1150   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1151     ac_prev=srcdir ;;
   1152   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1153     srcdir=$ac_optarg ;;
   1154 
   1155   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1156   | --syscon | --sysco | --sysc | --sys | --sy)
   1157     ac_prev=sysconfdir ;;
   1158   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1159   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1160     sysconfdir=$ac_optarg ;;
   1161 
   1162   -target | --target | --targe | --targ | --tar | --ta | --t)
   1163     ac_prev=target_alias ;;
   1164   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1165     target_alias=$ac_optarg ;;
   1166 
   1167   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1168     verbose=yes ;;
   1169 
   1170   -version | --version | --versio | --versi | --vers | -V)
   1171     ac_init_version=: ;;
   1172 
   1173   -with-* | --with-*)
   1174     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1175     # Reject names that are not valid shell variable names.
   1176     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1177       as_fn_error "invalid package name: $ac_useropt"
   1178     ac_useropt_orig=$ac_useropt
   1179     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1180     case $ac_user_opts in
   1181       *"
   1182 "with_$ac_useropt"
   1183 "*) ;;
   1184       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1185 	 ac_unrecognized_sep=', ';;
   1186     esac
   1187     eval with_$ac_useropt=\$ac_optarg ;;
   1188 
   1189   -without-* | --without-*)
   1190     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1191     # Reject names that are not valid shell variable names.
   1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1193       as_fn_error "invalid package name: $ac_useropt"
   1194     ac_useropt_orig=$ac_useropt
   1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1196     case $ac_user_opts in
   1197       *"
   1198 "with_$ac_useropt"
   1199 "*) ;;
   1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1201 	 ac_unrecognized_sep=', ';;
   1202     esac
   1203     eval with_$ac_useropt=no ;;
   1204 
   1205   --x)
   1206     # Obsolete; use --with-x.
   1207     with_x=yes ;;
   1208 
   1209   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1210   | --x-incl | --x-inc | --x-in | --x-i)
   1211     ac_prev=x_includes ;;
   1212   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1213   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1214     x_includes=$ac_optarg ;;
   1215 
   1216   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1217   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1218     ac_prev=x_libraries ;;
   1219   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1220   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1221     x_libraries=$ac_optarg ;;
   1222 
   1223   -*) as_fn_error "unrecognized option: \`$ac_option'
   1224 Try \`$0 --help' for more information."
   1225     ;;
   1226 
   1227   *=*)
   1228     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1229     # Reject names that are not valid shell variable names.
   1230     case $ac_envvar in #(
   1231       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1232       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1233     esac
   1234     eval $ac_envvar=\$ac_optarg
   1235     export $ac_envvar ;;
   1236 
   1237   *)
   1238     # FIXME: should be removed in autoconf 3.0.
   1239     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1240     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1241       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1242     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1243     ;;
   1244 
   1245   esac
   1246 done
   1247 
   1248 if test -n "$ac_prev"; then
   1249   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1250   as_fn_error "missing argument to $ac_option"
   1251 fi
   1252 
   1253 if test -n "$ac_unrecognized_opts"; then
   1254   case $enable_option_checking in
   1255     no) ;;
   1256     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1257     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1258   esac
   1259 fi
   1260 
   1261 # Check all directory arguments for consistency.
   1262 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1263 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1264 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1265 		libdir localedir mandir
   1266 do
   1267   eval ac_val=\$$ac_var
   1268   # Remove trailing slashes.
   1269   case $ac_val in
   1270     */ )
   1271       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1272       eval $ac_var=\$ac_val;;
   1273   esac
   1274   # Be sure to have absolute directory names.
   1275   case $ac_val in
   1276     [\\/$]* | ?:[\\/]* )  continue;;
   1277     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1278   esac
   1279   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1280 done
   1281 
   1282 # There might be people who depend on the old broken behavior: `$host'
   1283 # used to hold the argument of --host etc.
   1284 # FIXME: To remove some day.
   1285 build=$build_alias
   1286 host=$host_alias
   1287 target=$target_alias
   1288 
   1289 # FIXME: To remove some day.
   1290 if test "x$host_alias" != x; then
   1291   if test "x$build_alias" = x; then
   1292     cross_compiling=maybe
   1293     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1294     If a cross compiler is detected then cross compile mode will be used." >&2
   1295   elif test "x$build_alias" != "x$host_alias"; then
   1296     cross_compiling=yes
   1297   fi
   1298 fi
   1299 
   1300 ac_tool_prefix=
   1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1302 
   1303 test "$silent" = yes && exec 6>/dev/null
   1304 
   1305 
   1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1307 ac_ls_di=`ls -di .` &&
   1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1309   as_fn_error "working directory cannot be determined"
   1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1311   as_fn_error "pwd does not report name of working directory"
   1312 
   1313 
   1314 # Find the source files, if location was not specified.
   1315 if test -z "$srcdir"; then
   1316   ac_srcdir_defaulted=yes
   1317   # Try the directory containing this script, then the parent directory.
   1318   ac_confdir=`$as_dirname -- "$as_myself" ||
   1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1320 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1321 	 X"$as_myself" : 'X\(//\)$' \| \
   1322 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1323 $as_echo X"$as_myself" |
   1324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  /^X\(\/\/\)[^/].*/{
   1329 	    s//\1/
   1330 	    q
   1331 	  }
   1332 	  /^X\(\/\/\)$/{
   1333 	    s//\1/
   1334 	    q
   1335 	  }
   1336 	  /^X\(\/\).*/{
   1337 	    s//\1/
   1338 	    q
   1339 	  }
   1340 	  s/.*/./; q'`
   1341   srcdir=$ac_confdir
   1342   if test ! -r "$srcdir/$ac_unique_file"; then
   1343     srcdir=..
   1344   fi
   1345 else
   1346   ac_srcdir_defaulted=no
   1347 fi
   1348 if test ! -r "$srcdir/$ac_unique_file"; then
   1349   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1350   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1351 fi
   1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1353 ac_abs_confdir=`(
   1354 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1355 	pwd)`
   1356 # When building in place, set srcdir=.
   1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1358   srcdir=.
   1359 fi
   1360 # Remove unnecessary trailing slashes from srcdir.
   1361 # Double slashes in file names in object file debugging info
   1362 # mess up M-x gdb in Emacs.
   1363 case $srcdir in
   1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1365 esac
   1366 case $srcdir in
   1367   *" "*)
   1368     as_fn_error "path to source, $srcdir, contains spaces"
   1369     ;;
   1370 esac
   1371 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
   1372 
   1373 for ac_var in $ac_precious_vars; do
   1374   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1375   eval ac_env_${ac_var}_value=\$${ac_var}
   1376   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1377   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1378 done
   1379 
   1380 #
   1381 # Report the --help message.
   1382 #
   1383 if test "$ac_init_help" = "long"; then
   1384   # Omit some internal or obsolete options to make the list less imposing.
   1385   # This message is too long to be a string in the A/UX 3.1 sh.
   1386   cat <<_ACEOF
   1387 \`configure' configures this package to adapt to many kinds of systems.
   1388 
   1389 Usage: $0 [OPTION]... [VAR=VALUE]...
   1390 
   1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1392 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1393 
   1394 Defaults for the options are specified in brackets.
   1395 
   1396 Configuration:
   1397   -h, --help              display this help and exit
   1398       --help=short        display options specific to this package
   1399       --help=recursive    display the short help of all the included packages
   1400   -V, --version           display version information and exit
   1401   -q, --quiet, --silent   do not print \`checking...' messages
   1402       --cache-file=FILE   cache test results in FILE [disabled]
   1403   -C, --config-cache      alias for \`--cache-file=config.cache'
   1404   -n, --no-create         do not create output files
   1405       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1406 
   1407 Installation directories:
   1408   --prefix=PREFIX         install architecture-independent files in PREFIX
   1409                           [$ac_default_prefix]
   1410   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1411                           [PREFIX]
   1412 
   1413 By default, \`make install' will install all the files in
   1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1416 for instance \`--prefix=\$HOME'.
   1417 
   1418 For better control, use the options below.
   1419 
   1420 Fine tuning of the installation directories:
   1421   --bindir=DIR            user executables [EPREFIX/bin]
   1422   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1423   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1424   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1425   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1426   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1427   --libdir=DIR            object code libraries [EPREFIX/lib]
   1428   --includedir=DIR        C header files [PREFIX/include]
   1429   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1430   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1431   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1432   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1433   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1434   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1435   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1436   --htmldir=DIR           html documentation [DOCDIR]
   1437   --dvidir=DIR            dvi documentation [DOCDIR]
   1438   --pdfdir=DIR            pdf documentation [DOCDIR]
   1439   --psdir=DIR             ps documentation [DOCDIR]
   1440 _ACEOF
   1441 
   1442   cat <<\_ACEOF
   1443 
   1444 Program names:
   1445   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1446   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1447   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1448 
   1449 System types:
   1450   --build=BUILD     configure for building on BUILD [guessed]
   1451   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1452   --target=TARGET   configure for building compilers for TARGET [HOST]
   1453 _ACEOF
   1454 fi
   1455 
   1456 if test -n "$ac_init_help"; then
   1457 
   1458   cat <<\_ACEOF
   1459 
   1460 Optional Features:
   1461   --disable-option-checking  ignore unrecognized --enable/--with options
   1462   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1463   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1464   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1465   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   1466   --disable-libquadmath   do not build libquadmath directory
   1467   --disable-libquadmath-support
   1468                           disable libquadmath support for Fortran
   1469   --enable-libada         build libada directory
   1470   --enable-libssp         build libssp directory
   1471   --disable-libstdcxx     do not build libstdc++-v3 directory
   1472   --enable-static-libjava[=ARG]
   1473                           build static libjava [default=no]
   1474   --enable-bootstrap      enable bootstrapping [yes if native build]
   1475   --disable-isl-version-check
   1476                           disable check for ISL version
   1477   --disable-cloog-version-check
   1478                           disable check for CLooG version
   1479   --enable-lto            enable link time optimization support
   1480   --enable-stage1-languages[=all]
   1481                           choose additional languages to build during stage1.
   1482                           Mostly useful for compiler development
   1483   --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
   1484                           Objective-C runtime
   1485   --enable-vtable-verify    Enable vtable verification feature
   1486   --enable-serial-[{host,target,build}-]configure
   1487                           force sequential configuration of sub-packages for
   1488                           the host, target or build machine, or all
   1489                           sub-packages
   1490   --enable-maintainer-mode
   1491                           enable make rules and dependencies not useful (and
   1492                           sometimes confusing) to the casual installer
   1493   --enable-stage1-checking[=all]
   1494                           choose additional checking for stage1 of the
   1495                           compiler
   1496   --enable-werror         enable -Werror in bootstrap stage2 and later
   1497   --enable-host-shared    build host code as shared libraries
   1498 
   1499 Optional Packages:
   1500   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1501   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1502   --with-build-libsubdir=DIR  Directory where to find libraries for build system
   1503   --with-mpc=PATH         specify prefix directory for installed MPC package.
   1504                           Equivalent to --with-mpc-include=PATH/include plus
   1505                           --with-mpc-lib=PATH/lib
   1506   --with-mpc-include=PATH specify directory for installed MPC include files
   1507   --with-mpc-lib=PATH     specify directory for the installed MPC library
   1508   --with-mpfr-dir=PATH    this option has been REMOVED
   1509   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
   1510                           Equivalent to --with-mpfr-include=PATH/include plus
   1511                           --with-mpfr-lib=PATH/lib
   1512   --with-mpfr-include=PATH
   1513                           specify directory for installed MPFR include files
   1514   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   1515   --with-gmp-dir=PATH     this option has been REMOVED
   1516   --with-gmp=PATH         specify prefix directory for the installed GMP
   1517                           package. Equivalent to
   1518                           --with-gmp-include=PATH/include plus
   1519                           --with-gmp-lib=PATH/lib
   1520   --with-gmp-include=PATH specify directory for installed GMP include files
   1521   --with-gmp-lib=PATH     specify directory for the installed GMP library
   1522   --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
   1523                           linking with PPL
   1524   --with-stage1-libs=LIBS libraries for stage1
   1525   --with-stage1-ldflags=FLAGS
   1526                           linker flags for stage1
   1527   --with-boot-libs=LIBS   libraries for stage2 and later
   1528   --with-boot-ldflags=FLAGS
   1529                           linker flags for stage2 and later
   1530   --with-cloog=PATH       Specify prefix directory for the installed CLooG-ISL
   1531                           package. Equivalent to
   1532                           --with-cloog-include=PATH/include plus
   1533                           --with-cloog-lib=PATH/lib
   1534   --with-isl=PATH         Specify prefix directory for the installed ISL
   1535                           package. Equivalent to
   1536                           --with-isl-include=PATH/include plus
   1537                           --with-isl-lib=PATH/lib
   1538   --with-isl-include=PATH Specify directory for installed ISL include files
   1539   --with-isl-lib=PATH     Specify the directory for the installed ISL library
   1540   --with-cloog-include=PATH
   1541                           Specify directory for installed CLooG include files
   1542   --with-cloog-lib=PATH   Specify the directory for the installed CLooG
   1543                           library
   1544   --with-build-sysroot=SYSROOT
   1545                           use sysroot as the system root during the build
   1546   --with-debug-prefix-map='A=B C=D ...'
   1547                           map A to B, C to D ... in debug information
   1548   --with-build-config='NAME NAME2...'
   1549                           use config/NAME.mk build configuration
   1550   --with-build-time-tools=PATH
   1551                           use given path to find target tools during the build
   1552 
   1553 Some influential environment variables:
   1554   CC          C compiler command
   1555   CFLAGS      C compiler flags
   1556   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1557               nonstandard directory <lib dir>
   1558   LIBS        libraries to pass to the linker, e.g. -l<library>
   1559   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1560               you have headers in a nonstandard directory <include dir>
   1561   CXX         C++ compiler command
   1562   CXXFLAGS    C++ compiler flags
   1563   build_configargs
   1564               additional configure arguments for build directories
   1565   host_configargs
   1566               additional configure arguments for host directories
   1567   target_configargs
   1568               additional configure arguments for target directories
   1569   AR          AR for the host
   1570   AS          AS for the host
   1571   DLLTOOL     DLLTOOL for the host
   1572   LD          LD for the host
   1573   LIPO        LIPO for the host
   1574   NM          NM for the host
   1575   RANLIB      RANLIB for the host
   1576   STRIP       STRIP for the host
   1577   WINDRES     WINDRES for the host
   1578   WINDMC      WINDMC for the host
   1579   OBJCOPY     OBJCOPY for the host
   1580   OBJDUMP     OBJDUMP for the host
   1581   READELF     READELF for the host
   1582   CC_FOR_TARGET
   1583               CC for the target
   1584   CXX_FOR_TARGET
   1585               CXX for the target
   1586   GCC_FOR_TARGET
   1587               GCC for the target
   1588   GCJ_FOR_TARGET
   1589               GCJ for the target
   1590   GFORTRAN_FOR_TARGET
   1591               GFORTRAN for the target
   1592   GOC_FOR_TARGET
   1593               GOC for the target
   1594   AR_FOR_TARGET
   1595               AR for the target
   1596   AS_FOR_TARGET
   1597               AS for the target
   1598   DLLTOOL_FOR_TARGET
   1599               DLLTOOL for the target
   1600   LD_FOR_TARGET
   1601               LD for the target
   1602   LIPO_FOR_TARGET
   1603               LIPO for the target
   1604   NM_FOR_TARGET
   1605               NM for the target
   1606   OBJDUMP_FOR_TARGET
   1607               OBJDUMP for the target
   1608   RANLIB_FOR_TARGET
   1609               RANLIB for the target
   1610   READELF_FOR_TARGET
   1611               READELF for the target
   1612   STRIP_FOR_TARGET
   1613               STRIP for the target
   1614   WINDRES_FOR_TARGET
   1615               WINDRES for the target
   1616   WINDMC_FOR_TARGET
   1617               WINDMC for the target
   1618 
   1619 Use these variables to override the choices made by `configure' or to help
   1620 it to find libraries and programs with nonstandard names/locations.
   1621 
   1622 Report bugs to the package provider.
   1623 _ACEOF
   1624 ac_status=$?
   1625 fi
   1626 
   1627 if test "$ac_init_help" = "recursive"; then
   1628   # If there are subdirs, report their specific --help.
   1629   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1630     test -d "$ac_dir" ||
   1631       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1632       continue
   1633     ac_builddir=.
   1634 
   1635 case "$ac_dir" in
   1636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1637 *)
   1638   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1639   # A ".." for each directory in $ac_dir_suffix.
   1640   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1641   case $ac_top_builddir_sub in
   1642   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1643   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1644   esac ;;
   1645 esac
   1646 ac_abs_top_builddir=$ac_pwd
   1647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1648 # for backward compatibility:
   1649 ac_top_builddir=$ac_top_build_prefix
   1650 
   1651 case $srcdir in
   1652   .)  # We are building in place.
   1653     ac_srcdir=.
   1654     ac_top_srcdir=$ac_top_builddir_sub
   1655     ac_abs_top_srcdir=$ac_pwd ;;
   1656   [\\/]* | ?:[\\/]* )  # Absolute name.
   1657     ac_srcdir=$srcdir$ac_dir_suffix;
   1658     ac_top_srcdir=$srcdir
   1659     ac_abs_top_srcdir=$srcdir ;;
   1660   *) # Relative name.
   1661     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1662     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1663     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1664 esac
   1665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1666 
   1667     cd "$ac_dir" || { ac_status=$?; continue; }
   1668     # Check for guested configure.
   1669     if test -f "$ac_srcdir/configure.gnu"; then
   1670       echo &&
   1671       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1672     elif test -f "$ac_srcdir/configure"; then
   1673       echo &&
   1674       $SHELL "$ac_srcdir/configure" --help=recursive
   1675     else
   1676       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1677     fi || ac_status=$?
   1678     cd "$ac_pwd" || { ac_status=$?; break; }
   1679   done
   1680 fi
   1681 
   1682 test -n "$ac_init_help" && exit $ac_status
   1683 if $ac_init_version; then
   1684   cat <<\_ACEOF
   1685 configure
   1686 generated by GNU Autoconf 2.64
   1687 
   1688 Copyright (C) 2009 Free Software Foundation, Inc.
   1689 This configure script is free software; the Free Software Foundation
   1690 gives unlimited permission to copy, distribute and modify it.
   1691 _ACEOF
   1692   exit
   1693 fi
   1694 
   1695 ## ------------------------ ##
   1696 ## Autoconf initialization. ##
   1697 ## ------------------------ ##
   1698 
   1699 # ac_fn_c_try_compile LINENO
   1700 # --------------------------
   1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1702 ac_fn_c_try_compile ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   rm -f conftest.$ac_objext
   1706   if { { ac_try="$ac_compile"
   1707 case "(($ac_try" in
   1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1709   *) ac_try_echo=$ac_try;;
   1710 esac
   1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1712 $as_echo "$ac_try_echo"; } >&5
   1713   (eval "$ac_compile") 2>conftest.err
   1714   ac_status=$?
   1715   if test -s conftest.err; then
   1716     grep -v '^ *+' conftest.err >conftest.er1
   1717     cat conftest.er1 >&5
   1718     mv -f conftest.er1 conftest.err
   1719   fi
   1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1721   test $ac_status = 0; } && {
   1722 	 test -z "$ac_c_werror_flag" ||
   1723 	 test ! -s conftest.err
   1724        } && test -s conftest.$ac_objext; then :
   1725   ac_retval=0
   1726 else
   1727   $as_echo "$as_me: failed program was:" >&5
   1728 sed 's/^/| /' conftest.$ac_ext >&5
   1729 
   1730 	ac_retval=1
   1731 fi
   1732   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1733   return $ac_retval
   1734 
   1735 } # ac_fn_c_try_compile
   1736 
   1737 # ac_fn_cxx_try_compile LINENO
   1738 # ----------------------------
   1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1740 ac_fn_cxx_try_compile ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   rm -f conftest.$ac_objext
   1744   if { { ac_try="$ac_compile"
   1745 case "(($ac_try" in
   1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1747   *) ac_try_echo=$ac_try;;
   1748 esac
   1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1750 $as_echo "$ac_try_echo"; } >&5
   1751   (eval "$ac_compile") 2>conftest.err
   1752   ac_status=$?
   1753   if test -s conftest.err; then
   1754     grep -v '^ *+' conftest.err >conftest.er1
   1755     cat conftest.er1 >&5
   1756     mv -f conftest.er1 conftest.err
   1757   fi
   1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1759   test $ac_status = 0; } && {
   1760 	 test -z "$ac_cxx_werror_flag" ||
   1761 	 test ! -s conftest.err
   1762        } && test -s conftest.$ac_objext; then :
   1763   ac_retval=0
   1764 else
   1765   $as_echo "$as_me: failed program was:" >&5
   1766 sed 's/^/| /' conftest.$ac_ext >&5
   1767 
   1768 	ac_retval=1
   1769 fi
   1770   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1771   return $ac_retval
   1772 
   1773 } # ac_fn_cxx_try_compile
   1774 
   1775 # ac_fn_cxx_try_link LINENO
   1776 # -------------------------
   1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1778 ac_fn_cxx_try_link ()
   1779 {
   1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1781   rm -f conftest.$ac_objext conftest$ac_exeext
   1782   if { { ac_try="$ac_link"
   1783 case "(($ac_try" in
   1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1785   *) ac_try_echo=$ac_try;;
   1786 esac
   1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1788 $as_echo "$ac_try_echo"; } >&5
   1789   (eval "$ac_link") 2>conftest.err
   1790   ac_status=$?
   1791   if test -s conftest.err; then
   1792     grep -v '^ *+' conftest.err >conftest.er1
   1793     cat conftest.er1 >&5
   1794     mv -f conftest.er1 conftest.err
   1795   fi
   1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1797   test $ac_status = 0; } && {
   1798 	 test -z "$ac_cxx_werror_flag" ||
   1799 	 test ! -s conftest.err
   1800        } && test -s conftest$ac_exeext && {
   1801 	 test "$cross_compiling" = yes ||
   1802 	 $as_test_x conftest$ac_exeext
   1803        }; then :
   1804   ac_retval=0
   1805 else
   1806   $as_echo "$as_me: failed program was:" >&5
   1807 sed 's/^/| /' conftest.$ac_ext >&5
   1808 
   1809 	ac_retval=1
   1810 fi
   1811   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1812   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1813   # interfere with the next link command; also delete a directory that is
   1814   # left behind by Apple's compiler.  We do this before executing the actions.
   1815   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1816   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1817   return $ac_retval
   1818 
   1819 } # ac_fn_cxx_try_link
   1820 
   1821 # ac_fn_c_try_link LINENO
   1822 # -----------------------
   1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1824 ac_fn_c_try_link ()
   1825 {
   1826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1827   rm -f conftest.$ac_objext conftest$ac_exeext
   1828   if { { ac_try="$ac_link"
   1829 case "(($ac_try" in
   1830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1831   *) ac_try_echo=$ac_try;;
   1832 esac
   1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1834 $as_echo "$ac_try_echo"; } >&5
   1835   (eval "$ac_link") 2>conftest.err
   1836   ac_status=$?
   1837   if test -s conftest.err; then
   1838     grep -v '^ *+' conftest.err >conftest.er1
   1839     cat conftest.er1 >&5
   1840     mv -f conftest.er1 conftest.err
   1841   fi
   1842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1843   test $ac_status = 0; } && {
   1844 	 test -z "$ac_c_werror_flag" ||
   1845 	 test ! -s conftest.err
   1846        } && test -s conftest$ac_exeext && {
   1847 	 test "$cross_compiling" = yes ||
   1848 	 $as_test_x conftest$ac_exeext
   1849        }; then :
   1850   ac_retval=0
   1851 else
   1852   $as_echo "$as_me: failed program was:" >&5
   1853 sed 's/^/| /' conftest.$ac_ext >&5
   1854 
   1855 	ac_retval=1
   1856 fi
   1857   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1858   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1859   # interfere with the next link command; also delete a directory that is
   1860   # left behind by Apple's compiler.  We do this before executing the actions.
   1861   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1862   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1863   return $ac_retval
   1864 
   1865 } # ac_fn_c_try_link
   1866 
   1867 # ac_fn_c_try_run LINENO
   1868 # ----------------------
   1869 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1870 # that executables *can* be run.
   1871 ac_fn_c_try_run ()
   1872 {
   1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1874   if { { ac_try="$ac_link"
   1875 case "(($ac_try" in
   1876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1877   *) ac_try_echo=$ac_try;;
   1878 esac
   1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1880 $as_echo "$ac_try_echo"; } >&5
   1881   (eval "$ac_link") 2>&5
   1882   ac_status=$?
   1883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1884   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1885   { { case "(($ac_try" in
   1886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1887   *) ac_try_echo=$ac_try;;
   1888 esac
   1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1890 $as_echo "$ac_try_echo"; } >&5
   1891   (eval "$ac_try") 2>&5
   1892   ac_status=$?
   1893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1894   test $ac_status = 0; }; }; then :
   1895   ac_retval=0
   1896 else
   1897   $as_echo "$as_me: program exited with status $ac_status" >&5
   1898        $as_echo "$as_me: failed program was:" >&5
   1899 sed 's/^/| /' conftest.$ac_ext >&5
   1900 
   1901        ac_retval=$ac_status
   1902 fi
   1903   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1904   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1905   return $ac_retval
   1906 
   1907 } # ac_fn_c_try_run
   1908 cat >config.log <<_ACEOF
   1909 This file contains any messages produced by compilers while
   1910 running configure, to aid debugging if configure makes a mistake.
   1911 
   1912 It was created by $as_me, which was
   1913 generated by GNU Autoconf 2.64.  Invocation command line was
   1914 
   1915   $ $0 $@
   1916 
   1917 _ACEOF
   1918 exec 5>>config.log
   1919 {
   1920 cat <<_ASUNAME
   1921 ## --------- ##
   1922 ## Platform. ##
   1923 ## --------- ##
   1924 
   1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1930 
   1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1932 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1933 
   1934 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1935 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1937 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1938 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1939 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1940 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1941 
   1942 _ASUNAME
   1943 
   1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1945 for as_dir in $PATH
   1946 do
   1947   IFS=$as_save_IFS
   1948   test -z "$as_dir" && as_dir=.
   1949     $as_echo "PATH: $as_dir"
   1950   done
   1951 IFS=$as_save_IFS
   1952 
   1953 } >&5
   1954 
   1955 cat >&5 <<_ACEOF
   1956 
   1957 
   1958 ## ----------- ##
   1959 ## Core tests. ##
   1960 ## ----------- ##
   1961 
   1962 _ACEOF
   1963 
   1964 
   1965 # Keep a trace of the command line.
   1966 # Strip out --no-create and --no-recursion so they do not pile up.
   1967 # Strip out --silent because we don't want to record it for future runs.
   1968 # Also quote any args containing shell meta-characters.
   1969 # Make two passes to allow for proper duplicate-argument suppression.
   1970 ac_configure_args=
   1971 ac_configure_args0=
   1972 ac_configure_args1=
   1973 ac_must_keep_next=false
   1974 for ac_pass in 1 2
   1975 do
   1976   for ac_arg
   1977   do
   1978     case $ac_arg in
   1979     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1980     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1981     | -silent | --silent | --silen | --sile | --sil)
   1982       continue ;;
   1983     *\'*)
   1984       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1985     esac
   1986     case $ac_pass in
   1987     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1988     2)
   1989       as_fn_append ac_configure_args1 " '$ac_arg'"
   1990       if test $ac_must_keep_next = true; then
   1991 	ac_must_keep_next=false # Got value, back to normal.
   1992       else
   1993 	case $ac_arg in
   1994 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1995 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1996 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1997 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1998 	    case "$ac_configure_args0 " in
   1999 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2000 	    esac
   2001 	    ;;
   2002 	  -* ) ac_must_keep_next=true ;;
   2003 	esac
   2004       fi
   2005       as_fn_append ac_configure_args " '$ac_arg'"
   2006       ;;
   2007     esac
   2008   done
   2009 done
   2010 { ac_configure_args0=; unset ac_configure_args0;}
   2011 { ac_configure_args1=; unset ac_configure_args1;}
   2012 
   2013 # When interrupted or exit'd, cleanup temporary files, and complete
   2014 # config.log.  We remove comments because anyway the quotes in there
   2015 # would cause problems or look ugly.
   2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2018 trap 'exit_status=$?
   2019   # Save into config.log some information that might help in debugging.
   2020   {
   2021     echo
   2022 
   2023     cat <<\_ASBOX
   2024 ## ---------------- ##
   2025 ## Cache variables. ##
   2026 ## ---------------- ##
   2027 _ASBOX
   2028     echo
   2029     # The following way of writing the cache mishandles newlines in values,
   2030 (
   2031   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2032     eval ac_val=\$$ac_var
   2033     case $ac_val in #(
   2034     *${as_nl}*)
   2035       case $ac_var in #(
   2036       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2038       esac
   2039       case $ac_var in #(
   2040       _ | IFS | as_nl) ;; #(
   2041       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2042       *) { eval $ac_var=; unset $ac_var;} ;;
   2043       esac ;;
   2044     esac
   2045   done
   2046   (set) 2>&1 |
   2047     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2048     *${as_nl}ac_space=\ *)
   2049       sed -n \
   2050 	"s/'\''/'\''\\\\'\'''\''/g;
   2051 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2052       ;; #(
   2053     *)
   2054       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2055       ;;
   2056     esac |
   2057     sort
   2058 )
   2059     echo
   2060 
   2061     cat <<\_ASBOX
   2062 ## ----------------- ##
   2063 ## Output variables. ##
   2064 ## ----------------- ##
   2065 _ASBOX
   2066     echo
   2067     for ac_var in $ac_subst_vars
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072       esac
   2073       $as_echo "$ac_var='\''$ac_val'\''"
   2074     done | sort
   2075     echo
   2076 
   2077     if test -n "$ac_subst_files"; then
   2078       cat <<\_ASBOX
   2079 ## ------------------- ##
   2080 ## File substitutions. ##
   2081 ## ------------------- ##
   2082 _ASBOX
   2083       echo
   2084       for ac_var in $ac_subst_files
   2085       do
   2086 	eval ac_val=\$$ac_var
   2087 	case $ac_val in
   2088 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2089 	esac
   2090 	$as_echo "$ac_var='\''$ac_val'\''"
   2091       done | sort
   2092       echo
   2093     fi
   2094 
   2095     if test -s confdefs.h; then
   2096       cat <<\_ASBOX
   2097 ## ----------- ##
   2098 ## confdefs.h. ##
   2099 ## ----------- ##
   2100 _ASBOX
   2101       echo
   2102       cat confdefs.h
   2103       echo
   2104     fi
   2105     test "$ac_signal" != 0 &&
   2106       $as_echo "$as_me: caught signal $ac_signal"
   2107     $as_echo "$as_me: exit $exit_status"
   2108   } >&5
   2109   rm -f core *.core core.conftest.* &&
   2110     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2111     exit $exit_status
   2112 ' 0
   2113 for ac_signal in 1 2 13 15; do
   2114   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2115 done
   2116 ac_signal=0
   2117 
   2118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2119 rm -f -r conftest* confdefs.h
   2120 
   2121 $as_echo "/* confdefs.h */" > confdefs.h
   2122 
   2123 # Predefined preprocessor variables.
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_NAME "$PACKAGE_NAME"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_STRING "$PACKAGE_STRING"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2143 _ACEOF
   2144 
   2145 cat >>confdefs.h <<_ACEOF
   2146 #define PACKAGE_URL "$PACKAGE_URL"
   2147 _ACEOF
   2148 
   2149 
   2150 # Let the site file select an alternate cache file if it wants to.
   2151 # Prefer an explicitly selected file to automatically selected ones.
   2152 ac_site_file1=NONE
   2153 ac_site_file2=NONE
   2154 if test -n "$CONFIG_SITE"; then
   2155   ac_site_file1=$CONFIG_SITE
   2156 elif test "x$prefix" != xNONE; then
   2157   ac_site_file1=$prefix/share/config.site
   2158   ac_site_file2=$prefix/etc/config.site
   2159 else
   2160   ac_site_file1=$ac_default_prefix/share/config.site
   2161   ac_site_file2=$ac_default_prefix/etc/config.site
   2162 fi
   2163 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2164 do
   2165   test "x$ac_site_file" = xNONE && continue
   2166   if test -r "$ac_site_file"; then
   2167     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2169     sed 's/^/| /' "$ac_site_file" >&5
   2170     . "$ac_site_file"
   2171   fi
   2172 done
   2173 
   2174 if test -r "$cache_file"; then
   2175   # Some versions of bash will fail to source /dev/null (special
   2176   # files actually), so we avoid doing that.
   2177   if test -f "$cache_file"; then
   2178     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2180     case $cache_file in
   2181       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2182       *)                      . "./$cache_file";;
   2183     esac
   2184   fi
   2185 else
   2186   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2188   >$cache_file
   2189 fi
   2190 
   2191 # Check that the precious variables saved in the cache have kept the same
   2192 # value.
   2193 ac_cache_corrupted=false
   2194 for ac_var in $ac_precious_vars; do
   2195   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2196   eval ac_new_set=\$ac_env_${ac_var}_set
   2197   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2198   eval ac_new_val=\$ac_env_${ac_var}_value
   2199   case $ac_old_set,$ac_new_set in
   2200     set,)
   2201       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2203       ac_cache_corrupted=: ;;
   2204     ,set)
   2205       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2207       ac_cache_corrupted=: ;;
   2208     ,);;
   2209     *)
   2210       if test "x$ac_old_val" != "x$ac_new_val"; then
   2211 	# differences in whitespace do not lead to failure.
   2212 	ac_old_val_w=`echo x $ac_old_val`
   2213 	ac_new_val_w=`echo x $ac_new_val`
   2214 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2215 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2217 	  ac_cache_corrupted=:
   2218 	else
   2219 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2221 	  eval $ac_var=\$ac_old_val
   2222 	fi
   2223 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2224 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2225 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2226 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2227       fi;;
   2228   esac
   2229   # Pass precious variables to config.status.
   2230   if test "$ac_new_set" = set; then
   2231     case $ac_new_val in
   2232     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2233     *) ac_arg=$ac_var=$ac_new_val ;;
   2234     esac
   2235     case " $ac_configure_args " in
   2236       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2237       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2238     esac
   2239   fi
   2240 done
   2241 if $ac_cache_corrupted; then
   2242   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2244   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2246   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2247 fi
   2248 ## -------------------- ##
   2249 ## Main body of script. ##
   2250 ## -------------------- ##
   2251 
   2252 ac_ext=c
   2253 ac_cpp='$CPP $CPPFLAGS'
   2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2257 
   2258 
   2259 
   2260 
   2261 
   2262 
   2263 
   2264 
   2265 
   2266 progname=$0
   2267 # if PWD already has a value, it is probably wrong.
   2268 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
   2269 
   2270 # Export original configure arguments for use by sub-configures.
   2271 # Quote arguments with shell meta charatcers.
   2272 TOPLEVEL_CONFIGURE_ARGUMENTS=
   2273 set -- "$progname" "$@"
   2274 for ac_arg
   2275 do
   2276   case "$ac_arg" in
   2277   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
   2278     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   2279     # if the argument is of the form -foo=baz, quote the baz part only
   2280     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
   2281   *) ;;
   2282   esac
   2283   # Add the quoted argument to the list.
   2284   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
   2285 done
   2286 if test "$silent" = yes; then
   2287   TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
   2288 fi
   2289 # Remove the initial space we just introduced and, as these will be
   2290 # expanded by make, quote '$'.
   2291 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
   2292 
   2293 
   2294 # Find the build, host, and target systems.
   2295 ac_aux_dir=
   2296 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2297   for ac_t in install-sh install.sh shtool; do
   2298     if test -f "$ac_dir/$ac_t"; then
   2299       ac_aux_dir=$ac_dir
   2300       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2301       break 2
   2302     fi
   2303   done
   2304 done
   2305 if test -z "$ac_aux_dir"; then
   2306   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2307 fi
   2308 
   2309 # These three variables are undocumented and unsupported,
   2310 # and are intended to be withdrawn in a future Autoconf release.
   2311 # They can cause serious problems if a builder's source tree is in a directory
   2312 # whose full name contains unusual characters.
   2313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2315 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2316 
   2317 
   2318 # Make sure we can run config.sub.
   2319 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2320   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2321 
   2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2323 $as_echo_n "checking build system type... " >&6; }
   2324 if test "${ac_cv_build+set}" = set; then :
   2325   $as_echo_n "(cached) " >&6
   2326 else
   2327   ac_build_alias=$build_alias
   2328 test "x$ac_build_alias" = x &&
   2329   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2330 test "x$ac_build_alias" = x &&
   2331   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2332 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2333   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2334 
   2335 fi
   2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2337 $as_echo "$ac_cv_build" >&6; }
   2338 case $ac_cv_build in
   2339 *-*-*) ;;
   2340 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2341 esac
   2342 build=$ac_cv_build
   2343 ac_save_IFS=$IFS; IFS='-'
   2344 set x $ac_cv_build
   2345 shift
   2346 build_cpu=$1
   2347 build_vendor=$2
   2348 shift; shift
   2349 # Remember, the first character of IFS is used to create $*,
   2350 # except with old shells:
   2351 build_os=$*
   2352 IFS=$ac_save_IFS
   2353 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2354 
   2355 
   2356  case ${build_alias} in
   2357   "") build_noncanonical=${build} ;;
   2358   *) build_noncanonical=${build_alias} ;;
   2359 esac
   2360 
   2361 
   2362 
   2363  case ${host_alias} in
   2364   "") host_noncanonical=${build_noncanonical} ;;
   2365   *) host_noncanonical=${host_alias} ;;
   2366 esac
   2367 
   2368 
   2369 
   2370  case ${target_alias} in
   2371   "") target_noncanonical=${host_noncanonical} ;;
   2372   *) target_noncanonical=${target_alias} ;;
   2373 esac
   2374 
   2375 
   2376 
   2377 
   2378 test "$host_noncanonical" = "$target_noncanonical" &&
   2379   test "$program_prefix$program_suffix$program_transform_name" = \
   2380     NONENONEs,x,x, &&
   2381   program_transform_name=s,y,y,
   2382 
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2384 $as_echo_n "checking host system type... " >&6; }
   2385 if test "${ac_cv_host+set}" = set; then :
   2386   $as_echo_n "(cached) " >&6
   2387 else
   2388   if test "x$host_alias" = x; then
   2389   ac_cv_host=$ac_cv_build
   2390 else
   2391   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2392     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2393 fi
   2394 
   2395 fi
   2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2397 $as_echo "$ac_cv_host" >&6; }
   2398 case $ac_cv_host in
   2399 *-*-*) ;;
   2400 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2401 esac
   2402 host=$ac_cv_host
   2403 ac_save_IFS=$IFS; IFS='-'
   2404 set x $ac_cv_host
   2405 shift
   2406 host_cpu=$1
   2407 host_vendor=$2
   2408 shift; shift
   2409 # Remember, the first character of IFS is used to create $*,
   2410 # except with old shells:
   2411 host_os=$*
   2412 IFS=$ac_save_IFS
   2413 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2414 
   2415 
   2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2417 $as_echo_n "checking target system type... " >&6; }
   2418 if test "${ac_cv_target+set}" = set; then :
   2419   $as_echo_n "(cached) " >&6
   2420 else
   2421   if test "x$target_alias" = x; then
   2422   ac_cv_target=$ac_cv_host
   2423 else
   2424   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2425     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2426 fi
   2427 
   2428 fi
   2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2430 $as_echo "$ac_cv_target" >&6; }
   2431 case $ac_cv_target in
   2432 *-*-*) ;;
   2433 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
   2434 esac
   2435 target=$ac_cv_target
   2436 ac_save_IFS=$IFS; IFS='-'
   2437 set x $ac_cv_target
   2438 shift
   2439 target_cpu=$1
   2440 target_vendor=$2
   2441 shift; shift
   2442 # Remember, the first character of IFS is used to create $*,
   2443 # except with old shells:
   2444 target_os=$*
   2445 IFS=$ac_save_IFS
   2446 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2447 
   2448 
   2449 # The aliases save the names the user supplied, while $host etc.
   2450 # will get canonicalized.
   2451 test -n "$target_alias" &&
   2452   test "$program_prefix$program_suffix$program_transform_name" = \
   2453     NONENONEs,x,x, &&
   2454   program_prefix=${target_alias}-
   2455 
   2456 test "$program_prefix" != NONE &&
   2457   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2458 # Use a double $ so make ignores it.
   2459 test "$program_suffix" != NONE &&
   2460   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2461 # Double any \ or $.
   2462 # By default was `s,x,x', remove it if useless.
   2463 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2464 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2465 
   2466 
   2467 
   2468 # Get 'install' or 'install-sh' and its variants.
   2469 # Find a good install program.  We prefer a C program (faster),
   2470 # so one script is as good as another.  But avoid the broken or
   2471 # incompatible versions:
   2472 # SysV /etc/install, /usr/sbin/install
   2473 # SunOS /usr/etc/install
   2474 # IRIX /sbin/install
   2475 # AIX /bin/install
   2476 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2480 # OS/2's system install, which has a completely different semantic
   2481 # ./install, which can be erroneously created by make from ./install.sh.
   2482 # Reject install programs that cannot install multiple files.
   2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2484 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2485 if test -z "$INSTALL"; then
   2486 if test "${ac_cv_path_install+set}" = set; then :
   2487   $as_echo_n "(cached) " >&6
   2488 else
   2489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2490 for as_dir in $PATH
   2491 do
   2492   IFS=$as_save_IFS
   2493   test -z "$as_dir" && as_dir=.
   2494     # Account for people who put trailing slashes in PATH elements.
   2495 case $as_dir/ in #((
   2496   ./ | .// | /[cC]/* | \
   2497   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2498   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2499   /usr/ucb/* ) ;;
   2500   *)
   2501     # OSF1 and SCO ODT 3.0 have their own names for install.
   2502     # Don't use installbsd from OSF since it installs stuff as root
   2503     # by default.
   2504     for ac_prog in ginstall scoinst install; do
   2505       for ac_exec_ext in '' $ac_executable_extensions; do
   2506 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2507 	  if test $ac_prog = install &&
   2508 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2509 	    # AIX install.  It has an incompatible calling convention.
   2510 	    :
   2511 	  elif test $ac_prog = install &&
   2512 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2513 	    # program-specific install script used by HP pwplus--don't use.
   2514 	    :
   2515 	  else
   2516 	    rm -rf conftest.one conftest.two conftest.dir
   2517 	    echo one > conftest.one
   2518 	    echo two > conftest.two
   2519 	    mkdir conftest.dir
   2520 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2521 	      test -s conftest.one && test -s conftest.two &&
   2522 	      test -s conftest.dir/conftest.one &&
   2523 	      test -s conftest.dir/conftest.two
   2524 	    then
   2525 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2526 	      break 3
   2527 	    fi
   2528 	  fi
   2529 	fi
   2530       done
   2531     done
   2532     ;;
   2533 esac
   2534 
   2535   done
   2536 IFS=$as_save_IFS
   2537 
   2538 rm -rf conftest.one conftest.two conftest.dir
   2539 
   2540 fi
   2541   if test "${ac_cv_path_install+set}" = set; then
   2542     INSTALL=$ac_cv_path_install
   2543   else
   2544     # As a last resort, use the slow shell script.  Don't cache a
   2545     # value for INSTALL within a source directory, because that will
   2546     # break other packages using the cache if that directory is
   2547     # removed, or if the value is a relative name.
   2548     INSTALL=$ac_install_sh
   2549   fi
   2550 fi
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2552 $as_echo "$INSTALL" >&6; }
   2553 
   2554 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2555 # It thinks the first close brace ends the variable substitution.
   2556 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2557 
   2558 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2559 
   2560 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2561 
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
   2563 $as_echo_n "checking whether ln works... " >&6; }
   2564 if test "${acx_cv_prog_LN+set}" = set; then :
   2565   $as_echo_n "(cached) " >&6
   2566 else
   2567   rm -f conftestdata_t
   2568 echo >conftestdata_f
   2569 if ln conftestdata_f conftestdata_t 2>/dev/null
   2570 then
   2571   acx_cv_prog_LN=ln
   2572 else
   2573   acx_cv_prog_LN=no
   2574 fi
   2575 rm -f conftestdata_f conftestdata_t
   2576 
   2577 fi
   2578 if test $acx_cv_prog_LN = no; then
   2579   LN="cp"
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
   2581 $as_echo "no, using $LN" >&6; }
   2582 else
   2583   LN="$acx_cv_prog_LN"
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2585 $as_echo "yes" >&6; }
   2586 fi
   2587 
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   2589 $as_echo_n "checking whether ln -s works... " >&6; }
   2590 LN_S=$as_ln_s
   2591 if test "$LN_S" = "ln -s"; then
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2593 $as_echo "yes" >&6; }
   2594 else
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   2596 $as_echo "no, using $LN_S" >&6; }
   2597 fi
   2598 
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   2600 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   2601 if test "${ac_cv_path_SED+set}" = set; then :
   2602   $as_echo_n "(cached) " >&6
   2603 else
   2604             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   2605      for ac_i in 1 2 3 4 5 6 7; do
   2606        ac_script="$ac_script$as_nl$ac_script"
   2607      done
   2608      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   2609      { ac_script=; unset ac_script;}
   2610      if test -z "$SED"; then
   2611   ac_path_SED_found=false
   2612   # Loop through the user's path and test for each of PROGNAME-LIST
   2613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2614 for as_dir in $PATH
   2615 do
   2616   IFS=$as_save_IFS
   2617   test -z "$as_dir" && as_dir=.
   2618     for ac_prog in sed gsed; do
   2619     for ac_exec_ext in '' $ac_executable_extensions; do
   2620       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   2621       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   2622 # Check for GNU ac_path_SED and select it if it is found.
   2623   # Check for GNU $ac_path_SED
   2624 case `"$ac_path_SED" --version 2>&1` in
   2625 *GNU*)
   2626   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   2627 *)
   2628   ac_count=0
   2629   $as_echo_n 0123456789 >"conftest.in"
   2630   while :
   2631   do
   2632     cat "conftest.in" "conftest.in" >"conftest.tmp"
   2633     mv "conftest.tmp" "conftest.in"
   2634     cp "conftest.in" "conftest.nl"
   2635     $as_echo '' >> "conftest.nl"
   2636     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   2637     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   2638     as_fn_arith $ac_count + 1 && ac_count=$as_val
   2639     if test $ac_count -gt ${ac_path_SED_max-0}; then
   2640       # Best one so far, save it but keep looking for a better one
   2641       ac_cv_path_SED="$ac_path_SED"
   2642       ac_path_SED_max=$ac_count
   2643     fi
   2644     # 10*(2^10) chars as input seems more than enough
   2645     test $ac_count -gt 10 && break
   2646   done
   2647   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   2648 esac
   2649 
   2650       $ac_path_SED_found && break 3
   2651     done
   2652   done
   2653   done
   2654 IFS=$as_save_IFS
   2655   if test -z "$ac_cv_path_SED"; then
   2656     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   2657   fi
   2658 else
   2659   ac_cv_path_SED=$SED
   2660 fi
   2661 
   2662 fi
   2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   2664 $as_echo "$ac_cv_path_SED" >&6; }
   2665  SED="$ac_cv_path_SED"
   2666   rm -f conftest.sed
   2667 
   2668 for ac_prog in gawk mawk nawk awk
   2669 do
   2670   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2671 set dummy $ac_prog; ac_word=$2
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2673 $as_echo_n "checking for $ac_word... " >&6; }
   2674 if test "${ac_cv_prog_AWK+set}" = set; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   if test -n "$AWK"; then
   2678   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2679 else
   2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2681 for as_dir in $PATH
   2682 do
   2683   IFS=$as_save_IFS
   2684   test -z "$as_dir" && as_dir=.
   2685     for ac_exec_ext in '' $ac_executable_extensions; do
   2686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2687     ac_cv_prog_AWK="$ac_prog"
   2688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2689     break 2
   2690   fi
   2691 done
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 fi
   2696 fi
   2697 AWK=$ac_cv_prog_AWK
   2698 if test -n "$AWK"; then
   2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2700 $as_echo "$AWK" >&6; }
   2701 else
   2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2703 $as_echo "no" >&6; }
   2704 fi
   2705 
   2706 
   2707   test -n "$AWK" && break
   2708 done
   2709 
   2710 
   2711 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
   2712 
   2713 # We pass INSTALL explicitly to sub-makes.  Make sure that it is not
   2714 # a relative path.
   2715 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
   2716   INSTALL="${srcpwd}/install-sh -c"
   2717 fi
   2718 
   2719 # Set srcdir to "." if that's what it is.
   2720 # This is important for multilib support.
   2721 pwd=`${PWDCMD-pwd}`
   2722 if test "${pwd}" = "${srcpwd}" ; then
   2723   srcdir=.
   2724 fi
   2725 
   2726 topsrcdir=$srcpwd
   2727 
   2728 extra_host_args=
   2729 
   2730 ### To add a new directory to the tree, first choose whether it is a target
   2731 ### or a host dependent tool.  Then put it into the appropriate list
   2732 ### (library or tools, host or target), doing a dependency sort.
   2733 
   2734 # Subdirs will be configured in the order listed in build_configdirs,
   2735 # configdirs, or target_configdirs; see the serialization section below.
   2736 
   2737 # Dependency sorting is only needed when *configuration* must be done in
   2738 # a particular order.  In all cases a dependency should be specified in
   2739 # the Makefile, whether or not it's implicitly specified here.
   2740 
   2741 # Double entries in build_configdirs, configdirs, or target_configdirs may
   2742 # cause circular dependencies and break everything horribly.
   2743 
   2744 # these library is used by various programs built for the build
   2745 # environment
   2746 #
   2747 build_libs="build-libiberty"
   2748 
   2749 # these tools are built for the build environment
   2750 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
   2751 
   2752 # these libraries are used by various programs built for the host environment
   2753 #
   2754 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
   2755 
   2756 # these tools are built for the host environment
   2757 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
   2758 # know that we are building the simulator.
   2759 # binutils, gas and ld appear in that order because it makes sense to run
   2760 # "make check" in that particular order.
   2761 # If --enable-gold is used, "gold" may replace "ld".
   2762 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
   2763 
   2764 # libgcj represents the runtime libraries only used by gcj.
   2765 libgcj="target-libffi \
   2766 	target-zlib \
   2767 	target-libjava"
   2768 
   2769 # these libraries are built for the target environment, and are built after
   2770 # the host libraries and the host tools (which may be a cross compiler)
   2771 # Note that libiberty is not a target library.
   2772 target_libraries="target-libgcc \
   2773 		target-libbacktrace \
   2774 		target-libgloss \
   2775 		target-newlib \
   2776 		target-libgomp \
   2777 		target-libcilkrts \
   2778 		target-libatomic \
   2779 		target-libitm \
   2780 		target-libstdc++-v3 \
   2781 		target-libsanitizer \
   2782 		target-libvtv \
   2783 		target-libssp \
   2784 		target-libquadmath \
   2785 		target-libgfortran \
   2786 		target-boehm-gc \
   2787 		${libgcj} \
   2788 		target-libobjc \
   2789 		target-libada \
   2790 		target-libgo"
   2791 
   2792 # these tools are built using the target libraries, and are intended to
   2793 # run only in the target environment
   2794 #
   2795 # note: any program that *uses* libraries that are in the "target_libraries"
   2796 # list belongs in this list.
   2797 #
   2798 target_tools="target-rda"
   2799 
   2800 ################################################################################
   2801 
   2802 ## All tools belong in one of the four categories, and are assigned above
   2803 ## We assign ${configdirs} this way to remove all embedded newlines.  This
   2804 ## is important because configure will choke if they ever get through.
   2805 ## ${configdirs} is directories we build using the host tools.
   2806 ## ${target_configdirs} is directories we build using the target tools.
   2807 configdirs=`echo ${host_libs} ${host_tools}`
   2808 target_configdirs=`echo ${target_libraries} ${target_tools}`
   2809 build_configdirs=`echo ${build_libs} ${build_tools}`
   2810 
   2811 
   2812 
   2813 ################################################################################
   2814 
   2815 srcname="gnu development package"
   2816 
   2817 # This gets set non-empty for some net releases of packages.
   2818 appdirs=""
   2819 
   2820 # Define is_cross_compiler to save on calls to 'test'.
   2821 is_cross_compiler=
   2822 if test x"${host}" = x"${target}" ; then
   2823   is_cross_compiler=no
   2824 else
   2825   is_cross_compiler=yes
   2826 fi
   2827 
   2828 # Find the build and target subdir names.
   2829 
   2830 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
   2831 # have matching libraries, they should use host libraries: Makefile.tpl
   2832 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
   2833 # However, they still use the build modules, because the corresponding
   2834 # host modules (e.g. bison) are only built for the host when bootstrap
   2835 # finishes. So:
   2836 # - build_subdir is where we find build modules, and never changes.
   2837 # - build_libsubdir is where we find build libraries, and can be overridden.
   2838 
   2839 # Prefix 'build-' so this never conflicts with target_subdir.
   2840 build_subdir="build-${build_noncanonical}"
   2841 
   2842 # Check whether --with-build-libsubdir was given.
   2843 if test "${with_build_libsubdir+set}" = set; then :
   2844   withval=$with_build_libsubdir; build_libsubdir="$withval"
   2845 else
   2846   build_libsubdir="$build_subdir"
   2847 fi
   2848 
   2849 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
   2850 if ( test $srcdir = . && test -d gcc ) \
   2851    || test -d $srcdir/../host-${host_noncanonical}; then
   2852   host_subdir="host-${host_noncanonical}"
   2853 else
   2854   host_subdir=.
   2855 fi
   2856 # No prefix.
   2857 target_subdir=${target_noncanonical}
   2858 
   2859 # Be sure to cover against remnants of an in-tree build.
   2860 if test $srcdir != .  && test -d $srcdir/host-${host_noncanonical}; then
   2861   as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
   2862 Use a pristine source tree when building in a separate tree" "$LINENO" 5
   2863 fi
   2864 
   2865 # Skipdirs are removed silently.
   2866 skipdirs=
   2867 # Noconfigdirs are removed loudly.
   2868 noconfigdirs=""
   2869 
   2870 use_gnu_ld=
   2871 # Make sure we don't let GNU ld be added if we didn't want it.
   2872 if test x$with_gnu_ld = xno ; then
   2873   use_gnu_ld=no
   2874   noconfigdirs="$noconfigdirs ld gold"
   2875 fi
   2876 
   2877 use_gnu_as=
   2878 # Make sure we don't let GNU as be added if we didn't want it.
   2879 if test x$with_gnu_as = xno ; then
   2880   use_gnu_as=no
   2881   noconfigdirs="$noconfigdirs gas"
   2882 fi
   2883 
   2884 use_included_zlib=
   2885 # Make sure we don't let ZLIB be added if we didn't want it.
   2886 if test x$with_system_zlib = xyes ; then
   2887   use_included_zlib=no
   2888   noconfigdirs="$noconfigdirs zlib"
   2889 fi
   2890 
   2891 # some tools are so dependent upon X11 that if we're not building with X,
   2892 # it's not even worth trying to configure, much less build, that tool.
   2893 
   2894 case ${with_x} in
   2895   yes | "") ;; # the default value for this tree is that X11 is available
   2896   no)
   2897     skipdirs="${skipdirs} tk itcl libgui"
   2898     # We won't be able to build gdbtk without X.
   2899     enable_gdbtk=no
   2900     ;;
   2901   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
   2902 esac
   2903 
   2904 # Some are only suitable for cross toolchains.
   2905 # Remove these if host=target.
   2906 cross_only="target-libgloss target-newlib target-opcodes"
   2907 
   2908 case $is_cross_compiler in
   2909   no) skipdirs="${skipdirs} ${cross_only}" ;;
   2910 esac
   2911 
   2912 # If both --with-headers and --with-libs are specified, default to
   2913 # --without-newlib.
   2914 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
   2915    && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
   2916   if test x"${with_newlib}" = x ; then
   2917     with_newlib=no
   2918   fi
   2919 fi
   2920 
   2921 # Recognize --with-newlib/--without-newlib.
   2922 case ${with_newlib} in
   2923   no) skipdirs="${skipdirs} target-newlib" ;;
   2924   yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
   2925 esac
   2926 
   2927 # Handle --enable-gold, --enable-ld.
   2928 # --disable-gold [--enable-ld]
   2929 #     Build only ld.  Default option.
   2930 # --enable-gold [--enable-ld]
   2931 #     Build both gold and ld.  Install gold as "ld.gold", install ld
   2932 #     as "ld.bfd" and "ld".
   2933 # --enable-gold=default [--enable-ld]
   2934 #     Build both gold and ld.  Install gold as "ld.gold" and "ld",
   2935 #     install ld as "ld.bfd".
   2936 # --enable-gold[=default] --disable-ld
   2937 #     Build only gold, which is then installed as both "ld.gold" and "ld".
   2938 # --enable-gold --enable-ld=default
   2939 #     Build both gold (installed as "ld.gold") and ld (installed as "ld"
   2940 #     and ld.bfd).
   2941 #     In other words, ld is default
   2942 # --enable-gold=default --enable-ld=default
   2943 #     Error.
   2944 
   2945 default_ld=
   2946 # Check whether --enable-gold was given.
   2947 if test "${enable_gold+set}" = set; then :
   2948   enableval=$enable_gold; ENABLE_GOLD=$enableval
   2949 else
   2950   ENABLE_GOLD=no
   2951 fi
   2952 
   2953 case "${ENABLE_GOLD}" in
   2954   yes|default)
   2955     # Check for ELF target.
   2956     is_elf=no
   2957     case "${target}" in
   2958       *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
   2959       | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
   2960       | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
   2961       | *-*-solaris2* | *-*-nto* | *-*-nacl*)
   2962         case "${target}" in
   2963           *-*-linux*aout* | *-*-linux*oldld*)
   2964             ;;
   2965           *)
   2966             is_elf=yes
   2967             ;;
   2968         esac
   2969     esac
   2970 
   2971     if test "$is_elf" = "yes"; then
   2972       # Check for target supported by gold.
   2973       case "${target}" in
   2974         i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \
   2975         | aarch64*-*-* | tilegx*-*-* | mips*-*-*)
   2976 	  configdirs="$configdirs gold"
   2977 	  if test x${ENABLE_GOLD} = xdefault; then
   2978 	    default_ld=gold
   2979 	  fi
   2980 	  ENABLE_GOLD=yes
   2981           ;;
   2982       esac
   2983     fi
   2984     ;;
   2985   no)
   2986     ;;
   2987   *)
   2988     as_fn_error "invalid --enable-gold argument" "$LINENO" 5
   2989     ;;
   2990 esac
   2991 
   2992 # Check whether --enable-ld was given.
   2993 if test "${enable_ld+set}" = set; then :
   2994   enableval=$enable_ld; ENABLE_LD=$enableval
   2995 else
   2996   ENABLE_LD=yes
   2997 fi
   2998 
   2999 
   3000 case "${ENABLE_LD}" in
   3001   default)
   3002     if test x${default_ld} != x; then
   3003       as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
   3004     fi
   3005     ;;
   3006   yes)
   3007     ;;
   3008   no)
   3009     if test x${ENABLE_GOLD} != xyes; then
   3010       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
   3011 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
   3012     fi
   3013     configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
   3014     ;;
   3015   *)
   3016     as_fn_error "invalid --enable-ld argument" "$LINENO" 5
   3017     ;;
   3018 esac
   3019 
   3020 # Configure extra directories which are host specific
   3021 
   3022 case "${host}" in
   3023   *-cygwin*)
   3024     configdirs="$configdirs libtermcap" ;;
   3025 esac
   3026 
   3027 # A target can indicate whether a language isn't supported for some reason.
   3028 # Only spaces may be used in this macro; not newlines or tabs.
   3029 unsupported_languages=
   3030 
   3031 # Remove more programs from consideration, based on the host or
   3032 # target this usually means that a port of the program doesn't
   3033 # exist yet.
   3034 
   3035 case "${host}" in
   3036   i[3456789]86-*-msdosdjgpp*)
   3037     noconfigdirs="$noconfigdirs tcl tk itcl"
   3038     ;;
   3039 esac
   3040 
   3041 
   3042 # Check whether --enable-libquadmath was given.
   3043 if test "${enable_libquadmath+set}" = set; then :
   3044   enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
   3045 else
   3046   ENABLE_LIBQUADMATH=yes
   3047 fi
   3048 
   3049 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
   3050   noconfigdirs="$noconfigdirs target-libquadmath"
   3051 fi
   3052 
   3053 
   3054 # Check whether --enable-libquadmath-support was given.
   3055 if test "${enable_libquadmath_support+set}" = set; then :
   3056   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
   3057 else
   3058   ENABLE_LIBQUADMATH_SUPPORT=yes
   3059 fi
   3060 
   3061 enable_libquadmath_support=
   3062 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
   3063   enable_libquadmath_support=no
   3064 fi
   3065 
   3066 
   3067 # Check whether --enable-libada was given.
   3068 if test "${enable_libada+set}" = set; then :
   3069   enableval=$enable_libada; ENABLE_LIBADA=$enableval
   3070 else
   3071   ENABLE_LIBADA=yes
   3072 fi
   3073 
   3074 if test "${ENABLE_LIBADA}" != "yes" ; then
   3075   noconfigdirs="$noconfigdirs gnattools"
   3076 fi
   3077 
   3078 # Check whether --enable-libssp was given.
   3079 if test "${enable_libssp+set}" = set; then :
   3080   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
   3081 else
   3082   ENABLE_LIBSSP=yes
   3083 fi
   3084 
   3085 
   3086 # Check whether --enable-libstdcxx was given.
   3087 if test "${enable_libstdcxx+set}" = set; then :
   3088   enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
   3089 else
   3090   ENABLE_LIBSTDCXX=default
   3091 fi
   3092 
   3093 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
   3094   noconfigdirs="$noconfigdirs libstdc++-v3"
   3095 fi
   3096 
   3097 # Save it here so that, even in case of --enable-libgcj, if the Java
   3098 # front-end isn't enabled, we still get libgcj disabled.
   3099 libgcj_saved=$libgcj
   3100 case $enable_libgcj in
   3101 yes)
   3102   # If we reset it here, it won't get added to noconfigdirs in the
   3103   # target-specific build rules, so it will be forcibly enabled
   3104   # (unless the Java language itself isn't enabled).
   3105   libgcj=
   3106   ;;
   3107 no)
   3108   # Make sure we get it printed in the list of not supported target libs.
   3109   # Don't disable libffi, though, other languages use it.
   3110   noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
   3111   # Clear libgcj_saved so that even if java is enabled libffi won't be
   3112   # built.
   3113   libgcj_saved=
   3114   ;;
   3115 esac
   3116 
   3117 # Check whether --enable-static-libjava was given.
   3118 if test "${enable_static_libjava+set}" = set; then :
   3119   enableval=$enable_static_libjava; ENABLE_STATIC_LIBJAVA=$enableval
   3120 else
   3121   ENABLE_STATIC_LIBJAVA=no
   3122 fi
   3123 
   3124 enable_static_libjava=
   3125 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
   3126   enable_static_libjava=yes
   3127 fi
   3128 
   3129 if test x$enable_static_libjava != xyes ; then
   3130   EXTRA_CONFIGARGS_LIBJAVA=--disable-static
   3131 fi
   3132 
   3133 
   3134 # Disable libgomp on non POSIX hosted systems.
   3135 if test x$enable_libgomp = x ; then
   3136     # Enable libgomp by default on hosted POSIX systems.
   3137     case "${target}" in
   3138     *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3139 	;;
   3140     *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
   3141 	;;
   3142     *-*-solaris2* | *-*-hpux11*)
   3143 	;;
   3144     *-*-darwin* | *-*-aix*)
   3145 	;;
   3146     *)
   3147 	noconfigdirs="$noconfigdirs target-libgomp"
   3148 	;;
   3149     esac
   3150 fi
   3151 
   3152 # Disable libatomic on unsupported systems.
   3153 if test -d ${srcdir}/libatomic; then
   3154     if test x$enable_libatomic = x; then
   3155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
   3156 $as_echo_n "checking for libatomic support... " >&6; }
   3157 	if (srcdir=${srcdir}/libatomic; \
   3158 		. ${srcdir}/configure.tgt; \
   3159 		test -n "$UNSUPPORTED")
   3160 	then
   3161 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3162 $as_echo "no" >&6; }
   3163 	    noconfigdirs="$noconfigdirs target-libatomic"
   3164 	else
   3165 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3166 $as_echo "yes" >&6; }
   3167 	fi
   3168     fi
   3169 fi
   3170 
   3171 # Disable libcilkrts on unsupported systems.
   3172 if test -d ${srcdir}/libcilkrts; then
   3173     if test x$enable_libcilkrts = x; then
   3174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
   3175 $as_echo_n "checking for libcilkrts support... " >&6; }
   3176 	if (srcdir=${srcdir}/libcilkrts; \
   3177 		. ${srcdir}/configure.tgt; \
   3178 		test -n "$UNSUPPORTED")
   3179 	then
   3180 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3181 $as_echo "no" >&6; }
   3182 	    noconfigdirs="$noconfigdirs target-libcilkrts"
   3183 	else
   3184 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3185 $as_echo "yes" >&6; }
   3186 	fi
   3187     fi
   3188 fi
   3189 
   3190 # Disable libitm on unsupported systems.
   3191 if test -d ${srcdir}/libitm; then
   3192     if test x$enable_libitm = x; then
   3193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
   3194 $as_echo_n "checking for libitm support... " >&6; }
   3195 	if (srcdir=${srcdir}/libitm; \
   3196 		. ${srcdir}/configure.tgt; \
   3197 		test -n "$UNSUPPORTED")
   3198 	then
   3199 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3200 $as_echo "no" >&6; }
   3201 	    noconfigdirs="$noconfigdirs target-libitm"
   3202 	else
   3203 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3204 $as_echo "yes" >&6; }
   3205 	fi
   3206     fi
   3207 fi
   3208 
   3209 # Disable libsanitizer on unsupported systems.
   3210 if test -d ${srcdir}/libsanitizer; then
   3211     if test x$enable_libsanitizer = x; then
   3212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
   3213 $as_echo_n "checking for libsanitizer support... " >&6; }
   3214 	if (srcdir=${srcdir}/libsanitizer; \
   3215 		. ${srcdir}/configure.tgt; \
   3216 		test -n "$UNSUPPORTED")
   3217 	then
   3218 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3219 $as_echo "no" >&6; }
   3220 	    noconfigdirs="$noconfigdirs target-libsanitizer"
   3221 	else
   3222 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3223 $as_echo "yes" >&6; }
   3224 	fi
   3225     fi
   3226 fi
   3227 
   3228 # Disable libvtv on unsupported systems.
   3229 if test -d ${srcdir}/libvtv; then
   3230     if test x$enable_libvtv = x; then
   3231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
   3232 $as_echo_n "checking for libvtv support... " >&6; }
   3233 	if (srcdir=${srcdir}/libvtv; \
   3234 		. ${srcdir}/configure.tgt; \
   3235 		test "$VTV_SUPPORTED" != "yes")
   3236 	then
   3237 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3238 $as_echo "no" >&6; }
   3239 	    noconfigdirs="$noconfigdirs target-libvtv"
   3240 	else
   3241 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3242 $as_echo "yes" >&6; }
   3243 	fi
   3244     fi
   3245 fi
   3246 
   3247 # Disable libquadmath for some systems.
   3248 case "${target}" in
   3249   avr-*-*)
   3250     noconfigdirs="$noconfigdirs target-libquadmath"
   3251     ;;
   3252   # libquadmath is unused on AIX and libquadmath build process use of
   3253   # LD_LIBRARY_PATH can break AIX bootstrap.
   3254   powerpc-*-aix* | rs6000-*-aix*)
   3255     noconfigdirs="$noconfigdirs target-libquadmath"
   3256     ;;
   3257 esac
   3258 
   3259 # Disable libssp for some systems.
   3260 case "${target}" in
   3261   avr-*-*)
   3262     # No hosted I/O support.
   3263     noconfigdirs="$noconfigdirs target-libssp"
   3264     ;;
   3265   powerpc-*-aix* | rs6000-*-aix*)
   3266     noconfigdirs="$noconfigdirs target-libssp"
   3267     ;;
   3268   rl78-*-*)
   3269     # libssp uses a misaligned load to trigger a fault, but the RL78
   3270     # doesn't fault for those - instead, it gives a build-time error
   3271     # for explicit misaligned loads.
   3272     noconfigdirs="$noconfigdirs target-libssp"
   3273     ;;
   3274 esac
   3275 
   3276 # Disable libstdc++-v3 for some systems.
   3277 # Allow user to override this if they pass --enable-libstdc++-v3
   3278 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
   3279   case "${target}" in
   3280     *-*-vxworks*)
   3281       # VxWorks uses the Dinkumware C++ library.
   3282       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3283       ;;
   3284     arm*-wince-pe*)
   3285       # the C++ libraries don't build on top of CE's C libraries
   3286       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3287       ;;
   3288     avr-*-*)
   3289       noconfigdirs="$noconfigdirs target-libstdc++-v3"
   3290       ;;
   3291   esac
   3292 fi
   3293 
   3294 # Disable Fortran for some systems.
   3295 case "${target}" in
   3296   mmix-*-*)
   3297     # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
   3298     unsupported_languages="$unsupported_languages fortran"
   3299     ;;
   3300 esac
   3301 
   3302 # Disable Java if libffi is not supported.
   3303 case "${target}" in
   3304   aarch64-*-*)
   3305     ;;
   3306   alpha*-*-*)
   3307     ;;
   3308   arm*-*-*)
   3309     ;;
   3310   cris-*-*)
   3311     ;;
   3312   frv-*-*)
   3313     ;;
   3314   hppa*-*-linux*)
   3315     ;;
   3316   hppa*-*-hpux*)
   3317     ;;
   3318   i?86-*-*)
   3319     ;;
   3320   ia64*-*-*)
   3321     ;;
   3322   m32r*-*-*)
   3323     ;;
   3324   m68k-*-*)
   3325     ;;
   3326   mips*-*-rtems*)
   3327     ;;
   3328   mips*-*-linux*)
   3329     ;;
   3330   powerpc*-*-linux*)
   3331     ;;
   3332   powerpc-*-darwin*)
   3333     ;;
   3334   powerpc-*-aix* | rs6000-*-aix*)
   3335     ;;
   3336   powerpc-*-freebsd*)
   3337     ;;
   3338   powerpc64-*-freebsd*)
   3339     ;;
   3340   powerpc*-*-rtems*)
   3341     ;;
   3342   s390-*-* | s390x-*-*)
   3343     ;;
   3344   sh-*-* | sh[34]*-*-*)
   3345     ;;
   3346   sh64-*-* | sh5*-*-*)
   3347     ;;
   3348   sparc*-*-*)
   3349     ;;
   3350   x86_64-*-*)
   3351     ;;
   3352   *-*-*)
   3353     unsupported_languages="$unsupported_languages java"
   3354     ;;
   3355 esac
   3356 
   3357 # Disable Java, libgcj or related libraries for some systems.
   3358 case "${target}" in
   3359   powerpc-*-darwin*)
   3360     ;;
   3361   i[3456789]86-*-darwin*)
   3362     ;;
   3363   x86_64-*-darwin[912]*)
   3364     ;;
   3365   *-*-darwin*)
   3366     noconfigdirs="$noconfigdirs ${libgcj}"
   3367     ;;
   3368   *-*-netware*)
   3369     noconfigdirs="$noconfigdirs ${libgcj}"
   3370     ;;
   3371   *-*-rtems*)
   3372     noconfigdirs="$noconfigdirs ${libgcj}"
   3373     ;;
   3374   *-*-tpf*)
   3375     noconfigdirs="$noconfigdirs ${libgcj}"
   3376     ;;
   3377   *-*-uclinux*)
   3378     noconfigdirs="$noconfigdirs ${libgcj}"
   3379     ;;
   3380   *-*-vxworks*)
   3381     noconfigdirs="$noconfigdirs ${libgcj}"
   3382     ;;
   3383   alpha*-*-*vms*)
   3384     noconfigdirs="$noconfigdirs ${libgcj}"
   3385     ;;
   3386   arm-wince-pe)
   3387     noconfigdirs="$noconfigdirs ${libgcj}"
   3388     ;;
   3389   arm*-*-symbianelf*)
   3390     noconfigdirs="$noconfigdirs ${libgcj}"
   3391     ;;
   3392   bfin-*-*)
   3393     noconfigdirs="$noconfigdirs target-boehm-gc"
   3394     ;;
   3395   cris-*-* | crisv32-*-*)
   3396     unsupported_languages="$unsupported_languages java"
   3397     case "${target}" in
   3398       *-*-linux*)
   3399 	;;
   3400       *) # See PR46792 regarding target-libffi.
   3401 	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
   3402     esac
   3403     ;;
   3404   hppa*64*-*-linux*)
   3405     # In this case, it's because the hppa64-linux target is for
   3406     # the kernel only at this point and has no libc, and thus no
   3407     # headers, crt*.o, etc., all of which are needed by these.
   3408     unsupported_languages="$unsupported_languages java"
   3409     ;;
   3410   hppa*64*-*-hpux*)
   3411     noconfigdirs="$noconfigdirs ${libgcj}"
   3412     ;;
   3413   hppa*-hp-hpux11*)
   3414     ;;
   3415   hppa*-*-hpux*)
   3416     # According to Alexandre Oliva <aoliva (at] redhat.com>, libjava won't
   3417     # build on HP-UX 10.20.
   3418     noconfigdirs="$noconfigdirs ${libgcj}"
   3419     ;;
   3420   ia64*-*-*vms*)
   3421     noconfigdirs="$noconfigdirs ${libgcj}"
   3422     ;;
   3423   i[3456789]86-w64-mingw*)
   3424     noconfigdirs="$noconfigdirs ${libgcj}"
   3425     ;;
   3426   i[3456789]86-*-mingw*)
   3427     noconfigdirs="$noconfigdirs ${libgcj}"
   3428     ;;
   3429   x86_64-*-mingw*)
   3430     noconfigdirs="$noconfigdirs ${libgcj}"
   3431     ;;
   3432   mmix-*-*)
   3433     noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
   3434     ;;
   3435   powerpc-*-aix*)
   3436     # copied from rs6000-*-* entry
   3437     noconfigdirs="$noconfigdirs ${libgcj}"
   3438     ;;
   3439   rs6000-*-aix*)
   3440     noconfigdirs="$noconfigdirs ${libgcj}"
   3441     ;;
   3442   *-*-lynxos*)
   3443     noconfigdirs="$noconfigdirs ${libgcj}"
   3444     ;;
   3445 esac
   3446 
   3447 # Disable libgo for some systems where it is known to not work.
   3448 # For testing, you can easily override this with --enable-libgo.
   3449 if test x$enable_libgo = x; then
   3450     case "${target}" in
   3451     *-*-darwin*)
   3452 	# PR 46986
   3453 	noconfigdirs="$noconfigdirs target-libgo"
   3454 	;;
   3455     *-*-cygwin* | *-*-mingw*)
   3456 	noconfigdirs="$noconfigdirs target-libgo"
   3457 	;;
   3458     *-*-aix*)
   3459 	noconfigdirs="$noconfigdirs target-libgo"
   3460 	;;
   3461     esac
   3462 fi
   3463 
   3464 # Default libgloss CPU subdirectory.
   3465 libgloss_dir="$target_cpu"
   3466 
   3467 case "${target}" in
   3468   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3469     libgloss_dir=wince
   3470     ;;
   3471   aarch64*-*-* )
   3472     libgloss_dir=aarch64
   3473     ;;
   3474   arm*-*-*)
   3475     libgloss_dir=arm
   3476     ;;
   3477   cris-*-* | crisv32-*-*)
   3478     libgloss_dir=cris
   3479     ;;
   3480   hppa*-*-*)
   3481     libgloss_dir=pa
   3482     ;;
   3483   i[3456789]86-*-*)
   3484     libgloss_dir=i386
   3485     ;;
   3486   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
   3487     libgloss_dir=m68hc11
   3488     ;;
   3489   m68*-*-* | fido-*-*)
   3490     libgloss_dir=m68k
   3491     ;;
   3492   mips*-*-*)
   3493     libgloss_dir=mips
   3494     ;;
   3495   powerpc*-*-*)
   3496     libgloss_dir=rs6000
   3497     ;;
   3498   sparc*-*-*)
   3499     libgloss_dir=sparc
   3500     ;;
   3501 esac
   3502 
   3503 # Disable newlib and libgloss for various target OSes.
   3504 case "${target}" in
   3505   alpha*-dec-osf*)
   3506     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3507     ;;
   3508   i[3456789]86-*-linux*)
   3509     # This section makes it possible to build newlib natively on linux.
   3510     # If we are using a cross compiler then don't configure newlib.
   3511     if test x${is_cross_compiler} != xno ; then
   3512       noconfigdirs="$noconfigdirs target-newlib"
   3513     fi
   3514     noconfigdirs="$noconfigdirs target-libgloss"
   3515     # If we are not using a cross compiler, do configure newlib.
   3516     # Note however, that newlib will only be configured in this situation
   3517     # if the --with-newlib option has been given, because otherwise
   3518     # 'target-newlib' will appear in skipdirs.
   3519     ;;
   3520   i[3456789]86-*-rdos*)
   3521     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3522     ;;
   3523   sh*-*-pe|mips*-*-pe|arm-wince-pe)
   3524     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3525     ;;
   3526   sparc-*-sunos4*)
   3527     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3528     ;;
   3529   *-*-aix*)
   3530     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3531     ;;
   3532   *-*-beos*)
   3533     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3534     ;;
   3535   *-*-chorusos)
   3536     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3537     ;;
   3538   *-*-dragonfly*)
   3539     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3540     ;;
   3541   *-*-freebsd*)
   3542     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3543     ;;
   3544   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
   3545     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3546     ;;
   3547   *-*-lynxos*)
   3548     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3549     ;;
   3550   *-*-mingw*)
   3551     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3552     ;;
   3553   *-*-netbsd*)
   3554     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3555     ;;
   3556   *-*-netware*)
   3557     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3558     ;;
   3559   *-*-tpf*)
   3560     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3561     ;;
   3562   *-*-uclinux*)
   3563     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3564     ;;
   3565   *-*-vxworks*)
   3566     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3567     ;;
   3568 esac
   3569 
   3570 case "${target}" in
   3571   *-*-chorusos)
   3572     ;;
   3573   powerpc-*-darwin*)
   3574     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3575     noconfigdirs="$noconfigdirs sim target-rda"
   3576     ;;
   3577   i[3456789]86-*-darwin*)
   3578     noconfigdirs="$noconfigdirs ld gprof"
   3579     noconfigdirs="$noconfigdirs sim target-rda"
   3580     ;;
   3581   x86_64-*-darwin[912]*)
   3582     noconfigdirs="$noconfigdirs ld gas gprof"
   3583     noconfigdirs="$noconfigdirs sim target-rda"
   3584     ;;
   3585   *-*-darwin*)
   3586     noconfigdirs="$noconfigdirs ld gas gdb gprof"
   3587     noconfigdirs="$noconfigdirs sim target-rda"
   3588     ;;
   3589   *-*-dragonfly*)
   3590     ;;
   3591   *-*-freebsd*)
   3592     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
   3593 	&& test -f /usr/local/include/gmp.h; then
   3594       with_gmp=/usr/local
   3595     fi
   3596     ;;
   3597   *-*-kaos*)
   3598     # Remove unsupported stuff on all kaOS configurations.
   3599     noconfigdirs="$noconfigdirs target-libgloss"
   3600     ;;
   3601   *-*-netbsd*)
   3602     ;;
   3603   *-*-netware*)
   3604     ;;
   3605   *-*-rtems*)
   3606     noconfigdirs="$noconfigdirs target-libgloss"
   3607     # this is not caught below because this stanza matches earlier
   3608     case $target in
   3609       or1k*-*-*) noconfigdirs="$noconfigdirs gdb" ;;
   3610     esac
   3611     ;;
   3612     # The tpf target doesn't support gdb yet.
   3613   *-*-tpf*)
   3614     noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
   3615     ;;
   3616   *-*-uclinux*)
   3617     noconfigdirs="$noconfigdirs target-rda"
   3618     ;;
   3619   *-*-vxworks*)
   3620     ;;
   3621   alpha*-dec-osf*)
   3622     # ld works, but does not support shared libraries.
   3623     # gas doesn't generate exception information.
   3624     noconfigdirs="$noconfigdirs gas ld"
   3625     ;;
   3626   alpha*-*-*vms*)
   3627     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
   3628     ;;
   3629   alpha*-*-*)
   3630     # newlib is not 64 bit ready
   3631     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3632     ;;
   3633   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
   3634     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
   3635     ;;
   3636   arc-*-*|arceb-*-*)
   3637     noconfigdirs="$noconfigdirs target-libgloss"
   3638     ;;
   3639   arm-*-pe*)
   3640     noconfigdirs="$noconfigdirs target-libgloss"
   3641     ;;
   3642   arm-*-riscix*)
   3643     noconfigdirs="$noconfigdirs ld target-libgloss"
   3644     ;;
   3645   avr-*-rtems*)
   3646     ;;
   3647   avr-*-*)
   3648     if test x${with_avrlibc} != xno; then
   3649       noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3650     fi
   3651     ;;
   3652   c4x-*-* | tic4x-*-*)
   3653     noconfigdirs="$noconfigdirs target-libgloss"
   3654     ;;
   3655   tic54x-*-*)
   3656     noconfigdirs="$noconfigdirs target-libgloss gdb"
   3657     ;;
   3658   d10v-*-*)
   3659     noconfigdirs="$noconfigdirs target-libgloss"
   3660     ;;
   3661   d30v-*-*)
   3662     noconfigdirs="$noconfigdirs gdb"
   3663     ;;
   3664   fr30-*-elf*)
   3665     noconfigdirs="$noconfigdirs gdb"
   3666     ;;
   3667   moxie-*-*)
   3668     noconfigdirs="$noconfigdirs gprof"
   3669     ;;
   3670   h8300*-*-*)
   3671     noconfigdirs="$noconfigdirs target-libgloss"
   3672     ;;
   3673   h8500-*-*)
   3674     noconfigdirs="$noconfigdirs target-libgloss"
   3675     ;;
   3676   hppa1.1-*-osf* | hppa1.1-*-bsd* )
   3677     ;;
   3678   hppa*64*-*-linux*)
   3679     ;;
   3680   hppa*-*-linux*)
   3681     ;;
   3682   hppa*-*-*elf* | \
   3683   hppa*-*-lites* | \
   3684   hppa*-*-openbsd* | \
   3685   hppa*64*-*-*)
   3686     ;;
   3687   hppa*-hp-hpux11*)
   3688     noconfigdirs="$noconfigdirs ld"
   3689     ;;
   3690   hppa*-*-pro*)
   3691     ;;
   3692   hppa*-*-*)
   3693     noconfigdirs="$noconfigdirs ld"
   3694     ;;
   3695   i960-*-*)
   3696     noconfigdirs="$noconfigdirs gdb"
   3697     ;;
   3698   ia64*-*-elf*)
   3699     # No gdb support yet.
   3700     noconfigdirs="$noconfigdirs readline libgui itcl gdb"
   3701     ;;
   3702   ia64*-**-hpux*)
   3703     # No ld support yet.
   3704     noconfigdirs="$noconfigdirs libgui itcl ld"
   3705     ;;
   3706   ia64*-*-*vms*)
   3707     # No ld support yet.
   3708     noconfigdirs="$noconfigdirs libgui itcl ld"
   3709     ;;
   3710   i[3456789]86-w64-mingw*)
   3711     ;;
   3712   i[3456789]86-*-mingw*)
   3713     target_configdirs="$target_configdirs target-winsup"
   3714     ;;
   3715   *-*-cygwin*)
   3716     target_configdirs="$target_configdirs target-libtermcap target-winsup"
   3717     noconfigdirs="$noconfigdirs target-libgloss"
   3718     # always build newlib if winsup directory is present.
   3719     if test -d "$srcdir/winsup/cygwin"; then
   3720       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3721     elif test -d "$srcdir/newlib"; then
   3722       echo "Warning: winsup/cygwin is missing so newlib can't be built."
   3723     fi
   3724     ;;
   3725   i[3456789]86-*-pe)
   3726     noconfigdirs="$noconfigdirs target-libgloss"
   3727     ;;
   3728   i[3456789]86-*-sco3.2v5*)
   3729     # The linker does not yet know about weak symbols in COFF,
   3730     # and is not configured to handle mixed ELF and COFF.
   3731     noconfigdirs="$noconfigdirs ld target-libgloss"
   3732     ;;
   3733   i[3456789]86-*-sco*)
   3734     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3735     ;;
   3736   i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
   3737     noconfigdirs="$noconfigdirs target-libgloss"
   3738     ;;
   3739   i[3456789]86-*-sysv4*)
   3740     noconfigdirs="$noconfigdirs target-libgloss"
   3741     ;;
   3742   i[3456789]86-*-beos*)
   3743     noconfigdirs="$noconfigdirs gdb"
   3744     ;;
   3745   i[3456789]86-*-rdos*)
   3746     noconfigdirs="$noconfigdirs gdb"
   3747     ;;
   3748   mmix-*-*)
   3749     noconfigdirs="$noconfigdirs gdb"
   3750     ;;
   3751   mt-*-*)
   3752     noconfigdirs="$noconfigdirs sim"
   3753     ;;
   3754   powerpc-*-aix*)
   3755     # copied from rs6000-*-* entry
   3756     noconfigdirs="$noconfigdirs gprof"
   3757     ;;
   3758   powerpc*-*-winnt* | powerpc*-*-pe*)
   3759     target_configdirs="$target_configdirs target-winsup"
   3760     noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
   3761     # always build newlib.
   3762     skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
   3763     ;;
   3764     # This is temporary until we can link against shared libraries
   3765   powerpcle-*-solaris*)
   3766     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
   3767     ;;
   3768   powerpc-*-beos*)
   3769     noconfigdirs="$noconfigdirs gdb"
   3770     ;;
   3771   rs6000-*-lynxos*)
   3772     noconfigdirs="$noconfigdirs gprof"
   3773     ;;
   3774   rs6000-*-aix*)
   3775     noconfigdirs="$noconfigdirs gprof"
   3776     ;;
   3777   rs6000-*-*)
   3778     noconfigdirs="$noconfigdirs gprof"
   3779     ;;
   3780   m68k-apollo-*)
   3781     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
   3782     ;;
   3783   microblaze*)
   3784     noconfigdirs="$noconfigdirs gprof"
   3785     ;;
   3786   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
   3787     if test x$with_newlib = xyes; then
   3788       noconfigdirs="$noconfigdirs gprof"
   3789     fi
   3790     ;;
   3791   mips*-*-irix5*)
   3792     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3793     ;;
   3794   mips*-*-irix6*)
   3795     noconfigdirs="$noconfigdirs gprof target-libgloss"
   3796     ;;
   3797   mips*-*-bsd*)
   3798     noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
   3799     ;;
   3800   mips*-*-linux*)
   3801     ;;
   3802   mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
   3803   | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
   3804     noconfigdirs="$noconfigdirs ld gas gprof"
   3805     ;;
   3806   mips*-*-*)
   3807     noconfigdirs="$noconfigdirs gprof"
   3808     ;;
   3809   nds32*-*-*)
   3810     noconfigdirs="$noconfigdirs gdb"
   3811     ;;
   3812   or1k*-*-*)
   3813     noconfigdirs="$noconfigdirs gdb"
   3814     ;;
   3815   sh-*-* | sh64-*-*)
   3816     case "${target}" in
   3817       sh*-*-elf)
   3818          ;;
   3819       *)
   3820          noconfigdirs="$noconfigdirs target-libgloss" ;;
   3821     esac
   3822     ;;
   3823   sparc-*-sunos4*)
   3824     if test x${is_cross_compiler} = xno ; then
   3825            use_gnu_ld=no
   3826     fi
   3827     ;;
   3828   tic6x-*-*)
   3829     noconfigdirs="$noconfigdirs sim"
   3830     ;;
   3831   tilepro*-*-* | tilegx*-*-*)
   3832     noconfigdirs="$noconfigdirs sim"
   3833     ;;
   3834   v810-*-*)
   3835     noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
   3836     ;;
   3837   vax-*-*)
   3838     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   3839     ;;
   3840 esac
   3841 
   3842 # If we aren't building newlib, then don't build libgloss, since libgloss
   3843 # depends upon some newlib header files.
   3844 case "${noconfigdirs}" in
   3845   *target-libgloss*) ;;
   3846   *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
   3847 esac
   3848 
   3849 # Work in distributions that contain no compiler tools, like Autoconf.
   3850 host_makefile_frag=/dev/null
   3851 if test -d ${srcdir}/config ; then
   3852 case "${host}" in
   3853   i[3456789]86-*-msdosdjgpp*)
   3854     host_makefile_frag="config/mh-djgpp"
   3855     ;;
   3856   *-cygwin*)
   3857 
   3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
   3859 $as_echo_n "checking to see if cat works as expected... " >&6; }
   3860 echo a >cygwin-cat-check
   3861 if test `cat cygwin-cat-check` = a ; then
   3862   rm cygwin-cat-check
   3863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3864 $as_echo "yes" >&6; }
   3865 else
   3866   rm cygwin-cat-check
   3867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3868 $as_echo "no" >&6; }
   3869   as_fn_error "The cat command does not ignore carriage return characters.
   3870   Please either mount the build directory in binary mode or run the following
   3871   commands before running any configure script: