OSDN Git Service

PR libstdc++/50196
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
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='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
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='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_thread_h
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
748 CXX
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
755 CC
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
761 AWK
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872       ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940   # If the previous option needs an argument, assign it.
941   if test -n "$ac_prev"; then
942     eval $ac_prev=\$ac_option
943     ac_prev=
944     continue
945   fi
946
947   case $ac_option in
948   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949   *)    ac_optarg=yes ;;
950   esac
951
952   # Accept the important Cygnus configure options, so we can diagnose typos.
953
954   case $ac_dashdash$ac_option in
955   --)
956     ac_dashdash=yes ;;
957
958   -bindir | --bindir | --bindi | --bind | --bin | --bi)
959     ac_prev=bindir ;;
960   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961     bindir=$ac_optarg ;;
962
963   -build | --build | --buil | --bui | --bu)
964     ac_prev=build_alias ;;
965   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966     build_alias=$ac_optarg ;;
967
968   -cache-file | --cache-file | --cache-fil | --cache-fi \
969   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970     ac_prev=cache_file ;;
971   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973     cache_file=$ac_optarg ;;
974
975   --config-cache | -C)
976     cache_file=config.cache ;;
977
978   -datadir | --datadir | --datadi | --datad)
979     ac_prev=datadir ;;
980   -datadir=* | --datadir=* | --datadi=* | --datad=*)
981     datadir=$ac_optarg ;;
982
983   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984   | --dataroo | --dataro | --datar)
985     ac_prev=datarootdir ;;
986   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988     datarootdir=$ac_optarg ;;
989
990   -disable-* | --disable-*)
991     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992     # Reject names that are not valid shell variable names.
993     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994       as_fn_error "invalid feature name: $ac_useropt"
995     ac_useropt_orig=$ac_useropt
996     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997     case $ac_user_opts in
998       *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002          ac_unrecognized_sep=', ';;
1003     esac
1004     eval enable_$ac_useropt=no ;;
1005
1006   -docdir | --docdir | --docdi | --doc | --do)
1007     ac_prev=docdir ;;
1008   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009     docdir=$ac_optarg ;;
1010
1011   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012     ac_prev=dvidir ;;
1013   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014     dvidir=$ac_optarg ;;
1015
1016   -enable-* | --enable-*)
1017     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018     # Reject names that are not valid shell variable names.
1019     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020       as_fn_error "invalid feature name: $ac_useropt"
1021     ac_useropt_orig=$ac_useropt
1022     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023     case $ac_user_opts in
1024       *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028          ac_unrecognized_sep=', ';;
1029     esac
1030     eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034   | --exec | --exe | --ex)
1035     ac_prev=exec_prefix ;;
1036   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038   | --exec=* | --exe=* | --ex=*)
1039     exec_prefix=$ac_optarg ;;
1040
1041   -gas | --gas | --ga | --g)
1042     # Obsolete; use --with-gas.
1043     with_gas=yes ;;
1044
1045   -help | --help | --hel | --he | -h)
1046     ac_init_help=long ;;
1047   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048     ac_init_help=recursive ;;
1049   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050     ac_init_help=short ;;
1051
1052   -host | --host | --hos | --ho)
1053     ac_prev=host_alias ;;
1054   -host=* | --host=* | --hos=* | --ho=*)
1055     host_alias=$ac_optarg ;;
1056
1057   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058     ac_prev=htmldir ;;
1059   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060   | --ht=*)
1061     htmldir=$ac_optarg ;;
1062
1063   -includedir | --includedir | --includedi | --included | --include \
1064   | --includ | --inclu | --incl | --inc)
1065     ac_prev=includedir ;;
1066   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067   | --includ=* | --inclu=* | --incl=* | --inc=*)
1068     includedir=$ac_optarg ;;
1069
1070   -infodir | --infodir | --infodi | --infod | --info | --inf)
1071     ac_prev=infodir ;;
1072   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073     infodir=$ac_optarg ;;
1074
1075   -libdir | --libdir | --libdi | --libd)
1076     ac_prev=libdir ;;
1077   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078     libdir=$ac_optarg ;;
1079
1080   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081   | --libexe | --libex | --libe)
1082     ac_prev=libexecdir ;;
1083   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084   | --libexe=* | --libex=* | --libe=*)
1085     libexecdir=$ac_optarg ;;
1086
1087   -localedir | --localedir | --localedi | --localed | --locale)
1088     ac_prev=localedir ;;
1089   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090     localedir=$ac_optarg ;;
1091
1092   -localstatedir | --localstatedir | --localstatedi | --localstated \
1093   | --localstate | --localstat | --localsta | --localst | --locals)
1094     ac_prev=localstatedir ;;
1095   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097     localstatedir=$ac_optarg ;;
1098
1099   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100     ac_prev=mandir ;;
1101   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102     mandir=$ac_optarg ;;
1103
1104   -nfp | --nfp | --nf)
1105     # Obsolete; use --without-fp.
1106     with_fp=no ;;
1107
1108   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109   | --no-cr | --no-c | -n)
1110     no_create=yes ;;
1111
1112   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114     no_recursion=yes ;;
1115
1116   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118   | --oldin | --oldi | --old | --ol | --o)
1119     ac_prev=oldincludedir ;;
1120   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123     oldincludedir=$ac_optarg ;;
1124
1125   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126     ac_prev=prefix ;;
1127   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128     prefix=$ac_optarg ;;
1129
1130   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131   | --program-pre | --program-pr | --program-p)
1132     ac_prev=program_prefix ;;
1133   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135     program_prefix=$ac_optarg ;;
1136
1137   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138   | --program-suf | --program-su | --program-s)
1139     ac_prev=program_suffix ;;
1140   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142     program_suffix=$ac_optarg ;;
1143
1144   -program-transform-name | --program-transform-name \
1145   | --program-transform-nam | --program-transform-na \
1146   | --program-transform-n | --program-transform- \
1147   | --program-transform | --program-transfor \
1148   | --program-transfo | --program-transf \
1149   | --program-trans | --program-tran \
1150   | --progr-tra | --program-tr | --program-t)
1151     ac_prev=program_transform_name ;;
1152   -program-transform-name=* | --program-transform-name=* \
1153   | --program-transform-nam=* | --program-transform-na=* \
1154   | --program-transform-n=* | --program-transform-=* \
1155   | --program-transform=* | --program-transfor=* \
1156   | --program-transfo=* | --program-transf=* \
1157   | --program-trans=* | --program-tran=* \
1158   | --progr-tra=* | --program-tr=* | --program-t=*)
1159     program_transform_name=$ac_optarg ;;
1160
1161   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162     ac_prev=pdfdir ;;
1163   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164     pdfdir=$ac_optarg ;;
1165
1166   -psdir | --psdir | --psdi | --psd | --ps)
1167     ac_prev=psdir ;;
1168   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169     psdir=$ac_optarg ;;
1170
1171   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172   | -silent | --silent | --silen | --sile | --sil)
1173     silent=yes ;;
1174
1175   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176     ac_prev=sbindir ;;
1177   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178   | --sbi=* | --sb=*)
1179     sbindir=$ac_optarg ;;
1180
1181   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183   | --sharedst | --shareds | --shared | --share | --shar \
1184   | --sha | --sh)
1185     ac_prev=sharedstatedir ;;
1186   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189   | --sha=* | --sh=*)
1190     sharedstatedir=$ac_optarg ;;
1191
1192   -site | --site | --sit)
1193     ac_prev=site ;;
1194   -site=* | --site=* | --sit=*)
1195     site=$ac_optarg ;;
1196
1197   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198     ac_prev=srcdir ;;
1199   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200     srcdir=$ac_optarg ;;
1201
1202   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203   | --syscon | --sysco | --sysc | --sys | --sy)
1204     ac_prev=sysconfdir ;;
1205   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207     sysconfdir=$ac_optarg ;;
1208
1209   -target | --target | --targe | --targ | --tar | --ta | --t)
1210     ac_prev=target_alias ;;
1211   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212     target_alias=$ac_optarg ;;
1213
1214   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215     verbose=yes ;;
1216
1217   -version | --version | --versio | --versi | --vers | -V)
1218     ac_init_version=: ;;
1219
1220   -with-* | --with-*)
1221     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222     # Reject names that are not valid shell variable names.
1223     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224       as_fn_error "invalid package name: $ac_useropt"
1225     ac_useropt_orig=$ac_useropt
1226     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227     case $ac_user_opts in
1228       *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232          ac_unrecognized_sep=', ';;
1233     esac
1234     eval with_$ac_useropt=\$ac_optarg ;;
1235
1236   -without-* | --without-*)
1237     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238     # Reject names that are not valid shell variable names.
1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240       as_fn_error "invalid package name: $ac_useropt"
1241     ac_useropt_orig=$ac_useropt
1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243     case $ac_user_opts in
1244       *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248          ac_unrecognized_sep=', ';;
1249     esac
1250     eval with_$ac_useropt=no ;;
1251
1252   --x)
1253     # Obsolete; use --with-x.
1254     with_x=yes ;;
1255
1256   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257   | --x-incl | --x-inc | --x-in | --x-i)
1258     ac_prev=x_includes ;;
1259   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261     x_includes=$ac_optarg ;;
1262
1263   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265     ac_prev=x_libraries ;;
1266   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268     x_libraries=$ac_optarg ;;
1269
1270   -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272     ;;
1273
1274   *=*)
1275     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276     # Reject names that are not valid shell variable names.
1277     case $ac_envvar in #(
1278       '' | [0-9]* | *[!_$as_cr_alnum]* )
1279       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280     esac
1281     eval $ac_envvar=\$ac_optarg
1282     export $ac_envvar ;;
1283
1284   *)
1285     # FIXME: should be removed in autoconf 3.0.
1286     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290     ;;
1291
1292   esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297   as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301   case $enable_option_checking in
1302     no) ;;
1303     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305   esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310                 datadir sysconfdir sharedstatedir localstatedir includedir \
1311                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312                 libdir localedir mandir
1313 do
1314   eval ac_val=\$$ac_var
1315   # Remove trailing slashes.
1316   case $ac_val in
1317     */ )
1318       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319       eval $ac_var=\$ac_val;;
1320   esac
1321   # Be sure to have absolute directory names.
1322   case $ac_val in
1323     [\\/$]* | ?:[\\/]* )  continue;;
1324     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325   esac
1326   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338   if test "x$build_alias" = x; then
1339     cross_compiling=maybe
1340     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341     If a cross compiler is detected then cross compile mode will be used." >&2
1342   elif test "x$build_alias" != "x$host_alias"; then
1343     cross_compiling=yes
1344   fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356   as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358   as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363   ac_srcdir_defaulted=yes
1364   # Try the directory containing this script, then the parent directory.
1365   ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367          X"$as_myself" : 'X\(//\)[^/]' \| \
1368          X"$as_myself" : 'X\(//\)$' \| \
1369          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372             s//\1/
1373             q
1374           }
1375           /^X\(\/\/\)[^/].*/{
1376             s//\1/
1377             q
1378           }
1379           /^X\(\/\/\)$/{
1380             s//\1/
1381             q
1382           }
1383           /^X\(\/\).*/{
1384             s//\1/
1385             q
1386           }
1387           s/.*/./; q'`
1388   srcdir=$ac_confdir
1389   if test ! -r "$srcdir/$ac_unique_file"; then
1390     srcdir=..
1391   fi
1392 else
1393   ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402         pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405   srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415   eval ac_env_${ac_var}_value=\$${ac_var}
1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424   # Omit some internal or obsolete options to make the list less imposing.
1425   # This message is too long to be a string in the A/UX 3.1 sh.
1426   cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437   -h, --help              display this help and exit
1438       --help=short        display options specific to this package
1439       --help=recursive    display the short help of all the included packages
1440   -V, --version           display version information and exit
1441   -q, --quiet, --silent   do not print \`checking...' messages
1442       --cache-file=FILE   cache test results in FILE [disabled]
1443   -C, --config-cache      alias for \`--cache-file=config.cache'
1444   -n, --no-create         do not create output files
1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448   --prefix=PREFIX         install architecture-independent files in PREFIX
1449                           [$ac_default_prefix]
1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1451                           [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461   --bindir=DIR            user executables [EPREFIX/bin]
1462   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1463   --libexecdir=DIR        program executables [EPREFIX/libexec]
1464   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1465   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1466   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1467   --libdir=DIR            object code libraries [EPREFIX/lib]
1468   --includedir=DIR        C header files [PREFIX/include]
1469   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1470   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1471   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1472   --infodir=DIR           info documentation [DATAROOTDIR/info]
1473   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1474   --mandir=DIR            man documentation [DATAROOTDIR/man]
1475   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1476   --htmldir=DIR           html documentation [DOCDIR]
1477   --dvidir=DIR            dvi documentation [DOCDIR]
1478   --pdfdir=DIR            pdf documentation [DOCDIR]
1479   --psdir=DIR             ps documentation [DOCDIR]
1480 _ACEOF
1481
1482   cat <<\_ACEOF
1483
1484 Program names:
1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1488
1489 System types:
1490   --build=BUILD     configure for building on BUILD [guessed]
1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492   --target=TARGET   configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497   case $ac_init_help in
1498      short | recursive ) echo "Configuration of package-unused version-unused:";;
1499    esac
1500   cat <<\_ACEOF
1501
1502 Optional Features:
1503   --disable-option-checking  ignore unrecognized --enable/--with options
1504   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1505   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1506   --enable-multilib       build many library versions (default)
1507   --enable-maintainer-mode  enable make rules and dependencies not useful
1508                           (and sometimes confusing) to the casual installer
1509   --enable-shared[=PKGS]  build shared libraries [default=yes]
1510   --enable-static[=PKGS]  build static libraries [default=yes]
1511   --enable-fast-install[=PKGS]
1512                           optimize for fast installation [default=yes]
1513   --disable-libtool-lock  avoid locking (might break parallel builds)
1514   --disable-hosted-libstdcxx
1515                           only build freestanding C++ runtime support
1516   --enable-sjlj-exceptions
1517                           force use of builtin_setjmp for exceptions
1518                           [default=auto]
1519   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1520                           [default=$is_hosted]
1521   --enable-cstdio[=PACKAGE]
1522                           use target-specific I/O package [default=stdio]
1523   --enable-clocale[=MODEL]
1524                           use MODEL for target locale package [default=auto]
1525   --enable-nls            use Native Language Support (default)
1526   --enable-libstdcxx-allocator[=KIND]
1527                           use KIND for target std::allocator base
1528                           [default=auto]
1529   --enable-cheaders[=KIND]
1530                           construct "C" headers for g++ [default=$c_model]
1531   --enable-long-long      enable template specializations for 'long long'
1532                           [default=yes]
1533   --enable-wchar_t        enable template specializations for 'wchar_t'
1534                           [default=yes]
1535   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1536   --enable-concept-checks use Boost-derived template checks [default=no]
1537   --enable-libstdcxx-debug-flags=FLAGS
1538                           pass compiler FLAGS when building debug library
1539                           [default="-g3 -O0"]
1540   --enable-libstdcxx-debug
1541                           build extra debug library [default=no]
1542   --enable-cxx-flags=FLAGS
1543                           pass compiler FLAGS when building library [default=]
1544   --enable-fully-dynamic-string
1545                           do not put empty strings in per-process static
1546                           memory [default=no]
1547   --enable-extern-template
1548                           enable extern template [default=yes]
1549   --enable-libstdcxx-time[=KIND]
1550                           use KIND for check type [default=no]
1551   --enable-tls            Use thread-local storage [default=yes]
1552   --disable-rpath         do not hardcode runtime library paths
1553   --enable-linux-futex    use the Linux futex system call [default=default]
1554   --enable-symvers[=STYLE]
1555                           enables symbol versioning of the shared library
1556                           [default=yes]
1557   --enable-visibility     enables visibility safe usage [default=yes]
1558   --enable-version-specific-runtime-libs
1559                           Specify that runtime libraries should be installed
1560                           in a compiler-specific directory
1561
1562 Optional Packages:
1563   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1564   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1565   --with-target-subdir=SUBDIR
1566                           configuring in a subdirectory
1567   --with-cross-host=HOST  configuring with a cross compiler
1568   --with-newlib           assume newlib as a system C library
1569   --with-pic              try to use only PIC/non-PIC objects [default=use
1570                           both]
1571   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1572   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1573   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1574   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1575   --with-system-libunwind use installed libunwind
1576   --with-gxx-include-dir=DIR
1577                           installation directory for include files
1578
1579 Some influential environment variables:
1580   CC          C compiler command
1581   CFLAGS      C compiler flags
1582   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1583               nonstandard directory <lib dir>
1584   LIBS        libraries to pass to the linker, e.g. -l<library>
1585   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586               you have headers in a nonstandard directory <include dir>
1587   CXX         C++ compiler command
1588   CXXFLAGS    C++ compiler flags
1589   CPP         C preprocessor
1590   CXXCPP      C++ preprocessor
1591   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1592               `c++filt', `gc++filt' on PATH.
1593
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1596
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1600 fi
1601
1602 if test "$ac_init_help" = "recursive"; then
1603   # If there are subdirs, report their specific --help.
1604   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605     test -d "$ac_dir" ||
1606       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607       continue
1608     ac_builddir=.
1609
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *)
1613   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614   # A ".." for each directory in $ac_dir_suffix.
1615   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616   case $ac_top_builddir_sub in
1617   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619   esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1625
1626 case $srcdir in
1627   .)  # We are building in place.
1628     ac_srcdir=.
1629     ac_top_srcdir=$ac_top_builddir_sub
1630     ac_abs_top_srcdir=$ac_pwd ;;
1631   [\\/]* | ?:[\\/]* )  # Absolute name.
1632     ac_srcdir=$srcdir$ac_dir_suffix;
1633     ac_top_srcdir=$srcdir
1634     ac_abs_top_srcdir=$srcdir ;;
1635   *) # Relative name.
1636     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637     ac_top_srcdir=$ac_top_build_prefix$srcdir
1638     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
1642     cd "$ac_dir" || { ac_status=$?; continue; }
1643     # Check for guested configure.
1644     if test -f "$ac_srcdir/configure.gnu"; then
1645       echo &&
1646       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647     elif test -f "$ac_srcdir/configure"; then
1648       echo &&
1649       $SHELL "$ac_srcdir/configure" --help=recursive
1650     else
1651       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652     fi || ac_status=$?
1653     cd "$ac_pwd" || { ac_status=$?; break; }
1654   done
1655 fi
1656
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659   cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1662
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667   exit
1668 fi
1669
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1673
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1678 {
1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680   rm -f conftest.$ac_objext
1681   if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684   *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688   (eval "$ac_compile") 2>conftest.err
1689   ac_status=$?
1690   if test -s conftest.err; then
1691     grep -v '^ *+' conftest.err >conftest.er1
1692     cat conftest.er1 >&5
1693     mv -f conftest.er1 conftest.err
1694   fi
1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696   test $ac_status = 0; } && {
1697          test -z "$ac_c_werror_flag" ||
1698          test ! -s conftest.err
1699        } && test -s conftest.$ac_objext; then :
1700   ac_retval=0
1701 else
1702   $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705         ac_retval=1
1706 fi
1707   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708   return $ac_retval
1709
1710 } # ac_fn_c_try_compile
1711
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1716 {
1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718   rm -f conftest.$ac_objext
1719   if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_compile") 2>conftest.err
1727   ac_status=$?
1728   if test -s conftest.err; then
1729     grep -v '^ *+' conftest.err >conftest.er1
1730     cat conftest.er1 >&5
1731     mv -f conftest.er1 conftest.err
1732   fi
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; } && {
1735          test -z "$ac_cxx_werror_flag" ||
1736          test ! -s conftest.err
1737        } && test -s conftest.$ac_objext; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743         ac_retval=1
1744 fi
1745   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746   return $ac_retval
1747
1748 } # ac_fn_cxx_try_compile
1749
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764   ac_status=$?
1765   if test -s conftest.err; then
1766     grep -v '^ *+' conftest.err >conftest.er1
1767     cat conftest.er1 >&5
1768     mv -f conftest.er1 conftest.err
1769   fi
1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771   test $ac_status = 0; } >/dev/null && {
1772          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773          test ! -s conftest.err
1774        }; then :
1775   ac_retval=0
1776 else
1777   $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780     ac_retval=1
1781 fi
1782   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783   return $ac_retval
1784
1785 } # ac_fn_c_try_cpp
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   rm -f conftest.$ac_objext conftest$ac_exeext
1794   if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797   *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801   (eval "$ac_link") 2>conftest.err
1802   ac_status=$?
1803   if test -s conftest.err; then
1804     grep -v '^ *+' conftest.err >conftest.er1
1805     cat conftest.er1 >&5
1806     mv -f conftest.er1 conftest.err
1807   fi
1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809   test $ac_status = 0; } && {
1810          test -z "$ac_c_werror_flag" ||
1811          test ! -s conftest.err
1812        } && test -s conftest$ac_exeext && {
1813          test "$cross_compiling" = yes ||
1814          $as_test_x conftest$ac_exeext
1815        }; then :
1816   ac_retval=0
1817 else
1818   $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821         ac_retval=1
1822 fi
1823   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825   # interfere with the next link command; also delete a directory that is
1826   # left behind by Apple's compiler.  We do this before executing the actions.
1827   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829   return $ac_retval
1830
1831 } # ac_fn_c_try_link
1832
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1838 {
1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843   $as_echo_n "(cached) " >&6
1844 else
1845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h.  */
1847 $4
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851   eval "$3=yes"
1852 else
1853   eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
1862 } # ac_fn_c_check_header_compile
1863
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1869 {
1870   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871   if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874   *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878   (eval "$ac_link") 2>&5
1879   ac_status=$?
1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882   { { case "(($ac_try" in
1883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884   *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888   (eval "$ac_try") 2>&5
1889   ac_status=$?
1890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891   test $ac_status = 0; }; }; then :
1892   ac_retval=0
1893 else
1894   $as_echo "$as_me: program exited with status $ac_status" >&5
1895        $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898        ac_retval=$ac_status
1899 fi
1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902   return $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1910 {
1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915   $as_echo_n "(cached) " >&6
1916 else
1917   if test x$gcc_no_link = xyes; then
1918   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 fi
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h.  */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1924 #define $2 innocuous_$2
1925
1926 /* System header to define __stub macros and hopefully few prototypes,
1927     which can conflict with char $2 (); below.
1928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929     <limits.h> exists even on freestanding compilers.  */
1930
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1936
1937 #undef $2
1938
1939 /* Override any GCC internal prototype to avoid an error.
1940    Use char because int might match the return type of a GCC
1941    builtin and then its argument prototype would still apply.  */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947     to always fail with ENOSYS.  Some functions are actually named
1948     something starting with __ and the normal name is an alias.  */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1952
1953 int
1954 main ()
1955 {
1956 return $2 ();
1957   ;
1958   return 0;
1959 }
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962   eval "$3=yes"
1963 else
1964   eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext \
1967     conftest$ac_exeext conftest.$ac_ext
1968 fi
1969 eval ac_res=\$$3
1970                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973
1974 } # ac_fn_c_check_func
1975
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985   *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990   ac_status=$?
1991   if test -s conftest.err; then
1992     grep -v '^ *+' conftest.err >conftest.er1
1993     cat conftest.er1 >&5
1994     mv -f conftest.er1 conftest.err
1995   fi
1996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997   test $ac_status = 0; } >/dev/null && {
1998          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999          test ! -s conftest.err
2000        }; then :
2001   ac_retval=0
2002 else
2003   $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2005
2006     ac_retval=1
2007 fi
2008   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009   return $ac_retval
2010
2011 } # ac_fn_cxx_try_cpp
2012
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2017 {
2018   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019   rm -f conftest.$ac_objext conftest$ac_exeext
2020   if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023   *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027   (eval "$ac_link") 2>conftest.err
2028   ac_status=$?
2029   if test -s conftest.err; then
2030     grep -v '^ *+' conftest.err >conftest.er1
2031     cat conftest.er1 >&5
2032     mv -f conftest.er1 conftest.err
2033   fi
2034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035   test $ac_status = 0; } && {
2036          test -z "$ac_cxx_werror_flag" ||
2037          test ! -s conftest.err
2038        } && test -s conftest$ac_exeext && {
2039          test "$cross_compiling" = yes ||
2040          $as_test_x conftest$ac_exeext
2041        }; then :
2042   ac_retval=0
2043 else
2044   $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047         ac_retval=1
2048 fi
2049   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051   # interfere with the next link command; also delete a directory that is
2052   # left behind by Apple's compiler.  We do this before executing the actions.
2053   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055   return $ac_retval
2056
2057 } # ac_fn_cxx_try_link
2058
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2065 {
2066   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071   $as_echo_n "(cached) " >&6
2072 fi
2073 eval ac_res=\$$3
2074                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077   # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h.  */
2082 $4
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086   ac_header_compiler=yes
2087 else
2088   ac_header_compiler=no
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2093
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h.  */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102   ac_header_preproc=yes
2103 else
2104   ac_header_preproc=no
2105 fi
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2109
2110 # So?  What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112   yes:no: )
2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117     ;;
2118   no:yes:* )
2119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129     ;;
2130 esac
2131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134   $as_echo_n "(cached) " >&6
2135 else
2136   eval "$3=\$ac_header_compiler"
2137 fi
2138 eval ac_res=\$$3
2139                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 fi
2142   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143
2144 } # ac_fn_c_check_header_mongrel
2145
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2152 {
2153   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158   $as_echo_n "(cached) " >&6
2159 fi
2160 eval ac_res=\$$3
2161                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164   # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h.  */
2169 $4
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173   ac_header_compiler=yes
2174 else
2175   ac_header_compiler=no
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2180
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189   ac_header_preproc=yes
2190 else
2191   ac_header_preproc=no
2192 fi
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2196
2197 # So?  What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199   yes:no: )
2200     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204     ;;
2205   no:yes:* )
2206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216     ;;
2217 esac
2218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221   $as_echo_n "(cached) " >&6
2222 else
2223   eval "$3=\$ac_header_compiler"
2224 fi
2225 eval ac_res=\$$3
2226                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 fi
2229   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230
2231 } # ac_fn_cxx_check_header_mongrel
2232
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2239 {
2240   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241   if test "$cross_compiling" = yes; then
2242     # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h.  */
2245 $4
2246 int
2247 main ()
2248 {
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2251
2252   ;
2253   return 0;
2254 }
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257   ac_lo=0 ac_mid=0
2258   while :; do
2259     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h.  */
2261 $4
2262 int
2263 main ()
2264 {
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2267
2268   ;
2269   return 0;
2270 }
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273   ac_hi=$ac_mid; break
2274 else
2275   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276                         if test $ac_lo -le $ac_mid; then
2277                           ac_lo= ac_hi=
2278                           break
2279                         fi
2280                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 fi
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283   done
2284 else
2285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h.  */
2287 $4
2288 int
2289 main ()
2290 {
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2293
2294   ;
2295   return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299   ac_hi=-1 ac_mid=-1
2300   while :; do
2301     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h.  */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2309
2310   ;
2311   return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315   ac_lo=$ac_mid; break
2316 else
2317   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318                         if test $ac_mid -le $ac_hi; then
2319                           ac_lo= ac_hi=
2320                           break
2321                         fi
2322                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325   done
2326 else
2327   ac_lo= ac_hi=
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 fi
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h.  */
2337 $4
2338 int
2339 main ()
2340 {
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2343
2344   ;
2345   return 0;
2346 }
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349   ac_hi=$ac_mid
2350 else
2351   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359   else
2360     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h.  */
2362 $4
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2367 int
2368 main ()
2369 {
2370
2371   FILE *f = fopen ("conftest.val", "w");
2372   if (! f)
2373     return 1;
2374   if (($2) < 0)
2375     {
2376       long int i = longval ();
2377       if (i != ($2))
2378         return 1;
2379       fprintf (f, "%ld", i);
2380     }
2381   else
2382     {
2383       unsigned long int i = ulongval ();
2384       if (i != ($2))
2385         return 1;
2386       fprintf (f, "%lu", i);
2387     }
2388   /* Do not output a trailing newline, as this causes \r\n confusion
2389      on some platforms.  */
2390   return ferror (f) || fclose (f) != 0;
2391
2392   ;
2393   return 0;
2394 }
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399   ac_retval=1
2400 fi
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402   conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2404
2405   fi
2406   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407   return $ac_retval
2408
2409 } # ac_fn_c_compute_int
2410
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2416 {
2417   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421   $as_echo_n "(cached) " >&6
2422 else
2423   eval "$3=no"
2424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h.  */
2426 $4
2427 int
2428 main ()
2429 {
2430 if (sizeof ($2))
2431          return 0;
2432   ;
2433   return 0;
2434 }
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h.  */
2439 $4
2440 int
2441 main ()
2442 {
2443 if (sizeof (($2)))
2444             return 0;
2445   ;
2446   return 0;
2447 }
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450
2451 else
2452   eval "$3=yes"
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 fi
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 fi
2458 eval ac_res=\$$3
2459                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2467
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64.  Invocation command line was
2470
2471   $ $0 $@
2472
2473 _ACEOF
2474 exec 5>>config.log
2475 {
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2480
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2489
2490 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2491 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2494 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2495 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2496 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2497
2498 _ASUNAME
2499
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503   IFS=$as_save_IFS
2504   test -z "$as_dir" && as_dir=.
2505     $as_echo "PATH: $as_dir"
2506   done
2507 IFS=$as_save_IFS
2508
2509 } >&5
2510
2511 cat >&5 <<_ACEOF
2512
2513
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2517
2518 _ACEOF
2519
2520
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2531 do
2532   for ac_arg
2533   do
2534     case $ac_arg in
2535     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537     | -silent | --silent | --silen | --sile | --sil)
2538       continue ;;
2539     *\'*)
2540       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541     esac
2542     case $ac_pass in
2543     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544     2)
2545       as_fn_append ac_configure_args1 " '$ac_arg'"
2546       if test $ac_must_keep_next = true; then
2547         ac_must_keep_next=false # Got value, back to normal.
2548       else
2549         case $ac_arg in
2550           *=* | --config-cache | -C | -disable-* | --disable-* \
2551           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553           | -with-* | --with-* | -without-* | --without-* | --x)
2554             case "$ac_configure_args0 " in
2555               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556             esac
2557             ;;
2558           -* ) ac_must_keep_next=true ;;
2559         esac
2560       fi
2561       as_fn_append ac_configure_args " '$ac_arg'"
2562       ;;
2563     esac
2564   done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2568
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log.  We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575   # Save into config.log some information that might help in debugging.
2576   {
2577     echo
2578
2579     cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584     echo
2585     # The following way of writing the cache mishandles newlines in values,
2586 (
2587   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588     eval ac_val=\$$ac_var
2589     case $ac_val in #(
2590     *${as_nl}*)
2591       case $ac_var in #(
2592       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594       esac
2595       case $ac_var in #(
2596       _ | IFS | as_nl) ;; #(
2597       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598       *) { eval $ac_var=; unset $ac_var;} ;;
2599       esac ;;
2600     esac
2601   done
2602   (set) 2>&1 |
2603     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604     *${as_nl}ac_space=\ *)
2605       sed -n \
2606         "s/'\''/'\''\\\\'\'''\''/g;
2607           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608       ;; #(
2609     *)
2610       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611       ;;
2612     esac |
2613     sort
2614 )
2615     echo
2616
2617     cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622     echo
2623     for ac_var in $ac_subst_vars
2624     do
2625       eval ac_val=\$$ac_var
2626       case $ac_val in
2627       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628       esac
2629       $as_echo "$ac_var='\''$ac_val'\''"
2630     done | sort
2631     echo
2632
2633     if test -n "$ac_subst_files"; then
2634       cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639       echo
2640       for ac_var in $ac_subst_files
2641       do
2642         eval ac_val=\$$ac_var
2643         case $ac_val in
2644         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645         esac
2646         $as_echo "$ac_var='\''$ac_val'\''"
2647       done | sort
2648       echo
2649     fi
2650
2651     if test -s confdefs.h; then
2652       cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657       echo
2658       cat confdefs.h
2659       echo
2660     fi
2661     test "$ac_signal" != 0 &&
2662       $as_echo "$as_me: caught signal $ac_signal"
2663     $as_echo "$as_me: exit $exit_status"
2664   } >&5
2665   rm -f core *.core core.conftest.* &&
2666     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667     exit $exit_status
2668 ' 0
2669 for ac_signal in 1 2 13 15; do
2670   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2673
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2676
2677 $as_echo "/* confdefs.h */" > confdefs.h
2678
2679 # Predefined preprocessor variables.
2680
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2704
2705
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711   ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713   ac_site_file1=$prefix/share/config.site
2714   ac_site_file2=$prefix/etc/config.site
2715 else
2716   ac_site_file1=$ac_default_prefix/share/config.site
2717   ac_site_file2=$ac_default_prefix/etc/config.site
2718 fi
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 do
2721   test "x$ac_site_file" = xNONE && continue
2722   if test -r "$ac_site_file"; then
2723     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725     sed 's/^/| /' "$ac_site_file" >&5
2726     . "$ac_site_file"
2727   fi
2728 done
2729
2730 if test -r "$cache_file"; then
2731   # Some versions of bash will fail to source /dev/null (special
2732   # files actually), so we avoid doing that.
2733   if test -f "$cache_file"; then
2734     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736     case $cache_file in
2737       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738       *)                      . "./$cache_file";;
2739     esac
2740   fi
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744   >$cache_file
2745 fi
2746
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752   eval ac_new_set=\$ac_env_${ac_var}_set
2753   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754   eval ac_new_val=\$ac_env_${ac_var}_value
2755   case $ac_old_set,$ac_new_set in
2756     set,)
2757       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759       ac_cache_corrupted=: ;;
2760     ,set)
2761       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763       ac_cache_corrupted=: ;;
2764     ,);;
2765     *)
2766       if test "x$ac_old_val" != "x$ac_new_val"; then
2767         # differences in whitespace do not lead to failure.
2768         ac_old_val_w=`echo x $ac_old_val`
2769         ac_new_val_w=`echo x $ac_new_val`
2770         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773           ac_cache_corrupted=:
2774         else
2775           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777           eval $ac_var=\$ac_old_val
2778         fi
2779         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2780 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2781         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2783       fi;;
2784   esac
2785   # Pass precious variables to config.status.
2786   if test "$ac_new_set" = set; then
2787     case $ac_new_val in
2788     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789     *) ac_arg=$ac_var=$ac_new_val ;;
2790     esac
2791     case " $ac_configure_args " in
2792       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2793       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794     esac
2795   fi
2796 done
2797 if $ac_cache_corrupted; then
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 fi
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2807
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813
2814
2815
2816
2817
2818
2819 ac_config_headers="$ac_config_headers config.h"
2820
2821
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported.  Only used at the end of this file.
2826 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2827
2828 # Find the rest of the source tree framework.
2829 # Default to --enable-multilib
2830 # Check whether --enable-multilib was given.
2831 if test "${enable_multilib+set}" = set; then :
2832   enableval=$enable_multilib; case "$enableval" in
2833   yes) multilib=yes ;;
2834   no)  multilib=no ;;
2835   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2836  esac
2837 else
2838   multilib=yes
2839 fi
2840
2841
2842 # We may get other options which we leave undocumented:
2843 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2844 # See config-ml.in if you want the gory details.
2845
2846 if test "$srcdir" = "."; then
2847   if test "$with_target_subdir" != "."; then
2848     multi_basedir="$srcdir/$with_multisrctop../.."
2849   else
2850     multi_basedir="$srcdir/$with_multisrctop.."
2851   fi
2852 else
2853   multi_basedir="$srcdir/.."
2854 fi
2855
2856
2857 # Even if the default multilib is not a cross compilation,
2858 # it may be that some of the other multilibs are.
2859 if test $cross_compiling = no && test $multilib = yes \
2860    && test "x${with_multisubdir}" != x ; then
2861    cross_compiling=maybe
2862 fi
2863
2864 ac_config_commands="$ac_config_commands default-1"
2865
2866
2867 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2868 #
2869 # You will slowly go insane if you do not grok the following fact:  when
2870 # building v3 as part of the compiler, the top-level /target/ becomes the
2871 # library's /host/.  configure then causes --target to default to --host,
2872 # exactly like any other package using autoconf.  Therefore, 'target' and
2873 # 'host' will always be the same.  This makes sense both for native and
2874 # cross compilers, just think about it for a little while.  :-)
2875 #
2876 # Also, if v3 is being configured as part of a cross compiler, the top-level
2877 # configure script will pass the "real" host as $with_cross_host.
2878 #
2879 # Do not delete or change the following two lines.  For why, see
2880 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 ac_aux_dir=
2882 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2883   for ac_t in install-sh install.sh shtool; do
2884     if test -f "$ac_dir/$ac_t"; then
2885       ac_aux_dir=$ac_dir
2886       ac_install_sh="$ac_aux_dir/$ac_t -c"
2887       break 2
2888     fi
2889   done
2890 done
2891 if test -z "$ac_aux_dir"; then
2892   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2893 fi
2894
2895 # These three variables are undocumented and unsupported,
2896 # and are intended to be withdrawn in a future Autoconf release.
2897 # They can cause serious problems if a builder's source tree is in a directory
2898 # whose full name contains unusual characters.
2899 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2900 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2901 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2902
2903
2904 # Make sure we can run config.sub.
2905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2906   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2909 $as_echo_n "checking build system type... " >&6; }
2910 if test "${ac_cv_build+set}" = set; then :
2911   $as_echo_n "(cached) " >&6
2912 else
2913   ac_build_alias=$build_alias
2914 test "x$ac_build_alias" = x &&
2915   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2916 test "x$ac_build_alias" = x &&
2917   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2919   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2923 $as_echo "$ac_cv_build" >&6; }
2924 case $ac_cv_build in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2927 esac
2928 build=$ac_cv_build
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_build
2931 shift
2932 build_cpu=$1
2933 build_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 build_os=$*
2938 IFS=$ac_save_IFS
2939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2943 $as_echo_n "checking host system type... " >&6; }
2944 if test "${ac_cv_host+set}" = set; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   if test "x$host_alias" = x; then
2948   ac_cv_host=$ac_cv_build
2949 else
2950   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2951     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2956 $as_echo "$ac_cv_host" >&6; }
2957 case $ac_cv_host in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2960 esac
2961 host=$ac_cv_host
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_host
2964 shift
2965 host_cpu=$1
2966 host_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 host_os=$*
2971 IFS=$ac_save_IFS
2972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2976 $as_echo_n "checking target system type... " >&6; }
2977 if test "${ac_cv_target+set}" = set; then :
2978   $as_echo_n "(cached) " >&6
2979 else
2980   if test "x$target_alias" = x; then
2981   ac_cv_target=$ac_cv_host
2982 else
2983   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2984     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 fi
2986
2987 fi
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2989 $as_echo "$ac_cv_target" >&6; }
2990 case $ac_cv_target in
2991 *-*-*) ;;
2992 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 esac
2994 target=$ac_cv_target
2995 ac_save_IFS=$IFS; IFS='-'
2996 set x $ac_cv_target
2997 shift
2998 target_cpu=$1
2999 target_vendor=$2
3000 shift; shift
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3003 target_os=$*
3004 IFS=$ac_save_IFS
3005 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3006
3007
3008 # The aliases save the names the user supplied, while $host etc.
3009 # will get canonicalized.
3010 test -n "$target_alias" &&
3011   test "$program_prefix$program_suffix$program_transform_name" = \
3012     NONENONEs,x,x, &&
3013   program_prefix=${target_alias}-
3014
3015 target_alias=${target_alias-$host_alias}
3016
3017 # Handy for debugging:
3018 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3019
3020 if test "$build" != "$host"; then
3021   # We are being configured with some form of cross compiler.
3022   GLIBCXX_IS_NATIVE=false
3023   case "$host","$target" in
3024     # Darwin crosses can use the host system's libraries and headers,
3025     # because of the fat library support.  Of course, it must be the
3026     # same version of Darwin on both sides.  Allow the user to
3027     # just say --target=foo-darwin without a version number to mean
3028     # "the version on this system".
3029       *-*-darwin*,*-*-darwin*)
3030         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3031         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3032         if test $hostos = $targetos -o $targetos = darwin ; then
3033           GLIBCXX_IS_NATIVE=true
3034         fi
3035         ;;
3036
3037       *)
3038
3039         ;;
3040   esac
3041 else
3042   GLIBCXX_IS_NATIVE=true
3043 fi
3044
3045 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3046 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3047 #  1.x:  minimum required version
3048 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3049 #              of other PACKAGE_* variables will, however, and there's nothing
3050 #              we can do about that; they come from AC_INIT).
3051 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3052 #            file in the top srcdir, etc, etc), so stop complaining.
3053 #  no-dependencies:  turns off auto dependency generation (just for now)
3054 #  no-dist:  we don't want 'dist' and related rules.
3055 #  -Wall:  turns on all automake warnings...
3056 #  -Wno-portability:  ...except this one, since GNU make is now required.
3057 am__api_version='1.11'
3058
3059 # Find a good install program.  We prefer a C program (faster),
3060 # so one script is as good as another.  But avoid the broken or
3061 # incompatible versions:
3062 # SysV /etc/install, /usr/sbin/install
3063 # SunOS /usr/etc/install
3064 # IRIX /sbin/install
3065 # AIX /bin/install
3066 # AmigaOS /C/install, which installs bootblocks on floppy discs
3067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3070 # OS/2's system install, which has a completely different semantic
3071 # ./install, which can be erroneously created by make from ./install.sh.
3072 # Reject install programs that cannot install multiple files.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3075 if test -z "$INSTALL"; then
3076 if test "${ac_cv_path_install+set}" = set; then :
3077   $as_echo_n "(cached) " >&6
3078 else
3079   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084     # Account for people who put trailing slashes in PATH elements.
3085 case $as_dir/ in #((
3086   ./ | .// | /[cC]/* | \
3087   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3088   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3089   /usr/ucb/* ) ;;
3090   *)
3091     # OSF1 and SCO ODT 3.0 have their own names for install.
3092     # Don't use installbsd from OSF since it installs stuff as root
3093     # by default.
3094     for ac_prog in ginstall scoinst install; do
3095       for ac_exec_ext in '' $ac_executable_extensions; do
3096         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3097           if test $ac_prog = install &&
3098             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3099             # AIX install.  It has an incompatible calling convention.
3100             :
3101           elif test $ac_prog = install &&
3102             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103             # program-specific install script used by HP pwplus--don't use.
3104             :
3105           else
3106             rm -rf conftest.one conftest.two conftest.dir
3107             echo one > conftest.one
3108             echo two > conftest.two
3109             mkdir conftest.dir
3110             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3111               test -s conftest.one && test -s conftest.two &&
3112               test -s conftest.dir/conftest.one &&
3113               test -s conftest.dir/conftest.two
3114             then
3115               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3116               break 3
3117             fi
3118           fi
3119         fi
3120       done
3121     done
3122     ;;
3123 esac
3124
3125   done
3126 IFS=$as_save_IFS
3127
3128 rm -rf conftest.one conftest.two conftest.dir
3129
3130 fi
3131   if test "${ac_cv_path_install+set}" = set; then
3132     INSTALL=$ac_cv_path_install
3133   else
3134     # As a last resort, use the slow shell script.  Don't cache a
3135     # value for INSTALL within a source directory, because that will
3136     # break other packages using the cache if that directory is
3137     # removed, or if the value is a relative name.
3138     INSTALL=$ac_install_sh
3139   fi
3140 fi
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3142 $as_echo "$INSTALL" >&6; }
3143
3144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3145 # It thinks the first close brace ends the variable substitution.
3146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3147
3148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3149
3150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3151
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3153 $as_echo_n "checking whether build environment is sane... " >&6; }
3154 # Just in case
3155 sleep 1
3156 echo timestamp > conftest.file
3157 # Reject unsafe characters in $srcdir or the absolute working directory
3158 # name.  Accept space and tab only in the latter.
3159 am_lf='
3160 '
3161 case `pwd` in
3162   *[\\\"\#\$\&\'\`$am_lf]*)
3163     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3164 esac
3165 case $srcdir in
3166   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3167     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3168 esac
3169
3170 # Do `set' in a subshell so we don't clobber the current shell's
3171 # arguments.  Must try -L first in case configure is actually a
3172 # symlink; some systems play weird games with the mod time of symlinks
3173 # (eg FreeBSD returns the mod time of the symlink's containing
3174 # directory).
3175 if (
3176    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3177    if test "$*" = "X"; then
3178       # -L didn't work.
3179       set X `ls -t "$srcdir/configure" conftest.file`
3180    fi
3181    rm -f conftest.file
3182    if test "$*" != "X $srcdir/configure conftest.file" \
3183       && test "$*" != "X conftest.file $srcdir/configure"; then
3184
3185       # If neither matched, then we have a broken ls.  This can happen
3186       # if, for instance, CONFIG_SHELL is bash and it inherits a
3187       # broken ls alias from the environment.  This has actually
3188       # happened.  Such a system could not be considered "sane".
3189       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3190 alias in your environment" "$LINENO" 5
3191    fi
3192
3193    test "$2" = conftest.file
3194    )
3195 then
3196    # Ok.
3197    :
3198 else
3199    as_fn_error "newly created file is older than distributed files!
3200 Check your system clock" "$LINENO" 5
3201 fi
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3204 test "$program_prefix" != NONE &&
3205   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3206 # Use a double $ so make ignores it.
3207 test "$program_suffix" != NONE &&
3208   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3209 # Double any \ or $.
3210 # By default was `s,x,x', remove it if useless.
3211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3212 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3213
3214 # expand $ac_aux_dir to an absolute path
3215 am_aux_dir=`cd $ac_aux_dir && pwd`
3216
3217 if test x"${MISSING+set}" != xset; then
3218   case $am_aux_dir in
3219   *\ * | *\     *)
3220     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3221   *)
3222     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3223   esac
3224 fi
3225 # Use eval to expand $SHELL
3226 if eval "$MISSING --run true"; then
3227   am_missing_run="$MISSING --run "
3228 else
3229   am_missing_run=
3230   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3231 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3232 fi
3233
3234 if test x"${install_sh}" != xset; then
3235   case $am_aux_dir in
3236   *\ * | *\     *)
3237     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3238   *)
3239     install_sh="\${SHELL} $am_aux_dir/install-sh"
3240   esac
3241 fi
3242
3243 # Installed binaries are usually stripped using `strip' when the user
3244 # run `make install-strip'.  However `strip' might not be the right
3245 # tool to use in cross-compilation environments, therefore Automake
3246 # will honor the `STRIP' environment variable to overrule this program.
3247 if test "$cross_compiling" != no; then
3248   if test -n "$ac_tool_prefix"; then
3249   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}strip; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_STRIP+set}" = set; then :
3254   $as_echo_n "(cached) " >&6
3255 else
3256   if test -n "$STRIP"; then
3257   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   test -z "$as_dir" && as_dir=.
3264     for ac_exec_ext in '' $ac_executable_extensions; do
3265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268     break 2
3269   fi
3270 done
3271   done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 STRIP=$ac_cv_prog_STRIP
3277 if test -n "$STRIP"; then
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3279 $as_echo "$STRIP" >&6; }
3280 else
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285
3286 fi
3287 if test -z "$ac_cv_prog_STRIP"; then
3288   ac_ct_STRIP=$STRIP
3289   # Extract the first word of "strip", so it can be a program name with args.
3290 set dummy strip; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3294   $as_echo_n "(cached) " >&6
3295 else
3296   if test -n "$ac_ct_STRIP"; then
3297   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302   IFS=$as_save_IFS
3303   test -z "$as_dir" && as_dir=.
3304     for ac_exec_ext in '' $ac_executable_extensions; do
3305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306     ac_cv_prog_ac_ct_STRIP="strip"
3307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308     break 2
3309   fi
3310 done
3311   done
3312 IFS=$as_save_IFS
3313
3314 fi
3315 fi
3316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3317 if test -n "$ac_ct_STRIP"; then
3318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3319 $as_echo "$ac_ct_STRIP" >&6; }
3320 else
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 fi
3324
3325   if test "x$ac_ct_STRIP" = x; then
3326     STRIP=":"
3327   else
3328     case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334     STRIP=$ac_ct_STRIP
3335   fi
3336 else
3337   STRIP="$ac_cv_prog_STRIP"
3338 fi
3339
3340 fi
3341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3342
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3344 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3345 if test -z "$MKDIR_P"; then
3346   if test "${ac_cv_path_mkdir+set}" = set; then :
3347   $as_echo_n "(cached) " >&6
3348 else
3349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3351 do
3352   IFS=$as_save_IFS
3353   test -z "$as_dir" && as_dir=.
3354     for ac_prog in mkdir gmkdir; do
3355          for ac_exec_ext in '' $ac_executable_extensions; do
3356            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3357            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3358              'mkdir (GNU coreutils) '* | \
3359              'mkdir (coreutils) '* | \
3360              'mkdir (fileutils) '4.1*)
3361                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362                break 3;;
3363            esac
3364          done
3365        done
3366   done
3367 IFS=$as_save_IFS
3368
3369 fi
3370
3371   if test "${ac_cv_path_mkdir+set}" = set; then
3372     MKDIR_P="$ac_cv_path_mkdir -p"
3373   else
3374     # As a last resort, use the slow shell script.  Don't cache a
3375     # value for MKDIR_P within a source directory, because that will
3376     # break other packages using the cache if that directory is
3377     # removed, or if the value is a relative name.
3378     test -d ./--version && rmdir ./--version
3379     MKDIR_P="$ac_install_sh -d"
3380   fi
3381 fi
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3383 $as_echo "$MKDIR_P" >&6; }
3384
3385 mkdir_p="$MKDIR_P"
3386 case $mkdir_p in
3387   [\\/$]* | ?:[\\/]*) ;;
3388   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3389 esac
3390
3391 for ac_prog in gawk mawk nawk awk
3392 do
3393   # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_AWK+set}" = set; then :
3398   $as_echo_n "(cached) " >&6
3399 else
3400   if test -n "$AWK"; then
3401   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406   IFS=$as_save_IFS
3407   test -z "$as_dir" && as_dir=.
3408     for ac_exec_ext in '' $ac_executable_extensions; do
3409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410     ac_cv_prog_AWK="$ac_prog"
3411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412     break 2
3413   fi
3414 done
3415   done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 AWK=$ac_cv_prog_AWK
3421 if test -n "$AWK"; then
3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429
3430   test -n "$AWK" && break
3431 done
3432
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 set x ${MAKE-make}
3436 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3438   $as_echo_n "(cached) " >&6
3439 else
3440   cat >conftest.make <<\_ACEOF
3441 SHELL = /bin/sh
3442 all:
3443         @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 _ACEOF
3445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447   *@@@%%%=?*=@@@%%%*)
3448     eval ac_cv_prog_make_${ac_make}_set=yes;;
3449   *)
3450     eval ac_cv_prog_make_${ac_make}_set=no;;
3451 esac
3452 rm -f conftest.make
3453 fi
3454 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3457   SET_MAKE=
3458 else
3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461   SET_MAKE="MAKE=${MAKE-make}"
3462 fi
3463
3464 rm -rf .tst 2>/dev/null
3465 mkdir .tst 2>/dev/null
3466 if test -d .tst; then
3467   am__leading_dot=.
3468 else
3469   am__leading_dot=_
3470 fi
3471 rmdir .tst 2>/dev/null
3472
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475   # is not polluted with repeated "-I."
3476   am__isrc=' -I$(srcdir)'
3477   # test to see if srcdir already configured
3478   if test -f $srcdir/config.status; then
3479     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480   fi
3481 fi
3482
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485   if (cygpath --version) >/dev/null 2>/dev/null; then
3486     CYGPATH_W='cygpath -w'
3487   else
3488     CYGPATH_W=echo
3489   fi
3490 fi
3491
3492
3493 # Define the identity of the package.
3494  PACKAGE='libstdc++'
3495  VERSION='version-unused'
3496
3497
3498 # Some tools Automake needs.
3499
3500 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3501
3502
3503 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3504
3505
3506 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3507
3508
3509 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3510
3511
3512 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3513
3514 # We need awk for the "check" target.  The system "awk" is bad on
3515 # some platforms.
3516 # Always define AMTAR for backward compatibility.
3517
3518 AMTAR=${AMTAR-"${am_missing_run}tar"}
3519
3520 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3521
3522
3523
3524
3525
3526
3527
3528
3529 # -fno-builtin must be present here so that a non-conflicting form of
3530 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3531
3532 save_CXXFLAGS="$CXXFLAGS"
3533 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545   $as_echo_n "(cached) " >&6
3546 else
3547   if test -n "$CC"; then
3548   ac_cv_prog_CC="$CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553   IFS=$as_save_IFS
3554   test -z "$as_dir" && as_dir=.
3555     for ac_exec_ext in '' $ac_executable_extensions; do
3556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559     break 2
3560   fi
3561 done
3562   done
3563 IFS=$as_save_IFS
3564
3565 fi
3566 fi
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3571 else
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 fi
3575
3576
3577 fi
3578 if test -z "$ac_cv_prog_CC"; then
3579   ac_ct_CC=$CC
3580   # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585   $as_echo_n "(cached) " >&6
3586 else
3587   if test -n "$ac_ct_CC"; then
3588   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593   IFS=$as_save_IFS
3594   test -z "$as_dir" && as_dir=.
3595     for ac_exec_ext in '' $ac_executable_extensions; do
3596   if {&nb