OSDN Git Service

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