OSDN Git Service

* configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors
[pf3gnuchains/gcc-fork.git] / gcc / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
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 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME=
558 PACKAGE_TARNAME=
559 PACKAGE_VERSION=
560 PACKAGE_STRING=
561 PACKAGE_BUGREPORT=
562 PACKAGE_URL=
563
564 ac_unique_file="tree.c"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='LTLIBOBJS
602 LIBOBJS
603 enable_plugin
604 pluginlibs
605 LIBELFINC
606 LIBELFLIBS
607 CLOOGINC
608 CLOOGLIBS
609 PPLINC
610 PPLLIBS
611 GMPINC
612 GMPLIBS
613 target_cpu_default
614 fortran_target_objs
615 cxx_target_objs
616 c_target_objs
617 use_gcc_stdint
618 xm_defines
619 xm_include_list
620 xm_file_list
621 tm_p_include_list
622 tm_p_file_list
623 tm_defines
624 tm_include_list
625 tm_file_list
626 thread_file
627 out_object_file
628 out_file
629 objc_boehm_gc
630 md_file
631 local_prefix
632 lang_tree_files
633 lang_specs_files
634 lang_opt_files
635 install
636 out_host_hook_obj
637 host_xm_defines
638 host_xm_include_list
639 host_xm_file_list
640 host_exeext
641 gcc_gxx_include_dir
642 gcc_config_arguments
643 float_h_file
644 extra_programs
645 extra_passes
646 extra_parts
647 extra_objs
648 extra_headers_list
649 extra_gcc_objs
650 TM_MULTILIB_EXCEPTIONS_CONFIG
651 TM_MULTILIB_CONFIG
652 TM_ENDIAN_CONFIG
653 tmake_file
654 xmake_file
655 cpp_install_dir
656 check_languages
657 build_file_translate
658 build_xm_defines
659 build_xm_include_list
660 build_xm_file_list
661 build_install_headers_dir
662 build_exeext
663 all_selected_languages
664 all_languages
665 all_lang_makefiles
666 all_lang_makefrags
667 all_gtfiles
668 all_compilers
669 srcdir
670 subdirs
671 slibdir
672 dollar
673 gcc_tooldir
674 LTO_USE_LIBELF
675 LTO_BINARY_READER
676 enable_lto
677 MAINT
678 zlibinc
679 zlibdir
680 HOST_LIBS
681 GGC
682 libgcc_visibility
683 gcc_cv_readelf
684 gcc_cv_objdump
685 ORIGINAL_NM_FOR_TARGET
686 gcc_cv_nm
687 ORIGINAL_LD_FOR_TARGET
688 ORIGINAL_PLUGIN_LD_FOR_TARGET
689 gcc_cv_ld
690 ORIGINAL_AS_FOR_TARGET
691 gcc_cv_as
692 enable_fast_install
693 objdir
694 CXXCPP
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 STRIP
701 OBJDUMP
702 ac_ct_DUMPBIN
703 DUMPBIN
704 LD
705 FGREP
706 SED
707 LIBTOOL
708 collect2
709 STMP_FIXINC
710 BUILD_LDFLAGS
711 BUILD_CFLAGS
712 CC_FOR_BUILD
713 inhibit_libc
714 SYSTEM_HEADER_DIR
715 ALL
716 CROSS
717 CATOBJEXT
718 GENCAT
719 INSTOBJEXT
720 DATADIRNAME
721 CATALOGS
722 POSUB
723 GMSGFMT
724 XGETTEXT
725 INCINTL
726 LIBINTL_DEP
727 LIBINTL
728 USE_NLS
729 extra_opt_files
730 extra_modes_file
731 gthread_flags
732 objext
733 manext
734 LIBICONV_DEP
735 LTLIBICONV
736 LIBICONV
737 LDEXP_LIB
738 GNAT_LIBEXC
739 COLLECT2_LIBS
740 AR
741 NM
742 BISON
743 FLEX
744 GENERATED_MANPAGES
745 BUILD_INFO
746 MAKEINFO
747 have_mktemp_command
748 make_compare_target
749 INSTALL_DATA
750 INSTALL_PROGRAM
751 INSTALL
752 ranlib_flags
753 RANLIB
754 LN
755 LN_S
756 AWK
757 SET_MAKE
758 REPORT_BUGS_TEXI
759 REPORT_BUGS_TO
760 PKGVERSION
761 onestep
762 CONFIGURE_SPECS
763 CROSS_SYSTEM_HEADER_DIR
764 TARGET_SYSTEM_ROOT_DEFINE
765 TARGET_SYSTEM_ROOT
766 enable_shared
767 enable_fixed_point
768 enable_decimal_float
769 enable_multilib
770 ENABLE_BUILD_WITH_CXX
771 coverage_flags
772 valgrind_command
773 valgrind_path_defines
774 valgrind_path
775 TREEBROWSER
776 nocommon_flag
777 warn_cxxflags
778 warn_cflags
779 c_strict_warn
780 strict_warn
781 c_loose_warn
782 loose_warn
783 EGREP
784 GREP
785 CPP
786 OUTPUT_OPTION
787 NO_MINUS_C_MINUS_O
788 GNATMAKE
789 GNATBIND
790 ac_ct_CXX
791 CXXFLAGS
792 CXX
793 OBJEXT
794 EXEEXT
795 ac_ct_CC
796 CPPFLAGS
797 LDFLAGS
798 CFLAGS
799 CC
800 GENINSRC
801 target_subdir
802 host_subdir
803 build_subdir
804 build_libsubdir
805 target_noncanonical
806 target_os
807 target_vendor
808 target_cpu
809 target
810 host_os
811 host_vendor
812 host_cpu
813 host
814 build_os
815 build_vendor
816 build_cpu
817 build
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files='language_hooks'
857 ac_user_opts='
858 enable_option_checking
859 with_build_libsubdir
860 with_local_prefix
861 with_gxx_include_dir
862 with_cpp_install_dir
863 enable_generated_files_in_srcdir
864 with_gnu_ld
865 with_ld
866 with_demangler_in_ld
867 with_gnu_as
868 with_as
869 enable_werror_always
870 enable_checking
871 enable_coverage
872 enable_gather_detailed_mem_stats
873 enable_build_with_cxx
874 with_stabs
875 enable_multilib
876 enable___cxa_atexit
877 enable_decimal_float
878 enable_fixed_point
879 enable_threads
880 enable_tls
881 enable_objc_gc
882 with_dwarf2
883 enable_shared
884 with_build_sysroot
885 with_sysroot
886 with_specs
887 enable_intermodule
888 with_pkgversion
889 with_bugurl
890 enable_languages
891 with_multilib_list
892 enable_rpath
893 with_libiconv_prefix
894 enable_initfini_array
895 enable_sjlj_exceptions
896 with_system_libunwind
897 enable_secureplt
898 enable_leading_mingw64_underscores
899 enable_cld
900 enable_win32_registry
901 enable_static
902 with_pic
903 enable_fast_install
904 enable_libtool_lock
905 with_plugin_ld
906 enable_comdat
907 enable_gnu_unique_object
908 enable_linker_build_id
909 with_long_double_128
910 with_gc
911 with_system_zlib
912 enable_maintainer_mode
913 enable_version_specific_runtime_libs
914 with_slibdir
915 enable_plugin
916 '
917       ac_precious_vars='build_alias
918 host_alias
919 target_alias
920 CC
921 CFLAGS
922 LDFLAGS
923 LIBS
924 CPPFLAGS
925 CXX
926 CXXFLAGS
927 CCC
928 CPP
929 CXXCPP
930 GMPLIBS
931 GMPINC
932 PPLLIBS
933 PPLINC
934 CLOOGLIBS
935 CLOOGINC
936 LIBELFLIBS
937 LIBELFINC'
938
939
940 # Initialize some variables set by options.
941 ac_init_help=
942 ac_init_version=false
943 ac_unrecognized_opts=
944 ac_unrecognized_sep=
945 # The variables have the same names as the options, with
946 # dashes changed to underlines.
947 cache_file=/dev/null
948 exec_prefix=NONE
949 no_create=
950 no_recursion=
951 prefix=NONE
952 program_prefix=NONE
953 program_suffix=NONE
954 program_transform_name=s,x,x,
955 silent=
956 site=
957 srcdir=
958 verbose=
959 x_includes=NONE
960 x_libraries=NONE
961
962 # Installation directory options.
963 # These are left unexpanded so users can "make install exec_prefix=/foo"
964 # and all the variables that are supposed to be based on exec_prefix
965 # by default will actually change.
966 # Use braces instead of parens because sh, perl, etc. also accept them.
967 # (The list follows the same order as the GNU Coding Standards.)
968 bindir='${exec_prefix}/bin'
969 sbindir='${exec_prefix}/sbin'
970 libexecdir='${exec_prefix}/libexec'
971 datarootdir='${prefix}/share'
972 datadir='${datarootdir}'
973 sysconfdir='${prefix}/etc'
974 sharedstatedir='${prefix}/com'
975 localstatedir='${prefix}/var'
976 includedir='${prefix}/include'
977 oldincludedir='/usr/include'
978 docdir='${datarootdir}/doc/${PACKAGE}'
979 infodir='${datarootdir}/info'
980 htmldir='${docdir}'
981 dvidir='${docdir}'
982 pdfdir='${docdir}'
983 psdir='${docdir}'
984 libdir='${exec_prefix}/lib'
985 localedir='${datarootdir}/locale'
986 mandir='${datarootdir}/man'
987
988 ac_prev=
989 ac_dashdash=
990 for ac_option
991 do
992   # If the previous option needs an argument, assign it.
993   if test -n "$ac_prev"; then
994     eval $ac_prev=\$ac_option
995     ac_prev=
996     continue
997   fi
998
999   case $ac_option in
1000   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001   *)    ac_optarg=yes ;;
1002   esac
1003
1004   # Accept the important Cygnus configure options, so we can diagnose typos.
1005
1006   case $ac_dashdash$ac_option in
1007   --)
1008     ac_dashdash=yes ;;
1009
1010   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1011     ac_prev=bindir ;;
1012   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1013     bindir=$ac_optarg ;;
1014
1015   -build | --build | --buil | --bui | --bu)
1016     ac_prev=build_alias ;;
1017   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1018     build_alias=$ac_optarg ;;
1019
1020   -cache-file | --cache-file | --cache-fil | --cache-fi \
1021   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1022     ac_prev=cache_file ;;
1023   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1024   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1025     cache_file=$ac_optarg ;;
1026
1027   --config-cache | -C)
1028     cache_file=config.cache ;;
1029
1030   -datadir | --datadir | --datadi | --datad)
1031     ac_prev=datadir ;;
1032   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1033     datadir=$ac_optarg ;;
1034
1035   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1036   | --dataroo | --dataro | --datar)
1037     ac_prev=datarootdir ;;
1038   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1039   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1040     datarootdir=$ac_optarg ;;
1041
1042   -disable-* | --disable-*)
1043     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044     # Reject names that are not valid shell variable names.
1045     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046       as_fn_error "invalid feature name: $ac_useropt"
1047     ac_useropt_orig=$ac_useropt
1048     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049     case $ac_user_opts in
1050       *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054          ac_unrecognized_sep=', ';;
1055     esac
1056     eval enable_$ac_useropt=no ;;
1057
1058   -docdir | --docdir | --docdi | --doc | --do)
1059     ac_prev=docdir ;;
1060   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061     docdir=$ac_optarg ;;
1062
1063   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064     ac_prev=dvidir ;;
1065   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066     dvidir=$ac_optarg ;;
1067
1068   -enable-* | --enable-*)
1069     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070     # Reject names that are not valid shell variable names.
1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072       as_fn_error "invalid feature name: $ac_useropt"
1073     ac_useropt_orig=$ac_useropt
1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075     case $ac_user_opts in
1076       *"
1077 "enable_$ac_useropt"
1078 "*) ;;
1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080          ac_unrecognized_sep=', ';;
1081     esac
1082     eval enable_$ac_useropt=\$ac_optarg ;;
1083
1084   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086   | --exec | --exe | --ex)
1087     ac_prev=exec_prefix ;;
1088   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090   | --exec=* | --exe=* | --ex=*)
1091     exec_prefix=$ac_optarg ;;
1092
1093   -gas | --gas | --ga | --g)
1094     # Obsolete; use --with-gas.
1095     with_gas=yes ;;
1096
1097   -help | --help | --hel | --he | -h)
1098     ac_init_help=long ;;
1099   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100     ac_init_help=recursive ;;
1101   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102     ac_init_help=short ;;
1103
1104   -host | --host | --hos | --ho)
1105     ac_prev=host_alias ;;
1106   -host=* | --host=* | --hos=* | --ho=*)
1107     host_alias=$ac_optarg ;;
1108
1109   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110     ac_prev=htmldir ;;
1111   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112   | --ht=*)
1113     htmldir=$ac_optarg ;;
1114
1115   -includedir | --includedir | --includedi | --included | --include \
1116   | --includ | --inclu | --incl | --inc)
1117     ac_prev=includedir ;;
1118   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119   | --includ=* | --inclu=* | --incl=* | --inc=*)
1120     includedir=$ac_optarg ;;
1121
1122   -infodir | --infodir | --infodi | --infod | --info | --inf)
1123     ac_prev=infodir ;;
1124   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125     infodir=$ac_optarg ;;
1126
1127   -libdir | --libdir | --libdi | --libd)
1128     ac_prev=libdir ;;
1129   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1130     libdir=$ac_optarg ;;
1131
1132   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133   | --libexe | --libex | --libe)
1134     ac_prev=libexecdir ;;
1135   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136   | --libexe=* | --libex=* | --libe=*)
1137     libexecdir=$ac_optarg ;;
1138
1139   -localedir | --localedir | --localedi | --localed | --locale)
1140     ac_prev=localedir ;;
1141   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142     localedir=$ac_optarg ;;
1143
1144   -localstatedir | --localstatedir | --localstatedi | --localstated \
1145   | --localstate | --localstat | --localsta | --localst | --locals)
1146     ac_prev=localstatedir ;;
1147   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149     localstatedir=$ac_optarg ;;
1150
1151   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152     ac_prev=mandir ;;
1153   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154     mandir=$ac_optarg ;;
1155
1156   -nfp | --nfp | --nf)
1157     # Obsolete; use --without-fp.
1158     with_fp=no ;;
1159
1160   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161   | --no-cr | --no-c | -n)
1162     no_create=yes ;;
1163
1164   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1166     no_recursion=yes ;;
1167
1168   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170   | --oldin | --oldi | --old | --ol | --o)
1171     ac_prev=oldincludedir ;;
1172   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175     oldincludedir=$ac_optarg ;;
1176
1177   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178     ac_prev=prefix ;;
1179   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180     prefix=$ac_optarg ;;
1181
1182   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1183   | --program-pre | --program-pr | --program-p)
1184     ac_prev=program_prefix ;;
1185   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1186   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187     program_prefix=$ac_optarg ;;
1188
1189   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1190   | --program-suf | --program-su | --program-s)
1191     ac_prev=program_suffix ;;
1192   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1193   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194     program_suffix=$ac_optarg ;;
1195
1196   -program-transform-name | --program-transform-name \
1197   | --program-transform-nam | --program-transform-na \
1198   | --program-transform-n | --program-transform- \
1199   | --program-transform | --program-transfor \
1200   | --program-transfo | --program-transf \
1201   | --program-trans | --program-tran \
1202   | --progr-tra | --program-tr | --program-t)
1203     ac_prev=program_transform_name ;;
1204   -program-transform-name=* | --program-transform-name=* \
1205   | --program-transform-nam=* | --program-transform-na=* \
1206   | --program-transform-n=* | --program-transform-=* \
1207   | --program-transform=* | --program-transfor=* \
1208   | --program-transfo=* | --program-transf=* \
1209   | --program-trans=* | --program-tran=* \
1210   | --progr-tra=* | --program-tr=* | --program-t=*)
1211     program_transform_name=$ac_optarg ;;
1212
1213   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214     ac_prev=pdfdir ;;
1215   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216     pdfdir=$ac_optarg ;;
1217
1218   -psdir | --psdir | --psdi | --psd | --ps)
1219     ac_prev=psdir ;;
1220   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1221     psdir=$ac_optarg ;;
1222
1223   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224   | -silent | --silent | --silen | --sile | --sil)
1225     silent=yes ;;
1226
1227   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228     ac_prev=sbindir ;;
1229   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230   | --sbi=* | --sb=*)
1231     sbindir=$ac_optarg ;;
1232
1233   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1234   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235   | --sharedst | --shareds | --shared | --share | --shar \
1236   | --sha | --sh)
1237     ac_prev=sharedstatedir ;;
1238   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241   | --sha=* | --sh=*)
1242     sharedstatedir=$ac_optarg ;;
1243
1244   -site | --site | --sit)
1245     ac_prev=site ;;
1246   -site=* | --site=* | --sit=*)
1247     site=$ac_optarg ;;
1248
1249   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250     ac_prev=srcdir ;;
1251   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252     srcdir=$ac_optarg ;;
1253
1254   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255   | --syscon | --sysco | --sysc | --sys | --sy)
1256     ac_prev=sysconfdir ;;
1257   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259     sysconfdir=$ac_optarg ;;
1260
1261   -target | --target | --targe | --targ | --tar | --ta | --t)
1262     ac_prev=target_alias ;;
1263   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264     target_alias=$ac_optarg ;;
1265
1266   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1267     verbose=yes ;;
1268
1269   -version | --version | --versio | --versi | --vers | -V)
1270     ac_init_version=: ;;
1271
1272   -with-* | --with-*)
1273     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274     # Reject names that are not valid shell variable names.
1275     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276       as_fn_error "invalid package name: $ac_useropt"
1277     ac_useropt_orig=$ac_useropt
1278     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279     case $ac_user_opts in
1280       *"
1281 "with_$ac_useropt"
1282 "*) ;;
1283       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284          ac_unrecognized_sep=', ';;
1285     esac
1286     eval with_$ac_useropt=\$ac_optarg ;;
1287
1288   -without-* | --without-*)
1289     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290     # Reject names that are not valid shell variable names.
1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292       as_fn_error "invalid package name: $ac_useropt"
1293     ac_useropt_orig=$ac_useropt
1294     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295     case $ac_user_opts in
1296       *"
1297 "with_$ac_useropt"
1298 "*) ;;
1299       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300          ac_unrecognized_sep=', ';;
1301     esac
1302     eval with_$ac_useropt=no ;;
1303
1304   --x)
1305     # Obsolete; use --with-x.
1306     with_x=yes ;;
1307
1308   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309   | --x-incl | --x-inc | --x-in | --x-i)
1310     ac_prev=x_includes ;;
1311   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313     x_includes=$ac_optarg ;;
1314
1315   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1316   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317     ac_prev=x_libraries ;;
1318   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320     x_libraries=$ac_optarg ;;
1321
1322   -*) as_fn_error "unrecognized option: \`$ac_option'
1323 Try \`$0 --help' for more information."
1324     ;;
1325
1326   *=*)
1327     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328     # Reject names that are not valid shell variable names.
1329     case $ac_envvar in #(
1330       '' | [0-9]* | *[!_$as_cr_alnum]* )
1331       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1332     esac
1333     eval $ac_envvar=\$ac_optarg
1334     export $ac_envvar ;;
1335
1336   *)
1337     # FIXME: should be removed in autoconf 3.0.
1338     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1342     ;;
1343
1344   esac
1345 done
1346
1347 if test -n "$ac_prev"; then
1348   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349   as_fn_error "missing argument to $ac_option"
1350 fi
1351
1352 if test -n "$ac_unrecognized_opts"; then
1353   case $enable_option_checking in
1354     no) ;;
1355     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1356     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357   esac
1358 fi
1359
1360 # Check all directory arguments for consistency.
1361 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362                 datadir sysconfdir sharedstatedir localstatedir includedir \
1363                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364                 libdir localedir mandir
1365 do
1366   eval ac_val=\$$ac_var
1367   # Remove trailing slashes.
1368   case $ac_val in
1369     */ )
1370       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371       eval $ac_var=\$ac_val;;
1372   esac
1373   # Be sure to have absolute directory names.
1374   case $ac_val in
1375     [\\/$]* | ?:[\\/]* )  continue;;
1376     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377   esac
1378   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1379 done
1380
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1384 build=$build_alias
1385 host=$host_alias
1386 target=$target_alias
1387
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x; then
1390   if test "x$build_alias" = x; then
1391     cross_compiling=maybe
1392     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393     If a cross compiler is detected then cross compile mode will be used." >&2
1394   elif test "x$build_alias" != "x$host_alias"; then
1395     cross_compiling=yes
1396   fi
1397 fi
1398
1399 ac_tool_prefix=
1400 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1401
1402 test "$silent" = yes && exec 6>/dev/null
1403
1404
1405 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di=`ls -di .` &&
1407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1408   as_fn_error "working directory cannot be determined"
1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1410   as_fn_error "pwd does not report name of working directory"
1411
1412
1413 # Find the source files, if location was not specified.
1414 if test -z "$srcdir"; then
1415   ac_srcdir_defaulted=yes
1416   # Try the directory containing this script, then the parent directory.
1417   ac_confdir=`$as_dirname -- "$as_myself" ||
1418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1419          X"$as_myself" : 'X\(//\)[^/]' \| \
1420          X"$as_myself" : 'X\(//\)$' \| \
1421          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1422 $as_echo X"$as_myself" |
1423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424             s//\1/
1425             q
1426           }
1427           /^X\(\/\/\)[^/].*/{
1428             s//\1/
1429             q
1430           }
1431           /^X\(\/\/\)$/{
1432             s//\1/
1433             q
1434           }
1435           /^X\(\/\).*/{
1436             s//\1/
1437             q
1438           }
1439           s/.*/./; q'`
1440   srcdir=$ac_confdir
1441   if test ! -r "$srcdir/$ac_unique_file"; then
1442     srcdir=..
1443   fi
1444 else
1445   ac_srcdir_defaulted=no
1446 fi
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1448   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1449   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1450 fi
1451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 ac_abs_confdir=`(
1453         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1454         pwd)`
1455 # When building in place, set srcdir=.
1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
1457   srcdir=.
1458 fi
1459 # Remove unnecessary trailing slashes from srcdir.
1460 # Double slashes in file names in object file debugging info
1461 # mess up M-x gdb in Emacs.
1462 case $srcdir in
1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 esac
1465 for ac_var in $ac_precious_vars; do
1466   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1467   eval ac_env_${ac_var}_value=\$${ac_var}
1468   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1469   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1470 done
1471
1472 #
1473 # Report the --help message.
1474 #
1475 if test "$ac_init_help" = "long"; then
1476   # Omit some internal or obsolete options to make the list less imposing.
1477   # This message is too long to be a string in the A/UX 3.1 sh.
1478   cat <<_ACEOF
1479 \`configure' configures this package to adapt to many kinds of systems.
1480
1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1482
1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484 VAR=VALUE.  See below for descriptions of some of the useful variables.
1485
1486 Defaults for the options are specified in brackets.
1487
1488 Configuration:
1489   -h, --help              display this help and exit
1490       --help=short        display options specific to this package
1491       --help=recursive    display the short help of all the included packages
1492   -V, --version           display version information and exit
1493   -q, --quiet, --silent   do not print \`checking...' messages
1494       --cache-file=FILE   cache test results in FILE [disabled]
1495   -C, --config-cache      alias for \`--cache-file=config.cache'
1496   -n, --no-create         do not create output files
1497       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1498
1499 Installation directories:
1500   --prefix=PREFIX         install architecture-independent files in PREFIX
1501                           [$ac_default_prefix]
1502   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1503                           [PREFIX]
1504
1505 By default, \`make install' will install all the files in
1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508 for instance \`--prefix=\$HOME'.
1509
1510 For better control, use the options below.
1511
1512 Fine tuning of the installation directories:
1513   --bindir=DIR            user executables [EPREFIX/bin]
1514   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1515   --libexecdir=DIR        program executables [EPREFIX/libexec]
1516   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1517   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1518   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1519   --libdir=DIR            object code libraries [EPREFIX/lib]
1520   --includedir=DIR        C header files [PREFIX/include]
1521   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1522   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1523   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1524   --infodir=DIR           info documentation [DATAROOTDIR/info]
1525   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1526   --mandir=DIR            man documentation [DATAROOTDIR/man]
1527   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1528   --htmldir=DIR           html documentation [DOCDIR]
1529   --dvidir=DIR            dvi documentation [DOCDIR]
1530   --pdfdir=DIR            pdf documentation [DOCDIR]
1531   --psdir=DIR             ps documentation [DOCDIR]
1532 _ACEOF
1533
1534   cat <<\_ACEOF
1535
1536 Program names:
1537   --program-prefix=PREFIX            prepend PREFIX to installed program names
1538   --program-suffix=SUFFIX            append SUFFIX to installed program names
1539   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1540
1541 System types:
1542   --build=BUILD     configure for building on BUILD [guessed]
1543   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1544   --target=TARGET   configure for building compilers for TARGET [HOST]
1545 _ACEOF
1546 fi
1547
1548 if test -n "$ac_init_help"; then
1549
1550   cat <<\_ACEOF
1551
1552 Optional Features:
1553   --disable-option-checking  ignore unrecognized --enable/--with options
1554   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1555   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1556   --enable-generated-files-in-srcdir
1557                           put copies of generated files in source dir
1558                           intended for creating source tarballs for users
1559                           without texinfo bison or flex.
1560   --enable-werror-always  enable -Werror despite compiler version
1561   --enable-checking=LIST
1562                           enable expensive run-time checks.  With LIST,
1563                           enable only specific categories of checks.
1564                           Categories are: yes,no,all,none,release.
1565                           Flags are: assert,df,fold,gc,gcac,gimple,misc,
1566                           rtlflag,rtl,runtime,tree,valgrind,types.
1567   --enable-coverage=LEVEL
1568                           enable compiler's code coverage collection.
1569                           Use to measure compiler performance and locate
1570                           unused parts of the compiler. With LEVEL, specify
1571                           optimization. Values are opt, noopt,
1572                           default is noopt
1573   --enable-gather-detailed-mem-stats         enable detailed memory allocation stats gathering
1574   --enable-build-with-cxx build with C++ compiler instead of C compiler
1575   --enable-multilib       enable library support for multiple ABIs
1576   --enable-__cxa_atexit   enable __cxa_atexit for C++
1577   --enable-decimal-float={no,yes,bid,dpd}
1578                         enable decimal float extension to C.  Selecting 'bid'
1579                         or 'dpd' choses which decimal floating point format
1580                         to use
1581   --enable-fixed-point    enable fixed-point arithmetic extension to C
1582   --enable-threads        enable thread usage for target GCC
1583   --enable-threads=LIB    use LIB thread package for target GCC
1584   --enable-tls            enable or disable generation of tls code
1585                           overriding the assembler check for tls support
1586   --enable-objc-gc        enable the use of Boehm's garbage collector with
1587                           the GNU Objective-C runtime
1588   --disable-shared        don't provide a shared libgcc
1589   --enable-intermodule    build the compiler in one step
1590   --enable-languages=LIST specify which front-ends to build
1591   --disable-rpath         do not hardcode runtime library paths
1592   --enable-initfini-array       use .init_array/.fini_array sections
1593   --enable-sjlj-exceptions
1594                           arrange to use setjmp/longjmp exception handling
1595   --enable-secureplt      enable -msecure-plt by default for PowerPC
1596   --enable-leading-mingw64-underscores
1597                           Enable leading underscores on 64 bit mingw targets
1598   --enable-cld            enable -mcld by default for 32bit x86
1599   --disable-win32-registry
1600                           disable lookup of installation paths in the
1601                           Registry on Windows hosts
1602   --enable-win32-registry enable registry lookup (default)
1603   --enable-win32-registry=KEY
1604                           use KEY instead of GCC version as the last portion
1605                           of the registry key
1606   --enable-shared[=PKGS]  build shared libraries [default=yes]
1607   --enable-static[=PKGS]  build static libraries [default=yes]
1608   --enable-fast-install[=PKGS]
1609                           optimize for fast installation [default=yes]
1610   --disable-libtool-lock  avoid locking (might break parallel builds)
1611   --enable-comdat         enable COMDAT group support
1612   --enable-gnu-unique-object    enable the use of the @gnu_unique_object ELF extension on
1613                                 glibc systems
1614   --enable-linker-build-id
1615                           compiler will always pass --build-id to linker
1616   --enable-maintainer-mode
1617                           enable make rules and dependencies not useful
1618                           (and sometimes confusing) to the casual installer
1619   --enable-version-specific-runtime-libs
1620                           specify that runtime libraries should be
1621                           installed in a compiler-specific directory
1622   --enable-plugin         enable plugin support
1623
1624 Optional Packages:
1625   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1626   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1627   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1628   --with-local-prefix=DIR specifies directory to put local include
1629   --with-gxx-include-dir=DIR
1630                           specifies directory to put g++ header files
1631   --with-cpp-install-dir=DIR
1632                           install the user visible C preprocessor in DIR
1633                           (relative to PREFIX) as well as PREFIX/bin
1634   --with-gnu-ld           arrange to work with GNU ld.
1635   --with-ld               arrange to use the specified ld (full pathname)
1636   --with-demangler-in-ld  try to use demangler in GNU ld.
1637   --with-gnu-as           arrange to work with GNU as
1638   --with-as               arrange to use the specified as (full pathname)
1639   --with-stabs            arrange to use stabs instead of host debug format
1640   --with-dwarf2           force the default debug format to be DWARF 2
1641   --with-build-sysroot=sysroot
1642                           use sysroot as the system root during the build
1643   --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
1644   --with-specs=SPECS      add SPECS to driver command-line processing
1645   --with-pkgversion=PKG   Use PKG in the version string in place of "GCC"
1646   --with-bugurl=URL       Direct users to URL to report a bug
1647   --with-multilib-list    Select multilibs (SH only)
1648   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1649   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1650   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1651   --with-system-libunwind use installed libunwind
1652   --with-pic              try to use only PIC/non-PIC objects [default=use
1653                           both]
1654   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1655   --with-plugin-ld=[ARG]  specify the plugin linker
1656   --with-long-double-128  Use 128-bit long double by default.
1657   --with-gc={page,zone}   choose the garbage collection mechanism to use
1658                           with the compiler
1659   --with-system-zlib      use installed libz
1660   --with-slibdir=DIR      shared libraries in DIR [LIBDIR]
1661
1662 Some influential environment variables:
1663   CC          C compiler command
1664   CFLAGS      C compiler flags
1665   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1666               nonstandard directory <lib dir>
1667   LIBS        libraries to pass to the linker, e.g. -l<library>
1668   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1669               you have headers in a nonstandard directory <include dir>
1670   CXX         C++ compiler command
1671   CXXFLAGS    C++ compiler flags
1672   CPP         C preprocessor
1673   CXXCPP      C++ preprocessor
1674   GMPLIBS     How to link GMP
1675   GMPINC      How to find GMP include files
1676   PPLLIBS     How to link PPL
1677   PPLINC      How to find PPL include files
1678   CLOOGLIBS   How to link CLOOG
1679   CLOOGINC    How to find CLOOG include files
1680   LIBELFLIBS  How to link libelf
1681   LIBELFINC   How to find libelf include files
1682
1683 Use these variables to override the choices made by `configure' or to help
1684 it to find libraries and programs with nonstandard names/locations.
1685
1686 Report bugs to the package provider.
1687 _ACEOF
1688 ac_status=$?
1689 fi
1690
1691 if test "$ac_init_help" = "recursive"; then
1692   # If there are subdirs, report their specific --help.
1693   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1694     test -d "$ac_dir" ||
1695       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1696       continue
1697     ac_builddir=.
1698
1699 case "$ac_dir" in
1700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1701 *)
1702   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1703   # A ".." for each directory in $ac_dir_suffix.
1704   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1705   case $ac_top_builddir_sub in
1706   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1707   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1708   esac ;;
1709 esac
1710 ac_abs_top_builddir=$ac_pwd
1711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1712 # for backward compatibility:
1713 ac_top_builddir=$ac_top_build_prefix
1714
1715 case $srcdir in
1716   .)  # We are building in place.
1717     ac_srcdir=.
1718     ac_top_srcdir=$ac_top_builddir_sub
1719     ac_abs_top_srcdir=$ac_pwd ;;
1720   [\\/]* | ?:[\\/]* )  # Absolute name.
1721     ac_srcdir=$srcdir$ac_dir_suffix;
1722     ac_top_srcdir=$srcdir
1723     ac_abs_top_srcdir=$srcdir ;;
1724   *) # Relative name.
1725     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1726     ac_top_srcdir=$ac_top_build_prefix$srcdir
1727     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1728 esac
1729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1730
1731     cd "$ac_dir" || { ac_status=$?; continue; }
1732     # Check for guested configure.
1733     if test -f "$ac_srcdir/configure.gnu"; then
1734       echo &&
1735       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1736     elif test -f "$ac_srcdir/configure"; then
1737       echo &&
1738       $SHELL "$ac_srcdir/configure" --help=recursive
1739     else
1740       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1741     fi || ac_status=$?
1742     cd "$ac_pwd" || { ac_status=$?; break; }
1743   done
1744 fi
1745
1746 test -n "$ac_init_help" && exit $ac_status
1747 if $ac_init_version; then
1748   cat <<\_ACEOF
1749 configure
1750 generated by GNU Autoconf 2.64
1751
1752 Copyright (C) 2009 Free Software Foundation, Inc.
1753 This configure script is free software; the Free Software Foundation
1754 gives unlimited permission to copy, distribute and modify it.
1755 _ACEOF
1756   exit
1757 fi
1758
1759 ## ------------------------ ##
1760 ## Autoconf initialization. ##
1761 ## ------------------------ ##
1762
1763 # ac_fn_c_try_compile LINENO
1764 # --------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_compile ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   rm -f conftest.$ac_objext
1770   if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773   *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777   (eval "$ac_compile") 2>conftest.err
1778   ac_status=$?
1779   if test -s conftest.err; then
1780     grep -v '^ *+' conftest.err >conftest.er1
1781     cat conftest.er1 >&5
1782     mv -f conftest.er1 conftest.err
1783   fi
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; } && {
1786          test -z "$ac_c_werror_flag" ||
1787          test ! -s conftest.err
1788        } && test -s conftest.$ac_objext; then :
1789   ac_retval=0
1790 else
1791   $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794         ac_retval=1
1795 fi
1796   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797   return $ac_retval
1798
1799 } # ac_fn_c_try_compile
1800
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   rm -f conftest.$ac_objext
1808   if { { ac_try="$ac_compile"
1809 case "(($ac_try" in
1810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811   *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815   (eval "$ac_compile") 2>conftest.err
1816   ac_status=$?
1817   if test -s conftest.err; then
1818     grep -v '^ *+' conftest.err >conftest.er1
1819     cat conftest.er1 >&5
1820     mv -f conftest.er1 conftest.err
1821   fi
1822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823   test $ac_status = 0; } && {
1824          test -z "$ac_cxx_werror_flag" ||
1825          test ! -s conftest.err
1826        } && test -s conftest.$ac_objext; then :
1827   ac_retval=0
1828 else
1829   $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1831
1832         ac_retval=1
1833 fi
1834   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835   return $ac_retval
1836
1837 } # ac_fn_cxx_try_compile
1838
1839 # ac_fn_c_try_cpp LINENO
1840 # ----------------------
1841 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_c_try_cpp ()
1843 {
1844   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845   if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 case "(($ac_try" in
1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848   *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853   ac_status=$?
1854   if test -s conftest.err; then
1855     grep -v '^ *+' conftest.err >conftest.er1
1856     cat conftest.er1 >&5
1857     mv -f conftest.er1 conftest.err
1858   fi
1859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860   test $ac_status = 0; } >/dev/null && {
1861          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1862          test ! -s conftest.err
1863        }; then :
1864   ac_retval=0
1865 else
1866   $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1868
1869     ac_retval=1
1870 fi
1871   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872   return $ac_retval
1873
1874 } # ac_fn_c_try_cpp
1875
1876 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1877 # -------------------------------------------------------
1878 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1879 # the include files in INCLUDES and setting the cache variable VAR
1880 # accordingly.
1881 ac_fn_c_check_header_mongrel ()
1882 {
1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1888   $as_echo_n "(cached) " >&6
1889 fi
1890 eval ac_res=\$$3
1891                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 else
1894   # Is the header compilable?
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1896 $as_echo_n "checking $2 usability... " >&6; }
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h.  */
1899 $4
1900 #include <$2>
1901 _ACEOF
1902 if ac_fn_c_try_compile "$LINENO"; then :
1903   ac_header_compiler=yes
1904 else
1905   ac_header_compiler=no
1906 fi
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1909 $as_echo "$ac_header_compiler" >&6; }
1910
1911 # Is the header present?
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1913 $as_echo_n "checking $2 presence... " >&6; }
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h.  */
1916 #include <$2>
1917 _ACEOF
1918 if ac_fn_c_try_cpp "$LINENO"; then :
1919   ac_header_preproc=yes
1920 else
1921   ac_header_preproc=no
1922 fi
1923 rm -f conftest.err conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1925 $as_echo "$ac_header_preproc" >&6; }
1926
1927 # So?  What about this header?
1928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929   yes:no: )
1930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1931 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934     ;;
1935   no:yes:* )
1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1937 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1939 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1941 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1943 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1945 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946     ;;
1947 esac
1948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1951   $as_echo_n "(cached) " >&6
1952 else
1953   eval "$3=\$ac_header_compiler"
1954 fi
1955 eval ac_res=\$$3
1956                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 fi
1959   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960
1961 } # ac_fn_c_check_header_mongrel
1962
1963 # ac_fn_c_try_run LINENO
1964 # ----------------------
1965 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1966 # that executables *can* be run.
1967 ac_fn_c_try_run ()
1968 {
1969   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970   if { { ac_try="$ac_link"
1971 case "(($ac_try" in
1972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973   *) ac_try_echo=$ac_try;;
1974 esac
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977   (eval "$ac_link") 2>&5
1978   ac_status=$?
1979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1981   { { case "(($ac_try" in
1982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983   *) ac_try_echo=$ac_try;;
1984 esac
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987   (eval "$ac_try") 2>&5
1988   ac_status=$?
1989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990   test $ac_status = 0; }; }; then :
1991   ac_retval=0
1992 else
1993   $as_echo "$as_me: program exited with status $ac_status" >&5
1994        $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1996
1997        ac_retval=$ac_status
1998 fi
1999   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2000   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2001   return $ac_retval
2002
2003 } # ac_fn_c_try_run
2004
2005 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2006 # -------------------------------------------------------
2007 # Tests whether HEADER exists and can be compiled using the include files in
2008 # INCLUDES, setting the cache variable VAR accordingly.
2009 ac_fn_c_check_header_compile ()
2010 {
2011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2015   $as_echo_n "(cached) " >&6
2016 else
2017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h.  */
2019 $4
2020 #include <$2>
2021 _ACEOF
2022 if ac_fn_c_try_compile "$LINENO"; then :
2023   eval "$3=yes"
2024 else
2025   eval "$3=no"
2026 fi
2027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2028 fi
2029 eval ac_res=\$$3
2030                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031 $as_echo "$ac_res" >&6; }
2032   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033
2034 } # ac_fn_c_check_header_compile
2035
2036 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2037 # --------------------------------------------
2038 # Tries to find the compile-time value of EXPR in a program that includes
2039 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2040 # computed
2041 ac_fn_c_compute_int ()
2042 {
2043   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044   if test "$cross_compiling" = yes; then
2045     # Depending upon the size, compute the lo and hi bounds.
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h.  */
2048 $4
2049 int
2050 main ()
2051 {
2052 static int test_array [1 - 2 * !(($2) >= 0)];
2053 test_array [0] = 0
2054
2055   ;
2056   return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"; then :
2060   ac_lo=0 ac_mid=0
2061   while :; do
2062     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h.  */
2064 $4
2065 int
2066 main ()
2067 {
2068 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2069 test_array [0] = 0
2070
2071   ;
2072   return 0;
2073 }
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076   ac_hi=$ac_mid; break
2077 else
2078   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2079                         if test $ac_lo -le $ac_mid; then
2080                           ac_lo= ac_hi=
2081                           break
2082                         fi
2083                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2084 fi
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086   done
2087 else
2088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h.  */
2090 $4
2091 int
2092 main ()
2093 {
2094 static int test_array [1 - 2 * !(($2) < 0)];
2095 test_array [0] = 0
2096
2097   ;
2098   return 0;
2099 }
2100 _ACEOF
2101 if ac_fn_c_try_compile "$LINENO"; then :
2102   ac_hi=-1 ac_mid=-1
2103   while :; do
2104     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h.  */
2106 $4
2107 int
2108 main ()
2109 {
2110 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2111 test_array [0] = 0
2112
2113   ;
2114   return 0;
2115 }
2116 _ACEOF
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118   ac_lo=$ac_mid; break
2119 else
2120   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2121                         if test $ac_mid -le $ac_hi; then
2122                           ac_lo= ac_hi=
2123                           break
2124                         fi
2125                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2126 fi
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128   done
2129 else
2130   ac_lo= ac_hi=
2131 fi
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 fi
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2135 # Binary search between lo and hi bounds.
2136 while test "x$ac_lo" != "x$ac_hi"; do
2137   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h.  */
2140 $4
2141 int
2142 main ()
2143 {
2144 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2145 test_array [0] = 0
2146
2147   ;
2148   return 0;
2149 }
2150 _ACEOF
2151 if ac_fn_c_try_compile "$LINENO"; then :
2152   ac_hi=$ac_mid
2153 else
2154   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2155 fi
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 done
2158 case $ac_lo in #((
2159 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2160 '') ac_retval=1 ;;
2161 esac
2162   else
2163     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h.  */
2165 $4
2166 static long int longval () { return $2; }
2167 static unsigned long int ulongval () { return $2; }
2168 #include <stdio.h>
2169 #include <stdlib.h>
2170 int
2171 main ()
2172 {
2173
2174   FILE *f = fopen ("conftest.val", "w");
2175   if (! f)
2176     return 1;
2177   if (($2) < 0)
2178     {
2179       long int i = longval ();
2180       if (i != ($2))
2181         return 1;
2182       fprintf (f, "%ld", i);
2183     }
2184   else
2185     {
2186       unsigned long int i = ulongval ();
2187       if (i != ($2))
2188         return 1;
2189       fprintf (f, "%lu", i);
2190     }
2191   /* Do not output a trailing newline, as this causes \r\n confusion
2192      on some platforms.  */
2193   return ferror (f) || fclose (f) != 0;
2194
2195   ;
2196   return 0;
2197 }
2198 _ACEOF
2199 if ac_fn_c_try_run "$LINENO"; then :
2200   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2201 else
2202   ac_retval=1
2203 fi
2204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2205   conftest.$ac_objext conftest.beam conftest.$ac_ext
2206 rm -f conftest.val
2207
2208   fi
2209   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2210   return $ac_retval
2211
2212 } # ac_fn_c_compute_int
2213
2214 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2215 # -------------------------------------------
2216 # Tests whether TYPE exists after having included INCLUDES, setting cache
2217 # variable VAR accordingly.
2218 ac_fn_c_check_type ()
2219 {
2220   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2222 $as_echo_n "checking for $2... " >&6; }
2223 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2224   $as_echo_n "(cached) " >&6
2225 else
2226   eval "$3=no"
2227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h.  */
2229 $4
2230 int
2231 main ()
2232 {
2233 if (sizeof ($2))
2234          return 0;
2235   ;
2236   return 0;
2237 }
2238 _ACEOF
2239 if ac_fn_c_try_compile "$LINENO"; then :
2240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h.  */
2242 $4
2243 int
2244 main ()
2245 {
2246 if (sizeof (($2)))
2247             return 0;
2248   ;
2249   return 0;
2250 }
2251 _ACEOF
2252 if ac_fn_c_try_compile "$LINENO"; then :
2253
2254 else
2255   eval "$3=yes"
2256 fi
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 fi
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2260 fi
2261 eval ac_res=\$$3
2262                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2265
2266 } # ac_fn_c_check_type
2267
2268 # ac_fn_c_find_intX_t LINENO BITS VAR
2269 # -----------------------------------
2270 # Finds a signed integer type with width BITS, setting cache variable VAR
2271 # accordingly.
2272 ac_fn_c_find_intX_t ()
2273 {
2274   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2276 $as_echo_n "checking for int$2_t... " >&6; }
2277 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2278   $as_echo_n "(cached) " >&6
2279 else
2280   eval "$3=no"
2281      for ac_type in int$2_t 'int' 'long int' \
2282          'long long int' 'short int' 'signed char'; do
2283        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h.  */
2285 $ac_includes_default
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
2290 test_array [0] = 0
2291
2292   ;
2293   return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h.  */
2299 $ac_includes_default
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
2304                  < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
2305 test_array [0] = 0
2306
2307   ;
2308   return 0;
2309 }
2310 _ACEOF
2311 if ac_fn_c_try_compile "$LINENO"; then :
2312
2313 else
2314   case $ac_type in #(
2315   int$2_t) :
2316     eval "$3=yes" ;; #(
2317   *) :
2318     eval "$3=\$ac_type" ;;
2319 esac
2320 fi
2321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2322 fi
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324        eval as_val=\$$3
2325    if test "x$as_val" = x""no; then :
2326
2327 else
2328   break
2329 fi
2330      done
2331 fi
2332 eval ac_res=\$$3
2333                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2334 $as_echo "$ac_res" >&6; }
2335   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2336
2337 } # ac_fn_c_find_intX_t
2338
2339 # ac_fn_c_try_link LINENO
2340 # -----------------------
2341 # Try to link conftest.$ac_ext, and return whether this succeeded.
2342 ac_fn_c_try_link ()
2343 {
2344   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2345   rm -f conftest.$ac_objext conftest$ac_exeext
2346   if { { ac_try="$ac_link"
2347 case "(($ac_try" in
2348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349   *) ac_try_echo=$ac_try;;
2350 esac
2351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2352 $as_echo "$ac_try_echo"; } >&5
2353   (eval "$ac_link") 2>conftest.err
2354   ac_status=$?
2355   if test -s conftest.err; then
2356     grep -v '^ *+' conftest.err >conftest.er1
2357     cat conftest.er1 >&5
2358     mv -f conftest.er1 conftest.err
2359   fi
2360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361   test $ac_status = 0; } && {
2362          test -z "$ac_c_werror_flag" ||
2363          test ! -s conftest.err
2364        } && test -s conftest$ac_exeext && {
2365          test "$cross_compiling" = yes ||
2366          $as_test_x conftest$ac_exeext
2367        }; then :
2368   ac_retval=0
2369 else
2370   $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2372
2373         ac_retval=1
2374 fi
2375   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2376   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2377   # interfere with the next link command; also delete a directory that is
2378   # left behind by Apple's compiler.  We do this before executing the actions.
2379   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2380   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2381   return $ac_retval
2382
2383 } # ac_fn_c_try_link
2384
2385 # ac_fn_c_find_uintX_t LINENO BITS VAR
2386 # ------------------------------------
2387 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2388 # accordingly.
2389 ac_fn_c_find_uintX_t ()
2390 {
2391   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2393 $as_echo_n "checking for uint$2_t... " >&6; }
2394 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2395   $as_echo_n "(cached) " >&6
2396 else
2397   eval "$3=no"
2398      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2399          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2400        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h.  */
2402 $ac_includes_default
2403 int
2404 main ()
2405 {
2406 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
2407 test_array [0] = 0
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_compile "$LINENO"; then :
2414   case $ac_type in #(
2415   uint$2_t) :
2416     eval "$3=yes" ;; #(
2417   *) :
2418     eval "$3=\$ac_type" ;;
2419 esac
2420 fi
2421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2422        eval as_val=\$$3
2423    if test "x$as_val" = x""no; then :
2424
2425 else
2426   break
2427 fi
2428      done
2429 fi
2430 eval ac_res=\$$3
2431                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2432 $as_echo "$ac_res" >&6; }
2433   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2434
2435 } # ac_fn_c_find_uintX_t
2436
2437 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2438 # ----------------------------------------------
2439 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
2440 ac_fn_c_check_header_preproc ()
2441 {
2442   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2446   $as_echo_n "(cached) " >&6
2447 else
2448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h.  */
2450 #include <$2>
2451 _ACEOF
2452 if ac_fn_c_try_cpp "$LINENO"; then :
2453   eval "$3=yes"
2454 else
2455   eval "$3=no"
2456 fi
2457 rm -f conftest.err conftest.$ac_ext
2458 fi
2459 eval ac_res=\$$3
2460                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463
2464 } # ac_fn_c_check_header_preproc
2465
2466 # ac_fn_c_check_func LINENO FUNC VAR
2467 # ----------------------------------
2468 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2469 ac_fn_c_check_func ()
2470 {
2471   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2473 $as_echo_n "checking for $2... " >&6; }
2474 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2475   $as_echo_n "(cached) " >&6
2476 else
2477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h.  */
2479 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2481 #define $2 innocuous_$2
2482
2483 /* System header to define __stub macros and hopefully few prototypes,
2484     which can conflict with char $2 (); below.
2485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2486     <limits.h> exists even on freestanding compilers.  */
2487
2488 #ifdef __STDC__
2489 # include <limits.h>
2490 #else
2491 # include <assert.h>
2492 #endif
2493
2494 #undef $2
2495
2496 /* Override any GCC internal prototype to avoid an error.
2497    Use char because int might match the return type of a GCC
2498    builtin and then its argument prototype would still apply.  */
2499 #ifdef __cplusplus
2500 extern "C"
2501 #endif
2502 char $2 ();
2503 /* The GNU C library defines this for functions which it implements
2504     to always fail with ENOSYS.  Some functions are actually named
2505     something starting with __ and the normal name is an alias.  */
2506 #if defined __stub_$2 || defined __stub___$2
2507 choke me
2508 #endif
2509
2510 int
2511 main ()
2512 {
2513 return $2 ();
2514   ;
2515   return 0;
2516 }
2517 _ACEOF
2518 if ac_fn_c_try_link "$LINENO"; then :
2519   eval "$3=yes"
2520 else
2521   eval "$3=no"
2522 fi
2523 rm -f core conftest.err conftest.$ac_objext \
2524     conftest$ac_exeext conftest.$ac_ext
2525 fi
2526 eval ac_res=\$$3
2527                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2528 $as_echo "$ac_res" >&6; }
2529   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2530
2531 } # ac_fn_c_check_func
2532
2533 # ac_fn_cxx_try_cpp LINENO
2534 # ------------------------
2535 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2536 ac_fn_cxx_try_cpp ()
2537 {
2538   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539   if { { ac_try="$ac_cpp conftest.$ac_ext"
2540 case "(($ac_try" in
2541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542   *) ac_try_echo=$ac_try;;
2543 esac
2544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2545 $as_echo "$ac_try_echo"; } >&5
2546   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2547   ac_status=$?
2548   if test -s conftest.err; then
2549     grep -v '^ *+' conftest.err >conftest.er1
2550     cat conftest.er1 >&5
2551     mv -f conftest.er1 conftest.err
2552   fi
2553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554   test $ac_status = 0; } >/dev/null && {
2555          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2556          test ! -s conftest.err
2557        }; then :
2558   ac_retval=0
2559 else
2560   $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2562
2563     ac_retval=1
2564 fi
2565   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2566   return $ac_retval
2567
2568 } # ac_fn_cxx_try_cpp
2569
2570 # ac_fn_cxx_try_link LINENO
2571 # -------------------------
2572 # Try to link conftest.$ac_ext, and return whether this succeeded.
2573 ac_fn_cxx_try_link ()
2574 {
2575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2576   rm -f conftest.$ac_objext conftest$ac_exeext
2577   if { { ac_try="$ac_link"
2578 case "(($ac_try" in
2579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580   *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584   (eval "$ac_link") 2>conftest.err
2585   ac_status=$?
2586   if test -s conftest.err; then
2587     grep -v '^ *+' conftest.err >conftest.er1
2588     cat conftest.er1 >&5
2589     mv -f conftest.er1 conftest.err
2590   fi
2591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592   test $ac_status = 0; } && {
2593          test -z "$ac_cxx_werror_flag" ||
2594          test ! -s conftest.err
2595        } && test -s conftest$ac_exeext && {
2596          test "$cross_compiling" = yes ||
2597          $as_test_x conftest$ac_exeext
2598        }; then :
2599   ac_retval=0
2600 else
2601   $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2603
2604         ac_retval=1
2605 fi
2606   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2607   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2608   # interfere with the next link command; also delete a directory that is
2609   # left behind by Apple's compiler.  We do this before executing the actions.
2610   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2611   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2612   return $ac_retval
2613
2614 } # ac_fn_cxx_try_link
2615 cat >config.log <<_ACEOF
2616 This file contains any messages produced by compilers while
2617 running configure, to aid debugging if configure makes a mistake.
2618
2619 It was created by $as_me, which was
2620 generated by GNU Autoconf 2.64.  Invocation command line was
2621
2622   $ $0 $@
2623
2624 _ACEOF
2625 exec 5>>config.log
2626 {
2627 cat <<_ASUNAME
2628 ## --------- ##
2629 ## Platform. ##
2630 ## --------- ##
2631
2632 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2633 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2634 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2635 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2636 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2637
2638 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2639 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2640
2641 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2642 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2643 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2644 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2645 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2646 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2647 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2648
2649 _ASUNAME
2650
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 for as_dir in $PATH
2653 do
2654   IFS=$as_save_IFS
2655   test -z "$as_dir" && as_dir=.
2656     $as_echo "PATH: $as_dir"
2657   done
2658 IFS=$as_save_IFS
2659
2660 } >&5
2661
2662 cat >&5 <<_ACEOF
2663
2664
2665 ## ----------- ##
2666 ## Core tests. ##
2667 ## ----------- ##
2668
2669 _ACEOF
2670
2671
2672 # Keep a trace of the command line.
2673 # Strip out --no-create and --no-recursion so they do not pile up.
2674 # Strip out --silent because we don't want to record it for future runs.
2675 # Also quote any args containing shell meta-characters.
2676 # Make two passes to allow for proper duplicate-argument suppression.
2677 ac_configure_args=
2678 ac_configure_args0=
2679 ac_configure_args1=
2680 ac_must_keep_next=false
2681 for ac_pass in 1 2
2682 do
2683   for ac_arg
2684   do
2685     case $ac_arg in
2686     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2687     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2688     | -silent | --silent | --silen | --sile | --sil)
2689       continue ;;
2690     *\'*)
2691       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2692     esac
2693     case $ac_pass in
2694     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2695     2)
2696       as_fn_append ac_configure_args1 " '$ac_arg'"
2697       if test $ac_must_keep_next = true; then
2698         ac_must_keep_next=false # Got value, back to normal.
2699       else
2700         case $ac_arg in
2701           *=* | --config-cache | -C | -disable-* | --disable-* \
2702           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2703           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2704           | -with-* | --with-* | -without-* | --without-* | --x)
2705             case "$ac_configure_args0 " in
2706               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2707             esac
2708             ;;
2709           -* ) ac_must_keep_next=true ;;
2710         esac
2711       fi
2712       as_fn_append ac_configure_args " '$ac_arg'"
2713       ;;
2714     esac
2715   done
2716 done
2717 { ac_configure_args0=; unset ac_configure_args0;}
2718 { ac_configure_args1=; unset ac_configure_args1;}
2719
2720 # When interrupted or exit'd, cleanup temporary files, and complete
2721 # config.log.  We remove comments because anyway the quotes in there
2722 # would cause problems or look ugly.
2723 # WARNING: Use '\'' to represent an apostrophe within the trap.
2724 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2725 trap 'exit_status=$?
2726   # Save into config.log some information that might help in debugging.
2727   {
2728     echo
2729
2730     cat <<\_ASBOX
2731 ## ---------------- ##
2732 ## Cache variables. ##
2733 ## ---------------- ##
2734 _ASBOX
2735     echo
2736     # The following way of writing the cache mishandles newlines in values,
2737 (
2738   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2739     eval ac_val=\$$ac_var
2740     case $ac_val in #(
2741     *${as_nl}*)
2742       case $ac_var in #(
2743       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745       esac
2746       case $ac_var in #(
2747       _ | IFS | as_nl) ;; #(
2748       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2749       *) { eval $ac_var=; unset $ac_var;} ;;
2750       esac ;;
2751     esac
2752   done
2753   (set) 2>&1 |
2754     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2755     *${as_nl}ac_space=\ *)
2756       sed -n \
2757         "s/'\''/'\''\\\\'\'''\''/g;
2758           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2759       ;; #(
2760     *)
2761       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2762       ;;
2763     esac |
2764     sort
2765 )
2766     echo
2767
2768     cat <<\_ASBOX
2769 ## ----------------- ##
2770 ## Output variables. ##
2771 ## ----------------- ##
2772 _ASBOX
2773     echo
2774     for ac_var in $ac_subst_vars
2775     do
2776       eval ac_val=\$$ac_var
2777       case $ac_val in
2778       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2779       esac
2780       $as_echo "$ac_var='\''$ac_val'\''"
2781     done | sort
2782     echo
2783
2784     if test -n "$ac_subst_files"; then
2785       cat <<\_ASBOX
2786 ## ------------------- ##
2787 ## File substitutions. ##
2788 ## ------------------- ##
2789 _ASBOX
2790       echo
2791       for ac_var in $ac_subst_files
2792       do
2793         eval ac_val=\$$ac_var
2794         case $ac_val in
2795         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2796         esac
2797         $as_echo "$ac_var='\''$ac_val'\''"
2798       done | sort
2799       echo
2800     fi
2801
2802     if test -s confdefs.h; then
2803       cat <<\_ASBOX
2804 ## ----------- ##
2805 ## confdefs.h. ##
2806 ## ----------- ##
2807 _ASBOX
2808       echo
2809       cat confdefs.h
2810       echo
2811     fi
2812     test "$ac_signal" != 0 &&
2813       $as_echo "$as_me: caught signal $ac_signal"
2814     $as_echo "$as_me: exit $exit_status"
2815   } >&5
2816   rm -f core *.core core.conftest.* &&
2817     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2818     exit $exit_status
2819 ' 0
2820 for ac_signal in 1 2 13 15; do
2821   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2822 done
2823 ac_signal=0
2824
2825 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2826 rm -f -r conftest* confdefs.h
2827
2828 $as_echo "/* confdefs.h */" > confdefs.h
2829
2830 # Predefined preprocessor variables.
2831
2832 cat >>confdefs.h <<_ACEOF
2833 #define PACKAGE_NAME "$PACKAGE_NAME"
2834 _ACEOF
2835
2836 cat >>confdefs.h <<_ACEOF
2837 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2838 _ACEOF
2839
2840 cat >>confdefs.h <<_ACEOF
2841 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2842 _ACEOF
2843
2844 cat >>confdefs.h <<_ACEOF
2845 #define PACKAGE_STRING "$PACKAGE_STRING"
2846 _ACEOF
2847
2848 cat >>confdefs.h <<_ACEOF
2849 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2850 _ACEOF
2851
2852 cat >>confdefs.h <<_ACEOF
2853 #define PACKAGE_URL "$PACKAGE_URL"
2854 _ACEOF
2855
2856
2857 # Let the site file select an alternate cache file if it wants to.
2858 # Prefer an explicitly selected file to automatically selected ones.
2859 ac_site_file1=NONE
2860 ac_site_file2=NONE
2861 if test -n "$CONFIG_SITE"; then
2862   ac_site_file1=$CONFIG_SITE
2863 elif test "x$prefix" != xNONE; then
2864   ac_site_file1=$prefix/share/config.site
2865   ac_site_file2=$prefix/etc/config.site
2866 else
2867   ac_site_file1=$ac_default_prefix/share/config.site
2868   ac_site_file2=$ac_default_prefix/etc/config.site
2869 fi
2870 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2871 do
2872   test "x$ac_site_file" = xNONE && continue
2873   if test -r "$ac_site_file"; then
2874     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2875 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2876     sed 's/^/| /' "$ac_site_file" >&5
2877     . "$ac_site_file"
2878   fi
2879 done
2880
2881 if test -r "$cache_file"; then
2882   # Some versions of bash will fail to source /dev/null (special
2883   # files actually), so we avoid doing that.
2884   if test -f "$cache_file"; then
2885     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2886 $as_echo "$as_me: loading cache $cache_file" >&6;}
2887     case $cache_file in
2888       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2889       *)                      . "./$cache_file";;
2890     esac
2891   fi
2892 else
2893   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2894 $as_echo "$as_me: creating cache $cache_file" >&6;}
2895   >$cache_file
2896 fi
2897
2898 # Check that the precious variables saved in the cache have kept the same
2899 # value.
2900 ac_cache_corrupted=false
2901 for ac_var in $ac_precious_vars; do
2902   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2903   eval ac_new_set=\$ac_env_${ac_var}_set
2904   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2905   eval ac_new_val=\$ac_env_${ac_var}_value
2906   case $ac_old_set,$ac_new_set in
2907     set,)
2908       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2909 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2910       ac_cache_corrupted=: ;;
2911     ,set)
2912       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2913 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2914       ac_cache_corrupted=: ;;
2915     ,);;
2916     *)
2917       if test "x$ac_old_val" != "x$ac_new_val"; then
2918         # differences in whitespace do not lead to failure.
2919         ac_old_val_w=`echo x $ac_old_val`
2920         ac_new_val_w=`echo x $ac_new_val`
2921         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2922           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2923 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2924           ac_cache_corrupted=:
2925         else
2926           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2927 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2928           eval $ac_var=\$ac_old_val
2929         fi
2930         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2931 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2932         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2933 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2934       fi;;
2935   esac
2936   # Pass precious variables to config.status.
2937   if test "$ac_new_set" = set; then
2938     case $ac_new_val in
2939     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2940     *) ac_arg=$ac_var=$ac_new_val ;;
2941     esac
2942     case " $ac_configure_args " in
2943       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2944       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2945     esac
2946   fi
2947 done
2948 if $ac_cache_corrupted; then
2949   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2952 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2953   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2954 fi
2955 ## -------------------- ##
2956 ## Main body of script. ##
2957 ## -------------------- ##
2958
2959 ac_ext=c
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964
2965
2966
2967
2968
2969
2970 ac_config_headers="$ac_config_headers auto-host.h:config.in"
2971
2972
2973 gcc_version=`cat $srcdir/BASE-VER`
2974
2975 # Determine the host, build, and target systems
2976 ac_aux_dir=
2977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2978   for ac_t in install-sh install.sh shtool; do
2979     if test -f "$ac_dir/$ac_t"; then
2980       ac_aux_dir=$ac_dir
2981       ac_install_sh="$ac_aux_dir/$ac_t -c"
2982       break 2
2983     fi
2984   done
2985 done
2986 if test -z "$ac_aux_dir"; then
2987   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2988 fi
2989
2990 # These three variables are undocumented and unsupported,
2991 # and are intended to be withdrawn in a future Autoconf release.
2992 # They can cause serious problems if a builder's source tree is in a directory
2993 # whose full name contains unusual characters.
2994 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2995 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2996 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2997
2998
2999 # Make sure we can run config.sub.
3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3001   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3004 $as_echo_n "checking build system type... " >&6; }
3005 if test "${ac_cv_build+set}" = set; then :
3006   $as_echo_n "(cached) " >&6
3007 else
3008   ac_build_alias=$build_alias
3009 test "x$ac_build_alias" = x &&
3010   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3011 test "x$ac_build_alias" = x &&
3012   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3014   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3015
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3018 $as_echo "$ac_cv_build" >&6; }
3019 case $ac_cv_build in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3022 esac
3023 build=$ac_cv_build
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_build
3026 shift
3027 build_cpu=$1
3028 build_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 build_os=$*
3033 IFS=$ac_save_IFS
3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3035
3036
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3038 $as_echo_n "checking host system type... " >&6; }
3039 if test "${ac_cv_host+set}" = set; then :
3040   $as_echo_n "(cached) " >&6
3041 else
3042   if test "x$host_alias" = x; then
3043   ac_cv_host=$ac_cv_build
3044 else
3045   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3046     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3047 fi
3048
3049 fi
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3051 $as_echo "$ac_cv_host" >&6; }
3052 case $ac_cv_host in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3055 esac
3056 host=$ac_cv_host
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_host
3059 shift
3060 host_cpu=$1
3061 host_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 host_os=$*
3066 IFS=$ac_save_IFS
3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3068
3069
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3071 $as_echo_n "checking target system type... " >&6; }
3072 if test "${ac_cv_target+set}" = set; then :
3073   $as_echo_n "(cached) " >&6
3074 else
3075   if test "x$target_alias" = x; then
3076   ac_cv_target=$ac_cv_host
3077 else
3078   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3079     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3080 fi
3081
3082 fi
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3084 $as_echo "$ac_cv_target" >&6; }
3085 case $ac_cv_target in
3086 *-*-*) ;;
3087 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3088 esac
3089 target=$ac_cv_target
3090 ac_save_IFS=$IFS; IFS='-'
3091 set x $ac_cv_target
3092 shift
3093 target_cpu=$1
3094 target_vendor=$2
3095 shift; shift
3096 # Remember, the first character of IFS is used to create $*,
3097 # except with old shells:
3098 target_os=$*
3099 IFS=$ac_save_IFS
3100 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3101
3102
3103 # The aliases save the names the user supplied, while $host etc.
3104 # will get canonicalized.
3105 test -n "$target_alias" &&
3106   test "$program_prefix$program_suffix$program_transform_name" = \
3107     NONENONEs,x,x, &&
3108   program_prefix=${target_alias}-
3109
3110 # Determine the noncanonical target name, for directory use.
3111  case ${build_alias} in
3112   "") build_noncanonical=${build} ;;
3113   *) build_noncanonical=${build_alias} ;;
3114 esac
3115
3116  case ${host_alias} in
3117   "") host_noncanonical=${build_noncanonical} ;;
3118   *) host_noncanonical=${host_alias} ;;
3119 esac
3120
3121  case ${target_alias} in
3122   "") target_noncanonical=${host_noncanonical} ;;
3123   *) target_noncanonical=${target_alias} ;;
3124 esac
3125
3126
3127
3128
3129 # Determine the target- and build-specific subdirectories
3130
3131 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3132 # have matching libraries, they should use host libraries: Makefile.tpl
3133 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3134 # However, they still use the build modules, because the corresponding
3135 # host modules (e.g. bison) are only built for the host when bootstrap
3136 # finishes. So:
3137 # - build_subdir is where we find build modules, and never changes.
3138 # - build_libsubdir is where we find build libraries, and can be overridden.
3139
3140 # Prefix 'build-' so this never conflicts with target_subdir.
3141 build_subdir="build-${build_noncanonical}"
3142
3143 # Check whether --with-build-libsubdir was given.
3144 if test "${with_build_libsubdir+set}" = set; then :
3145   withval=$with_build_libsubdir; build_libsubdir="$withval"
3146 else
3147   build_libsubdir="$build_subdir"
3148 fi
3149
3150 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3151 if ( test $srcdir = . && test -d gcc ) \
3152    || test -d $srcdir/../host-${host_noncanonical}; then
3153   host_subdir="host-${host_noncanonical}"
3154 else
3155   host_subdir=.
3156 fi
3157 # No prefix.
3158 target_subdir=${target_noncanonical}
3159
3160
3161 # Set program_transform_name
3162 test "$program_prefix" != NONE &&
3163   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3164 # Use a double $ so make ignores it.
3165 test "$program_suffix" != NONE &&
3166   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3167 # Double any \ or $.
3168 # By default was `s,x,x', remove it if useless.
3169 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3170 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3171
3172
3173 # Check for bogus environment variables.
3174 # Test if LIBRARY_PATH contains the notation for the current directory
3175 # since this would lead to problems installing/building glibc.
3176 # LIBRARY_PATH contains the current directory if one of the following
3177 # is true:
3178 # - one of the terminals (":" and ";") is the first or last sign
3179 # - two terminals occur directly after each other
3180 # - the path contains an element with a dot in it
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY_PATH variable" >&5
3182 $as_echo_n "checking LIBRARY_PATH variable... " >&6; }
3183 case ${LIBRARY_PATH} in
3184   [:\;]* | *[:\;] | *[:\;][:\;]* |  *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3185     library_path_setting="contains current directory"
3186     ;;
3187   *)
3188     library_path_setting="ok"
3189     ;;
3190 esac
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $library_path_setting" >&5
3192 $as_echo "$library_path_setting" >&6; }
3193 if test "$library_path_setting" != "ok"; then
3194 as_fn_error "
3195 *** LIBRARY_PATH shouldn't contain the current directory when
3196 *** building gcc. Please change the environment variable
3197 *** and run configure again." "$LINENO" 5
3198 fi
3199
3200 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
3201 # since this would lead to problems installing/building glibc.
3202 # GCC_EXEC_PREFIX contains the current directory if one of the following
3203 # is true:
3204 # - one of the terminals (":" and ";") is the first or last sign
3205 # - two terminals occur directly after each other
3206 # - the path contains an element with a dot in it
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC_EXEC_PREFIX variable" >&5
3208 $as_echo_n "checking GCC_EXEC_PREFIX variable... " >&6; }
3209 case ${GCC_EXEC_PREFIX} in
3210   [:\;]* | *[:\;] | *[:\;][:\;]* |  *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3211     gcc_exec_prefix_setting="contains current directory"
3212     ;;
3213   *)
3214     gcc_exec_prefix_setting="ok"
3215     ;;
3216 esac
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_exec_prefix_setting" >&5
3218 $as_echo "$gcc_exec_prefix_setting" >&6; }
3219 if test "$gcc_exec_prefix_setting" != "ok"; then
3220 as_fn_error "
3221 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
3222 *** building gcc. Please change the environment variable
3223 *** and run configure again." "$LINENO" 5
3224 fi
3225
3226 # -----------
3227 # Directories
3228 # -----------
3229
3230 # Specify the local prefix
3231 local_prefix=
3232
3233 # Check whether --with-local-prefix was given.
3234 if test "${with_local_prefix+set}" = set; then :
3235   withval=$with_local_prefix; case "${withval}" in
3236 yes)    as_fn_error "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
3237 no)     ;;
3238 *)      local_prefix=$with_local_prefix ;;
3239 esac
3240 fi
3241
3242
3243 # Default local prefix if it is empty
3244 if test x$local_prefix = x; then
3245         local_prefix=/usr/local
3246 fi
3247
3248 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
3249 # passed in by the toplevel make and thus we'd get different behavior
3250 # depending on where we built the sources.
3251 gcc_gxx_include_dir=
3252 # Specify the g++ header file directory
3253
3254 # Check whether --with-gxx-include-dir was given.
3255 if test "${with_gxx_include_dir+set}" = set; then :
3256   withval=$with_gxx_include_dir; case "${withval}" in
3257 yes)    as_fn_error "bad value ${withval} given for g++ include directory" "$LINENO" 5 ;;
3258 no)     ;;
3259 *)      gcc_gxx_include_dir=$with_gxx_include_dir ;;
3260 esac
3261 fi
3262
3263
3264 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
3265 if test x${gcc_gxx_include_dir} = x; then
3266   if test x${enable_version_specific_runtime_libs} = xyes; then
3267     gcc_gxx_include_dir='${libsubdir}/include/c++'
3268   else
3269     libstdcxx_incdir='include/c++/$(version)'
3270     if test x$host != x$target; then
3271        libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
3272     fi
3273     gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir"
3274   fi
3275 fi
3276
3277
3278 # Check whether --with-cpp_install_dir was given.
3279 if test "${with_cpp_install_dir+set}" = set; then :
3280   withval=$with_cpp_install_dir; if test x$withval = xyes; then
3281   as_fn_error "option --with-cpp-install-dir requires an argument" "$LINENO" 5
3282 elif test x$withval != xno; then
3283   cpp_install_dir=$withval
3284 fi
3285 fi
3286
3287
3288 # We would like to our source tree to be readonly.  However when releases or
3289 # pre-releases are generated, the flex/bison generated files as well as the
3290 # various formats of manuals need to be included along with the rest of the
3291 # sources.  Therefore we have --enable-generated-files-in-srcdir to do
3292 # just that.
3293
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3295 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3296     # Check whether --enable-generated-files-in-srcdir was given.
3297 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3298   enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3299 else
3300   generated_files_in_srcdir=no
3301 fi
3302
3303
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3305 $as_echo "$generated_files_in_srcdir" >&6; }
3306
3307 if test "$generated_files_in_srcdir" = "yes"; then
3308   GENINSRC=''
3309 else
3310   GENINSRC='#'
3311 fi
3312
3313
3314 # -------------------
3315 # Find default linker
3316 # -------------------
3317
3318 # With GNU ld
3319
3320 # Check whether --with-gnu-ld was given.
3321 if test "${with_gnu_ld+set}" = set; then :
3322   withval=$with_gnu_ld; gnu_ld_flag="$with_gnu_ld"
3323 else
3324   gnu_ld_flag=no
3325 fi
3326
3327
3328 # With pre-defined ld
3329
3330 # Check whether --with-ld was given.
3331 if test "${with_ld+set}" = set; then :
3332   withval=$with_ld; DEFAULT_LINKER="$with_ld"
3333 fi
3334
3335 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3336   if test ! -x "$DEFAULT_LINKER"; then
3337     as_fn_error "cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" "$LINENO" 5
3338   elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3339     gnu_ld_flag=yes
3340   fi
3341
3342 cat >>confdefs.h <<_ACEOF
3343 #define DEFAULT_LINKER "$DEFAULT_LINKER"
3344 _ACEOF
3345
3346 fi
3347
3348 gnu_ld=`if test x"$gnu_ld_flag" = x"yes"; then echo 1; else echo 0; fi`
3349
3350 cat >>confdefs.h <<_ACEOF
3351 #define HAVE_GNU_LD $gnu_ld
3352 _ACEOF
3353
3354
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default linker was specified" >&5
3356 $as_echo_n "checking whether a default linker was specified... " >&6; }
3357 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3358   if test x"$gnu_ld_flag" = x"no"; then
3359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER)" >&5
3360 $as_echo "yes ($DEFAULT_LINKER)" >&6; }
3361   else
3362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER - GNU ld)" >&5
3363 $as_echo "yes ($DEFAULT_LINKER - GNU ld)" >&6; }
3364   fi
3365 else
3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3368 fi
3369
3370 # With demangler in GNU ld
3371
3372 # Check whether --with-demangler-in-ld was given.
3373 if test "${with_demangler_in_ld+set}" = set; then :
3374   withval=$with_demangler_in_ld; demangler_in_ld="$with_demangler_in_ld"
3375 else
3376   demangler_in_ld=no
3377 fi
3378
3379
3380 # ----------------------
3381 # Find default assembler
3382 # ----------------------
3383
3384 # With GNU as
3385
3386 # Check whether --with-gnu-as was given.
3387 if test "${with_gnu_as+set}" = set; then :
3388   withval=$with_gnu_as; gas_flag="$with_gnu_as"
3389 else
3390   gas_flag=no
3391 fi
3392
3393
3394
3395 # Check whether --with-as was given.
3396 if test "${with_as+set}" = set; then :
3397   withval=$with_as; DEFAULT_ASSEMBLER="$with_as"
3398 fi
3399
3400 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3401   if test ! -x "$DEFAULT_ASSEMBLER"; then
3402     as_fn_error "cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" "$LINENO" 5
3403   elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3404     gas_flag=yes
3405   fi
3406
3407 cat >>confdefs.h <<_ACEOF
3408 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
3409 _ACEOF
3410
3411 fi
3412
3413 gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
3414
3415 cat >>confdefs.h <<_ACEOF
3416 #define HAVE_GNU_AS $gnu_as
3417 _ACEOF
3418
3419
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default assembler was specified" >&5
3421 $as_echo_n "checking whether a default assembler was specified... " >&6; }
3422 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3423   if test x"$gas_flag" = x"no"; then
3424     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER)" >&5
3425 $as_echo "yes ($DEFAULT_ASSEMBLER)" >&6; }
3426   else
3427     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER - GNU as)" >&5
3428 $as_echo "yes ($DEFAULT_ASSEMBLER - GNU as)" >&6; }
3429   fi
3430 else
3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3433 fi
3434
3435 # ---------------
3436 # Find C compiler
3437 # ---------------
3438
3439 # If a non-executable a.out is present (e.g. created by GNU as above even if
3440 # invoked with -v only), the IRIX 6 native ld just overwrites the existing
3441 # file, even when creating an executable, so an execution test fails.
3442 # Remove possible default executable files to avoid this.
3443 #
3444 # FIXME: This really belongs into AC_PROG_CC and can be removed once
3445 # Autoconf includes it.
3446 rm -f a.out a.exe b.out
3447
3448 # Find the native compiler
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if test "${ac_cv_prog_CC+set}" = set; then :
3460   $as_echo_n "(cached) " >&6
3461 else
3462   if test -n "$CC"; then
3463   ac_cv_prog_CC="$CC" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468   IFS=$as_save_IFS
3469   test -z "$as_dir" && as_dir=.
3470     for ac_exec_ext in '' $ac_executable_extensions; do
3471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474     break 2
3475   fi
3476 done
3477   done
3478 IFS=$as_save_IFS
3479
3480 fi
3481 fi
3482 CC=$ac_cv_prog_CC
3483 if test -n "$CC"; then
3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3485 $as_echo "$CC" >&6; }
3486 else
3487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3489 fi
3490
3491
3492 fi
3493 if test -z "$ac_cv_prog_CC"; then
3494   ac_ct_CC=$CC
3495   # Extract the first word of "gcc", so it can be a program name with args.
3496 set dummy gcc; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3500   $as_echo_n "(cached) " >&6
3501 else
3502   if test -n "$ac_ct_CC"; then
3503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3507 do
3508   IFS=$as_save_IFS
3509   test -z "$as_dir" && as_dir=.
3510     for ac_exec_ext in '' $ac_executable_extensions; do
3511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512     ac_cv_prog_ac_ct_CC="gcc"
3513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514     break 2
3515   fi
3516 done
3517   done
3518 IFS=$as_save_IFS
3519
3520 fi
3521 fi
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3526 else
3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3529 fi
3530
3531   if test "x$ac_ct_CC" = x; then
3532     CC=""
3533   else
3534     case $cross_compiling:$ac_tool_warned in
3535 yes:)
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3538 ac_tool_warned=yes ;;
3539 esac
3540     CC=$ac_ct_CC
3541   fi
3542 else
3543   CC="$ac_cv_prog_CC"
3544 fi
3545
3546 if test -z "$CC"; then
3547           if test -n "$ac_tool_prefix"; then
3548     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3549 set dummy ${ac_tool_prefix}cc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if test "${ac_cv_prog_CC+set}" = set; then :
3553   $as_echo_n "(cached) " >&6
3554 else
3555   if test -n "$CC"; then
3556   ac_cv_prog_CC="$CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3560 do
3561   IFS=$as_save_IFS
3562   test -z "$as_dir" && as_dir=.
3563     for ac_exec_ext in '' $ac_executable_extensions; do
3564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565     ac_cv_prog_CC="${ac_tool_prefix}cc"
3566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567     break 2
3568   fi
3569 done
3570   done
3571 IFS=$as_save_IFS
3572
3573 fi
3574 fi
3575 CC=$ac_cv_prog_CC
3576 if test -n "$CC"; then
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578 $as_echo "$CC" >&6; }
3579 else
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 fi
3583
3584
3585   fi
3586 fi
3587 if test -z "$CC"; then
3588   # Extract the first word of "cc", so it can be a program name with args.
3589 set dummy cc; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if test "${ac_cv_prog_CC+set}" = set; then :
3593   $as_echo_n "(cached) " >&6
3594 else
3595   if test -n "$CC"; then
3596   ac_cv_prog_CC="$CC" # Let the user override the test.
3597 else
3598   ac_prog_rejected=no
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3601 do
3602   IFS=$as_save_IFS
3603   test -z "$as_dir" && as_dir=.
3604     for ac_exec_ext in '' $ac_executable_extensions; do
3605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3607        ac_prog_rejected=yes
3608        continue
3609      fi
3610     ac_cv_prog_CC="cc"
3611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612     break 2
3613   fi
3614 done
3615   done
3616 IFS=$as_save_IFS
3617
3618 if test $ac_prog_rejected = yes; then
3619   # We found a bogon in the path, so make sure we never use it.
3620   set dummy $ac_cv_prog_CC
3621   shift
3622   if test $# != 0; then
3623     # We chose a different compiler from the bogus one.
3624     # However, it has the same basename, so the bogon will be chosen
3625     # first if we set CC to just the basename; use the full file name.
3626     shift
3627     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3628   fi
3629 fi
3630 fi
3631 fi
3632 CC=$ac_cv_prog_CC
3633 if test -n "$CC"; then
3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3636 else
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3639 fi
3640
3641
3642 fi
3643 if test -z "$CC"; then
3644   if test -n "$ac_tool_prefix"; then
3645   for ac_prog in cl.exe
3646   do
3647     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if test "${ac_cv_prog_CC+set}" = set; then :
3652   $as_echo_n "(cached) " >&6
3653 else
3654   if test -n "$CC"; then
3655   ac_cv_prog_CC="$CC" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3659 do
3660   IFS=$as_save_IFS
3661   test -z "$as_dir" && as_dir=.
3662     for ac_exec_ext in '' $ac_executable_extensions; do
3663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666     break 2
3667   fi
3668 done
3669   done
3670 IFS=$as_save_IFS
3671
3672 fi
3673 fi
3674 CC=$ac_cv_prog_CC
3675 if test -n "$CC"; then
3676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 $as_echo "$CC" >&6; }
3678 else
3679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3681 fi
3682
3683
3684     test -n "$CC" && break
3685   done
3686 fi
3687 if test -z "$CC"; then
3688   ac_ct_CC=$CC
3689   for ac_prog in cl.exe
3690 do
3691   # Extract the first word of "$ac_prog", so it can be a program name with args.
3692 set dummy $ac_prog; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3696   $as_echo_n "(cached) " >&6
3697 else
3698   if test -n "$ac_ct_CC"; then
3699   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706     for ac_exec_ext in '' $ac_executable_extensions; do
3707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708     ac_cv_prog_ac_ct_CC="$ac_prog"
3709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710     break 2
3711   fi
3712 done
3713   done
3714 IFS=$as_save_IFS
3715
3716 fi
3717 fi
3718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3719 if test -n "$ac_ct_CC"; then
3720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3721 $as_echo "$ac_ct_CC" >&6; }
3722 else
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 fi
3726
3727
3728   test -n "$ac_ct_CC" && break
3729 done
3730
3731   if test "x$ac_ct_CC" = x; then
3732     CC=""
3733   else
3734     case $cross_compiling:$ac_tool_warned in
3735 yes:)
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3738 ac_tool_warned=yes ;;
3739 esac
3740     CC=$ac_ct_CC
3741   fi
3742 fi
3743
3744 fi
3745
3746
3747 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error "no acceptable C compiler found in \$PATH
3750 See \`config.log' for more details." "$LINENO" 5; }
3751
3752 # Provide some information about the compiler.
3753 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3754 set X $ac_compile
3755 ac_compiler=$2
3756 for ac_option in --version -v -V -qversion; do
3757   { { ac_try="$ac_compiler $ac_option >&5"
3758 case "(($ac_try" in
3759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760   *) ac_try_echo=$ac_try;;
3761 esac
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3765   ac_status=$?
3766   if test -s conftest.err; then
3767     sed '10a\
3768 ... rest of stderr output deleted ...
3769          10q' conftest.err >conftest.er1
3770     cat conftest.er1 >&5
3771     rm -f conftest.er1 conftest.err
3772   fi
3773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774   test $ac_status = 0; }
3775 done
3776
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h.  */
3779
3780 int
3781 main ()
3782 {
3783
3784   ;
3785   return 0;
3786 }
3787 _ACEOF
3788 ac_clean_files_save=$ac_clean_files
3789 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3790 # Try to create an executable without -o first, disregard a.out.
3791 # It will help us diagnose broken compilers, and finding out an intuition
3792 # of exeext.
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking fo