1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for GNU C Runtime Library 1.0.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
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'
70fi
71
72# The user is always right.
73if 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  }
79fi
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.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='GNU C Runtime Library'
579PACKAGE_TARNAME='libgcc'
580PACKAGE_VERSION='1.0'
581PACKAGE_STRING='GNU C Runtime Library 1.0'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL='http://www.gnu.org/software/libgcc/'
584
585ac_unique_file="static-object.mk"
586ac_includes_default='/* none */'
587ac_subst_vars='LTLIBOBJS
588LIBOBJS
589md_unwind_header
590unwind_header
591enable_execute_stack
592asm_hidden_op
593extra_parts
594cpu_type
595get_gcc_base_ver
596thread_header
597tm_defines
598tm_file
599tmake_file
600sfp_machine_header
601set_use_emutls
602set_have_cc_tls
603vis_hide
604solaris_ld_v2_maps
605real_host_noncanonical
606accel_dir_suffix
607force_explicit_eh_registry
608CET_FLAGS
609fixed_point
610enable_decimal_float
611decimal_float
612EGREP
613GREP
614long_double_type_size
615double_type_size
616CPP
617OBJEXT
618EXEEXT
619ac_ct_CC
620CPPFLAGS
621LDFLAGS
622CFLAGS
623CC
624LN_S
625STRIP
626RANLIB
627NM
628LIPO
629AR
630toolexeclibdir
631toolexecdir
632target_subdir
633host_subdir
634build_subdir
635build_libsubdir
636target_noncanonical
637host_noncanonical
638AWK
639INSTALL_DATA
640INSTALL_SCRIPT
641INSTALL_PROGRAM
642MAINT
643slibdir
644PICFLAG
645host_os
646host_vendor
647host_cpu
648host
649build_os
650build_vendor
651build_cpu
652build
653with_aix_soname
654enable_vtable_verify
655enable_gcov
656enable_shared
657libgcc_topdir
658target_alias
659host_alias
660build_alias
661LIBS
662ECHO_T
663ECHO_N
664ECHO_C
665DEFS
666mandir
667localedir
668libdir
669psdir
670pdfdir
671dvidir
672htmldir
673infodir
674docdir
675oldincludedir
676includedir
677runstatedir
678localstatedir
679sharedstatedir
680sysconfdir
681datadir
682datarootdir
683libexecdir
684sbindir
685bindir
686program_transform_name
687prefix
688exec_prefix
689PACKAGE_URL
690PACKAGE_BUGREPORT
691PACKAGE_STRING
692PACKAGE_VERSION
693PACKAGE_TARNAME
694PACKAGE_NAME
695PATH_SEPARATOR
696SHELL'
697ac_subst_files=''
698ac_user_opts='
699enable_option_checking
700with_target_subdir
701with_cross_host
702with_ld
703enable_shared
704enable_gcov
705enable_vtable_verify
706with_aix_soname
707enable_version_specific_runtime_libs
708with_slibdir
709enable_maintainer_mode
710with_build_libsubdir
711enable_largefile
712enable_decimal_float
713with_system_libunwind
714enable_cet
715enable_explicit_exception_frame_registration
716with_glibc_version
717enable_tls
718with_gcc_major_version_only
719'
720      ac_precious_vars='build_alias
721host_alias
722target_alias
723CC
724CFLAGS
725LDFLAGS
726LIBS
727CPPFLAGS
728CPP'
729
730
731# Initialize some variables set by options.
732ac_init_help=
733ac_init_version=false
734ac_unrecognized_opts=
735ac_unrecognized_sep=
736# The variables have the same names as the options, with
737# dashes changed to underlines.
738cache_file=/dev/null
739exec_prefix=NONE
740no_create=
741no_recursion=
742prefix=NONE
743program_prefix=NONE
744program_suffix=NONE
745program_transform_name=s,x,x,
746silent=
747site=
748srcdir=
749verbose=
750x_includes=NONE
751x_libraries=NONE
752
753# Installation directory options.
754# These are left unexpanded so users can "make install exec_prefix=/foo"
755# and all the variables that are supposed to be based on exec_prefix
756# by default will actually change.
757# Use braces instead of parens because sh, perl, etc. also accept them.
758# (The list follows the same order as the GNU Coding Standards.)
759bindir='${exec_prefix}/bin'
760sbindir='${exec_prefix}/sbin'
761libexecdir='${exec_prefix}/libexec'
762datarootdir='${prefix}/share'
763datadir='${datarootdir}'
764sysconfdir='${prefix}/etc'
765sharedstatedir='${prefix}/com'
766localstatedir='${prefix}/var'
767runstatedir='${localstatedir}/run'
768includedir='${prefix}/include'
769oldincludedir='/usr/include'
770docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
771infodir='${datarootdir}/info'
772htmldir='${docdir}'
773dvidir='${docdir}'
774pdfdir='${docdir}'
775psdir='${docdir}'
776libdir='${exec_prefix}/lib'
777localedir='${datarootdir}/locale'
778mandir='${datarootdir}/man'
779
780ac_prev=
781ac_dashdash=
782for ac_option
783do
784  # If the previous option needs an argument, assign it.
785  if test -n "$ac_prev"; then
786    eval $ac_prev=\$ac_option
787    ac_prev=
788    continue
789  fi
790
791  case $ac_option in
792  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
793  *=)   ac_optarg= ;;
794  *)    ac_optarg=yes ;;
795  esac
796
797  # Accept the important Cygnus configure options, so we can diagnose typos.
798
799  case $ac_dashdash$ac_option in
800  --)
801    ac_dashdash=yes ;;
802
803  -bindir | --bindir | --bindi | --bind | --bin | --bi)
804    ac_prev=bindir ;;
805  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806    bindir=$ac_optarg ;;
807
808  -build | --build | --buil | --bui | --bu)
809    ac_prev=build_alias ;;
810  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811    build_alias=$ac_optarg ;;
812
813  -cache-file | --cache-file | --cache-fil | --cache-fi \
814  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815    ac_prev=cache_file ;;
816  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818    cache_file=$ac_optarg ;;
819
820  --config-cache | -C)
821    cache_file=config.cache ;;
822
823  -datadir | --datadir | --datadi | --datad)
824    ac_prev=datadir ;;
825  -datadir=* | --datadir=* | --datadi=* | --datad=*)
826    datadir=$ac_optarg ;;
827
828  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829  | --dataroo | --dataro | --datar)
830    ac_prev=datarootdir ;;
831  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833    datarootdir=$ac_optarg ;;
834
835  -disable-* | --disable-*)
836    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837    # Reject names that are not valid shell variable names.
838    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839      as_fn_error $? "invalid feature name: $ac_useropt"
840    ac_useropt_orig=$ac_useropt
841    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842    case $ac_user_opts in
843      *"
844"enable_$ac_useropt"
845"*) ;;
846      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847	 ac_unrecognized_sep=', ';;
848    esac
849    eval enable_$ac_useropt=no ;;
850
851  -docdir | --docdir | --docdi | --doc | --do)
852    ac_prev=docdir ;;
853  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854    docdir=$ac_optarg ;;
855
856  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857    ac_prev=dvidir ;;
858  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859    dvidir=$ac_optarg ;;
860
861  -enable-* | --enable-*)
862    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863    # Reject names that are not valid shell variable names.
864    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865      as_fn_error $? "invalid feature name: $ac_useropt"
866    ac_useropt_orig=$ac_useropt
867    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868    case $ac_user_opts in
869      *"
870"enable_$ac_useropt"
871"*) ;;
872      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873	 ac_unrecognized_sep=', ';;
874    esac
875    eval enable_$ac_useropt=\$ac_optarg ;;
876
877  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879  | --exec | --exe | --ex)
880    ac_prev=exec_prefix ;;
881  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883  | --exec=* | --exe=* | --ex=*)
884    exec_prefix=$ac_optarg ;;
885
886  -gas | --gas | --ga | --g)
887    # Obsolete; use --with-gas.
888    with_gas=yes ;;
889
890  -help | --help | --hel | --he | -h)
891    ac_init_help=long ;;
892  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893    ac_init_help=recursive ;;
894  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895    ac_init_help=short ;;
896
897  -host | --host | --hos | --ho)
898    ac_prev=host_alias ;;
899  -host=* | --host=* | --hos=* | --ho=*)
900    host_alias=$ac_optarg ;;
901
902  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903    ac_prev=htmldir ;;
904  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905  | --ht=*)
906    htmldir=$ac_optarg ;;
907
908  -includedir | --includedir | --includedi | --included | --include \
909  | --includ | --inclu | --incl | --inc)
910    ac_prev=includedir ;;
911  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912  | --includ=* | --inclu=* | --incl=* | --inc=*)
913    includedir=$ac_optarg ;;
914
915  -infodir | --infodir | --infodi | --infod | --info | --inf)
916    ac_prev=infodir ;;
917  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918    infodir=$ac_optarg ;;
919
920  -libdir | --libdir | --libdi | --libd)
921    ac_prev=libdir ;;
922  -libdir=* | --libdir=* | --libdi=* | --libd=*)
923    libdir=$ac_optarg ;;
924
925  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926  | --libexe | --libex | --libe)
927    ac_prev=libexecdir ;;
928  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929  | --libexe=* | --libex=* | --libe=*)
930    libexecdir=$ac_optarg ;;
931
932  -localedir | --localedir | --localedi | --localed | --locale)
933    ac_prev=localedir ;;
934  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935    localedir=$ac_optarg ;;
936
937  -localstatedir | --localstatedir | --localstatedi | --localstated \
938  | --localstate | --localstat | --localsta | --localst | --locals)
939    ac_prev=localstatedir ;;
940  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942    localstatedir=$ac_optarg ;;
943
944  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945    ac_prev=mandir ;;
946  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947    mandir=$ac_optarg ;;
948
949  -nfp | --nfp | --nf)
950    # Obsolete; use --without-fp.
951    with_fp=no ;;
952
953  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954  | --no-cr | --no-c | -n)
955    no_create=yes ;;
956
957  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959    no_recursion=yes ;;
960
961  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963  | --oldin | --oldi | --old | --ol | --o)
964    ac_prev=oldincludedir ;;
965  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968    oldincludedir=$ac_optarg ;;
969
970  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971    ac_prev=prefix ;;
972  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973    prefix=$ac_optarg ;;
974
975  -program-prefix | --program-prefix | --program-prefi | --program-pref \
976  | --program-pre | --program-pr | --program-p)
977    ac_prev=program_prefix ;;
978  -program-prefix=* | --program-prefix=* | --program-prefi=* \
979  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980    program_prefix=$ac_optarg ;;
981
982  -program-suffix | --program-suffix | --program-suffi | --program-suff \
983  | --program-suf | --program-su | --program-s)
984    ac_prev=program_suffix ;;
985  -program-suffix=* | --program-suffix=* | --program-suffi=* \
986  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987    program_suffix=$ac_optarg ;;
988
989  -program-transform-name | --program-transform-name \
990  | --program-transform-nam | --program-transform-na \
991  | --program-transform-n | --program-transform- \
992  | --program-transform | --program-transfor \
993  | --program-transfo | --program-transf \
994  | --program-trans | --program-tran \
995  | --progr-tra | --program-tr | --program-t)
996    ac_prev=program_transform_name ;;
997  -program-transform-name=* | --program-transform-name=* \
998  | --program-transform-nam=* | --program-transform-na=* \
999  | --program-transform-n=* | --program-transform-=* \
1000  | --program-transform=* | --program-transfor=* \
1001  | --program-transfo=* | --program-transf=* \
1002  | --program-trans=* | --program-tran=* \
1003  | --progr-tra=* | --program-tr=* | --program-t=*)
1004    program_transform_name=$ac_optarg ;;
1005
1006  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007    ac_prev=pdfdir ;;
1008  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009    pdfdir=$ac_optarg ;;
1010
1011  -psdir | --psdir | --psdi | --psd | --ps)
1012    ac_prev=psdir ;;
1013  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014    psdir=$ac_optarg ;;
1015
1016  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017  | -silent | --silent | --silen | --sile | --sil)
1018    silent=yes ;;
1019
1020  -runstatedir | --runstatedir | --runstatedi | --runstated \
1021  | --runstate | --runstat | --runsta | --runst | --runs \
1022  | --run | --ru | --r)
1023    ac_prev=runstatedir ;;
1024  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1025  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1026  | --run=* | --ru=* | --r=*)
1027    runstatedir=$ac_optarg ;;
1028
1029  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030    ac_prev=sbindir ;;
1031  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032  | --sbi=* | --sb=*)
1033    sbindir=$ac_optarg ;;
1034
1035  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037  | --sharedst | --shareds | --shared | --share | --shar \
1038  | --sha | --sh)
1039    ac_prev=sharedstatedir ;;
1040  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043  | --sha=* | --sh=*)
1044    sharedstatedir=$ac_optarg ;;
1045
1046  -site | --site | --sit)
1047    ac_prev=site ;;
1048  -site=* | --site=* | --sit=*)
1049    site=$ac_optarg ;;
1050
1051  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052    ac_prev=srcdir ;;
1053  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054    srcdir=$ac_optarg ;;
1055
1056  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057  | --syscon | --sysco | --sysc | --sys | --sy)
1058    ac_prev=sysconfdir ;;
1059  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061    sysconfdir=$ac_optarg ;;
1062
1063  -target | --target | --targe | --targ | --tar | --ta | --t)
1064    ac_prev=target_alias ;;
1065  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066    target_alias=$ac_optarg ;;
1067
1068  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1069    verbose=yes ;;
1070
1071  -version | --version | --versio | --versi | --vers | -V)
1072    ac_init_version=: ;;
1073
1074  -with-* | --with-*)
1075    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076    # Reject names that are not valid shell variable names.
1077    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078      as_fn_error $? "invalid package name: $ac_useropt"
1079    ac_useropt_orig=$ac_useropt
1080    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081    case $ac_user_opts in
1082      *"
1083"with_$ac_useropt"
1084"*) ;;
1085      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086	 ac_unrecognized_sep=', ';;
1087    esac
1088    eval with_$ac_useropt=\$ac_optarg ;;
1089
1090  -without-* | --without-*)
1091    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092    # Reject names that are not valid shell variable names.
1093    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094      as_fn_error $? "invalid package name: $ac_useropt"
1095    ac_useropt_orig=$ac_useropt
1096    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097    case $ac_user_opts in
1098      *"
1099"with_$ac_useropt"
1100"*) ;;
1101      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102	 ac_unrecognized_sep=', ';;
1103    esac
1104    eval with_$ac_useropt=no ;;
1105
1106  --x)
1107    # Obsolete; use --with-x.
1108    with_x=yes ;;
1109
1110  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111  | --x-incl | --x-inc | --x-in | --x-i)
1112    ac_prev=x_includes ;;
1113  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115    x_includes=$ac_optarg ;;
1116
1117  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119    ac_prev=x_libraries ;;
1120  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122    x_libraries=$ac_optarg ;;
1123
1124  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1125Try \`$0 --help' for more information"
1126    ;;
1127
1128  *=*)
1129    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130    # Reject names that are not valid shell variable names.
1131    case $ac_envvar in #(
1132      '' | [0-9]* | *[!_$as_cr_alnum]* )
1133      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1134    esac
1135    eval $ac_envvar=\$ac_optarg
1136    export $ac_envvar ;;
1137
1138  *)
1139    # FIXME: should be removed in autoconf 3.0.
1140    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144    ;;
1145
1146  esac
1147done
1148
1149if test -n "$ac_prev"; then
1150  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151  as_fn_error $? "missing argument to $ac_option"
1152fi
1153
1154if test -n "$ac_unrecognized_opts"; then
1155  case $enable_option_checking in
1156    no) ;;
1157    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159  esac
1160fi
1161
1162# Check all directory arguments for consistency.
1163for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164		datadir sysconfdir sharedstatedir localstatedir includedir \
1165		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166		libdir localedir mandir runstatedir
1167do
1168  eval ac_val=\$$ac_var
1169  # Remove trailing slashes.
1170  case $ac_val in
1171    */ )
1172      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173      eval $ac_var=\$ac_val;;
1174  esac
1175  # Be sure to have absolute directory names.
1176  case $ac_val in
1177    [\\/$]* | ?:[\\/]* )  continue;;
1178    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179  esac
1180  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1181done
1182
1183# There might be people who depend on the old broken behavior: `$host'
1184# used to hold the argument of --host etc.
1185# FIXME: To remove some day.
1186build=$build_alias
1187host=$host_alias
1188target=$target_alias
1189
1190# FIXME: To remove some day.
1191if test "x$host_alias" != x; then
1192  if test "x$build_alias" = x; then
1193    cross_compiling=maybe
1194  elif test "x$build_alias" != "x$host_alias"; then
1195    cross_compiling=yes
1196  fi
1197fi
1198
1199ac_tool_prefix=
1200test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201
1202test "$silent" = yes && exec 6>/dev/null
1203
1204
1205ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206ac_ls_di=`ls -di .` &&
1207ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208  as_fn_error $? "working directory cannot be determined"
1209test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210  as_fn_error $? "pwd does not report name of working directory"
1211
1212
1213# Find the source files, if location was not specified.
1214if test -z "$srcdir"; then
1215  ac_srcdir_defaulted=yes
1216  # Try the directory containing this script, then the parent directory.
1217  ac_confdir=`$as_dirname -- "$as_myself" ||
1218$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219	 X"$as_myself" : 'X\(//\)[^/]' \| \
1220	 X"$as_myself" : 'X\(//\)$' \| \
1221	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222$as_echo X"$as_myself" |
1223    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224	    s//\1/
1225	    q
1226	  }
1227	  /^X\(\/\/\)[^/].*/{
1228	    s//\1/
1229	    q
1230	  }
1231	  /^X\(\/\/\)$/{
1232	    s//\1/
1233	    q
1234	  }
1235	  /^X\(\/\).*/{
1236	    s//\1/
1237	    q
1238	  }
1239	  s/.*/./; q'`
1240  srcdir=$ac_confdir
1241  if test ! -r "$srcdir/$ac_unique_file"; then
1242    srcdir=..
1243  fi
1244else
1245  ac_srcdir_defaulted=no
1246fi
1247if test ! -r "$srcdir/$ac_unique_file"; then
1248  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1250fi
1251ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252ac_abs_confdir=`(
1253	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254	pwd)`
1255# When building in place, set srcdir=.
1256if test "$ac_abs_confdir" = "$ac_pwd"; then
1257  srcdir=.
1258fi
1259# Remove unnecessary trailing slashes from srcdir.
1260# Double slashes in file names in object file debugging info
1261# mess up M-x gdb in Emacs.
1262case $srcdir in
1263*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264esac
1265for ac_var in $ac_precious_vars; do
1266  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267  eval ac_env_${ac_var}_value=\$${ac_var}
1268  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1270done
1271
1272#
1273# Report the --help message.
1274#
1275if test "$ac_init_help" = "long"; then
1276  # Omit some internal or obsolete options to make the list less imposing.
1277  # This message is too long to be a string in the A/UX 3.1 sh.
1278  cat <<_ACEOF
1279\`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1280
1281Usage: $0 [OPTION]... [VAR=VALUE]...
1282
1283To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284VAR=VALUE.  See below for descriptions of some of the useful variables.
1285
1286Defaults for the options are specified in brackets.
1287
1288Configuration:
1289  -h, --help              display this help and exit
1290      --help=short        display options specific to this package
1291      --help=recursive    display the short help of all the included packages
1292  -V, --version           display version information and exit
1293  -q, --quiet, --silent   do not print \`checking ...' messages
1294      --cache-file=FILE   cache test results in FILE [disabled]
1295  -C, --config-cache      alias for \`--cache-file=config.cache'
1296  -n, --no-create         do not create output files
1297      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1298
1299Installation directories:
1300  --prefix=PREFIX         install architecture-independent files in PREFIX
1301                          [$ac_default_prefix]
1302  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1303                          [PREFIX]
1304
1305By default, \`make install' will install all the files in
1306\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1307an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308for instance \`--prefix=\$HOME'.
1309
1310For better control, use the options below.
1311
1312Fine tuning of the installation directories:
1313  --bindir=DIR            user executables [EPREFIX/bin]
1314  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1315  --libexecdir=DIR        program executables [EPREFIX/libexec]
1316  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1317  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1318  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1319  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1320  --libdir=DIR            object code libraries [EPREFIX/lib]
1321  --includedir=DIR        C header files [PREFIX/include]
1322  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1323  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1324  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1325  --infodir=DIR           info documentation [DATAROOTDIR/info]
1326  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1327  --mandir=DIR            man documentation [DATAROOTDIR/man]
1328  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgcc]
1329  --htmldir=DIR           html documentation [DOCDIR]
1330  --dvidir=DIR            dvi documentation [DOCDIR]
1331  --pdfdir=DIR            pdf documentation [DOCDIR]
1332  --psdir=DIR             ps documentation [DOCDIR]
1333_ACEOF
1334
1335  cat <<\_ACEOF
1336
1337System types:
1338  --build=BUILD     configure for building on BUILD [guessed]
1339  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1340_ACEOF
1341fi
1342
1343if test -n "$ac_init_help"; then
1344  case $ac_init_help in
1345     short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";;
1346   esac
1347  cat <<\_ACEOF
1348
1349Optional Features:
1350  --disable-option-checking  ignore unrecognized --enable/--with options
1351  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1352  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1353  --disable-shared        don't provide a shared libgcc
1354  --disable-gcov          don't provide libgcov and related host tools
1355  --enable-vtable-verify    Enable vtable verification feature
1356  --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1357  --enable-maintainer-mode
1358                          enable make rules and dependencies not useful (and
1359                          sometimes confusing) to the casual installer
1360  --disable-largefile     omit support for large files
1361  --enable-decimal-float={no,yes,bid,dpd}
1362			enable decimal float extension to C.  Selecting 'bid'
1363			or 'dpd' choses which decimal floating point format
1364			to use
1365  --enable-cet            enable Intel CET in target libraries [default=no]
1366  --enable-explicit-exception-frame-registration
1367                          register exception tables explicitly at module
1368                          start, for use e.g. for compatibility with
1369                          installations without PT_GNU_EH_FRAME support
1370  --enable-tls            Use thread-local storage [default=yes]
1371
1372Optional Packages:
1373  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1374  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1375  --with-target-subdir=SUBDIR      Configuring in a subdirectory for target
1376  --with-cross-host=HOST           Configuring with a cross compiler
1377  --with-ld               arrange to use the specified ld (full pathname)
1378  --with-aix-soname=aix|svr4|both
1379                          shared library versioning (aka "SONAME") variant to
1380                          provide on AIX
1381  --with-slibdir=DIR      shared libraries in DIR LIBDIR
1382  --with-build-libsubdir=DIR  Directory where to find libraries for build system
1383  --with-system-libunwind use installed libunwind
1384  --with-glibc-version=M.N
1385                          assume GCC used with glibc version M.N or later
1386  --with-gcc-major-version-only
1387                          use only GCC major number in filesystem paths
1388
1389Some influential environment variables:
1390  CC          C compiler command
1391  CFLAGS      C compiler flags
1392  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1393              nonstandard directory <lib dir>
1394  LIBS        libraries to pass to the linker, e.g. -l<library>
1395  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1396              you have headers in a nonstandard directory <include dir>
1397  CPP         C preprocessor
1398
1399Use these variables to override the choices made by `configure' or to help
1400it to find libraries and programs with nonstandard names/locations.
1401
1402Report bugs to the package provider.
1403GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1404General help using GNU software: <http://www.gnu.org/gethelp/>.
1405_ACEOF
1406ac_status=$?
1407fi
1408
1409if test "$ac_init_help" = "recursive"; then
1410  # If there are subdirs, report their specific --help.
1411  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412    test -d "$ac_dir" ||
1413      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1414      continue
1415    ac_builddir=.
1416
1417case "$ac_dir" in
1418.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419*)
1420  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421  # A ".." for each directory in $ac_dir_suffix.
1422  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423  case $ac_top_builddir_sub in
1424  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426  esac ;;
1427esac
1428ac_abs_top_builddir=$ac_pwd
1429ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430# for backward compatibility:
1431ac_top_builddir=$ac_top_build_prefix
1432
1433case $srcdir in
1434  .)  # We are building in place.
1435    ac_srcdir=.
1436    ac_top_srcdir=$ac_top_builddir_sub
1437    ac_abs_top_srcdir=$ac_pwd ;;
1438  [\\/]* | ?:[\\/]* )  # Absolute name.
1439    ac_srcdir=$srcdir$ac_dir_suffix;
1440    ac_top_srcdir=$srcdir
1441    ac_abs_top_srcdir=$srcdir ;;
1442  *) # Relative name.
1443    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444    ac_top_srcdir=$ac_top_build_prefix$srcdir
1445    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446esac
1447ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448
1449    cd "$ac_dir" || { ac_status=$?; continue; }
1450    # Check for guested configure.
1451    if test -f "$ac_srcdir/configure.gnu"; then
1452      echo &&
1453      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454    elif test -f "$ac_srcdir/configure"; then
1455      echo &&
1456      $SHELL "$ac_srcdir/configure" --help=recursive
1457    else
1458      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459    fi || ac_status=$?
1460    cd "$ac_pwd" || { ac_status=$?; break; }
1461  done
1462fi
1463
1464test -n "$ac_init_help" && exit $ac_status
1465if $ac_init_version; then
1466  cat <<\_ACEOF
1467GNU C Runtime Library configure 1.0
1468generated by GNU Autoconf 2.69
1469
1470Copyright (C) 2012 Free Software Foundation, Inc.
1471This configure script is free software; the Free Software Foundation
1472gives unlimited permission to copy, distribute and modify it.
1473_ACEOF
1474  exit
1475fi
1476
1477## ------------------------ ##
1478## Autoconf initialization. ##
1479## ------------------------ ##
1480
1481# ac_fn_c_try_compile LINENO
1482# --------------------------
1483# Try to compile conftest.$ac_ext, and return whether this succeeded.
1484ac_fn_c_try_compile ()
1485{
1486  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487  rm -f conftest.$ac_objext
1488  if { { ac_try="$ac_compile"
1489case "(($ac_try" in
1490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491  *) ac_try_echo=$ac_try;;
1492esac
1493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494$as_echo "$ac_try_echo"; } >&5
1495  (eval "$ac_compile") 2>conftest.err
1496  ac_status=$?
1497  if test -s conftest.err; then
1498    grep -v '^ *+' conftest.err >conftest.er1
1499    cat conftest.er1 >&5
1500    mv -f conftest.er1 conftest.err
1501  fi
1502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503  test $ac_status = 0; } && {
1504	 test -z "$ac_c_werror_flag" ||
1505	 test ! -s conftest.err
1506       } && test -s conftest.$ac_objext; then :
1507  ac_retval=0
1508else
1509  $as_echo "$as_me: failed program was:" >&5
1510sed 's/^/| /' conftest.$ac_ext >&5
1511
1512	ac_retval=1
1513fi
1514  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515  as_fn_set_status $ac_retval
1516
1517} # ac_fn_c_try_compile
1518
1519# ac_fn_c_try_cpp LINENO
1520# ----------------------
1521# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1522ac_fn_c_try_cpp ()
1523{
1524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525  if { { ac_try="$ac_cpp conftest.$ac_ext"
1526case "(($ac_try" in
1527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528  *) ac_try_echo=$ac_try;;
1529esac
1530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531$as_echo "$ac_try_echo"; } >&5
1532  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1533  ac_status=$?
1534  if test -s conftest.err; then
1535    grep -v '^ *+' conftest.err >conftest.er1
1536    cat conftest.er1 >&5
1537    mv -f conftest.er1 conftest.err
1538  fi
1539  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540  test $ac_status = 0; } > conftest.i && {
1541	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1542	 test ! -s conftest.err
1543       }; then :
1544  ac_retval=0
1545else
1546  $as_echo "$as_me: failed program was:" >&5
1547sed 's/^/| /' conftest.$ac_ext >&5
1548
1549    ac_retval=1
1550fi
1551  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552  as_fn_set_status $ac_retval
1553
1554} # ac_fn_c_try_cpp
1555
1556# ac_fn_c_try_run LINENO
1557# ----------------------
1558# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1559# that executables *can* be run.
1560ac_fn_c_try_run ()
1561{
1562  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563  if { { ac_try="$ac_link"
1564case "(($ac_try" in
1565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566  *) ac_try_echo=$ac_try;;
1567esac
1568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569$as_echo "$ac_try_echo"; } >&5
1570  (eval "$ac_link") 2>&5
1571  ac_status=$?
1572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1574  { { case "(($ac_try" in
1575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576  *) ac_try_echo=$ac_try;;
1577esac
1578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579$as_echo "$ac_try_echo"; } >&5
1580  (eval "$ac_try") 2>&5
1581  ac_status=$?
1582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583  test $ac_status = 0; }; }; then :
1584  ac_retval=0
1585else
1586  $as_echo "$as_me: program exited with status $ac_status" >&5
1587       $as_echo "$as_me: failed program was:" >&5
1588sed 's/^/| /' conftest.$ac_ext >&5
1589
1590       ac_retval=$ac_status
1591fi
1592  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594  as_fn_set_status $ac_retval
1595
1596} # ac_fn_c_try_run
1597
1598# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1599# --------------------------------------------
1600# Tries to find the compile-time value of EXPR in a program that includes
1601# INCLUDES, setting VAR accordingly. Returns whether the value could be
1602# computed
1603ac_fn_c_compute_int ()
1604{
1605  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606  if test "$cross_compiling" = yes; then
1607    # Depending upon the size, compute the lo and hi bounds.
1608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609/* end confdefs.h.  */
1610$4
1611int
1612main ()
1613{
1614static int test_array [1 - 2 * !(($2) >= 0)];
1615test_array [0] = 0;
1616return test_array [0];
1617
1618  ;
1619  return 0;
1620}
1621_ACEOF
1622if ac_fn_c_try_compile "$LINENO"; then :
1623  ac_lo=0 ac_mid=0
1624  while :; do
1625    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626/* end confdefs.h.  */
1627$4
1628int
1629main ()
1630{
1631static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1632test_array [0] = 0;
1633return test_array [0];
1634
1635  ;
1636  return 0;
1637}
1638_ACEOF
1639if ac_fn_c_try_compile "$LINENO"; then :
1640  ac_hi=$ac_mid; break
1641else
1642  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1643			if test $ac_lo -le $ac_mid; then
1644			  ac_lo= ac_hi=
1645			  break
1646			fi
1647			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1648fi
1649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650  done
1651else
1652  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653/* end confdefs.h.  */
1654$4
1655int
1656main ()
1657{
1658static int test_array [1 - 2 * !(($2) < 0)];
1659test_array [0] = 0;
1660return test_array [0];
1661
1662  ;
1663  return 0;
1664}
1665_ACEOF
1666if ac_fn_c_try_compile "$LINENO"; then :
1667  ac_hi=-1 ac_mid=-1
1668  while :; do
1669    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670/* end confdefs.h.  */
1671$4
1672int
1673main ()
1674{
1675static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1676test_array [0] = 0;
1677return test_array [0];
1678
1679  ;
1680  return 0;
1681}
1682_ACEOF
1683if ac_fn_c_try_compile "$LINENO"; then :
1684  ac_lo=$ac_mid; break
1685else
1686  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1687			if test $ac_mid -le $ac_hi; then
1688			  ac_lo= ac_hi=
1689			  break
1690			fi
1691			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1692fi
1693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694  done
1695else
1696  ac_lo= ac_hi=
1697fi
1698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699fi
1700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1701# Binary search between lo and hi bounds.
1702while test "x$ac_lo" != "x$ac_hi"; do
1703  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1704  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705/* end confdefs.h.  */
1706$4
1707int
1708main ()
1709{
1710static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1711test_array [0] = 0;
1712return test_array [0];
1713
1714  ;
1715  return 0;
1716}
1717_ACEOF
1718if ac_fn_c_try_compile "$LINENO"; then :
1719  ac_hi=$ac_mid
1720else
1721  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1722fi
1723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724done
1725case $ac_lo in #((
1726?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1727'') ac_retval=1 ;;
1728esac
1729  else
1730    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731/* end confdefs.h.  */
1732$4
1733static long int longval () { return $2; }
1734static unsigned long int ulongval () { return $2; }
1735#include <stdio.h>
1736#include <stdlib.h>
1737int
1738main ()
1739{
1740
1741  FILE *f = fopen ("conftest.val", "w");
1742  if (! f)
1743    return 1;
1744  if (($2) < 0)
1745    {
1746      long int i = longval ();
1747      if (i != ($2))
1748	return 1;
1749      fprintf (f, "%ld", i);
1750    }
1751  else
1752    {
1753      unsigned long int i = ulongval ();
1754      if (i != ($2))
1755	return 1;
1756      fprintf (f, "%lu", i);
1757    }
1758  /* Do not output a trailing newline, as this causes \r\n confusion
1759     on some platforms.  */
1760  return ferror (f) || fclose (f) != 0;
1761
1762  ;
1763  return 0;
1764}
1765_ACEOF
1766if ac_fn_c_try_run "$LINENO"; then :
1767  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1768else
1769  ac_retval=1
1770fi
1771rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1772  conftest.$ac_objext conftest.beam conftest.$ac_ext
1773rm -f conftest.val
1774
1775  fi
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777  as_fn_set_status $ac_retval
1778
1779} # ac_fn_c_compute_int
1780
1781# ac_fn_c_check_header_preproc LINENO HEADER VAR
1782# ----------------------------------------------
1783# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1784ac_fn_c_check_header_preproc ()
1785{
1786  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788$as_echo_n "checking for $2... " >&6; }
1789if eval \${$3+:} false; then :
1790  $as_echo_n "(cached) " >&6
1791else
1792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793/* end confdefs.h.  */
1794#include <$2>
1795_ACEOF
1796if ac_fn_c_try_cpp "$LINENO"; then :
1797  eval "$3=yes"
1798else
1799  eval "$3=no"
1800fi
1801rm -f conftest.err conftest.i conftest.$ac_ext
1802fi
1803eval ac_res=\$$3
1804	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805$as_echo "$ac_res" >&6; }
1806  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807
1808} # ac_fn_c_check_header_preproc
1809cat >config.log <<_ACEOF
1810This file contains any messages produced by compilers while
1811running configure, to aid debugging if configure makes a mistake.
1812
1813It was created by GNU C Runtime Library $as_me 1.0, which was
1814generated by GNU Autoconf 2.69.  Invocation command line was
1815
1816  $ $0 $@
1817
1818_ACEOF
1819exec 5>>config.log
1820{
1821cat <<_ASUNAME
1822## --------- ##
1823## Platform. ##
1824## --------- ##
1825
1826hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1827uname -m = `(uname -m) 2>/dev/null || echo unknown`
1828uname -r = `(uname -r) 2>/dev/null || echo unknown`
1829uname -s = `(uname -s) 2>/dev/null || echo unknown`
1830uname -v = `(uname -v) 2>/dev/null || echo unknown`
1831
1832/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1833/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1834
1835/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1836/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1837/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1838/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1839/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1840/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1841/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1842
1843_ASUNAME
1844
1845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846for as_dir in $PATH
1847do
1848  IFS=$as_save_IFS
1849  test -z "$as_dir" && as_dir=.
1850    $as_echo "PATH: $as_dir"
1851  done
1852IFS=$as_save_IFS
1853
1854} >&5
1855
1856cat >&5 <<_ACEOF
1857
1858
1859## ----------- ##
1860## Core tests. ##
1861## ----------- ##
1862
1863_ACEOF
1864
1865
1866# Keep a trace of the command line.
1867# Strip out --no-create and --no-recursion so they do not pile up.
1868# Strip out --silent because we don't want to record it for future runs.
1869# Also quote any args containing shell meta-characters.
1870# Make two passes to allow for proper duplicate-argument suppression.
1871ac_configure_args=
1872ac_configure_args0=
1873ac_configure_args1=
1874ac_must_keep_next=false
1875for ac_pass in 1 2
1876do
1877  for ac_arg
1878  do
1879    case $ac_arg in
1880    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1881    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1882    | -silent | --silent | --silen | --sile | --sil)
1883      continue ;;
1884    *\'*)
1885      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1886    esac
1887    case $ac_pass in
1888    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1889    2)
1890      as_fn_append ac_configure_args1 " '$ac_arg'"
1891      if test $ac_must_keep_next = true; then
1892	ac_must_keep_next=false # Got value, back to normal.
1893      else
1894	case $ac_arg in
1895	  *=* | --config-cache | -C | -disable-* | --disable-* \
1896	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1897	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1898	  | -with-* | --with-* | -without-* | --without-* | --x)
1899	    case "$ac_configure_args0 " in
1900	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1901	    esac
1902	    ;;
1903	  -* ) ac_must_keep_next=true ;;
1904	esac
1905      fi
1906      as_fn_append ac_configure_args " '$ac_arg'"
1907      ;;
1908    esac
1909  done
1910done
1911{ ac_configure_args0=; unset ac_configure_args0;}
1912{ ac_configure_args1=; unset ac_configure_args1;}
1913
1914# When interrupted or exit'd, cleanup temporary files, and complete
1915# config.log.  We remove comments because anyway the quotes in there
1916# would cause problems or look ugly.
1917# WARNING: Use '\'' to represent an apostrophe within the trap.
1918# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1919trap 'exit_status=$?
1920  # Save into config.log some information that might help in debugging.
1921  {
1922    echo
1923
1924    $as_echo "## ---------------- ##
1925## Cache variables. ##
1926## ---------------- ##"
1927    echo
1928    # The following way of writing the cache mishandles newlines in values,
1929(
1930  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1931    eval ac_val=\$$ac_var
1932    case $ac_val in #(
1933    *${as_nl}*)
1934      case $ac_var in #(
1935      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1937      esac
1938      case $ac_var in #(
1939      _ | IFS | as_nl) ;; #(
1940      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941      *) { eval $ac_var=; unset $ac_var;} ;;
1942      esac ;;
1943    esac
1944  done
1945  (set) 2>&1 |
1946    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1947    *${as_nl}ac_space=\ *)
1948      sed -n \
1949	"s/'\''/'\''\\\\'\'''\''/g;
1950	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1951      ;; #(
1952    *)
1953      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1954      ;;
1955    esac |
1956    sort
1957)
1958    echo
1959
1960    $as_echo "## ----------------- ##
1961## Output variables. ##
1962## ----------------- ##"
1963    echo
1964    for ac_var in $ac_subst_vars
1965    do
1966      eval ac_val=\$$ac_var
1967      case $ac_val in
1968      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1969      esac
1970      $as_echo "$ac_var='\''$ac_val'\''"
1971    done | sort
1972    echo
1973
1974    if test -n "$ac_subst_files"; then
1975      $as_echo "## ------------------- ##
1976## File substitutions. ##
1977## ------------------- ##"
1978      echo
1979      for ac_var in $ac_subst_files
1980      do
1981	eval ac_val=\$$ac_var
1982	case $ac_val in
1983	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984	esac
1985	$as_echo "$ac_var='\''$ac_val'\''"
1986      done | sort
1987      echo
1988    fi
1989
1990    if test -s confdefs.h; then
1991      $as_echo "## ----------- ##
1992## confdefs.h. ##
1993## ----------- ##"
1994      echo
1995      cat confdefs.h
1996      echo
1997    fi
1998    test "$ac_signal" != 0 &&
1999      $as_echo "$as_me: caught signal $ac_signal"
2000    $as_echo "$as_me: exit $exit_status"
2001  } >&5
2002  rm -f core *.core core.conftest.* &&
2003    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2004    exit $exit_status
2005' 0
2006for ac_signal in 1 2 13 15; do
2007  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2008done
2009ac_signal=0
2010
2011# confdefs.h avoids OS command line length limits that DEFS can exceed.
2012rm -f -r conftest* confdefs.h
2013
2014$as_echo "/* confdefs.h */" > confdefs.h
2015
2016# Predefined preprocessor variables.
2017
2018cat >>confdefs.h <<_ACEOF
2019#define PACKAGE_NAME "$PACKAGE_NAME"
2020_ACEOF
2021
2022cat >>confdefs.h <<_ACEOF
2023#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2024_ACEOF
2025
2026cat >>confdefs.h <<_ACEOF
2027#define PACKAGE_VERSION "$PACKAGE_VERSION"
2028_ACEOF
2029
2030cat >>confdefs.h <<_ACEOF
2031#define PACKAGE_STRING "$PACKAGE_STRING"
2032_ACEOF
2033
2034cat >>confdefs.h <<_ACEOF
2035#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2036_ACEOF
2037
2038cat >>confdefs.h <<_ACEOF
2039#define PACKAGE_URL "$PACKAGE_URL"
2040_ACEOF
2041
2042
2043# Let the site file select an alternate cache file if it wants to.
2044# Prefer an explicitly selected file to automatically selected ones.
2045ac_site_file1=NONE
2046ac_site_file2=NONE
2047if test -n "$CONFIG_SITE"; then
2048  # We do not want a PATH search for config.site.
2049  case $CONFIG_SITE in #((
2050    -*)  ac_site_file1=./$CONFIG_SITE;;
2051    */*) ac_site_file1=$CONFIG_SITE;;
2052    *)   ac_site_file1=./$CONFIG_SITE;;
2053  esac
2054elif test "x$prefix" != xNONE; then
2055  ac_site_file1=$prefix/share/config.site
2056  ac_site_file2=$prefix/etc/config.site
2057else
2058  ac_site_file1=$ac_default_prefix/share/config.site
2059  ac_site_file2=$ac_default_prefix/etc/config.site
2060fi
2061for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2062do
2063  test "x$ac_site_file" = xNONE && continue
2064  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2065    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2066$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2067    sed 's/^/| /' "$ac_site_file" >&5
2068    . "$ac_site_file" \
2069      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2070$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2071as_fn_error $? "failed to load site script $ac_site_file
2072See \`config.log' for more details" "$LINENO" 5; }
2073  fi
2074done
2075
2076if test -r "$cache_file"; then
2077  # Some versions of bash will fail to source /dev/null (special files
2078  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2079  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2080    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2081$as_echo "$as_me: loading cache $cache_file" >&6;}
2082    case $cache_file in
2083      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2084      *)                      . "./$cache_file";;
2085    esac
2086  fi
2087else
2088  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2089$as_echo "$as_me: creating cache $cache_file" >&6;}
2090  >$cache_file
2091fi
2092
2093# Check that the precious variables saved in the cache have kept the same
2094# value.
2095ac_cache_corrupted=false
2096for ac_var in $ac_precious_vars; do
2097  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2098  eval ac_new_set=\$ac_env_${ac_var}_set
2099  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2100  eval ac_new_val=\$ac_env_${ac_var}_value
2101  case $ac_old_set,$ac_new_set in
2102    set,)
2103      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2104$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2105      ac_cache_corrupted=: ;;
2106    ,set)
2107      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2108$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2109      ac_cache_corrupted=: ;;
2110    ,);;
2111    *)
2112      if test "x$ac_old_val" != "x$ac_new_val"; then
2113	# differences in whitespace do not lead to failure.
2114	ac_old_val_w=`echo x $ac_old_val`
2115	ac_new_val_w=`echo x $ac_new_val`
2116	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2117	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2118$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2119	  ac_cache_corrupted=:
2120	else
2121	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2122$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2123	  eval $ac_var=\$ac_old_val
2124	fi
2125	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2126$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2127	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2128$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2129      fi;;
2130  esac
2131  # Pass precious variables to config.status.
2132  if test "$ac_new_set" = set; then
2133    case $ac_new_val in
2134    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2135    *) ac_arg=$ac_var=$ac_new_val ;;
2136    esac
2137    case " $ac_configure_args " in
2138      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2139      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140    esac
2141  fi
2142done
2143if $ac_cache_corrupted; then
2144  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2145$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2146  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2147$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2148  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2149fi
2150## -------------------- ##
2151## Main body of script. ##
2152## -------------------- ##
2153
2154ac_ext=c
2155ac_cpp='$CPP $CPPFLAGS'
2156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2158ac_compiler_gnu=$ac_cv_c_compiler_gnu
2159
2160
2161
2162
2163
2164
2165
2166# The libgcc should not depend on any header files
2167
2168
2169
2170# Check whether --with-target-subdir was given.
2171if test "${with_target_subdir+set}" = set; then :
2172  withval=$with_target_subdir;
2173fi
2174
2175
2176# Check whether --with-cross-host was given.
2177if test "${with_cross_host+set}" = set; then :
2178  withval=$with_cross_host;
2179fi
2180
2181
2182# Check whether --with-ld was given.
2183if test "${with_ld+set}" = set; then :
2184  withval=$with_ld;
2185fi
2186
2187
2188if test "${srcdir}" = "."; then
2189  if test -n "${with_build_subdir}"; then
2190    libgcc_topdir="${srcdir}/../.."
2191    with_target_subdir=
2192  elif test -z "${with_target_subdir}"; then
2193    libgcc_topdir="${srcdir}/.."
2194  else
2195    if test "${with_target_subdir}" != "."; then
2196      libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2197    else
2198      libgcc_topdir="${srcdir}/${with_multisrctop}.."
2199    fi
2200  fi
2201else
2202  libgcc_topdir="${srcdir}/.."
2203fi
2204
2205ac_aux_dir=
2206for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2207  if test -f "$ac_dir/install-sh"; then
2208    ac_aux_dir=$ac_dir
2209    ac_install_sh="$ac_aux_dir/install-sh -c"
2210    break
2211  elif test -f "$ac_dir/install.sh"; then
2212    ac_aux_dir=$ac_dir
2213    ac_install_sh="$ac_aux_dir/install.sh -c"
2214    break
2215  elif test -f "$ac_dir/shtool"; then
2216    ac_aux_dir=$ac_dir
2217    ac_install_sh="$ac_aux_dir/shtool install -c"
2218    break
2219  fi
2220done
2221if test -z "$ac_aux_dir"; then
2222  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2223fi
2224
2225# These three variables are undocumented and unsupported,
2226# and are intended to be withdrawn in a future Autoconf release.
2227# They can cause serious problems if a builder's source tree is in a directory
2228# whose full name contains unusual characters.
2229ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2230ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2231ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2232
2233
2234ac_config_headers="$ac_config_headers auto-target.h:config.in"
2235
2236
2237# Check whether --enable-shared was given.
2238if test "${enable_shared+set}" = set; then :
2239  enableval=$enable_shared;
2240  case $enable_shared in
2241  yes | no) ;;
2242  *)
2243    enable_shared=no
2244    IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2245    for pkg in $enableval; do
2246      if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2247	enable_shared=yes
2248      fi
2249    done
2250    IFS="$ac_save_ifs"
2251    ;;
2252  esac
2253
2254else
2255  enable_shared=yes
2256fi
2257
2258
2259
2260# Check whether --enable-gcov was given.
2261if test "${enable_gcov+set}" = set; then :
2262  enableval=$enable_gcov;
2263else
2264  enable_gcov=yes
2265fi
2266
2267
2268
2269# Check whether --enable-vtable-verify was given.
2270if test "${enable_vtable_verify+set}" = set; then :
2271  enableval=$enable_vtable_verify; case "$enableval" in
2272 yes) enable_vtable_verify=yes ;;
2273 no)  enable_vtable_verify=no ;;
2274 *)   enable_vtable_verify=no;;
2275 esac
2276else
2277  enable_vtable_verify=no
2278fi
2279
2280
2281
2282
2283# Check whether --with-aix-soname was given.
2284if test "${with_aix_soname+set}" = set; then :
2285  withval=$with_aix_soname; case "${host}:${enable_shared}" in
2286 power*-*-aix[5-9]*:yes)
2287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2288$as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2289   case ${withval} in
2290     aix|svr4|both) ;;
2291     *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2292   esac
2293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2294$as_echo "$withval" >&6; }
2295   ;;
2296 *) with_aix_soname=aix ;;
2297 esac
2298
2299else
2300  with_aix_soname=aix
2301fi
2302
2303
2304
2305# Make sure we can run config.sub.
2306$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2307  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2308
2309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2310$as_echo_n "checking build system type... " >&6; }
2311if ${ac_cv_build+:} false; then :
2312  $as_echo_n "(cached) " >&6
2313else
2314  ac_build_alias=$build_alias
2315test "x$ac_build_alias" = x &&
2316  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2317test "x$ac_build_alias" = x &&
2318  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2319ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2320  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2321
2322fi
2323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2324$as_echo "$ac_cv_build" >&6; }
2325case $ac_cv_build in
2326*-*-*) ;;
2327*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2328esac
2329build=$ac_cv_build
2330ac_save_IFS=$IFS; IFS='-'
2331set x $ac_cv_build
2332shift
2333build_cpu=$1
2334build_vendor=$2
2335shift; shift
2336# Remember, the first character of IFS is used to create $*,
2337# except with old shells:
2338build_os=$*
2339IFS=$ac_save_IFS
2340case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2341
2342
2343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2344$as_echo_n "checking host system type... " >&6; }
2345if ${ac_cv_host+:} false; then :
2346  $as_echo_n "(cached) " >&6
2347else
2348  if test "x$host_alias" = x; then
2349  ac_cv_host=$ac_cv_build
2350else
2351  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2352    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2353fi
2354
2355fi
2356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2357$as_echo "$ac_cv_host" >&6; }
2358case $ac_cv_host in
2359*-*-*) ;;
2360*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2361esac
2362host=$ac_cv_host
2363ac_save_IFS=$IFS; IFS='-'
2364set x $ac_cv_host
2365shift
2366host_cpu=$1
2367host_vendor=$2
2368shift; shift
2369# Remember, the first character of IFS is used to create $*,
2370# except with old shells:
2371host_os=$*
2372IFS=$ac_save_IFS
2373case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2374
2375
2376
2377
2378
2379
2380case "${host}" in
2381    # PIC is the default on some targets or must not be used.
2382    *-*-darwin*)
2383	# For darwin, common symbols are not allowed in MH_DYLIB files
2384	case "${CFLAGS}" in
2385	  # If we are using a compiler supporting mdynamic-no-pic
2386	  # and the option has been tested as safe to add, then cancel
2387	  # it here, since the code generated is incompatible with shared
2388	  # libs.
2389	  *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
2390	  *) PICFLAG=-fno-common ;;
2391	esac
2392	;;
2393    alpha*-dec-osf5*)
2394	# PIC is the default.
2395	;;
2396    hppa*64*-*-hpux*)
2397	# PIC is the default for 64-bit PA HP-UX.
2398	;;
2399    i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2400	;;
2401    i[34567]86-*-mingw* | x86_64-*-mingw*)
2402	;;
2403    i[34567]86-*-interix[3-9]*)
2404	# Interix 3.x gcc -fpic/-fPIC options generate broken code.
2405	# Instead, we relocate shared libraries at runtime.
2406	;;
2407    i[34567]86-*-nto-qnx*)
2408	# QNX uses GNU C++, but need to define -shared option too, otherwise
2409	# it will coredump.
2410	PICFLAG='-fPIC -shared'
2411	;;
2412    i[34567]86-pc-msdosdjgpp*)
2413	# DJGPP does not support shared libraries at all.
2414	;;
2415    ia64*-*-hpux*)
2416	# On IA64 HP-UX, PIC is the default but the pic flag
2417	# sets the default TLS model and affects inlining.
2418	PICFLAG=-fPIC
2419	;;
2420    mips-sgi-irix6*)
2421	# PIC is the default.
2422	;;
2423    rs6000-ibm-aix* | powerpc-ibm-aix*)
2424	# All AIX code is PIC.
2425	;;
2426
2427    # Some targets support both -fPIC and -fpic, but prefer the latter.
2428    # FIXME: Why?
2429    i[34567]86-*-* | x86_64-*-*)
2430	PICFLAG=-fpic
2431	;;
2432    # FIXME: Override -fPIC default in libgcc only?
2433    sh-*-linux* | sh[2346lbe]*-*-linux*)
2434	PICFLAG=-fpic
2435	;;
2436    # FIXME: Simplify to sh*-*-netbsd*?
2437    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2438      sh64-*-netbsd* | sh64l*-*-netbsd*)
2439	PICFLAG=-fpic
2440	;;
2441    # Default to -fPIC unless specified otherwise.
2442    *)
2443	PICFLAG=-fPIC
2444	;;
2445esac
2446
2447# If the user explicitly uses -fpic/-fPIC, keep that.
2448case "${CFLAGS}" in
2449    *-fpic*)
2450	PICFLAG=-fpic
2451	;;
2452    *-fPIC*)
2453	PICFLAG=-fPIC
2454	;;
2455esac
2456
2457
2458
2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2460$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2461# Check whether --enable-version-specific-runtime-libs was given.
2462if test "${enable_version_specific_runtime_libs+set}" = set; then :
2463  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2464 yes) version_specific_libs=yes ;;
2465 no)  version_specific_libs=no ;;
2466 *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2467 esac
2468else
2469  version_specific_libs=no
2470fi
2471
2472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2473$as_echo "$version_specific_libs" >&6; }
2474
2475
2476# Check whether --with-slibdir was given.
2477if test "${with_slibdir+set}" = set; then :
2478  withval=$with_slibdir; slibdir="$with_slibdir"
2479else
2480  if test "${version_specific_libs}" = yes; then
2481  slibdir='$(libsubdir)'
2482elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2483  slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2484else
2485  slibdir='$(libdir)'
2486fi
2487fi
2488
2489
2490
2491# Command-line options.
2492# Very limited version of AC_MAINTAINER_MODE.
2493# Check whether --enable-maintainer-mode was given.
2494if test "${enable_maintainer_mode+set}" = set; then :
2495  enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2496     yes) MAINT='' ;;
2497     no) MAINT='#' ;;
2498     *) as_fn_error $? "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2499   esac
2500   maintainer_mode=${enableval}
2501else
2502  MAINT='#'
2503fi
2504
2505
2506# Find a good install program.  We prefer a C program (faster),
2507# so one script is as good as another.  But avoid the broken or
2508# incompatible versions:
2509# SysV /etc/install, /usr/sbin/install
2510# SunOS /usr/etc/install
2511# IRIX /sbin/install
2512# AIX /bin/install
2513# AmigaOS /C/install, which installs bootblocks on floppy discs
2514# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2515# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2516# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2517# OS/2's system install, which has a completely different semantic
2518# ./install, which can be erroneously created by make from ./install.sh.
2519# Reject install programs that cannot install multiple files.
2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2521$as_echo_n "checking for a BSD-compatible install... " >&6; }
2522if test -z "$INSTALL"; then
2523if ${ac_cv_path_install+:} false; then :
2524  $as_echo_n "(cached) " >&6
2525else
2526  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527for as_dir in $PATH
2528do
2529  IFS=$as_save_IFS
2530  test -z "$as_dir" && as_dir=.
2531    # Account for people who put trailing slashes in PATH elements.
2532case $as_dir/ in #((
2533  ./ | .// | /[cC]/* | \
2534  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2535  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2536  /usr/ucb/* ) ;;
2537  *)
2538    # OSF1 and SCO ODT 3.0 have their own names for install.
2539    # Don't use installbsd from OSF since it installs stuff as root
2540    # by default.
2541    for ac_prog in ginstall scoinst install; do
2542      for ac_exec_ext in '' $ac_executable_extensions; do
2543	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2544	  if test $ac_prog = install &&
2545	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2546	    # AIX install.  It has an incompatible calling convention.
2547	    :
2548	  elif test $ac_prog = install &&
2549	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2550	    # program-specific install script used by HP pwplus--don't use.
2551	    :
2552	  else
2553	    rm -rf conftest.one conftest.two conftest.dir
2554	    echo one > conftest.one
2555	    echo two > conftest.two
2556	    mkdir conftest.dir
2557	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2558	      test -s conftest.one && test -s conftest.two &&
2559	      test -s conftest.dir/conftest.one &&
2560	      test -s conftest.dir/conftest.two
2561	    then
2562	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2563	      break 3
2564	    fi
2565	  fi
2566	fi
2567      done
2568    done
2569    ;;
2570esac
2571
2572  done
2573IFS=$as_save_IFS
2574
2575rm -rf conftest.one conftest.two conftest.dir
2576
2577fi
2578  if test "${ac_cv_path_install+set}" = set; then
2579    INSTALL=$ac_cv_path_install
2580  else
2581    # As a last resort, use the slow shell script.  Don't cache a
2582    # value for INSTALL within a source directory, because that will
2583    # break other packages using the cache if that directory is
2584    # removed, or if the value is a relative name.
2585    INSTALL=$ac_install_sh
2586  fi
2587fi
2588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2589$as_echo "$INSTALL" >&6; }
2590
2591# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2592# It thinks the first close brace ends the variable substitution.
2593test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2594
2595test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2596
2597test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2598
2599
2600for ac_prog in gawk mawk nawk awk
2601do
2602  # Extract the first word of "$ac_prog", so it can be a program name with args.
2603set dummy $ac_prog; ac_word=$2
2604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605$as_echo_n "checking for $ac_word... " >&6; }
2606if ${ac_cv_prog_AWK+:} false; then :
2607  $as_echo_n "(cached) " >&6
2608else
2609  if test -n "$AWK"; then
2610  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2611else
2612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613for as_dir in $PATH
2614do
2615  IFS=$as_save_IFS
2616  test -z "$as_dir" && as_dir=.
2617    for ac_exec_ext in '' $ac_executable_extensions; do
2618  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619    ac_cv_prog_AWK="$ac_prog"
2620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621    break 2
2622  fi
2623done
2624  done
2625IFS=$as_save_IFS
2626
2627fi
2628fi
2629AWK=$ac_cv_prog_AWK
2630if test -n "$AWK"; then
2631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2632$as_echo "$AWK" >&6; }
2633else
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635$as_echo "no" >&6; }
2636fi
2637
2638
2639  test -n "$AWK" && break
2640done
2641
2642# We need awk; bail out if it's missing.
2643case ${AWK} in
2644  "") as_fn_error $? "can't build without awk, bailing out" "$LINENO" 5 ;;
2645esac
2646
2647
2648 case ${build_alias} in
2649  "") build_noncanonical=${build} ;;
2650  *) build_noncanonical=${build_alias} ;;
2651esac
2652
2653 case ${host_alias} in
2654  "") host_noncanonical=${build_noncanonical} ;;
2655  *) host_noncanonical=${host_alias} ;;
2656esac
2657
2658
2659
2660 case ${target_alias} in
2661  "") target_noncanonical=${host_noncanonical} ;;
2662  *) target_noncanonical=${target_alias} ;;
2663esac
2664
2665
2666
2667
2668# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2669# have matching libraries, they should use host libraries: Makefile.tpl
2670# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2671# However, they still use the build modules, because the corresponding
2672# host modules (e.g. bison) are only built for the host when bootstrap
2673# finishes. So:
2674# - build_subdir is where we find build modules, and never changes.
2675# - build_libsubdir is where we find build libraries, and can be overridden.
2676
2677# Prefix 'build-' so this never conflicts with target_subdir.
2678build_subdir="build-${build_noncanonical}"
2679
2680# Check whether --with-build-libsubdir was given.
2681if test "${with_build_libsubdir+set}" = set; then :
2682  withval=$with_build_libsubdir; build_libsubdir="$withval"
2683else
2684  build_libsubdir="$build_subdir"
2685fi
2686
2687# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2688if ( test $srcdir = . && test -d gcc ) \
2689   || test -d $srcdir/../host-${host_noncanonical}; then
2690  host_subdir="host-${host_noncanonical}"
2691else
2692  host_subdir=.
2693fi
2694# No prefix.
2695target_subdir=${target_noncanonical}
2696
2697
2698# Calculate toolexeclibdir
2699# Also toolexecdir, though it's only used in toolexeclibdir
2700case ${version_specific_libs} in
2701  yes)
2702    # Need the gcc compiler version to know where to install libraries
2703    # and header files if --enable-version-specific-runtime-libs option
2704    # is selected.
2705    toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2706    toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2707    ;;
2708  no)
2709    if test -n "$with_cross_host" &&
2710       test x"$with_cross_host" != x"no"; then
2711      # Install a library built with a cross compiler in tooldir, not libdir.
2712      toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2713      toolexeclibdir='$(toolexecdir)/lib'
2714    else
2715      toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2716      toolexeclibdir='$(libdir)'
2717    fi
2718    multi_os_directory=`$CC -print-multi-os-directory`
2719    case $multi_os_directory in
2720      .) ;; # Avoid trailing /.
2721      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2722    esac
2723    ;;
2724esac
2725
2726
2727
2728if test -n "$ac_tool_prefix"; then
2729  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2730set dummy ${ac_tool_prefix}ar; ac_word=$2
2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732$as_echo_n "checking for $ac_word... " >&6; }
2733if ${ac_cv_prog_AR+:} false; then :
2734  $as_echo_n "(cached) " >&6
2735else
2736  if test -n "$AR"; then
2737  ac_cv_prog_AR="$AR" # Let the user override the test.
2738else
2739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740for as_dir in $PATH
2741do
2742  IFS=$as_save_IFS
2743  test -z "$as_dir" && as_dir=.
2744    for ac_exec_ext in '' $ac_executable_extensions; do
2745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746    ac_cv_prog_AR="${ac_tool_prefix}ar"
2747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748    break 2
2749  fi
2750done
2751  done
2752IFS=$as_save_IFS
2753
2754fi
2755fi
2756AR=$ac_cv_prog_AR
2757if test -n "$AR"; then
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2759$as_echo "$AR" >&6; }
2760else
2761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762$as_echo "no" >&6; }
2763fi
2764
2765
2766fi
2767if test -z "$ac_cv_prog_AR"; then
2768  ac_ct_AR=$AR
2769  # Extract the first word of "ar", so it can be a program name with args.
2770set dummy ar; ac_word=$2
2771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772$as_echo_n "checking for $ac_word... " >&6; }
2773if ${ac_cv_prog_ac_ct_AR+:} false; then :
2774  $as_echo_n "(cached) " >&6
2775else
2776  if test -n "$ac_ct_AR"; then
2777  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2778else
2779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780for as_dir in $PATH
2781do
2782  IFS=$as_save_IFS
2783  test -z "$as_dir" && as_dir=.
2784    for ac_exec_ext in '' $ac_executable_extensions; do
2785  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2786    ac_cv_prog_ac_ct_AR="ar"
2787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788    break 2
2789  fi
2790done
2791  done
2792IFS=$as_save_IFS
2793
2794fi
2795fi
2796ac_ct_AR=$ac_cv_prog_ac_ct_AR
2797if test -n "$ac_ct_AR"; then
2798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2799$as_echo "$ac_ct_AR" >&6; }
2800else
2801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802$as_echo "no" >&6; }
2803fi
2804
2805  if test "x$ac_ct_AR" = x; then
2806    AR=""
2807  else
2808    case $cross_compiling:$ac_tool_warned in
2809yes:)
2810{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2811$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2812ac_tool_warned=yes ;;
2813esac
2814    AR=$ac_ct_AR
2815  fi
2816else
2817  AR="$ac_cv_prog_AR"
2818fi
2819
2820if test -n "$ac_tool_prefix"; then
2821  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2822set dummy ${ac_tool_prefix}lipo; ac_word=$2
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824$as_echo_n "checking for $ac_word... " >&6; }
2825if ${ac_cv_prog_LIPO+:} false; then :
2826  $as_echo_n "(cached) " >&6
2827else
2828  if test -n "$LIPO"; then
2829  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2830else
2831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832for as_dir in $PATH
2833do
2834  IFS=$as_save_IFS
2835  test -z "$as_dir" && as_dir=.
2836    for ac_exec_ext in '' $ac_executable_extensions; do
2837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840    break 2
2841  fi
2842done
2843  done
2844IFS=$as_save_IFS
2845
2846fi
2847fi
2848LIPO=$ac_cv_prog_LIPO
2849if test -n "$LIPO"; then
2850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2851$as_echo "$LIPO" >&6; }
2852else
2853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854$as_echo "no" >&6; }
2855fi
2856
2857
2858fi
2859if test -z "$ac_cv_prog_LIPO"; then
2860  ac_ct_LIPO=$LIPO
2861  # Extract the first word of "lipo", so it can be a program name with args.
2862set dummy lipo; ac_word=$2
2863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864$as_echo_n "checking for $ac_word... " >&6; }
2865if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
2866  $as_echo_n "(cached) " >&6
2867else
2868  if test -n "$ac_ct_LIPO"; then
2869  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2870else
2871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872for as_dir in $PATH
2873do
2874  IFS=$as_save_IFS
2875  test -z "$as_dir" && as_dir=.
2876    for ac_exec_ext in '' $ac_executable_extensions; do
2877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878    ac_cv_prog_ac_ct_LIPO="lipo"
2879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880    break 2
2881  fi
2882done
2883  done
2884IFS=$as_save_IFS
2885
2886fi
2887fi
2888ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2889if test -n "$ac_ct_LIPO"; then
2890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2891$as_echo "$ac_ct_LIPO" >&6; }
2892else
2893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894$as_echo "no" >&6; }
2895fi
2896
2897  if test "x$ac_ct_LIPO" = x; then
2898    LIPO=":"
2899  else
2900    case $cross_compiling:$ac_tool_warned in
2901yes:)
2902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2904ac_tool_warned=yes ;;
2905esac
2906    LIPO=$ac_ct_LIPO
2907  fi
2908else
2909  LIPO="$ac_cv_prog_LIPO"
2910fi
2911
2912if test -n "$ac_tool_prefix"; then
2913  # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2914set dummy ${ac_tool_prefix}nm; ac_word=$2
2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916$as_echo_n "checking for $ac_word... " >&6; }
2917if ${ac_cv_prog_NM+:} false; then :
2918  $as_echo_n "(cached) " >&6
2919else
2920  if test -n "$NM"; then
2921  ac_cv_prog_NM="$NM" # Let the user override the test.
2922else
2923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924for as_dir in $PATH
2925do
2926  IFS=$as_save_IFS
2927  test -z "$as_dir" && as_dir=.
2928    for ac_exec_ext in '' $ac_executable_extensions; do
2929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930    ac_cv_prog_NM="${ac_tool_prefix}nm"
2931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932    break 2
2933  fi
2934done
2935  done
2936IFS=$as_save_IFS
2937
2938fi
2939fi
2940NM=$ac_cv_prog_NM
2941if test -n "$NM"; then
2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2943$as_echo "$NM" >&6; }
2944else
2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946$as_echo "no" >&6; }
2947fi
2948
2949
2950fi
2951if test -z "$ac_cv_prog_NM"; then
2952  ac_ct_NM=$NM
2953  # Extract the first word of "nm", so it can be a program name with args.
2954set dummy nm; ac_word=$2
2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956$as_echo_n "checking for $ac_word... " >&6; }
2957if ${ac_cv_prog_ac_ct_NM+:} false; then :
2958  $as_echo_n "(cached) " >&6
2959else
2960  if test -n "$ac_ct_NM"; then
2961  ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2962else
2963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964for as_dir in $PATH
2965do
2966  IFS=$as_save_IFS
2967  test -z "$as_dir" && as_dir=.
2968    for ac_exec_ext in '' $ac_executable_extensions; do
2969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970    ac_cv_prog_ac_ct_NM="nm"
2971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972    break 2
2973  fi
2974done
2975  done
2976IFS=$as_save_IFS
2977
2978fi
2979fi
2980ac_ct_NM=$ac_cv_prog_ac_ct_NM
2981if test -n "$ac_ct_NM"; then
2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2983$as_echo "$ac_ct_NM" >&6; }
2984else
2985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986$as_echo "no" >&6; }
2987fi
2988
2989  if test "x$ac_ct_NM" = x; then
2990    NM=""
2991  else
2992    case $cross_compiling:$ac_tool_warned in
2993yes:)
2994{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996ac_tool_warned=yes ;;
2997esac
2998    NM=$ac_ct_NM
2999  fi
3000else
3001  NM="$ac_cv_prog_NM"
3002fi
3003
3004if test -n "$ac_tool_prefix"; then
3005  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3006set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008$as_echo_n "checking for $ac_word... " >&6; }
3009if ${ac_cv_prog_RANLIB+:} false; then :
3010  $as_echo_n "(cached) " >&6
3011else
3012  if test -n "$RANLIB"; then
3013  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3014else
3015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016for as_dir in $PATH
3017do
3018  IFS=$as_save_IFS
3019  test -z "$as_dir" && as_dir=.
3020    for ac_exec_ext in '' $ac_executable_extensions; do
3021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024    break 2
3025  fi
3026done
3027  done
3028IFS=$as_save_IFS
3029
3030fi
3031fi
3032RANLIB=$ac_cv_prog_RANLIB
3033if test -n "$RANLIB"; then
3034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3035$as_echo "$RANLIB" >&6; }
3036else
3037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038$as_echo "no" >&6; }
3039fi
3040
3041
3042fi
3043if test -z "$ac_cv_prog_RANLIB"; then
3044  ac_ct_RANLIB=$RANLIB
3045  # Extract the first word of "ranlib", so it can be a program name with args.
3046set dummy ranlib; ac_word=$2
3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3048$as_echo_n "checking for $ac_word... " >&6; }
3049if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3050  $as_echo_n "(cached) " >&6
3051else
3052  if test -n "$ac_ct_RANLIB"; then
3053  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3054else
3055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056for as_dir in $PATH
3057do
3058  IFS=$as_save_IFS
3059  test -z "$as_dir" && as_dir=.
3060    for ac_exec_ext in '' $ac_executable_extensions; do
3061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062    ac_cv_prog_ac_ct_RANLIB="ranlib"
3063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064    break 2
3065  fi
3066done
3067  done
3068IFS=$as_save_IFS
3069
3070fi
3071fi
3072ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3073if test -n "$ac_ct_RANLIB"; then
3074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3075$as_echo "$ac_ct_RANLIB" >&6; }
3076else
3077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078$as_echo "no" >&6; }
3079fi
3080
3081  if test "x$ac_ct_RANLIB" = x; then
3082    RANLIB=":"
3083  else
3084    case $cross_compiling:$ac_tool_warned in
3085yes:)
3086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3088ac_tool_warned=yes ;;
3089esac
3090    RANLIB=$ac_ct_RANLIB
3091  fi
3092else
3093  RANLIB="$ac_cv_prog_RANLIB"
3094fi
3095
3096if test -n "$ac_tool_prefix"; then
3097  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3098set dummy ${ac_tool_prefix}strip; ac_word=$2
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100$as_echo_n "checking for $ac_word... " >&6; }
3101if ${ac_cv_prog_STRIP+:} false; then :
3102  $as_echo_n "(cached) " >&6
3103else
3104  if test -n "$STRIP"; then
3105  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3106else
3107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108for as_dir in $PATH
3109do
3110  IFS=$as_save_IFS
3111  test -z "$as_dir" && as_dir=.
3112    for ac_exec_ext in '' $ac_executable_extensions; do
3113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116    break 2
3117  fi
3118done
3119  done
3120IFS=$as_save_IFS
3121
3122fi
3123fi
3124STRIP=$ac_cv_prog_STRIP
3125if test -n "$STRIP"; then
3126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3127$as_echo "$STRIP" >&6; }
3128else
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130$as_echo "no" >&6; }
3131fi
3132
3133
3134fi
3135if test -z "$ac_cv_prog_STRIP"; then
3136  ac_ct_STRIP=$STRIP
3137  # Extract the first word of "strip", so it can be a program name with args.
3138set dummy strip; ac_word=$2
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140$as_echo_n "checking for $ac_word... " >&6; }
3141if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3142  $as_echo_n "(cached) " >&6
3143else
3144  if test -n "$ac_ct_STRIP"; then
3145  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3146else
3147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148for as_dir in $PATH
3149do
3150  IFS=$as_save_IFS
3151  test -z "$as_dir" && as_dir=.
3152    for ac_exec_ext in '' $ac_executable_extensions; do
3153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3154    ac_cv_prog_ac_ct_STRIP="strip"
3155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156    break 2
3157  fi
3158done
3159  done
3160IFS=$as_save_IFS
3161
3162fi
3163fi
3164ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3165if test -n "$ac_ct_STRIP"; then
3166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3167$as_echo "$ac_ct_STRIP" >&6; }
3168else
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170$as_echo "no" >&6; }
3171fi
3172
3173  if test "x$ac_ct_STRIP" = x; then
3174    STRIP=":"
3175  else
3176    case $cross_compiling:$ac_tool_warned in
3177yes:)
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3180ac_tool_warned=yes ;;
3181esac
3182    STRIP=$ac_ct_STRIP
3183  fi
3184else
3185  STRIP="$ac_cv_prog_STRIP"
3186fi
3187
3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3189$as_echo_n "checking whether ln -s works... " >&6; }
3190LN_S=$as_ln_s
3191if test "$LN_S" = "ln -s"; then
3192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3193$as_echo "yes" >&6; }
3194else
3195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3196$as_echo "no, using $LN_S" >&6; }
3197fi
3198
3199
3200
3201ac_ext=c
3202ac_cpp='$CPP $CPPFLAGS'
3203ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206if test -n "$ac_tool_prefix"; then
3207  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3208set dummy ${ac_tool_prefix}gcc; ac_word=$2
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210$as_echo_n "checking for $ac_word... " >&6; }
3211if ${ac_cv_prog_CC+:} false; then :
3212  $as_echo_n "(cached) " >&6
3213else
3214  if test -n "$CC"; then
3215  ac_cv_prog_CC="$CC" # Let the user override the test.
3216else
3217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218for as_dir in $PATH
3219do
3220  IFS=$as_save_IFS
3221  test -z "$as_dir" && as_dir=.
3222    for ac_exec_ext in '' $ac_executable_extensions; do
3223  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226    break 2
3227  fi
3228done
3229  done
3230IFS=$as_save_IFS
3231
3232fi
3233fi
3234CC=$ac_cv_prog_CC
3235if test -n "$CC"; then
3236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237$as_echo "$CC" >&6; }
3238else
3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240$as_echo "no" >&6; }
3241fi
3242
3243
3244fi
3245if test -z "$ac_cv_prog_CC"; then
3246  ac_ct_CC=$CC
3247  # Extract the first word of "gcc", so it can be a program name with args.
3248set dummy gcc; ac_word=$2
3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250$as_echo_n "checking for $ac_word... " >&6; }
3251if ${ac_cv_prog_ac_ct_CC+:} false; then :
3252  $as_echo_n "(cached) " >&6
3253else
3254  if test -n "$ac_ct_CC"; then
3255  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3256else
3257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258for as_dir in $PATH
3259do
3260  IFS=$as_save_IFS
3261  test -z "$as_dir" && as_dir=.
3262    for ac_exec_ext in '' $ac_executable_extensions; do
3263  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264    ac_cv_prog_ac_ct_CC="gcc"
3265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266    break 2
3267  fi
3268done
3269  done
3270IFS=$as_save_IFS
3271
3272fi
3273fi
3274ac_ct_CC=$ac_cv_prog_ac_ct_CC
3275if test -n "$ac_ct_CC"; then
3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3277$as_echo "$ac_ct_CC" >&6; }
3278else
3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280$as_echo "no" >&6; }
3281fi
3282
3283  if test "x$ac_ct_CC" = x; then
3284    CC=""
3285  else
3286    case $cross_compiling:$ac_tool_warned in
3287yes:)
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290ac_tool_warned=yes ;;
3291esac
3292    CC=$ac_ct_CC
3293  fi
3294else
3295  CC="$ac_cv_prog_CC"
3296fi
3297
3298if test -z "$CC"; then
3299          if test -n "$ac_tool_prefix"; then
3300    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3301set dummy ${ac_tool_prefix}cc; ac_word=$2
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303$as_echo_n "checking for $ac_word... " >&6; }
3304if ${ac_cv_prog_CC+:} false; then :
3305  $as_echo_n "(cached) " >&6
3306else
3307  if test -n "$CC"; then
3308  ac_cv_prog_CC="$CC" # Let the user override the test.
3309else
3310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311for as_dir in $PATH
3312do
3313  IFS=$as_save_IFS
3314  test -z "$as_dir" && as_dir=.
3315    for ac_exec_ext in '' $ac_executable_extensions; do
3316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317    ac_cv_prog_CC="${ac_tool_prefix}cc"
3318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319    break 2
3320  fi
3321done
3322  done
3323IFS=$as_save_IFS
3324
3325fi
3326fi
3327CC=$ac_cv_prog_CC
3328if test -n "$CC"; then
3329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3330$as_echo "$CC" >&6; }
3331else
3332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333$as_echo "no" >&6; }
3334fi
3335
3336
3337  fi
3338fi
3339if test -z "$CC"; then
3340  # Extract the first word of "cc", so it can be a program name with args.
3341set dummy cc; ac_word=$2
3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343$as_echo_n "checking for $ac_word... " >&6; }
3344if ${ac_cv_prog_CC+:} false; then :
3345  $as_echo_n "(cached) " >&6
3346else
3347  if test -n "$CC"; then
3348  ac_cv_prog_CC="$CC" # Let the user override the test.
3349else
3350  ac_prog_rejected=no
3351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352for as_dir in $PATH
3353do
3354  IFS=$as_save_IFS
3355  test -z "$as_dir" && as_dir=.
3356    for ac_exec_ext in '' $ac_executable_extensions; do
3357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3359       ac_prog_rejected=yes
3360       continue
3361     fi
3362    ac_cv_prog_CC="cc"
3363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364    break 2
3365  fi
3366done
3367  done
3368IFS=$as_save_IFS
3369
3370if test $ac_prog_rejected = yes; then
3371  # We found a bogon in the path, so make sure we never use it.
3372  set dummy $ac_cv_prog_CC
3373  shift
3374  if test $# != 0; then
3375    # We chose a different compiler from the bogus one.
3376    # However, it has the same basename, so the bogon will be chosen
3377    # first if we set CC to just the basename; use the full file name.
3378    shift
3379    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3380  fi
3381fi
3382fi
3383fi
3384CC=$ac_cv_prog_CC
3385if test -n "$CC"; then
3386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3387$as_echo "$CC" >&6; }
3388else
3389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390$as_echo "no" >&6; }
3391fi
3392
3393
3394fi
3395if test -z "$CC"; then
3396  if test -n "$ac_tool_prefix"; then
3397  for ac_prog in cl.exe
3398  do
3399    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3400set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402$as_echo_n "checking for $ac_word... " >&6; }
3403if ${ac_cv_prog_CC+:} false; then :
3404  $as_echo_n "(cached) " >&6
3405else
3406  if test -n "$CC"; then
3407  ac_cv_prog_CC="$CC" # Let the user override the test.
3408else
3409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410for as_dir in $PATH
3411do
3412  IFS=$as_save_IFS
3413  test -z "$as_dir" && as_dir=.
3414    for ac_exec_ext in '' $ac_executable_extensions; do
3415  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3417    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418    break 2
3419  fi
3420done
3421  done
3422IFS=$as_save_IFS
3423
3424fi
3425fi
3426CC=$ac_cv_prog_CC
3427if test -n "$CC"; then
3428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3429$as_echo "$CC" >&6; }
3430else
3431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432$as_echo "no" >&6; }
3433fi
3434
3435
3436    test -n "$CC" && break
3437  done
3438fi
3439if test -z "$CC"; then
3440  ac_ct_CC=$CC
3441  for ac_prog in cl.exe
3442do
3443  # Extract the first word of "$ac_prog", so it can be a program name with args.
3444set dummy $ac_prog; ac_word=$2
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446$as_echo_n "checking for $ac_word... " >&6; }
3447if ${ac_cv_prog_ac_ct_CC+:} false; then :
3448  $as_echo_n "(cached) " >&6
3449else
3450  if test -n "$ac_ct_CC"; then
3451  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3452else
3453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454for as_dir in $PATH
3455do
3456  IFS=$as_save_IFS
3457  test -z "$as_dir" && as_dir=.
3458    for ac_exec_ext in '' $ac_executable_extensions; do
3459  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460    ac_cv_prog_ac_ct_CC="$ac_prog"
3461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462    break 2
3463  fi
3464done
3465  done
3466IFS=$as_save_IFS
3467
3468fi
3469fi
3470ac_ct_CC=$ac_cv_prog_ac_ct_CC
3471if test -n "$ac_ct_CC"; then
3472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3473$as_echo "$ac_ct_CC" >&6; }
3474else
3475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476$as_echo "no" >&6; }
3477fi
3478
3479
3480  test -n "$ac_ct_CC" && break
3481done
3482
3483  if test "x$ac_ct_CC" = x; then
3484    CC=""
3485  else
3486    case $cross_compiling:$ac_tool_warned in
3487yes:)
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3489$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3490ac_tool_warned=yes ;;
3491esac
3492    CC=$ac_ct_CC
3493  fi
3494fi
3495
3496fi
3497
3498
3499test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501as_fn_error $? "no acceptable C compiler found in \$PATH
3502See \`config.log' for more details" "$LINENO" 5; }
3503
3504# Provide some information about the compiler.
3505$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3506set X $ac_compile
3507ac_compiler=$2
3508for ac_option in --version -v -V -qversion; do
3509  { { ac_try="$ac_compiler $ac_option >&5"
3510case "(($ac_try" in
3511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512  *) ac_try_echo=$ac_try;;
3513esac
3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515$as_echo "$ac_try_echo"; } >&5
3516  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3517  ac_status=$?
3518  if test -s conftest.err; then
3519    sed '10a\
3520... rest of stderr output deleted ...
3521         10q' conftest.err >conftest.er1
3522    cat conftest.er1 >&5
3523  fi
3524  rm -f conftest.er1 conftest.err
3525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526  test $ac_status = 0; }
3527done
3528
3529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530/* end confdefs.h.  */
3531
3532int
3533main ()
3534{
3535
3536  ;
3537  return 0;
3538}
3539_ACEOF
3540# FIXME: Cleanup?
3541if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3542  (eval $ac_link) 2>&5
3543  ac_status=$?
3544  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545  test $ac_status = 0; }; then :
3546  gcc_no_link=no
3547else
3548  gcc_no_link=yes
3549fi
3550if test x$gcc_no_link = xyes; then
3551  # Setting cross_compile will disable run tests; it will
3552  # also disable AC_CHECK_FILE but that's generally
3553  # correct if we can't link.
3554  cross_compiling=yes
3555  EXEEXT=
3556else
3557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558/* end confdefs.h.  */
3559
3560int
3561main ()
3562{
3563
3564  ;
3565  return 0;
3566}
3567_ACEOF
3568ac_clean_files_save=$ac_clean_files
3569ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3570# Try to create an executable without -o first, disregard a.out.
3571# It will help us diagnose broken compilers, and finding out an intuition
3572# of exeext.
3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3574$as_echo_n "checking whether the C compiler works... " >&6; }
3575ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3576
3577# The possible output files:
3578ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3579
3580ac_rmfiles=
3581for ac_file in $ac_files
3582do
3583  case $ac_file in
3584    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3585    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3586  esac
3587done
3588rm -f $ac_rmfiles
3589
3590if { { ac_try="$ac_link_default"
3591case "(($ac_try" in
3592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593  *) ac_try_echo=$ac_try;;
3594esac
3595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596$as_echo "$ac_try_echo"; } >&5
3597  (eval "$ac_link_default") 2>&5
3598  ac_status=$?
3599  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600  test $ac_status = 0; }; then :
3601  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3602# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3603# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3604# so that the user can short-circuit this test for compilers unknown to
3605# Autoconf.
3606for ac_file in $ac_files ''
3607do
3608  test -f "$ac_file" || continue
3609  case $ac_file in
3610    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3611	;;
3612    [ab].out )
3613	# We found the default executable, but exeext='' is most
3614	# certainly right.
3615	break;;
3616    *.* )
3617	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3618	then :; else
3619	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3620	fi
3621	# We set ac_cv_exeext here because the later test for it is not
3622	# safe: cross compilers may not add the suffix if given an `-o'
3623	# argument, so we may need to know it at that point already.
3624	# Even if this section looks crufty: it has the advantage of
3625	# actually working.
3626	break;;
3627    * )
3628	break;;
3629  esac
3630done
3631test "$ac_cv_exeext" = no && ac_cv_exeext=
3632
3633else
3634  ac_file=''
3635fi
3636if test -z "$ac_file"; then :
3637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638$as_echo "no" >&6; }
3639$as_echo "$as_me: failed program was:" >&5
3640sed 's/^/| /' conftest.$ac_ext >&5
3641
3642{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644as_fn_error 77 "C compiler cannot create executables
3645See \`config.log' for more details" "$LINENO" 5; }
3646else
3647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3648$as_echo "yes" >&6; }
3649fi
3650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3651$as_echo_n "checking for C compiler default output file name... " >&6; }
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3653$as_echo "$ac_file" >&6; }
3654ac_exeext=$ac_cv_exeext
3655
3656rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3657ac_clean_files=$ac_clean_files_save
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3659$as_echo_n "checking for suffix of executables... " >&6; }
3660if { { ac_try="$ac_link"
3661case "(($ac_try" in
3662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663  *) ac_try_echo=$ac_try;;
3664esac
3665eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666$as_echo "$ac_try_echo"; } >&5
3667  (eval "$ac_link") 2>&5
3668  ac_status=$?
3669  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670  test $ac_status = 0; }; then :
3671  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3672# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3673# work properly (i.e., refer to `conftest.exe'), while it won't with
3674# `rm'.
3675for ac_file in conftest.exe conftest conftest.*; do
3676  test -f "$ac_file" || continue
3677  case $ac_file in
3678    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3679    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3680	  break;;
3681    * ) break;;
3682  esac
3683done
3684else
3685  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3686$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3687as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3688See \`config.log' for more details" "$LINENO" 5; }
3689fi
3690rm -f conftest conftest$ac_cv_exeext
3691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3692$as_echo "$ac_cv_exeext" >&6; }
3693
3694rm -f conftest.$ac_ext
3695EXEEXT=$ac_cv_exeext
3696ac_exeext=$EXEEXT
3697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698/* end confdefs.h.  */
3699#include <stdio.h>
3700int
3701main ()
3702{
3703FILE *f = fopen ("conftest.out", "w");
3704 return ferror (f) || fclose (f) != 0;
3705
3706  ;
3707  return 0;
3708}
3709_ACEOF
3710ac_clean_files="$ac_clean_files conftest.out"
3711# Check that the compiler produces executables we can run.  If not, either
3712# the compiler is broken, or we cross compile.
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3714$as_echo_n "checking whether we are cross compiling... " >&6; }
3715if test "$cross_compiling" != yes; then
3716  { { ac_try="$ac_link"
3717case "(($ac_try" in
3718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719  *) ac_try_echo=$ac_try;;
3720esac
3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722$as_echo "$ac_try_echo"; } >&5
3723  (eval "$ac_link") 2>&5
3724  ac_status=$?
3725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726  test $ac_status = 0; }
3727  if { ac_try='./conftest$ac_cv_exeext'
3728  { { case "(($ac_try" in
3729  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730  *) ac_try_echo=$ac_try;;
3731esac
3732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3733$as_echo "$ac_try_echo"; } >&5
3734  (eval "$ac_try") 2>&5
3735  ac_status=$?
3736  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3737  test $ac_status = 0; }; }; then
3738    cross_compiling=no
3739  else
3740    if test "$cross_compiling" = maybe; then
3741	cross_compiling=yes
3742    else
3743	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3744$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745as_fn_error $? "cannot run C compiled programs.
3746If you meant to cross compile, use \`--host'.
3747See \`config.log' for more details" "$LINENO" 5; }
3748    fi
3749  fi
3750fi
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3752$as_echo "$cross_compiling" >&6; }
3753
3754rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3755ac_clean_files=$ac_clean_files_save
3756fi
3757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3758$as_echo_n "checking for suffix of object files... " >&6; }
3759if ${ac_cv_objext+:} false; then :
3760  $as_echo_n "(cached) " >&6
3761else
3762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763/* end confdefs.h.  */
3764
3765int
3766main ()
3767{
3768
3769  ;
3770  return 0;
3771}
3772_ACEOF
3773rm -f conftest.o conftest.obj
3774if { { ac_try="$ac_compile"
3775case "(($ac_try" in
3776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777  *) ac_try_echo=$ac_try;;
3778esac
3779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780$as_echo "$ac_try_echo"; } >&5
3781  (eval "$ac_compile") 2>&5
3782  ac_status=$?
3783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784  test $ac_status = 0; }; then :
3785  for ac_file in conftest.o conftest.obj conftest.*; do
3786  test -f "$ac_file" || continue;
3787  case $ac_file in
3788    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3789    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3790       break;;
3791  esac
3792done
3793else
3794  $as_echo "$as_me: failed program was:" >&5
3795sed 's/^/| /' conftest.$ac_ext >&5
3796
3797{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799as_fn_error $? "cannot compute suffix of object files: cannot compile
3800See \`config.log' for more details" "$LINENO" 5; }
3801fi
3802rm -f conftest.$ac_cv_objext conftest.$ac_ext
3803fi
3804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3805$as_echo "$ac_cv_objext" >&6; }
3806OBJEXT=$ac_cv_objext
3807ac_objext=$OBJEXT
3808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3809$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3810if ${ac_cv_c_compiler_gnu+:} false; then :
3811  $as_echo_n "(cached) " >&6
3812else
3813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814/* end confdefs.h.  */
3815
3816int
3817main ()
3818{
3819#ifndef __GNUC__
3820       choke me
3821#endif
3822
3823  ;
3824  return 0;
3825}
3826_ACEOF
3827if ac_fn_c_try_compile "$LINENO"; then :
3828  ac_compiler_gnu=yes
3829else
3830  ac_compiler_gnu=no
3831fi
3832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833ac_cv_c_compiler_gnu=$ac_compiler_gnu
3834
3835fi
3836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3837$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3838if test $ac_compiler_gnu = yes; then
3839  GCC=yes
3840else
3841  GCC=
3842fi
3843ac_test_CFLAGS=${CFLAGS+set}
3844ac_save_CFLAGS=$CFLAGS
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3846$as_echo_n "checking whether $CC accepts -g... " >&6; }
3847if ${ac_cv_prog_cc_g+:} false; then :
3848  $as_echo_n "(cached) " >&6
3849else
3850  ac_save_c_werror_flag=$ac_c_werror_flag
3851   ac_c_werror_flag=yes
3852   ac_cv_prog_cc_g=no
3853   CFLAGS="-g"
3854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855/* end confdefs.h.  */
3856
3857int
3858main ()
3859{
3860
3861  ;
3862  return 0;
3863}
3864_ACEOF
3865if ac_fn_c_try_compile "$LINENO"; then :
3866  ac_cv_prog_cc_g=yes
3867else
3868  CFLAGS=""
3869      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870/* end confdefs.h.  */
3871
3872int
3873main ()
3874{
3875
3876  ;
3877  return 0;
3878}
3879_ACEOF
3880if ac_fn_c_try_compile "$LINENO"; then :
3881
3882else
3883  ac_c_werror_flag=$ac_save_c_werror_flag
3884	 CFLAGS="-g"
3885	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886/* end confdefs.h.  */
3887
3888int
3889main ()
3890{
3891
3892  ;
3893  return 0;
3894}
3895_ACEOF
3896if ac_fn_c_try_compile "$LINENO"; then :
3897  ac_cv_prog_cc_g=yes
3898fi
3899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900fi
3901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902fi
3903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904   ac_c_werror_flag=$ac_save_c_werror_flag
3905fi
3906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3907$as_echo "$ac_cv_prog_cc_g" >&6; }
3908if test "$ac_test_CFLAGS" = set; then
3909  CFLAGS=$ac_save_CFLAGS
3910elif test $ac_cv_prog_cc_g = yes; then
3911  if test "$GCC" = yes; then
3912    CFLAGS="-g -O2"
3913  else
3914    CFLAGS="-g"
3915  fi
3916else
3917  if test "$GCC" = yes; then
3918    CFLAGS="-O2"
3919  else
3920    CFLAGS=
3921  fi
3922fi
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3924$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3925if ${ac_cv_prog_cc_c89+:} false; then :
3926  $as_echo_n "(cached) " >&6
3927else
3928  ac_cv_prog_cc_c89=no
3929ac_save_CC=$CC
3930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931/* end confdefs.h.  */
3932#include <stdarg.h>
3933#include <stdio.h>
3934struct stat;
3935/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3936struct buf { int x; };
3937FILE * (*rcsopen) (struct buf *, struct stat *, int);
3938static char *e (p, i)
3939     char **p;
3940     int i;
3941{
3942  return p[i];
3943}
3944static char *f (char * (*g) (char **, int), char **p, ...)
3945{
3946  char *s;
3947  va_list v;
3948  va_start (v,p);
3949  s = g (p, va_arg (v,int));
3950  va_end (v);
3951  return s;
3952}
3953
3954/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3955   function prototypes and stuff, but not '\xHH' hex character constants.
3956   These don't provoke an error unfortunately, instead are silently treated
3957   as 'x'.  The following induces an error, until -std is added to get
3958   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3959   array size at least.  It's necessary to write '\x00'==0 to get something
3960   that's true only with -std.  */
3961int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3962
3963/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3964   inside strings and character constants.  */
3965#define FOO(x) 'x'
3966int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3967
3968int test (int i, double x);
3969struct s1 {int (*f) (int a);};
3970struct s2 {int (*f) (double a);};
3971int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3972int argc;
3973char **argv;
3974int
3975main ()
3976{
3977return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3978  ;
3979  return 0;
3980}
3981_ACEOF
3982for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3983	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3984do
3985  CC="$ac_save_CC $ac_arg"
3986  if ac_fn_c_try_compile "$LINENO"; then :
3987  ac_cv_prog_cc_c89=$ac_arg
3988fi
3989rm -f core conftest.err conftest.$ac_objext
3990  test "x$ac_cv_prog_cc_c89" != "xno" && break
3991done
3992rm -f conftest.$ac_ext
3993CC=$ac_save_CC
3994
3995fi
3996# AC_CACHE_VAL
3997case "x$ac_cv_prog_cc_c89" in
3998  x)
3999    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4000$as_echo "none needed" >&6; } ;;
4001  xno)
4002    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4003$as_echo "unsupported" >&6; } ;;
4004  *)
4005    CC="$CC $ac_cv_prog_cc_c89"
4006    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4007$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4008esac
4009if test "x$ac_cv_prog_cc_c89" != xno; then :
4010
4011fi
4012
4013ac_ext=c
4014ac_cpp='$CPP $CPPFLAGS'
4015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018
4019ac_ext=c
4020ac_cpp='$CPP $CPPFLAGS'
4021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4023ac_compiler_gnu=$ac_cv_c_compiler_gnu
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4025$as_echo_n "checking how to run the C preprocessor... " >&6; }
4026# On Suns, sometimes $CPP names a directory.
4027if test -n "$CPP" && test -d "$CPP"; then
4028  CPP=
4029fi
4030if test -z "$CPP"; then
4031  if ${ac_cv_prog_CPP+:} false; then :
4032  $as_echo_n "(cached) " >&6
4033else
4034      # Double quotes because CPP needs to be expanded
4035    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4036    do
4037      ac_preproc_ok=false
4038for ac_c_preproc_warn_flag in '' yes
4039do
4040  # Use a header file that comes with gcc, so configuring glibc
4041  # with a fresh cross-compiler works.
4042  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4043  # <limits.h> exists even on freestanding compilers.
4044  # On the NeXT, cc -E runs the code through the compiler's parser,
4045  # not just through cpp. "Syntax error" is here to catch this case.
4046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047/* end confdefs.h.  */
4048#ifdef __STDC__
4049# include <limits.h>
4050#else
4051# include <assert.h>
4052#endif
4053		     Syntax error
4054_ACEOF
4055if ac_fn_c_try_cpp "$LINENO"; then :
4056
4057else
4058  # Broken: fails on valid input.
4059continue
4060fi
4061rm -f conftest.err conftest.i conftest.$ac_ext
4062
4063  # OK, works on sane cases.  Now check whether nonexistent headers
4064  # can be detected and how.
4065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066/* end confdefs.h.  */
4067#include <ac_nonexistent.h>
4068_ACEOF
4069if ac_fn_c_try_cpp "$LINENO"; then :
4070  # Broken: success on invalid input.
4071continue
4072else
4073  # Passes both tests.
4074ac_preproc_ok=:
4075break
4076fi
4077rm -f conftest.err conftest.i conftest.$ac_ext
4078
4079done
4080# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4081rm -f conftest.i conftest.err conftest.$ac_ext
4082if $ac_preproc_ok; then :
4083  break
4084fi
4085
4086    done
4087    ac_cv_prog_CPP=$CPP
4088
4089fi
4090  CPP=$ac_cv_prog_CPP
4091else
4092  ac_cv_prog_CPP=$CPP
4093fi
4094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4095$as_echo "$CPP" >&6; }
4096ac_preproc_ok=false
4097for ac_c_preproc_warn_flag in '' yes
4098do
4099  # Use a header file that comes with gcc, so configuring glibc
4100  # with a fresh cross-compiler works.
4101  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4102  # <limits.h> exists even on freestanding compilers.
4103  # On the NeXT, cc -E runs the code through the compiler's parser,
4104  # not just through cpp. "Syntax error" is here to catch this case.
4105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106/* end confdefs.h.  */
4107#ifdef __STDC__
4108# include <limits.h>
4109#else
4110# include <assert.h>
4111#endif
4112		     Syntax error
4113_ACEOF
4114if ac_fn_c_try_cpp "$LINENO"; then :
4115
4116else
4117  # Broken: fails on valid input.
4118continue
4119fi
4120rm -f conftest.err conftest.i conftest.$ac_ext
4121
4122  # OK, works on sane cases.  Now check whether nonexistent headers
4123  # can be detected and how.
4124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125/* end confdefs.h.  */
4126#include <ac_nonexistent.h>
4127_ACEOF
4128if ac_fn_c_try_cpp "$LINENO"; then :
4129  # Broken: success on invalid input.
4130continue
4131else
4132  # Passes both tests.
4133ac_preproc_ok=:
4134break
4135fi
4136rm -f conftest.err conftest.i conftest.$ac_ext
4137
4138done
4139# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4140rm -f conftest.i conftest.err conftest.$ac_ext
4141if $ac_preproc_ok; then :
4142
4143else
4144  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4147See \`config.log' for more details" "$LINENO" 5; }
4148fi
4149
4150ac_ext=c
4151ac_cpp='$CPP $CPPFLAGS'
4152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155
4156
4157ac_c_preproc_warn_flag=yes
4158
4159
4160# Check whether --enable-largefile was given.
4161if test "${enable_largefile+set}" = set; then :
4162  enableval=$enable_largefile;
4163fi
4164
4165if test "$enable_largefile" != no; then
4166
4167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4168$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4169if ${ac_cv_sys_largefile_CC+:} false; then :
4170  $as_echo_n "(cached) " >&6
4171else
4172  ac_cv_sys_largefile_CC=no
4173     if test "$GCC" != yes; then
4174       ac_save_CC=$CC
4175       while :; do
4176	 # IRIX 6.2 and later do not support large files by default,
4177	 # so use the C compiler's -n32 option if that helps.
4178	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179/* end confdefs.h.  */
4180#include <sys/types.h>
4181 /* Check that off_t can represent 2**63 - 1 correctly.
4182    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4183    since some C++ compilers masquerading as C compilers
4184    incorrectly reject 9223372036854775807.  */
4185#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4186  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4187		       && LARGE_OFF_T % 2147483647 == 1)
4188		      ? 1 : -1];
4189int
4190main ()
4191{
4192
4193  ;
4194  return 0;
4195}
4196_ACEOF
4197	 if ac_fn_c_try_compile "$LINENO"; then :
4198  break
4199fi
4200rm -f core conftest.err conftest.$ac_objext
4201	 CC="$CC -n32"
4202	 if ac_fn_c_try_compile "$LINENO"; then :
4203  ac_cv_sys_largefile_CC=' -n32'; break
4204fi
4205rm -f core conftest.err conftest.$ac_objext
4206	 break
4207       done
4208       CC=$ac_save_CC
4209       rm -f conftest.$ac_ext
4210    fi
4211fi
4212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4213$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4214  if test "$ac_cv_sys_largefile_CC" != no; then
4215    CC=$CC$ac_cv_sys_largefile_CC
4216  fi
4217
4218  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4219$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4220if ${ac_cv_sys_file_offset_bits+:} false; then :
4221  $as_echo_n "(cached) " >&6
4222else
4223  while :; do
4224  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225/* end confdefs.h.  */
4226#include <sys/types.h>
4227 /* Check that off_t can represent 2**63 - 1 correctly.
4228    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4229    since some C++ compilers masquerading as C compilers
4230    incorrectly reject 9223372036854775807.  */
4231#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4232  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4233		       && LARGE_OFF_T % 2147483647 == 1)
4234		      ? 1 : -1];
4235int
4236main ()
4237{
4238
4239  ;
4240  return 0;
4241}
4242_ACEOF
4243if ac_fn_c_try_compile "$LINENO"; then :
4244  ac_cv_sys_file_offset_bits=no; break
4245fi
4246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248/* end confdefs.h.  */
4249#define _FILE_OFFSET_BITS 64
4250#include <sys/types.h>
4251 /* Check that off_t can represent 2**63 - 1 correctly.
4252    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4253    since some C++ compilers masquerading as C compilers
4254    incorrectly reject 9223372036854775807.  */
4255#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4256  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4257		       && LARGE_OFF_T % 2147483647 == 1)
4258		      ? 1 : -1];
4259int
4260main ()
4261{
4262
4263  ;
4264  return 0;
4265}
4266_ACEOF
4267if ac_fn_c_try_compile "$LINENO"; then :
4268  ac_cv_sys_file_offset_bits=64; break
4269fi
4270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271  ac_cv_sys_file_offset_bits=unknown
4272  break
4273done
4274fi
4275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4276$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4277case $ac_cv_sys_file_offset_bits in #(
4278  no | unknown) ;;
4279  *)
4280cat >>confdefs.h <<_ACEOF
4281#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4282_ACEOF
4283;;
4284esac
4285rm -rf conftest*
4286  if test $ac_cv_sys_file_offset_bits = unknown; then
4287    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4288$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4289if ${ac_cv_sys_large_files+:} false; then :
4290  $as_echo_n "(cached) " >&6
4291else
4292  while :; do
4293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294/* end confdefs.h.  */
4295#include <sys/types.h>
4296 /* Check that off_t can represent 2**63 - 1 correctly.
4297    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4298    since some C++ compilers masquerading as C compilers
4299    incorrectly reject 9223372036854775807.  */
4300#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4301  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4302		       && LARGE_OFF_T % 2147483647 == 1)
4303		      ? 1 : -1];
4304int
4305main ()
4306{
4307
4308  ;
4309  return 0;
4310}
4311_ACEOF
4312if ac_fn_c_try_compile "$LINENO"; then :
4313  ac_cv_sys_large_files=no; break
4314fi
4315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317/* end confdefs.h.  */
4318#define _LARGE_FILES 1
4319#include <sys/types.h>
4320 /* Check that off_t can represent 2**63 - 1 correctly.
4321    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4322    since some C++ compilers masquerading as C compilers
4323    incorrectly reject 9223372036854775807.  */
4324#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4325  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4326		       && LARGE_OFF_T % 2147483647 == 1)
4327		      ? 1 : -1];
4328int
4329main ()
4330{
4331
4332  ;
4333  return 0;
4334}
4335_ACEOF
4336if ac_fn_c_try_compile "$LINENO"; then :
4337  ac_cv_sys_large_files=1; break
4338fi
4339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340  ac_cv_sys_large_files=unknown
4341  break
4342done
4343fi
4344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4345$as_echo "$ac_cv_sys_large_files" >&6; }
4346case $ac_cv_sys_large_files in #(
4347  no | unknown) ;;
4348  *)
4349cat >>confdefs.h <<_ACEOF
4350#define _LARGE_FILES $ac_cv_sys_large_files
4351_ACEOF
4352;;
4353esac
4354rm -rf conftest*
4355  fi
4356
4357
4358fi
4359
4360
4361
4362# The cast to long int works around a bug in the HP C Compiler
4363# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4364# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4365# This bug is HP SR number 8606223364.
4366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4367$as_echo_n "checking size of double... " >&6; }
4368if ${ac_cv_sizeof_double+:} false; then :
4369  $as_echo_n "(cached) " >&6
4370else
4371  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
4372
4373else
4374  if test "$ac_cv_type_double" = yes; then
4375     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377as_fn_error 77 "cannot compute sizeof (double)
4378See \`config.log' for more details" "$LINENO" 5; }
4379   else
4380     ac_cv_sizeof_double=0
4381   fi
4382fi
4383
4384fi
4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4386$as_echo "$ac_cv_sizeof_double" >&6; }
4387
4388
4389
4390cat >>confdefs.h <<_ACEOF
4391#define SIZEOF_DOUBLE $ac_cv_sizeof_double
4392_ACEOF
4393
4394
4395# The cast to long int works around a bug in the HP C Compiler
4396# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4397# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4398# This bug is HP SR number 8606223364.
4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4400$as_echo_n "checking size of long double... " >&6; }
4401if ${ac_cv_sizeof_long_double+:} false; then :
4402  $as_echo_n "(cached) " >&6
4403else
4404  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
4405
4406else
4407  if test "$ac_cv_type_long_double" = yes; then
4408     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4410as_fn_error 77 "cannot compute sizeof (long double)
4411See \`config.log' for more details" "$LINENO" 5; }
4412   else
4413     ac_cv_sizeof_long_double=0
4414   fi
4415fi
4416
4417fi
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4419$as_echo "$ac_cv_sizeof_long_double" >&6; }
4420
4421
4422
4423cat >>confdefs.h <<_ACEOF
4424#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4425_ACEOF
4426
4427
4428as_fn_arith $ac_cv_sizeof_double \* 8 && double_type_size=$as_val
4429as_fn_arith $ac_cv_sizeof_long_double \* 8 && long_double_type_size=$as_val
4430
4431
4432
4433
4434for ac_header in inttypes.h stdint.h stdlib.h ftw.h \
4435	unistd.h sys/stat.h sys/types.h \
4436	string.h strings.h memory.h sys/auxv.h
4437do :
4438  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439ac_fn_c_check_header_preproc "$LINENO" "$ac_header" "$as_ac_Header"
4440if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4441  cat >>confdefs.h <<_ACEOF
4442#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4443_ACEOF
4444
4445fi
4446done
4447
4448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4449$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4450if ${ac_cv_path_GREP+:} false; then :
4451  $as_echo_n "(cached) " >&6
4452else
4453  if test -z "$GREP"; then
4454  ac_path_GREP_found=false
4455  # Loop through the user's path and test for each of PROGNAME-LIST
4456  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4458do
4459  IFS=$as_save_IFS
4460  test -z "$as_dir" && as_dir=.
4461    for ac_prog in grep ggrep; do
4462    for ac_exec_ext in '' $ac_executable_extensions; do
4463      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4464      as_fn_executable_p "$ac_path_GREP" || continue
4465# Check for GNU ac_path_GREP and select it if it is found.
4466  # Check for GNU $ac_path_GREP
4467case `"$ac_path_GREP" --version 2>&1` in
4468*GNU*)
4469  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4470*)
4471  ac_count=0
4472  $as_echo_n 0123456789 >"conftest.in"
4473  while :
4474  do
4475    cat "conftest.in" "conftest.in" >"conftest.tmp"
4476    mv "conftest.tmp" "conftest.in"
4477    cp "conftest.in" "conftest.nl"
4478    $as_echo 'GREP' >> "conftest.nl"
4479    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4480    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4481    as_fn_arith $ac_count + 1 && ac_count=$as_val
4482    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4483      # Best one so far, save it but keep looking for a better one
4484      ac_cv_path_GREP="$ac_path_GREP"
4485      ac_path_GREP_max=$ac_count
4486    fi
4487    # 10*(2^10) chars as input seems more than enough
4488    test $ac_count -gt 10 && break
4489  done
4490  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4491esac
4492
4493      $ac_path_GREP_found && break 3
4494    done
4495  done
4496  done
4497IFS=$as_save_IFS
4498  if test -z "$ac_cv_path_GREP"; then
4499    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4500  fi
4501else
4502  ac_cv_path_GREP=$GREP
4503fi
4504
4505fi
4506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4507$as_echo "$ac_cv_path_GREP" >&6; }
4508 GREP="$ac_cv_path_GREP"
4509
4510
4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4512$as_echo_n "checking for egrep... " >&6; }
4513if ${ac_cv_path_EGREP+:} false; then :
4514  $as_echo_n "(cached) " >&6
4515else
4516  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4517   then ac_cv_path_EGREP="$GREP -E"
4518   else
4519     if test -z "$EGREP"; then
4520  ac_path_EGREP_found=false
4521  # Loop through the user's path and test for each of PROGNAME-LIST
4522  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4524do
4525  IFS=$as_save_IFS
4526  test -z "$as_dir" && as_dir=.
4527    for ac_prog in egrep; do
4528    for ac_exec_ext in '' $ac_executable_extensions; do
4529      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4530      as_fn_executable_p "$ac_path_EGREP" || continue
4531# Check for GNU ac_path_EGREP and select it if it is found.
4532  # Check for GNU $ac_path_EGREP
4533case `"$ac_path_EGREP" --version 2>&1` in
4534*GNU*)
4535  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4536*)
4537  ac_count=0
4538  $as_echo_n 0123456789 >"conftest.in"
4539  while :
4540  do
4541    cat "conftest.in" "conftest.in" >"conftest.tmp"
4542    mv "conftest.tmp" "conftest.in"
4543    cp "conftest.in" "conftest.nl"
4544    $as_echo 'EGREP' >> "conftest.nl"
4545    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4546    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4547    as_fn_arith $ac_count + 1 && ac_count=$as_val
4548    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4549      # Best one so far, save it but keep looking for a better one
4550      ac_cv_path_EGREP="$ac_path_EGREP"
4551      ac_path_EGREP_max=$ac_count
4552    fi
4553    # 10*(2^10) chars as input seems more than enough
4554    test $ac_count -gt 10 && break
4555  done
4556  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4557esac
4558
4559      $ac_path_EGREP_found && break 3
4560    done
4561  done
4562  done
4563IFS=$as_save_IFS
4564  if test -z "$ac_cv_path_EGREP"; then
4565    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566  fi
4567else
4568  ac_cv_path_EGREP=$EGREP
4569fi
4570
4571   fi
4572fi
4573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4574$as_echo "$ac_cv_path_EGREP" >&6; }
4575 EGREP="$ac_cv_path_EGREP"
4576
4577
4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4579$as_echo_n "checking for ANSI C header files... " >&6; }
4580if ${ac_cv_header_stdc+:} false; then :
4581  $as_echo_n "(cached) " >&6
4582else
4583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584/* end confdefs.h.  */
4585#include <stdlib.h>
4586#include <stdarg.h>
4587#include <string.h>
4588#include <float.h>
4589
4590int
4591main ()
4592{
4593
4594  ;
4595  return 0;
4596}
4597_ACEOF
4598if ac_fn_c_try_compile "$LINENO"; then :
4599  ac_cv_header_stdc=yes
4600else
4601  ac_cv_header_stdc=no
4602fi
4603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604
4605if test $ac_cv_header_stdc = yes; then
4606  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608/* end confdefs.h.  */
4609#include <string.h>
4610
4611_ACEOF
4612if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4613  $EGREP "memchr" >/dev/null 2>&1; then :
4614
4615else
4616  ac_cv_header_stdc=no
4617fi
4618rm -f conftest*
4619
4620fi
4621
4622if test $ac_cv_header_stdc = yes; then
4623  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625/* end confdefs.h.  */
4626#include <stdlib.h>
4627
4628_ACEOF
4629if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4630  $EGREP "free" >/dev/null 2>&1; then :
4631
4632else
4633  ac_cv_header_stdc=no
4634fi
4635rm -f conftest*
4636
4637fi
4638
4639if test $ac_cv_header_stdc = yes; then
4640  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4641  if test "$cross_compiling" = yes; then :
4642  :
4643else
4644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645/* end confdefs.h.  */
4646#include <ctype.h>
4647#include <stdlib.h>
4648#if ((' ' & 0x0FF) == 0x020)
4649# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4650# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4651#else
4652# define ISLOWER(c) \
4653		   (('a' <= (c) && (c) <= 'i') \
4654		     || ('j' <= (c) && (c) <= 'r') \
4655		     || ('s' <= (c) && (c) <= 'z'))
4656# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4657#endif
4658
4659#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4660int
4661main ()
4662{
4663  int i;
4664  for (i = 0; i < 256; i++)
4665    if (XOR (islower (i), ISLOWER (i))
4666	|| toupper (i) != TOUPPER (i))
4667      return 2;
4668  return 0;
4669}
4670_ACEOF
4671if ac_fn_c_try_run "$LINENO"; then :
4672
4673else
4674  ac_cv_header_stdc=no
4675fi
4676rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4677  conftest.$ac_objext conftest.beam conftest.$ac_ext
4678fi
4679
4680fi
4681fi
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4683$as_echo "$ac_cv_header_stdc" >&6; }
4684if test $ac_cv_header_stdc = yes; then
4685
4686$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4687
4688fi
4689
4690
4691# Check for decimal float support.
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4693$as_echo_n "checking whether decimal floating point is supported... " >&6; }
4694if ${libgcc_cv_dfp+:} false; then :
4695  $as_echo_n "(cached) " >&6
4696else
4697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698/* end confdefs.h.  */
4699
4700#include <fenv.h>
4701
4702int
4703main ()
4704{
4705
4706_Decimal32 x;
4707int fe_except =
4708  FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4709
4710  ;
4711  return 0;
4712}
4713_ACEOF
4714if ac_fn_c_try_compile "$LINENO"; then :
4715  libgcc_cv_dfp=yes
4716else
4717  libgcc_cv_dfp=no
4718fi
4719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720fi
4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4722$as_echo "$libgcc_cv_dfp" >&6; }
4723decimal_float=$libgcc_cv_dfp
4724
4725
4726
4727# Check whether --enable-decimal-float was given.
4728if test "${enable_decimal_float+set}" = set; then :
4729  enableval=$enable_decimal_float;
4730  case $enable_decimal_float in
4731    yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
4732    *) as_fn_error $? "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4733Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4734  esac
4735
4736else
4737
4738  case $host in
4739    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
4740    i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \
4741    i?86*-*-mingw* | x86_64*-*-mingw* | \
4742    i?86*-*-cygwin* | x86_64*-*-cygwin*)
4743      enable_decimal_float=yes
4744      ;;
4745    *)
4746      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4747$as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4748      enable_decimal_float=no
4749      ;;
4750  esac
4751
4752fi
4753
4754
4755# x86's use BID format instead of DPD
4756case x$enable_decimal_float in
4757  xyes)
4758    case $host in
4759      i?86*-*-* | x86_64*-*-*)
4760	enable_decimal_float=bid
4761	;;
4762      *)
4763	enable_decimal_float=dpd
4764	;;
4765    esac
4766    default_decimal_float=$enable_decimal_float
4767    ;;
4768  xno)
4769    # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4770    # dependency on libdecnumber.
4771    default_decimal_float=dpd
4772    ;;
4773esac
4774
4775
4776
4777
4778# Check for fixed-point support.
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4780$as_echo_n "checking whether fixed-point is supported... " >&6; }
4781if ${libgcc_cv_fixed_point+:} false; then :
4782  $as_echo_n "(cached) " >&6
4783else
4784  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785/* end confdefs.h.  */
4786_Sat _Fract x;
4787_ACEOF
4788if ac_fn_c_try_compile "$LINENO"; then :
4789  libgcc_cv_fixed_point=yes
4790else
4791  libgcc_cv_fixed_point=no
4792fi
4793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794fi
4795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4796$as_echo "$libgcc_cv_fixed_point" >&6; }
4797fixed_point=$libgcc_cv_fixed_point
4798
4799
4800# For platforms with the unwind ABI which includes an unwind library,
4801# libunwind, we can choose to use the system libunwind.
4802# config.gcc also contains tests of with_system_libunwind.
4803
4804
4805# Check whether --with-system-libunwind was given.
4806if test "${with_system_libunwind+set}" = set; then :
4807  withval=$with_system_libunwind;
4808fi
4809
4810  # If system-libunwind was not specifically set, pick a default setting.
4811  if test x$with_system_libunwind = x; then
4812    case ${target} in
4813      ia64-*-hpux*) with_system_libunwind=yes ;;
4814      *) with_system_libunwind=no ;;
4815    esac
4816  fi
4817  # Based on system-libunwind and target, do we have ipinfo?
4818  if  test x$with_system_libunwind = xyes; then
4819    case ${target} in
4820      ia64-*-*) have_unwind_getipinfo=no ;;
4821      *) have_unwind_getipinfo=yes ;;
4822    esac
4823  else
4824    # Darwin before version 9 does not have _Unwind_GetIPInfo.
4825
4826    case ${target} in
4827      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
4828      *) have_unwind_getipinfo=yes ;;
4829    esac
4830
4831  fi
4832
4833  if test x$have_unwind_getipinfo = xyes; then
4834
4835$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4836
4837  fi
4838
4839
4840# Check if the compiler is configured for setjmp/longjmp exceptions.
4841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4842$as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4843if ${ac_cv_sjlj_exceptions+:} false; then :
4844  $as_echo_n "(cached) " >&6
4845else
4846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847/* end confdefs.h.  */
4848#ifdef __USING_SJLJ_EXCEPTIONS__
4849          this will fail
4850          #endif
4851int
4852main ()
4853{
4854int i;
4855  ;
4856  return 0;
4857}
4858_ACEOF
4859if ac_fn_c_try_compile "$LINENO"; then :
4860  ac_cv_sjlj_exceptions=no
4861else
4862  ac_cv_sjlj_exceptions=yes
4863fi
4864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865fi
4866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4867$as_echo "$ac_cv_sjlj_exceptions" >&6; }
4868
4869 # Check whether --enable-cet was given.
4870if test "${enable_cet+set}" = set; then :
4871  enableval=$enable_cet;
4872      case "$enableval" in
4873       yes|no|auto) ;;
4874       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4875                          esac
4876
4877else
4878  enable_cet=no
4879fi
4880
4881
4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4883$as_echo_n "checking for CET support... " >&6; }
4884
4885case "$host" in
4886  i[34567]86-*-linux* | x86_64-*-linux*)
4887    case "$enable_cet" in
4888      auto)
4889	# Check if target supports multi-byte NOPs
4890	# and if assembler supports CET insn.
4891	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892/* end confdefs.h.  */
4893
4894int
4895main ()
4896{
4897
4898#if !defined(__SSE2__)
4899#error target does not support multi-byte NOPs
4900#else
4901asm ("setssbsy");
4902#endif
4903
4904  ;
4905  return 0;
4906}
4907_ACEOF
4908if ac_fn_c_try_compile "$LINENO"; then :
4909  enable_cet=yes
4910else
4911  enable_cet=no
4912fi
4913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914	;;
4915      yes)
4916	# Check if assembler supports CET.
4917	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918/* end confdefs.h.  */
4919
4920int
4921main ()
4922{
4923asm ("setssbsy");
4924  ;
4925  return 0;
4926}
4927_ACEOF
4928if ac_fn_c_try_compile "$LINENO"; then :
4929
4930else
4931  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
4932fi
4933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934	;;
4935    esac
4936    ;;
4937  *)
4938    enable_cet=no
4939    ;;
4940esac
4941if test x$enable_cet = xyes; then
4942  CET_FLAGS="-fcf-protection -mshstk"
4943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4944$as_echo "yes" >&6; }
4945else
4946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947$as_echo "no" >&6; }
4948fi
4949
4950
4951
4952# Check whether --enable-explicit-exception-frame-registration was given.
4953if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4954  enableval=$enable_explicit_exception_frame_registration;
4955force_explicit_eh_registry=
4956if test "$enable_explicit_exception_frame_registration" = yes; then
4957  if test $ac_cv_sjlj_exceptions = yes; then
4958    as_fn_error $? "Can't --enable-explicit-exception-frame-registration
4959                  with setjmp/longjmp exceptions" "$LINENO" 5
4960  fi
4961  force_explicit_eh_registry=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4962fi
4963
4964fi
4965
4966
4967
4968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4969$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4970if ${acl_cv_prog_gnu_ld+:} false; then :
4971  $as_echo_n "(cached) " >&6
4972else
4973  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4974if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4975  acl_cv_prog_gnu_ld=yes
4976else
4977  acl_cv_prog_gnu_ld=no
4978fi
4979fi
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4981$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4982with_gnu_ld=$acl_cv_prog_gnu_ld
4983
4984
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4986$as_echo_n "checking for thread model used by GCC... " >&6; }
4987target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4989$as_echo "$target_thread_file" >&6; }
4990
4991# Check for assembler CFI support.
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4993$as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4994if ${libgcc_cv_cfi+:} false; then :
4995  $as_echo_n "(cached) " >&6
4996else
4997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998/* end confdefs.h.  */
4999asm("\n\
5000	.text\n\
5001	.cfi_startproc\n\
5002	.cfi_personality 0, symbol\n\
5003	.cfi_endproc");
5004_ACEOF
5005if ac_fn_c_try_compile "$LINENO"; then :
5006  libgcc_cv_cfi=yes
5007else
5008  libgcc_cv_cfi=no
5009fi
5010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011fi
5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
5013$as_echo "$libgcc_cv_cfi" >&6; }
5014
5015# Check 32bit or 64bit.  In the case of MIPS, this really determines the
5016# word size rather than the address size.
5017cat > conftest.c <<EOF
5018#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
5019    || defined(__mips64)
5020host_address=64
5021#else
5022host_address=32
5023#endif
5024EOF
5025eval `${CC-cc} -E conftest.c | grep host_address=`
5026rm -f conftest.c
5027
5028case ${host} in
5029mips*-*-*)
5030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
5031$as_echo_n "checking whether the target is hard-float... " >&6; }
5032if ${libgcc_cv_mips_hard_float+:} false; then :
5033  $as_echo_n "(cached) " >&6
5034else
5035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5036/* end confdefs.h.  */
5037#ifndef __mips_hard_float
5038     #error FOO
5039     #endif
5040
5041_ACEOF
5042if ac_fn_c_try_compile "$LINENO"; then :
5043  libgcc_cv_mips_hard_float=yes
5044else
5045  libgcc_cv_mips_hard_float=no
5046fi
5047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048fi
5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
5050$as_echo "$libgcc_cv_mips_hard_float" >&6; }
5051esac
5052
5053case ${host} in
5054*-*-solaris2*)
5055  # Check for system-provided CRTs on Solaris 11.4.
5056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
5057$as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
5058if ${libgcc_cv_solaris_crts+:} false; then :
5059  $as_echo_n "(cached) " >&6
5060else
5061  libgcc_cv_solaris_crts=no
5062     libgcc_sysroot="`${CC} -print-sysroot`"
5063     libgcc_libdir="$libgcc_sysroot/usr/lib"
5064     # At the time they were added, gcrt1.o became a symlink for backwards
5065     # compatibility on x86, while crt1.o was added on sparc, so check for that.
5066     case ${host} in
5067       i?86-*-solaris2* | x86_64-*-solaris2*)
5068         if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts=yes; fi
5069	 ;;
5070       sparc*-*-solaris2*)
5071         if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts=yes; fi
5072	 ;;
5073     esac
5074fi
5075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
5076$as_echo "$libgcc_cv_solaris_crts" >&6; }
5077  if test $libgcc_cv_solaris_crts = yes; then
5078
5079$as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
5080
5081  fi
5082  ;;
5083esac
5084
5085# Determine the version of glibc, if any, used on the target.
5086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
5087$as_echo_n "checking for target glibc version... " >&6; }
5088
5089# Check whether --with-glibc-version was given.
5090if test "${with_glibc_version+set}" = set; then :
5091  withval=$with_glibc_version;
5092if echo "$with_glibc_version" | grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
5093  glibc_version_major=`echo "$with_glibc_version" | sed -e 's/\..*//'`
5094  glibc_version_minor=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
5095else
5096  as_fn_error $? "option --with-glibc-version requires a version number M.N" "$LINENO" 5
5097fi
5098else
5099
5100if ac_fn_c_compute_int "$LINENO" "__GLIBC__" "glibc_version_major"        "#include <features.h>"; then :
5101
5102else
5103  glibc_version_major=0
5104fi
5105
5106if ac_fn_c_compute_int "$LINENO" "__GLIBC_MINOR__" "glibc_version_minor"        "#include <features.h>"; then :
5107
5108else
5109  glibc_version_minor=0
5110fi
5111
5112fi
5113
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
5115$as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
5116
5117# Determine floating-point type for powerpc*-*-linux*.
5118# Single-precision-only FPRs are not a supported configuration for
5119# this target, so are not allowed for in this test.
5120case ${host} in
5121powerpc*-*-linux*)
5122  cat > conftest.c <<EOF
5123#ifdef __powerpc64__
5124ppc_fp_type=64
5125#elif defined _SOFT_FLOAT
5126ppc_fp_type=soft
5127#elif defined _SOFT_DOUBLE
5128ppc_fp_type=e500v1
5129#elif defined __NO_FPRS__
5130ppc_fp_type=e500v2
5131#else
5132ppc_fp_type=hard
5133#endif
5134EOF
5135eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
5136rm -f conftest.c
5137# glibc 2.19 and later provide all the soft-fp functions, with proper
5138# interactions with <fenv.h> exception and rounding mode handling, so
5139# make libgcc's versions into compat symbols if a recent enough glibc
5140# version is being used.
5141ppc_fp_compat=
5142case ${ppc_fp_type} in
5143soft|e500v1|e500v2)
5144  if test $glibc_version_major -gt 2 \
5145    || ( test $glibc_version_major -eq 2 \
5146        && test $glibc_version_minor -ge 19 ); then
5147    ppc_fp_compat="t-softfp-compat"
5148  fi
5149  ;;
5150esac
5151;;
5152esac
5153
5154case ${host} in
5155# At present, we cannot turn -mfloat128 on via #pragma GCC target, so just
5156# check if we have VSX (ISA 2.06) support to build the software libraries, and
5157# whether the assembler can handle xsaddqp for hardware support.  Also check if
5158# a new glibc is being used so that __builtin_cpu_supports can be used.
5159powerpc*-*-linux*)
5160  saved_CFLAGS="$CFLAGS"
5161  CFLAGS="$CFLAGS -mabi=altivec -mvsx -mfloat128"
5162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
5163$as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
5164if ${libgcc_cv_powerpc_float128+:} false; then :
5165  $as_echo_n "(cached) " >&6
5166else
5167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168/* end confdefs.h.  */
5169vector double dadd (vector double a, vector double b) { return a + b; }
5170_ACEOF
5171if ac_fn_c_try_compile "$LINENO"; then :
5172  libgcc_cv_powerpc_float128=yes
5173else
5174  libgcc_cv_powerpc_float128=no
5175fi
5176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177fi
5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
5179$as_echo "$libgcc_cv_powerpc_float128" >&6; }
5180
5181  CFLAGS="$CFLAGS -mpower9-vector -mfloat128-hardware"
5182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
5183$as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
5184if ${libgcc_cv_powerpc_float128_hw+:} false; then :
5185  $as_echo_n "(cached) " >&6
5186else
5187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5188/* end confdefs.h.  */
5189#include <sys/auxv.h>
5190     #ifndef AT_PLATFORM
5191     #error "AT_PLATFORM is not defined"
5192     #endif
5193     #ifndef __BUILTIN_CPU_SUPPORTS__
5194     #error "__builtin_cpu_supports is not available"
5195     #endif
5196     vector unsigned char add (vector unsigned char a, vector unsigned char b)
5197     {
5198       vector unsigned char ret;
5199       __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
5200       return ret;
5201     }
5202     void *add_resolver (void) { return (void *) add; }
5203     __float128 add_ifunc (__float128, __float128)
5204	__attribute__ ((__ifunc__ ("add_resolver")));
5205_ACEOF
5206if ac_fn_c_try_compile "$LINENO"; then :
5207  libgcc_cv_powerpc_float128_hw=yes
5208else
5209  libgcc_cv_powerpc_float128_hw=no
5210fi
5211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212fi
5213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
5214$as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
5215  CFLAGS="$saved_CFLAGS"
5216esac
5217
5218# Collect host-machine-specific information.
5219. ${srcdir}/config.host
5220
5221# Used for constructing correct paths for offload compilers.
5222accel_dir_suffix=
5223real_host_noncanonical=${host_noncanonical}
5224if test x"$enable_as_accelerator_for" != x; then
5225  accel_dir_suffix=/accel/${target_noncanonical}
5226  real_host_noncanonical=${enable_as_accelerator_for}
5227fi
5228
5229
5230
5231if test x"$enable_offload_targets" != x; then
5232  extra_parts="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
5233fi
5234
5235# Check if Solaris/x86 linker supports ZERO terminator unwind entries.
5236# This is after config.host so we can augment tmake_file.
5237# Link with -nostartfiles -nodefaultlibs since neither are present while
5238# building libgcc.
5239case ${host} in
5240i?86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
5241  cat > conftest.s <<EOF
5242	.section	.eh_frame,"a",@unwind
5243	.zero	4
5244	.section	.jcr,"aw",@progbits
5245	.zero	8
5246EOF
5247  if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
5248  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5249  (eval $ac_try) 2>&5
5250  ac_status=$?
5251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252  test $ac_status = 0; }; }; then
5253      tmake_file="${tmake_file} i386/t-crtstuff"
5254  fi
5255  ;;
5256esac
5257
5258# Check if Solaris linker support v2 linker mapfile syntax.
5259# Link with -nostartfiles -nodefaultlibs since neither are present while
5260# building libgcc.
5261case ${host} in
5262*-*-solaris2*)
5263  solaris_ld_v2_maps=no
5264  echo 'int main(void) {return 0;}' > conftest.c
5265  echo '$mapfile_version 2' > conftest.map
5266  if { ac_try='${CC-cc} -nostartfiles -nodefaultlibs -Wl,-M,conftest.map -o conftest conftest.c 1>&5'
5267  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5268  (eval $ac_try) 2>&5
5269  ac_status=$?
5270  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5271  test $ac_status = 0; }; }; then
5272      solaris_ld_v2_maps=yes
5273  fi
5274  ;;
5275esac
5276
5277
5278# Check if xtensa target is configured for windowed ABI and thus needs to use
5279# custom unwind code.
5280# This is after config.host so we can augment tmake_file.
5281case ${host} in
5282xtensa*-*)
5283  cat > conftest.c <<EOF
5284	#ifdef __XTENSA_CALL0_ABI__
5285	#error
5286	#endif
5287EOF
5288  if { ac_try='${CC-cc} -E -o conftest.i conftest.c 1>&5'
5289  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5290  (eval $ac_try) 2>&5
5291  ac_status=$?
5292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293  test $ac_status = 0; }; }; then
5294      tmake_file="${tmake_file} xtensa/t-windowed"
5295  fi
5296  ;;
5297esac
5298
5299# Check for visibility support.  This is after config.host so that
5300# we can check for asm_hidden_op.
5301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
5302$as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
5303if ${libgcc_cv_hidden_visibility_attribute+:} false; then :
5304  $as_echo_n "(cached) " >&6
5305else
5306
5307	echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
5308	libgcc_cv_hidden_visibility_attribute=no
5309	if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5310  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5311  (eval $ac_try) 2>&5
5312  ac_status=$?
5313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5314  test $ac_status = 0; }; }; then
5315	    if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
5316		libgcc_cv_hidden_visibility_attribute=yes
5317	    fi
5318	fi
5319	rm -f conftest.*
5320
5321fi
5322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
5323$as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
5324
5325if test $libgcc_cv_hidden_visibility_attribute = yes; then
5326    vis_hide='-fvisibility=hidden -DHIDE_EXPORTS'
5327
5328cat >>confdefs.h <<_ACEOF
5329#define AS_HIDDEN_DIRECTIVE $asm_hidden_op
5330_ACEOF
5331
5332else
5333    vis_hide=
5334fi
5335
5336
5337# Check for .cfi_sections .debug_frame support.
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .cfi_sections .debug_frame" >&5
5339$as_echo_n "checking for .cfi_sections .debug_frame... " >&6; }
5340if ${libgcc_cv_cfi_sections_directive+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343
5344	echo 'int foo (int, char *);' > conftest.c
5345	echo 'int bar (int x) { char *y = __builtin_alloca (x); return foo (x + 1, y) + 1; }' >> conftest.c
5346	libgcc_cv_cfi_sections_directive=no
5347	if { ac_try='${CC-cc} -Werror -g -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S conftest.c -o conftest.s 1>&5'
5348  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5349  (eval $ac_try) 2>&5
5350  ac_status=$?
5351  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5352  test $ac_status = 0; }; }; then
5353	    if grep "\\.cfi_sections.*\\.debug_frame" conftest.s >/dev/null; then
5354		libgcc_cv_cfi_sections_directive=yes
5355	    fi
5356	fi
5357	rm -f conftest.*
5358
5359fi
5360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi_sections_directive" >&5
5361$as_echo "$libgcc_cv_cfi_sections_directive" >&6; }
5362if test $libgcc_cv_cfi_sections_directive = yes; then
5363
5364$as_echo "#define HAVE_AS_CFI_SECTIONS 1" >>confdefs.h
5365
5366fi
5367
5368# See if we have thread-local storage.  We can only test assembler
5369# since link-time and run-time tests require the newly built
5370# gcc, which can't be used to build executable due to that libgcc
5371# is yet to be built here.
5372
5373   # Check whether --enable-tls was given.
5374if test "${enable_tls+set}" = set; then :
5375  enableval=$enable_tls;
5376      case "$enableval" in
5377       yes|no) ;;
5378       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
5379      esac
5380
5381else
5382  enable_tls=yes
5383fi
5384
5385
5386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
5387$as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
5388if ${gcc_cv_have_cc_tls+:} false; then :
5389  $as_echo_n "(cached) " >&6
5390else
5391
5392    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393/* end confdefs.h.  */
5394__thread int a; int b; int main() { return a = b; }
5395_ACEOF
5396if ac_fn_c_try_compile "$LINENO"; then :
5397  gcc_cv_have_cc_tls=yes
5398else
5399  gcc_cv_have_cc_tls=no
5400fi
5401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402
5403fi
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
5405$as_echo "$gcc_cv_have_cc_tls" >&6; }
5406set_have_cc_tls=
5407if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
5408  set_have_cc_tls="-DHAVE_CC_TLS"
5409fi
5410
5411
5412# See if we have emulated thread-local storage.
5413
5414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
5415$as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
5416if ${gcc_cv_use_emutls+:} false; then :
5417  $as_echo_n "(cached) " >&6
5418else
5419
5420    gcc_cv_use_emutls=no
5421    echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
5422    if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
5423  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5424  (eval $ac_try) 2>&5
5425  ac_status=$?
5426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5427  test $ac_status = 0; }; }; then
5428      if grep __emutls_get_address conftest.s > /dev/null; then
5429	gcc_cv_use_emutls=yes
5430      fi
5431    fi
5432    rm -f conftest.*
5433
5434fi
5435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
5436$as_echo "$gcc_cv_use_emutls" >&6; }
5437  if test "$gcc_cv_use_emutls" = "yes" ; then
5438
5439$as_echo "#define USE_EMUTLS 1" >>confdefs.h
5440
5441  fi
5442set_use_emutls=
5443if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5444  set_use_emutls="-DUSE_EMUTLS"
5445fi
5446
5447
5448
5449
5450case "${target}" in
5451i[34567]86-*-* | x86_64-*-*)
5452  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
5453$as_echo_n "checking if the assembler supports AVX... " >&6; }
5454if ${libgcc_cv_as_avx+:} false; then :
5455  $as_echo_n "(cached) " >&6
5456else
5457
5458    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459/* end confdefs.h.  */
5460
5461int
5462main ()
5463{
5464asm("vzeroupper");
5465  ;
5466  return 0;
5467}
5468_ACEOF
5469if ac_fn_c_try_compile "$LINENO"; then :
5470  libgcc_cv_as_avx=yes
5471else
5472  libgcc_cv_as_avx=no
5473fi
5474rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5475
5476fi
5477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_avx" >&5
5478$as_echo "$libgcc_cv_as_avx" >&6; }
5479  if test x$libgcc_cv_as_avx = xyes; then
5480
5481$as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
5482
5483  fi
5484  ;;
5485esac
5486
5487
5488
5489case "${target}" in
5490aarch64*-*-*)
5491  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports LSE" >&5
5492$as_echo_n "checking if the assembler supports LSE... " >&6; }
5493if ${libgcc_cv_as_lse+:} false; then :
5494  $as_echo_n "(cached) " >&6
5495else
5496
5497    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498/* end confdefs.h.  */
5499
5500int
5501main ()
5502{
5503			asm(".arch armv8-a+lse\n\tcas w0, w1, [x2]");
5504
5505  ;
5506  return 0;
5507}
5508_ACEOF
5509if ac_fn_c_try_compile "$LINENO"; then :
5510  libgcc_cv_as_lse=yes
5511else
5512  libgcc_cv_as_lse=no
5513fi
5514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515
5516fi
5517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_lse" >&5
5518$as_echo "$libgcc_cv_as_lse" >&6; }
5519  if test x$libgcc_cv_as_lse = xyes; then
5520
5521$as_echo "#define HAVE_AS_LSE 1" >>confdefs.h
5522
5523  fi
5524  ;;
5525esac
5526
5527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5528$as_echo_n "checking for init priority support... " >&6; }
5529if ${libgcc_cv_init_priority+:} false; then :
5530  $as_echo_n "(cached) " >&6
5531else
5532
5533cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534/* end confdefs.h.  */
5535
5536int
5537main ()
5538{
5539void ip (void) __attribute__ ((constructor (1)));
5540  ;
5541  return 0;
5542}
5543_ACEOF
5544if ac_fn_c_try_compile "$LINENO"; then :
5545  libgcc_cv_init_priority=yes
5546else
5547  libgcc_cv_init_priority=no
5548fi
5549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5550fi
5551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5552$as_echo "$libgcc_cv_init_priority" >&6; }
5553if test $libgcc_cv_init_priority = yes; then
5554
5555$as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5556
5557fi
5558
5559# Conditionalize the sfp-machine.h header for this target machine.
5560if test -z "${sfp_machine_header}"; then
5561	sfp_machine_header=$cpu_type/sfp-machine.h
5562	if test -f ${srcdir}/config/${sfp_machine_header}; then
5563		:
5564	else
5565		sfp_machine_header=no-sfp-machine.h
5566	fi
5567fi
5568
5569
5570# Conditionalize the makefile for this target machine.
5571tmake_file_=
5572for f in ${tmake_file}
5573do
5574	if test -f ${srcdir}/config/$f
5575	then
5576		tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
5577	fi
5578done
5579tmake_file="${tmake_file_}"
5580
5581
5582# Likewise export definitions for libgcc_tm.h
5583tm_file_=
5584for f in ${tm_file}
5585do
5586	tm_file_="${tm_file_} \$(srcdir)/config/$f"
5587done
5588tm_file="${tm_file_}"
5589
5590
5591
5592# Map from thread model to thread header.
5593
5594case $target_thread_file in
5595    aix)	thread_header=config/rs6000/gthr-aix.h ;;
5596    dce)	thread_header=config/pa/gthr-dce.h ;;
5597    lynx)	thread_header=config/gthr-lynx.h ;;
5598    mipssde)	thread_header=config/mips/gthr-mipssde.h ;;
5599    posix)	thread_header=gthr-posix.h ;;
5600    rtems)	thread_header=config/gthr-rtems.h ;;
5601    single)	thread_header=gthr-single.h ;;
5602    tpf)	thread_header=config/s390/gthr-tpf.h ;;
5603    vxworks)	thread_header=config/gthr-vxworks.h ;;
5604    win32)	thread_header=config/i386/gthr-win32.h ;;
5605esac
5606
5607
5608
5609# Determine what GCC version number to use in filesystem paths.
5610
5611  get_gcc_base_ver="cat"
5612
5613# Check whether --with-gcc-major-version-only was given.
5614if test "${with_gcc_major_version_only+set}" = set; then :
5615  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
5616        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
5617      fi
5618
5619fi
5620
5621
5622
5623
5624# Substitute configuration variables
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634# We need multilib support.
5635ac_config_files="$ac_config_files Makefile"
5636
5637ac_config_commands="$ac_config_commands default"
5638
5639cat >confcache <<\_ACEOF
5640# This file is a shell script that caches the results of configure
5641# tests run on this system so they can be shared between configure
5642# scripts and configure runs, see configure's option --config-cache.
5643# It is not useful on other systems.  If it contains results you don't
5644# want to keep, you may remove or edit it.
5645#
5646# config.status only pays attention to the cache file if you give it
5647# the --recheck option to rerun configure.
5648#
5649# `ac_cv_env_foo' variables (set or unset) will be overridden when
5650# loading this file, other *unset* `ac_cv_foo' will be assigned the
5651# following values.
5652
5653_ACEOF
5654
5655# The following way of writing the cache mishandles newlines in values,
5656# but we know of no workaround that is simple, portable, and efficient.
5657# So, we kill variables containing newlines.
5658# Ultrix sh set writes to stderr and can't be redirected directly,
5659# and sets the high bit in the cache file unless we assign to the vars.
5660(
5661  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5662    eval ac_val=\$$ac_var
5663    case $ac_val in #(
5664    *${as_nl}*)
5665      case $ac_var in #(
5666      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5667$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5668      esac
5669      case $ac_var in #(
5670      _ | IFS | as_nl) ;; #(
5671      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5672      *) { eval $ac_var=; unset $ac_var;} ;;
5673      esac ;;
5674    esac
5675  done
5676
5677  (set) 2>&1 |
5678    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5679    *${as_nl}ac_space=\ *)
5680      # `set' does not quote correctly, so add quotes: double-quote
5681      # substitution turns \\\\ into \\, and sed turns \\ into \.
5682      sed -n \
5683	"s/'/'\\\\''/g;
5684	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5685      ;; #(
5686    *)
5687      # `set' quotes correctly as required by POSIX, so do not add quotes.
5688      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5689      ;;
5690    esac |
5691    sort
5692) |
5693  sed '
5694     /^ac_cv_env_/b end
5695     t clear
5696     :clear
5697     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5698     t end
5699     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5700     :end' >>confcache
5701if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5702  if test -w "$cache_file"; then
5703    if test "x$cache_file" != "x/dev/null"; then
5704      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5705$as_echo "$as_me: updating cache $cache_file" >&6;}
5706      if test ! -f "$cache_file" || test -h "$cache_file"; then
5707	cat confcache >"$cache_file"
5708      else
5709        case $cache_file in #(
5710        */* | ?:*)
5711	  mv -f confcache "$cache_file"$$ &&
5712	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5713        *)
5714	  mv -f confcache "$cache_file" ;;
5715	esac
5716      fi
5717    fi
5718  else
5719    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5720$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5721  fi
5722fi
5723rm -f confcache
5724
5725test "x$prefix" = xNONE && prefix=$ac_default_prefix
5726# Let make expand exec_prefix.
5727test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5728
5729DEFS=-DHAVE_CONFIG_H
5730
5731ac_libobjs=
5732ac_ltlibobjs=
5733U=
5734for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5735  # 1. Remove the extension, and $U if already installed.
5736  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5737  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5738  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5739  #    will be set to the directory where LIBOBJS objects are built.
5740  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5741  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5742done
5743LIBOBJS=$ac_libobjs
5744
5745LTLIBOBJS=$ac_ltlibobjs
5746
5747
5748
5749: "${CONFIG_STATUS=./config.status}"
5750ac_write_fail=0
5751ac_clean_files_save=$ac_clean_files
5752ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5753{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5754$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5755as_write_fail=0
5756cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5757#! $SHELL
5758# Generated by $as_me.
5759# Run this file to recreate the current configuration.
5760# Compiler output produced by configure, useful for debugging
5761# configure, is in config.log if it exists.
5762
5763debug=false
5764ac_cs_recheck=false
5765ac_cs_silent=false
5766
5767SHELL=\${CONFIG_SHELL-$SHELL}
5768export SHELL
5769_ASEOF
5770cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5771## -------------------- ##
5772## M4sh Initialization. ##
5773## -------------------- ##
5774
5775# Be more Bourne compatible
5776DUALCASE=1; export DUALCASE # for MKS sh
5777if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5778  emulate sh
5779  NULLCMD=:
5780  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5781  # is contrary to our usage.  Disable this feature.
5782  alias -g '${1+"$@"}'='"$@"'
5783  setopt NO_GLOB_SUBST
5784else
5785  case `(set -o) 2>/dev/null` in #(
5786  *posix*) :
5787    set -o posix ;; #(
5788  *) :
5789     ;;
5790esac
5791fi
5792
5793
5794as_nl='
5795'
5796export as_nl
5797# Printing a long string crashes Solaris 7 /usr/bin/printf.
5798as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5799as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5800as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5801# Prefer a ksh shell builtin over an external printf program on Solaris,
5802# but without wasting forks for bash or zsh.
5803if test -z "$BASH_VERSION$ZSH_VERSION" \
5804    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5805  as_echo='print -r --'
5806  as_echo_n='print -rn --'
5807elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5808  as_echo='printf %s\n'
5809  as_echo_n='printf %s'
5810else
5811  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5812    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5813    as_echo_n='/usr/ucb/echo -n'
5814  else
5815    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5816    as_echo_n_body='eval
5817      arg=$1;
5818      case $arg in #(
5819      *"$as_nl"*)
5820	expr "X$arg" : "X\\(.*\\)$as_nl";
5821	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5822      esac;
5823      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5824    '
5825    export as_echo_n_body
5826    as_echo_n='sh -c $as_echo_n_body as_echo'
5827  fi
5828  export as_echo_body
5829  as_echo='sh -c $as_echo_body as_echo'
5830fi
5831
5832# The user is always right.
5833if test "${PATH_SEPARATOR+set}" != set; then
5834  PATH_SEPARATOR=:
5835  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5836    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5837      PATH_SEPARATOR=';'
5838  }
5839fi
5840
5841
5842# IFS
5843# We need space, tab and new line, in precisely that order.  Quoting is
5844# there to prevent editors from complaining about space-tab.
5845# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5846# splitting by setting IFS to empty value.)
5847IFS=" ""	$as_nl"
5848
5849# Find who we are.  Look in the path if we contain no directory separator.
5850as_myself=
5851case $0 in #((
5852  *[\\/]* ) as_myself=$0 ;;
5853  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854for as_dir in $PATH
5855do
5856  IFS=$as_save_IFS
5857  test -z "$as_dir" && as_dir=.
5858    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5859  done
5860IFS=$as_save_IFS
5861
5862     ;;
5863esac
5864# We did not find ourselves, most probably we were run as `sh COMMAND'
5865# in which case we are not to be found in the path.
5866if test "x$as_myself" = x; then
5867  as_myself=$0
5868fi
5869if test ! -f "$as_myself"; then
5870  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5871  exit 1
5872fi
5873
5874# Unset variables that we do not need and which cause bugs (e.g. in
5875# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5876# suppresses any "Segmentation fault" message there.  '((' could
5877# trigger a bug in pdksh 5.2.14.
5878for as_var in BASH_ENV ENV MAIL MAILPATH
5879do eval test x\${$as_var+set} = xset \
5880  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5881done
5882PS1='$ '
5883PS2='> '
5884PS4='+ '
5885
5886# NLS nuisances.
5887LC_ALL=C
5888export LC_ALL
5889LANGUAGE=C
5890export LANGUAGE
5891
5892# CDPATH.
5893(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5894
5895
5896# as_fn_error STATUS ERROR [LINENO LOG_FD]
5897# ----------------------------------------
5898# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5899# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5900# script with STATUS, using 1 if that was 0.
5901as_fn_error ()
5902{
5903  as_status=$1; test $as_status -eq 0 && as_status=1
5904  if test "$4"; then
5905    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5906    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5907  fi
5908  $as_echo "$as_me: error: $2" >&2
5909  as_fn_exit $as_status
5910} # as_fn_error
5911
5912
5913# as_fn_set_status STATUS
5914# -----------------------
5915# Set $? to STATUS, without forking.
5916as_fn_set_status ()
5917{
5918  return $1
5919} # as_fn_set_status
5920
5921# as_fn_exit STATUS
5922# -----------------
5923# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5924as_fn_exit ()
5925{
5926  set +e
5927  as_fn_set_status $1
5928  exit $1
5929} # as_fn_exit
5930
5931# as_fn_unset VAR
5932# ---------------
5933# Portably unset VAR.
5934as_fn_unset ()
5935{
5936  { eval $1=; unset $1;}
5937}
5938as_unset=as_fn_unset
5939# as_fn_append VAR VALUE
5940# ----------------------
5941# Append the text in VALUE to the end of the definition contained in VAR. Take
5942# advantage of any shell optimizations that allow amortized linear growth over
5943# repeated appends, instead of the typical quadratic growth present in naive
5944# implementations.
5945if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5946  eval 'as_fn_append ()
5947  {
5948    eval $1+=\$2
5949  }'
5950else
5951  as_fn_append ()
5952  {
5953    eval $1=\$$1\$2
5954  }
5955fi # as_fn_append
5956
5957# as_fn_arith ARG...
5958# ------------------
5959# Perform arithmetic evaluation on the ARGs, and store the result in the
5960# global $as_val. Take advantage of shells that can avoid forks. The arguments
5961# must be portable across $(()) and expr.
5962if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5963  eval 'as_fn_arith ()
5964  {
5965    as_val=$(( $* ))
5966  }'
5967else
5968  as_fn_arith ()
5969  {
5970    as_val=`expr "$@" || test $? -eq 1`
5971  }
5972fi # as_fn_arith
5973
5974
5975if expr a : '\(a\)' >/dev/null 2>&1 &&
5976   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5977  as_expr=expr
5978else
5979  as_expr=false
5980fi
5981
5982if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5983  as_basename=basename
5984else
5985  as_basename=false
5986fi
5987
5988if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5989  as_dirname=dirname
5990else
5991  as_dirname=false
5992fi
5993
5994as_me=`$as_basename -- "$0" ||
5995$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5996	 X"$0" : 'X\(//\)$' \| \
5997	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5998$as_echo X/"$0" |
5999    sed '/^.*\/\([^/][^/]*\)\/*$/{
6000	    s//\1/
6001	    q
6002	  }
6003	  /^X\/\(\/\/\)$/{
6004	    s//\1/
6005	    q
6006	  }
6007	  /^X\/\(\/\).*/{
6008	    s//\1/
6009	    q
6010	  }
6011	  s/.*/./; q'`
6012
6013# Avoid depending upon Character Ranges.
6014as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6015as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6016as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6017as_cr_digits='0123456789'
6018as_cr_alnum=$as_cr_Letters$as_cr_digits
6019
6020ECHO_C= ECHO_N= ECHO_T=
6021case `echo -n x` in #(((((
6022-n*)
6023  case `echo 'xy\c'` in
6024  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6025  xy)  ECHO_C='\c';;
6026  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6027       ECHO_T='	';;
6028  esac;;
6029*)
6030  ECHO_N='-n';;
6031esac
6032
6033rm -f conf$$ conf$$.exe conf$$.file
6034if test -d conf$$.dir; then
6035  rm -f conf$$.dir/conf$$.file
6036else
6037  rm -f conf$$.dir
6038  mkdir conf$$.dir 2>/dev/null
6039fi
6040if (echo >conf$$.file) 2>/dev/null; then
6041  if ln -s conf$$.file conf$$ 2>/dev/null; then
6042    as_ln_s='ln -s'
6043    # ... but there are two gotchas:
6044    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6045    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6046    # In both cases, we have to default to `cp -pR'.
6047    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6048      as_ln_s='cp -pR'
6049  elif ln conf$$.file conf$$ 2>/dev/null; then
6050    as_ln_s=ln
6051  else
6052    as_ln_s='cp -pR'
6053  fi
6054else
6055  as_ln_s='cp -pR'
6056fi
6057rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6058rmdir conf$$.dir 2>/dev/null
6059
6060
6061# as_fn_mkdir_p
6062# -------------
6063# Create "$as_dir" as a directory, including parents if necessary.
6064as_fn_mkdir_p ()
6065{
6066
6067  case $as_dir in #(
6068  -*) as_dir=./$as_dir;;
6069  esac
6070  test -d "$as_dir" || eval $as_mkdir_p || {
6071    as_dirs=
6072    while :; do
6073      case $as_dir in #(
6074      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6075      *) as_qdir=$as_dir;;
6076      esac
6077      as_dirs="'$as_qdir' $as_dirs"
6078      as_dir=`$as_dirname -- "$as_dir" ||
6079$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6080	 X"$as_dir" : 'X\(//\)[^/]' \| \
6081	 X"$as_dir" : 'X\(//\)$' \| \
6082	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6083$as_echo X"$as_dir" |
6084    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6085	    s//\1/
6086	    q
6087	  }
6088	  /^X\(\/\/\)[^/].*/{
6089	    s//\1/
6090	    q
6091	  }
6092	  /^X\(\/\/\)$/{
6093	    s//\1/
6094	    q
6095	  }
6096	  /^X\(\/\).*/{
6097	    s//\1/
6098	    q
6099	  }
6100	  s/.*/./; q'`
6101      test -d "$as_dir" && break
6102    done
6103    test -z "$as_dirs" || eval "mkdir $as_dirs"
6104  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6105
6106
6107} # as_fn_mkdir_p
6108if mkdir -p . 2>/dev/null; then
6109  as_mkdir_p='mkdir -p "$as_dir"'
6110else
6111  test -d ./-p && rmdir ./-p
6112  as_mkdir_p=false
6113fi
6114
6115
6116# as_fn_executable_p FILE
6117# -----------------------
6118# Test if FILE is an executable regular file.
6119as_fn_executable_p ()
6120{
6121  test -f "$1" && test -x "$1"
6122} # as_fn_executable_p
6123as_test_x='test -x'
6124as_executable_p=as_fn_executable_p
6125
6126# Sed expression to map a string onto a valid CPP name.
6127as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6128
6129# Sed expression to map a string onto a valid variable name.
6130as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6131
6132
6133exec 6>&1
6134## ----------------------------------- ##
6135## Main body of $CONFIG_STATUS script. ##
6136## ----------------------------------- ##
6137_ASEOF
6138test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6139
6140cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6141# Save the log message, to keep $0 and so on meaningful, and to
6142# report actual input values of CONFIG_FILES etc. instead of their
6143# values after options handling.
6144ac_log="
6145This file was extended by GNU C Runtime Library $as_me 1.0, which was
6146generated by GNU Autoconf 2.69.  Invocation command line was
6147
6148  CONFIG_FILES    = $CONFIG_FILES
6149  CONFIG_HEADERS  = $CONFIG_HEADERS
6150  CONFIG_LINKS    = $CONFIG_LINKS
6151  CONFIG_COMMANDS = $CONFIG_COMMANDS
6152  $ $0 $@
6153
6154on `(hostname || uname -n) 2>/dev/null | sed 1q`
6155"
6156
6157_ACEOF
6158
6159case $ac_config_files in *"
6160"*) set x $ac_config_files; shift; ac_config_files=$*;;
6161esac
6162
6163case $ac_config_headers in *"
6164"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6165esac
6166
6167
6168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6169# Files that config.status was made for.
6170config_files="$ac_config_files"
6171config_headers="$ac_config_headers"
6172config_commands="$ac_config_commands"
6173
6174_ACEOF
6175
6176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6177ac_cs_usage="\
6178\`$as_me' instantiates files and other configuration actions
6179from templates according to the current configuration.  Unless the files
6180and actions are specified as TAGs, all are instantiated by default.
6181
6182Usage: $0 [OPTION]... [TAG]...
6183
6184  -h, --help       print this help, then exit
6185  -V, --version    print version number and configuration settings, then exit
6186      --config     print configuration, then exit
6187  -q, --quiet, --silent
6188                   do not print progress messages
6189  -d, --debug      don't remove temporary files
6190      --recheck    update $as_me by reconfiguring in the same conditions
6191      --file=FILE[:TEMPLATE]
6192                   instantiate the configuration file FILE
6193      --header=FILE[:TEMPLATE]
6194                   instantiate the configuration header FILE
6195
6196Configuration files:
6197$config_files
6198
6199Configuration headers:
6200$config_headers
6201
6202Configuration commands:
6203$config_commands
6204
6205Report bugs to the package provider.
6206GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
6207General help using GNU software: <http://www.gnu.org/gethelp/>."
6208
6209_ACEOF
6210cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6211ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6212ac_cs_version="\\
6213GNU C Runtime Library config.status 1.0
6214configured by $0, generated by GNU Autoconf 2.69,
6215  with options \\"\$ac_cs_config\\"
6216
6217Copyright (C) 2012 Free Software Foundation, Inc.
6218This config.status script is free software; the Free Software Foundation
6219gives unlimited permission to copy, distribute and modify it."
6220
6221ac_pwd='$ac_pwd'
6222srcdir='$srcdir'
6223INSTALL='$INSTALL'
6224AWK='$AWK'
6225test -n "\$AWK" || AWK=awk
6226_ACEOF
6227
6228cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6229# The default lists apply if the user does not specify any file.
6230ac_need_defaults=:
6231while test $# != 0
6232do
6233  case $1 in
6234  --*=?*)
6235    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6236    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6237    ac_shift=:
6238    ;;
6239  --*=)
6240    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6241    ac_optarg=
6242    ac_shift=:
6243    ;;
6244  *)
6245    ac_option=$1
6246    ac_optarg=$2
6247    ac_shift=shift
6248    ;;
6249  esac
6250
6251  case $ac_option in
6252  # Handling of the options.
6253  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6254    ac_cs_recheck=: ;;
6255  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6256    $as_echo "$ac_cs_version"; exit ;;
6257  --config | --confi | --conf | --con | --co | --c )
6258    $as_echo "$ac_cs_config"; exit ;;
6259  --debug | --debu | --deb | --de | --d | -d )
6260    debug=: ;;
6261  --file | --fil | --fi | --f )
6262    $ac_shift
6263    case $ac_optarg in
6264    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6265    '') as_fn_error $? "missing file argument" ;;
6266    esac
6267    as_fn_append CONFIG_FILES " '$ac_optarg'"
6268    ac_need_defaults=false;;
6269  --header | --heade | --head | --hea )
6270    $ac_shift
6271    case $ac_optarg in
6272    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6273    esac
6274    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6275    ac_need_defaults=false;;
6276  --he | --h)
6277    # Conflict between --help and --header
6278    as_fn_error $? "ambiguous option: \`$1'
6279Try \`$0 --help' for more information.";;
6280  --help | --hel | -h )
6281    $as_echo "$ac_cs_usage"; exit ;;
6282  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6283  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6284    ac_cs_silent=: ;;
6285
6286  # This is an error.
6287  -*) as_fn_error $? "unrecognized option: \`$1'
6288Try \`$0 --help' for more information." ;;
6289
6290  *) as_fn_append ac_config_targets " $1"
6291     ac_need_defaults=false ;;
6292
6293  esac
6294  shift
6295done
6296
6297ac_configure_extra_args=
6298
6299if $ac_cs_silent; then
6300  exec 6>/dev/null
6301  ac_configure_extra_args="$ac_configure_extra_args --silent"
6302fi
6303
6304_ACEOF
6305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6306if \$ac_cs_recheck; then
6307  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6308  shift
6309  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6310  CONFIG_SHELL='$SHELL'
6311  export CONFIG_SHELL
6312  exec "\$@"
6313fi
6314
6315_ACEOF
6316cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6317exec 5>>config.log
6318{
6319  echo
6320  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6321## Running $as_me. ##
6322_ASBOX
6323  $as_echo "$ac_log"
6324} >&5
6325
6326_ACEOF
6327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6328#
6329# INIT-COMMANDS
6330#
6331srcdir=${srcdir}
6332host=${host}
6333with_target_subdir=${with_target_subdir}
6334with_multisubdir=${with_multisubdir}
6335ac_configure_args="--enable-multilib ${ac_configure_args}"
6336CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6337libgcc_topdir=${libgcc_topdir}
6338CC="${CC}"
6339
6340
6341_ACEOF
6342
6343cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6344
6345# Handling of arguments.
6346for ac_config_target in $ac_config_targets
6347do
6348  case $ac_config_target in
6349    "auto-target.h") CONFIG_HEADERS="$CONFIG_HEADERS auto-target.h:config.in" ;;
6350    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6351    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6352
6353  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6354  esac
6355done
6356
6357
6358# If the user did not use the arguments to specify the items to instantiate,
6359# then the envvar interface is used.  Set only those that are not.
6360# We use the long form for the default assignment because of an extremely
6361# bizarre bug on SunOS 4.1.3.
6362if $ac_need_defaults; then
6363  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6364  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6365  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6366fi
6367
6368# Have a temporary directory for convenience.  Make it in the build tree
6369# simply because there is no reason against having it here, and in addition,
6370# creating and moving files from /tmp can sometimes cause problems.
6371# Hook for its removal unless debugging.
6372# Note that there is a small window in which the directory will not be cleaned:
6373# after its creation but before its name has been assigned to `$tmp'.
6374$debug ||
6375{
6376  tmp= ac_tmp=
6377  trap 'exit_status=$?
6378  : "${ac_tmp:=$tmp}"
6379  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6380' 0
6381  trap 'as_fn_exit 1' 1 2 13 15
6382}
6383# Create a (secure) tmp directory for tmp files.
6384
6385{
6386  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6387  test -d "$tmp"
6388}  ||
6389{
6390  tmp=./conf$$-$RANDOM
6391  (umask 077 && mkdir "$tmp")
6392} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6393ac_tmp=$tmp
6394
6395# Set up the scripts for CONFIG_FILES section.
6396# No need to generate them if there are no CONFIG_FILES.
6397# This happens for instance with `./config.status config.h'.
6398if test -n "$CONFIG_FILES"; then
6399
6400
6401ac_cr=`echo X | tr X '\015'`
6402# On cygwin, bash can eat \r inside `` if the user requested igncr.
6403# But we know of no other shell where ac_cr would be empty at this
6404# point, so we can use a bashism as a fallback.
6405if test "x$ac_cr" = x; then
6406  eval ac_cr=\$\'\\r\'
6407fi
6408ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6409if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6410  ac_cs_awk_cr='\\r'
6411else
6412  ac_cs_awk_cr=$ac_cr
6413fi
6414
6415echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6416_ACEOF
6417
6418
6419{
6420  echo "cat >conf$$subs.awk <<_ACEOF" &&
6421  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6422  echo "_ACEOF"
6423} >conf$$subs.sh ||
6424  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6425ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6426ac_delim='%!_!# '
6427for ac_last_try in false false false false false :; do
6428  . ./conf$$subs.sh ||
6429    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6430
6431  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6432  if test $ac_delim_n = $ac_delim_num; then
6433    break
6434  elif $ac_last_try; then
6435    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6436  else
6437    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6438  fi
6439done
6440rm -f conf$$subs.sh
6441
6442cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6443cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6444_ACEOF
6445sed -n '
6446h
6447s/^/S["/; s/!.*/"]=/
6448p
6449g
6450s/^[^!]*!//
6451:repl
6452t repl
6453s/'"$ac_delim"'$//
6454t delim
6455:nl
6456h
6457s/\(.\{148\}\)..*/\1/
6458t more1
6459s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6460p
6461n
6462b repl
6463:more1
6464s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6465p
6466g
6467s/.\{148\}//
6468t nl
6469:delim
6470h
6471s/\(.\{148\}\)..*/\1/
6472t more2
6473s/["\\]/\\&/g; s/^/"/; s/$/"/
6474p
6475b
6476:more2
6477s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6478p
6479g
6480s/.\{148\}//
6481t delim
6482' <conf$$subs.awk | sed '
6483/^[^""]/{
6484  N
6485  s/\n//
6486}
6487' >>$CONFIG_STATUS || ac_write_fail=1
6488rm -f conf$$subs.awk
6489cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6490_ACAWK
6491cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6492  for (key in S) S_is_set[key] = 1
6493  FS = ""
6494
6495}
6496{
6497  line = $ 0
6498  nfields = split(line, field, "@")
6499  substed = 0
6500  len = length(field[1])
6501  for (i = 2; i < nfields; i++) {
6502    key = field[i]
6503    keylen = length(key)
6504    if (S_is_set[key]) {
6505      value = S[key]
6506      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6507      len += length(value) + length(field[++i])
6508      substed = 1
6509    } else
6510      len += 1 + keylen
6511  }
6512
6513  print line
6514}
6515
6516_ACAWK
6517_ACEOF
6518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6519if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6520  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6521else
6522  cat
6523fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6524  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6525_ACEOF
6526
6527# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6528# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6529# trailing colons and then remove the whole line if VPATH becomes empty
6530# (actually we leave an empty line to preserve line numbers).
6531if test "x$srcdir" = x.; then
6532  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6533h
6534s///
6535s/^/:/
6536s/[	 ]*$/:/
6537s/:\$(srcdir):/:/g
6538s/:\${srcdir}:/:/g
6539s/:@srcdir@:/:/g
6540s/^:*//
6541s/:*$//
6542x
6543s/\(=[	 ]*\).*/\1/
6544G
6545s/\n//
6546s/^[^=]*=[	 ]*$//
6547}'
6548fi
6549
6550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6551fi # test -n "$CONFIG_FILES"
6552
6553# Set up the scripts for CONFIG_HEADERS section.
6554# No need to generate them if there are no CONFIG_HEADERS.
6555# This happens for instance with `./config.status Makefile'.
6556if test -n "$CONFIG_HEADERS"; then
6557cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6558BEGIN {
6559_ACEOF
6560
6561# Transform confdefs.h into an awk script `defines.awk', embedded as
6562# here-document in config.status, that substitutes the proper values into
6563# config.h.in to produce config.h.
6564
6565# Create a delimiter string that does not exist in confdefs.h, to ease
6566# handling of long lines.
6567ac_delim='%!_!# '
6568for ac_last_try in false false :; do
6569  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6570  if test -z "$ac_tt"; then
6571    break
6572  elif $ac_last_try; then
6573    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6574  else
6575    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6576  fi
6577done
6578
6579# For the awk script, D is an array of macro values keyed by name,
6580# likewise P contains macro parameters if any.  Preserve backslash
6581# newline sequences.
6582
6583ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6584sed -n '
6585s/.\{148\}/&'"$ac_delim"'/g
6586t rset
6587:rset
6588s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6589t def
6590d
6591:def
6592s/\\$//
6593t bsnl
6594s/["\\]/\\&/g
6595s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6596D["\1"]=" \3"/p
6597s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6598d
6599:bsnl
6600s/["\\]/\\&/g
6601s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6602D["\1"]=" \3\\\\\\n"\\/p
6603t cont
6604s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6605t cont
6606d
6607:cont
6608n
6609s/.\{148\}/&'"$ac_delim"'/g
6610t clear
6611:clear
6612s/\\$//
6613t bsnlc
6614s/["\\]/\\&/g; s/^/"/; s/$/"/p
6615d
6616:bsnlc
6617s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6618b cont
6619' <confdefs.h | sed '
6620s/'"$ac_delim"'/"\\\
6621"/g' >>$CONFIG_STATUS || ac_write_fail=1
6622
6623cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6624  for (key in D) D_is_set[key] = 1
6625  FS = ""
6626}
6627/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6628  line = \$ 0
6629  split(line, arg, " ")
6630  if (arg[1] == "#") {
6631    defundef = arg[2]
6632    mac1 = arg[3]
6633  } else {
6634    defundef = substr(arg[1], 2)
6635    mac1 = arg[2]
6636  }
6637  split(mac1, mac2, "(") #)
6638  macro = mac2[1]
6639  prefix = substr(line, 1, index(line, defundef) - 1)
6640  if (D_is_set[macro]) {
6641    # Preserve the white space surrounding the "#".
6642    print prefix "define", macro P[macro] D[macro]
6643    next
6644  } else {
6645    # Replace #undef with comments.  This is necessary, for example,
6646    # in the case of _POSIX_SOURCE, which is predefined and required
6647    # on some systems where configure will not decide to define it.
6648    if (defundef == "undef") {
6649      print "/*", prefix defundef, macro, "*/"
6650      next
6651    }
6652  }
6653}
6654{ print }
6655_ACAWK
6656_ACEOF
6657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6658  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6659fi # test -n "$CONFIG_HEADERS"
6660
6661
6662eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6663shift
6664for ac_tag
6665do
6666  case $ac_tag in
6667  :[FHLC]) ac_mode=$ac_tag; continue;;
6668  esac
6669  case $ac_mode$ac_tag in
6670  :[FHL]*:*);;
6671  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6672  :[FH]-) ac_tag=-:-;;
6673  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6674  esac
6675  ac_save_IFS=$IFS
6676  IFS=:
6677  set x $ac_tag
6678  IFS=$ac_save_IFS
6679  shift
6680  ac_file=$1
6681  shift
6682
6683  case $ac_mode in
6684  :L) ac_source=$1;;
6685  :[FH])
6686    ac_file_inputs=
6687    for ac_f
6688    do
6689      case $ac_f in
6690      -) ac_f="$ac_tmp/stdin";;
6691      *) # Look for the file first in the build tree, then in the source tree
6692	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6693	 # because $ac_f cannot contain `:'.
6694	 test -f "$ac_f" ||
6695	   case $ac_f in
6696	   [\\/$]*) false;;
6697	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6698	   esac ||
6699	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6700      esac
6701      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6702      as_fn_append ac_file_inputs " '$ac_f'"
6703    done
6704
6705    # Let's still pretend it is `configure' which instantiates (i.e., don't
6706    # use $as_me), people would be surprised to read:
6707    #    /* config.h.  Generated by config.status.  */
6708    configure_input='Generated from '`
6709	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6710	`' by configure.'
6711    if test x"$ac_file" != x-; then
6712      configure_input="$ac_file.  $configure_input"
6713      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6714$as_echo "$as_me: creating $ac_file" >&6;}
6715    fi
6716    # Neutralize special characters interpreted by sed in replacement strings.
6717    case $configure_input in #(
6718    *\&* | *\|* | *\\* )
6719       ac_sed_conf_input=`$as_echo "$configure_input" |
6720       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6721    *) ac_sed_conf_input=$configure_input;;
6722    esac
6723
6724    case $ac_tag in
6725    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6726      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6727    esac
6728    ;;
6729  esac
6730
6731  ac_dir=`$as_dirname -- "$ac_file" ||
6732$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6733	 X"$ac_file" : 'X\(//\)[^/]' \| \
6734	 X"$ac_file" : 'X\(//\)$' \| \
6735	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6736$as_echo X"$ac_file" |
6737    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6738	    s//\1/
6739	    q
6740	  }
6741	  /^X\(\/\/\)[^/].*/{
6742	    s//\1/
6743	    q
6744	  }
6745	  /^X\(\/\/\)$/{
6746	    s//\1/
6747	    q
6748	  }
6749	  /^X\(\/\).*/{
6750	    s//\1/
6751	    q
6752	  }
6753	  s/.*/./; q'`
6754  as_dir="$ac_dir"; as_fn_mkdir_p
6755  ac_builddir=.
6756
6757case "$ac_dir" in
6758.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6759*)
6760  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6761  # A ".." for each directory in $ac_dir_suffix.
6762  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6763  case $ac_top_builddir_sub in
6764  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6765  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6766  esac ;;
6767esac
6768ac_abs_top_builddir=$ac_pwd
6769ac_abs_builddir=$ac_pwd$ac_dir_suffix
6770# for backward compatibility:
6771ac_top_builddir=$ac_top_build_prefix
6772
6773case $srcdir in
6774  .)  # We are building in place.
6775    ac_srcdir=.
6776    ac_top_srcdir=$ac_top_builddir_sub
6777    ac_abs_top_srcdir=$ac_pwd ;;
6778  [\\/]* | ?:[\\/]* )  # Absolute name.
6779    ac_srcdir=$srcdir$ac_dir_suffix;
6780    ac_top_srcdir=$srcdir
6781    ac_abs_top_srcdir=$srcdir ;;
6782  *) # Relative name.
6783    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6784    ac_top_srcdir=$ac_top_build_prefix$srcdir
6785    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6786esac
6787ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6788
6789
6790  case $ac_mode in
6791  :F)
6792  #
6793  # CONFIG_FILE
6794  #
6795
6796  case $INSTALL in
6797  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6798  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6799  esac
6800_ACEOF
6801
6802cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6803# If the template does not know about datarootdir, expand it.
6804# FIXME: This hack should be removed a few years after 2.60.
6805ac_datarootdir_hack=; ac_datarootdir_seen=
6806ac_sed_dataroot='
6807/datarootdir/ {
6808  p
6809  q
6810}
6811/@datadir@/p
6812/@docdir@/p
6813/@infodir@/p
6814/@localedir@/p
6815/@mandir@/p'
6816case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6817*datarootdir*) ac_datarootdir_seen=yes;;
6818*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6819  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6820$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6821_ACEOF
6822cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6823  ac_datarootdir_hack='
6824  s&@datadir@&$datadir&g
6825  s&@docdir@&$docdir&g
6826  s&@infodir@&$infodir&g
6827  s&@localedir@&$localedir&g
6828  s&@mandir@&$mandir&g
6829  s&\\\${datarootdir}&$datarootdir&g' ;;
6830esac
6831_ACEOF
6832
6833# Neutralize VPATH when `$srcdir' = `.'.
6834# Shell code in configure.ac might set extrasub.
6835# FIXME: do we really want to maintain this feature?
6836cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6837ac_sed_extra="$ac_vpsub
6838$extrasub
6839_ACEOF
6840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6841:t
6842/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6843s|@configure_input@|$ac_sed_conf_input|;t t
6844s&@top_builddir@&$ac_top_builddir_sub&;t t
6845s&@top_build_prefix@&$ac_top_build_prefix&;t t
6846s&@srcdir@&$ac_srcdir&;t t
6847s&@abs_srcdir@&$ac_abs_srcdir&;t t
6848s&@top_srcdir@&$ac_top_srcdir&;t t
6849s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6850s&@builddir@&$ac_builddir&;t t
6851s&@abs_builddir@&$ac_abs_builddir&;t t
6852s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6853s&@INSTALL@&$ac_INSTALL&;t t
6854$ac_datarootdir_hack
6855"
6856eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6857  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6858
6859test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6860  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6861  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6862      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6863  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6864which seems to be undefined.  Please make sure it is defined" >&5
6865$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6866which seems to be undefined.  Please make sure it is defined" >&2;}
6867
6868  rm -f "$ac_tmp/stdin"
6869  case $ac_file in
6870  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6871  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6872  esac \
6873  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6874 ;;
6875  :H)
6876  #
6877  # CONFIG_HEADER
6878  #
6879  if test x"$ac_file" != x-; then
6880    {
6881      $as_echo "/* $configure_input  */" \
6882      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6883    } >"$ac_tmp/config.h" \
6884      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6885    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6886      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6887$as_echo "$as_me: $ac_file is unchanged" >&6;}
6888    else
6889      rm -f "$ac_file"
6890      mv "$ac_tmp/config.h" "$ac_file" \
6891	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6892    fi
6893  else
6894    $as_echo "/* $configure_input  */" \
6895      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6896      || as_fn_error $? "could not create -" "$LINENO" 5
6897  fi
6898 ;;
6899
6900  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6901$as_echo "$as_me: executing $ac_file commands" >&6;}
6902 ;;
6903  esac
6904
6905
6906  case $ac_file$ac_mode in
6907    "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6908if test -n "$CONFIG_FILES"; then
6909  # FIXME: We shouldn't need to set ac_file
6910  ac_file=Makefile
6911  . ${libgcc_topdir}/config-ml.in
6912fi ;;
6913
6914  esac
6915done # for ac_tag
6916
6917
6918as_fn_exit 0
6919_ACEOF
6920ac_clean_files=$ac_clean_files_save
6921
6922test $ac_write_fail = 0 ||
6923  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6924
6925
6926# configure is writing to config.log, and then calls config.status.
6927# config.status does its own redirection, appending to config.log.
6928# Unfortunately, on DOS this fails, as config.log is still kept open
6929# by configure, so config.status won't be able to write to it; its
6930# output is simply discarded.  So we exec the FD to /dev/null,
6931# effectively closing config.log, so it can be properly (re)opened and
6932# appended to by config.status.  When coming back to configure, we
6933# need to make the FD available again.
6934if test "$no_create" != yes; then
6935  ac_cs_success=:
6936  ac_config_status_args=
6937  test "$silent" = yes &&
6938    ac_config_status_args="$ac_config_status_args --quiet"
6939  exec 5>/dev/null
6940  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6941  exec 5>>config.log
6942  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6943  # would make configure fail if this is the last instruction.
6944  $ac_cs_success || as_fn_exit 1
6945fi
6946if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6947  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6948$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6949fi
6950
6951