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