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