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