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