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