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