OSDN Git Service

c78413286f3fc032831944035695eb998076aea1
[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 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_SOL2_FALSE
627 ENABLE_SYMVERS_SOL2_TRUE
628 ENABLE_SYMVERS_SUN_FALSE
629 ENABLE_SYMVERS_SUN_TRUE
630 ENABLE_SYMVERS_DARWIN_FALSE
631 ENABLE_SYMVERS_DARWIN_TRUE
632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
633 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
634 ENABLE_SYMVERS_GNU_FALSE
635 ENABLE_SYMVERS_GNU_TRUE
636 ENABLE_SYMVERS_FALSE
637 ENABLE_SYMVERS_TRUE
638 port_specific_symbol_files
639 SYMVER_FILE
640 CXXFILT
641 LTLIBICONV
642 LIBICONV
643 OPT_LDFLAGS
644 SECTION_LDFLAGS
645 GLIBCXX_LIBS
646 EXTRA_CXX_FLAGS
647 ENABLE_PARALLEL_FALSE
648 ENABLE_PARALLEL_TRUE
649 GLIBCXX_BUILD_DEBUG_FALSE
650 GLIBCXX_BUILD_DEBUG_TRUE
651 DEBUG_FLAGS
652 GLIBCXX_C_HEADERS_EXTRA_FALSE
653 GLIBCXX_C_HEADERS_EXTRA_TRUE
654 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
655 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
656 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
657 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
658 GLIBCXX_C_HEADERS_C_STD_FALSE
659 GLIBCXX_C_HEADERS_C_STD_TRUE
660 GLIBCXX_C_HEADERS_C_FALSE
661 GLIBCXX_C_HEADERS_C_TRUE
662 C_INCLUDE_DIR
663 ALLOCATOR_NAME
664 ALLOCATOR_H
665 CLOCALE_INTERNAL_H
666 CLOCALE_CC
667 CTIME_CC
668 CTIME_H
669 CNUMERIC_CC
670 CMONEY_CC
671 CMESSAGES_CC
672 CCTYPE_CC
673 CCOLLATE_CC
674 CCODECVT_CC
675 CMESSAGES_H
676 CLOCALE_H
677 USE_NLS
678 glibcxx_localedir
679 glibcxx_POFILES
680 glibcxx_MOFILES
681 check_msgfmt
682 BASIC_FILE_CC
683 BASIC_FILE_H
684 CSTDIO_H
685 SECTION_FLAGS
686 WERROR
687 glibcxx_thread_h
688 glibcxx_PCHFLAGS
689 GLIBCXX_BUILD_PCH_FALSE
690 GLIBCXX_BUILD_PCH_TRUE
691 GLIBCXX_HOSTED_FALSE
692 GLIBCXX_HOSTED_TRUE
693 enable_static
694 enable_shared
695 CXXCPP
696 OTOOL64
697 OTOOL
698 LIPO
699 NMEDIT
700 DSYMUTIL
701 OBJDUMP
702 NM
703 ac_ct_DUMPBIN
704 DUMPBIN
705 LD
706 FGREP
707 SED
708 LIBTOOL
709 EGREP
710 GREP
711 CPP
712 MAINT
713 MAINTAINER_MODE_FALSE
714 MAINTAINER_MODE_TRUE
715 RANLIB
716 AR
717 AS
718 LN_S
719 toplevel_srcdir
720 glibcxx_srcdir
721 glibcxx_builddir
722 ac_ct_CXX
723 CXXFLAGS
724 CXX
725 OBJEXT
726 EXEEXT
727 ac_ct_CC
728 CPPFLAGS
729 LDFLAGS
730 CFLAGS
731 CC
732 am__untar
733 am__tar
734 AMTAR
735 am__leading_dot
736 SET_MAKE
737 AWK
738 mkdir_p
739 MKDIR_P
740 INSTALL_STRIP_PROGRAM
741 STRIP
742 install_sh
743 MAKEINFO
744 AUTOHEADER
745 AUTOMAKE
746 AUTOCONF
747 ACLOCAL
748 VERSION
749 PACKAGE
750 CYGPATH_W
751 am__isrc
752 INSTALL_DATA
753 INSTALL_SCRIPT
754 INSTALL_PROGRAM
755 target_os
756 target_vendor
757 target_cpu
758 target
759 host_os
760 host_vendor
761 host_cpu
762 host
763 build_os
764 build_vendor
765 build_cpu
766 build
767 multi_basedir
768 libtool_VERSION
769 target_alias
770 host_alias
771 build_alias
772 LIBS
773 ECHO_T
774 ECHO_N
775 ECHO_C
776 DEFS
777 mandir
778 localedir
779 libdir
780 psdir
781 pdfdir
782 dvidir
783 htmldir
784 infodir
785 docdir
786 oldincludedir
787 includedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_multilib
811 with_target_subdir
812 with_cross_host
813 with_newlib
814 enable_maintainer_mode
815 enable_shared
816 enable_static
817 with_pic
818 enable_fast_install
819 with_gnu_ld
820 enable_libtool_lock
821 enable_hosted_libstdcxx
822 enable_sjlj_exceptions
823 enable_libstdcxx_pch
824 enable_cstdio
825 enable_clocale
826 enable_nls
827 enable_libstdcxx_allocator
828 enable_cheaders
829 enable_long_long
830 enable_wchar_t
831 enable_c99
832 enable_concept_checks
833 enable_libstdcxx_debug_flags
834 enable_libstdcxx_debug
835 enable_cxx_flags
836 enable_fully_dynamic_string
837 enable_libstdcxx_time
838 enable_tls
839 enable_rpath
840 with_libiconv_prefix
841 with_system_libunwind
842 enable_linux_futex
843 enable_symvers
844 enable_visibility
845 with_gxx_include_dir
846 enable_version_specific_runtime_libs
847 '
848       ac_precious_vars='build_alias
849 host_alias
850 target_alias
851 CC
852 CFLAGS
853 LDFLAGS
854 LIBS
855 CPPFLAGS
856 CXX
857 CXXFLAGS
858 CCC
859 CPP
860 CXXCPP
861 CXXFILT'
862
863
864 # Initialize some variables set by options.
865 ac_init_help=
866 ac_init_version=false
867 ac_unrecognized_opts=
868 ac_unrecognized_sep=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
871 cache_file=/dev/null
872 exec_prefix=NONE
873 no_create=
874 no_recursion=
875 prefix=NONE
876 program_prefix=NONE
877 program_suffix=NONE
878 program_transform_name=s,x,x,
879 silent=
880 site=
881 srcdir=
882 verbose=
883 x_includes=NONE
884 x_libraries=NONE
885
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir='${exec_prefix}/bin'
893 sbindir='${exec_prefix}/sbin'
894 libexecdir='${exec_prefix}/libexec'
895 datarootdir='${prefix}/share'
896 datadir='${datarootdir}'
897 sysconfdir='${prefix}/etc'
898 sharedstatedir='${prefix}/com'
899 localstatedir='${prefix}/var'
900 includedir='${prefix}/include'
901 oldincludedir='/usr/include'
902 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir='${datarootdir}/info'
904 htmldir='${docdir}'
905 dvidir='${docdir}'
906 pdfdir='${docdir}'
907 psdir='${docdir}'
908 libdir='${exec_prefix}/lib'
909 localedir='${datarootdir}/locale'
910 mandir='${datarootdir}/man'
911
912 ac_prev=
913 ac_dashdash=
914 for ac_option
915 do
916   # If the previous option needs an argument, assign it.
917   if test -n "$ac_prev"; then
918     eval $ac_prev=\$ac_option
919     ac_prev=
920     continue
921   fi
922
923   case $ac_option in
924   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925   *)    ac_optarg=yes ;;
926   esac
927
928   # Accept the important Cygnus configure options, so we can diagnose typos.
929
930   case $ac_dashdash$ac_option in
931   --)
932     ac_dashdash=yes ;;
933
934   -bindir | --bindir | --bindi | --bind | --bin | --bi)
935     ac_prev=bindir ;;
936   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937     bindir=$ac_optarg ;;
938
939   -build | --build | --buil | --bui | --bu)
940     ac_prev=build_alias ;;
941   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942     build_alias=$ac_optarg ;;
943
944   -cache-file | --cache-file | --cache-fil | --cache-fi \
945   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946     ac_prev=cache_file ;;
947   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949     cache_file=$ac_optarg ;;
950
951   --config-cache | -C)
952     cache_file=config.cache ;;
953
954   -datadir | --datadir | --datadi | --datad)
955     ac_prev=datadir ;;
956   -datadir=* | --datadir=* | --datadi=* | --datad=*)
957     datadir=$ac_optarg ;;
958
959   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960   | --dataroo | --dataro | --datar)
961     ac_prev=datarootdir ;;
962   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964     datarootdir=$ac_optarg ;;
965
966   -disable-* | --disable-*)
967     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968     # Reject names that are not valid shell variable names.
969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970       as_fn_error "invalid feature name: $ac_useropt"
971     ac_useropt_orig=$ac_useropt
972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973     case $ac_user_opts in
974       *"
975 "enable_$ac_useropt"
976 "*) ;;
977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978          ac_unrecognized_sep=', ';;
979     esac
980     eval enable_$ac_useropt=no ;;
981
982   -docdir | --docdir | --docdi | --doc | --do)
983     ac_prev=docdir ;;
984   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985     docdir=$ac_optarg ;;
986
987   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988     ac_prev=dvidir ;;
989   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990     dvidir=$ac_optarg ;;
991
992   -enable-* | --enable-*)
993     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994     # Reject names that are not valid shell variable names.
995     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996       as_fn_error "invalid feature name: $ac_useropt"
997     ac_useropt_orig=$ac_useropt
998     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999     case $ac_user_opts in
1000       *"
1001 "enable_$ac_useropt"
1002 "*) ;;
1003       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004          ac_unrecognized_sep=', ';;
1005     esac
1006     eval enable_$ac_useropt=\$ac_optarg ;;
1007
1008   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010   | --exec | --exe | --ex)
1011     ac_prev=exec_prefix ;;
1012   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014   | --exec=* | --exe=* | --ex=*)
1015     exec_prefix=$ac_optarg ;;
1016
1017   -gas | --gas | --ga | --g)
1018     # Obsolete; use --with-gas.
1019     with_gas=yes ;;
1020
1021   -help | --help | --hel | --he | -h)
1022     ac_init_help=long ;;
1023   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024     ac_init_help=recursive ;;
1025   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026     ac_init_help=short ;;
1027
1028   -host | --host | --hos | --ho)
1029     ac_prev=host_alias ;;
1030   -host=* | --host=* | --hos=* | --ho=*)
1031     host_alias=$ac_optarg ;;
1032
1033   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034     ac_prev=htmldir ;;
1035   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036   | --ht=*)
1037     htmldir=$ac_optarg ;;
1038
1039   -includedir | --includedir | --includedi | --included | --include \
1040   | --includ | --inclu | --incl | --inc)
1041     ac_prev=includedir ;;
1042   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043   | --includ=* | --inclu=* | --incl=* | --inc=*)
1044     includedir=$ac_optarg ;;
1045
1046   -infodir | --infodir | --infodi | --infod | --info | --inf)
1047     ac_prev=infodir ;;
1048   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049     infodir=$ac_optarg ;;
1050
1051   -libdir | --libdir | --libdi | --libd)
1052     ac_prev=libdir ;;
1053   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054     libdir=$ac_optarg ;;
1055
1056   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057   | --libexe | --libex | --libe)
1058     ac_prev=libexecdir ;;
1059   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060   | --libexe=* | --libex=* | --libe=*)
1061     libexecdir=$ac_optarg ;;
1062
1063   -localedir | --localedir | --localedi | --localed | --locale)
1064     ac_prev=localedir ;;
1065   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066     localedir=$ac_optarg ;;
1067
1068   -localstatedir | --localstatedir | --localstatedi | --localstated \
1069   | --localstate | --localstat | --localsta | --localst | --locals)
1070     ac_prev=localstatedir ;;
1071   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073     localstatedir=$ac_optarg ;;
1074
1075   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076     ac_prev=mandir ;;
1077   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078     mandir=$ac_optarg ;;
1079
1080   -nfp | --nfp | --nf)
1081     # Obsolete; use --without-fp.
1082     with_fp=no ;;
1083
1084   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085   | --no-cr | --no-c | -n)
1086     no_create=yes ;;
1087
1088   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090     no_recursion=yes ;;
1091
1092   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094   | --oldin | --oldi | --old | --ol | --o)
1095     ac_prev=oldincludedir ;;
1096   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099     oldincludedir=$ac_optarg ;;
1100
1101   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102     ac_prev=prefix ;;
1103   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104     prefix=$ac_optarg ;;
1105
1106   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107   | --program-pre | --program-pr | --program-p)
1108     ac_prev=program_prefix ;;
1109   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111     program_prefix=$ac_optarg ;;
1112
1113   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114   | --program-suf | --program-su | --program-s)
1115     ac_prev=program_suffix ;;
1116   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118     program_suffix=$ac_optarg ;;
1119
1120   -program-transform-name | --program-transform-name \
1121   | --program-transform-nam | --program-transform-na \
1122   | --program-transform-n | --program-transform- \
1123   | --program-transform | --program-transfor \
1124   | --program-transfo | --program-transf \
1125   | --program-trans | --program-tran \
1126   | --progr-tra | --program-tr | --program-t)
1127     ac_prev=program_transform_name ;;
1128   -program-transform-name=* | --program-transform-name=* \
1129   | --program-transform-nam=* | --program-transform-na=* \
1130   | --program-transform-n=* | --program-transform-=* \
1131   | --program-transform=* | --program-transfor=* \
1132   | --program-transfo=* | --program-transf=* \
1133   | --program-trans=* | --program-tran=* \
1134   | --progr-tra=* | --program-tr=* | --program-t=*)
1135     program_transform_name=$ac_optarg ;;
1136
1137   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138     ac_prev=pdfdir ;;
1139   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140     pdfdir=$ac_optarg ;;
1141
1142   -psdir | --psdir | --psdi | --psd | --ps)
1143     ac_prev=psdir ;;
1144   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145     psdir=$ac_optarg ;;
1146
1147   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148   | -silent | --silent | --silen | --sile | --sil)
1149     silent=yes ;;
1150
1151   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152     ac_prev=sbindir ;;
1153   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154   | --sbi=* | --sb=*)
1155     sbindir=$ac_optarg ;;
1156
1157   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159   | --sharedst | --shareds | --shared | --share | --shar \
1160   | --sha | --sh)
1161     ac_prev=sharedstatedir ;;
1162   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165   | --sha=* | --sh=*)
1166     sharedstatedir=$ac_optarg ;;
1167
1168   -site | --site | --sit)
1169     ac_prev=site ;;
1170   -site=* | --site=* | --sit=*)
1171     site=$ac_optarg ;;
1172
1173   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174     ac_prev=srcdir ;;
1175   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176     srcdir=$ac_optarg ;;
1177
1178   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179   | --syscon | --sysco | --sysc | --sys | --sy)
1180     ac_prev=sysconfdir ;;
1181   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183     sysconfdir=$ac_optarg ;;
1184
1185   -target | --target | --targe | --targ | --tar | --ta | --t)
1186     ac_prev=target_alias ;;
1187   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188     target_alias=$ac_optarg ;;
1189
1190   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191     verbose=yes ;;
1192
1193   -version | --version | --versio | --versi | --vers | -V)
1194     ac_init_version=: ;;
1195
1196   -with-* | --with-*)
1197     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198     # Reject names that are not valid shell variable names.
1199     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200       as_fn_error "invalid package name: $ac_useropt"
1201     ac_useropt_orig=$ac_useropt
1202     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203     case $ac_user_opts in
1204       *"
1205 "with_$ac_useropt"
1206 "*) ;;
1207       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208          ac_unrecognized_sep=', ';;
1209     esac
1210     eval with_$ac_useropt=\$ac_optarg ;;
1211
1212   -without-* | --without-*)
1213     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214     # Reject names that are not valid shell variable names.
1215     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216       as_fn_error "invalid package name: $ac_useropt"
1217     ac_useropt_orig=$ac_useropt
1218     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219     case $ac_user_opts in
1220       *"
1221 "with_$ac_useropt"
1222 "*) ;;
1223       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224          ac_unrecognized_sep=', ';;
1225     esac
1226     eval with_$ac_useropt=no ;;
1227
1228   --x)
1229     # Obsolete; use --with-x.
1230     with_x=yes ;;
1231
1232   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233   | --x-incl | --x-inc | --x-in | --x-i)
1234     ac_prev=x_includes ;;
1235   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237     x_includes=$ac_optarg ;;
1238
1239   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241     ac_prev=x_libraries ;;
1242   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244     x_libraries=$ac_optarg ;;
1245
1246   -*) as_fn_error "unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information."
1248     ;;
1249
1250   *=*)
1251     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252     # Reject names that are not valid shell variable names.
1253     case $ac_envvar in #(
1254       '' | [0-9]* | *[!_$as_cr_alnum]* )
1255       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1256     esac
1257     eval $ac_envvar=\$ac_optarg
1258     export $ac_envvar ;;
1259
1260   *)
1261     # FIXME: should be removed in autoconf 3.0.
1262     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1266     ;;
1267
1268   esac
1269 done
1270
1271 if test -n "$ac_prev"; then
1272   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273   as_fn_error "missing argument to $ac_option"
1274 fi
1275
1276 if test -n "$ac_unrecognized_opts"; then
1277   case $enable_option_checking in
1278     no) ;;
1279     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1280     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281   esac
1282 fi
1283
1284 # Check all directory arguments for consistency.
1285 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286                 datadir sysconfdir sharedstatedir localstatedir includedir \
1287                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288                 libdir localedir mandir
1289 do
1290   eval ac_val=\$$ac_var
1291   # Remove trailing slashes.
1292   case $ac_val in
1293     */ )
1294       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295       eval $ac_var=\$ac_val;;
1296   esac
1297   # Be sure to have absolute directory names.
1298   case $ac_val in
1299     [\\/$]* | ?:[\\/]* )  continue;;
1300     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301   esac
1302   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1303 done
1304
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1308 build=$build_alias
1309 host=$host_alias
1310 target=$target_alias
1311
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x; then
1314   if test "x$build_alias" = x; then
1315     cross_compiling=maybe
1316     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1317     If a cross compiler is detected then cross compile mode will be used." >&2
1318   elif test "x$build_alias" != "x$host_alias"; then
1319     cross_compiling=yes
1320   fi
1321 fi
1322
1323 ac_tool_prefix=
1324 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326 test "$silent" = yes && exec 6>/dev/null
1327
1328
1329 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di=`ls -di .` &&
1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332   as_fn_error "working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334   as_fn_error "pwd does not report name of working directory"
1335
1336
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339   ac_srcdir_defaulted=yes
1340   # Try the directory containing this script, then the parent directory.
1341   ac_confdir=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343          X"$as_myself" : 'X\(//\)[^/]' \| \
1344          X"$as_myself" : 'X\(//\)$' \| \
1345          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348             s//\1/
1349             q
1350           }
1351           /^X\(\/\/\)[^/].*/{
1352             s//\1/
1353             q
1354           }
1355           /^X\(\/\/\)$/{
1356             s//\1/
1357             q
1358           }
1359           /^X\(\/\).*/{
1360             s//\1/
1361             q
1362           }
1363           s/.*/./; q'`
1364   srcdir=$ac_confdir
1365   if test ! -r "$srcdir/$ac_unique_file"; then
1366     srcdir=..
1367   fi
1368 else
1369   ac_srcdir_defaulted=no
1370 fi
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1374 fi
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 ac_abs_confdir=`(
1377         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1378         pwd)`
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381   srcdir=.
1382 fi
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1386 case $srcdir in
1387 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 esac
1389 for ac_var in $ac_precious_vars; do
1390   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391   eval ac_env_${ac_var}_value=\$${ac_var}
1392   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394 done
1395
1396 #
1397 # Report the --help message.
1398 #
1399 if test "$ac_init_help" = "long"; then
1400   # Omit some internal or obsolete options to make the list less imposing.
1401   # This message is too long to be a string in the A/UX 3.1 sh.
1402   cat <<_ACEOF
1403 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1404
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE.  See below for descriptions of some of the useful variables.
1409
1410 Defaults for the options are specified in brackets.
1411
1412 Configuration:
1413   -h, --help              display this help and exit
1414       --help=short        display options specific to this package
1415       --help=recursive    display the short help of all the included packages
1416   -V, --version           display version information and exit
1417   -q, --quiet, --silent   do not print \`checking...' messages
1418       --cache-file=FILE   cache test results in FILE [disabled]
1419   -C, --config-cache      alias for \`--cache-file=config.cache'
1420   -n, --no-create         do not create output files
1421       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1422
1423 Installation directories:
1424   --prefix=PREFIX         install architecture-independent files in PREFIX
1425                           [$ac_default_prefix]
1426   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1427                           [PREFIX]
1428
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1433
1434 For better control, use the options below.
1435
1436 Fine tuning of the installation directories:
1437   --bindir=DIR            user executables [EPREFIX/bin]
1438   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1439   --libexecdir=DIR        program executables [EPREFIX/libexec]
1440   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1441   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1442   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1443   --libdir=DIR            object code libraries [EPREFIX/lib]
1444   --includedir=DIR        C header files [PREFIX/include]
1445   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1446   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1447   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1448   --infodir=DIR           info documentation [DATAROOTDIR/info]
1449   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1450   --mandir=DIR            man documentation [DATAROOTDIR/man]
1451   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1452   --htmldir=DIR           html documentation [DOCDIR]
1453   --dvidir=DIR            dvi documentation [DOCDIR]
1454   --pdfdir=DIR            pdf documentation [DOCDIR]
1455   --psdir=DIR             ps documentation [DOCDIR]
1456 _ACEOF
1457
1458   cat <<\_ACEOF
1459
1460 Program names:
1461   --program-prefix=PREFIX            prepend PREFIX to installed program names
1462   --program-suffix=SUFFIX            append SUFFIX to installed program names
1463   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1464
1465 System types:
1466   --build=BUILD     configure for building on BUILD [guessed]
1467   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1468   --target=TARGET   configure for building compilers for TARGET [HOST]
1469 _ACEOF
1470 fi
1471
1472 if test -n "$ac_init_help"; then
1473   case $ac_init_help in
1474      short | recursive ) echo "Configuration of package-unused version-unused:";;
1475    esac
1476   cat <<\_ACEOF
1477
1478 Optional Features:
1479   --disable-option-checking  ignore unrecognized --enable/--with options
1480   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1481   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1482   --enable-multilib       build many library versions (default)
1483   --enable-maintainer-mode  enable make rules and dependencies not useful
1484                           (and sometimes confusing) to the casual installer
1485   --enable-shared[=PKGS]  build shared libraries [default=yes]
1486   --enable-static[=PKGS]  build static libraries [default=yes]
1487   --enable-fast-install[=PKGS]
1488                           optimize for fast installation [default=yes]
1489   --disable-libtool-lock  avoid locking (might break parallel builds)
1490   --disable-hosted-libstdcxx
1491                           only build freestanding C++ runtime support
1492   --enable-sjlj-exceptions
1493                           force use of builtin_setjmp for exceptions
1494                           [default=auto]
1495   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1496                           [default=$is_hosted]
1497   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1498   --enable-clocale[=MODEL]
1499                           use MODEL for target locale package [default=auto]
1500   --enable-nls            use Native Language Support (default)
1501   --enable-libstdcxx-allocator=KIND
1502                           use KIND for target std::allocator base
1503                           [default=auto]
1504   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1505   --enable-long-long      enable template specializations for 'long long'
1506                           [default=yes]
1507   --enable-wchar_t        enable template specializations for 'wchar_t'
1508                           [default=yes]
1509   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1510   --enable-concept-checks use Boost-derived template checks [default=no]
1511   --enable-libstdcxx-debug-flags=FLAGS
1512                           pass compiler FLAGS when building debug library
1513                           [default="-g3 -O0"]
1514   --enable-libstdcxx-debug
1515                           build extra debug library [default=no]
1516   --enable-cxx-flags=FLAGS
1517                           pass compiler FLAGS when building library [default=]
1518   --enable-fully-dynamic-string
1519                           do not put empty strings in per-process static
1520                           memory [default=no]
1521   --enable-libstdcxx-time=KIND
1522                           use KIND for check type [default=no]
1523   --enable-tls            Use thread-local storage [default=yes]
1524   --disable-rpath         do not hardcode runtime library paths
1525   --enable-linux-futex    use the Linux futex system call [default=default]
1526   --enable-symvers=STYLE  enables symbol versioning of the shared library
1527                           [default=yes]
1528   --enable-visibility     enables visibility safe usage [default=yes]
1529   --enable-version-specific-runtime-libs
1530                           Specify that runtime libraries should be installed
1531                           in a compiler-specific directory
1532
1533 Optional Packages:
1534   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1535   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1536   --with-target-subdir=SUBDIR
1537                           configuring in a subdirectory
1538   --with-cross-host=HOST  configuring with a cross compiler
1539   --with-newlib           assume newlib as a system C library
1540   --with-pic              try to use only PIC/non-PIC objects [default=use
1541                           both]
1542   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1543   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1544   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1545   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1546   --with-system-libunwind use installed libunwind
1547   --with-gxx-include-dir=DIR
1548                           installation directory for include files
1549
1550 Some influential environment variables:
1551   CC          C compiler command
1552   CFLAGS      C compiler flags
1553   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1554               nonstandard directory <lib dir>
1555   LIBS        libraries to pass to the linker, e.g. -l<library>
1556   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1557               you have headers in a nonstandard directory <include dir>
1558   CXX         C++ compiler command
1559   CXXFLAGS    C++ compiler flags
1560   CPP         C preprocessor
1561   CXXCPP      C++ preprocessor
1562   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1563               `c++filt', `gc++filt' on PATH.
1564
1565 Use these variables to override the choices made by `configure' or to help
1566 it to find libraries and programs with nonstandard names/locations.
1567
1568 Report bugs to the package provider.
1569 _ACEOF
1570 ac_status=$?
1571 fi
1572
1573 if test "$ac_init_help" = "recursive"; then
1574   # If there are subdirs, report their specific --help.
1575   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1576     test -d "$ac_dir" ||
1577       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578       continue
1579     ac_builddir=.
1580
1581 case "$ac_dir" in
1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1583 *)
1584   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1585   # A ".." for each directory in $ac_dir_suffix.
1586   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1587   case $ac_top_builddir_sub in
1588   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1590   esac ;;
1591 esac
1592 ac_abs_top_builddir=$ac_pwd
1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594 # for backward compatibility:
1595 ac_top_builddir=$ac_top_build_prefix
1596
1597 case $srcdir in
1598   .)  # We are building in place.
1599     ac_srcdir=.
1600     ac_top_srcdir=$ac_top_builddir_sub
1601     ac_abs_top_srcdir=$ac_pwd ;;
1602   [\\/]* | ?:[\\/]* )  # Absolute name.
1603     ac_srcdir=$srcdir$ac_dir_suffix;
1604     ac_top_srcdir=$srcdir
1605     ac_abs_top_srcdir=$srcdir ;;
1606   *) # Relative name.
1607     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608     ac_top_srcdir=$ac_top_build_prefix$srcdir
1609     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1610 esac
1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1612
1613     cd "$ac_dir" || { ac_status=$?; continue; }
1614     # Check for guested configure.
1615     if test -f "$ac_srcdir/configure.gnu"; then
1616       echo &&
1617       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618     elif test -f "$ac_srcdir/configure"; then
1619       echo &&
1620       $SHELL "$ac_srcdir/configure" --help=recursive
1621     else
1622       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1623     fi || ac_status=$?
1624     cd "$ac_pwd" || { ac_status=$?; break; }
1625   done
1626 fi
1627
1628 test -n "$ac_init_help" && exit $ac_status
1629 if $ac_init_version; then
1630   cat <<\_ACEOF
1631 package-unused configure version-unused
1632 generated by GNU Autoconf 2.64
1633
1634 Copyright (C) 2009 Free Software Foundation, Inc.
1635 This configure script is free software; the Free Software Foundation
1636 gives unlimited permission to copy, distribute and modify it.
1637 _ACEOF
1638   exit
1639 fi
1640
1641 ## ------------------------ ##
1642 ## Autoconf initialization. ##
1643 ## ------------------------ ##
1644
1645 # ac_fn_c_try_compile LINENO
1646 # --------------------------
1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1648 ac_fn_c_try_compile ()
1649 {
1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651   rm -f conftest.$ac_objext
1652   if { { ac_try="$ac_compile"
1653 case "(($ac_try" in
1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655   *) ac_try_echo=$ac_try;;
1656 esac
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659   (eval "$ac_compile") 2>conftest.err
1660   ac_status=$?
1661   if test -s conftest.err; then
1662     grep -v '^ *+' conftest.err >conftest.er1
1663     cat conftest.er1 >&5
1664     mv -f conftest.er1 conftest.err
1665   fi
1666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667   test $ac_status = 0; } && {
1668          test -z "$ac_c_werror_flag" ||
1669          test ! -s conftest.err
1670        } && test -s conftest.$ac_objext; then :
1671   ac_retval=0
1672 else
1673   $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1675
1676         ac_retval=1
1677 fi
1678   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1679   return $ac_retval
1680
1681 } # ac_fn_c_try_compile
1682
1683 # ac_fn_cxx_try_compile LINENO
1684 # ----------------------------
1685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1686 ac_fn_cxx_try_compile ()
1687 {
1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689   rm -f conftest.$ac_objext
1690   if { { ac_try="$ac_compile"
1691 case "(($ac_try" in
1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693   *) ac_try_echo=$ac_try;;
1694 esac
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697   (eval "$ac_compile") 2>conftest.err
1698   ac_status=$?
1699   if test -s conftest.err; then
1700     grep -v '^ *+' conftest.err >conftest.er1
1701     cat conftest.er1 >&5
1702     mv -f conftest.er1 conftest.err
1703   fi
1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705   test $ac_status = 0; } && {
1706          test -z "$ac_cxx_werror_flag" ||
1707          test ! -s conftest.err
1708        } && test -s conftest.$ac_objext; then :
1709   ac_retval=0
1710 else
1711   $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1713
1714         ac_retval=1
1715 fi
1716   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717   return $ac_retval
1718
1719 } # ac_fn_cxx_try_compile
1720
1721 # ac_fn_c_try_cpp LINENO
1722 # ----------------------
1723 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 ac_fn_c_try_cpp ()
1725 {
1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727   if { { ac_try="$ac_cpp conftest.$ac_ext"
1728 case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1735   ac_status=$?
1736   if test -s conftest.err; then
1737     grep -v '^ *+' conftest.err >conftest.er1
1738     cat conftest.er1 >&5
1739     mv -f conftest.er1 conftest.err
1740   fi
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; } >/dev/null && {
1743          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744          test ! -s conftest.err
1745        }; then :
1746   ac_retval=0
1747 else
1748   $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751     ac_retval=1
1752 fi
1753   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754   return $ac_retval
1755
1756 } # ac_fn_c_try_cpp
1757
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_link ()
1762 {
1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764   rm -f conftest.$ac_objext conftest$ac_exeext
1765   if { { ac_try="$ac_link"
1766 case "(($ac_try" in
1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768   *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772   (eval "$ac_link") 2>conftest.err
1773   ac_status=$?
1774   if test -s conftest.err; then
1775     grep -v '^ *+' conftest.err >conftest.er1
1776     cat conftest.er1 >&5
1777     mv -f conftest.er1 conftest.err
1778   fi
1779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780   test $ac_status = 0; } && {
1781          test -z "$ac_c_werror_flag" ||
1782          test ! -s conftest.err
1783        } && test -s conftest$ac_exeext && {
1784          test "$cross_compiling" = yes ||
1785          $as_test_x conftest$ac_exeext
1786        }; then :
1787   ac_retval=0
1788 else
1789   $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792         ac_retval=1
1793 fi
1794   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796   # interfere with the next link command; also delete a directory that is
1797   # left behind by Apple's compiler.  We do this before executing the actions.
1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800   return $ac_retval
1801
1802 } # ac_fn_c_try_link
1803
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1809 {
1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814   $as_echo_n "(cached) " >&6
1815 else
1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h.  */
1818 $4
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822   eval "$3=yes"
1823 else
1824   eval "$3=no"
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 fi
1828 eval ac_res=\$$3
1829                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832
1833 } # ac_fn_c_check_header_compile
1834
1835 # ac_fn_c_try_run LINENO
1836 # ----------------------
1837 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1838 # that executables *can* be run.
1839 ac_fn_c_try_run ()
1840 {
1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842   if { { ac_try="$ac_link"
1843 case "(($ac_try" in
1844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1845   *) ac_try_echo=$ac_try;;
1846 esac
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849   (eval "$ac_link") 2>&5
1850   ac_status=$?
1851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1853   { { case "(($ac_try" in
1854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855   *) ac_try_echo=$ac_try;;
1856 esac
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859   (eval "$ac_try") 2>&5
1860   ac_status=$?
1861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862   test $ac_status = 0; }; }; then :
1863   ac_retval=0
1864 else
1865   $as_echo "$as_me: program exited with status $ac_status" >&5
1866        $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1868
1869        ac_retval=$ac_status
1870 fi
1871   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873   return $ac_retval
1874
1875 } # ac_fn_c_try_run
1876
1877 # ac_fn_c_check_func LINENO FUNC VAR
1878 # ----------------------------------
1879 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1880 ac_fn_c_check_func ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886   $as_echo_n "(cached) " >&6
1887 else
1888   if test x$gcc_no_link = xyes; then
1889   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1890 fi
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h.  */
1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1895 #define $2 innocuous_$2
1896
1897 /* System header to define __stub macros and hopefully few prototypes,
1898     which can conflict with char $2 (); below.
1899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1900     <limits.h> exists even on freestanding compilers.  */
1901
1902 #ifdef __STDC__
1903 # include <limits.h>
1904 #else
1905 # include <assert.h>
1906 #endif
1907
1908 #undef $2
1909
1910 /* Override any GCC internal prototype to avoid an error.
1911    Use char because int might match the return type of a GCC
1912    builtin and then its argument prototype would still apply.  */
1913 #ifdef __cplusplus
1914 extern "C"
1915 #endif
1916 char $2 ();
1917 /* The GNU C library defines this for functions which it implements
1918     to always fail with ENOSYS.  Some functions are actually named
1919     something starting with __ and the normal name is an alias.  */
1920 #if defined __stub_$2 || defined __stub___$2
1921 choke me
1922 #endif
1923
1924 int
1925 main ()
1926 {
1927 return $2 ();
1928   ;
1929   return 0;
1930 }
1931 _ACEOF
1932 if ac_fn_c_try_link "$LINENO"; then :
1933   eval "$3=yes"
1934 else
1935   eval "$3=no"
1936 fi
1937 rm -f core conftest.err conftest.$ac_objext \
1938     conftest$ac_exeext conftest.$ac_ext
1939 fi
1940 eval ac_res=\$$3
1941                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944
1945 } # ac_fn_c_check_func
1946
1947 # ac_fn_cxx_try_cpp LINENO
1948 # ------------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 ac_fn_cxx_try_cpp ()
1951 {
1952   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953   if { { ac_try="$ac_cpp conftest.$ac_ext"
1954 case "(($ac_try" in
1955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956   *) ac_try_echo=$ac_try;;
1957 esac
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1961   ac_status=$?
1962   if test -s conftest.err; then
1963     grep -v '^ *+' conftest.err >conftest.er1
1964     cat conftest.er1 >&5
1965     mv -f conftest.er1 conftest.err
1966   fi
1967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968   test $ac_status = 0; } >/dev/null && {
1969          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1970          test ! -s conftest.err
1971        }; then :
1972   ac_retval=0
1973 else
1974   $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1976
1977     ac_retval=1
1978 fi
1979   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980   return $ac_retval
1981
1982 } # ac_fn_cxx_try_cpp
1983
1984 # ac_fn_cxx_try_link LINENO
1985 # -------------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_link ()
1988 {
1989   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990   rm -f conftest.$ac_objext conftest$ac_exeext
1991   if { { ac_try="$ac_link"
1992 case "(($ac_try" in
1993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994   *) ac_try_echo=$ac_try;;
1995 esac
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998   (eval "$ac_link") 2>conftest.err
1999   ac_status=$?
2000   if test -s conftest.err; then
2001     grep -v '^ *+' conftest.err >conftest.er1
2002     cat conftest.er1 >&5
2003     mv -f conftest.er1 conftest.err
2004   fi
2005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006   test $ac_status = 0; } && {
2007          test -z "$ac_cxx_werror_flag" ||
2008          test ! -s conftest.err
2009        } && test -s conftest$ac_exeext && {
2010          test "$cross_compiling" = yes ||
2011          $as_test_x conftest$ac_exeext
2012        }; then :
2013   ac_retval=0
2014 else
2015   $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2017
2018         ac_retval=1
2019 fi
2020   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2021   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2022   # interfere with the next link command; also delete a directory that is
2023   # left behind by Apple's compiler.  We do this before executing the actions.
2024   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026   return $ac_retval
2027
2028 } # ac_fn_cxx_try_link
2029
2030 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2031 # -------------------------------------------------------
2032 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2033 # the include files in INCLUDES and setting the cache variable VAR
2034 # accordingly.
2035 ac_fn_c_check_header_mongrel ()
2036 {
2037   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2042   $as_echo_n "(cached) " >&6
2043 fi
2044 eval ac_res=\$$3
2045                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2047 else
2048   # Is the header compilable?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2050 $as_echo_n "checking $2 usability... " >&6; }
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h.  */
2053 $4
2054 #include <$2>
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057   ac_header_compiler=yes
2058 else
2059   ac_header_compiler=no
2060 fi
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2063 $as_echo "$ac_header_compiler" >&6; }
2064
2065 # Is the header present?
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2067 $as_echo_n "checking $2 presence... " >&6; }
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h.  */
2070 #include <$2>
2071 _ACEOF
2072 if ac_fn_c_try_cpp "$LINENO"; then :
2073   ac_header_preproc=yes
2074 else
2075   ac_header_preproc=no
2076 fi
2077 rm -f conftest.err conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2079 $as_echo "$ac_header_preproc" >&6; }
2080
2081 # So?  What about this header?
2082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2083   yes:no: )
2084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2085 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088     ;;
2089   no:yes:* )
2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2091 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2092     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2093 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2094     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2095 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2096     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2097 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2098     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2100     ;;
2101 esac
2102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105   $as_echo_n "(cached) " >&6
2106 else
2107   eval "$3=\$ac_header_compiler"
2108 fi
2109 eval ac_res=\$$3
2110                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 fi
2113   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114
2115 } # ac_fn_c_check_header_mongrel
2116
2117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2118 # ---------------------------------------------------------
2119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2120 # the include files in INCLUDES and setting the cache variable VAR
2121 # accordingly.
2122 ac_fn_cxx_check_header_mongrel ()
2123 {
2124   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2127 $as_echo_n "checking for $2... " >&6; }
2128 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2129   $as_echo_n "(cached) " >&6
2130 fi
2131 eval ac_res=\$$3
2132                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2134 else
2135   # Is the header compilable?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2137 $as_echo_n "checking $2 usability... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h.  */
2140 $4
2141 #include <$2>
2142 _ACEOF
2143 if ac_fn_cxx_try_compile "$LINENO"; then :
2144   ac_header_compiler=yes
2145 else
2146   ac_header_compiler=no
2147 fi
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2150 $as_echo "$ac_header_compiler" >&6; }
2151
2152 # Is the header present?
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2154 $as_echo_n "checking $2 presence... " >&6; }
2155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h.  */
2157 #include <$2>
2158 _ACEOF
2159 if ac_fn_cxx_try_cpp "$LINENO"; then :
2160   ac_header_preproc=yes
2161 else
2162   ac_header_preproc=no
2163 fi
2164 rm -f conftest.err conftest.$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2166 $as_echo "$ac_header_preproc" >&6; }
2167
2168 # So?  What about this header?
2169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2170   yes:no: )
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2175     ;;
2176   no:yes:* )
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2180 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2184 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2185     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2187     ;;
2188 esac
2189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190 $as_echo_n "checking for $2... " >&6; }
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192   $as_echo_n "(cached) " >&6
2193 else
2194   eval "$3=\$ac_header_compiler"
2195 fi
2196 eval ac_res=\$$3
2197                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198 $as_echo "$ac_res" >&6; }
2199 fi
2200   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2201
2202 } # ac_fn_cxx_check_header_mongrel
2203
2204 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2205 # --------------------------------------------
2206 # Tries to find the compile-time value of EXPR in a program that includes
2207 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2208 # computed
2209 ac_fn_c_compute_int ()
2210 {
2211   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212   if test "$cross_compiling" = yes; then
2213     # Depending upon the size, compute the lo and hi bounds.
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h.  */
2216 $4
2217 int
2218 main ()
2219 {
2220 static int test_array [1 - 2 * !(($2) >= 0)];
2221 test_array [0] = 0
2222
2223   ;
2224   return 0;
2225 }
2226 _ACEOF
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228   ac_lo=0 ac_mid=0
2229   while :; do
2230     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h.  */
2232 $4
2233 int
2234 main ()
2235 {
2236 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2237 test_array [0] = 0
2238
2239   ;
2240   return 0;
2241 }
2242 _ACEOF
2243 if ac_fn_c_try_compile "$LINENO"; then :
2244   ac_hi=$ac_mid; break
2245 else
2246   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2247                         if test $ac_lo -le $ac_mid; then
2248                           ac_lo= ac_hi=
2249                           break
2250                         fi
2251                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2252 fi
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254   done
2255 else
2256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h.  */
2258 $4
2259 int
2260 main ()
2261 {
2262 static int test_array [1 - 2 * !(($2) < 0)];
2263 test_array [0] = 0
2264
2265   ;
2266   return 0;
2267 }
2268 _ACEOF
2269 if ac_fn_c_try_compile "$LINENO"; then :
2270   ac_hi=-1 ac_mid=-1
2271   while :; do
2272     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h.  */
2274 $4
2275 int
2276 main ()
2277 {
2278 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2279 test_array [0] = 0
2280
2281   ;
2282   return 0;
2283 }
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286   ac_lo=$ac_mid; break
2287 else
2288   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2289                         if test $ac_mid -le $ac_hi; then
2290                           ac_lo= ac_hi=
2291                           break
2292                         fi
2293                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2294 fi
2295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296   done
2297 else
2298   ac_lo= ac_hi=
2299 fi
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 fi
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 # Binary search between lo and hi bounds.
2304 while test "x$ac_lo" != "x$ac_hi"; do
2305   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h.  */
2308 $4
2309 int
2310 main ()
2311 {
2312 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2313 test_array [0] = 0
2314
2315   ;
2316   return 0;
2317 }
2318 _ACEOF
2319 if ac_fn_c_try_compile "$LINENO"; then :
2320   ac_hi=$ac_mid
2321 else
2322   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 case $ac_lo in #((
2327 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2328 '') ac_retval=1 ;;
2329 esac
2330   else
2331     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h.  */
2333 $4
2334 static long int longval () { return $2; }
2335 static unsigned long int ulongval () { return $2; }
2336 #include <stdio.h>
2337 #include <stdlib.h>
2338 int
2339 main ()
2340 {
2341
2342   FILE *f = fopen ("conftest.val", "w");
2343   if (! f)
2344     return 1;
2345   if (($2) < 0)
2346     {
2347       long int i = longval ();
2348       if (i != ($2))
2349         return 1;
2350       fprintf (f, "%ld", i);
2351     }
2352   else
2353     {
2354       unsigned long int i = ulongval ();
2355       if (i != ($2))
2356         return 1;
2357       fprintf (f, "%lu", i);
2358     }
2359   /* Do not output a trailing newline, as this causes \r\n confusion
2360      on some platforms.  */
2361   return ferror (f) || fclose (f) != 0;
2362
2363   ;
2364   return 0;
2365 }
2366 _ACEOF
2367 if ac_fn_c_try_run "$LINENO"; then :
2368   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2369 else
2370   ac_retval=1
2371 fi
2372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2373   conftest.$ac_objext conftest.beam conftest.$ac_ext
2374 rm -f conftest.val
2375
2376   fi
2377   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2378   return $ac_retval
2379
2380 } # ac_fn_c_compute_int
2381
2382 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2383 # -------------------------------------------
2384 # Tests whether TYPE exists after having included INCLUDES, setting cache
2385 # variable VAR accordingly.
2386 ac_fn_c_check_type ()
2387 {
2388   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2390 $as_echo_n "checking for $2... " >&6; }
2391 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2392   $as_echo_n "(cached) " >&6
2393 else
2394   eval "$3=no"
2395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h.  */
2397 $4
2398 int
2399 main ()
2400 {
2401 if (sizeof ($2))
2402          return 0;
2403   ;
2404   return 0;
2405 }
2406 _ACEOF
2407 if ac_fn_c_try_compile "$LINENO"; then :
2408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h.  */
2410 $4
2411 int
2412 main ()
2413 {
2414 if (sizeof (($2)))
2415             return 0;
2416   ;
2417   return 0;
2418 }
2419 _ACEOF
2420 if ac_fn_c_try_compile "$LINENO"; then :
2421
2422 else
2423   eval "$3=yes"
2424 fi
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 fi
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 fi
2429 eval ac_res=\$$3
2430                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 $as_echo "$ac_res" >&6; }
2432   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2433
2434 } # ac_fn_c_check_type
2435 cat >config.log <<_ACEOF
2436 This file contains any messages produced by compilers while
2437 running configure, to aid debugging if configure makes a mistake.
2438
2439 It was created by package-unused $as_me version-unused, which was
2440 generated by GNU Autoconf 2.64.  Invocation command line was
2441
2442   $ $0 $@
2443
2444 _ACEOF
2445 exec 5>>config.log
2446 {
2447 cat <<_ASUNAME
2448 ## --------- ##
2449 ## Platform. ##
2450 ## --------- ##
2451
2452 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2453 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2454 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2455 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2456 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2457
2458 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2459 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2460
2461 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2462 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2463 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2464 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2465 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2466 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2467 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2468
2469 _ASUNAME
2470
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474   IFS=$as_save_IFS
2475   test -z "$as_dir" && as_dir=.
2476     $as_echo "PATH: $as_dir"
2477   done
2478 IFS=$as_save_IFS
2479
2480 } >&5
2481
2482 cat >&5 <<_ACEOF
2483
2484
2485 ## ----------- ##
2486 ## Core tests. ##
2487 ## ----------- ##
2488
2489 _ACEOF
2490
2491
2492 # Keep a trace of the command line.
2493 # Strip out --no-create and --no-recursion so they do not pile up.
2494 # Strip out --silent because we don't want to record it for future runs.
2495 # Also quote any args containing shell meta-characters.
2496 # Make two passes to allow for proper duplicate-argument suppression.
2497 ac_configure_args=
2498 ac_configure_args0=
2499 ac_configure_args1=
2500 ac_must_keep_next=false
2501 for ac_pass in 1 2
2502 do
2503   for ac_arg
2504   do
2505     case $ac_arg in
2506     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2507     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2508     | -silent | --silent | --silen | --sile | --sil)
2509       continue ;;
2510     *\'*)
2511       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2512     esac
2513     case $ac_pass in
2514     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2515     2)
2516       as_fn_append ac_configure_args1 " '$ac_arg'"
2517       if test $ac_must_keep_next = true; then
2518         ac_must_keep_next=false # Got value, back to normal.
2519       else
2520         case $ac_arg in
2521           *=* | --config-cache | -C | -disable-* | --disable-* \
2522           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2523           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2524           | -with-* | --with-* | -without-* | --without-* | --x)
2525             case "$ac_configure_args0 " in
2526               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2527             esac
2528             ;;
2529           -* ) ac_must_keep_next=true ;;
2530         esac
2531       fi
2532       as_fn_append ac_configure_args " '$ac_arg'"
2533       ;;
2534     esac
2535   done
2536 done
2537 { ac_configure_args0=; unset ac_configure_args0;}
2538 { ac_configure_args1=; unset ac_configure_args1;}
2539
2540 # When interrupted or exit'd, cleanup temporary files, and complete
2541 # config.log.  We remove comments because anyway the quotes in there
2542 # would cause problems or look ugly.
2543 # WARNING: Use '\'' to represent an apostrophe within the trap.
2544 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2545 trap 'exit_status=$?
2546   # Save into config.log some information that might help in debugging.
2547   {
2548     echo
2549
2550     cat <<\_ASBOX
2551 ## ---------------- ##
2552 ## Cache variables. ##
2553 ## ---------------- ##
2554 _ASBOX
2555     echo
2556     # The following way of writing the cache mishandles newlines in values,
2557 (
2558   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2559     eval ac_val=\$$ac_var
2560     case $ac_val in #(
2561     *${as_nl}*)
2562       case $ac_var in #(
2563       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2564 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2565       esac
2566       case $ac_var in #(
2567       _ | IFS | as_nl) ;; #(
2568       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2569       *) { eval $ac_var=; unset $ac_var;} ;;
2570       esac ;;
2571     esac
2572   done
2573   (set) 2>&1 |
2574     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2575     *${as_nl}ac_space=\ *)
2576       sed -n \
2577         "s/'\''/'\''\\\\'\'''\''/g;
2578           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2579       ;; #(
2580     *)
2581       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2582       ;;
2583     esac |
2584     sort
2585 )
2586     echo
2587
2588     cat <<\_ASBOX
2589 ## ----------------- ##
2590 ## Output variables. ##
2591 ## ----------------- ##
2592 _ASBOX
2593     echo
2594     for ac_var in $ac_subst_vars
2595     do
2596       eval ac_val=\$$ac_var
2597       case $ac_val in
2598       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2599       esac
2600       $as_echo "$ac_var='\''$ac_val'\''"
2601     done | sort
2602     echo
2603
2604     if test -n "$ac_subst_files"; then
2605       cat <<\_ASBOX
2606 ## ------------------- ##
2607 ## File substitutions. ##
2608 ## ------------------- ##
2609 _ASBOX
2610       echo
2611       for ac_var in $ac_subst_files
2612       do
2613         eval ac_val=\$$ac_var
2614         case $ac_val in
2615         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2616         esac
2617         $as_echo "$ac_var='\''$ac_val'\''"
2618       done | sort
2619       echo
2620     fi
2621
2622     if test -s confdefs.h; then
2623       cat <<\_ASBOX
2624 ## ----------- ##
2625 ## confdefs.h. ##
2626 ## ----------- ##
2627 _ASBOX
2628       echo
2629       cat confdefs.h
2630       echo
2631     fi
2632     test "$ac_signal" != 0 &&
2633       $as_echo "$as_me: caught signal $ac_signal"
2634     $as_echo "$as_me: exit $exit_status"
2635   } >&5
2636   rm -f core *.core core.conftest.* &&
2637     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2638     exit $exit_status
2639 ' 0
2640 for ac_signal in 1 2 13 15; do
2641   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2642 done
2643 ac_signal=0
2644
2645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2646 rm -f -r conftest* confdefs.h
2647
2648 $as_echo "/* confdefs.h */" > confdefs.h
2649
2650 # Predefined preprocessor variables.
2651
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_NAME "$PACKAGE_NAME"
2654 _ACEOF
2655
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2658 _ACEOF
2659
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2662 _ACEOF
2663
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_STRING "$PACKAGE_STRING"
2666 _ACEOF
2667
2668 cat >>confdefs.h <<_ACEOF
2669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2670 _ACEOF
2671
2672 cat >>confdefs.h <<_ACEOF
2673 #define PACKAGE_URL "$PACKAGE_URL"
2674 _ACEOF
2675
2676
2677 # Let the site file select an alternate cache file if it wants to.
2678 # Prefer an explicitly selected file to automatically selected ones.
2679 ac_site_file1=NONE
2680 ac_site_file2=NONE
2681 if test -n "$CONFIG_SITE"; then
2682   ac_site_file1=$CONFIG_SITE
2683 elif test "x$prefix" != xNONE; then
2684   ac_site_file1=$prefix/share/config.site
2685   ac_site_file2=$prefix/etc/config.site
2686 else
2687   ac_site_file1=$ac_default_prefix/share/config.site
2688   ac_site_file2=$ac_default_prefix/etc/config.site
2689 fi
2690 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2691 do
2692   test "x$ac_site_file" = xNONE && continue
2693   if test -r "$ac_site_file"; then
2694     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2696     sed 's/^/| /' "$ac_site_file" >&5
2697     . "$ac_site_file"
2698   fi
2699 done
2700
2701 if test -r "$cache_file"; then
2702   # Some versions of bash will fail to source /dev/null (special
2703   # files actually), so we avoid doing that.
2704   if test -f "$cache_file"; then
2705     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2706 $as_echo "$as_me: loading cache $cache_file" >&6;}
2707     case $cache_file in
2708       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2709       *)                      . "./$cache_file";;
2710     esac
2711   fi
2712 else
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2714 $as_echo "$as_me: creating cache $cache_file" >&6;}
2715   >$cache_file
2716 fi
2717
2718 # Check that the precious variables saved in the cache have kept the same
2719 # value.
2720 ac_cache_corrupted=false
2721 for ac_var in $ac_precious_vars; do
2722   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2723   eval ac_new_set=\$ac_env_${ac_var}_set
2724   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2725   eval ac_new_val=\$ac_env_${ac_var}_value
2726   case $ac_old_set,$ac_new_set in
2727     set,)
2728       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2729 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2730       ac_cache_corrupted=: ;;
2731     ,set)
2732       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2733 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2734       ac_cache_corrupted=: ;;
2735     ,);;
2736     *)
2737       if test "x$ac_old_val" != "x$ac_new_val"; then
2738         # differences in whitespace do not lead to failure.
2739         ac_old_val_w=`echo x $ac_old_val`
2740         ac_new_val_w=`echo x $ac_new_val`
2741         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2742           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2743 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2744           ac_cache_corrupted=:
2745         else
2746           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2747 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2748           eval $ac_var=\$ac_old_val
2749         fi
2750         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2751 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2752         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2753 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2754       fi;;
2755   esac
2756   # Pass precious variables to config.status.
2757   if test "$ac_new_set" = set; then
2758     case $ac_new_val in
2759     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2760     *) ac_arg=$ac_var=$ac_new_val ;;
2761     esac
2762     case " $ac_configure_args " in
2763       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2764       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2765     esac
2766   fi
2767 done
2768 if $ac_cache_corrupted; then
2769   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2772 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2773   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2774 fi
2775 ## -------------------- ##
2776 ## Main body of script. ##
2777 ## -------------------- ##
2778
2779 ac_ext=c
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2784
2785
2786
2787
2788
2789
2790 ac_config_headers="$ac_config_headers config.h"
2791
2792
2793 # This works around the fact that libtool configuration may change LD
2794 # for this particular configuration, but some shells, instead of
2795 # keeping the changes in LD private, export them just because LD is
2796 # exported.  Only used at the end of this file.
2797 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2798
2799 # For libtool versioning info, format is CURRENT:REVISION:AGE
2800 libtool_VERSION=6:15:0
2801
2802
2803 # Find the rest of the source tree framework.
2804 # Default to --enable-multilib
2805 # Check whether --enable-multilib was given.
2806 if test "${enable_multilib+set}" = set; then :
2807   enableval=$enable_multilib; case "$enableval" in
2808   yes) multilib=yes ;;
2809   no)  multilib=no ;;
2810   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2811  esac
2812 else
2813   multilib=yes
2814 fi
2815
2816
2817 # We may get other options which we leave undocumented:
2818 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2819 # See config-ml.in if you want the gory details.
2820
2821 if test "$srcdir" = "."; then
2822   if test "$with_target_subdir" != "."; then
2823     multi_basedir="$srcdir/$with_multisrctop../.."
2824   else
2825     multi_basedir="$srcdir/$with_multisrctop.."
2826   fi
2827 else
2828   multi_basedir="$srcdir/.."
2829 fi
2830
2831
2832 # Even if the default multilib is not a cross compilation,
2833 # it may be that some of the other multilibs are.
2834 if test $cross_compiling = no && test $multilib = yes \
2835    && test "x${with_multisubdir}" != x ; then
2836    cross_compiling=maybe
2837 fi
2838
2839 ac_config_commands="$ac_config_commands default-1"
2840
2841
2842 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2843 #
2844 # You will slowly go insane if you do not grok the following fact:  when
2845 # building v3 as part of the compiler, the top-level /target/ becomes the
2846 # library's /host/.  configure then causes --target to default to --host,
2847 # exactly like any other package using autoconf.  Therefore, 'target' and
2848 # 'host' will always be the same.  This makes sense both for native and
2849 # cross compilers, just think about it for a little while.  :-)
2850 #
2851 # Also, if v3 is being configured as part of a cross compiler, the top-level
2852 # configure script will pass the "real" host as $with_cross_host.
2853 #
2854 # Do not delete or change the following two lines.  For why, see
2855 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2856 ac_aux_dir=
2857 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2858   for ac_t in install-sh install.sh shtool; do
2859     if test -f "$ac_dir/$ac_t"; then
2860       ac_aux_dir=$ac_dir
2861       ac_install_sh="$ac_aux_dir/$ac_t -c"
2862       break 2
2863     fi
2864   done
2865 done
2866 if test -z "$ac_aux_dir"; then
2867   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2868 fi
2869
2870 # These three variables are undocumented and unsupported,
2871 # and are intended to be withdrawn in a future Autoconf release.
2872 # They can cause serious problems if a builder's source tree is in a directory
2873 # whose full name contains unusual characters.
2874 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2875 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2876 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2877
2878
2879 # Make sure we can run config.sub.
2880 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2881   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2882
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2884 $as_echo_n "checking build system type... " >&6; }
2885 if test "${ac_cv_build+set}" = set; then :
2886   $as_echo_n "(cached) " >&6
2887 else
2888   ac_build_alias=$build_alias
2889 test "x$ac_build_alias" = x &&
2890   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2891 test "x$ac_build_alias" = x &&
2892   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2893 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2894   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2895
2896 fi
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2898 $as_echo "$ac_cv_build" >&6; }
2899 case $ac_cv_build in
2900 *-*-*) ;;
2901 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2902 esac
2903 build=$ac_cv_build
2904 ac_save_IFS=$IFS; IFS='-'
2905 set x $ac_cv_build
2906 shift
2907 build_cpu=$1
2908 build_vendor=$2
2909 shift; shift
2910 # Remember, the first character of IFS is used to create $*,
2911 # except with old shells:
2912 build_os=$*
2913 IFS=$ac_save_IFS
2914 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2915
2916
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2918 $as_echo_n "checking host system type... " >&6; }
2919 if test "${ac_cv_host+set}" = set; then :
2920   $as_echo_n "(cached) " >&6
2921 else
2922   if test "x$host_alias" = x; then
2923   ac_cv_host=$ac_cv_build
2924 else
2925   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2926     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2927 fi
2928
2929 fi
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2931 $as_echo "$ac_cv_host" >&6; }
2932 case $ac_cv_host in
2933 *-*-*) ;;
2934 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2935 esac
2936 host=$ac_cv_host
2937 ac_save_IFS=$IFS; IFS='-'
2938 set x $ac_cv_host
2939 shift
2940 host_cpu=$1
2941 host_vendor=$2
2942 shift; shift
2943 # Remember, the first character of IFS is used to create $*,
2944 # except with old shells:
2945 host_os=$*
2946 IFS=$ac_save_IFS
2947 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2948
2949
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2951 $as_echo_n "checking target system type... " >&6; }
2952 if test "${ac_cv_target+set}" = set; then :
2953   $as_echo_n "(cached) " >&6
2954 else
2955   if test "x$target_alias" = x; then
2956   ac_cv_target=$ac_cv_host
2957 else
2958   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2959     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2960 fi
2961
2962 fi
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2964 $as_echo "$ac_cv_target" >&6; }
2965 case $ac_cv_target in
2966 *-*-*) ;;
2967 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2968 esac
2969 target=$ac_cv_target
2970 ac_save_IFS=$IFS; IFS='-'
2971 set x $ac_cv_target
2972 shift
2973 target_cpu=$1
2974 target_vendor=$2
2975 shift; shift
2976 # Remember, the first character of IFS is used to create $*,
2977 # except with old shells:
2978 target_os=$*
2979 IFS=$ac_save_IFS
2980 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2981
2982
2983 # The aliases save the names the user supplied, while $host etc.
2984 # will get canonicalized.
2985 test -n "$target_alias" &&
2986   test "$program_prefix$program_suffix$program_transform_name" = \
2987     NONENONEs,x,x, &&
2988   program_prefix=${target_alias}-
2989
2990 target_alias=${target_alias-$host_alias}
2991
2992 # Handy for debugging:
2993 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2994
2995 if test "$build" != "$host"; then
2996   # We are being configured with some form of cross compiler.
2997   GLIBCXX_IS_NATIVE=false
2998   case "$host","$target" in
2999     # Darwin crosses can use the host system's libraries and headers,
3000     # because of the fat library support.  Of course, it must be the
3001     # same version of Darwin on both sides.  Allow the user to
3002     # just say --target=foo-darwin without a version number to mean
3003     # "the version on this system".
3004       *-*-darwin*,*-*-darwin*)
3005         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3006         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3007         if test $hostos = $targetos -o $targetos = darwin ; then
3008           GLIBCXX_IS_NATIVE=true
3009         fi
3010         ;;
3011
3012       *)
3013
3014         ;;
3015   esac
3016 else
3017   GLIBCXX_IS_NATIVE=true
3018 fi
3019
3020 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3021 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3022 #  1.x:  minimum required version
3023 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3024 #              of other PACKAGE_* variables will, however, and there's nothing
3025 #              we can do about that; they come from AC_INIT).
3026 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3027 #            file in the top srcdir, etc, etc), so stop complaining.
3028 #  no-dependencies:  turns off auto dependency generation (just for now)
3029 #  no-dist:  we don't want 'dist' and related rules.
3030 #  -Wall:  turns on all automake warnings...
3031 #  -Wno-portability:  ...except this one, since GNU make is now required.
3032 am__api_version='1.11'
3033
3034 # Find a good install program.  We prefer a C program (faster),
3035 # so one script is as good as another.  But avoid the broken or
3036 # incompatible versions:
3037 # SysV /etc/install, /usr/sbin/install
3038 # SunOS /usr/etc/install
3039 # IRIX /sbin/install
3040 # AIX /bin/install
3041 # AmigaOS /C/install, which installs bootblocks on floppy discs
3042 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3043 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3044 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3045 # OS/2's system install, which has a completely different semantic
3046 # ./install, which can be erroneously created by make from ./install.sh.
3047 # Reject install programs that cannot install multiple files.
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3049 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3050 if test -z "$INSTALL"; then
3051 if test "${ac_cv_path_install+set}" = set; then :
3052   $as_echo_n "(cached) " >&6
3053 else
3054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
3057   IFS=$as_save_IFS
3058   test -z "$as_dir" && as_dir=.
3059     # Account for people who put trailing slashes in PATH elements.
3060 case $as_dir/ in #((
3061   ./ | .// | /[cC]/* | \
3062   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3063   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3064   /usr/ucb/* ) ;;
3065   *)
3066     # OSF1 and SCO ODT 3.0 have their own names for install.
3067     # Don't use installbsd from OSF since it installs stuff as root
3068     # by default.
3069     for ac_prog in ginstall scoinst install; do
3070       for ac_exec_ext in '' $ac_executable_extensions; do
3071         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3072           if test $ac_prog = install &&
3073             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3074             # AIX install.  It has an incompatible calling convention.
3075             :
3076           elif test $ac_prog = install &&
3077             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3078             # program-specific install script used by HP pwplus--don't use.
3079             :
3080           else
3081             rm -rf conftest.one conftest.two conftest.dir
3082             echo one > conftest.one
3083             echo two > conftest.two
3084             mkdir conftest.dir
3085             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3086               test -s conftest.one && test -s conftest.two &&
3087               test -s conftest.dir/conftest.one &&
3088               test -s conftest.dir/conftest.two
3089             then
3090               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3091               break 3
3092             fi
3093           fi
3094         fi
3095       done
3096     done
3097     ;;
3098 esac
3099
3100   done
3101 IFS=$as_save_IFS
3102
3103 rm -rf conftest.one conftest.two conftest.dir
3104
3105 fi
3106   if test "${ac_cv_path_install+set}" = set; then
3107     INSTALL=$ac_cv_path_install
3108   else
3109     # As a last resort, use the slow shell script.  Don't cache a
3110     # value for INSTALL within a source directory, because that will
3111     # break other packages using the cache if that directory is
3112     # removed, or if the value is a relative name.
3113     INSTALL=$ac_install_sh
3114   fi
3115 fi
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3117 $as_echo "$INSTALL" >&6; }
3118
3119 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3120 # It thinks the first close brace ends the variable substitution.
3121 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3122
3123 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3124
3125 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3126
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3128 $as_echo_n "checking whether build environment is sane... " >&6; }
3129 # Just in case
3130 sleep 1
3131 echo timestamp > conftest.file
3132 # Reject unsafe characters in $srcdir or the absolute working directory
3133 # name.  Accept space and tab only in the latter.
3134 am_lf='
3135 '
3136 case `pwd` in
3137   *[\\\"\#\$\&\'\`$am_lf]*)
3138     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3139 esac
3140 case $srcdir in
3141   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3142     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3143 esac
3144
3145 # Do `set' in a subshell so we don't clobber the current shell's
3146 # arguments.  Must try -L first in case configure is actually a
3147 # symlink; some systems play weird games with the mod time of symlinks
3148 # (eg FreeBSD returns the mod time of the symlink's containing
3149 # directory).
3150 if (
3151    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3152    if test "$*" = "X"; then
3153       # -L didn't work.
3154       set X `ls -t "$srcdir/configure" conftest.file`
3155    fi
3156    rm -f conftest.file
3157    if test "$*" != "X $srcdir/configure conftest.file" \
3158       && test "$*" != "X conftest.file $srcdir/configure"; then
3159
3160       # If neither matched, then we have a broken ls.  This can happen
3161       # if, for instance, CONFIG_SHELL is bash and it inherits a
3162       # broken ls alias from the environment.  This has actually
3163       # happened.  Such a system could not be considered "sane".
3164       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3165 alias in your environment" "$LINENO" 5
3166    fi
3167
3168    test "$2" = conftest.file
3169    )
3170 then
3171    # Ok.
3172    :
3173 else
3174    as_fn_error "newly created file is older than distributed files!
3175 Check your system clock" "$LINENO" 5
3176 fi
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3178 $as_echo "yes" >&6; }
3179 test "$program_prefix" != NONE &&
3180   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3181 # Use a double $ so make ignores it.
3182 test "$program_suffix" != NONE &&
3183   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3184 # Double any \ or $.
3185 # By default was `s,x,x', remove it if useless.
3186 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3187 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3188
3189 # expand $ac_aux_dir to an absolute path
3190 am_aux_dir=`cd $ac_aux_dir && pwd`
3191
3192 if test x"${MISSING+set}" != xset; then
3193   case $am_aux_dir in
3194   *\ * | *\     *)
3195     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3196   *)
3197     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3198   esac
3199 fi
3200 # Use eval to expand $SHELL
3201 if eval "$MISSING --run true"; then
3202   am_missing_run="$MISSING --run "
3203 else
3204   am_missing_run=
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3206 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3207 fi
3208
3209 if test x"${install_sh}" != xset; then
3210   case $am_aux_dir in
3211   *\ * | *\     *)
3212     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3213   *)
3214     install_sh="\${SHELL} $am_aux_dir/install-sh"
3215   esac
3216 fi
3217
3218 # Installed binaries are usually stripped using `strip' when the user
3219 # run `make install-strip'.  However `strip' might not be the right
3220 # tool to use in cross-compilation environments, therefore Automake
3221 # will honor the `STRIP' environment variable to overrule this program.
3222 if test "$cross_compiling" != no; then
3223   if test -n "$ac_tool_prefix"; then
3224   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3225 set dummy ${ac_tool_prefix}strip; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if test "${ac_cv_prog_STRIP+set}" = set; then :
3229   $as_echo_n "(cached) " >&6
3230 else
3231   if test -n "$STRIP"; then
3232   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3236 do
3237   IFS=$as_save_IFS
3238   test -z "$as_dir" && as_dir=.
3239     for ac_exec_ext in '' $ac_executable_extensions; do
3240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243     break 2
3244   fi
3245 done
3246   done
3247 IFS=$as_save_IFS
3248
3249 fi
3250 fi
3251 STRIP=$ac_cv_prog_STRIP
3252 if test -n "$STRIP"; then
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3254 $as_echo "$STRIP" >&6; }
3255 else
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 fi
3259
3260
3261 fi
3262 if test -z "$ac_cv_prog_STRIP"; then
3263   ac_ct_STRIP=$STRIP
3264   # Extract the first word of "strip", so it can be a program name with args.
3265 set dummy strip; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3269   $as_echo_n "(cached) " >&6
3270 else
3271   if test -n "$ac_ct_STRIP"; then
3272   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3273 else
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 for as_dir in $PATH
3276 do
3277   IFS=$as_save_IFS
3278   test -z "$as_dir" && as_dir=.
3279     for ac_exec_ext in '' $ac_executable_extensions; do
3280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281     ac_cv_prog_ac_ct_STRIP="strip"
3282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283     break 2
3284   fi
3285 done
3286   done
3287 IFS=$as_save_IFS
3288
3289 fi
3290 fi
3291 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3292 if test -n "$ac_ct_STRIP"; then
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3294 $as_echo "$ac_ct_STRIP" >&6; }
3295 else
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 fi
3299
3300   if test "x$ac_ct_STRIP" = x; then
3301     STRIP=":"
3302   else
3303     case $cross_compiling:$ac_tool_warned in
3304 yes:)
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307 ac_tool_warned=yes ;;
3308 esac
3309     STRIP=$ac_ct_STRIP
3310   fi
3311 else
3312   STRIP="$ac_cv_prog_STRIP"
3313 fi
3314
3315 fi
3316 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3317
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3319 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3320 if test -z "$MKDIR_P"; then
3321   if test "${ac_cv_path_mkdir+set}" = set; then :
3322   $as_echo_n "(cached) " >&6
3323 else
3324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3326 do
3327   IFS=$as_save_IFS
3328   test -z "$as_dir" && as_dir=.
3329     for ac_prog in mkdir gmkdir; do
3330          for ac_exec_ext in '' $ac_executable_extensions; do
3331            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3332            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3333              'mkdir (GNU coreutils) '* | \
3334              'mkdir (coreutils) '* | \
3335              'mkdir (fileutils) '4.1*)
3336                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3337                break 3;;
3338            esac
3339          done
3340        done
3341   done
3342 IFS=$as_save_IFS
3343
3344 fi
3345
3346   if test "${ac_cv_path_mkdir+set}" = set; then
3347     MKDIR_P="$ac_cv_path_mkdir -p"
3348   else
3349     # As a last resort, use the slow shell script.  Don't cache a
3350     # value for MKDIR_P within a source directory, because that will
3351     # break other packages using the cache if that directory is
3352     # removed, or if the value is a relative name.
3353     test -d ./--version && rmdir ./--version
3354     MKDIR_P="$ac_install_sh -d"
3355   fi
3356 fi
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3358 $as_echo "$MKDIR_P" >&6; }
3359
3360 mkdir_p="$MKDIR_P"
3361 case $mkdir_p in
3362   [\\/$]* | ?:[\\/]*) ;;
3363   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3364 esac
3365
3366 for ac_prog in gawk mawk nawk awk
3367 do
3368   # Extract the first word of "$ac_prog", so it can be a program name with args.
3369 set dummy $ac_prog; ac_word=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if test "${ac_cv_prog_AWK+set}" = set; then :
3373   $as_echo_n "(cached) " >&6
3374 else
3375   if test -n "$AWK"; then
3376   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3380 do
3381   IFS=$as_save_IFS
3382   test -z "$as_dir" && as_dir=.
3383     for ac_exec_ext in '' $ac_executable_extensions; do
3384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385     ac_cv_prog_AWK="$ac_prog"
3386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387     break 2
3388   fi
3389 done
3390   done
3391 IFS=$as_save_IFS
3392
3393 fi
3394 fi
3395 AWK=$ac_cv_prog_AWK
3396 if test -n "$AWK"; then
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3398 $as_echo "$AWK" >&6; }
3399 else
3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3402 fi
3403
3404
3405   test -n "$AWK" && break
3406 done
3407
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3409 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3410 set x ${MAKE-make}
3411 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3412 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3413   $as_echo_n "(cached) " >&6
3414 else
3415   cat >conftest.make <<\_ACEOF
3416 SHELL = /bin/sh
3417 all:
3418         @echo '@@@%%%=$(MAKE)=@@@%%%'
3419 _ACEOF
3420 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3421 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3422   *@@@%%%=?*=@@@%%%*)
3423     eval ac_cv_prog_make_${ac_make}_set=yes;;
3424   *)
3425     eval ac_cv_prog_make_${ac_make}_set=no;;
3426 esac
3427 rm -f conftest.make
3428 fi
3429 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3431 $as_echo "yes" >&6; }
3432   SET_MAKE=
3433 else
3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3436   SET_MAKE="MAKE=${MAKE-make}"
3437 fi
3438
3439 rm -rf .tst 2>/dev/null
3440 mkdir .tst 2>/dev/null
3441 if test -d .tst; then
3442   am__leading_dot=.
3443 else
3444   am__leading_dot=_
3445 fi
3446 rmdir .tst 2>/dev/null
3447
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450   # is not polluted with repeated "-I."
3451   am__isrc=' -I$(srcdir)'
3452   # test to see if srcdir already configured
3453   if test -f $srcdir/config.status; then
3454     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3455   fi
3456 fi
3457
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460   if (cygpath --version) >/dev/null 2>/dev/null; then
3461     CYGPATH_W='cygpath -w'
3462   else
3463     CYGPATH_W=echo
3464   fi
3465 fi
3466
3467
3468 # Define the identity of the package.
3469  PACKAGE='libstdc++'
3470  VERSION='version-unused'
3471
3472
3473 # Some tools Automake needs.
3474
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3476
3477
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3479
3480
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3482
3483
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3485
3486
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3488
3489 # We need awk for the "check" target.  The system "awk" is bad on
3490 # some platforms.
3491 # Always define AMTAR for backward compatibility.
3492
3493 AMTAR=${AMTAR-"${am_missing_run}tar"}
3494
3495 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3496
3497
3498
3499
3500
3501
3502
3503
3504 # -fno-builtin must be present here so that a non-conflicting form of
3505 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3506
3507 save_CXXFLAGS="$CXXFLAGS"
3508 CXXFLAGS="$CXXFLAGS -fno-builtin"
3509 ac_ext=c
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 if test -n "$ac_tool_prefix"; then
3515   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if test "${ac_cv_prog_CC+set}" = set; then :
3520   $as_echo_n "(cached) " >&6
3521 else
3522   if test -n "$CC"; then
3523   ac_cv_prog_CC="$CC" # Let the user override the test.
3524 else
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 for as_dir in $PATH
3527 do
3528   IFS=$as_save_IFS
3529   test -z "$as_dir" && as_dir=.
3530     for ac_exec_ext in '' $ac_executable_extensions; do
3531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3532     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534     break 2
3535   fi
3536 done
3537   done
3538 IFS=$as_save_IFS
3539
3540 fi
3541 fi
3542 CC=$ac_cv_prog_CC
3543 if test -n "$CC"; then
3544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3546 else
3547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3549 fi
3550
3551
3552 fi
3553 if test -z "$ac_cv_prog_CC"; then
3554   ac_ct_CC=$CC
3555   # Extract the first word of "gcc", so it can be a program name with args.
3556 set dummy gcc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3560   $as_echo_n "(cached) " >&6
3561 else
3562   if test -n "$ac_ct_CC"; then
3563   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3564 else
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3567 do
3568   IFS=$as_save_IFS
3569   test -z "$as_dir" && as_dir=.
3570     for ac_exec_ext in '' $ac_executable_extensions; do
3571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572     ac_cv_prog_ac_ct_CC="gcc"
3573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574     break 2
3575   fi
3576 done
3577   done
3578 IFS=$as_save_IFS
3579
3580 fi
3581 fi
3582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 $as_echo "$ac_ct_CC" >&6; }
3586 else
3587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589 fi
3590
3591   if test "x$ac_ct_CC" = x; then
3592     CC=""
3593   else
3594     case $cross_compiling:$ac_tool_warned in
3595 yes:)
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned=yes ;;
3599 esac
3600     CC=$ac_ct_CC
3601   fi
3602 else
3603   CC="$ac_cv_prog_CC"
3604 fi
3605
3606 if test -z "$CC"; then
3607           if test -n "$ac_tool_prefix"; then
3608     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3609 set dummy ${ac_tool_prefix}cc; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_CC+set}" = set; then :
3613   $as_echo_n "(cached) " >&6
3614 else
3615   if test -n "$CC"; then
3616   ac_cv_prog_CC="$CC" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3620 do
3621   IFS=$as_save_IFS
3622   test -z "$as_dir" && as_dir=.
3623     for ac_exec_ext in '' $ac_executable_extensions; do
3624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625     ac_cv_prog_CC="${ac_tool_prefix}cc"
3626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627     break 2
3628   fi
3629 done
3630   done
3631 IFS=$as_save_IFS
3632
3633 fi
3634 fi
3635 CC=$ac_cv_prog_CC
3636 if test -n "$CC"; then
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3639 else
3640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3642 fi
3643
3644
3645   fi
3646 fi
3647 if test -z "$CC"; then
3648   # Extract the first word of "cc", so it can be a program name with args.
3649 set dummy cc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if test "${ac_cv_prog_CC+set}" = set; then :
3653   $as_echo_n "(cached) " >&6
3654 else
3655   if test -n "$CC"; then
3656   ac_cv_prog_CC="$CC" # Let the user override the test.
3657 else
3658   ac_prog_rejected=no
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3661 do
3662   IFS=$as_save_IFS
3663   test -z "$as_dir" && as_dir=.
3664     for ac_exec_ext in '' $ac_executable_extensions; do
3665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3667        ac_prog_rejected=yes
3668        continue
3669      fi
3670     ac_cv_prog_CC="cc"
3671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672     break 2
3673   fi
3674 done
3675   done
3676 IFS=$as_save_IFS
3677
3678 if test $ac_prog_rejected = yes; then
3679   # We found a bogon in the path, so make sure we never use it.
3680   set dummy $ac_cv_prog_CC
3681   shift
3682   if test $# != 0; then
3683     # We chose a different compiler from the bogus one.
3684     # However, it has the same basename, so the bogon will be chosen
3685     # first if we set CC to just the basename; use the full file name.
3686     shift
3687     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3688   fi
3689 fi
3690 fi
3691 fi
3692 CC=$ac_cv_prog_CC
3693 if test -n "$CC"; then
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3695 $as_echo "$CC" >&6; }
3696 else
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 fi
3700
3701
3702 fi
3703 if test -z "$CC"; then
3704   if test -n "$ac_tool_prefix"; then
3705   for ac_prog in cl.exe
3706   do
3707     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_CC+set}" = set; then :
3712   $as_echo_n "(cached) " >&6
3713 else
3714   if test -n "$CC"; then
3715   ac_cv_prog_CC="$CC" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3719 do
3720   IFS=$as_save_IFS
3721   test -z "$as_dir" && as_dir=.
3722     for ac_exec_ext in '' $ac_executable_extensions; do
3723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726     break 2
3727   fi
3728 done
3729   done
3730 IFS=$as_save_IFS
3731
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744     test -n "$CC" && break
3745   done
3746 fi
3747 if test -z "$CC"; then
3748   ac_ct_CC=$CC
3749   for ac_prog in cl.exe
3750 do
3751   # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy $ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3756   $as_echo_n "(cached) " >&6
3757 else
3758   if test -n "$ac_ct_CC"; then
3759   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3763 do
3764   IFS=$as_save_IFS
3765   test -z "$as_dir" && as_dir=.
3766     for ac_exec_ext in '' $ac_executable_extensions; do
3767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768     ac_cv_prog_ac_ct_CC="$ac_prog"
3769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770     break 2
3771   fi
3772 done
3773   done
3774 IFS=$as_save_IFS
3775
3776 fi
3777 fi
3778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3779 if test -n "$ac_ct_CC"; then
3780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3781 $as_echo "$ac_ct_CC" >&6; }
3782 else
3783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3785 fi
3786
3787
3788   test -n "$ac_ct_CC" && break
3789 done
3790
3791   if test "x$ac_ct_CC" = x; then
3792     CC=""
3793   else
3794     case $cross_compiling:$ac_tool_warned in
3795 yes:)
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned=yes ;;
3799 esac
3800     CC=$ac_ct_CC
3801   fi
3802 fi
3803
3804 fi
3805
3806
3807 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error "no acceptable C compiler found in \$PATH
3810 See \`config.log' for more details." "$LINENO" 5; }
3811
3812 # Provide some information about the compiler.
3813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3814 set X $ac_compile
3815 ac_compiler=$2
3816 for ac_option in --version -v -V -qversion; do
3817   { { ac_try="$ac_compiler $ac_option >&5"
3818 case "(($ac_try" in
3819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820   *) ac_try_echo=$ac_try;;
3821 esac
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3825   ac_status=$?
3826   if test -s conftest.err; then
3827     sed '10a\
3828 ... rest of stderr output deleted ...
3829          10q' conftest.err >conftest.er1
3830     cat conftest.er1 >&5
3831     rm -f conftest.er1 conftest.err
3832   fi
3833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834   test $ac_status = 0; }
3835 done
3836
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h.  */
3839
3840 int
3841 main ()
3842 {
3843
3844   ;
3845   return 0;
3846 }
3847 _ACEOF
3848 # FIXME: Cleanup?
3849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3850   (eval $ac_link) 2>&5
3851   ac_status=$?
3852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853   test $ac_status = 0; }; then :
3854   gcc_no_link=no
3855 else
3856   gcc_no_link=yes
3857 fi
3858 if test x$gcc_no_link = xyes; then
3859   # Setting cross_compile will disable run tests; it will
3860   # also disable AC_CHECK_FILE but that's generally
3861   # correct if we can't link.
3862   cross_compiling=yes
3863   EXEEXT=
3864 else
3865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h.  */
3867
3868 int
3869 main ()
3870 {
3871
3872   ;
3873   return 0;
3874 }
3875 _ACEOF
3876 ac_clean_files_save=$ac_clean_files
3877 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3878 # Try to create an executable without -o first, disregard a.out.
3879 # It will help us diagnose broken compilers, and finding out an intuition
3880 # of exeext.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3882 $as_echo_n "checking for C compiler default output file name... " >&6; }
3883 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3884
3885 # The possible output files:
3886 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3887
3888 ac_rmfiles=
3889 for ac_file in $ac_files
3890 do
3891   case $ac_file in
3892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3893     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3894   esac
3895 done
3896 rm -f $ac_rmfiles
3897
3898 if { { ac_try="$ac_link_default"
3899 case "(($ac_try" in
3900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901   *) ac_try_echo=$ac_try;;
3902 esac
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905   (eval "$ac_link_default") 2>&5
3906   ac_status=$?
3907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908   test $ac_status = 0; }; then :
3909   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3910 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3911 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3912 # so that the user can short-circuit this test for compilers unknown to
3913 # Autoconf.
3914 for ac_file in $ac_files ''
3915 do
3916   test -f "$ac_file" || continue
3917   case $ac_file in
3918     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3919         ;;
3920     [ab].out )
3921         # We found the default executable, but exeext='' is most
3922         # certainly right.
3923         break;;
3924     *.* )
3925         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3926         then :; else
3927            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3928         fi
3929         # We set ac_cv_exeext here because the later test for it is not
3930         # safe: cross compilers may not add the suffix if given an `-o'
3931         # argument, so we may need to know it at that point already.
3932         # Even if this section looks crufty: it has the advantage of
3933         # actually working.
3934         break;;
3935     * )
3936         break;;
3937   esac
3938 done
3939 test "$ac_cv_exeext" = no && ac_cv_exeext=
3940
3941 else
3942   ac_file=''
3943 fi
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3945 $as_echo "$ac_file" >&6; }
3946 if test -z "$ac_file"; then :
3947   $as_echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3949
3950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3952 { as_fn_set_status 77
3953 as_fn_error "C compiler cannot create executables
3954 See \`config.log' for more details." "$LINENO" 5; }; }
3955 fi
3956 ac_exeext=$ac_cv_exeext
3957
3958 # Check that the compiler produces executables we can run.  If not, either
3959 # the compiler is broken, or we cross compile.
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3961 $as_echo_n "checking whether the C compiler works... " >&6; }
3962 # If not cross compiling, check that we can run a simple program.
3963 if test "$cross_compiling" != yes; then
3964   if { ac_try='./$ac_file'
3965   { { case "(($ac_try" in
3966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967   *) ac_try_echo=$ac_try;;
3968 esac
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971   (eval "$ac_try") 2>&5
3972   ac_status=$?
3973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974   test $ac_status = 0; }; }; then
3975     cross_compiling=no
3976   else
3977     if test "$cross_compiling" = maybe; then
3978         cross_compiling=yes
3979     else
3980         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error "cannot run C compiled programs.
3983 If you meant to cross compile, use \`--host'.
3984 See \`config.log' for more details." "$LINENO" 5; }
3985     fi
3986   fi
3987 fi
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3989 $as_echo "yes" >&6; }
3990
3991 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3992 ac_clean_files=$ac_clean_files_save
3993 # Check that the compiler produces executables we can run.  If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3996 $as_echo_n "checking whether we are cross compiling... " >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3998 $as_echo "$cross_compiling" >&6; }
3999
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try="$ac_link"
4003 case "(($ac_try" in
4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005   *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009   (eval "$ac_link") 2>&5
4010   ac_status=$?
4011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012   test $ac_status = 0; }; then :
4013   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4014 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4016 # `rm'.
4017 for ac_file in conftest.exe conftest conftest.*; do
4018   test -f "$ac_file" || continue
4019   case $ac_file in
4020     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022           break;;
4023     * ) break;;
4024   esac
4025 done
4026 else
4027   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error "cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details." "$LINENO" 5; }
4031 fi
4032 rm -f conftest$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4035
4036 rm -f conftest.$ac_ext
4037 EXEEXT=$ac_cv_exeext
4038 ac_exeext=$EXEEXT
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4041 $as_echo_n "checking for suffix of object files... " >&6; }
4042 if test "${ac_cv_objext+set}" = set; then :
4043   $as_echo_n "(cached) " >&6
4044 else
4045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h.  */
4047
4048 int
4049 main ()
4050 {
4051
4052   ;
4053   return 0;
4054 }
4055 _ACEOF
4056 rm -f conftest.o conftest.obj
4057 if { { ac_try="$ac_compile"
4058 case "(($ac_try" in
4059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060   *) ac_try_echo=$ac_try;;
4061 esac
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064   (eval "$ac_compile") 2>&5
4065   ac_status=$?
4066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067   test $ac_status = 0; }; then :
4068   for ac_file in conftest.o conftest.obj conftest.*; do
4069   test -f "$ac_file" || continue;
4070   case $ac_file in
4071     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4072     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4073        break;;
4074   esac
4075 done
4076 else
4077   $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4079
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error "cannot compute suffix of object files: cannot compile
4083 See \`config.log' for more details." "$LINENO" 5; }
4084 fi
4085 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4086 fi
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4088 $as_echo "$ac_cv_objext" >&6; }
4089 OBJEXT=$ac_cv_objext
4090 ac_objext=$OBJEXT
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4092 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4093 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4094   $as_echo_n "(cached) " >&6
4095 else
4096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h.  */
4098
4099 int
4100 main ()
4101 {
4102 #ifndef __GNUC__
4103        choke me
4104 #endif
4105
4106   ;
4107   return 0;
4108 }
4109 _ACEOF
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111   ac_compiler_gnu=yes
4112 else
4113   ac_compiler_gnu=no
4114 fi
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4117
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4120 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4121 if test $ac_compiler_gnu = yes; then
4122   GCC=yes
4123 else
4124   GCC=
4125 fi
4126 ac_test_CFLAGS=${CFLAGS+set}
4127 ac_save_CFLAGS=$CFLAGS
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4129 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4130 if test "${ac_cv_prog_cc_g+set}" = set; then :
4131   $as_echo_n "(cached) " >&6
4132 else
4133   ac_save_c_werror_flag=$ac_c_werror_flag
4134    ac_c_werror_flag=yes
4135    ac_cv_prog_cc_g=no
4136    CFLAGS="-g"
4137    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h.  */
4139
4140 int
4141 main ()
4142 {
4143
4144   ;
4145   return 0;
4146 }
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149   ac_cv_prog_cc_g=yes
4150 else
4151   CFLAGS=""
4152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h.  */
4154
4155 int
4156 main ()
4157 {
4158
4159   ;
4160   return 0;
4161 }
4162 _ACEOF
4163 if ac_fn_c_try_compile "$LINENO"; then :
4164
4165 else
4166   ac_c_werror_flag=$ac_save_c_werror_flag
4167          CFLAGS="-g"
4168          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h.  */
4170
4171 int
4172 main ()
4173 {
4174
4175   ;
4176   return 0;
4177 }
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180   ac_cv_prog_cc_g=yes
4181 fi
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 fi
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187    ac_c_werror_flag=$ac_save_c_werror_flag
4188 fi
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4190 $as_echo "$ac_cv_prog_cc_g" >&6; }
4191 if test "$ac_test_CFLAGS" = set; then
4192   CFLAGS=$ac_save_CFLAGS
4193 elif test $ac_cv_prog_cc_g = yes; then
4194   if test "$GCC" = yes; then
4195     CFLAGS="-g -O2"
4196   else
4197     CFLAGS="-g"
4198   fi
4199 else
4200   if test "$GCC" = yes; then
4201     CFLAGS="-O2"
4202   else
4203     CFLAGS=
4204   fi
4205 fi
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4207 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4208 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4209   $as_echo_n "(cached) " >&6
4210 else
4211   ac_cv_prog_cc_c89=no
4212 ac_save_CC=$CC
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h.  */
4215 #include <stdarg.h>
4216 #include <stdio.h>
4217 #include <sys/types.h>
4218 #include <sys/stat.h>
4219 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4220 struct buf { int x; };
4221 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4222 static char *e (p, i)
4223      char **p;
4224      int i;
4225 {
4226   return p[i];
4227 }
4228 static char *f (char * (*g) (char **, int), char **p, ...)
4229 {
4230   char *s;
4231   va_list v;
4232   va_start (v,p);
4233   s = g (p, va_arg (v,int));
4234   va_end (v);
4235   return s;
4236 }
4237
4238 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4239    function prototypes and stuff, but not '\xHH' hex character constants.
4240    These don't provoke an error unfortunately, instead are silently treated
4241    as 'x'.  The following induces an error, until -std is added to get
4242    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4243    array size at least.  It's necessary to write '\x00'==0 to get something
4244    that's true only with -std.  */
4245 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4246
4247 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4248    inside strings and character constants.  */
4249 #define FOO(x) 'x'
4250 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4251
4252 int test (int i, double x);
4253 struct s1 {int (*f) (int a);};
4254 struct s2 {int (*f) (double a);};
4255 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 int argc;
4257 char **argv;
4258 int
4259 main ()
4260 {
4261 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4262   ;
4263   return 0;
4264 }
4265 _ACEOF
4266 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4267         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4268 do
4269   CC="$ac_save_CC $ac_arg"
4270   if ac_fn_c_try_compile "$LINENO"; then :
4271   ac_cv_prog_cc_c89=$ac_arg
4272 fi
4273 rm -f core conftest.err conftest.$ac_objext
4274   test "x$ac_cv_prog_cc_c89" != "xno" && break
4275 done
4276 rm -f conftest.$ac_ext
4277 CC=$ac_save_CC
4278
4279 fi
4280 # AC_CACHE_VAL
4281 case "x$ac_cv_prog_cc_c89" in
4282   x)
4283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4284 $as_echo "none needed" >&6; } ;;
4285   xno)
4286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4287 $as_echo "unsupported" >&6; } ;;
4288   *)
4289     CC="$CC $ac_cv_prog_cc_c89"
4290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4291 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4292 esac
4293 if test "x$ac_cv_prog_cc_c89" != xno; then :
4294
4295 fi
4296
4297 ac_ext=c
4298 ac_cpp='$CPP $CPPFLAGS'
4299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302
4303 ac_ext=cpp
4304 ac_cpp='$CXXCPP $CPPFLAGS'
4305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4308 if test -z "$CXX"; then
4309   if test -n "$CCC"; then
4310     CXX=$CCC
4311   else
4312     if test -n "$ac_tool_prefix"; then
4313   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4314   do
4315     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if test "${ac_cv_prog_CXX+set}" = set; then :
4320   $as_echo_n "(cached) " >&6
4321 else
4322   if test -n "$CXX"; then
4323   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4324 else
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4327 do
4328   IFS=$as_save_IFS
4329   test -z "$as_dir" && as_dir=.
4330     for ac_exec_ext in '' $ac_executable_extensions; do
4331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334     break 2
4335   fi
4336 done
4337   done
4338 IFS=$as_save_IFS
4339
4340 fi
4341 fi
4342 CXX=$ac_cv_prog_CXX
4343 if test -n "$CXX"; then
4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4345 $as_echo "$CXX" >&6; }
4346 else
4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 fi
4350
4351
4352     test -n "$CXX" && break
4353   done
4354 fi
4355 if test -z "$CXX"; then
4356   ac_ct_CXX=$CXX
4357   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4358 do
4359   # Extract the first word of "$ac_prog", so it can be a program name with args.
4360 set dummy $ac_prog; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4364   $as_echo_n "(cached) " >&6
4365 else
4366   if test -n "$ac_ct_CXX"; then
4367   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4368 else
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 for as_dir in $PATH
4371 do
4372   IFS=$as_save_IFS
4373   test -z "$as_dir" && as_dir=.
4374     for ac_exec_ext in '' $ac_executable_extensions; do
4375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376     ac_cv_prog_ac_ct_CXX="$ac_prog"
4377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378     break 2
4379   fi
4380 done
4381   done
4382 IFS=$as_save_IFS
4383
4384 fi
4385 fi
4386 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4387 if test -n "$ac_ct_CXX"; then
4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4389 $as_echo "$ac_ct_CXX" >&6; }
4390 else
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4393 fi
4394
4395
4396   test -n "$ac_ct_CXX" && break
4397 done
4398
4399   if test "x$ac_ct_CXX" = x; then
4400     CXX="g++"
4401   else
4402     case $cross_compiling:$ac_tool_warned in
4403 yes:)
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4406 ac_tool_warned=yes ;;
4407 esac
4408     CXX=$ac_ct_CXX
4409   fi
4410 fi
4411
4412   fi
4413 fi
4414 # Provide some information about the compiler.
4415 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4416 set X $ac_compile
4417 ac_compiler=$2
4418 for ac_option in --version -v -V -qversion; do
4419   { { ac_try="$ac_compiler $ac_option >&5"
4420 case "(($ac_try" in
4421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422   *) ac_try_echo=$ac_try;;
4423 esac
4424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4427   ac_status=$?
4428   if test -s conftest.err; then
4429     sed '10a\
4430 ... rest of stderr output deleted ...
4431          10q' conftest.err >conftest.er1
4432     cat conftest.er1 >&5
4433     rm -f conftest.er1 conftest.err
4434   fi
4435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4436   test $ac_status = 0; }
4437 done
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4440 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4442   $as_echo_n "(cached) " >&6
4443 else
4444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h.  */
4446
4447 int
4448 main ()
4449 {
4450 #ifndef __GNUC__
4451        choke me
4452 #endif
4453
4454   ;
4455   return 0;
4456 }
4457 _ACEOF
4458 if ac_fn_cxx_try_compile "$LINENO"; then :
4459   ac_compiler_gnu=yes
4460 else
4461   ac_compiler_gnu=no
4462 fi
4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4464 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4465
4466 fi
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4468 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4469 if test $ac_compiler_gnu = yes; then
4470   GXX=yes
4471 else
4472   GXX=
4473 fi
4474 ac_test_CXXFLAGS=${CXXFLAGS+set}
4475 ac_save_CXXFLAGS=$CXXFLAGS
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4477 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4478 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4479   $as_echo_n "(cached) " >&6
4480 else
4481   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4482    ac_cxx_werror_flag=yes
4483    ac_cv_prog_cxx_g=no
4484    CXXFLAGS="-g"
4485    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h.  */
4487
4488 int
4489 main ()
4490 {
4491
4492   ;
4493   return 0;
4494 }
4495 _ACEOF
4496 if ac_fn_cxx_try_compile "$LINENO"; then :
4497   ac_cv_prog_cxx_g=yes
4498 else
4499   CXXFLAGS=""
4500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h.  */
4502
4503 int
4504 main ()
4505 {
4506
4507   ;
4508   return 0;
4509 }
4510 _ACEOF
4511 if ac_fn_cxx_try_compile "$LINENO"; then :
4512
4513 else
4514   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4515          CXXFLAGS="-g"
4516          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h.  */
4518
4519 int
4520 main ()
4521 {
4522
4523   ;
4524   return 0;
4525 }
4526 _ACEOF
4527 if ac_fn_cxx_try_compile "$LINENO"; then :
4528   ac_cv_prog_cxx_g=yes
4529 fi
4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 fi
4532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 fi
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4536 fi
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4538 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4539 if test "$ac_test_CXXFLAGS" = set; then
4540   CXXFLAGS=$ac_save_CXXFLAGS
4541 elif test $ac_cv_prog_cxx_g = yes; then
4542   if test "$GXX" = yes; then
4543     CXXFLAGS="-g -O2"
4544   else
4545     CXXFLAGS="-g"
4546   fi
4547 else
4548   if test "$GXX" = yes; then
4549     CXXFLAGS="-O2"
4550   else
4551     CXXFLAGS=
4552   fi
4553 fi
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559
4560 CXXFLAGS="$save_CXXFLAGS"
4561
4562 # Runs configure.host, and assorted other critical bits.  Sets
4563 # up critical shell variables.
4564
4565 ac_ext=c
4566 ac_cpp='$CPP $CPPFLAGS'
4567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4571 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4572 # On Suns, sometimes $CPP names a directory.
4573 if test -n "$CPP" && test -d "$CPP"; then
4574   CPP=
4575 fi
4576 if test -z "$CPP"; then
4577   if test "${ac_cv_prog_CPP+set}" = set; then :
4578   $as_echo_n "(cached) " >&6
4579 else
4580       # Double quotes because CPP needs to be expanded
4581     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4582     do
4583       ac_preproc_ok=false
4584 for ac_c_preproc_warn_flag in '' yes
4585 do
4586   # Use a header file that comes with gcc, so configuring glibc
4587   # with a fresh cross-compiler works.
4588   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4589   # <limits.h> exists even on freestanding compilers.
4590   # On the NeXT, cc -E runs the code through the compiler's parser,
4591   # not just through cpp. "Syntax error" is here to catch this case.
4592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h.  */
4594 #ifdef __STDC__
4595 # include <limits.h>
4596 #else
4597 # include <assert.h>
4598 #endif
4599                      Syntax error
4600 _ACEOF
4601 if ac_fn_c_try_cpp "$LINENO"; then :
4602
4603 else
4604   # Broken: fails on valid input.
4605 continue
4606 fi
4607 rm -f conftest.err conftest.$ac_ext
4608
4609   # OK, works on sane cases.  Now check whether nonexistent headers
4610   # can be detected and how.
4611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h.  */
4613 #include <ac_nonexistent.h>
4614 _ACEOF
4615 if ac_fn_c_try_cpp "$LINENO"; then :
4616   # Broken: success on invalid input.
4617 continue
4618 else
4619   # Passes both tests.
4620 ac_preproc_ok=:
4621 break
4622 fi
4623 rm -f conftest.err conftest.$ac_ext
4624
4625 done
4626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4627 rm -f conftest.err conftest.$ac_ext
4628 if $ac_preproc_ok; then :
4629   break
4630 fi
4631
4632     done
4633     ac_cv_prog_CPP=$CPP
4634
4635 fi
4636   CPP=$ac_cv_prog_CPP
4637 else
4638   ac_cv_prog_CPP=$CPP
4639 fi
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4641 $as_echo "$CPP" >&6; }
4642 ac_preproc_ok=false
4643 for ac_c_preproc_warn_flag in '' yes
4644 do
4645   # Use a header file that comes with gcc, so configuring glibc
4646   # with a fresh cross-compiler works.
4647   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4648   # <limits.h> exists even on freestanding compilers.
4649   # On the NeXT, cc -E runs the code through the compiler's parser,
4650   # not just through cpp. "Syntax error" is here to catch this case.
4651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h.  */
4653 #ifdef __STDC__
4654 # include <limits.h>
4655 #else
4656 # include <assert.h>
4657 #endif
4658                      Syntax error
4659 _ACEOF
4660 if ac_fn_c_try_cpp "$LINENO"; then :
4661
4662 else
4663   # Broken: fails on valid input.
4664 continue
4665 fi
4666 rm -f conftest.err conftest.$ac_ext
4667
4668   # OK, works on sane cases.  Now check whether nonexistent headers
4669   # can be detected and how.
4670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h.  */
4672 #include <ac_nonexistent.h>
4673 _ACEOF
4674 if ac_fn_c_try_cpp "$LINENO"; then :
4675   # Broken: success on invalid input.
4676 continue
4677 else
4678   # Passes both tests.
4679 ac_preproc_ok=:
4680 break
4681 fi
4682 rm -f conftest.err conftest.$ac_ext
4683
4684 done
4685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4686 rm -f conftest.err conftest.$ac_ext
4687 if $ac_preproc_ok; then :
4688
4689 else
4690   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4692 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4693 See \`config.log' for more details." "$LINENO" 5; }
4694 fi
4695
4696 ac_ext=c
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4701
4702
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4704 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4705 if test "${ac_cv_path_GREP+set}" = set; then :
4706   $as_echo_n "(cached) " >&6
4707 else
4708   if test -z "$GREP"; then
4709   ac_path_GREP_found=false
4710   # Loop through the user's path and test for each of PROGNAME-LIST
4711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4713 do
4714   IFS=$as_save_IFS
4715   test -z "$as_dir" && as_dir=.
4716     for ac_prog in grep ggrep; do
4717     for ac_exec_ext in '' $ac_executable_extensions; do
4718       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4719       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4720 # Check for GNU ac_path_GREP and select it if it is found.
4721   # Check for GNU $ac_path_GREP
4722 case `"$ac_path_GREP" --version 2>&1` in
4723 *GNU*)
4724   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4725 *)
4726   ac_count=0
4727   $as_echo_n 0123456789 >"conftest.in"
4728   while :
4729   do
4730     cat "conftest.in" "conftest.in" >"conftest.tmp"
4731     mv "conftest.tmp" "conftest.in"
4732     cp "conftest.in" "conftest.nl"
4733     $as_echo 'GREP' >> "conftest.nl"
4734     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4735     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4736     as_fn_arith $ac_count + 1 && ac_count=$as_val
4737     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4738       # Best one so far, save it but keep looking for a better one
4739       ac_cv_path_GREP="$ac_path_GREP"
4740       ac_path_GREP_max=$ac_count
4741     fi
4742     # 10*(2^10) chars as input seems more than enough
4743     test $ac_count -gt 10 && break
4744   done
4745   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4746 esac
4747
4748       $ac_path_GREP_found && break 3
4749     done
4750   done
4751   done
4752 IFS=$as_save_IFS
4753   if test -z "$ac_cv_path_GREP"; then
4754     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4755   fi
4756 else
4757   ac_cv_path_GREP=$GREP
4758 fi
4759
4760 fi
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4762 $as_echo "$ac_cv_path_GREP" >&6; }
4763  GREP="$ac_cv_path_GREP"
4764
4765
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4767 $as_echo_n "checking for egrep... " >&6; }
4768 if test "${ac_cv_path_EGREP+set}" = set; then :
4769   $as_echo_n "(cached) " >&6
4770 else
4771   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4772    then ac_cv_path_EGREP="$GREP -E"
4773    else
4774      if test -z "$EGREP"; then
4775   ac_path_EGREP_found=false
4776   # Loop through the user's path and test for each of PROGNAME-LIST
4777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4779 do
4780   IFS=$as_save_IFS
4781   test -z "$as_dir" && as_dir=.
4782     for ac_prog in egrep; do
4783     for ac_exec_ext in '' $ac_executable_extensions; do
4784       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4785       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4786 # Check for GNU ac_path_EGREP and select it if it is found.
4787   # Check for GNU $ac_path_EGREP
4788 case `"$ac_path_EGREP" --version 2>&1` in
4789 *GNU*)
4790   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4791 *)
4792   ac_count=0
4793   $as_echo_n 0123456789 >"conftest.in"
4794   while :
4795   do
4796     cat "conftest.in" "conftest.in" >"conftest.tmp"
4797     mv "conftest.tmp" "conftest.in"
4798     cp "conftest.in" "conftest.nl"
4799     $as_echo 'EGREP' >> "conftest.nl"
4800     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4801     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4802     as_fn_arith $ac_count + 1 && ac_count=$as_val
4803     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4804       # Best one so far, save it but keep looking for a better one
4805       ac_cv_path_EGREP="$ac_path_EGREP"
4806       ac_path_EGREP_max=$ac_count
4807     fi
4808     # 10*(2^10) chars as input seems more than enough
4809     test $ac_count -gt 10 && break
4810   done
4811   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4812 esac
4813
4814       $ac_path_EGREP_found && break 3
4815     done
4816   done
4817   done
4818 IFS=$as_save_IFS
4819   if test -z "$ac_cv_path_EGREP"; then
4820     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4821   fi
4822 else
4823   ac_cv_path_EGREP=$EGREP
4824 fi
4825
4826    fi
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4829 $as_echo "$ac_cv_path_EGREP" >&6; }
4830  EGREP="$ac_cv_path_EGREP"
4831
4832
4833
4834   # Keep these sync'd with the list in Makefile.am.  The first provides an
4835   # expandable list at autoconf time; the second provides an expandable list
4836   # (i.e., shell variable) at configure time.
4837
4838   SUBDIRS='include libsupc++ python src doc po testsuite'
4839
4840   # These need to be absolute paths, yet at the same time need to
4841   # canonicalize only relative paths, because then amd will not unmount
4842   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4843   glibcxx_builddir=`${PWDCMD-pwd}`
4844   case $srcdir in
4845     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4846     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4847   esac
4848   toplevel_srcdir=${glibcxx_srcdir}/..
4849
4850
4851
4852
4853   # We use these options to decide which functions to include.  They are
4854   # set from the top level.
4855
4856 # Check whether --with-target-subdir was given.
4857 if test "${with_target_subdir+set}" = set; then :
4858   withval=$with_target_subdir;
4859 fi
4860
4861
4862
4863 # Check whether --with-cross-host was given.
4864 if test "${with_cross_host+set}" = set; then :
4865   withval=$with_cross_host;
4866 fi
4867
4868
4869
4870 # Check whether --with-newlib was given.
4871 if test "${with_newlib+set}" = set; then :
4872   withval=$with_newlib;
4873 fi
4874
4875
4876   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4877   # available).  Uncomment the next line to force a particular method.
4878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4879 $as_echo_n "checking whether ln -s works... " >&6; }
4880 LN_S=$as_ln_s
4881 if test "$LN_S" = "ln -s"; then
4882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4884 else
4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4886 $as_echo "no, using $LN_S" >&6; }
4887 fi
4888
4889   #LN_S='cp -p'
4890
4891   if test -n "$ac_tool_prefix"; then
4892   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4893 set dummy ${ac_tool_prefix}as; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if test "${ac_cv_prog_AS+set}" = set; then :
4897   $as_echo_n "(cached) " >&6
4898 else
4899   if test -n "$AS"; then
4900   ac_cv_prog_AS="$AS" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4904 do
4905   IFS=$as_save_IFS
4906   test -z "$as_dir" && as_dir=.
4907     for ac_exec_ext in '' $ac_executable_extensions; do
4908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909     ac_cv_prog_AS="${ac_tool_prefix}as"
4910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911     break 2
4912   fi
4913 done
4914   done
4915 IFS=$as_save_IFS
4916
4917 fi
4918 fi
4919 AS=$ac_cv_prog_AS
4920 if test -n "$AS"; then
4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4922 $as_echo "$AS" >&6; }
4923 else
4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4926 fi
4927
4928
4929 fi
4930 if test -z "$ac_cv_prog_AS"; then
4931   ac_ct_AS=$AS
4932   # Extract the first word of "as", so it can be a program name with args.
4933 set dummy as; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4937   $as_echo_n "(cached) " >&6
4938 else
4939   if test -n "$ac_ct_AS"; then
4940   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4944 do
4945   IFS=$as_save_IFS
4946   test -z "$as_dir" && as_dir=.
4947     for ac_exec_ext in '' $ac_executable_extensions; do
4948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949     ac_cv_prog_ac_ct_AS="as"
4950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951     break 2
4952   fi
4953 done
4954   done
4955 IFS=$as_save_IFS
4956
4957 fi
4958 fi
4959 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4960 if test -n "$ac_ct_AS"; then
4961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4962 $as_echo "$ac_ct_AS" >&6; }
4963 else
4964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 fi
4967
4968   if test "x$ac_ct_AS" = x; then
4969     AS=""
4970   else
4971     case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977     AS=$ac_ct_AS
4978   fi
4979 else
4980   AS="$ac_cv_prog_AS"
4981 fi
4982
4983   if test -n "$ac_tool_prefix"; then
4984   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4985 set dummy ${ac_tool_prefix}ar; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if test "${ac_cv_prog_AR+set}" = set; then :
4989   $as_echo_n "(cached) " >&6
4990 else
4991   if test -n "$AR"; then
4992   ac_cv_prog_AR="$AR" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4996 do
4997   IFS=$as_save_IFS
4998   test -z "$as_dir" && as_dir=.
4999     for ac_exec_ext in '' $ac_executable_extensions; do
5000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001     ac_cv_prog_AR="${ac_tool_prefix}ar"
5002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003     break 2
5004   fi
5005 done
5006   done
5007 IFS=$as_save_IFS
5008
5009 fi
5010 fi
5011 AR=$ac_cv_prog_AR
5012 if test -n "$AR"; then
5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5014 $as_echo "$AR" >&6; }
5015 else
5016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5018 fi
5019
5020
5021 fi
5022 if test -z "$ac_cv_prog_AR"; then
5023   ac_ct_AR=$AR
5024   # Extract the first word of "ar", so it can be a program name with args.
5025 set dummy ar; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5029   $as_echo_n "(cached) " >&6
5030 else
5031   if test -n "$ac_ct_AR"; then
5032   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5036 do
5037   IFS=$as_save_IFS
5038   test -z "$as_dir" && as_dir=.
5039     for ac_exec_ext in '' $ac_executable_extensions; do
5040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041     ac_cv_prog_ac_ct_AR="ar"
5042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043     break 2
5044   fi
5045 done
5046   done
5047 IFS=$as_save_IFS
5048
5049 fi
5050 fi
5051 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5052 if test -n "$ac_ct_AR"; then
5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5054 $as_echo "$ac_ct_AR" >&6; }
5055 else
5056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5058 fi
5059
5060   if test "x$ac_ct_AR" = x; then
5061     AR=""
5062   else
5063     case $cross_compiling:$ac_tool_warned in
5064 yes:)
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5068 esac
5069     AR=$ac_ct_AR
5070   fi
5071 else
5072   AR="$ac_cv_prog_AR"
5073 fi
5074
5075   if test -n "$ac_tool_prefix"; then
5076   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5077 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5081   $as_echo_n "(cached) " >&6
5082 else
5083   if test -n "$RANLIB"; then
5084   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5088 do
5089   IFS=$as_save_IFS
5090   test -z "$as_dir" && as_dir=.
5091     for ac_exec_ext in '' $ac_executable_extensions; do
5092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095     break 2
5096   fi
5097 done
5098   done
5099 IFS=$as_save_IFS
5100
5101 fi
5102 fi
5103 RANLIB=$ac_cv_prog_RANLIB
5104 if test -n "$RANLIB"; then
5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5106 $as_echo "$RANLIB" >&6; }
5107 else
5108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5110 fi
5111
5112
5113 fi
5114 if test -z "$ac_cv_prog_RANLIB"; then
5115   ac_ct_RANLIB=$RANLIB
5116   # Extract the first word of "ranlib", so it can be a program name with args.
5117 set dummy ranlib; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5121   $as_echo_n "(cached) " >&6
5122 else
5123   if test -n "$ac_ct_RANLIB"; then
5124   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5128 do
5129   IFS=$as_save_IFS
5130   test -z "$as_dir" && as_dir=.
5131     for ac_exec_ext in '' $ac_executable_extensions; do
5132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133     ac_cv_prog_ac_ct_RANLIB="ranlib"
5134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135     break 2
5136   fi
5137 done
5138   done
5139 IFS=$as_save_IFS
5140
5141 fi
5142 fi
5143 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5144 if test -n "$ac_ct_RANLIB"; then
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5146 $as_echo "$ac_ct_RANLIB" >&6; }
5147 else
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 fi
5151
5152   if test "x$ac_ct_RANLIB" = x; then
5153     RANLIB="ranlib-not-found-in-path-error"
5154   else
5155     case $cross_compiling:$ac_tool_warned in
5156 yes:)
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5159 ac_tool_warned=yes ;;
5160 esac
5161     RANLIB=$ac_ct_RANLIB
5162   fi
5163 else
5164   RANLIB="$ac_cv_prog_RANLIB"
5165 fi
5166
5167
5168
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5170 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5171     # Check whether --enable-maintainer-mode was given.
5172 if test "${enable_maintainer_mode+set}" = set; then :
5173   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5174 else
5175   USE_MAINTAINER_MODE=no
5176 fi
5177
5178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5179 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5180    if test $USE_MAINTAINER_MODE = yes; then
5181   MAINTAINER_MODE_TRUE=
5182   MAINTAINER_MODE_FALSE='#'
5183 else
5184   MAINTAINER_MODE_TRUE='#'
5185   MAINTAINER_MODE_FALSE=
5186 fi
5187
5188   MAINT=$MAINTAINER_MODE_TRUE
5189
5190
5191
5192   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5193   # which are themselves conditionally expanded.
5194   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5195   ## other macros from doing the same.  This should be automated.)  -pme
5196
5197   # Check for C library flavor since Linux platforms use different configuration
5198   # directories depending on the C library in use.
5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h.  */
5201
5202   #include <stdio.h>
5203   #if __UCLIBC__
5204     _using_uclibc
5205   #endif
5206
5207 _ACEOF
5208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5209   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5210   uclibc=yes
5211 else
5212   uclibc=no
5213 fi
5214 rm -f conftest*
5215
5216
5217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h.  */
5219
5220   #include <stdio.h>
5221   #if __BIONIC__
5222     _using_bionic
5223   #endif
5224
5225 _ACEOF
5226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5227   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5228   bionic=yes
5229 else
5230   bionic=no
5231 fi
5232 rm -f conftest*
5233
5234
5235   # Find platform-specific directories containing configuration info.
5236   # Also possibly modify flags used elsewhere, as needed by the platform.
5237
5238   . $glibcxx_srcdir/configure.host
5239   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5240 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5241   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5242 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5243
5244
5245
5246 if test "x${with_newlib}" != "xyes"; then
5247   enable_dlopen=yes
5248
5249
5250
5251 fi
5252 case `pwd` in
5253   *\ * | *\     *)
5254     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5255 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5256 esac
5257
5258
5259
5260 macro_version='2.2.7a'
5261 macro_revision='1.3134'
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275 ltmain="$ac_aux_dir/ltmain.sh"
5276
5277 # Backslashify metacharacters that are still active within
5278 # double-quoted strings.
5279 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5280
5281 # Same as above, but do not quote variable references.
5282 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5283
5284 # Sed substitution to delay expansion of an escaped shell variable in a
5285 # double_quote_subst'ed string.
5286 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5287
5288 # Sed substitution to delay expansion of an escaped single quote.
5289 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5290
5291 # Sed substitution to avoid accidental globbing in evaled expressions
5292 no_glob_subst='s/\*/\\\*/g'
5293
5294 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5295 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5296 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5297
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5299 $as_echo_n "checking how to print strings... " >&6; }
5300 # Test print first, because it will be a builtin if present.
5301 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5302    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5303   ECHO='print -r --'
5304 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5305   ECHO='printf %s\n'
5306 else
5307   # Use this function as a fallback that always works.
5308   func_fallback_echo ()
5309   {
5310     eval 'cat <<_LTECHO_EOF
5311 $1
5312 _LTECHO_EOF'
5313   }
5314   ECHO='func_fallback_echo'
5315 fi
5316
5317 # func_echo_all arg...
5318 # Invoke $ECHO with all args, space-separated.
5319 func_echo_all ()
5320 {
5321     $ECHO ""
5322 }
5323
5324 case "$ECHO" in
5325   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5326 $as_echo "printf" >&6; } ;;
5327   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5328 $as_echo "print -r" >&6; } ;;
5329   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5330 $as_echo "cat" >&6; } ;;
5331 esac
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5347 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5348 if test "${ac_cv_path_SED+set}" = set; then :
5349   $as_echo_n "(cached) " >&6
5350 else
5351             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5352      for ac_i in 1 2 3 4 5 6 7; do
5353        ac_script="$ac_script$as_nl$ac_script"
5354      done
5355      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5356      { ac_script=; unset ac_script;}
5357      if test -z "$SED"; then
5358   ac_path_SED_found=false
5359   # Loop through the user's path and test for each of PROGNAME-LIST
5360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5362 do
5363   IFS=$as_save_IFS
5364   test -z "$as_dir" && as_dir=.
5365     for ac_prog in sed gsed; do
5366     for ac_exec_ext in '' $ac_executable_extensions; do
5367       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5368       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5369 # Check for GNU ac_path_SED and select it if it is found.
5370   # Check for GNU $ac_path_SED
5371 case `"$ac_path_SED" --version 2>&1` in
5372 *GNU*)
5373   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5374 *)
5375   ac_count=0
5376   $as_echo_n 0123456789 >"conftest.in"
5377   while :
5378   do
5379     cat "conftest.in" "conftest.in" >"conftest.tmp"
5380     mv "conftest.tmp" "conftest.in"
5381     cp "conftest.in" "conftest.nl"
5382     $as_echo '' >> "conftest.nl"
5383     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5384     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5385     as_fn_arith $ac_count + 1 && ac_count=$as_val
5386     if test $ac_count -gt ${ac_path_SED_max-0}; then
5387       # Best one so far, save it but keep looking for a better one
5388       ac_cv_path_SED="$ac_path_SED"
5389       ac_path_SED_max=$ac_count
5390     fi
5391     # 10*(2^10) chars as input seems more than enough
5392     test $ac_count -gt 10 && break
5393   done
5394   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5395 esac
5396
5397       $ac_path_SED_found && break 3
5398     done
5399   done
5400   done
5401 IFS=$as_save_IFS
5402   if test -z "$ac_cv_path_SED"; then
5403     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5404   fi
5405 else
5406   ac_cv_path_SED=$SED
5407 fi
5408
5409 fi
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5411 $as_echo "$ac_cv_path_SED" >&6; }
5412  SED="$ac_cv_path_SED"
5413   rm -f conftest.sed
5414
5415 test -z "$SED" && SED=sed
5416 Xsed="$SED -e 1s/^X//"
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5429 $as_echo_n "checking for fgrep... " >&6; }
5430 if test "${ac_cv_path_FGREP+set}" = set; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5434    then ac_cv_path_FGREP="$GREP -F"
5435    else
5436      if test -z "$FGREP"; then
5437   ac_path_FGREP_found=false
5438   # Loop through the user's path and test for each of PROGNAME-LIST
5439   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5441 do
5442   IFS=$as_save_IFS
5443   test -z "$as_dir" && as_dir=.
5444     for ac_prog in fgrep; do
5445     for ac_exec_ext in '' $ac_executable_extensions; do
5446       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5447       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5448 # Check for GNU ac_path_FGREP and select it if it is found.
5449   # Check for GNU $ac_path_FGREP
5450 case `"$ac_path_FGREP" --version 2>&1` in
5451 *GNU*)
5452   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5453 *)
5454   ac_count=0
5455   $as_echo_n 0123456789 >"conftest.in"
5456   while :
5457   do
5458     cat "conftest.in" "conftest.in" >"conftest.tmp"
5459     mv "conftest.tmp" "conftest.in"
5460     cp "conftest.in" "conftest.nl"
5461     $as_echo 'FGREP' >> "conftest.nl"
5462     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464     as_fn_arith $ac_count + 1 && ac_count=$as_val
5465     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5466       # Best one so far, save it but keep looking for a better one
5467       ac_cv_path_FGREP="$ac_path_FGREP"
5468       ac_path_FGREP_max=$ac_count
5469     fi
5470     # 10*(2^10) chars as input seems more than enough
5471     test $ac_count -gt 10 && break
5472   done
5473   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5475
5476       $ac_path_FGREP_found && break 3
5477     done
5478   done
5479   done
5480 IFS=$as_save_IFS
5481   if test -z "$ac_cv_path_FGREP"; then
5482     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5483   fi
5484 else
5485   ac_cv_path_FGREP=$FGREP
5486 fi
5487
5488    fi
5489 fi
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5491 $as_echo "$ac_cv_path_FGREP" >&6; }
5492  FGREP="$ac_cv_path_FGREP"
5493
5494
5495 test -z "$GREP" && GREP=grep
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515 # Check whether --with-gnu-ld was given.
5516 if test "${with_gnu_ld+set}" = set; then :
5517   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5518 else
5519   with_gnu_ld=no
5520 fi
5521
5522 ac_prog=ld
5523 if test "$GCC" = yes; then
5524   # Check if gcc -print-prog-name=ld gives a path.
5525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5526 $as_echo_n "checking for ld used by $CC... " >&6; }
5527   case $host in
5528   *-*-mingw*)
5529     # gcc leaves a trailing carriage return which upsets mingw
5530     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5531   *)
5532     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5533   esac
5534   case $ac_prog in
5535     # Accept absolute paths.
5536     [\\/]* | ?:[\\/]*)
5537       re_direlt='/[^/][^/]*/\.\./'
5538       # Canonicalize the pathname of ld
5539       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5540       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5541         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5542       done
5543       test -z "$LD" && LD="$ac_prog"
5544       ;;
5545   "")
5546     # If it fails, then pretend we aren't using GCC.
5547     ac_prog=ld
5548     ;;
5549   *)
5550     # If it is relative, then search for the first ld in PATH.
5551     with_gnu_ld=unknown
5552     ;;
5553   esac
5554 elif test "$with_gnu_ld" = yes; then
5555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5556 $as_echo_n "checking for GNU ld... " >&6; }
5557 else
5558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5559 $as_echo_n "checking for non-GNU ld... " >&6; }
5560 fi
5561 if test "${lt_cv_path_LD+set}" = set; then :
5562   $as_echo_n "(cached) " >&6
5563 else
5564   if test -z "$LD"; then
5565   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5566   for ac_dir in $PATH; do
5567     IFS="$lt_save_ifs"
5568     test -z "$ac_dir" && ac_dir=.
5569     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5570       lt_cv_path_LD="$ac_dir/$ac_prog"
5571       # Check to see if the program is GNU ld.  I'd rather use --version,
5572       # but apparently some variants of GNU ld only accept -v.
5573       # Break only if it was the GNU/non-GNU ld that we prefer.
5574       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5575       *GNU* | *'with BFD'*)
5576         test "$with_gnu_ld" != no && break
5577         ;;
5578       *)
5579         test "$with_gnu_ld" != yes && break
5580         ;;
5581       esac
5582     fi
5583   done
5584   IFS="$lt_save_ifs"
5585 else
5586   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5587 fi
5588 fi
5589
5590 LD="$lt_cv_path_LD"
5591 if test -n "$LD"; then
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5593 $as_echo "$LD" >&6; }
5594 else
5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5597 fi
5598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5601 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5602   $as_echo_n "(cached) " >&6
5603 else
5604   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5605 case `$LD -v 2>&1 </dev/null` in
5606 *GNU* | *'with BFD'*)
5607   lt_cv_prog_gnu_ld=yes
5608   ;;
5609 *)
5610   lt_cv_prog_gnu_ld=no
5611   ;;
5612 esac
5613 fi
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5615 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5616 with_gnu_ld=$lt_cv_prog_gnu_ld
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5627 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5628 if test "${lt_cv_path_NM+set}" = set; then :
5629   $as_echo_n "(cached) " >&6
5630 else
5631   if test -n "$NM"; then
5632   # Let the user override the test.
5633   lt_cv_path_NM="$NM"
5634 else
5635   lt_nm_to_check="${ac_tool_prefix}nm"
5636   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5637     lt_nm_to_check="$lt_nm_to_check nm"
5638   fi
5639   for lt_tmp_nm in $lt_nm_to_check; do
5640     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5641     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5642       IFS="$lt_save_ifs"
5643       test -z "$ac_dir" && ac_dir=.
5644       tmp_nm="$ac_dir/$lt_tmp_nm"
5645       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5646         # Check to see if the nm accepts a BSD-compat flag.
5647         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5648         #   nm: unknown option "B" ignored
5649         # Tru64's nm complains that /dev/null is an invalid object file
5650         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5651         */dev/null* | *'Invalid file or object type'*)
5652           lt_cv_path_NM="$tmp_nm -B"
5653           break
5654           ;;
5655         *)
5656           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5657           */dev/null*)
5658             lt_cv_path_NM="$tmp_nm -p"
5659             break
5660             ;;
5661           *)
5662             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5663             continue # so that we can try to find one that supports BSD flags
5664             ;;
5665           esac
5666           ;;
5667         esac
5668       fi
5669     done
5670     IFS="$lt_save_ifs"
5671   done
5672   : ${lt_cv_path_NM=no}
5673 fi
5674 fi
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5676 $as_echo "$lt_cv_path_NM" >&6; }
5677 if test "$lt_cv_path_NM" != "no"; then
5678   NM="$lt_cv_path_NM"
5679 else
5680   # Didn't find any BSD compatible name lister, look for dumpbin.
5681   if test -n "$DUMPBIN"; then :
5682     # Let the user override the test.
5683   else
5684     if test -n "$ac_tool_prefix"; then
5685   for ac_prog in dumpbin "link -dump"
5686   do
5687     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5692   $as_echo_n "(cached) " >&6
5693 else
5694   if test -n "$DUMPBIN"; then
5695   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5699 do
5700   IFS=$as_save_IFS
5701   test -z "$as_dir" && as_dir=.
5702     for ac_exec_ext in '' $ac_executable_extensions; do
5703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706     break 2
5707   fi
5708 done
5709   done
5710 IFS=$as_save_IFS
5711
5712 fi
5713 fi
5714 DUMPBIN=$ac_cv_prog_DUMPBIN
5715 if test -n "$DUMPBIN"; then
5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5717 $as_echo "$DUMPBIN" >&6; }
5718 else
5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5721 fi
5722
5723
5724     test -n "$DUMPBIN" && break
5725   done
5726 fi
5727 if test -z "$DUMPBIN"; then
5728   ac_ct_DUMPBIN=$DUMPBIN
5729   for ac_prog in dumpbin "link -dump"
5730 do
5731   # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5736   $as_echo_n "(cached) " >&6
5737 else
5738   if test -n "$ac_ct_DUMPBIN"; then
5739   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5743 do
5744   IFS=$as_save_IFS
5745   test -z "$as_dir" && as_dir=.
5746     for ac_exec_ext in '' $ac_executable_extensions; do
5747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750     break 2
5751   fi
5752 done
5753   done
5754 IFS=$as_save_IFS
5755
5756 fi
5757 fi
5758 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5759 if test -n "$ac_ct_DUMPBIN"; then
5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5761 $as_echo "$ac_ct_DUMPBIN" >&6; }
5762 else
5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5765 fi
5766
5767
5768   test -n "$ac_ct_DUMPBIN" && break
5769 done
5770
5771   if test "x$ac_ct_DUMPBIN" = x; then
5772     DUMPBIN=":"
5773   else
5774     case $cross_compiling:$ac_tool_warned in
5775 yes:)
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5779 esac
5780     DUMPBIN=$ac_ct_DUMPBIN
5781   fi
5782 fi
5783
5784     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5785     *COFF*)
5786       DUMPBIN="$DUMPBIN -symbols"
5787       ;;
5788     *)
5789       DUMPBIN=:
5790       ;;
5791     esac
5792   fi
5793
5794   if test "$DUMPBIN" != ":"; then
5795     NM="$DUMPBIN"
5796   fi
5797 fi
5798 test -z "$NM" && NM=nm
5799
5800
5801
5802
5803
5804
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5806 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5807 if test "${lt_cv_nm_interface+set}" = set; then :
5808   $as_echo_n "(cached) " >&6
5809 else
5810   lt_cv_nm_interface="BSD nm"
5811   echo "int some_variable = 0;" > conftest.$ac_ext
5812   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5813   (eval "$ac_compile" 2>conftest.err)
5814   cat conftest.err >&5
5815   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5816   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5817   cat conftest.err >&5
5818   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5819   cat conftest.out >&5
5820   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5821     lt_cv_nm_interface="MS dumpbin"
5822   fi
5823   rm -f conftest*
5824 fi
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5826 $as_echo "$lt_cv_nm_interface" >&6; }
5827
5828 # find the maximum length of command line arguments
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5830 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5831 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5832   $as_echo_n "(cached) " >&6
5833 else
5834     i=0
5835   teststring="ABCD"
5836
5837   case $build_os in
5838   msdosdjgpp*)
5839     # On DJGPP, this test can blow up pretty badly due to problems in libc
5840     # (any single argument exceeding 2000 bytes causes a buffer overrun
5841     # during glob expansion).  Even if it were fixed, the result of this
5842     # check would be larger than it should be.
5843     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5844     ;;
5845
5846   gnu*)
5847     # Under GNU Hurd, this test is not required because there is
5848     # no limit to the length of command line arguments.
5849     # Libtool will interpret -1 as no limit whatsoever
5850     lt_cv_sys_max_cmd_len=-1;
5851     ;;
5852
5853   cygwin* | mingw* | cegcc*)
5854     # On Win9x/ME, this test blows up -- it succeeds, but takes
5855     # about 5 minutes as the teststring grows exponentially.
5856     # Worse, since 9x/ME are not pre-emptively multitasking,
5857     # you end up with a "frozen" computer, even though with patience
5858     # the test eventually succeeds (with a max line length of 256k).
5859     # Instead, let's just punt: use the minimum linelength reported by
5860     # all of the supported platforms: 8192 (on NT/2K/XP).
5861     lt_cv_sys_max_cmd_len=8192;
5862     ;;
5863
5864   mint*)
5865     # On MiNT this can take a long time and run out of memory.
5866     lt_cv_sys_max_cmd_len=8192;
5867     ;;
5868
5869   amigaos*)
5870     # On AmigaOS with pdksh, this test takes hours, literally.
5871     # So we just punt and use a minimum line length of 8192.
5872     lt_cv_sys_max_cmd_len=8192;
5873     ;;
5874
5875   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5876     # This has been around since 386BSD, at least.  Likely further.
5877     if test -x /sbin/sysctl; then
5878       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5879     elif test -x /usr/sbin/sysctl; then
5880       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5881     else
5882       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5883     fi
5884     # And add a safety zone
5885     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5886     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5887     ;;
5888
5889   interix*)
5890     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5891     lt_cv_sys_max_cmd_len=196608
5892     ;;
5893
5894   osf*)
5895     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5896     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5897     # nice to cause kernel panics so lets avoid the loop below.
5898     # First set a reasonable default.
5899     lt_cv_sys_max_cmd_len=16384
5900     #
5901     if test -x /sbin/sysconfig; then
5902       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5903         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5904       esac
5905     fi
5906     ;;
5907   sco3.2v5*)
5908     lt_cv_sys_max_cmd_len=102400
5909     ;;
5910   sysv5* | sco5v6* | sysv4.2uw2*)
5911     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5912     if test -n "$kargmax"; then
5913       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5914     else
5915       lt_cv_sys_max_cmd_len=32768
5916     fi
5917     ;;
5918   *)
5919     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5920     if test -n "$lt_cv_sys_max_cmd_len"; then
5921       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5922       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5923     else
5924       # Make teststring a little bigger before we do anything with it.
5925       # a 1K string should be a reasonable start.
5926       for i in 1 2 3 4 5 6 7 8 ; do
5927         teststring=$teststring$teststring
5928       done
5929       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5930       # If test is not a shell built-in, we'll probably end up computing a
5931       # maximum length that is only half of the actual maximum length, but
5932       # we can't tell.
5933       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5934                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5935               test $i != 17 # 1/2 MB should be enough
5936       do
5937         i=`expr $i + 1`
5938         teststring=$teststring$teststring
5939       done
5940       # Only check the string length outside the loop.
5941       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5942       teststring=
5943       # Add a significant safety factor because C++ compilers can tack on
5944       # massive amounts of additional arguments before passing them to the
5945       # linker.  It appears as though 1/2 is a usable value.
5946       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5947     fi
5948     ;;
5949   esac
5950
5951 fi
5952
5953 if test -n $lt_cv_sys_max_cmd_len ; then
5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5955 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5956 else
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5958 $as_echo "none" >&6; }
5959 fi
5960 max_cmd_len=$lt_cv_sys_max_cmd_len
5961
5962
5963
5964
5965
5966
5967 : ${CP="cp -f"}
5968 : ${MV="mv -f"}
5969 : ${RM="rm -f"}
5970
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5972 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5973 # Try some XSI features
5974 xsi_shell=no
5975 ( _lt_dummy="a/b/c"
5976   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5977       = c,a/b,, \
5978     && eval 'test $(( 1 + 1 )) -eq 2 \
5979     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5980   && xsi_shell=yes
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5982 $as_echo "$xsi_shell" >&6; }
5983
5984
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5986 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5987 lt_shell_append=no
5988 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5989     >/dev/null 2>&1 \
5990   && lt_shell_append=yes
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5992 $as_echo "$lt_shell_append" >&6; }
5993
5994
5995 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5996   lt_unset=unset
5997 else
5998   lt_unset=false
5999 fi
6000
6001
6002
6003
6004
6005 # test EBCDIC or ASCII
6006 case `echo X|tr X '\101'` in
6007  A) # ASCII based system
6008     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6009   lt_SP2NL='tr \040 \012'
6010   lt_NL2SP='tr \015\012 \040\040'
6011   ;;
6012  *) # EBCDIC based system
6013   lt_SP2NL='tr \100 \n'
6014   lt_NL2SP='tr \r\n \100\100'
6015   ;;
6016 esac
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6027 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6028 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6029   $as_echo_n "(cached) " >&6
6030 else
6031   lt_cv_ld_reload_flag='-r'
6032 fi
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6034 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6035 reload_flag=$lt_cv_ld_reload_flag
6036 case $reload_flag in
6037 "" | " "*) ;;
6038 *) reload_flag=" $reload_flag" ;;
6039 esac
6040 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6041 case $host_os in
6042   darwin*)
6043     if test "$GCC" = yes; then
6044       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6045     else
6046       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6047     fi
6048     ;;
6049 esac
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059 if test -n "$ac_tool_prefix"; then
6060   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6061 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6065   $as_echo_n "(cached) " >&6
6066 else
6067   if test -n "$OBJDUMP"; then
6068   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6072 do
6073   IFS=$as_save_IFS
6074   test -z "$as_dir" && as_dir=.
6075     for ac_exec_ext in '' $ac_executable_extensions; do
6076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079     break 2
6080   fi
6081 done
6082   done
6083 IFS=$as_save_IFS
6084
6085 fi
6086 fi
6087 OBJDUMP=$ac_cv_prog_OBJDUMP
6088 if test -n "$OBJDUMP"; then
6089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6090 $as_echo "$OBJDUMP" >&6; }
6091 else
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6094 fi
6095
6096
6097 fi
6098 if test -z "$ac_cv_prog_OBJDUMP"; then
6099   ac_ct_OBJDUMP=$OBJDUMP
6100   # Extract the first word of "objdump", so it can be a program name with args.
6101 set dummy objdump; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6105   $as_echo_n "(cached) " >&6
6106 else
6107   if test -n "$ac_ct_OBJDUMP"; then
6108   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6112 do
6113   IFS=$as_save_IFS
6114   test -z "$as_dir" && as_dir=.
6115     for ac_exec_ext in '' $ac_executable_extensions; do
6116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119     break 2
6120   fi
6121 done
6122   done
6123 IFS=$as_save_IFS
6124
6125 fi
6126 fi
6127 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6128 if test -n "$ac_ct_OBJDUMP"; then
6129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6130 $as_echo "$ac_ct_OBJDUMP" >&6; }
6131 else
6132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6134 fi
6135
6136   if test "x$ac_ct_OBJDUMP" = x; then
6137     OBJDUMP="false"
6138   else
6139     case $cross_compiling:$ac_tool_warned in
6140 yes:)
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6143 ac_tool_warned=yes ;;
6144 esac
6145     OBJDUMP=$ac_ct_OBJDUMP
6146   fi
6147 else
6148   OBJDUMP="$ac_cv_prog_OBJDUMP"
6149 fi
6150
6151 test -z "$OBJDUMP" && OBJDUMP=objdump
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6162 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6163 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6164   $as_echo_n "(cached) " >&6
6165 else
6166   lt_cv_file_magic_cmd='$MAGIC_CMD'
6167 lt_cv_file_magic_test_file=
6168 lt_cv_deplibs_check_method='unknown'
6169 # Need to set the preceding variable on all platforms that support
6170 # interlibrary dependencies.
6171 # 'none' -- dependencies not supported.
6172 # `unknown' -- same as none, but documents that we really don't know.
6173 # 'pass_all' -- all dependencies passed with no checks.
6174 # 'test_compile' -- check by making test program.
6175 # 'file_magic [[regex]]' -- check by looking for files in library path
6176 # which responds to the $file_magic_cmd with a given extended regex.
6177 # If you have `file' or equivalent on your system and you're not sure
6178 # whether `pass_all' will *always* work, you probably want this one.
6179
6180 case $host_os in
6181 aix[4-9]*)
6182   lt_cv_deplibs_check_method=pass_all
6183   ;;
6184
6185 beos*)
6186   lt_cv_deplibs_check_method=pass_all
6187   ;;
6188
6189 bsdi[45]*)
6190   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6191   lt_cv_file_magic_cmd='/usr/bin/file -L'
6192   lt_cv_file_magic_test_file=/shlib/libc.so
6193   ;;
6194
6195 cygwin*)
6196   # func_win32_libid is a shell function defined in ltmain.sh
6197   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6198   lt_cv_file_magic_cmd='func_win32_libid'
6199   ;;
6200
6201 mingw* | pw32*)
6202   # Base MSYS/MinGW do not provide the 'file' command needed by
6203   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6204   # unless we find 'file', for example because we are cross-compiling.
6205   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6206   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6207     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6208     lt_cv_file_magic_cmd='func_win32_libid'
6209   else
6210     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6211     lt_cv_file_magic_cmd='$OBJDUMP -f'
6212   fi
6213   ;;
6214
6215 cegcc*)
6216   # use the weaker test based on 'objdump'. See mingw*.
6217   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6218   lt_cv_file_magic_cmd='$OBJDUMP -f'
6219   ;;
6220
6221 darwin* | rhapsody*)
6222   lt_cv_deplibs_check_method=pass_all
6223   ;;
6224
6225 freebsd* | dragonfly*)
6226   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6227     case $host_cpu in
6228     i*86 )
6229       # Not sure whether the presence of OpenBSD here was a mistake.
6230       # Let's accept both of them until this is cleared up.
6231       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6232       lt_cv_file_magic_cmd=/usr/bin/file
6233       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6234       ;;
6235     esac
6236   else
6237     lt_cv_deplibs_check_method=pass_all
6238   fi
6239   ;;
6240
6241 gnu*)
6242   lt_cv_deplibs_check_method=pass_all
6243   ;;
6244
6245 haiku*)
6246   lt_cv_deplibs_check_method=pass_all
6247   ;;
6248
6249 hpux10.20* | hpux11*)
6250   lt_cv_file_magic_cmd=/usr/bin/file
6251   case $host_cpu in
6252   ia64*)
6253     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6254     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6255     ;;
6256   hppa*64*)
6257     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6258     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6259     ;;
6260   *)
6261     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6262     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6263     ;;
6264   esac
6265   ;;
6266
6267 interix[3-9]*)
6268   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6269   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6270   ;;
6271
6272 irix5* | irix6* | nonstopux*)
6273   case $LD in
6274   *-32|*"-32 ") libmagic=32-bit;;
6275   *-n32|*"-n32 ") libmagic=N32;;
6276   *-64|*"-64 ") libmagic=64-bit;;
6277   *) libmagic=never-match;;
6278   esac
6279   lt_cv_deplibs_check_method=pass_all
6280   ;;
6281
6282 # This must be Linux ELF.
6283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6284   lt_cv_deplibs_check_method=pass_all
6285   ;;
6286
6287 netbsd*)
6288   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6290   else
6291     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6292   fi
6293   ;;
6294
6295 newos6*)
6296   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6297   lt_cv_file_magic_cmd=/usr/bin/file
6298   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6299   ;;
6300
6301 *nto* | *qnx*)
6302   lt_cv_deplibs_check_method=pass_all
6303   ;;
6304
6305 openbsd*)
6306   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6307     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6308   else
6309     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6310   fi
6311   ;;
6312
6313 osf3* | osf4* | osf5*)
6314   lt_cv_deplibs_check_method=pass_all
6315   ;;
6316
6317 rdos*)
6318   lt_cv_deplibs_check_method=pass_all
6319   ;;
6320
6321 solaris*)
6322   lt_cv_deplibs_check_method=pass_all
6323   ;;
6324
6325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6326   lt_cv_deplibs_check_method=pass_all
6327   ;;
6328
6329 sysv4 | sysv4.3*)
6330   case $host_vendor in
6331   motorola)
6332     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6333     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6334     ;;
6335   ncr)
6336     lt_cv_deplibs_check_method=pass_all
6337     ;;
6338   sequent)
6339     lt_cv_file_magic_cmd='/bin/file'
6340     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6341     ;;
6342   sni)
6343     lt_cv_file_magic_cmd='/bin/file'
6344     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6345     lt_cv_file_magic_test_file=/lib/libc.so
6346     ;;
6347   siemens)
6348     lt_cv_deplibs_check_method=pass_all
6349     ;;
6350   pc)
6351     lt_cv_deplibs_check_method=pass_all
6352     ;;
6353   esac
6354   ;;
6355
6356 tpf*)
6357   lt_cv_deplibs_check_method=pass_all
6358   ;;
6359 esac
6360
6361 fi
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6364 file_magic_cmd=$lt_cv_file_magic_cmd
6365 deplibs_check_method=$lt_cv_deplibs_check_method
6366 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379 if test -n "$ac_tool_prefix"; then
6380   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6381 set dummy ${ac_tool_prefix}ar; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if test "${ac_cv_prog_AR+set}" = set; then :
6385   $as_echo_n "(cached) " >&6
6386 else
6387   if test -n "$AR"; then
6388   ac_cv_prog_AR="$AR" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6392 do
6393   IFS=$as_save_IFS
6394   test -z "$as_dir" && as_dir=.
6395     for ac_exec_ext in '' $ac_executable_extensions; do
6396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397     ac_cv_prog_AR="${ac_tool_prefix}ar"
6398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399     break 2
6400   fi
6401 done
6402   done
6403 IFS=$as_save_IFS
6404
6405 fi
6406 fi
6407 AR=$ac_cv_prog_AR
6408 if test -n "$AR"; then
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6410 $as_echo "$AR" >&6; }
6411 else
6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6414 fi
6415
6416
6417 fi
6418 if test -z "$ac_cv_prog_AR"; then
6419   ac_ct_AR=$AR
6420   # Extract the first word of "ar", so it can be a program name with args.
6421 set dummy ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6425   $as_echo_n "(cached) " >&6
6426 else
6427   if test -n "$ac_ct_AR"; then
6428   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6432 do
6433   IFS=$as_save_IFS
6434   test -z "$as_dir" && as_dir=.
6435     for ac_exec_ext in '' $ac_executable_extensions; do
6436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437     ac_cv_prog_ac_ct_AR="ar"
6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439     break 2
6440   fi
6441 done
6442   done
6443 IFS=$as_save_IFS
6444
6445 fi
6446 fi
6447 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6448 if test -n "$ac_ct_AR"; then
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6450 $as_echo "$ac_ct_AR" >&6; }
6451 else
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6454 fi
6455
6456   if test "x$ac_ct_AR" = x; then
6457     AR="false"
6458   else
6459     case $cross_compiling:$ac_tool_warned in
6460 yes:)
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6463 ac_tool_warned=yes ;;
6464 esac
6465     AR=$ac_ct_AR
6466   fi
6467 else
6468   AR="$ac_cv_prog_AR"
6469 fi
6470
6471 test -z "$AR" && AR=ar
6472 test -z "$AR_FLAGS" && AR_FLAGS=cru
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484 if test -n "$ac_tool_prefix"; then
6485   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6486 set dummy ${ac_tool_prefix}strip; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_STRIP+set}" = set; then :
6490   $as_echo_n "(cached) " >&6
6491 else
6492   if test -n "$STRIP"; then
6493   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6497 do
6498   IFS=$as_save_IFS
6499   test -z "$as_dir" && as_dir=.
6500     for ac_exec_ext in '' $ac_executable_extensions; do
6501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504     break 2
6505   fi
6506 done
6507   done
6508 IFS=$as_save_IFS
6509
6510 fi
6511 fi
6512 STRIP=$ac_cv_prog_STRIP
6513 if test -n "$STRIP"; then
6514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6515 $as_echo "$STRIP" >&6; }
6516 else
6517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6519 fi
6520
6521
6522 fi
6523 if test -z "$ac_cv_prog_STRIP"; then
6524   ac_ct_STRIP=$STRIP
6525   # Extract the first word of "strip", so it can be a program name with args.
6526 set dummy strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   if test -n "$ac_ct_STRIP"; then
6533   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6537 do
6538   IFS=$as_save_IFS
6539   test -z "$as_dir" && as_dir=.
6540     for ac_exec_ext in '' $ac_executable_extensions; do
6541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542     ac_cv_prog_ac_ct_STRIP="strip"
6543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544     break 2
6545   fi
6546 done
6547   done
6548 IFS=$as_save_IFS
6549
6550 fi
6551 fi
6552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6553 if test -n "$ac_ct_STRIP"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6555 $as_echo "$ac_ct_STRIP" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6559 fi
6560
6561   if test "x$ac_ct_STRIP" = x; then
6562     STRIP=":"
6563   else
6564     case $cross_compiling:$ac_tool_warned in
6565 yes:)
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6568 ac_tool_warned=yes ;;
6569 esac
6570     STRIP=$ac_ct_STRIP
6571   fi
6572 else
6573   STRIP="$ac_cv_prog_STRIP"
6574 fi
6575
6576 test -z "$STRIP" && STRIP=:
6577
6578
6579
6580
6581
6582
6583 if test -n "$ac_tool_prefix"; then
6584   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6589   $as_echo_n "(cached) " >&6
6590 else
6591   if test -n "$RANLIB"; then
6592   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6596 do
6597   IFS=$as_save_IFS
6598   test -z "$as_dir" && as_dir=.
6599     for ac_exec_ext in '' $ac_executable_extensions; do
6600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603     break 2
6604   fi
6605 done
6606   done
6607 IFS=$as_save_IFS
6608
6609 fi
6610 fi
6611 RANLIB=$ac_cv_prog_RANLIB
6612 if test -n "$RANLIB"; then
6613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6614 $as_echo "$RANLIB" >&6; }
6615 else
6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6618 fi
6619
6620
6621 fi
6622 if test -z "$ac_cv_prog_RANLIB"; then
6623   ac_ct_RANLIB=$RANLIB
6624   # Extract the first word of "ranlib", so it can be a program name with args.
6625 set dummy ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6629   $as_echo_n "(cached) " >&6
6630 else
6631   if test -n "$ac_ct_RANLIB"; then
6632   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6636 do
6637   IFS=$as_save_IFS
6638   test -z "$as_dir" && as_dir=.
6639     for ac_exec_ext in '' $ac_executable_extensions; do
6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641     ac_cv_prog_ac_ct_RANLIB="ranlib"
6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643     break 2
6644   fi
6645 done
6646   done
6647 IFS=$as_save_IFS
6648
6649 fi
6650 fi
6651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6652 if test -n "$ac_ct_RANLIB"; then
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6654 $as_echo "$ac_ct_RANLIB" >&6; }
6655 else
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 fi
6659
6660   if test "x$ac_ct_RANLIB" = x; then
6661     RANLIB=":"
6662   else
6663     case $cross_compiling:$ac_tool_warned in
6664 yes:)
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6667 ac_tool_warned=yes ;;
6668 esac
6669     RANLIB=$ac_ct_RANLIB
6670   fi
6671 else
6672   RANLIB="$ac_cv_prog_RANLIB"
6673 fi
6674
6675 test -z "$RANLIB" && RANLIB=:
6676
6677
6678
6679
6680
6681
6682 # Determine commands to create old-style static archives.
6683 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6684 old_postinstall_cmds='chmod 644 $oldlib'
6685 old_postuninstall_cmds=
6686
6687 if test -n "$RANLIB"; then
6688   case $host_os in
6689   openbsd*)
6690     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6691     ;;
6692   *)
6693     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6694     ;;
6695   esac
6696   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6697 fi
6698
6699 case $host_os in
6700   darwin*)
6701     lock_old_archive_extraction=yes ;;
6702   *)
6703     lock_old_archive_extraction=no ;;
6704 esac
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744 # If no C compiler was specified, use CC.
6745 LTCC=${LTCC-"$CC"}
6746
6747 # If no C compiler flags were specified, use CFLAGS.
6748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6749
6750 # Allow CC to be a program name with arguments.
6751 compiler=$CC
6752
6753
6754 # Check for command to grab the raw symbol name followed by C symbol from nm.
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6756 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6757 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6758   $as_echo_n "(cached) " >&6
6759 else
6760
6761 # These are sane defaults that work on at least a few old systems.
6762 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6763
6764 # Character class describing NM global symbol codes.
6765 symcode='[BCDEGRST]'
6766
6767 # Regexp to match symbols that can be accessed directly from C.
6768 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6769
6770 # Define system-specific variables.
6771 case $host_os in
6772 aix*)
6773   symcode='[BCDT]'
6774   ;;
6775 cygwin* | mingw* | pw32* | cegcc*)
6776   symcode='[ABCDGISTW]'
6777   ;;
6778 hpux*)
6779   if test "$host_cpu" = ia64; then
6780     symcode='[ABCDEGRST]'
6781   fi
6782   ;;
6783 irix* | nonstopux*)
6784   symcode='[BCDEGRST]'
6785   ;;
6786 osf*)
6787   symcode='[BCDEGQRST]'
6788   ;;
6789 solaris*)
6790   symcode='[BDRT]'
6791   ;;
6792 sco3.2v5*)
6793   symcode='[DT]'
6794   ;;
6795 sysv4.2uw2*)
6796   symcode='[DT]'
6797   ;;
6798 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6799   symcode='[ABDT]'
6800   ;;
6801 sysv4)
6802   symcode='[DFNSTU]'
6803   ;;
6804 esac
6805
6806 # If we're using GNU nm, then use its standard symbol codes.
6807 case `$NM -V 2>&1` in
6808 *GNU* | *'with BFD'*)
6809   symcode='[ABCDGIRSTW]' ;;
6810 esac
6811
6812 # Transform an extracted symbol line into a proper C declaration.
6813 # Some systems (esp. on ia64) link data and code symbols differently,
6814 # so use this general approach.
6815 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6816
6817 # Transform an extracted symbol line into symbol name and symbol address
6818 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6819 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6820
6821 # Handle CRLF in mingw tool chain
6822 opt_cr=
6823 case $build_os in
6824 mingw*)
6825   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6826   ;;
6827 esac
6828
6829 # Try without a prefix underscore, then with it.
6830 for ac_symprfx in "" "_"; do
6831
6832   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6833   symxfrm="\\1 $ac_symprfx\\2 \\2"
6834
6835   # Write the raw and C identifiers.
6836   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6837     # Fake it for dumpbin and say T for any non-static function
6838     # and D for any global variable.
6839     # Also find C++ and __fastcall symbols from MSVC++,
6840     # which start with @ or ?.
6841     lt_cv_sys_global_symbol_pipe="$AWK '"\
6842 "     {last_section=section; section=\$ 3};"\
6843 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6844 "     \$ 0!~/External *\|/{next};"\
6845 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6846 "     {if(hide[section]) next};"\
6847 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6848 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6849 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6850 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6851 "     ' prfx=^$ac_symprfx"
6852   else
6853     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6854   fi
6855
6856   # Check to see that the pipe works correctly.
6857   pipe_works=no
6858
6859   rm -f conftest*
6860   cat > conftest.$ac_ext <<_LT_EOF
6861 #ifdef __cplusplus
6862 extern "C" {
6863 #endif
6864 char nm_test_var;
6865 void nm_test_func(void);
6866 void nm_test_func(void){}
6867 #ifdef __cplusplus
6868 }
6869 #endif
6870 int main(){nm_test_var='a';nm_test_func();return(0);}
6871 _LT_EOF
6872
6873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6874   (eval $ac_compile) 2>&5
6875   ac_status=$?
6876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6877   test $ac_status = 0; }; then
6878     # Now try to grab the symbols.
6879     nlist=conftest.nm
6880     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6881   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6882   ac_status=$?
6883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6884   test $ac_status = 0; } && test -s "$nlist"; then
6885       # Try sorting and uniquifying the output.
6886       if sort "$nlist" | uniq > "$nlist"T; then
6887         mv -f "$nlist"T "$nlist"
6888       else
6889         rm -f "$nlist"T
6890       fi
6891
6892       # Make sure that we snagged all the symbols we need.
6893       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6894         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6895           cat <<_LT_EOF > conftest.$ac_ext
6896 #ifdef __cplusplus
6897 extern "C" {
6898 #endif
6899
6900 _LT_EOF
6901           # Now generate the symbol file.
6902           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6903
6904           cat <<_LT_EOF >> conftest.$ac_ext
6905
6906 /* The mapping between symbol names and symbols.  */
6907 const struct {
6908   const char *name;
6909   void       *address;
6910 }
6911 lt__PROGRAM__LTX_preloaded_symbols[] =
6912 {
6913   { "@PROGRAM@", (void *) 0 },
6914 _LT_EOF
6915           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6916           cat <<\_LT_EOF >> conftest.$ac_ext
6917   {0, (void *) 0}
6918 };
6919
6920 /* This works around a problem in FreeBSD linker */
6921 #ifdef FREEBSD_WORKAROUND
6922 static const void *lt_preloaded_setup() {
6923   return lt__PROGRAM__LTX_preloaded_symbols;
6924 }
6925 #endif
6926
6927 #ifdef __cplusplus
6928 }
6929 #endif
6930 _LT_EOF
6931           # Now try linking the two files.
6932           mv conftest.$ac_objext conftstm.$ac_objext
6933           lt_save_LIBS="$LIBS"
6934           lt_save_CFLAGS="$CFLAGS"
6935           LIBS="conftstm.$ac_objext"
6936           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6937           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6938   (eval $ac_link) 2>&5
6939   ac_status=$?
6940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6942             pipe_works=yes
6943           fi
6944           LIBS="$lt_save_LIBS"
6945           CFLAGS="$lt_save_CFLAGS"
6946         else
6947           echo "cannot find nm_test_func in $nlist" >&5
6948         fi
6949       else
6950         echo "cannot find nm_test_var in $nlist" >&5
6951       fi
6952     else
6953       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6954     fi
6955   else
6956     echo "$progname: failed program was:" >&5
6957     cat conftest.$ac_ext >&5
6958   fi
6959   rm -rf conftest* conftst*
6960
6961   # Do not use the global_symbol_pipe unless it works.
6962   if test "$pipe_works" = yes; then
6963     break
6964   else
6965     lt_cv_sys_global_symbol_pipe=
6966   fi
6967 done
6968
6969 fi
6970
6971 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6972   lt_cv_sys_global_symbol_to_cdecl=
6973 fi
6974 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6976 $as_echo "failed" >&6; }
6977 else
6978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6979 $as_echo "ok" >&6; }
6980 fi
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003 # Check whether --enable-libtool-lock was given.
7004 if test "${enable_libtool_lock+set}" = set; then :
7005   enableval=$enable_libtool_lock;
7006 fi
7007
7008 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7009
7010 # Some flags need to be propagated to the compiler or linker for good
7011 # libtool support.
7012 case $host in
7013 ia64-*-hpux*)
7014   # Find out which ABI we are using.
7015   echo 'int i;' > conftest.$ac_ext
7016   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7017   (eval $ac_compile) 2>&5
7018   ac_status=$?
7019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7020   test $ac_status = 0; }; then
7021     case `/usr/bin/file conftest.$ac_objext` in
7022       *ELF-32*)
7023         HPUX_IA64_MODE="32"
7024         ;;
7025       *ELF-64*)
7026         HPUX_IA64_MODE="64"
7027         ;;
7028     esac
7029   fi
7030   rm -rf conftest*
7031   ;;
7032 *-*-irix6*)
7033   # Find out which ABI we are using.
7034   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7035   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7036   (eval $ac_compile) 2>&5
7037   ac_status=$?
7038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7039   test $ac_status = 0; }; then
7040     if test "$lt_cv_prog_gnu_ld" = yes; then
7041       case `/usr/bin/file conftest.$ac_objext` in
7042         *32-bit*)
7043           LD="${LD-ld} -melf32bsmip"
7044           ;;
7045         *N32*)
7046           LD="${LD-ld} -melf32bmipn32"
7047           ;;
7048         *64-bit*)
7049           LD="${LD-ld} -melf64bmip"
7050         ;;
7051       esac
7052     else
7053       case `/usr/bin/file conftest.$ac_objext` in
7054         *32-bit*)
7055           LD="${LD-ld} -32"
7056           ;;
7057         *N32*)
7058           LD="${LD-ld} -n32"
7059           ;;
7060         *64-bit*)
7061           LD="${LD-ld} -64"
7062           ;;
7063       esac
7064     fi
7065   fi
7066   rm -rf conftest*
7067   ;;
7068
7069 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7070 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7071   # Find out which ABI we are using.
7072   echo 'int i;' > conftest.$ac_ext
7073   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074   (eval $ac_compile) 2>&5
7075   ac_status=$?
7076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077   test $ac_status = 0; }; then
7078     case `/usr/bin/file conftest.o` in
7079       *32-bit*)
7080         case $host in
7081           x86_64-*kfreebsd*-gnu)
7082             LD="${LD-ld} -m elf_i386_fbsd"
7083             ;;
7084           x86_64-*linux*)
7085             LD="${LD-ld} -m elf_i386"
7086             ;;
7087           ppc64-*linux*|powerpc64-*linux*)
7088             LD="${LD-ld} -m elf32ppclinux"
7089             ;;
7090           s390x-*linux*)
7091             LD="${LD-ld} -m elf_s390"
7092             ;;
7093           sparc64-*linux*)
7094             LD="${LD-ld} -m elf32_sparc"
7095             ;;
7096         esac
7097         ;;
7098       *64-bit*)
7099         case $host in
7100           x86_64-*kfreebsd*-gnu)
7101             LD="${LD-ld} -m elf_x86_64_fbsd"
7102             ;;
7103           x86_64-*linux*)
7104             LD="${LD-ld} -m elf_x86_64"
7105             ;;
7106           ppc*-*linux*|powerpc*-*linux*)
7107             LD="${LD-ld} -m elf64ppc"
7108             ;;
7109           s390*-*linux*|s390*-*tpf*)
7110             LD="${LD-ld} -m elf64_s390"
7111             ;;
7112           sparc*-*linux*)
7113             LD="${LD-ld} -m elf64_sparc"
7114             ;;
7115         esac
7116         ;;
7117     esac
7118   fi
7119   rm -rf conftest*
7120   ;;
7121
7122 *-*-sco3.2v5*)
7123   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7124   SAVE_CFLAGS="$CFLAGS"
7125   CFLAGS="$CFLAGS -belf"
7126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7127 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7128 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7129   $as_echo_n "(cached) " >&6
7130 else
7131   ac_ext=c
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136
7137      if test x$gcc_no_link = xyes; then
7138   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7139 fi
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h.  */
7142
7143 int
7144 main ()
7145 {
7146
7147   ;
7148   return 0;
7149 }
7150 _ACEOF
7151 if ac_fn_c_try_link "$LINENO"; then :
7152   lt_cv_cc_needs_belf=yes
7153 else
7154   lt_cv_cc_needs_belf=no
7155 fi
7156 rm -f core conftest.err conftest.$ac_objext \
7157     conftest$ac_exeext conftest.$ac_ext
7158      ac_ext=c
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7163
7164 fi
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7166 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7167   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7168     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7169     CFLAGS="$SAVE_CFLAGS"
7170   fi
7171   ;;
7172 sparc*-*solaris*)
7173   # Find out which ABI we are using.
7174   echo 'int i;' > conftest.$ac_ext
7175   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7176   (eval $ac_compile) 2>&5
7177   ac_status=$?
7178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7179   test $ac_status = 0; }; then
7180     case `/usr/bin/file conftest.o` in
7181     *64-bit*)
7182       case $lt_cv_prog_gnu_ld in
7183       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7184       *)
7185         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7186           LD="${LD-ld} -64"
7187         fi
7188         ;;
7189       esac
7190       ;;
7191     esac
7192   fi
7193   rm -rf conftest*
7194   ;;
7195 esac
7196
7197 need_locks="$enable_libtool_lock"
7198
7199
7200   case $host_os in
7201     rhapsody* | darwin*)
7202     if test -n "$ac_tool_prefix"; then
7203   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7204 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7208   $as_echo_n "(cached) " >&6
7209 else
7210   if test -n "$DSYMUTIL"; then
7211   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7215 do
7216   IFS=$as_save_IFS
7217   test -z "$as_dir" && as_dir=.
7218     for ac_exec_ext in '' $ac_executable_extensions; do
7219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222     break 2
7223   fi
7224 done
7225   done
7226 IFS=$as_save_IFS
7227
7228 fi
7229 fi
7230 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7231 if test -n "$DSYMUTIL"; then
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7233 $as_echo "$DSYMUTIL" >&6; }
7234 else
7235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7237 fi
7238
7239
7240 fi
7241 if test -z "$ac_cv_prog_DSYMUTIL"; then
7242   ac_ct_DSYMUTIL=$DSYMUTIL
7243   # Extract the first word of "dsymutil", so it can be a program name with args.
7244 set dummy dsymutil; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7248   $as_echo_n "(cached) " >&6
7249 else
7250   if test -n "$ac_ct_DSYMUTIL"; then
7251   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7255 do
7256   IFS=$as_save_IFS
7257   test -z "$as_dir" && as_dir=.
7258     for ac_exec_ext in '' $ac_executable_extensions; do
7259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262     break 2
7263   fi
7264 done
7265   done
7266 IFS=$as_save_IFS
7267
7268 fi
7269 fi
7270 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7271 if test -n "$ac_ct_DSYMUTIL"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7273 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277 fi
7278
7279   if test "x$ac_ct_DSYMUTIL" = x; then
7280     DSYMUTIL=":"
7281   else
7282     case $cross_compiling:$ac_tool_warned in
7283 yes:)
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7286 ac_tool_warned=yes ;;
7287 esac
7288     DSYMUTIL=$ac_ct_DSYMUTIL
7289   fi
7290 else
7291   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7292 fi
7293
7294     if test -n "$ac_tool_prefix"; then
7295   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7296 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7300   $as_echo_n "(cached) " >&6
7301 else
7302   if test -n "$NMEDIT"; then
7303   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308   IFS=$as_save_IFS
7309   test -z "$as_dir" && as_dir=.
7310     for ac_exec_ext in '' $ac_executable_extensions; do
7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314     break 2
7315   fi
7316 done
7317   done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 NMEDIT=$ac_cv_prog_NMEDIT
7323 if test -n "$NMEDIT"; then
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7325 $as_echo "$NMEDIT" >&6; }
7326 else
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331
7332 fi
7333 if test -z "$ac_cv_prog_NMEDIT"; then
7334   ac_ct_NMEDIT=$NMEDIT
7335   # Extract the first word of "nmedit", so it can be a program name with args.
7336 set dummy nmedit; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$ac_ct_NMEDIT"; then
7343   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350     for ac_exec_ext in '' $ac_executable_extensions; do
7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357   done
7358 IFS=$as_save_IFS
7359
7360 fi
7361 fi
7362 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7363 if test -n "$ac_ct_NMEDIT"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7365 $as_echo "$ac_ct_NMEDIT" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370
7371   if test "x$ac_ct_NMEDIT" = x; then
7372     NMEDIT=":"
7373   else
7374     case $cross_compiling:$ac_tool_warned in
7375 yes:)
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7378 ac_tool_warned=yes ;;
7379 esac
7380     NMEDIT=$ac_ct_NMEDIT
7381   fi
7382 else
7383   NMEDIT="$ac_cv_prog_NMEDIT"
7384 fi
7385
7386     if test -n "$ac_tool_prefix"; then
7387   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7388 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_LIPO+set}" = set; then :
7392   $as_echo_n "(cached) " >&6
7393 else
7394   if test -n "$LIPO"; then
7395   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400   IFS=$as_save_IFS
7401   test -z "$as_dir" && as_dir=.
7402     for ac_exec_ext in '' $ac_executable_extensions; do
7403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406     break 2
7407   fi
7408 done
7409   done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 LIPO=$ac_cv_prog_LIPO
7415 if test -n "$LIPO"; then
7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7417 $as_echo "$LIPO" >&6; }
7418 else
7419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423
7424 fi
7425 if test -z "$ac_cv_prog_LIPO"; then
7426   ac_ct_LIPO=$LIPO
7427   # Extract the first word of "lipo", so it can be a program name with args.
7428 set dummy lipo; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   if test -n "$ac_ct_LIPO"; then
7435   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440   IFS=$as_save_IFS
7441   test -z "$as_dir" && as_dir=.
7442     for ac_exec_ext in '' $ac_executable_extensions; do
7443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444     ac_cv_prog_ac_ct_LIPO="lipo"
7445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446     break 2
7447   fi
7448 done
7449   done
7450 IFS=$as_save_IFS
7451
7452 fi
7453 fi
7454 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7455 if test -n "$ac_ct_LIPO"; then
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7457 $as_echo "$ac_ct_LIPO" >&6; }
7458 else
7459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7461 fi
7462
7463   if test "x$ac_ct_LIPO" = x; then
7464     LIPO=":"
7465   else
7466     case $cross_compiling:$ac_tool_warned in
7467 yes:)
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned=yes ;;
7471 esac
7472     LIPO=$ac_ct_LIPO
7473   fi
7474 else
7475   LIPO="$ac_cv_prog_LIPO"
7476 fi
7477
7478     if test -n "$ac_tool_prefix"; then
7479   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7480 set dummy ${ac_tool_prefix}otool; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   if test -n "$OTOOL"; then
7487   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492   IFS=$as_save_IFS
7493   test -z "$as_dir" && as_dir=.
7494     for ac_exec_ext in '' $ac_executable_extensions; do
7495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498     break 2
7499   fi
7500 done
7501   done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 OTOOL=$ac_cv_prog_OTOOL
7507 if test -n "$OTOOL"; then
7508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7509 $as_echo "$OTOOL" >&6; }
7510 else
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515
7516 fi
7517 if test -z "$ac_cv_prog_OTOOL"; then
7518   ac_ct_OTOOL=$OTOOL
7519   # Extract the first word of "otool", so it can be a program name with args.
7520 set dummy otool; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526   if test -n "$ac_ct_OTOOL"; then
7527   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7531 do
7532   IFS=$as_save_IFS
7533   test -z "$as_dir" && as_dir=.
7534     for ac_exec_ext in '' $ac_executable_extensions; do
7535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536     ac_cv_prog_ac_ct_OTOOL="otool"
7537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538     break 2
7539   fi
7540 done
7541   done
7542 IFS=$as_save_IFS
7543
7544 fi
7545 fi
7546 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7547 if test -n "$ac_ct_OTOOL"; then
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7549 $as_echo "$ac_ct_OTOOL" >&6; }
7550 else
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7553 fi
7554
7555   if test "x$ac_ct_OTOOL" = x; then
7556     OTOOL=":"
7557   else
7558     case $cross_compiling:$ac_tool_warned in
7559 yes:)
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7562 ac_tool_warned=yes ;;
7563 esac
7564     OTOOL=$ac_ct_OTOOL
7565   fi
7566 else
7567   OTOOL="$ac_cv_prog_OTOOL"
7568 fi
7569
7570     if test -n "$ac_tool_prefix"; then
7571   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7572 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7576   $as_echo_n "(cached) " >&6
7577 else
7578   if test -n "$OTOOL64"; then
7579   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584   IFS=$as_save_IFS
7585   test -z "$as_dir" && as_dir=.
7586     for ac_exec_ext in '' $ac_executable_extensions; do
7587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590     break 2
7591   fi
7592 done
7593   done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 OTOOL64=$ac_cv_prog_OTOOL64
7599 if test -n "$OTOOL64"; then
7600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7601 $as_echo "$OTOOL64" >&6; }
7602 else
7603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607
7608 fi
7609 if test -z "$ac_cv_prog_OTOOL64"; then
7610   ac_ct_OTOOL64=$OTOOL64
7611   # Extract the first word of "otool64", so it can be a program name with args.
7612 set dummy otool64; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7616   $as_echo_n "(cached) " >&6
7617 else
7618   if test -n "$ac_ct_OTOOL64"; then
7619   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7623 do
7624   IFS=$as_save_IFS
7625   test -z "$as_dir" && as_dir=.
7626     for ac_exec_ext in '' $ac_executable_extensions; do
7627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628     ac_cv_prog_ac_ct_OTOOL64="otool64"
7629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630     break 2
7631   fi
7632 done
7633   done
7634 IFS=$as_save_IFS
7635
7636 fi
7637 fi
7638 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7639 if test -n "$ac_ct_OTOOL64"; then
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7641 $as_echo "$ac_ct_OTOOL64" >&6; }
7642 else
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7645 fi
7646
7647   if test "x$ac_ct_OTOOL64" = x; then
7648     OTOOL64=":"
7649   else
7650     case $cross_compiling:$ac_tool_warned in
7651 yes:)
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7654 ac_tool_warned=yes ;;
7655 esac
7656     OTOOL64=$ac_ct_OTOOL64
7657   fi
7658 else
7659   OTOOL64="$ac_cv_prog_OTOOL64"
7660 fi
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7689 $as_echo_n "checking for -single_module linker flag... " >&6; }
7690 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7691   $as_echo_n "(cached) " >&6
7692 else
7693   lt_cv_apple_cc_single_mod=no
7694       if test -z "${LT_MULTI_MODULE}"; then
7695         # By default we will add the -single_module flag. You can override
7696         # by either setting the environment variable LT_MULTI_MODULE
7697         # non-empty at configure time, or by adding -multi_module to the
7698         # link flags.
7699         rm -rf libconftest.dylib*
7700         echo "int foo(void){return 1;}" > conftest.c
7701         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7702 -dynamiclib -Wl,-single_module conftest.c" >&5
7703         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7704           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7705         _lt_result=$?
7706         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7707           lt_cv_apple_cc_single_mod=yes
7708         else
7709           cat conftest.err >&5
7710         fi
7711         rm -rf libconftest.dylib*
7712         rm -f conftest.*
7713       fi
7714 fi
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7716 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7718 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7719 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   lt_cv_ld_exported_symbols_list=no
7723       save_LDFLAGS=$LDFLAGS
7724       echo "_main" > conftest.sym
7725       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7726       if test x$gcc_no_link = xyes; then
7727   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7728 fi
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h.  */
7731
7732 int
7733 main ()
7734 {
7735
7736   ;
7737   return 0;
7738 }
7739 _ACEOF
7740 if ac_fn_c_try_link "$LINENO"; then :
7741   lt_cv_ld_exported_symbols_list=yes
7742 else
7743   lt_cv_ld_exported_symbols_list=no
7744 fi
7745 rm -f core conftest.err conftest.$ac_objext \
7746     conftest$ac_exeext conftest.$ac_ext
7747         LDFLAGS="$save_LDFLAGS"
7748
7749 fi
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7751 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7753 $as_echo_n "checking for -force_load linker flag... " >&6; }
7754 if test "${lt_cv_ld_force_load+set}" = set; then :
7755   $as_echo_n "(cached) " >&6
7756 else
7757   lt_cv_ld_force_load=no
7758       cat > conftest.c << _LT_EOF
7759 int forced_loaded() { return 2;}
7760 _LT_EOF
7761       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7762       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7763       echo "$AR cru libconftest.a conftest.o" >&5
7764       $AR cru libconftest.a conftest.o 2>&5
7765       cat > conftest.c << _LT_EOF
7766 int main() { return 0;}
7767 _LT_EOF
7768       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7769       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7770       _lt_result=$?
7771       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7772         lt_cv_ld_force_load=yes
7773       else
7774         cat conftest.err >&5
7775       fi
7776         rm -f conftest.err libconftest.a conftest conftest.c
7777         rm -rf conftest.dSYM
7778
7779 fi
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7781 $as_echo "$lt_cv_ld_force_load" >&6; }
7782     case $host_os in
7783     rhapsody* | darwin1.[012])
7784       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7785     darwin1.*)
7786       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7787     darwin*) # darwin 5.x on
7788       # if running on 10.5 or later, the deployment target defaults
7789       # to the OS version, if on x86, and 10.4, the deployment
7790       # target defaults to 10.4. Don't you love it?
7791       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7792         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7793           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7794         10.[012]*)
7795           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7796         10.*)
7797           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7798       esac
7799     ;;
7800   esac
7801     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7802       _lt_dar_single_mod='$single_module'
7803     fi
7804     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7805       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7806     else
7807       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7808     fi
7809     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7810       _lt_dsymutil='~$DSYMUTIL $lib || :'
7811     else
7812       _lt_dsymutil=
7813     fi
7814     ;;
7815   esac
7816
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7818 $as_echo_n "checking for ANSI C header files... " >&6; }
7819 if test "${ac_cv_header_stdc+set}" = set; then :
7820   $as_echo_n "(cached) " >&6
7821 else
7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h.  */
7824 #include <stdlib.h>
7825 #include <stdarg.h>
7826 #include <string.h>
7827 #include <float.h>
7828
7829 int
7830 main ()
7831 {
7832
7833   ;
7834   return 0;
7835 }
7836 _ACEOF
7837 if ac_fn_c_try_compile "$LINENO"; then :
7838   ac_cv_header_stdc=yes
7839 else
7840   ac_cv_header_stdc=no
7841 fi
7842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7843
7844 if test $ac_cv_header_stdc = yes; then
7845   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h.  */
7848 #include <string.h>
7849
7850 _ACEOF
7851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7852   $EGREP "memchr" >/dev/null 2>&1; then :
7853
7854 else
7855   ac_cv_header_stdc=no
7856 fi
7857 rm -f conftest*
7858
7859 fi
7860
7861 if test $ac_cv_header_stdc = yes; then
7862   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7864 /* end confdefs.h.  */
7865 #include <stdlib.h>
7866
7867 _ACEOF
7868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7869   $EGREP "free" >/dev/null 2>&1; then :
7870
7871 else
7872   ac_cv_header_stdc=no
7873 fi
7874 rm -f conftest*
7875
7876 fi
7877
7878 if test $ac_cv_header_stdc = yes; then
7879   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7880   if test "$cross_compiling" = yes; then :
7881   :
7882 else
7883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h.  */
7885 #include <ctype.h>
7886 #include <stdlib.h>
7887 #if ((' ' & 0x0FF) == 0x020)
7888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7890 #else
7891 # define ISLOWER(c) \
7892                    (('a' <= (c) && (c) <= 'i') \
7893                      || ('j' <= (c) && (c) <= 'r') \
7894                      || ('s' <= (c) && (c) <= 'z'))
7895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7896 #endif
7897
7898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7899 int
7900 main ()
7901 {
7902   int i;
7903   for (i = 0; i < 256; i++)
7904     if (XOR (islower (i), ISLOWER (i))
7905         || toupper (i) != TOUPPER (i))
7906       return 2;
7907   return 0;
7908 }
7909 _ACEOF
7910 if ac_fn_c_try_run "$LINENO"; then :
7911
7912 else
7913   ac_cv_header_stdc=no
7914 fi
7915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7916   conftest.$ac_objext conftest.beam conftest.$ac_ext
7917 fi
7918
7919 fi
7920 fi
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7922 $as_echo "$ac_cv_header_stdc" >&6; }
7923 if test $ac_cv_header_stdc = yes; then
7924
7925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7926
7927 fi
7928
7929 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7930 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7931                   inttypes.h stdint.h unistd.h
7932 do :
7933   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7934 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7935 "
7936 eval as_val=\$$as_ac_Header
7937    if test "x$as_val" = x""yes; then :
7938   cat >>confdefs.h <<_ACEOF
7939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 _ACEOF
7941
7942 fi
7943
7944 done
7945
7946
7947 for ac_header in dlfcn.h
7948 do :
7949   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7950 "
7951 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7952   cat >>confdefs.h <<_ACEOF
7953 #define HAVE_DLFCN_H 1
7954 _ACEOF
7955
7956 fi
7957
7958 done
7959
7960
7961
7962
7963
7964
7965 # Set options
7966
7967
7968
7969
7970   enable_win32_dll=no
7971
7972
7973             # Check whether --enable-shared was given.
7974 if test "${enable_shared+set}" = set; then :
7975   enableval=$enable_shared; p=${PACKAGE-default}
7976     case $enableval in
7977     yes) enable_shared=yes ;;
7978     no) enable_shared=no ;;
7979     *)
7980       enable_shared=no
7981       # Look at the argument we got.  We use all the common list separators.
7982       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7983       for pkg in $enableval; do
7984         IFS="$lt_save_ifs"
7985         if test "X$pkg" = "X$p"; then
7986           enable_shared=yes
7987         fi
7988       done
7989       IFS="$lt_save_ifs"
7990       ;;
7991     esac
7992 else
7993   enable_shared=yes
7994 fi
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004   # Check whether --enable-static was given.
8005 if test "${enable_static+set}" = set; then :
8006   enableval=$enable_static; p=${PACKAGE-default}
8007     case $enableval in
8008     yes) enable_static=yes ;;
8009     no) enable_static=no ;;
8010     *)
8011      enable_static=no
8012       # Look at the argument we got.  We use all the common list separators.
8013       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014       for pkg in $enableval; do
8015         IFS="$lt_save_ifs"
8016         if test "X$pkg" = "X$p"; then
8017           enable_static=yes
8018         fi
8019       done
8020       IFS="$lt_save_ifs"
8021       ;;
8022     esac
8023 else
8024   enable_static=yes
8025 fi
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036 # Check whether --with-pic was given.
8037 if test "${with_pic+set}" = set; then :
8038   withval=$with_pic; pic_mode="$withval"
8039 else
8040   pic_mode=default
8041 fi
8042
8043
8044 test -z "$pic_mode" && pic_mode=default
8045
8046
8047
8048
8049
8050
8051
8052   # Check whether --enable-fast-install was given.
8053 if test "${enable_fast_install+set}" = set; then :
8054   enableval=$enable_fast_install; p=${PACKAGE-default}
8055     case $enableval in
8056     yes) enable_fast_install=yes ;;
8057     no) enable_fast_install=no ;;
8058     *)
8059       enable_fast_install=no
8060       # Look at the argument we got.  We use all the common list separators.
8061       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062       for pkg in $enableval; do
8063         IFS="$lt_save_ifs"
8064         if test "X$pkg" = "X$p"; then
8065           enable_fast_install=yes
8066         fi
8067       done
8068       IFS="$lt_save_ifs"
8069       ;;
8070     esac
8071 else
8072   enable_fast_install=yes
8073 fi
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085 # This can be used to rebuild libtool when needed
8086 LIBTOOL_DEPS="$ltmain"
8087
8088 # Always use our own libtool.
8089 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116 test -z "$LN_S" && LN_S="ln -s"
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131 if test -n "${ZSH_VERSION+set}" ; then
8132    setopt NO_GLOB_SUBST
8133 fi
8134
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8136 $as_echo_n "checking for objdir... " >&6; }
8137 if test "${lt_cv_objdir+set}" = set; then :
8138   $as_echo_n "(cached) " >&6
8139 else
8140   rm -f .libs 2>/dev/null
8141 mkdir .libs 2>/dev/null
8142 if test -d .libs; then
8143   lt_cv_objdir=.libs
8144 else
8145   # MS-DOS does not allow filenames that begin with a dot.
8146   lt_cv_objdir=_libs
8147 fi
8148 rmdir .libs 2>/dev/null
8149 fi
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8151 $as_echo "$lt_cv_objdir" >&6; }
8152 objdir=$lt_cv_objdir
8153
8154
8155
8156
8157
8158 cat >>confdefs.h <<_ACEOF
8159 #define LT_OBJDIR "$lt_cv_objdir/"
8160 _ACEOF
8161
8162
8163
8164
8165 case $host_os in
8166 aix3*)
8167   # AIX sometimes has problems with the GCC collect2 program.  For some
8168   # reason, if we set the COLLECT_NAMES environment variable, the problems
8169   # vanish in a puff of smoke.
8170   if test "X${COLLECT_NAMES+set}" != Xset; then
8171     COLLECT_NAMES=
8172     export COLLECT_NAMES
8173   fi
8174   ;;
8175 esac
8176
8177 # Global variables:
8178 ofile=libtool
8179 can_build_shared=yes
8180
8181 # All known linkers require a `.a' archive for static linking (except MSVC,
8182 # which needs '.lib').
8183 libext=a
8184
8185 with_gnu_ld="$lt_cv_prog_gnu_ld"
8186
8187 old_CC="$CC"
8188 old_CFLAGS="$CFLAGS"
8189
8190 # Set sane defaults for various variables
8191 test -z "$CC" && CC=cc
8192 test -z "$LTCC" && LTCC=$CC
8193 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8194 test -z "$LD" && LD=ld
8195 test -z "$ac_objext" && ac_objext=o
8196
8197 for cc_temp in $compiler""; do
8198   case $cc_temp in
8199     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8200     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8201     \-*) ;;
8202     *) break;;
8203   esac
8204 done
8205 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8206
8207
8208 # Only perform the check for file, if the check method requires it
8209 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8210 case $deplibs_check_method in
8211 file_magic*)
8212   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8214 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8215 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8216   $as_echo_n "(cached) " >&6
8217 else
8218   case $MAGIC_CMD in
8219 [\\/*] |  ?:[\\/]*)
8220   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8221   ;;
8222 *)
8223   lt_save_MAGIC_CMD="$MAGIC_CMD"
8224   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8225   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8226   for ac_dir in $ac_dummy; do
8227     IFS="$lt_save_ifs"
8228     test -z "$ac_dir" && ac_dir=.
8229     if test -f $ac_dir/${ac_tool_prefix}file; then
8230       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8231       if test -n "$file_magic_test_file"; then
8232         case $deplibs_check_method in
8233         "file_magic "*)
8234           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8235           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8237             $EGREP "$file_magic_regex" > /dev/null; then
8238             :
8239           else
8240             cat <<_LT_EOF 1>&2
8241
8242 *** Warning: the command libtool uses to detect shared libraries,
8243 *** $file_magic_cmd, produces output that libtool cannot recognize.
8244 *** The result is that libtool may fail to recognize shared libraries
8245 *** as such.  This will affect the creation of libtool libraries that
8246 *** depend on shared libraries, but programs linked with such libtool
8247 *** libraries will work regardless of this problem.  Nevertheless, you
8248 *** may want to report the problem to your system manager and/or to
8249 *** bug-libtool@gnu.org
8250
8251 _LT_EOF
8252           fi ;;
8253         esac
8254       fi
8255       break
8256     fi
8257   done
8258   IFS="$lt_save_ifs"
8259   MAGIC_CMD="$lt_save_MAGIC_CMD"
8260   ;;
8261 esac
8262 fi
8263
8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265 if test -n "$MAGIC_CMD"; then
8266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8267 $as_echo "$MAGIC_CMD" >&6; }
8268 else
8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8271 fi
8272
8273
8274
8275
8276
8277 if test -z "$lt_cv_path_MAGIC_CMD"; then
8278   if test -n "$ac_tool_prefix"; then
8279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8280 $as_echo_n "checking for file... " >&6; }
8281 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8282   $as_echo_n "(cached) " >&6
8283 else
8284   case $MAGIC_CMD in
8285 [\\/*] |  ?:[\\/]*)
8286   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8287   ;;
8288 *)
8289   lt_save_MAGIC_CMD="$MAGIC_CMD"
8290   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8291   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8292   for ac_dir in $ac_dummy; do
8293     IFS="$lt_save_ifs"
8294     test -z "$ac_dir" && ac_dir=.
8295     if test -f $ac_dir/file; then
8296       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8297       if test -n "$file_magic_test_file"; then
8298         case $deplibs_check_method in
8299         "file_magic "*)
8300           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8301           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8303             $EGREP "$file_magic_regex" > /dev/null; then
8304             :
8305           else
8306             cat <<_LT_EOF 1>&2
8307
8308 *** Warning: the command libtool uses to detect shared libraries,
8309 *** $file_magic_cmd, produces output that libtool cannot recognize.
8310 *** The result is that libtool may fail to recognize shared libraries
8311 *** as such.  This will affect the creation of libtool libraries that
8312 *** depend on shared libraries, but programs linked with such libtool
8313 *** libraries will work regardless of this problem.  Nevertheless, you
8314 *** may want to report the problem to your system manager and/or to
8315 *** bug-libtool@gnu.org
8316
8317 _LT_EOF
8318           fi ;;
8319         esac
8320       fi
8321       break
8322     fi
8323   done
8324   IFS="$lt_save_ifs"
8325   MAGIC_CMD="$lt_save_MAGIC_CMD"
8326   ;;
8327 esac
8328 fi
8329
8330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8331 if test -n "$MAGIC_CMD"; then
8332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8333 $as_echo "$MAGIC_CMD" >&6; }
8334 else
8335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8337 fi
8338
8339
8340   else
8341     MAGIC_CMD=:
8342   fi
8343 fi
8344
8345   fi
8346   ;;
8347 esac
8348
8349 # Use C for the default configuration in the libtool script
8350
8351 lt_save_CC="$CC"
8352 ac_ext=c
8353 ac_cpp='$CPP $CPPFLAGS'
8354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8357
8358
8359 # Source file extension for C test sources.
8360 ac_ext=c
8361
8362 # Object file extension for compiled C test sources.
8363 objext=o
8364 objext=$objext
8365
8366 # Code to be used in simple compile tests
8367 lt_simple_compile_test_code="int some_variable = 0;"
8368
8369 # Code to be used in simple link tests
8370 lt_simple_link_test_code='int main(){return(0);}'
8371
8372
8373
8374
8375
8376
8377
8378 # If no C compiler was specified, use CC.
8379 LTCC=${LTCC-"$CC"}
8380
8381 # If no C compiler flags were specified, use CFLAGS.
8382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8383
8384 # Allow CC to be a program name with arguments.
8385 compiler=$CC
8386
8387 # Save the default compiler, since it gets overwritten when the other
8388 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8389 compiler_DEFAULT=$CC
8390
8391 # save warnings/boilerplate of simple test code
8392 ac_outfile=conftest.$ac_objext
8393 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8394 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8395 _lt_compiler_boilerplate=`cat conftest.err`
8396 $RM conftest*
8397
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8400 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8401 _lt_linker_boilerplate=`cat conftest.err`
8402 $RM -r conftest*
8403
8404
8405 ## CAVEAT EMPTOR:
8406 ## There is no encapsulation within the following macros, do not change
8407 ## the running order or otherwise move them around unless you know exactly
8408 ## what you are doing...
8409 if test -n "$compiler"; then
8410
8411 lt_prog_compiler_no_builtin_flag=
8412
8413 if test "$GCC" = yes; then
8414   case $cc_basename in
8415   nvcc*)
8416     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8417   *)
8418     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8419   esac
8420
8421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8422 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8423 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8424   $as_echo_n "(cached) " >&6
8425 else
8426   lt_cv_prog_compiler_rtti_exceptions=no
8427    ac_outfile=conftest.$ac_objext
8428    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8429    lt_compiler_flag="-fno-rtti -fno-exceptions"
8430    # Insert the option either (1) after the last *FLAGS variable, or
8431    # (2) before a word containing "conftest.", or (3) at the end.
8432    # Note that $ac_compile itself does not contain backslashes and begins
8433    # with a dollar sign (not a hyphen), so the echo should work correctly.
8434    # The option is referenced via a variable to avoid confusing sed.
8435    lt_compile=`echo "$ac_compile" | $SED \
8436    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8437    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8438    -e 's:$: $lt_compiler_flag:'`
8439    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8440    (eval "$lt_compile" 2>conftest.err)
8441    ac_status=$?
8442    cat conftest.err >&5
8443    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444    if (exit $ac_status) && test -s "$ac_outfile"; then
8445      # The compiler can only warn and ignore the option if not recognized
8446      # So say no if there are warnings other than the usual output.
8447      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8448      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8449      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8450        lt_cv_prog_compiler_rtti_exceptions=yes
8451      fi
8452    fi
8453    $RM conftest*
8454
8455 fi
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8457 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8458
8459 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8460     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8461 else
8462     :
8463 fi
8464
8465 fi
8466
8467
8468
8469
8470
8471
8472   lt_prog_compiler_wl=
8473 lt_prog_compiler_pic=
8474 lt_prog_compiler_static=
8475
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8477 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8478
8479   if test "$GCC" = yes; then
8480     lt_prog_compiler_wl='-Wl,'
8481     lt_prog_compiler_static='-static'
8482
8483     case $host_os in
8484       aix*)
8485       # All AIX code is PIC.
8486       if test "$host_cpu" = ia64; then
8487         # AIX 5 now supports IA64 processor
8488         lt_prog_compiler_static='-Bstatic'
8489       fi
8490       ;;
8491
8492     amigaos*)
8493       case $host_cpu in
8494       powerpc)
8495             # see comment about AmigaOS4 .so support
8496             lt_prog_compiler_pic='-fPIC'
8497         ;;
8498       m68k)
8499             # FIXME: we need at least 68020 code to build shared libraries, but
8500             # adding the `-m68020' flag to GCC prevents building anything better,
8501             # like `-m68040'.
8502             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8503         ;;
8504       esac
8505       ;;
8506
8507     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8508       # PIC is the default for these OSes.
8509       ;;
8510
8511     mingw* | cygwin* | pw32* | os2* | cegcc*)
8512       # This hack is so that the source file can tell whether it is being
8513       # built for inclusion in a dll (and should export symbols for example).
8514       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8515       # (--disable-auto-import) libraries
8516       lt_prog_compiler_pic='-DDLL_EXPORT'
8517       ;;
8518
8519     darwin* | rhapsody*)
8520       # PIC is the default on this platform
8521       # Common symbols not allowed in MH_DYLIB files
8522       lt_prog_compiler_pic='-fno-common'
8523       ;;
8524
8525     haiku*)
8526       # PIC is the default for Haiku.
8527       # The "-static" flag exists, but is broken.
8528       lt_prog_compiler_static=
8529       ;;
8530
8531     hpux*)
8532       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8533       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8534       # sets the default TLS model and affects inlining.
8535       case $host_cpu in
8536       hppa*64*)
8537         # +Z the default
8538         ;;
8539       *)
8540         lt_prog_compiler_pic='-fPIC'
8541         ;;
8542       esac
8543       ;;
8544
8545     interix[3-9]*)
8546       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8547       # Instead, we relocate shared libraries at runtime.
8548       ;;
8549
8550     msdosdjgpp*)
8551       # Just because we use GCC doesn't mean we suddenly get shared libraries
8552       # on systems that don't support them.
8553       lt_prog_compiler_can_build_shared=no
8554       enable_shared=no
8555       ;;
8556
8557     *nto* | *qnx*)
8558       # QNX uses GNU C++, but need to define -shared option too, otherwise
8559       # it will coredump.
8560       lt_prog_compiler_pic='-fPIC -shared'
8561       ;;
8562
8563     sysv4*MP*)
8564       if test -d /usr/nec; then
8565         lt_prog_compiler_pic=-Kconform_pic
8566       fi
8567       ;;
8568
8569     *)
8570       lt_prog_compiler_pic='-fPIC'
8571       ;;
8572     esac
8573
8574     case $cc_basename in
8575     nvcc*) # Cuda Compiler Driver 2.2
8576       lt_prog_compiler_wl='-Xlinker '
8577       lt_prog_compiler_pic='-Xcompiler -fPIC'
8578       ;;
8579     esac
8580   else
8581     # PORTME Check for flag to pass linker flags through the system compiler.
8582     case $host_os in
8583     aix*)
8584       lt_prog_compiler_wl='-Wl,'
8585       if test "$host_cpu" = ia64; then
8586         # AIX 5 now supports IA64 processor
8587         lt_prog_compiler_static='-Bstatic'
8588       else
8589         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8590       fi
8591       ;;
8592
8593     mingw* | cygwin* | pw32* | os2* | cegcc*)
8594       # This hack is so that the source file can tell whether it is being
8595       # built for inclusion in a dll (and should export symbols for example).
8596       lt_prog_compiler_pic='-DDLL_EXPORT'
8597       ;;
8598
8599     hpux9* | hpux10* | hpux11*)
8600       lt_prog_compiler_wl='-Wl,'
8601       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8602       # not for PA HP-UX.
8603       case $host_cpu in
8604       hppa*64*|ia64*)
8605         # +Z the default
8606         ;;
8607       *)
8608         lt_prog_compiler_pic='+Z'
8609         ;;
8610       esac
8611       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8612       lt_prog_compiler_static='${wl}-a ${wl}archive'
8613       ;;
8614
8615     irix5* | irix6* | nonstopux*)
8616       lt_prog_compiler_wl='-Wl,'
8617       # PIC (with -KPIC) is the default.
8618       lt_prog_compiler_static='-non_shared'
8619       ;;
8620
8621     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8622       case $cc_basename in
8623       # old Intel for x86_64 which still supported -KPIC.
8624       ecc*)
8625         lt_prog_compiler_wl='-Wl,'
8626         lt_prog_compiler_pic='-KPIC'
8627         lt_prog_compiler_static='-static'
8628         ;;
8629       # icc used to be incompatible with GCC.
8630       # ICC 10 doesn't accept -KPIC any more.
8631       icc* | ifort*)
8632         lt_prog_compiler_wl='-Wl,'
8633         lt_prog_compiler_pic='-fPIC'
8634         lt_prog_compiler_static='-static'
8635         ;;
8636       # Lahey Fortran 8.1.
8637       lf95*)
8638         lt_prog_compiler_wl='-Wl,'
8639         lt_prog_compiler_pic='--shared'
8640         lt_prog_compiler_static='--static'
8641         ;;
8642       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8643         # Portland Group compilers (*not* the Pentium gcc compiler,
8644         # which looks to be a dead project)
8645         lt_prog_compiler_wl='-Wl,'
8646         lt_prog_compiler_pic='-fpic'
8647         lt_prog_compiler_static='-Bstatic'
8648         ;;
8649       ccc*)
8650         lt_prog_compiler_wl='-Wl,'
8651         # All Alpha code is PIC.
8652         lt_prog_compiler_static='-non_shared'
8653         ;;
8654       xl* | bgxl* | bgf* | mpixl*)
8655         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8656         lt_prog_compiler_wl='-Wl,'
8657         lt_prog_compiler_pic='-qpic'
8658         lt_prog_compiler_static='-qstaticlink'
8659         ;;
8660       *)
8661         case `$CC -V 2>&1 | sed 5q` in
8662         *Sun\ F* | *Sun*Fortran*)
8663           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8664           lt_prog_compiler_pic='-KPIC'
8665           lt_prog_compiler_static='-Bstatic'
8666           lt_prog_compiler_wl=''
8667           ;;
8668         *Sun\ C*)
8669           # Sun C 5.9
8670           lt_prog_compiler_pic='-KPIC'
8671           lt_prog_compiler_static='-Bstatic'
8672           lt_prog_compiler_wl='-Wl,'
8673           ;;
8674         esac
8675         ;;
8676       esac
8677       ;;
8678
8679     newsos6)
8680       lt_prog_compiler_pic='-KPIC'
8681       lt_prog_compiler_static='-Bstatic'
8682       ;;
8683
8684     *nto* | *qnx*)
8685       # QNX uses GNU C++, but need to define -shared option too, otherwise
8686       # it will coredump.
8687       lt_prog_compiler_pic='-fPIC -shared'
8688       ;;
8689
8690     osf3* | osf4* | osf5*)
8691       lt_prog_compiler_wl='-Wl,'
8692       # All OSF/1 code is PIC.
8693       lt_prog_compiler_static='-non_shared'
8694       ;;
8695
8696     rdos*)
8697       lt_prog_compiler_static='-non_shared'
8698       ;;
8699
8700     solaris*)
8701       lt_prog_compiler_pic='-KPIC'
8702       lt_prog_compiler_static='-Bstatic'
8703       case $cc_basename in
8704       f77* | f90* | f95*)
8705         lt_prog_compiler_wl='-Qoption ld ';;
8706       *)
8707         lt_prog_compiler_wl='-Wl,';;
8708       esac
8709       ;;
8710
8711     sunos4*)
8712       lt_prog_compiler_wl='-Qoption ld '
8713       lt_prog_compiler_pic='-PIC'
8714       lt_prog_compiler_static='-Bstatic'
8715       ;;
8716
8717     sysv4 | sysv4.2uw2* | sysv4.3*)
8718       lt_prog_compiler_wl='-Wl,'
8719       lt_prog_compiler_pic='-KPIC'
8720       lt_prog_compiler_static='-Bstatic'
8721       ;;
8722
8723     sysv4*MP*)
8724       if test -d /usr/nec ;then
8725         lt_prog_compiler_pic='-Kconform_pic'
8726         lt_prog_compiler_static='-Bstatic'
8727       fi
8728       ;;
8729
8730     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8731       lt_prog_compiler_wl='-Wl,'
8732       lt_prog_compiler_pic='-KPIC'
8733       lt_prog_compiler_static='-Bstatic'
8734       ;;
8735
8736     unicos*)
8737       lt_prog_compiler_wl='-Wl,'
8738       lt_prog_compiler_can_build_shared=no
8739       ;;
8740
8741     uts4*)
8742       lt_prog_compiler_pic='-pic'
8743       lt_prog_compiler_static='-Bstatic'
8744       ;;
8745
8746     *)
8747       lt_prog_compiler_can_build_shared=no
8748       ;;
8749     esac
8750   fi
8751
8752 case $host_os in
8753   # For platforms which do not support PIC, -DPIC is meaningless:
8754   *djgpp*)
8755     lt_prog_compiler_pic=
8756     ;;
8757   *)
8758     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8759     ;;
8760 esac
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8762 $as_echo "$lt_prog_compiler_pic" >&6; }
8763
8764
8765
8766
8767
8768
8769 #
8770 # Check to make sure the PIC flag actually works.
8771 #
8772 if test -n "$lt_prog_compiler_pic"; then
8773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8774 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8775 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8776   $as_echo_n "(cached) " >&6
8777 else
8778   lt_cv_prog_compiler_pic_works=no
8779    ac_outfile=conftest.$ac_objext
8780    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8781    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8782    # Insert the option either (1) after the last *FLAGS variable, or
8783    # (2) before a word containing "conftest.", or (3) at the end.
8784    # Note that $ac_compile itself does not contain backslashes and begins
8785    # with a dollar sign (not a hyphen), so the echo should work correctly.
8786    # The option is referenced via a variable to avoid confusing sed.
8787    lt_compile=`echo "$ac_compile" | $SED \
8788    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8789    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8790    -e 's:$: $lt_compiler_flag:'`
8791    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8792    (eval "$lt_compile" 2>conftest.err)
8793    ac_status=$?
8794    cat conftest.err >&5
8795    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796    if (exit $ac_status) && test -s "$ac_outfile"; then
8797      # The compiler can only warn and ignore the option if not recognized
8798      # So say no if there are warnings other than the usual output.
8799      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8800      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8801      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8802        lt_cv_prog_compiler_pic_works=yes
8803      fi
8804    fi
8805    $RM conftest*
8806
8807 fi
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8809 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8810
8811 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8812     case $lt_prog_compiler_pic in
8813      "" | " "*) ;;
8814      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8815      esac
8816 else
8817     lt_prog_compiler_pic=
8818      lt_prog_compiler_can_build_shared=no
8819 fi
8820
8821 fi
8822
8823
8824
8825
8826
8827
8828 #
8829 # Check to make sure the static flag actually works.
8830 #
8831 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8833 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8834 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8835   $as_echo_n "(cached) " >&6
8836 else
8837   lt_cv_prog_compiler_static_works=no
8838    save_LDFLAGS="$LDFLAGS"
8839    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8840    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8841    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8842      # The linker can only warn and ignore the option if not recognized
8843      # So say no if there are warnings
8844      if test -s conftest.err; then
8845        # Append any errors to the config.log.
8846        cat conftest.err 1>&5
8847        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8848        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8849        if diff conftest.exp conftest.er2 >/dev/null; then
8850          lt_cv_prog_compiler_static_works=yes
8851        fi
8852      else
8853        lt_cv_prog_compiler_static_works=yes
8854      fi
8855    fi
8856    $RM -r conftest*
8857    LDFLAGS="$save_LDFLAGS"
8858
8859 fi
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8862
8863 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8864     :
8865 else
8866     lt_prog_compiler_static=
8867 fi
8868
8869
8870
8871
8872
8873
8874
8875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8877 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8878   $as_echo_n "(cached) " >&6
8879 else
8880   lt_cv_prog_compiler_c_o=no
8881    $RM -r conftest 2>/dev/null
8882    mkdir conftest
8883    cd conftest
8884    mkdir out
8885    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8886
8887    lt_compiler_flag="-o out/conftest2.$ac_objext"
8888    # Insert the option either (1) after the last *FLAGS variable, or
8889    # (2) before a word containing "conftest.", or (3) at the end.
8890    # Note that $ac_compile itself does not contain backslashes and begins
8891    # with a dollar sign (not a hyphen), so the echo should work correctly.
8892    lt_compile=`echo "$ac_compile" | $SED \
8893    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8894    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8895    -e 's:$: $lt_compiler_flag:'`
8896    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8897    (eval "$lt_compile" 2>out/conftest.err)
8898    ac_status=$?
8899    cat out/conftest.err >&5
8900    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8902    then
8903      # The compiler can only warn and ignore the option if not recognized
8904      # So say no if there are warnings
8905      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8906      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8907      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8908        lt_cv_prog_compiler_c_o=yes
8909      fi
8910    fi
8911    chmod u+w . 2>&5
8912    $RM conftest*
8913    # SGI C++ compiler will create directory out/ii_files/ for
8914    # template instantiation
8915    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8916    $RM out/* && rmdir out
8917    cd ..
8918    $RM -r conftest
8919    $RM conftest*
8920
8921 fi
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8923 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8924
8925
8926
8927
8928
8929
8930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8932 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8933   $as_echo_n "(cached) " >&6
8934 else
8935   lt_cv_prog_compiler_c_o=no
8936    $RM -r conftest 2>/dev/null
8937    mkdir conftest
8938    cd conftest
8939    mkdir out
8940    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8941
8942    lt_compiler_flag="-o out/conftest2.$ac_objext"
8943    # Insert the option either (1) after the last *FLAGS variable, or
8944    # (2) before a word containing "conftest.", or (3) at the end.
8945    # Note that $ac_compile itself does not contain backslashes and begins
8946    # with a dollar sign (not a hyphen), so the echo should work correctly.
8947    lt_compile=`echo "$ac_compile" | $SED \
8948    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8949    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8950    -e 's:$: $lt_compiler_flag:'`
8951    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8952    (eval "$lt_compile" 2>out/conftest.err)
8953    ac_status=$?
8954    cat out/conftest.err >&5
8955    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8957    then
8958      # The compiler can only warn and ignore the option if not recognized
8959      # So say no if there are warnings
8960      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8961      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8962      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8963        lt_cv_prog_compiler_c_o=yes
8964      fi
8965    fi
8966    chmod u+w . 2>&5
8967    $RM conftest*
8968    # SGI C++ compiler will create directory out/ii_files/ for
8969    # template instantiation
8970    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8971    $RM out/* && rmdir out
8972    cd ..
8973    $RM -r conftest
8974    $RM conftest*
8975
8976 fi
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8978 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8979
8980
8981
8982
8983 hard_links="nottested"
8984 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8985   # do not overwrite the value of need_locks provided by the user
8986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8987 $as_echo_n "checking if we can lock with hard links... " >&6; }
8988   hard_links=yes
8989   $RM conftest*
8990   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991   touch conftest.a
8992   ln conftest.a conftest.b 2>&5 || hard_links=no
8993   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8995 $as_echo "$hard_links" >&6; }
8996   if test "$hard_links" = no; then
8997     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8998 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8999     need_locks=warn
9000   fi
9001 else
9002   need_locks=no
9003 fi
9004
9005
9006
9007
9008
9009
9010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9011 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9012
9013   runpath_var=
9014   allow_undefined_flag=
9015   always_export_symbols=no
9016   archive_cmds=
9017   archive_expsym_cmds=
9018   compiler_needs_object=no
9019   enable_shared_with_static_runtimes=no
9020   export_dynamic_flag_spec=
9021   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9022   hardcode_automatic=no
9023   hardcode_direct=no
9024   hardcode_direct_absolute=no
9025   hardcode_libdir_flag_spec=
9026   hardcode_libdir_flag_spec_ld=
9027   hardcode_libdir_separator=
9028   hardcode_minus_L=no
9029   hardcode_shlibpath_var=unsupported
9030   inherit_rpath=no
9031   link_all_deplibs=unknown
9032   module_cmds=
9033   module_expsym_cmds=
9034   old_archive_from_new_cmds=
9035   old_archive_from_expsyms_cmds=
9036   thread_safe_flag_spec=
9037   whole_archive_flag_spec=
9038   # include_expsyms should be a list of space-separated symbols to be *always*
9039   # included in the symbol list
9040   include_expsyms=
9041   # exclude_expsyms can be an extended regexp of symbols to exclude
9042   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9043   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9044   # as well as any symbol that contains `d'.
9045   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9046   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9047   # platforms (ab)use it in PIC code, but their linkers get confused if
9048   # the symbol is explicitly referenced.  Since portable code cannot
9049   # rely on this symbol name, it's probably fine to never include it in
9050   # preloaded symbol tables.
9051   # Exclude shared library initialization/finalization symbols.
9052   extract_expsyms_cmds=
9053
9054   case $host_os in
9055   cygwin* | mingw* | pw32* | cegcc*)
9056     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9057     # When not using gcc, we currently assume that we are using
9058     # Microsoft Visual C++.
9059     if test "$GCC" != yes; then
9060       with_gnu_ld=no
9061     fi
9062     ;;
9063   interix*)
9064     # we just hope/assume this is gcc and not c89 (= MSVC++)
9065     with_gnu_ld=yes
9066     ;;
9067   openbsd*)
9068     with_gnu_ld=no
9069     ;;
9070   esac
9071
9072   ld_shlibs=yes
9073
9074   # On some targets, GNU ld is compatible enough with the native linker
9075   # that we're better off using the native interface for both.
9076   lt_use_gnu_ld_interface=no
9077   if test "$with_gnu_ld" = yes; then
9078     case $host_os in
9079       aix*)
9080         # The AIX port of GNU ld has always aspired to compatibility
9081         # with the native linker.  However, as the warning in the GNU ld
9082         # block says, versions before 2.19.5* couldn't really create working
9083         # shared libraries, regardless of the interface used.
9084         case `$LD -v 2>&1` in
9085           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9086           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9087           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9088           *)
9089             lt_use_gnu_ld_interface=yes
9090             ;;
9091         esac
9092         ;;
9093       *)
9094         lt_use_gnu_ld_interface=yes
9095         ;;
9096     esac
9097   fi
9098
9099   if test "$lt_use_gnu_ld_interface" = yes; then
9100     # If archive_cmds runs LD, not CC, wlarc should be empty
9101     wlarc='${wl}'
9102
9103     # Set some defaults for GNU ld with shared library support. These
9104     # are reset later if shared libraries are not supported. Putting them
9105     # here allows them to be overridden if necessary.
9106     runpath_var=LD_RUN_PATH
9107     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9108     export_dynamic_flag_spec='${wl}--export-dynamic'
9109     # ancient GNU ld didn't support --whole-archive et. al.
9110     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9111       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9112     else
9113       whole_archive_flag_spec=
9114     fi
9115     supports_anon_versioning=no
9116     case `$LD -v 2>&1` in
9117       *GNU\ gold*) supports_anon_versioning=yes ;;
9118       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9119       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9120       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9121       *\ 2.11.*) ;; # other 2.11 versions
9122       *) supports_anon_versioning=yes ;;
9123     esac
9124
9125     # See if GNU ld supports shared libraries.
9126     case $host_os in
9127     aix[3-9]*)
9128       # On AIX/PPC, the GNU linker is very broken
9129       if test "$host_cpu" != ia64; then
9130         ld_shlibs=no
9131         cat <<_LT_EOF 1>&2
9132
9133 *** Warning: the GNU linker, at least up to release 2.19, is reported
9134 *** to be unable to reliably create shared libraries on AIX.
9135 *** Therefore, libtool is disabling shared libraries support.  If you
9136 *** really care for shared libraries, you may want to install binutils
9137 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9138 *** You will then need to restart the configuration process.
9139
9140 _LT_EOF
9141       fi
9142       ;;
9143
9144     amigaos*)
9145       case $host_cpu in
9146       powerpc)
9147             # see comment about AmigaOS4 .so support
9148             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149             archive_expsym_cmds=''
9150         ;;
9151       m68k)
9152             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9153             hardcode_libdir_flag_spec='-L$libdir'
9154             hardcode_minus_L=yes
9155         ;;
9156       esac
9157       ;;
9158
9159     beos*)
9160       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9161         allow_undefined_flag=unsupported
9162         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9163         # support --undefined.  This deserves some investigation.  FIXME
9164         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9165       else
9166         ld_shlibs=no
9167       fi
9168       ;;
9169
9170     cygwin* | mingw* | pw32* | cegcc*)
9171       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9172       # as there is no search path for DLLs.
9173       hardcode_libdir_flag_spec='-L$libdir'
9174       export_dynamic_flag_spec='${wl}--export-all-symbols'
9175       allow_undefined_flag=unsupported
9176       always_export_symbols=no
9177       enable_shared_with_static_runtimes=yes
9178       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9179
9180       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9181         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9182         # If the export-symbols file already is a .def file (1st line
9183         # is EXPORTS), use it as is; otherwise, prepend...
9184         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9185           cp $export_symbols $output_objdir/$soname.def;
9186         else
9187           echo EXPORTS > $output_objdir/$soname.def;
9188           cat $export_symbols >> $output_objdir/$soname.def;
9189         fi~
9190         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191       else
9192         ld_shlibs=no
9193       fi
9194       ;;
9195
9196     haiku*)
9197       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198       link_all_deplibs=yes
9199       ;;
9200
9201     interix[3-9]*)
9202       hardcode_direct=no
9203       hardcode_shlibpath_var=no
9204       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9205       export_dynamic_flag_spec='${wl}-E'
9206       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9207       # Instead, shared libraries are loaded at an image base (0x10000000 by
9208       # default) and relocated if they conflict, which is a slow very memory
9209       # consuming and fragmenting process.  To avoid this, we pick a random,
9210       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9211       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9212       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9213       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9214       ;;
9215
9216     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9217       tmp_diet=no
9218       if test "$host_os" = linux-dietlibc; then
9219         case $cc_basename in
9220           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9221         esac
9222       fi
9223       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9224          && test "$tmp_diet" = no
9225       then
9226         tmp_addflag=
9227         tmp_sharedflag='-shared'
9228         case $cc_basename,$host_cpu in
9229         pgcc*)                          # Portland Group C compiler
9230           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9231           tmp_addflag=' $pic_flag'
9232           ;;
9233         pgf77* | pgf90* | pgf95* | pgfortran*)
9234                                         # Portland Group f77 and f90 compilers
9235           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9236           tmp_addflag=' $pic_flag -Mnomain' ;;
9237         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9238           tmp_addflag=' -i_dynamic' ;;
9239         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9240           tmp_addflag=' -i_dynamic -nofor_main' ;;
9241         ifc* | ifort*)                  # Intel Fortran compiler
9242           tmp_addflag=' -nofor_main' ;;
9243         lf95*)                          # Lahey Fortran 8.1
9244           whole_archive_flag_spec=
9245           tmp_sharedflag='--shared' ;;
9246         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9247           tmp_sharedflag='-qmkshrobj'
9248           tmp_addflag= ;;
9249         nvcc*)  # Cuda Compiler Driver 2.2
9250           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9251           compiler_needs_object=yes
9252           ;;
9253         esac
9254         case `$CC -V 2>&1 | sed 5q` in
9255         *Sun\ C*)                       # Sun C 5.9
9256           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9257           compiler_needs_object=yes
9258           tmp_sharedflag='-G' ;;
9259         *Sun\ F*)                       # Sun Fortran 8.3
9260           tmp_sharedflag='-G' ;;
9261         esac
9262         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263
9264         if test "x$supports_anon_versioning" = xyes; then
9265           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267             echo "local: *; };" >> $output_objdir/$libname.ver~
9268             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9269         fi
9270
9271         case $cc_basename in
9272         xlf* | bgf* | bgxlf* | mpixlf*)
9273           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9274           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9275           hardcode_libdir_flag_spec=
9276           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9277           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9278           if test "x$supports_anon_versioning" = xyes; then
9279             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9280               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9281               echo "local: *; };" >> $output_objdir/$libname.ver~
9282               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9283           fi
9284           ;;
9285         esac
9286       else
9287         ld_shlibs=no
9288       fi
9289       ;;
9290
9291     netbsd*)
9292       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9293         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9294         wlarc=
9295       else
9296         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298       fi
9299       ;;
9300
9301     solaris*)
9302       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9303         ld_shlibs=no
9304         cat <<_LT_EOF 1>&2
9305
9306 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9307 *** create shared libraries on Solaris systems.  Therefore, libtool
9308 *** is disabling shared libraries support.  We urge you to upgrade GNU
9309 *** binutils to release 2.9.1 or newer.  Another option is to modify
9310 *** your PATH or compiler configuration so that the native linker is
9311 *** used, and then restart.
9312
9313 _LT_EOF
9314       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9315         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9317       else
9318         ld_shlibs=no
9319       fi
9320       ;;
9321
9322     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9323       case `$LD -v 2>&1` in
9324         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9325         ld_shlibs=no
9326         cat <<_LT_EOF 1>&2
9327
9328 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9329 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9330 *** is disabling shared libraries support.  We urge you to upgrade GNU
9331 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9332 *** your PATH or compiler configuration so that the native linker is
9333 *** used, and then restart.
9334
9335 _LT_EOF
9336         ;;
9337         *)
9338           # For security reasons, it is highly recommended that you always
9339           # use absolute paths for naming shared libraries, and exclude the
9340           # DT_RUNPATH tag from executables and libraries.  But doing so
9341           # requires that you compile everything twice, which is a pain.
9342           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346           else
9347             ld_shlibs=no
9348           fi
9349         ;;
9350       esac
9351       ;;
9352
9353     sunos4*)
9354       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355       wlarc=
9356       hardcode_direct=yes
9357       hardcode_shlibpath_var=no
9358       ;;
9359
9360     *)
9361       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9362         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364       else
9365         ld_shlibs=no
9366       fi
9367       ;;
9368     esac
9369
9370     if test "$ld_shlibs" = no; then
9371       runpath_var=
9372       hardcode_libdir_flag_spec=
9373       export_dynamic_flag_spec=
9374       whole_archive_flag_spec=
9375     fi
9376   else
9377     # PORTME fill in a description of your system's linker (not GNU ld)
9378     case $host_os in
9379     aix3*)
9380       allow_undefined_flag=unsupported
9381       always_export_symbols=yes
9382       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9383       # Note: this linker hardcodes the directories in LIBPATH if there
9384       # are no directories specified by -L.
9385       hardcode_minus_L=yes
9386       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9387         # Neither direct hardcoding nor static linking is supported with a
9388         # broken collect2.
9389         hardcode_direct=unsupported
9390       fi
9391       ;;
9392
9393     aix[4-9]*)
9394       if test "$host_cpu" = ia64; then
9395         # On IA64, the linker does run time linking by default, so we don't
9396         # have to do anything special.
9397         aix_use_runtimelinking=no
9398         exp_sym_flag='-Bexport'
9399         no_entry_flag=""
9400       else
9401         # If we're using GNU nm, then we don't want the "-C" option.
9402         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9403         # Also, AIX nm treats weak defined symbols like other global
9404         # defined symbols, whereas GNU nm marks them as "W".
9405         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9406           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9407         else
9408           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9409         fi
9410         aix_use_runtimelinking=no
9411
9412         # Test if we are trying to use run time linking or normal
9413         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9414         # need to do runtime linking.
9415         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9416           for ld_flag in $LDFLAGS; do
9417           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9418             aix_use_runtimelinking=yes
9419             break
9420           fi
9421           done
9422           ;;
9423         esac
9424
9425         exp_sym_flag='-bexport'
9426         no_entry_flag='-bnoentry'
9427       fi
9428
9429       # When large executables or shared objects are built, AIX ld can
9430       # have problems creating the table of contents.  If linking a library
9431       # or program results in "error TOC overflow" add -mminimal-toc to
9432       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9433       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9434
9435       archive_cmds=''
9436       hardcode_direct=yes
9437       hardcode_direct_absolute=yes
9438       hardcode_libdir_separator=':'
9439       link_all_deplibs=yes
9440       file_list_spec='${wl}-f,'
9441
9442       if test "$GCC" = yes; then
9443         case $host_os in aix4.[012]|aix4.[012].*)
9444         # We only want to do this on AIX 4.2 and lower, the check
9445         # below for broken collect2 doesn't work under 4.3+
9446           collect2name=`${CC} -print-prog-name=collect2`
9447           if test -f "$collect2name" &&
9448            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9449           then
9450           # We have reworked collect2
9451           :
9452           else
9453           # We have old collect2
9454           hardcode_direct=unsupported
9455           # It fails to find uninstalled libraries when the uninstalled
9456           # path is not listed in the libpath.  Setting hardcode_minus_L
9457           # to unsupported forces relinking
9458           hardcode_minus_L=yes
9459           hardcode_libdir_flag_spec='-L$libdir'
9460           hardcode_libdir_separator=
9461           fi
9462           ;;
9463         esac
9464         shared_flag='-shared'
9465         if test "$aix_use_runtimelinking" = yes; then
9466           shared_flag="$shared_flag "'${wl}-G'
9467         fi
9468       else
9469         # not using gcc
9470         if test "$host_cpu" = ia64; then
9471         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9472         # chokes on -Wl,-G. The following line is correct:
9473           shared_flag='-G'
9474         else
9475           if test "$aix_use_runtimelinking" = yes; then
9476             shared_flag='${wl}-G'
9477           else
9478             shared_flag='${wl}-bM:SRE'
9479           fi
9480         fi
9481       fi
9482
9483       export_dynamic_flag_spec='${wl}-bexpall'
9484       # It seems that -bexpall does not export symbols beginning with
9485       # underscore (_), so it is better to generate a list of symbols to export.
9486       always_export_symbols=yes
9487       if test "$aix_use_runtimelinking" = yes; then
9488         # Warning - without using the other runtime loading flags (-brtl),
9489         # -berok will link without error, but may produce a broken library.
9490         allow_undefined_flag='-berok'
9491         # Determine the default libpath from the value encoded in an
9492         # empty executable.
9493         if test x$gcc_no_link = xyes; then
9494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9495 fi
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h.  */
9498
9499 int
9500 main ()
9501 {
9502
9503   ;
9504   return 0;
9505 }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508
9509 lt_aix_libpath_sed='
9510     /Import File Strings/,/^$/ {
9511         /^0/ {
9512             s/^0  *\(.*\)$/\1/
9513             p
9514         }
9515     }'
9516 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9517 # Check for a 64-bit object if we didn't find anything.
9518 if test -z "$aix_libpath"; then
9519   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9520 fi
9521 fi
9522 rm -f core conftest.err conftest.$ac_objext \
9523     conftest$ac_exeext conftest.$ac_ext
9524 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9525
9526         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9527         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9528       else
9529         if test "$host_cpu" = ia64; then
9530           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9531           allow_undefined_flag="-z nodefs"
9532           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9533         else
9534          # Determine the default libpath from the value encoded in an
9535          # empty executable.
9536          if test x$gcc_no_link = xyes; then
9537   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9538 fi
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h.  */
9541
9542 int
9543 main ()
9544 {
9545
9546   ;
9547   return 0;
9548 }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551
9552 lt_aix_libpath_sed='
9553     /Import File Strings/,/^$/ {
9554         /^0/ {
9555             s/^0  *\(.*\)$/\1/
9556             p
9557         }
9558     }'
9559 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 # Check for a 64-bit object if we didn't find anything.
9561 if test -z "$aix_libpath"; then
9562   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9563 fi
9564 fi
9565 rm -f core conftest.err conftest.$ac_objext \
9566     conftest$ac_exeext conftest.$ac_ext
9567 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9568
9569          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9570           # Warning - without using the other run time loading flags,
9571           # -berok will link without error, but may produce a broken library.
9572           no_undefined_flag=' ${wl}-bernotok'
9573           allow_undefined_flag=' ${wl}-berok'
9574           if test "$with_gnu_ld" = yes; then
9575             # We only use this code for GNU lds that support --whole-archive.
9576             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9577           else
9578             # Exported symbols can be pulled into shared objects from archives
9579             whole_archive_flag_spec='$convenience'
9580           fi
9581           archive_cmds_need_lc=yes
9582           # This is similar to how AIX traditionally builds its shared libraries.
9583           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9584         fi
9585       fi
9586       ;;
9587
9588     amigaos*)
9589       case $host_cpu in
9590       powerpc)
9591             # see comment about AmigaOS4 .so support
9592             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9593             archive_expsym_cmds=''
9594         ;;
9595       m68k)
9596             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9597             hardcode_libdir_flag_spec='-L$libdir'
9598             hardcode_minus_L=yes
9599         ;;
9600       esac
9601       ;;
9602
9603     bsdi[45]*)
9604       export_dynamic_flag_spec=-rdynamic
9605       ;;
9606
9607     cygwin* | mingw* | pw32* | cegcc*)
9608       # When not using gcc, we currently assume that we are using
9609       # Microsoft Visual C++.
9610       # hardcode_libdir_flag_spec is actually meaningless, as there is
9611       # no search path for DLLs.
9612       hardcode_libdir_flag_spec=' '
9613       allow_undefined_flag=unsupported
9614       # Tell ltmain to make .lib files, not .a files.
9615       libext=lib
9616       # Tell ltmain to make .dll files, not .so files.
9617       shrext_cmds=".dll"
9618       # FIXME: Setting linknames here is a bad hack.
9619       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9620       # The linker will automatically build a .lib file if we build a DLL.
9621       old_archive_from_new_cmds='true'
9622       # FIXME: Should let the user specify the lib program.
9623       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9624       fix_srcfile_path='`cygpath -w "$srcfile"`'
9625       enable_shared_with_static_runtimes=yes
9626       ;;
9627
9628     darwin* | rhapsody*)
9629
9630
9631   archive_cmds_need_lc=no
9632   hardcode_direct=no
9633   hardcode_automatic=yes
9634   hardcode_shlibpath_var=unsupported
9635   if test "$lt_cv_ld_force_load" = "yes"; then
9636     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9637   else
9638     whole_archive_flag_spec=''
9639   fi
9640   link_all_deplibs=yes
9641   allow_undefined_flag="$_lt_dar_allow_undefined"
9642   case $cc_basename in
9643      ifort*) _lt_dar_can_shared=yes ;;
9644      *) _lt_dar_can_shared=$GCC ;;
9645   esac
9646   if test "$_lt_dar_can_shared" = "yes"; then
9647     output_verbose_link_cmd=func_echo_all
9648     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9649     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9650     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9651     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9652
9653   else
9654   ld_shlibs=no
9655   fi
9656
9657       ;;
9658
9659     dgux*)
9660       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9661       hardcode_libdir_flag_spec='-L$libdir'
9662       hardcode_shlibpath_var=no
9663       ;;
9664
9665     freebsd1*)
9666       ld_shlibs=no
9667       ;;
9668
9669     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9670     # support.  Future versions do this automatically, but an explicit c++rt0.o
9671     # does not break anything, and helps significantly (at the cost of a little
9672     # extra space).
9673     freebsd2.2*)
9674       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9675       hardcode_libdir_flag_spec='-R$libdir'
9676       hardcode_direct=yes
9677       hardcode_shlibpath_var=no
9678       ;;
9679
9680     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9681     freebsd2*)
9682       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9683       hardcode_direct=yes
9684       hardcode_minus_L=yes
9685       hardcode_shlibpath_var=no
9686       ;;
9687
9688     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9689     freebsd* | dragonfly*)
9690       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9691       hardcode_libdir_flag_spec='-R$libdir'
9692       hardcode_direct=yes
9693       hardcode_shlibpath_var=no
9694       ;;
9695
9696     hpux9*)
9697       if test "$GCC" = yes; then
9698         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9699       else
9700         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9701       fi
9702       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703       hardcode_libdir_separator=:
9704       hardcode_direct=yes
9705
9706       # hardcode_minus_L: Not really in the search PATH,
9707       # but as the default location of the library.
9708       hardcode_minus_L=yes
9709       export_dynamic_flag_spec='${wl}-E'
9710       ;;
9711
9712     hpux10*)
9713       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9714         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715       else
9716         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9717       fi
9718       if test "$with_gnu_ld" = no; then
9719         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9720         hardcode_libdir_flag_spec_ld='+b $libdir'
9721         hardcode_libdir_separator=:
9722         hardcode_direct=yes
9723         hardcode_direct_absolute=yes
9724         export_dynamic_flag_spec='${wl}-E'
9725         # hardcode_minus_L: Not really in the search PATH,
9726         # but as the default location of the library.
9727         hardcode_minus_L=yes
9728       fi
9729       ;;
9730
9731     hpux11*)
9732       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9733         case $host_cpu in
9734         hppa*64*)
9735           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9736           ;;
9737         ia64*)
9738           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9739           ;;
9740         *)
9741           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742           ;;
9743         esac
9744       else
9745         case $host_cpu in
9746         hppa*64*)
9747           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9748           ;;
9749         ia64*)
9750           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9751           ;;
9752         *)
9753
9754           # Older versions of the 11.00 compiler do not understand -b yet
9755           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9756           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9757 $as_echo_n "checking if $CC understands -b... " >&6; }
9758 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9759   $as_echo_n "(cached) " >&6
9760 else
9761   lt_cv_prog_compiler__b=no
9762    save_LDFLAGS="$LDFLAGS"
9763    LDFLAGS="$LDFLAGS -b"
9764    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9765    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9766      # The linker can only warn and ignore the option if not recognized
9767      # So say no if there are warnings
9768      if test -s conftest.err; then
9769        # Append any errors to the config.log.
9770        cat conftest.err 1>&5
9771        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9772        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9773        if diff conftest.exp conftest.er2 >/dev/null; then
9774          lt_cv_prog_compiler__b=yes
9775        fi
9776      else
9777        lt_cv_prog_compiler__b=yes
9778      fi
9779    fi
9780    $RM -r conftest*
9781    LDFLAGS="$save_LDFLAGS"
9782
9783 fi
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9785 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9786
9787 if test x"$lt_cv_prog_compiler__b" = xyes; then
9788     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 else
9790     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791 fi
9792
9793           ;;
9794         esac
9795       fi
9796       if test "$with_gnu_ld" = no; then
9797         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798         hardcode_libdir_separator=:
9799
9800         case $host_cpu in
9801         hppa*64*|ia64*)
9802           hardcode_direct=no
9803           hardcode_shlibpath_var=no
9804           ;;
9805         *)
9806           hardcode_direct=yes
9807           hardcode_direct_absolute=yes
9808           export_dynamic_flag_spec='${wl}-E'
9809
9810           # hardcode_minus_L: Not really in the search PATH,
9811           # but as the default location of the library.
9812           hardcode_minus_L=yes
9813           ;;
9814         esac
9815       fi
9816       ;;
9817
9818     irix5* | irix6* | nonstopux*)
9819       if test "$GCC" = yes; then
9820         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9821         # Try to use the -exported_symbol ld option, if it does not
9822         # work, assume that -exports_file does not work either and
9823         # implicitly export all symbols.
9824         save_LDFLAGS="$LDFLAGS"
9825         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9826         if test x$gcc_no_link = xyes; then
9827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9828 fi
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h.  */
9831 int foo(void) {}
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9835
9836 fi
9837 rm -f core conftest.err conftest.$ac_objext \
9838     conftest$ac_exeext conftest.$ac_ext
9839         LDFLAGS="$save_LDFLAGS"
9840       else
9841         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9842         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9843       fi
9844       archive_cmds_need_lc='no'
9845       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9846       hardcode_libdir_separator=:
9847       inherit_rpath=yes
9848       link_all_deplibs=yes
9849       ;;
9850
9851     netbsd*)
9852       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9853         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9854       else
9855         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9856       fi
9857       hardcode_libdir_flag_spec='-R$libdir'
9858       hardcode_direct=yes
9859       hardcode_shlibpath_var=no
9860       ;;
9861
9862     newsos6)
9863       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864       hardcode_direct=yes
9865       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9866       hardcode_libdir_separator=:
9867       hardcode_shlibpath_var=no
9868       ;;
9869
9870     *nto* | *qnx*)
9871       ;;
9872
9873     openbsd*)
9874       if test -f /usr/libexec/ld.so; then
9875         hardcode_direct=yes
9876         hardcode_shlibpath_var=no
9877         hardcode_direct_absolute=yes
9878         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9879           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9880           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9881           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9882           export_dynamic_flag_spec='${wl}-E'
9883         else
9884           case $host_os in
9885            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9886              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9887              hardcode_libdir_flag_spec='-R$libdir'
9888              ;;
9889            *)
9890              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9891              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9892              ;;
9893           esac
9894         fi
9895       else
9896         ld_shlibs=no
9897       fi
9898       ;;
9899
9900     os2*)
9901       hardcode_libdir_flag_spec='-L$libdir'
9902       hardcode_minus_L=yes
9903       allow_undefined_flag=unsupported
9904       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9905       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9906       ;;
9907
9908     osf3*)
9909       if test "$GCC" = yes; then
9910         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9911         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9912       else
9913         allow_undefined_flag=' -expect_unresolved \*'
9914         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9915       fi
9916       archive_cmds_need_lc='no'
9917       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9918       hardcode_libdir_separator=:
9919       ;;
9920
9921     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9922       if test "$GCC" = yes; then
9923         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9924         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9925         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9926       else
9927         allow_undefined_flag=' -expect_unresolved \*'
9928         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9929         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9930         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9931
9932         # Both c and cxx compiler support -rpath directly
9933         hardcode_libdir_flag_spec='-rpath $libdir'
9934       fi
9935       archive_cmds_need_lc='no'
9936       hardcode_libdir_separator=:
9937       ;;
9938
9939     solaris*)
9940       no_undefined_flag=' -z defs'
9941       if test "$GCC" = yes; then
9942         wlarc='${wl}'
9943         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9944         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9945           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9946       else
9947         case `$CC -V 2>&1` in
9948         *"Compilers 5.0"*)
9949           wlarc=''
9950           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9952           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9953           ;;
9954         *)
9955           wlarc='${wl}'
9956           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9957           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9958           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9959           ;;
9960         esac
9961       fi
9962       hardcode_libdir_flag_spec='-R$libdir'
9963       hardcode_shlibpath_var=no
9964       case $host_os in
9965       solaris2.[0-5] | solaris2.[0-5].*) ;;
9966       *)
9967         # The compiler driver will combine and reorder linker options,
9968         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9969         # but is careful enough not to reorder.
9970         # Supported since Solaris 2.6 (maybe 2.5.1?)
9971         if test "$GCC" = yes; then
9972           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9973         else
9974           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9975         fi
9976         ;;
9977       esac
9978       link_all_deplibs=yes
9979       ;;
9980
9981     sunos4*)
9982       if test "x$host_vendor" = xsequent; then
9983         # Use $CC to link under sequent, because it throws in some extra .o
9984         # files that make .init and .fini sections work.
9985         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9986       else
9987         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9988       fi
9989       hardcode_libdir_flag_spec='-L$libdir'
9990       hardcode_direct=yes
9991       hardcode_minus_L=yes
9992       hardcode_shlibpath_var=no
9993       ;;
9994
9995     sysv4)
9996       case $host_vendor in
9997         sni)
9998           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999           hardcode_direct=yes # is this really true???
10000         ;;
10001         siemens)
10002           ## LD is ld it makes a PLAMLIB
10003           ## CC just makes a GrossModule.
10004           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10005           reload_cmds='$CC -r -o $output$reload_objs'
10006           hardcode_direct=no
10007         ;;
10008         motorola)
10009           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10010           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10011         ;;
10012       esac
10013       runpath_var='LD_RUN_PATH'
10014       hardcode_shlibpath_var=no
10015       ;;
10016
10017     sysv4.3*)
10018       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019       hardcode_shlibpath_var=no
10020       export_dynamic_flag_spec='-Bexport'
10021       ;;
10022
10023     sysv4*MP*)
10024       if test -d /usr/nec; then
10025         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026         hardcode_shlibpath_var=no
10027         runpath_var=LD_RUN_PATH
10028         hardcode_runpath_var=yes
10029         ld_shlibs=yes
10030       fi
10031       ;;
10032
10033     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10034       no_undefined_flag='${wl}-z,text'
10035       archive_cmds_need_lc=no
10036       hardcode_shlibpath_var=no
10037       runpath_var='LD_RUN_PATH'
10038
10039       if test "$GCC" = yes; then
10040         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10042       else
10043         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045       fi
10046       ;;
10047
10048     sysv5* | sco3.2v5* | sco5v6*)
10049       # Note: We can NOT use -z defs as we might desire, because we do not
10050       # link with -lc, and that would cause any symbols used from libc to
10051       # always be unresolved, which means just about no library would
10052       # ever link correctly.  If we're not using GNU ld we use -z text
10053       # though, which does catch some bad symbols but isn't as heavy-handed
10054       # as -z defs.
10055       no_undefined_flag='${wl}-z,text'
10056       allow_undefined_flag='${wl}-z,nodefs'
10057       archive_cmds_need_lc=no
10058       hardcode_shlibpath_var=no
10059       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10060       hardcode_libdir_separator=':'
10061       link_all_deplibs=yes
10062       export_dynamic_flag_spec='${wl}-Bexport'
10063       runpath_var='LD_RUN_PATH'
10064
10065       if test "$GCC" = yes; then
10066         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068       else
10069         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071       fi
10072       ;;
10073
10074     uts4*)
10075       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076       hardcode_libdir_flag_spec='-L$libdir'
10077       hardcode_shlibpath_var=no
10078       ;;
10079
10080     *)
10081       ld_shlibs=no
10082       ;;
10083     esac
10084
10085     if test x$host_vendor = xsni; then
10086       case $host in
10087       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10088         export_dynamic_flag_spec='${wl}-Blargedynsym'
10089         ;;
10090       esac
10091     fi
10092   fi
10093
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10095 $as_echo "$ld_shlibs" >&6; }
10096 test "$ld_shlibs" = no && can_build_shared=no
10097
10098 with_gnu_ld=$with_gnu_ld
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114 #
10115 # Do we need to explicitly link libc?
10116 #
10117 case "x$archive_cmds_need_lc" in
10118 x|xyes)
10119   # Assume -lc should be added
10120   archive_cmds_need_lc=yes
10121
10122   if test "$enable_shared" = yes && test "$GCC" = yes; then
10123     case $archive_cmds in
10124     *'~'*)
10125       # FIXME: we may have to deal with multi-command sequences.
10126       ;;
10127     '$CC '*)
10128       # Test whether the compiler implicitly links with -lc since on some
10129       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10130       # to ld, don't add -lc before -lgcc.
10131       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10132 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10133 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10134   $as_echo_n "(cached) " >&6
10135 else
10136   $RM conftest*
10137         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10138
10139         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10140   (eval $ac_compile) 2>&5
10141   ac_status=$?
10142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10143   test $ac_status = 0; } 2>conftest.err; then
10144           soname=conftest
10145           lib=conftest
10146           libobjs=conftest.$ac_objext
10147           deplibs=
10148           wl=$lt_prog_compiler_wl
10149           pic_flag=$lt_prog_compiler_pic
10150           compiler_flags=-v
10151           linker_flags=-v
10152           verstring=
10153           output_objdir=.
10154           libname=conftest
10155           lt_save_allow_undefined_flag=$allow_undefined_flag
10156           allow_undefined_flag=
10157           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10158   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10159   ac_status=$?
10160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10161   test $ac_status = 0; }
10162           then
10163             lt_cv_archive_cmds_need_lc=no
10164           else
10165             lt_cv_archive_cmds_need_lc=yes
10166           fi
10167           allow_undefined_flag=$lt_save_allow_undefined_flag
10168         else
10169           cat conftest.err 1>&5
10170         fi
10171         $RM conftest*
10172
10173 fi
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10175 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10176       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10177       ;;
10178     esac
10179   fi
10180   ;;
10181 esac
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10341
10342 if test "$GCC" = yes; then
10343   case $host_os in
10344     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10345     *) lt_awk_arg="/^libraries:/" ;;
10346   esac
10347   case $host_os in
10348     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10349     *) lt_sed_strip_eq="s,=/,/,g" ;;
10350   esac
10351   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10352   case $lt_search_path_spec in
10353   *\;*)
10354     # if the path contains ";" then we assume it to be the separator
10355     # otherwise default to the standard path separator (i.e. ":") - it is
10356     # assumed that no part of a normal pathname contains ";" but that should
10357     # okay in the real world where ";" in dirpaths is itself problematic.
10358     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10359     ;;
10360   *)
10361     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10362     ;;
10363   esac
10364   # Ok, now we have the path, separated by spaces, we can step through it
10365   # and add multilib dir if necessary.
10366   lt_tmp_lt_search_path_spec=
10367   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10368   for lt_sys_path in $lt_search_path_spec; do
10369     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10370       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10371     else
10372       test -d "$lt_sys_path" && \
10373         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10374     fi
10375   done
10376   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10377 BEGIN {RS=" "; FS="/|\n";} {
10378   lt_foo="";
10379   lt_count=0;
10380   for (lt_i = NF; lt_i > 0; lt_i--) {
10381     if ($lt_i != "" && $lt_i != ".") {
10382       if ($lt_i == "..") {
10383         lt_count++;
10384       } else {
10385         if (lt_count == 0) {
10386           lt_foo="/" $lt_i lt_foo;
10387         } else {
10388           lt_count--;
10389         }
10390       }
10391     }
10392   }
10393   if (lt_foo != "") { lt_freq[lt_foo]++; }
10394   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10395 }'`
10396   # AWK program above erroneously prepends '/' to C:/dos/paths
10397   # for these hosts.
10398   case $host_os in
10399     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10400       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10401   esac
10402   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10403 else
10404   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10405 fi
10406 library_names_spec=
10407 libname_spec='lib$name'
10408 soname_spec=
10409 shrext_cmds=".so"
10410 postinstall_cmds=
10411 postuninstall_cmds=
10412 finish_cmds=
10413 finish_eval=
10414 shlibpath_var=
10415 shlibpath_overrides_runpath=unknown
10416 version_type=none
10417 dynamic_linker="$host_os ld.so"
10418 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10419 need_lib_prefix=unknown
10420 hardcode_into_libs=no
10421
10422 # when you set need_version to no, make sure it does not cause -set_version
10423 # flags to be left without arguments
10424 need_version=unknown
10425
10426 case $host_os in
10427 aix3*)
10428   version_type=linux
10429   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10430   shlibpath_var=LIBPATH
10431
10432   # AIX 3 has no versioning support, so we append a major version to the name.
10433   soname_spec='${libname}${release}${shared_ext}$major'
10434   ;;
10435
10436 aix[4-9]*)
10437   version_type=linux
10438   need_lib_prefix=no
10439   need_version=no
10440   hardcode_into_libs=yes
10441   if test "$host_cpu" = ia64; then
10442     # AIX 5 supports IA64
10443     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10444     shlibpath_var=LD_LIBRARY_PATH
10445   else
10446     # With GCC up to 2.95.x, collect2 would create an import file
10447     # for dependence libraries.  The import file would start with
10448     # the line `#! .'.  This would cause the generated library to
10449     # depend on `.', always an invalid library.  This was fixed in
10450     # development snapshots of GCC prior to 3.0.
10451     case $host_os in
10452       aix4 | aix4.[01] | aix4.[01].*)
10453       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10454            echo ' yes '
10455            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10456         :
10457       else
10458         can_build_shared=no
10459       fi
10460       ;;
10461     esac
10462     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10463     # soname into executable. Probably we can add versioning support to
10464     # collect2, so additional links can be useful in future.
10465     if test "$aix_use_runtimelinking" = yes; then
10466       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467       # instead of lib<name>.a to let people know that these are not
10468       # typical AIX shared libraries.
10469       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470     else
10471       # We preserve .a as extension for shared libraries through AIX4.2
10472       # and later when we are not doing run time linking.
10473       library_names_spec='${libname}${release}.a $libname.a'
10474       soname_spec='${libname}${release}${shared_ext}$major'
10475     fi
10476     shlibpath_var=LIBPATH
10477   fi
10478   ;;
10479
10480 amigaos*)
10481   case $host_cpu in
10482   powerpc)
10483     # Since July 2007 AmigaOS4 officially supports .so libraries.
10484     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10485     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486     ;;
10487   m68k)
10488     library_names_spec='$libname.ixlibrary $libname.a'
10489     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10490     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10491     ;;
10492   esac
10493   ;;
10494
10495 beos*)
10496   library_names_spec='${libname}${shared_ext}'
10497   dynamic_linker="$host_os ld.so"
10498   shlibpath_var=LIBRARY_PATH
10499   ;;
10500
10501 bsdi[45]*)
10502   version_type=linux
10503   need_version=no
10504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505   soname_spec='${libname}${release}${shared_ext}$major'
10506   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10507   shlibpath_var=LD_LIBRARY_PATH
10508   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10509   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10510   # the default ld.so.conf also contains /usr/contrib/lib and
10511   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10512   # libtool to hard-code these into programs
10513   ;;
10514
10515 cygwin* | mingw* | pw32* | cegcc*)
10516   version_type=windows
10517   shrext_cmds=".dll"
10518   need_version=no
10519   need_lib_prefix=no
10520
10521   case $GCC,$host_os in
10522   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10523     library_names_spec='$libname.dll.a'
10524     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10525     postinstall_cmds='base_file=`basename \${file}`~
10526       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10527       dldir=$destdir/`dirname \$dlpath`~
10528       test -d \$dldir || mkdir -p \$dldir~
10529       $install_prog $dir/$dlname \$dldir/$dlname~
10530       chmod a+x \$dldir/$dlname~
10531       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10532         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10533       fi'
10534     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535       dlpath=$dir/\$dldll~
10536        $RM \$dlpath'
10537     shlibpath_overrides_runpath=yes
10538
10539     case $host_os in
10540     cygwin*)
10541       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10542       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10543
10544       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10545       ;;
10546     mingw* | cegcc*)
10547       # MinGW DLLs use traditional 'lib' prefix
10548       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10549       ;;
10550     pw32*)
10551       # pw32 DLLs use 'pw' prefix rather than 'lib'
10552       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10553       ;;
10554     esac
10555     ;;
10556
10557   *)
10558     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10559     ;;
10560   esac
10561   dynamic_linker='Win32 ld.exe'
10562   # FIXME: first we should search . and the directory the executable is in
10563   shlibpath_var=PATH
10564   ;;
10565
10566 darwin* | rhapsody*)
10567   dynamic_linker="$host_os dyld"
10568   version_type=darwin
10569   need_lib_prefix=no
10570   need_version=no
10571   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10572   soname_spec='${libname}${release}${major}$shared_ext'
10573   shlibpath_overrides_runpath=yes
10574   shlibpath_var=DYLD_LIBRARY_PATH
10575   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10576
10577   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10578   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10579   ;;
10580
10581 dgux*)
10582   version_type=linux
10583   need_lib_prefix=no
10584   need_version=no
10585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10586   soname_spec='${libname}${release}${shared_ext}$major'
10587   shlibpath_var=LD_LIBRARY_PATH
10588   ;;
10589
10590 freebsd1*)
10591   dynamic_linker=no
10592   ;;
10593
10594 freebsd* | dragonfly*)
10595   # DragonFly does not have aout.  When/if they implement a new
10596   # versioning mechanism, adjust this.
10597   if test -x /usr/bin/objformat; then
10598     objformat=`/usr/bin/objformat`
10599   else
10600     case $host_os in
10601     freebsd[123]*) objformat=aout ;;
10602     *) objformat=elf ;;
10603     esac
10604   fi
10605   version_type=freebsd-$objformat
10606   case $version_type in
10607     freebsd-elf*)
10608       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10609       need_version=no
10610       need_lib_prefix=no
10611       ;;
10612     freebsd-*)
10613       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10614       need_version=yes
10615       ;;
10616   esac
10617   shlibpath_var=LD_LIBRARY_PATH
10618   case $host_os in
10619   freebsd2*)
10620     shlibpath_overrides_runpath=yes
10621     ;;
10622   freebsd3.[01]* | freebsdelf3.[01]*)
10623     shlibpath_overrides_runpath=yes
10624     hardcode_into_libs=yes
10625     ;;
10626   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10627   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10628     shlibpath_overrides_runpath=no
10629     hardcode_into_libs=yes
10630     ;;
10631   *) # from 4.6 on, and DragonFly
10632     shlibpath_overrides_runpath=yes
10633     hardcode_into_libs=yes
10634     ;;
10635   esac
10636   ;;
10637
10638 gnu*)
10639   version_type=linux
10640   need_lib_prefix=no
10641   need_version=no
10642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10643   soname_spec='${libname}${release}${shared_ext}$major'
10644   shlibpath_var=LD_LIBRARY_PATH
10645   hardcode_into_libs=yes
10646   ;;
10647
10648 haiku*)
10649   version_type=linux
10650   need_lib_prefix=no
10651   need_version=no
10652   dynamic_linker="$host_os runtime_loader"
10653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10654   soname_spec='${libname}${release}${shared_ext}$major'
10655   shlibpath_var=LIBRARY_PATH
10656   shlibpath_overrides_runpath=yes
10657   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10658   hardcode_into_libs=yes
10659   ;;
10660
10661 hpux9* | hpux10* | hpux11*)
10662   # Give a soname corresponding to the major version so that dld.sl refuses to
10663   # link against other versions.
10664   version_type=sunos
10665   need_lib_prefix=no
10666   need_version=no
10667   case $host_cpu in
10668   ia64*)
10669     shrext_cmds='.so'
10670     hardcode_into_libs=yes
10671     dynamic_linker="$host_os dld.so"
10672     shlibpath_var=LD_LIBRARY_PATH
10673     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10674     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675     soname_spec='${libname}${release}${shared_ext}$major'
10676     if test "X$HPUX_IA64_MODE" = X32; then
10677       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10678     else
10679       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10680     fi
10681     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10682     ;;
10683   hppa*64*)
10684     shrext_cmds='.sl'
10685     hardcode_into_libs=yes
10686     dynamic_linker="$host_os dld.sl"
10687     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10688     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10689     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690     soname_spec='${libname}${release}${shared_ext}$major'
10691     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10692     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10693     ;;
10694   *)
10695     shrext_cmds='.sl'
10696     dynamic_linker="$host_os dld.sl"
10697     shlibpath_var=SHLIB_PATH
10698     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10699     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700     soname_spec='${libname}${release}${shared_ext}$major'
10701     ;;
10702   esac
10703   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10704   postinstall_cmds='chmod 555 $lib'
10705   # or fails outright, so override atomically:
10706   install_override_mode=555
10707   ;;
10708
10709 interix[3-9]*)
10710   version_type=linux
10711   need_lib_prefix=no
10712   need_version=no
10713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10714   soname_spec='${libname}${release}${shared_ext}$major'
10715   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   shlibpath_overrides_runpath=no
10718   hardcode_into_libs=yes
10719   ;;
10720
10721 irix5* | irix6* | nonstopux*)
10722   case $host_os in
10723     nonstopux*) version_type=nonstopux ;;
10724     *)
10725         if test "$lt_cv_prog_gnu_ld" = yes; then
10726                 version_type=linux
10727         else
10728                 version_type=irix
10729         fi ;;
10730   esac
10731   need_lib_prefix=no
10732   need_version=no
10733   soname_spec='${libname}${release}${shared_ext}$major'
10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10735   case $host_os in
10736   irix5* | nonstopux*)
10737     libsuff= shlibsuff=
10738     ;;
10739   *)
10740     case $LD in # libtool.m4 will add one of these switches to LD
10741     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10742       libsuff= shlibsuff= libmagic=32-bit;;
10743     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10744       libsuff=32 shlibsuff=N32 libmagic=N32;;
10745     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10746       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10747     *) libsuff= shlibsuff= libmagic=never-match;;
10748     esac
10749     ;;
10750   esac
10751   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10752   shlibpath_overrides_runpath=no
10753   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10754   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10755   hardcode_into_libs=yes
10756   ;;
10757
10758 # No shared lib support for Linux oldld, aout, or coff.
10759 linux*oldld* | linux*aout* | linux*coff*)
10760   dynamic_linker=no
10761   ;;
10762
10763 # This must be Linux ELF.
10764 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10765   version_type=linux
10766   need_lib_prefix=no
10767   need_version=no
10768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769   soname_spec='${libname}${release}${shared_ext}$major'
10770   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10771   shlibpath_var=LD_LIBRARY_PATH
10772   shlibpath_overrides_runpath=no
10773
10774   # Some binutils ld are patched to set DT_RUNPATH
10775   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10776   $as_echo_n "(cached) " >&6
10777 else
10778   lt_cv_shlibpath_overrides_runpath=no
10779     save_LDFLAGS=$LDFLAGS
10780     save_libdir=$libdir
10781     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10782          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10783     if test x$gcc_no_link = xyes; then
10784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10785 fi
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h.  */
10788
10789 int
10790 main ()
10791 {
10792
10793   ;
10794   return 0;
10795 }
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10799   lt_cv_shlibpath_overrides_runpath=yes
10800 fi
10801 fi
10802 rm -f core conftest.err conftest.$ac_objext \
10803     conftest$ac_exeext conftest.$ac_ext
10804     LDFLAGS=$save_LDFLAGS
10805     libdir=$save_libdir
10806
10807 fi
10808
10809   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10810
10811   # This implies no fast_install, which is unacceptable.
10812   # Some rework will be needed to allow for fast_install
10813   # before this can be enabled.
10814   hardcode_into_libs=yes
10815
10816   # Append ld.so.conf contents to the search path
10817   if test -f /etc/ld.so.conf; then
10818     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10819     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10820   fi
10821
10822   # We used to test for /lib/ld.so.1 and disable shared libraries on
10823   # powerpc, because MkLinux only supported shared libraries with the
10824   # GNU dynamic linker.  Since this was broken with cross compilers,
10825   # most powerpc-linux boxes support dynamic linking these days and
10826   # people can always --disable-shared, the test was removed, and we
10827   # assume the GNU/Linux dynamic linker is in use.
10828   dynamic_linker='GNU/Linux ld.so'
10829   ;;
10830
10831 netbsd*)
10832   version_type=sunos
10833   need_lib_prefix=no
10834   need_version=no
10835   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10836     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10837     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10838     dynamic_linker='NetBSD (a.out) ld.so'
10839   else
10840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10841     soname_spec='${libname}${release}${shared_ext}$major'
10842     dynamic_linker='NetBSD ld.elf_so'
10843   fi
10844   shlibpath_var=LD_LIBRARY_PATH
10845   shlibpath_overrides_runpath=yes
10846   hardcode_into_libs=yes
10847   ;;
10848
10849 newsos6)
10850   version_type=linux
10851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   shlibpath_overrides_runpath=yes
10854   ;;
10855
10856 *nto* | *qnx*)
10857   version_type=qnx
10858   need_lib_prefix=no
10859   need_version=no
10860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861   soname_spec='${libname}${release}${shared_ext}$major'
10862   shlibpath_var=LD_LIBRARY_PATH
10863   shlibpath_overrides_runpath=no
10864   hardcode_into_libs=yes
10865   dynamic_linker='ldqnx.so'
10866   ;;
10867
10868 openbsd*)
10869   version_type=sunos
10870   sys_lib_dlsearch_path_spec="/usr/lib"
10871   need_lib_prefix=no
10872   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10873   case $host_os in
10874     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10875     *)                          need_version=no  ;;
10876   esac
10877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10878   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10879   shlibpath_var=LD_LIBRARY_PATH
10880   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10881     case $host_os in
10882       openbsd2.[89] | openbsd2.[89].*)
10883         shlibpath_overrides_runpath=no
10884         ;;
10885       *)
10886         shlibpath_overrides_runpath=yes
10887         ;;
10888       esac
10889   else
10890     shlibpath_overrides_runpath=yes
10891   fi
10892   ;;
10893
10894 os2*)
10895   libname_spec='$name'
10896   shrext_cmds=".dll"
10897   need_lib_prefix=no
10898   library_names_spec='$libname${shared_ext} $libname.a'
10899   dynamic_linker='OS/2 ld.exe'
10900   shlibpath_var=LIBPATH
10901   ;;
10902
10903 osf3* | osf4* | osf5*)
10904   version_type=osf
10905   need_lib_prefix=no
10906   need_version=no
10907   soname_spec='${libname}${release}${shared_ext}$major'
10908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10911   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10912   ;;
10913
10914 rdos*)
10915   dynamic_linker=no
10916   ;;
10917
10918 solaris*)
10919   version_type=linux
10920   need_lib_prefix=no
10921   need_version=no
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923   soname_spec='${libname}${release}${shared_ext}$major'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   shlibpath_overrides_runpath=yes
10926   hardcode_into_libs=yes
10927   # ldd complains unless libraries are executable
10928   postinstall_cmds='chmod +x $lib'
10929   ;;
10930
10931 sunos4*)
10932   version_type=sunos
10933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10934   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10935   shlibpath_var=LD_LIBRARY_PATH
10936   shlibpath_overrides_runpath=yes
10937   if test "$with_gnu_ld" = yes; then
10938     need_lib_prefix=no
10939   fi
10940   need_version=yes
10941   ;;
10942
10943 sysv4 | sysv4.3*)
10944   version_type=linux
10945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946   soname_spec='${libname}${release}${shared_ext}$major'
10947   shlibpath_var=LD_LIBRARY_PATH
10948   case $host_vendor in
10949     sni)
10950       shlibpath_overrides_runpath=no
10951       need_lib_prefix=no
10952       runpath_var=LD_RUN_PATH
10953       ;;
10954     siemens)
10955       need_lib_prefix=no
10956       ;;
10957     motorola)
10958       need_lib_prefix=no
10959       need_version=no
10960       shlibpath_overrides_runpath=no
10961       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10962       ;;
10963   esac
10964   ;;
10965
10966 sysv4*MP*)
10967   if test -d /usr/nec ;then
10968     version_type=linux
10969     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10970     soname_spec='$libname${shared_ext}.$major'
10971     shlibpath_var=LD_LIBRARY_PATH
10972   fi
10973   ;;
10974
10975 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10976   version_type=freebsd-elf
10977   need_lib_prefix=no
10978   need_version=no
10979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10980   soname_spec='${libname}${release}${shared_ext}$major'
10981   shlibpath_var=LD_LIBRARY_PATH
10982   shlibpath_overrides_runpath=yes
10983   hardcode_into_libs=yes
10984   if test "$with_gnu_ld" = yes; then
10985     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10986   else
10987     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10988     case $host_os in
10989       sco3.2v5*)
10990         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10991         ;;
10992     esac
10993   fi
10994   sys_lib_dlsearch_path_spec='/usr/lib'
10995   ;;
10996
10997 tpf*)
10998   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10999   version_type=linux
11000   need_lib_prefix=no
11001   need_version=no
11002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003   shlibpath_var=LD_LIBRARY_PATH
11004   shlibpath_overrides_runpath=no
11005   hardcode_into_libs=yes
11006   ;;
11007
11008 uts4*)
11009   version_type=linux
11010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011   soname_spec='${libname}${release}${shared_ext}$major'
11012   shlibpath_var=LD_LIBRARY_PATH
11013   ;;
11014
11015 *)
11016   dynamic_linker=no
11017   ;;
11018 esac
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11020 $as_echo "$dynamic_linker" >&6; }
11021 test "$dynamic_linker" = no && can_build_shared=no
11022
11023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11024 if test "$GCC" = yes; then
11025   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11026 fi
11027
11028 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11029   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11030 fi
11031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11032   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11033 fi
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11127 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11128 hardcode_action=
11129 if test -n "$hardcode_libdir_flag_spec" ||
11130    test -n "$runpath_var" ||
11131    test "X$hardcode_automatic" = "Xyes" ; then
11132
11133   # We can hardcode non-existent directories.
11134   if test "$hardcode_direct" != no &&
11135      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11136      # have to relink, otherwise we might link with an installed library
11137      # when we should be linking with a yet-to-be-installed one
11138      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11139      test "$hardcode_minus_L" != no; then
11140     # Linking always hardcodes the temporary library directory.
11141     hardcode_action=relink
11142   else
11143     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11144     hardcode_action=immediate
11145   fi
11146 else
11147   # We cannot hardcode anything, or else we can only hardcode existing
11148   # directories.
11149   hardcode_action=unsupported
11150 fi
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11152 $as_echo "$hardcode_action" >&6; }
11153
11154 if test "$hardcode_action" = relink ||
11155    test "$inherit_rpath" = yes; then
11156   # Fast installation is not supported
11157   enable_fast_install=no
11158 elif test "$shlibpath_overrides_runpath" = yes ||
11159      test "$enable_shared" = no; then
11160   # Fast installation is not necessary
11161   enable_fast_install=needless
11162 fi
11163
11164
11165
11166
11167
11168
11169   if test "x$enable_dlopen" != xyes; then
11170   enable_dlopen=unknown
11171   enable_dlopen_self=unknown
11172   enable_dlopen_self_static=unknown
11173 else
11174   lt_cv_dlopen=no
11175   lt_cv_dlopen_libs=
11176
11177   case $host_os in
11178   beos*)
11179     lt_cv_dlopen="load_add_on"
11180     lt_cv_dlopen_libs=
11181     lt_cv_dlopen_self=yes
11182     ;;
11183
11184   mingw* | pw32* | cegcc*)
11185     lt_cv_dlopen="LoadLibrary"
11186     lt_cv_dlopen_libs=
11187     ;;
11188
11189   cygwin*)
11190     lt_cv_dlopen="dlopen"
11191     lt_cv_dlopen_libs=
11192     ;;
11193
11194   darwin*)
11195   # if libdl is installed we need to link against it
11196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11199   $as_echo_n "(cached) " >&6
11200 else
11201   ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-ldl  $LIBS"
11203 if test x$gcc_no_link = xyes; then
11204   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11205 fi
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h.  */
11208
11209 /* Override any GCC internal prototype to avoid an error.
11210    Use char because int might match the return type of a GCC
11211    builtin and then its argument prototype would still apply.  */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char dlopen ();
11216 int
11217 main ()
11218 {
11219 return dlopen ();
11220   ;
11221   return 0;
11222 }
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225   ac_cv_lib_dl_dlopen=yes
11226 else
11227   ac_cv_lib_dl_dlopen=no
11228 fi
11229 rm -f core conftest.err conftest.$ac_objext \
11230     conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11232 fi
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11236   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11237 else
11238
11239     lt_cv_dlopen="dyld"
11240     lt_cv_dlopen_libs=
11241     lt_cv_dlopen_self=yes
11242
11243 fi
11244
11245     ;;
11246
11247   *)
11248     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249 if test "x$ac_cv_func_shl_load" = x""yes; then :
11250   lt_cv_dlopen="shl_load"
11251 else
11252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11254 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11255   $as_echo_n "(cached) " >&6
11256 else
11257   ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-ldld  $LIBS"
11259 if test x$gcc_no_link = xyes; then
11260   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11261 fi
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h.  */
11264
11265 /* Override any GCC internal prototype to avoid an error.
11266    Use char because int might match the return type of a GCC
11267    builtin and then its argument prototype would still apply.  */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char shl_load ();
11272 int
11273 main ()
11274 {
11275 return shl_load ();
11276   ;
11277   return 0;
11278 }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281   ac_cv_lib_dld_shl_load=yes
11282 else
11283   ac_cv_lib_dld_shl_load=no
11284 fi
11285 rm -f core conftest.err conftest.$ac_objext \
11286     conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11288 fi
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11290 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11291 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11292   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11293 else
11294   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11295 if test "x$ac_cv_func_dlopen" = x""yes; then :
11296   lt_cv_dlopen="dlopen"
11297 else
11298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11300 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11301   $as_echo_n "(cached) " >&6
11302 else
11303   ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-ldl  $LIBS"
11305 if test x$gcc_no_link = xyes; then
11306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 fi
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h.  */
11310
11311 /* Override any GCC internal prototype to avoid an error.
11312    Use char because int might match the return type of a GCC
11313    builtin and then its argument prototype would still apply.  */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char dlopen ();
11318 int
11319 main ()
11320 {
11321 return dlopen ();
11322   ;
11323   return 0;
11324 }
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327   ac_cv_lib_dl_dlopen=yes
11328 else
11329   ac_cv_lib_dl_dlopen=no
11330 fi
11331 rm -f core conftest.err conftest.$ac_objext \
11332     conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11334 fi
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11336 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11337 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11338   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11339 else
11340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11341 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11342 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11343   $as_echo_n "(cached) " >&6
11344 else
11345   ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lsvld  $LIBS"
11347 if test x$gcc_no_link = xyes; then
11348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11349 fi
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h.  */
11352
11353 /* Override any GCC internal prototype to avoid an error.
11354    Use char because int might match the return type of a GCC
11355    builtin and then its argument prototype would still apply.  */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char dlopen ();
11360 int
11361 main ()
11362 {
11363 return dlopen ();
11364   ;
11365   return 0;
11366 }
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369   ac_cv_lib_svld_dlopen=yes
11370 else
11371   ac_cv_lib_svld_dlopen=no
11372 fi
11373 rm -f core conftest.err conftest.$ac_objext \
11374     conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11376 fi
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11378 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11379 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11380   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11381 else
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11383 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11384 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11385   $as_echo_n "(cached) " >&6
11386 else
11387   ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-ldld  $LIBS"
11389 if test x$gcc_no_link = xyes; then
11390   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11391 fi
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h.  */
11394
11395 /* Override any GCC internal prototype to avoid an error.
11396    Use char because int might match the return type of a GCC
11397    builtin and then its argument prototype would still apply.  */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char dld_link ();
11402 int
11403 main ()
11404 {
11405 return dld_link ();
11406   ;
11407   return 0;
11408 }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411   ac_cv_lib_dld_dld_link=yes
11412 else
11413   ac_cv_lib_dld_dld_link=no
11414 fi
11415 rm -f core conftest.err conftest.$ac_objext \
11416     conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11418 fi
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11420 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11421 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11422   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11423 fi
11424
11425
11426 fi
11427
11428
11429 fi
11430
11431
11432 fi
11433
11434
11435 fi
11436
11437
11438 fi
11439
11440     ;;
11441   esac
11442
11443   if test "x$lt_cv_dlopen" != xno; then
11444     enable_dlopen=yes
11445   else
11446     enable_dlopen=no
11447   fi
11448
11449   case $lt_cv_dlopen in
11450   dlopen)
11451     save_CPPFLAGS="$CPPFLAGS"
11452     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11453
11454     save_LDFLAGS="$LDFLAGS"
11455     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11456
11457     save_LIBS="$LIBS"
11458     LIBS="$lt_cv_dlopen_libs $LIBS"
11459
11460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11461 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11462 if test "${lt_cv_dlopen_self+set}" = set; then :
11463   $as_echo_n "(cached) " >&6
11464 else
11465           if test "$cross_compiling" = yes; then :
11466   lt_cv_dlopen_self=cross
11467 else
11468   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11469   lt_status=$lt_dlunknown
11470   cat > conftest.$ac_ext <<_LT_EOF
11471 #line 11471 "configure"
11472 #include "confdefs.h"
11473
11474 #if HAVE_DLFCN_H
11475 #include <dlfcn.h>
11476 #endif
11477
11478 #include <stdio.h>
11479
11480 #ifdef RTLD_GLOBAL
11481 #  define LT_DLGLOBAL           RTLD_GLOBAL
11482 #else
11483 #  ifdef DL_GLOBAL
11484 #    define LT_DLGLOBAL         DL_GLOBAL
11485 #  else
11486 #    define LT_DLGLOBAL         0
11487 #  endif
11488 #endif
11489
11490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11491    find out it does not work in some platform. */
11492 #ifndef LT_DLLAZY_OR_NOW
11493 #  ifdef RTLD_LAZY
11494 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11495 #  else
11496 #    ifdef DL_LAZY
11497 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11498 #    else
11499 #      ifdef RTLD_NOW
11500 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11501 #      else
11502 #        ifdef DL_NOW
11503 #          define LT_DLLAZY_OR_NOW      DL_NOW
11504 #        else
11505 #          define LT_DLLAZY_OR_NOW      0
11506 #        endif
11507 #      endif
11508 #    endif
11509 #  endif
11510 #endif
11511
11512 /* When -fvisbility=hidden is used, assume the code has been annotated
11513    correspondingly for the symbols needed.  */
11514 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11515 void fnord () __attribute__((visibility("default")));
11516 #endif
11517
11518 void fnord () { int i=42; }
11519 int main ()
11520 {
11521   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11522   int status = $lt_dlunknown;
11523
11524   if (self)
11525     {
11526       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11527       else
11528         {
11529           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11530           else puts (dlerror ());
11531         }
11532       /* dlclose (self); */
11533     }
11534   else
11535     puts (dlerror ());
11536
11537   return status;
11538 }
11539 _LT_EOF
11540   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11541   (eval $ac_link) 2>&5
11542   ac_status=$?
11543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11544   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11545     (./conftest; exit; ) >&5 2>/dev/null
11546     lt_status=$?
11547     case x$lt_status in
11548       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11549       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11550       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11551     esac
11552   else :
11553     # compilation failed
11554     lt_cv_dlopen_self=no
11555   fi
11556 fi
11557 rm -fr conftest*
11558
11559
11560 fi
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11562 $as_echo "$lt_cv_dlopen_self" >&6; }
11563
11564     if test "x$lt_cv_dlopen_self" = xyes; then
11565       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11566       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11567 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11568 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11569   $as_echo_n "(cached) " >&6
11570 else
11571           if test "$cross_compiling" = yes; then :
11572   lt_cv_dlopen_self_static=cross
11573 else
11574   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11575   lt_status=$lt_dlunknown
11576   cat > conftest.$ac_ext <<_LT_EOF
11577 #line 11577 "configure"
11578 #include "confdefs.h"
11579
11580 #if HAVE_DLFCN_H
11581 #include <dlfcn.h>
11582 #endif
11583
11584 #include <stdio.h>
11585
11586 #ifdef RTLD_GLOBAL
11587 #  define LT_DLGLOBAL           RTLD_GLOBAL
11588 #else
11589 #  ifdef DL_GLOBAL
11590 #    define LT_DLGLOBAL         DL_GLOBAL
11591 #  else
11592 #    define LT_DLGLOBAL         0
11593 #  endif
11594 #endif
11595
11596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11597    find out it does not work in some platform. */
11598 #ifndef LT_DLLAZY_OR_NOW
11599 #  ifdef RTLD_LAZY
11600 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11601 #  else
11602 #    ifdef DL_LAZY
11603 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11604 #    else
11605 #      ifdef RTLD_NOW
11606 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11607 #      else
11608 #        ifdef DL_NOW
11609 #          define LT_DLLAZY_OR_NOW      DL_NOW
11610 #        else
11611 #          define LT_DLLAZY_OR_NOW      0
11612 #        endif
11613 #      endif
11614 #    endif
11615 #  endif
11616 #endif
11617
11618 /* When -fvisbility=hidden is used, assume the code has been annotated
11619    correspondingly for the symbols needed.  */
11620 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11621 void fnord () __attribute__((visibility("default")));
11622 #endif
11623
11624 void fnord () { int i=42; }
11625 int main ()
11626 {
11627   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11628   int status = $lt_dlunknown;
11629
11630   if (self)
11631     {
11632       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11633       else
11634         {
11635           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11636           else puts (dlerror ());
11637         }
11638       /* dlclose (self); */
11639     }
11640   else
11641     puts (dlerror ());
11642
11643   return status;
11644 }
11645 _LT_EOF
11646   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11647   (eval $ac_link) 2>&5
11648   ac_status=$?
11649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11650   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11651     (./conftest; exit; ) >&5 2>/dev/null
11652     lt_status=$?
11653     case x$lt_status in
11654       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11655       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11656       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11657     esac
11658   else :
11659     # compilation failed
11660     lt_cv_dlopen_self_static=no
11661   fi
11662 fi
11663 rm -fr conftest*
11664
11665
11666 fi
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11668 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11669     fi
11670
11671     CPPFLAGS="$save_CPPFLAGS"
11672     LDFLAGS="$save_LDFLAGS"
11673     LIBS="$save_LIBS"
11674     ;;
11675   esac
11676
11677   case $lt_cv_dlopen_self in
11678   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11679   *) enable_dlopen_self=unknown ;;
11680   esac
11681
11682   case $lt_cv_dlopen_self_static in
11683   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11684   *) enable_dlopen_self_static=unknown ;;
11685   esac
11686 fi
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704 striplib=
11705 old_striplib=
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11707 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11708 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11709   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11710   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11712 $as_echo "yes" >&6; }
11713 else
11714 # FIXME - insert some real tests, host_os isn't really good enough
11715   case $host_os in
11716   darwin*)
11717     if test -n "$STRIP" ; then
11718       striplib="$STRIP -x"
11719       old_striplib="$STRIP -S"
11720       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11721 $as_echo "yes" >&6; }
11722     else
11723       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11725     fi
11726     ;;
11727   *)
11728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11730     ;;
11731   esac
11732 fi
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745   # Report which library types will actually be built
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11747 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11749 $as_echo "$can_build_shared" >&6; }
11750
11751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11752 $as_echo_n "checking whether to build shared libraries... " >&6; }
11753   test "$can_build_shared" = "no" && enable_shared=no
11754
11755   # On AIX, shared libraries and static libraries use the same namespace, and
11756   # are all built from PIC.
11757   case $host_os in
11758   aix3*)
11759     test "$enable_shared" = yes && enable_static=no
11760     if test -n "$RANLIB"; then
11761       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11762       postinstall_cmds='$RANLIB $lib'
11763     fi
11764     ;;
11765
11766   aix[4-9]*)
11767     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11768       test "$enable_shared" = yes && enable_static=no
11769     fi
11770     ;;
11771   esac
11772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11773 $as_echo "$enable_shared" >&6; }
11774
11775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11776 $as_echo_n "checking whether to build static libraries... " >&6; }
11777   # Make sure either enable_shared or enable_static is yes.
11778   test "$enable_shared" = yes || enable_static=yes
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11780 $as_echo "$enable_static" >&6; }
11781
11782
11783
11784
11785 fi
11786 ac_ext=c
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791
11792 CC="$lt_save_CC"
11793
11794       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11795     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11796     (test "X$CXX" != "Xg++"))) ; then
11797   ac_ext=cpp
11798 ac_cpp='$CXXCPP $CPPFLAGS'
11799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11803 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11804 if test -z "$CXXCPP"; then
11805   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11806   $as_echo_n "(cached) " >&6
11807 else
11808       # Double quotes because CXXCPP needs to be expanded
11809     for CXXCPP in "$CXX -E" "/lib/cpp"
11810     do
11811       ac_preproc_ok=false
11812 for ac_cxx_preproc_warn_flag in '' yes
11813 do
11814   # Use a header file that comes with gcc, so configuring glibc
11815   # with a fresh cross-compiler works.
11816   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11817   # <limits.h> exists even on freestanding compilers.
11818   # On the NeXT, cc -E runs the code through the compiler's parser,
11819   # not just through cpp. "Syntax error" is here to catch this case.
11820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h.  */
11822 #ifdef __STDC__
11823 # include <limits.h>
11824 #else
11825 # include <assert.h>
11826 #endif
11827                      Syntax error
11828 _ACEOF
11829 if ac_fn_cxx_try_cpp "$LINENO"; then :
11830
11831 else
11832   # Broken: fails on valid input.
11833 continue
11834 fi
11835 rm -f conftest.err conftest.$ac_ext
11836
11837   # OK, works on sane cases.  Now check whether nonexistent headers
11838   # can be detected and how.
11839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h.  */
11841 #include <ac_nonexistent.h>
11842 _ACEOF
11843 if ac_fn_cxx_try_cpp "$LINENO"; then :
11844   # Broken: success on invalid input.
11845 continue
11846 else
11847   # Passes both tests.
11848 ac_preproc_ok=:
11849 break
11850 fi
11851 rm -f conftest.err conftest.$ac_ext
11852
11853 done
11854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11855 rm -f conftest.err conftest.$ac_ext
11856 if $ac_preproc_ok; then :
11857   break
11858 fi
11859
11860     done
11861     ac_cv_prog_CXXCPP=$CXXCPP
11862
11863 fi
11864   CXXCPP=$ac_cv_prog_CXXCPP
11865 else
11866   ac_cv_prog_CXXCPP=$CXXCPP
11867 fi
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11869 $as_echo "$CXXCPP" >&6; }
11870 ac_preproc_ok=false
11871 for ac_cxx_preproc_warn_flag in '' yes
11872 do
11873   # Use a header file that comes with gcc, so configuring glibc
11874   # with a fresh cross-compiler works.
11875   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11876   # <limits.h> exists even on freestanding compilers.
11877   # On the NeXT, cc -E runs the code through the compiler's parser,
11878   # not just through cpp. "Syntax error" is here to catch this case.
11879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h.  */
11881 #ifdef __STDC__
11882 # include <limits.h>
11883 #else
11884 # include <assert.h>
11885 #endif
11886                      Syntax error
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889
11890 else
11891   # Broken: fails on valid input.
11892 continue
11893 fi
11894 rm -f conftest.err conftest.$ac_ext
11895
11896   # OK, works on sane cases.  Now check whether nonexistent headers
11897   # can be detected and how.
11898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h.  */
11900 #include <ac_nonexistent.h>
11901 _ACEOF
11902 if ac_fn_cxx_try_cpp "$LINENO"; then :
11903   # Broken: success on invalid input.
11904 continue
11905 else
11906   # Passes both tests.
11907 ac_preproc_ok=:
11908 break
11909 fi
11910 rm -f conftest.err conftest.$ac_ext
11911
11912 done
11913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11914 rm -f conftest.err conftest.$ac_ext
11915 if $ac_preproc_ok; then :
11916
11917 else
11918   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11920 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11921 See \`config.log' for more details." "$LINENO" 5; }
11922 fi
11923
11924 ac_ext=c
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929
11930 else
11931   _lt_caught_CXX_error=yes
11932 fi
11933
11934 ac_ext=cpp
11935 ac_cpp='$CXXCPP $CPPFLAGS'
11936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11939
11940 archive_cmds_need_lc_CXX=no
11941 allow_undefined_flag_CXX=
11942 always_export_symbols_CXX=no
11943 archive_expsym_cmds_CXX=
11944 compiler_needs_object_CXX=no
11945 export_dynamic_flag_spec_CXX=
11946 hardcode_direct_CXX=no
11947 hardcode_direct_absolute_CXX=no
11948 hardcode_libdir_flag_spec_CXX=
11949 hardcode_libdir_flag_spec_ld_CXX=
11950 hardcode_libdir_separator_CXX=
11951 hardcode_minus_L_CXX=no
11952 hardcode_shlibpath_var_CXX=unsupported
11953 hardcode_automatic_CXX=no
11954 inherit_rpath_CXX=no
11955 module_cmds_CXX=
11956 module_expsym_cmds_CXX=
11957 link_all_deplibs_CXX=unknown
11958 old_archive_cmds_CXX=$old_archive_cmds
11959 reload_flag_CXX=$reload_flag
11960 reload_cmds_CXX=$reload_cmds
11961 no_undefined_flag_CXX=
11962 whole_archive_flag_spec_CXX=
11963 enable_shared_with_static_runtimes_CXX=no
11964
11965 # Source file extension for C++ test sources.
11966 ac_ext=cpp
11967
11968 # Object file extension for compiled C++ test sources.
11969 objext=o
11970 objext_CXX=$objext
11971
11972 # No sense in running all these tests if we already determined that
11973 # the CXX compiler isn't working.  Some variables (like enable_shared)
11974 # are currently assumed to apply to all compilers on this platform,
11975 # and will be corrupted by setting them based on a non-working compiler.
11976 if test "$_lt_caught_CXX_error" != yes; then
11977   # Code to be used in simple compile tests
11978   lt_simple_compile_test_code="int some_variable = 0;"
11979
11980   # Code to be used in simple link tests
11981   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11982
11983   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11984
11985
11986
11987
11988
11989
11990 # If no C compiler was specified, use CC.
11991 LTCC=${LTCC-"$CC"}
11992
11993 # If no C compiler flags were specified, use CFLAGS.
11994 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11995
11996 # Allow CC to be a program name with arguments.
11997 compiler=$CC
11998
11999
12000   # save warnings/boilerplate of simple test code
12001   ac_outfile=conftest.$ac_objext
12002 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12003 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12004 _lt_compiler_boilerplate=`cat conftest.err`
12005 $RM conftest*
12006
12007   ac_outfile=conftest.$ac_objext
12008 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12009 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12010 _lt_linker_boilerplate=`cat conftest.err`
12011 $RM -r conftest*
12012
12013
12014   # Allow CC to be a program name with arguments.
12015   lt_save_CC=$CC
12016   lt_save_LD=$LD
12017   lt_save_GCC=$GCC
12018   GCC=$GXX
12019   lt_save_with_gnu_ld=$with_gnu_ld
12020   lt_save_path_LD=$lt_cv_path_LD
12021   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12022     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12023   else
12024     $as_unset lt_cv_prog_gnu_ld
12025   fi
12026   if test -n "${lt_cv_path_LDCXX+set}"; then
12027     lt_cv_path_LD=$lt_cv_path_LDCXX
12028   else
12029     $as_unset lt_cv_path_LD
12030   fi
12031   test -z "${LDCXX+set}" || LD=$LDCXX
12032   CC=${CXX-"c++"}
12033   compiler=$CC
12034   compiler_CXX=$CC
12035   for cc_temp in $compiler""; do
12036   case $cc_temp in
12037     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12038     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12039     \-*) ;;
12040     *) break;;
12041   esac
12042 done
12043 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12044
12045
12046   if test -n "$compiler"; then
12047     # We don't want -fno-exception when compiling C++ code, so set the
12048     # no_builtin_flag separately
12049     if test "$GXX" = yes; then
12050       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12051     else
12052       lt_prog_compiler_no_builtin_flag_CXX=
12053     fi
12054
12055     if test "$GXX" = yes; then
12056       # Set up default GNU C++ configuration
12057
12058
12059
12060 # Check whether --with-gnu-ld was given.
12061 if test "${with_gnu_ld+set}" = set; then :
12062   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12063 else
12064   with_gnu_ld=no
12065 fi
12066
12067 ac_prog=ld
12068 if test "$GCC" = yes; then
12069   # Check if gcc -print-prog-name=ld gives a path.
12070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12071 $as_echo_n "checking for ld used by $CC... " >&6; }
12072   case $host in
12073   *-*-mingw*)
12074     # gcc leaves a trailing carriage return which upsets mingw
12075     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12076   *)
12077     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12078   esac
12079   case $ac_prog in
12080     # Accept absolute paths.
12081     [\\/]* | ?:[\\/]*)
12082       re_direlt='/[^/][^/]*/\.\./'
12083       # Canonicalize the pathname of ld
12084       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12085       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12086         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12087       done
12088       test -z "$LD" && LD="$ac_prog"
12089       ;;
12090   "")
12091     # If it fails, then pretend we aren't using GCC.
12092     ac_prog=ld
12093     ;;
12094   *)
12095     # If it is relative, then search for the first ld in PATH.
12096     with_gnu_ld=unknown
12097     ;;
12098   esac
12099 elif test "$with_gnu_ld" = yes; then
12100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12101 $as_echo_n "checking for GNU ld... " >&6; }
12102 else
12103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12104 $as_echo_n "checking for non-GNU ld... " >&6; }
12105 fi
12106 if test "${lt_cv_path_LD+set}" = set; then :
12107   $as_echo_n "(cached) " >&6
12108 else
12109   if test -z "$LD"; then
12110   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12111   for ac_dir in $PATH; do
12112     IFS="$lt_save_ifs"
12113     test -z "$ac_dir" && ac_dir=.
12114     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12115       lt_cv_path_LD="$ac_dir/$ac_prog"
12116       # Check to see if the program is GNU ld.  I'd rather use --version,
12117       # but apparently some variants of GNU ld only accept -v.
12118       # Break only if it was the GNU/non-GNU ld that we prefer.
12119       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12120       *GNU* | *'with BFD'*)
12121         test "$with_gnu_ld" != no && break
12122         ;;
12123       *)
12124         test "$with_gnu_ld" != yes && break
12125         ;;
12126       esac
12127     fi
12128   done
12129   IFS="$lt_save_ifs"
12130 else
12131   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12132 fi
12133 fi
12134
12135 LD="$lt_cv_path_LD"
12136 if test -n "$LD"; then
12137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12138 $as_echo "$LD" >&6; }
12139 else
12140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 $as_echo "no" >&6; }
12142 fi
12143 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12145 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12146 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12147   $as_echo_n "(cached) " >&6
12148 else
12149   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12150 case `$LD -v 2>&1 </dev/null` in
12151 *GNU* | *'with BFD'*)
12152   lt_cv_prog_gnu_ld=yes
12153   ;;
12154 *)
12155   lt_cv_prog_gnu_ld=no
12156   ;;
12157 esac
12158 fi
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12160 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12161 with_gnu_ld=$lt_cv_prog_gnu_ld
12162
12163
12164
12165
12166
12167
12168
12169       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12170       # archiving commands below assume that GNU ld is being used.
12171       if test "$with_gnu_ld" = yes; then
12172         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12173         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12174
12175         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12176         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12177
12178         # If archive_cmds runs LD, not CC, wlarc should be empty
12179         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12180         #     investigate it a little bit more. (MM)
12181         wlarc='${wl}'
12182
12183         # ancient GNU ld didn't support --whole-archive et. al.
12184         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12185           $GREP 'no-whole-archive' > /dev/null; then
12186           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12187         else
12188           whole_archive_flag_spec_CXX=
12189         fi
12190       else
12191         with_gnu_ld=no
12192         wlarc=
12193
12194         # A generic and very simple default shared library creation
12195         # command for GNU C++ for the case where it uses the native
12196         # linker, instead of GNU ld.  If possible, this setting should
12197         # overridden to take advantage of the native linker features on
12198         # the platform it is being used on.
12199         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12200       fi
12201
12202       # Commands to make compiler produce verbose output that lists
12203       # what "hidden" libraries, object files and flags are used when
12204       # linking a shared library.
12205       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12206
12207     else
12208       GXX=no
12209       with_gnu_ld=no
12210       wlarc=
12211     fi
12212
12213     # PORTME: fill in a description of your system's C++ link characteristics
12214     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12215 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12216     ld_shlibs_CXX=yes
12217     case $host_os in
12218       aix3*)
12219         # FIXME: insert proper C++ library support
12220         ld_shlibs_CXX=no
12221         ;;
12222       aix[4-9]*)
12223         if test "$host_cpu" = ia64; then
12224           # On IA64, the linker does run time linking by default, so we don't
12225           # have to do anything special.
12226           aix_use_runtimelinking=no
12227           exp_sym_flag='-Bexport'
12228           no_entry_flag=""
12229         else
12230           aix_use_runtimelinking=no
12231
12232           # Test if we are trying to use run time linking or normal
12233           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12234           # need to do runtime linking.
12235           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12236             for ld_flag in $LDFLAGS; do
12237               case $ld_flag in
12238               *-brtl*)
12239                 aix_use_runtimelinking=yes
12240                 break
12241                 ;;
12242               esac
12243             done
12244             ;;
12245           esac
12246
12247           exp_sym_flag='-bexport'
12248           no_entry_flag='-bnoentry'
12249         fi
12250
12251         # When large executables or shared objects are built, AIX ld can
12252         # have problems creating the table of contents.  If linking a library
12253         # or program results in "error TOC overflow" add -mminimal-toc to
12254         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12255         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12256
12257         archive_cmds_CXX=''
12258         hardcode_direct_CXX=yes
12259         hardcode_direct_absolute_CXX=yes
12260         hardcode_libdir_separator_CXX=':'
12261         link_all_deplibs_CXX=yes
12262         file_list_spec_CXX='${wl}-f,'
12263
12264         if test "$GXX" = yes; then
12265           case $host_os in aix4.[012]|aix4.[012].*)
12266           # We only want to do this on AIX 4.2 and lower, the check
12267           # below for broken collect2 doesn't work under 4.3+
12268           collect2name=`${CC} -print-prog-name=collect2`
12269           if test -f "$collect2name" &&
12270              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12271           then
12272             # We have reworked collect2
12273             :
12274           else
12275             # We have old collect2
12276             hardcode_direct_CXX=unsupported
12277             # It fails to find uninstalled libraries when the uninstalled
12278             # path is not listed in the libpath.  Setting hardcode_minus_L
12279             # to unsupported forces relinking
12280             hardcode_minus_L_CXX=yes
12281             hardcode_libdir_flag_spec_CXX='-L$libdir'
12282             hardcode_libdir_separator_CXX=
12283           fi
12284           esac
12285           shared_flag='-shared'
12286           if test "$aix_use_runtimelinking" = yes; then
12287             shared_flag="$shared_flag "'${wl}-G'
12288           fi
12289         else
12290           # not using gcc
12291           if test "$host_cpu" = ia64; then
12292           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12293           # chokes on -Wl,-G. The following line is correct:
12294           shared_flag='-G'
12295           else
12296             if test "$aix_use_runtimelinking" = yes; then
12297               shared_flag='${wl}-G'
12298             else
12299               shared_flag='${wl}-bM:SRE'
12300             fi
12301           fi
12302         fi
12303
12304         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12305         # It seems that -bexpall does not export symbols beginning with
12306         # underscore (_), so it is better to generate a list of symbols to
12307         # export.
12308         always_export_symbols_CXX=yes
12309         if test "$aix_use_runtimelinking" = yes; then
12310           # Warning - without using the other runtime loading flags (-brtl),
12311           # -berok will link without error, but may produce a broken library.
12312           allow_undefined_flag_CXX='-berok'
12313           # Determine the default libpath from the value encoded in an empty
12314           # executable.
12315           if test x$gcc_no_link = xyes; then
12316   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12317 fi
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h.  */
12320
12321 int
12322 main ()
12323 {
12324
12325   ;
12326   return 0;
12327 }
12328 _ACEOF
12329 if ac_fn_cxx_try_link "$LINENO"; then :
12330
12331 lt_aix_libpath_sed='
12332     /Import File Strings/,/^$/ {
12333         /^0/ {
12334             s/^0  *\(.*\)$/\1/
12335             p
12336         }
12337     }'
12338 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12339 # Check for a 64-bit object if we didn't find anything.
12340 if test -z "$aix_libpath"; then
12341   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12342 fi
12343 fi
12344 rm -f core conftest.err conftest.$ac_objext \
12345     conftest$ac_exeext conftest.$ac_ext
12346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12347
12348           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12349
12350           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12351         else
12352           if test "$host_cpu" = ia64; then
12353             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12354             allow_undefined_flag_CXX="-z nodefs"
12355             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12356           else
12357             # Determine the default libpath from the value encoded in an
12358             # empty executable.
12359             if test x$gcc_no_link = xyes; then
12360   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12361 fi
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h.  */
12364
12365 int
12366 main ()
12367 {
12368
12369   ;
12370   return 0;
12371 }
12372 _ACEOF
12373 if ac_fn_cxx_try_link "$LINENO"; then :
12374
12375 lt_aix_libpath_sed='
12376     /Import File Strings/,/^$/ {
12377         /^0/ {
12378             s/^0  *\(.*\)$/\1/
12379             p
12380         }
12381     }'
12382 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12383 # Check for a 64-bit object if we didn't find anything.
12384 if test -z "$aix_libpath"; then
12385   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12386 fi
12387 fi
12388 rm -f core conftest.err conftest.$ac_objext \
12389     conftest$ac_exeext conftest.$ac_ext
12390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12391
12392             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12393             # Warning - without using the other run time loading flags,
12394             # -berok will link without error, but may produce a broken library.
12395             no_undefined_flag_CXX=' ${wl}-bernotok'
12396             allow_undefined_flag_CXX=' ${wl}-berok'
12397             if test "$with_gnu_ld" = yes; then
12398               # We only use this code for GNU lds that support --whole-archive.
12399               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12400             else
12401               # Exported symbols can be pulled into shared objects from archives
12402               whole_archive_flag_spec_CXX='$convenience'
12403             fi
12404             archive_cmds_need_lc_CXX=yes
12405             # This is similar to how AIX traditionally builds its shared
12406             # libraries.
12407             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12408           fi
12409         fi
12410         ;;
12411
12412       beos*)
12413         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12414           allow_undefined_flag_CXX=unsupported
12415           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12416           # support --undefined.  This deserves some investigation.  FIXME
12417           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12418         else
12419           ld_shlibs_CXX=no
12420         fi
12421         ;;
12422
12423       chorus*)
12424         case $cc_basename in
12425           *)
12426           # FIXME: insert proper C++ library support
12427           ld_shlibs_CXX=no
12428           ;;
12429         esac
12430         ;;
12431
12432       cygwin* | mingw* | pw32* | cegcc*)
12433         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12434         # as there is no search path for DLLs.
12435         hardcode_libdir_flag_spec_CXX='-L$libdir'
12436         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12437         allow_undefined_flag_CXX=unsupported
12438         always_export_symbols_CXX=no
12439         enable_shared_with_static_runtimes_CXX=yes
12440
12441         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12442           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12443           # If the export-symbols file already is a .def file (1st line
12444           # is EXPORTS), use it as is; otherwise, prepend...
12445           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12446             cp $export_symbols $output_objdir/$soname.def;
12447           else
12448             echo EXPORTS > $output_objdir/$soname.def;
12449             cat $export_symbols >> $output_objdir/$soname.def;
12450           fi~
12451           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12452         else
12453           ld_shlibs_CXX=no
12454         fi
12455         ;;
12456       darwin* | rhapsody*)
12457
12458
12459   archive_cmds_need_lc_CXX=no
12460   hardcode_direct_CXX=no
12461   hardcode_automatic_CXX=yes
12462   hardcode_shlibpath_var_CXX=unsupported
12463   if test "$lt_cv_ld_force_load" = "yes"; then
12464     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12465   else
12466     whole_archive_flag_spec_CXX=''
12467   fi
12468   link_all_deplibs_CXX=yes
12469   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12470   case $cc_basename in
12471      ifort*) _lt_dar_can_shared=yes ;;
12472      *) _lt_dar_can_shared=$GCC ;;
12473   esac
12474   if test "$_lt_dar_can_shared" = "yes"; then
12475     output_verbose_link_cmd=func_echo_all
12476     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12477     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12478     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12479     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12480        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12481       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12482       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12483     fi
12484
12485   else
12486   ld_shlibs_CXX=no
12487   fi
12488
12489         ;;
12490
12491       dgux*)
12492         case $cc_basename in
12493           ec++*)
12494             # FIXME: insert proper C++ library support
12495             ld_shlibs_CXX=no
12496             ;;
12497           ghcx*)
12498             # Green Hills C++ Compiler
12499             # FIXME: insert proper C++ library support
12500             ld_shlibs_CXX=no
12501             ;;
12502           *)
12503             # FIXME: insert proper C++ library support
12504             ld_shlibs_CXX=no
12505             ;;
12506         esac
12507         ;;
12508
12509       freebsd[12]*)
12510         # C++ shared libraries reported to be fairly broken before
12511         # switch to ELF
12512         ld_shlibs_CXX=no
12513         ;;
12514
12515       freebsd-elf*)
12516         archive_cmds_need_lc_CXX=no
12517         ;;
12518
12519       freebsd* | dragonfly*)
12520         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12521         # conventions
12522         ld_shlibs_CXX=yes
12523         ;;
12524
12525       gnu*)
12526         ;;
12527
12528       haiku*)
12529         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12530         link_all_deplibs_CXX=yes
12531         ;;
12532
12533       hpux9*)
12534         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12535         hardcode_libdir_separator_CXX=:
12536         export_dynamic_flag_spec_CXX='${wl}-E'
12537         hardcode_direct_CXX=yes
12538         hardcode_minus_L_CXX=yes # Not in the search PATH,
12539                                              # but as the default
12540                                              # location of the library.
12541
12542         case $cc_basename in
12543           CC*)
12544             # FIXME: insert proper C++ library support
12545             ld_shlibs_CXX=no
12546             ;;
12547           aCC*)
12548             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12549             # Commands to make compiler produce verbose output that lists
12550             # what "hidden" libraries, object files and flags are used when
12551             # linking a shared library.
12552             #
12553             # There doesn't appear to be a way to prevent this compiler from
12554             # explicitly linking system object files so we need to strip them
12555             # from the output so that they don't get included in the library
12556             # dependencies.
12557             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12558             ;;
12559           *)
12560             if test "$GXX" = yes; then
12561               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12562             else
12563               # FIXME: insert proper C++ library support
12564               ld_shlibs_CXX=no
12565             fi
12566             ;;
12567         esac
12568         ;;
12569
12570       hpux10*|hpux11*)
12571         if test $with_gnu_ld = no; then
12572           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12573           hardcode_libdir_separator_CXX=:
12574
12575           case $host_cpu in
12576             hppa*64*|ia64*)
12577               ;;
12578             *)
12579               export_dynamic_flag_spec_CXX='${wl}-E'
12580               ;;
12581           esac
12582         fi
12583         case $host_cpu in
12584           hppa*64*|ia64*)
12585             hardcode_direct_CXX=no
12586             hardcode_shlibpath_var_CXX=no
12587             ;;
12588           *)
12589             hardcode_direct_CXX=yes
12590             hardcode_direct_absolute_CXX=yes
12591             hardcode_minus_L_CXX=yes # Not in the search PATH,
12592                                                  # but as the default
12593                                                  # location of the library.
12594             ;;
12595         esac
12596
12597         case $cc_basename in
12598           CC*)
12599             # FIXME: insert proper C++ library support
12600             ld_shlibs_CXX=no
12601             ;;
12602           aCC*)
12603             case $host_cpu in
12604               hppa*64*)
12605                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606                 ;;
12607               ia64*)
12608                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12609                 ;;
12610               *)
12611                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12612                 ;;
12613             esac
12614             # Commands to make compiler produce verbose output that lists
12615             # what "hidden" libraries, object files and flags are used when
12616             # linking a shared library.
12617             #
12618             # There doesn't appear to be a way to prevent this compiler from
12619             # explicitly linking system object files so we need to strip them
12620             # from the output so that they don't get included in the library
12621             # dependencies.
12622             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12623             ;;
12624           *)
12625             if test "$GXX" = yes; then
12626               if test $with_gnu_ld = no; then
12627                 case $host_cpu in
12628                   hppa*64*)
12629                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630                     ;;
12631                   ia64*)
12632                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633                     ;;
12634                   *)
12635                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12636                     ;;
12637                 esac
12638               fi
12639             else
12640               # FIXME: insert proper C++ library support
12641               ld_shlibs_CXX=no
12642             fi
12643             ;;
12644         esac
12645         ;;
12646
12647       interix[3-9]*)
12648         hardcode_direct_CXX=no
12649         hardcode_shlibpath_var_CXX=no
12650         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12651         export_dynamic_flag_spec_CXX='${wl}-E'
12652         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12653         # Instead, shared libraries are loaded at an image base (0x10000000 by
12654         # default) and relocated if they conflict, which is a slow very memory
12655         # consuming and fragmenting process.  To avoid this, we pick a random,
12656         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12657         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12658         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12659         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12660         ;;
12661       irix5* | irix6*)
12662         case $cc_basename in
12663           CC*)
12664             # SGI C++
12665             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12666
12667             # Archives containing C++ object files must be created using
12668             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12669             # necessary to make sure instantiated templates are included
12670             # in the archive.
12671             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12672             ;;
12673           *)
12674             if test "$GXX" = yes; then
12675               if test "$with_gnu_ld" = no; then
12676                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12677               else
12678                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12679               fi
12680             fi
12681             link_all_deplibs_CXX=yes
12682             ;;
12683         esac
12684         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12685         hardcode_libdir_separator_CXX=:
12686         inherit_rpath_CXX=yes
12687         ;;
12688
12689       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12690         case $cc_basename in
12691           KCC*)
12692             # Kuck and Associates, Inc. (KAI) C++ Compiler
12693
12694             # KCC will only create a shared library if the output file
12695             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12696             # to its proper name (with version) after linking.
12697             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12698             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12699             # Commands to make compiler produce verbose output that lists
12700             # what "hidden" libraries, object files and flags are used when
12701             # linking a shared library.
12702             #
12703             # There doesn't appear to be a way to prevent this compiler from
12704             # explicitly linking system object files so we need to strip them
12705             # from the output so that they don't get included in the library
12706             # dependencies.
12707             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12708
12709             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12710             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12711
12712             # Archives containing C++ object files must be created using
12713             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12714             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12715             ;;
12716           icpc* | ecpc* )
12717             # Intel C++
12718             with_gnu_ld=yes
12719             # version 8.0 and above of icpc choke on multiply defined symbols
12720             # if we add $predep_objects and $postdep_objects, however 7.1 and
12721             # earlier do not add the objects themselves.
12722             case `$CC -V 2>&1` in
12723               *"Version 7."*)
12724                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12725                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12726                 ;;
12727               *)  # Version 8.0 or newer
12728                 tmp_idyn=
12729                 case $host_cpu in
12730                   ia64*) tmp_idyn=' -i_dynamic';;
12731                 esac
12732                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12733                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12734                 ;;
12735             esac
12736             archive_cmds_need_lc_CXX=no
12737             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12738             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12739             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12740             ;;
12741           pgCC* | pgcpp*)
12742             # Portland Group C++ compiler
12743             case `$CC -V` in
12744             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12745               prelink_cmds_CXX='tpldir=Template.dir~
12746                 rm -rf $tpldir~
12747                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12748                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12749               old_archive_cmds_CXX='tpldir=Template.dir~
12750                 rm -rf $tpldir~
12751                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12752                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12753                 $RANLIB $oldlib'
12754               archive_cmds_CXX='tpldir=Template.dir~
12755                 rm -rf $tpldir~
12756                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12757                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12758               archive_expsym_cmds_CXX='tpldir=Template.dir~
12759                 rm -rf $tpldir~
12760                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12761                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12762               ;;
12763             *) # Version 6 and above use weak symbols
12764               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12765               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12766               ;;
12767             esac
12768
12769             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12770             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12771             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12772             ;;
12773           cxx*)
12774             # Compaq C++
12775             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12777
12778             runpath_var=LD_RUN_PATH
12779             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12780             hardcode_libdir_separator_CXX=:
12781
12782             # Commands to make compiler produce verbose output that lists
12783             # what "hidden" libraries, object files and flags are used when
12784             # linking a shared library.
12785             #
12786             # There doesn't appear to be a way to prevent this compiler from
12787             # explicitly linking system object files so we need to strip them
12788             # from the output so that they don't get included in the library
12789             # dependencies.
12790             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12791             ;;
12792           xl* | mpixl* | bgxl*)
12793             # IBM XL 8.0 on PPC, with GNU ld
12794             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12795             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12796             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12797             if test "x$supports_anon_versioning" = xyes; then
12798               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12799                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12800                 echo "local: *; };" >> $output_objdir/$libname.ver~
12801                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12802             fi
12803             ;;
12804           *)
12805             case `$CC -V 2>&1 | sed 5q` in
12806             *Sun\ C*)
12807               # Sun C++ 5.9
12808               no_undefined_flag_CXX=' -zdefs'
12809               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12810               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12811               hardcode_libdir_flag_spec_CXX='-R$libdir'
12812               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12813               compiler_needs_object_CXX=yes
12814
12815               # Not sure whether something based on
12816               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12817               # would be better.
12818               output_verbose_link_cmd='func_echo_all'
12819
12820               # Archives containing C++ object files must be created using
12821               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12822               # necessary to make sure instantiated templates are included
12823               # in the archive.
12824               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12825               ;;
12826             esac
12827             ;;
12828         esac
12829         ;;
12830
12831       lynxos*)
12832         # FIXME: insert proper C++ library support
12833         ld_shlibs_CXX=no
12834         ;;
12835
12836       m88k*)
12837         # FIXME: insert proper C++ library support
12838         ld_shlibs_CXX=no
12839         ;;
12840
12841       mvs*)
12842         case $cc_basename in
12843           cxx*)
12844             # FIXME: insert proper C++ library support
12845             ld_shlibs_CXX=no
12846             ;;
12847           *)
12848             # FIXME: insert proper C++ library support
12849             ld_shlibs_CXX=no
12850             ;;
12851         esac
12852         ;;
12853
12854       netbsd*)
12855         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12856           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12857           wlarc=
12858           hardcode_libdir_flag_spec_CXX='-R$libdir'
12859           hardcode_direct_CXX=yes
12860           hardcode_shlibpath_var_CXX=no
12861         fi
12862         # Workaround some broken pre-1.5 toolchains
12863         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12864         ;;
12865
12866       *nto* | *qnx*)
12867         ld_shlibs_CXX=yes
12868         ;;
12869
12870       openbsd2*)
12871         # C++ shared libraries are fairly broken
12872         ld_shlibs_CXX=no
12873         ;;
12874
12875       openbsd*)
12876         if test -f /usr/libexec/ld.so; then
12877           hardcode_direct_CXX=yes
12878           hardcode_shlibpath_var_CXX=no
12879           hardcode_direct_absolute_CXX=yes
12880           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12881           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12882           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12883             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12884             export_dynamic_flag_spec_CXX='${wl}-E'
12885             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12886           fi
12887           output_verbose_link_cmd=func_echo_all
12888         else
12889           ld_shlibs_CXX=no
12890         fi
12891         ;;
12892
12893       osf3* | osf4* | osf5*)
12894         case $cc_basename in
12895           KCC*)
12896             # Kuck and Associates, Inc. (KAI) C++ Compiler
12897
12898             # KCC will only create a shared library if the output file
12899             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12900             # to its proper name (with version) after linking.
12901             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12902
12903             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12904             hardcode_libdir_separator_CXX=:
12905
12906             # Archives containing C++ object files must be created using
12907             # the KAI C++ compiler.
12908             case $host in
12909               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12910               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12911             esac
12912             ;;
12913           RCC*)
12914             # Rational C++ 2.4.1
12915             # FIXME: insert proper C++ library support
12916             ld_shlibs_CXX=no
12917             ;;
12918           cxx*)
12919             case $host in
12920               osf3*)
12921                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12922                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12923                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12924                 ;;
12925               *)
12926                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12927                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12928                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12929                   echo "-hidden">> $lib.exp~
12930                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12931                   $RM $lib.exp'
12932                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12933                 ;;
12934             esac
12935
12936             hardcode_libdir_separator_CXX=:
12937
12938             # Commands to make compiler produce verbose output that lists
12939             # what "hidden" libraries, object files and flags are used when
12940             # linking a shared library.
12941             #
12942             # There doesn't appear to be a way to prevent this compiler from
12943             # explicitly linking system object files so we need to strip them
12944             # from the output so that they don't get included in the library
12945             # dependencies.
12946             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12947             ;;
12948           *)
12949             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12950               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951               case $host in
12952                 osf3*)
12953                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12954                   ;;
12955                 *)
12956                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12957                   ;;
12958               esac
12959
12960               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12961               hardcode_libdir_separator_CXX=:
12962
12963               # Commands to make compiler produce verbose output that lists
12964               # what "hidden" libraries, object files and flags are used when
12965               # linking a shared library.
12966               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12967
12968             else
12969               # FIXME: insert proper C++ library support
12970               ld_shlibs_CXX=no
12971             fi
12972             ;;
12973         esac
12974         ;;
12975
12976       psos*)
12977         # FIXME: insert proper C++ library support
12978         ld_shlibs_CXX=no
12979         ;;
12980
12981       sunos4*)
12982         case $cc_basename in
12983           CC*)
12984             # Sun C++ 4.x
12985             # FIXME: insert proper C++ library support
12986             ld_shlibs_CXX=no
12987             ;;
12988           lcc*)
12989             # Lucid
12990             # FIXME: insert proper C++ library support
12991             ld_shlibs_CXX=no
12992             ;;
12993           *)
12994             # FIXME: insert proper C++ library support
12995             ld_shlibs_CXX=no
12996             ;;
12997         esac
12998         ;;
12999
13000       solaris*)
13001         case $cc_basename in
13002           CC*)
13003             # Sun C++ 4.2, 5.x and Centerline C++
13004             archive_cmds_need_lc_CXX=yes
13005             no_undefined_flag_CXX=' -zdefs'
13006             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13008               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13009
13010             hardcode_libdir_flag_spec_CXX='-R$libdir'
13011             hardcode_shlibpath_var_CXX=no
13012             case $host_os in
13013               solaris2.[0-5] | solaris2.[0-5].*) ;;
13014               *)
13015                 # The compiler driver will combine and reorder linker options,
13016                 # but understands `-z linker_flag'.
13017                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13018                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13019                 ;;
13020             esac
13021             link_all_deplibs_CXX=yes
13022
13023             output_verbose_link_cmd='func_echo_all'
13024
13025             # Archives containing C++ object files must be created using
13026             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13027             # necessary to make sure instantiated templates are included
13028             # in the archive.
13029             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13030             ;;
13031           gcx*)
13032             # Green Hills C++ Compiler
13033             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13034
13035             # The C++ compiler must be used to create the archive.
13036             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13037             ;;
13038           *)
13039             # GNU C++ compiler with Solaris linker
13040             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13041               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13042               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13043                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13044                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13045                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13046
13047                 # Commands to make compiler produce verbose output that lists
13048                 # what "hidden" libraries, object files and flags are used when
13049                 # linking a shared library.
13050                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13051               else
13052                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13053                 # platform.
13054                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13056                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13057
13058                 # Commands to make compiler produce verbose output that lists
13059                 # what "hidden" libraries, object files and flags are used when
13060                 # linking a shared library.
13061                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13062               fi
13063
13064               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13065               case $host_os in
13066                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13067                 *)
13068                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13069                   ;;
13070               esac
13071             fi
13072             ;;
13073         esac
13074         ;;
13075
13076     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13077       no_undefined_flag_CXX='${wl}-z,text'
13078       archive_cmds_need_lc_CXX=no
13079       hardcode_shlibpath_var_CXX=no
13080       runpath_var='LD_RUN_PATH'
13081
13082       case $cc_basename in
13083         CC*)
13084           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13085           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13086           ;;
13087         *)
13088           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090           ;;
13091       esac
13092       ;;
13093
13094       sysv5* | sco3.2v5* | sco5v6*)
13095         # Note: We can NOT use -z defs as we might desire, because we do not
13096         # link with -lc, and that would cause any symbols used from libc to
13097         # always be unresolved, which means just about no library would
13098         # ever link correctly.  If we're not using GNU ld we use -z text
13099         # though, which does catch some bad symbols but isn't as heavy-handed
13100         # as -z defs.
13101         no_undefined_flag_CXX='${wl}-z,text'
13102         allow_undefined_flag_CXX='${wl}-z,nodefs'
13103         archive_cmds_need_lc_CXX=no
13104         hardcode_shlibpath_var_CXX=no
13105         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13106         hardcode_libdir_separator_CXX=':'
13107         link_all_deplibs_CXX=yes
13108         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13109         runpath_var='LD_RUN_PATH'
13110
13111         case $cc_basename in
13112           CC*)
13113             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13116               '"$old_archive_cmds_CXX"
13117             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13118               '"$reload_cmds_CXX"
13119             ;;
13120           *)
13121             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13123             ;;
13124         esac
13125       ;;
13126
13127       tandem*)
13128         case $cc_basename in
13129           NCC*)
13130             # NonStop-UX NCC 3.20
13131             # FIXME: insert proper C++ library support
13132             ld_shlibs_CXX=no
13133             ;;
13134           *)
13135             # FIXME: insert proper C++ library support
13136             ld_shlibs_CXX=no
13137             ;;
13138         esac
13139         ;;
13140
13141       vxworks*)
13142         # FIXME: insert proper C++ library support
13143         ld_shlibs_CXX=no
13144         ;;
13145
13146       *)
13147         # FIXME: insert proper C++ library support
13148         ld_shlibs_CXX=no
13149         ;;
13150     esac
13151
13152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13153 $as_echo "$ld_shlibs_CXX" >&6; }
13154     test "$ld_shlibs_CXX" = no && can_build_shared=no
13155
13156     GCC_CXX="$GXX"
13157     LD_CXX="$LD"
13158
13159     ## CAVEAT EMPTOR:
13160     ## There is no encapsulation within the following macros, do not change
13161     ## the running order or otherwise move them around unless you know exactly
13162     ## what you are doing...
13163     # Dependencies to place before and after the object being linked:
13164 predep_objects_CXX=
13165 postdep_objects_CXX=
13166 predeps_CXX=
13167 postdeps_CXX=
13168 compiler_lib_search_path_CXX=
13169
13170 cat > conftest.$ac_ext <<_LT_EOF
13171 class Foo
13172 {
13173 public:
13174   Foo (void) { a = 0; }
13175 private:
13176   int a;
13177 };
13178 _LT_EOF
13179
13180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13181   (eval $ac_compile) 2>&5
13182   ac_status=$?
13183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13184   test $ac_status = 0; }; then
13185   # Parse the compiler output and extract the necessary
13186   # objects, libraries and library flags.
13187
13188   # Sentinel used to keep track of whether or not we are before
13189   # the conftest object file.
13190   pre_test_object_deps_done=no
13191
13192   for p in `eval "$output_verbose_link_cmd"`; do
13193     case $p in
13194
13195     -L* | -R* | -l*)
13196        # Some compilers place space between "-{L,R}" and the path.
13197        # Remove the space.
13198        if test $p = "-L" ||
13199           test $p = "-R"; then
13200          prev=$p
13201          continue
13202        else
13203          prev=
13204        fi
13205
13206        if test "$pre_test_object_deps_done" = no; then
13207          case $p in
13208          -L* | -R*)
13209            # Internal compiler library paths should come after those
13210            # provided the user.  The postdeps already come after the
13211            # user supplied libs so there is no need to process them.
13212            if test -z "$compiler_lib_search_path_CXX"; then
13213              compiler_lib_search_path_CXX="${prev}${p}"
13214            else
13215              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13216            fi
13217            ;;
13218          # The "-l" case would never come before the object being
13219          # linked, so don't bother handling this case.
13220          esac
13221        else
13222          if test -z "$postdeps_CXX"; then
13223            postdeps_CXX="${prev}${p}"
13224          else
13225            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13226          fi
13227        fi
13228        ;;
13229
13230     *.$objext)
13231        # This assumes that the test object file only shows up
13232        # once in the compiler output.
13233        if test "$p" = "conftest.$objext"; then
13234          pre_test_object_deps_done=yes
13235          continue
13236        fi
13237
13238        if test "$pre_test_object_deps_done" = no; then
13239          if test -z "$predep_objects_CXX"; then
13240            predep_objects_CXX="$p"
13241          else
13242            predep_objects_CXX="$predep_objects_CXX $p"
13243          fi
13244        else
13245          if test -z "$postdep_objects_CXX"; then
13246            postdep_objects_CXX="$p"
13247          else
13248            postdep_objects_CXX="$postdep_objects_CXX $p"
13249          fi
13250        fi
13251        ;;
13252
13253     *) ;; # Ignore the rest.
13254
13255     esac
13256   done
13257
13258   # Clean up.
13259   rm -f a.out a.exe
13260 else
13261   echo "libtool.m4: error: problem compiling CXX test program"
13262 fi
13263
13264 $RM -f confest.$objext
13265
13266 # PORTME: override above test on systems where it is broken
13267 case $host_os in
13268 interix[3-9]*)
13269   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13270   # hack all around it, let's just trust "g++" to DTRT.
13271   predep_objects_CXX=
13272   postdep_objects_CXX=
13273   postdeps_CXX=
13274   ;;
13275
13276 linux*)
13277   case `$CC -V 2>&1 | sed 5q` in
13278   *Sun\ C*)
13279     # Sun C++ 5.9
13280
13281     # The more standards-conforming stlport4 library is
13282     # incompatible with the Cstd library. Avoid specifying
13283     # it if it's in CXXFLAGS. Ignore libCrun as
13284     # -library=stlport4 depends on it.
13285     case " $CXX $CXXFLAGS " in
13286     *" -library=stlport4 "*)
13287       solaris_use_stlport4=yes
13288       ;;
13289     esac
13290
13291     if test "$solaris_use_stlport4" != yes; then
13292       postdeps_CXX='-library=Cstd -library=Crun'
13293     fi
13294     ;;
13295   esac
13296   ;;
13297
13298 solaris*)
13299   case $cc_basename in
13300   CC*)
13301     # The more standards-conforming stlport4 library is
13302     # incompatible with the Cstd library. Avoid specifying
13303     # it if it's in CXXFLAGS. Ignore libCrun as
13304     # -library=stlport4 depends on it.
13305     case " $CXX $CXXFLAGS " in
13306     *" -library=stlport4 "*)
13307       solaris_use_stlport4=yes
13308       ;;
13309     esac
13310
13311     # Adding this requires a known-good setup of shared libraries for
13312     # Sun compiler versions before 5.6, else PIC objects from an old
13313     # archive will be linked into the output, leading to subtle bugs.
13314     if test "$solaris_use_stlport4" != yes; then
13315       postdeps_CXX='-library=Cstd -library=Crun'
13316     fi
13317     ;;
13318   esac
13319   ;;
13320 esac
13321
13322
13323 case " $postdeps_CXX " in
13324 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13325 esac
13326  compiler_lib_search_dirs_CXX=
13327 if test -n "${compiler_lib_search_path_CXX}"; then
13328  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13329 fi
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361     lt_prog_compiler_wl_CXX=
13362 lt_prog_compiler_pic_CXX=
13363 lt_prog_compiler_static_CXX=
13364
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13366 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13367
13368   # C++ specific cases for pic, static, wl, etc.
13369   if test "$GXX" = yes; then
13370     lt_prog_compiler_wl_CXX='-Wl,'
13371     lt_prog_compiler_static_CXX='-static'
13372
13373     case $host_os in
13374     aix*)
13375       # All AIX code is PIC.
13376       if test "$host_cpu" = ia64; then
13377         # AIX 5 now supports IA64 processor
13378         lt_prog_compiler_static_CXX='-Bstatic'
13379       fi
13380       ;;
13381
13382     amigaos*)
13383       case $host_cpu in
13384       powerpc)
13385             # see comment about AmigaOS4 .so support
13386             lt_prog_compiler_pic_CXX='-fPIC'
13387         ;;
13388       m68k)
13389             # FIXME: we need at least 68020 code to build shared libraries, but
13390             # adding the `-m68020' flag to GCC prevents building anything better,
13391             # like `-m68040'.
13392             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13393         ;;
13394       esac
13395       ;;
13396
13397     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13398       # PIC is the default for these OSes.
13399       ;;
13400     mingw* | cygwin* | os2* | pw32* | cegcc*)
13401       # This hack is so that the source file can tell whether it is being
13402       # built for inclusion in a dll (and should export symbols for example).
13403       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13404       # (--disable-auto-import) libraries
13405       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13406       ;;
13407     darwin* | rhapsody*)
13408       # PIC is the default on this platform
13409       # Common symbols not allowed in MH_DYLIB files
13410       lt_prog_compiler_pic_CXX='-fno-common'
13411       ;;
13412     *djgpp*)
13413       # DJGPP does not support shared libraries at all
13414       lt_prog_compiler_pic_CXX=
13415       ;;
13416     haiku*)
13417       # PIC is the default for Haiku.
13418       # The "-static" flag exists, but is broken.
13419       lt_prog_compiler_static_CXX=
13420       ;;
13421     interix[3-9]*)
13422       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13423       # Instead, we relocate shared libraries at runtime.
13424       ;;
13425     sysv4*MP*)
13426       if test -d /usr/nec; then
13427         lt_prog_compiler_pic_CXX=-Kconform_pic
13428       fi
13429       ;;
13430     hpux*)
13431       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13432       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13433       # sets the default TLS model and affects inlining.
13434       case $host_cpu in
13435       hppa*64*)
13436         ;;
13437       *)
13438         lt_prog_compiler_pic_CXX='-fPIC'
13439         ;;
13440       esac
13441       ;;
13442     *qnx* | *nto*)
13443       # QNX uses GNU C++, but need to define -shared option too, otherwise
13444       # it will coredump.
13445       lt_prog_compiler_pic_CXX='-fPIC -shared'
13446       ;;
13447     *)
13448       lt_prog_compiler_pic_CXX='-fPIC'
13449       ;;
13450     esac
13451   else
13452     case $host_os in
13453       aix[4-9]*)
13454         # All AIX code is PIC.
13455         if test "$host_cpu" = ia64; then
13456           # AIX 5 now supports IA64 processor
13457           lt_prog_compiler_static_CXX='-Bstatic'
13458         else
13459           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13460         fi
13461         ;;
13462       chorus*)
13463         case $cc_basename in
13464         cxch68*)
13465           # Green Hills C++ Compiler
13466           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13467           ;;
13468         esac
13469         ;;
13470       dgux*)
13471         case $cc_basename in
13472           ec++*)
13473             lt_prog_compiler_pic_CXX='-KPIC'
13474             ;;
13475           ghcx*)
13476             # Green Hills C++ Compiler
13477             lt_prog_compiler_pic_CXX='-pic'
13478             ;;
13479           *)
13480             ;;
13481         esac
13482         ;;
13483       freebsd* | dragonfly*)
13484         # FreeBSD uses GNU C++
13485         ;;
13486       hpux9* | hpux10* | hpux11*)
13487         case $cc_basename in
13488           CC*)
13489             lt_prog_compiler_wl_CXX='-Wl,'
13490             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13491             if test "$host_cpu" != ia64; then
13492               lt_prog_compiler_pic_CXX='+Z'
13493             fi
13494             ;;
13495           aCC*)
13496             lt_prog_compiler_wl_CXX='-Wl,'
13497             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13498             case $host_cpu in
13499             hppa*64*|ia64*)
13500               # +Z the default
13501               ;;
13502             *)
13503               lt_prog_compiler_pic_CXX='+Z'
13504               ;;
13505             esac
13506             ;;
13507           *)
13508             ;;
13509         esac
13510         ;;
13511       interix*)
13512         # This is c89, which is MS Visual C++ (no shared libs)
13513         # Anyone wants to do a port?
13514         ;;
13515       irix5* | irix6* | nonstopux*)
13516         case $cc_basename in
13517           CC*)
13518             lt_prog_compiler_wl_CXX='-Wl,'
13519             lt_prog_compiler_static_CXX='-non_shared'
13520             # CC pic flag -KPIC is the default.
13521             ;;
13522           *)
13523             ;;
13524         esac
13525         ;;
13526       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13527         case $cc_basename in
13528           KCC*)
13529             # KAI C++ Compiler
13530             lt_prog_compiler_wl_CXX='--backend -Wl,'
13531             lt_prog_compiler_pic_CXX='-fPIC'
13532             ;;
13533           ecpc* )
13534             # old Intel C++ for x86_64 which still supported -KPIC.
13535             lt_prog_compiler_wl_CXX='-Wl,'
13536             lt_prog_compiler_pic_CXX='-KPIC'
13537             lt_prog_compiler_static_CXX='-static'
13538             ;;
13539           icpc* )
13540             # Intel C++, used to be incompatible with GCC.
13541             # ICC 10 doesn't accept -KPIC any more.
13542             lt_prog_compiler_wl_CXX='-Wl,'
13543             lt_prog_compiler_pic_CXX='-fPIC'
13544             lt_prog_compiler_static_CXX='-static'
13545             ;;
13546           pgCC* | pgcpp*)
13547             # Portland Group C++ compiler
13548             lt_prog_compiler_wl_CXX='-Wl,'
13549             lt_prog_compiler_pic_CXX='-fpic'
13550             lt_prog_compiler_static_CXX='-Bstatic'
13551             ;;
13552           cxx*)
13553             # Compaq C++
13554             # Make sure the PIC flag is empty.  It appears that all Alpha
13555             # Linux and Compaq Tru64 Unix objects are PIC.
13556             lt_prog_compiler_pic_CXX=
13557             lt_prog_compiler_static_CXX='-non_shared'
13558             ;;
13559           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13560             # IBM XL 8.0, 9.0 on PPC and BlueGene
13561             lt_prog_compiler_wl_CXX='-Wl,'
13562             lt_prog_compiler_pic_CXX='-qpic'
13563             lt_prog_compiler_static_CXX='-qstaticlink'
13564             ;;
13565           *)
13566             case `$CC -V 2>&1 | sed 5q` in
13567             *Sun\ C*)
13568               # Sun C++ 5.9
13569               lt_prog_compiler_pic_CXX='-KPIC'
13570               lt_prog_compiler_static_CXX='-Bstatic'
13571               lt_prog_compiler_wl_CXX='-Qoption ld '
13572               ;;
13573             esac
13574             ;;
13575         esac
13576         ;;
13577       lynxos*)
13578         ;;
13579       m88k*)
13580         ;;
13581       mvs*)
13582         case $cc_basename in
13583           cxx*)
13584             lt_prog_compiler_pic_CXX='-W c,exportall'
13585             ;;
13586           *)
13587             ;;
13588         esac
13589         ;;
13590       netbsd*)
13591         ;;
13592       *qnx* | *nto*)
13593         # QNX uses GNU C++, but need to define -shared option too, otherwise
13594         # it will coredump.
13595         lt_prog_compiler_pic_CXX='-fPIC -shared'
13596         ;;
13597       osf3* | osf4* | osf5*)
13598         case $cc_basename in
13599           KCC*)
13600             lt_prog_compiler_wl_CXX='--backend -Wl,'
13601             ;;
13602           RCC*)
13603             # Rational C++ 2.4.1
13604             lt_prog_compiler_pic_CXX='-pic'
13605             ;;
13606           cxx*)
13607             # Digital/Compaq C++
13608             lt_prog_compiler_wl_CXX='-Wl,'
13609             # Make sure the PIC flag is empty.  It appears that all Alpha
13610             # Linux and Compaq Tru64 Unix objects are PIC.
13611             lt_prog_compiler_pic_CXX=
13612             lt_prog_compiler_static_CXX='-non_shared'
13613             ;;
13614           *)
13615             ;;
13616         esac
13617         ;;
13618       psos*)
13619         ;;
13620       solaris*)
13621         case $cc_basename in
13622           CC*)
13623             # Sun C++ 4.2, 5.x and Centerline C++
13624             lt_prog_compiler_pic_CXX='-KPIC'
13625             lt_prog_compiler_static_CXX='-Bstatic'
13626             lt_prog_compiler_wl_CXX='-Qoption ld '
13627             ;;
13628           gcx*)
13629             # Green Hills C++ Compiler
13630             lt_prog_compiler_pic_CXX='-PIC'
13631             ;;
13632           *)
13633             ;;
13634         esac
13635         ;;
13636       sunos4*)
13637         case $cc_basename in
13638           CC*)
13639             # Sun C++ 4.x
13640             lt_prog_compiler_pic_CXX='-pic'
13641             lt_prog_compiler_static_CXX='-Bstatic'
13642             ;;
13643           lcc*)
13644             # Lucid
13645             lt_prog_compiler_pic_CXX='-pic'
13646             ;;
13647           *)
13648             ;;
13649         esac
13650         ;;
13651       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13652         case $cc_basename in
13653           CC*)
13654             lt_prog_compiler_wl_CXX='-Wl,'
13655             lt_prog_compiler_pic_CXX='-KPIC'
13656             lt_prog_compiler_static_CXX='-Bstatic'
13657             ;;
13658         esac
13659         ;;
13660       tandem*)
13661         case $cc_basename in
13662           NCC*)
13663             # NonStop-UX NCC 3.20
13664             lt_prog_compiler_pic_CXX='-KPIC'
13665             ;;
13666           *)
13667             ;;
13668         esac
13669         ;;
13670       vxworks*)
13671         ;;
13672       *)
13673         lt_prog_compiler_can_build_shared_CXX=no
13674         ;;
13675     esac
13676   fi
13677
13678 case $host_os in
13679   # For platforms which do not support PIC, -DPIC is meaningless:
13680   *djgpp*)
13681     lt_prog_compiler_pic_CXX=
13682     ;;
13683   *)
13684     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13685     ;;
13686 esac
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13688 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13689
13690
13691
13692 #
13693 # Check to make sure the PIC flag actually works.
13694 #
13695 if test -n "$lt_prog_compiler_pic_CXX"; then
13696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13697 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13698 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13699   $as_echo_n "(cached) " >&6
13700 else
13701   lt_cv_prog_compiler_pic_works_CXX=no
13702    ac_outfile=conftest.$ac_objext
13703    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13704    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13705    # Insert the option either (1) after the last *FLAGS variable, or
13706    # (2) before a word containing "conftest.", or (3) at the end.
13707    # Note that $ac_compile itself does not contain backslashes and begins
13708    # with a dollar sign (not a hyphen), so the echo should work correctly.
13709    # The option is referenced via a variable to avoid confusing sed.
13710    lt_compile=`echo "$ac_compile" | $SED \
13711    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13712    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13713    -e 's:$: $lt_compiler_flag:'`
13714    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13715    (eval "$lt_compile" 2>conftest.err)
13716    ac_status=$?
13717    cat conftest.err >&5
13718    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719    if (exit $ac_status) && test -s "$ac_outfile"; then
13720      # The compiler can only warn and ignore the option if not recognized
13721      # So say no if there are warnings other than the usual output.
13722      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13723      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13724      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13725        lt_cv_prog_compiler_pic_works_CXX=yes
13726      fi
13727    fi
13728    $RM conftest*
13729
13730 fi
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13732 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13733
13734 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13735     case $lt_prog_compiler_pic_CXX in
13736      "" | " "*) ;;
13737      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13738      esac
13739 else
13740     lt_prog_compiler_pic_CXX=
13741      lt_prog_compiler_can_build_shared_CXX=no
13742 fi
13743
13744 fi
13745
13746
13747
13748 #
13749 # Check to make sure the static flag actually works.
13750 #
13751 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13753 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13754 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13755   $as_echo_n "(cached) " >&6
13756 else
13757   lt_cv_prog_compiler_static_works_CXX=no
13758    save_LDFLAGS="$LDFLAGS"
13759    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13760    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13761    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13762      # The linker can only warn and ignore the option if not recognized
13763      # So say no if there are warnings
13764      if test -s conftest.err; then
13765        # Append any errors to the config.log.
13766        cat conftest.err 1>&5
13767        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13768        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13769        if diff conftest.exp conftest.er2 >/dev/null; then
13770          lt_cv_prog_compiler_static_works_CXX=yes
13771        fi
13772      else
13773        lt_cv_prog_compiler_static_works_CXX=yes
13774      fi
13775    fi
13776    $RM -r conftest*
13777    LDFLAGS="$save_LDFLAGS"
13778
13779 fi
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13781 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13782
13783 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13784     :
13785 else
13786     lt_prog_compiler_static_CXX=
13787 fi
13788
13789
13790
13791
13792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13793 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13794 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13795   $as_echo_n "(cached) " >&6
13796 else
13797   lt_cv_prog_compiler_c_o_CXX=no
13798    $RM -r conftest 2>/dev/null
13799    mkdir conftest
13800    cd conftest
13801    mkdir out
13802    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13803
13804    lt_compiler_flag="-o out/conftest2.$ac_objext"
13805    # Insert the option either (1) after the last *FLAGS variable, or
13806    # (2) before a word containing "conftest.", or (3) at the end.
13807    # Note that $ac_compile itself does not contain backslashes and begins
13808    # with a dollar sign (not a hyphen), so the echo should work correctly.
13809    lt_compile=`echo "$ac_compile" | $SED \
13810    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13811    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13812    -e 's:$: $lt_compiler_flag:'`
13813    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13814    (eval "$lt_compile" 2>out/conftest.err)
13815    ac_status=$?
13816    cat out/conftest.err >&5
13817    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13819    then
13820      # The compiler can only warn and ignore the option if not recognized
13821      # So say no if there are warnings
13822      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13823      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13824      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13825        lt_cv_prog_compiler_c_o_CXX=yes
13826      fi
13827    fi
13828    chmod u+w . 2>&5
13829    $RM conftest*
13830    # SGI C++ compiler will create directory out/ii_files/ for
13831    # template instantiation
13832    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13833    $RM out/* && rmdir out
13834    cd ..
13835    $RM -r conftest
13836    $RM conftest*
13837
13838 fi
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13841
13842
13843
13844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13845 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13846 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13847   $as_echo_n "(cached) " >&6
13848 else
13849   lt_cv_prog_compiler_c_o_CXX=no
13850    $RM -r conftest 2>/dev/null
13851    mkdir conftest
13852    cd conftest
13853    mkdir out
13854    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13855
13856    lt_compiler_flag="-o out/conftest2.$ac_objext"
13857    # Insert the option either (1) after the last *FLAGS variable, or
13858    # (2) before a word containing "conftest.", or (3) at the end.
13859    # Note that $ac_compile itself does not contain backslashes and begins
13860    # with a dollar sign (not a hyphen), so the echo should work correctly.
13861    lt_compile=`echo "$ac_compile" | $SED \
13862    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13863    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13864    -e 's:$: $lt_compiler_flag:'`
13865    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13866    (eval "$lt_compile" 2>out/conftest.err)
13867    ac_status=$?
13868    cat out/conftest.err >&5
13869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13871    then
13872      # The compiler can only warn and ignore the option if not recognized
13873      # So say no if there are warnings
13874      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13875      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13876      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13877        lt_cv_prog_compiler_c_o_CXX=yes
13878      fi
13879    fi
13880    chmod u+w . 2>&5
13881    $RM conftest*
13882    # SGI C++ compiler will create directory out/ii_files/ for
13883    # template instantiation
13884    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13885    $RM out/* && rmdir out
13886    cd ..
13887    $RM -r conftest
13888    $RM conftest*
13889
13890 fi
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13892 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13893
13894
13895
13896
13897 hard_links="nottested"
13898 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13899   # do not overwrite the value of need_locks provided by the user
13900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13901 $as_echo_n "checking if we can lock with hard links... " >&6; }
13902   hard_links=yes
13903   $RM conftest*
13904   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13905   touch conftest.a
13906   ln conftest.a conftest.b 2>&5 || hard_links=no
13907   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13909 $as_echo "$hard_links" >&6; }
13910   if test "$hard_links" = no; then
13911     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13912 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13913     need_locks=warn
13914   fi
13915 else
13916   need_locks=no
13917 fi
13918
13919
13920
13921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13922 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13923
13924   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13925   case $host_os in
13926   aix[4-9]*)
13927     # If we're using GNU nm, then we don't want the "-C" option.
13928     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13929     # Also, AIX nm treats weak defined symbols like other global defined
13930     # symbols, whereas GNU nm marks them as "W".
13931     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13932       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13933     else
13934       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13935     fi
13936     ;;
13937   pw32*)
13938     export_symbols_cmds_CXX="$ltdll_cmds"
13939   ;;
13940   cygwin* | mingw* | cegcc*)
13941     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13942   ;;
13943   *)
13944     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945   ;;
13946   esac
13947   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13948
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13950 $as_echo "$ld_shlibs_CXX" >&6; }
13951 test "$ld_shlibs_CXX" = no && can_build_shared=no
13952
13953 with_gnu_ld_CXX=$with_gnu_ld
13954
13955
13956
13957
13958
13959
13960 #
13961 # Do we need to explicitly link libc?
13962 #
13963 case "x$archive_cmds_need_lc_CXX" in
13964 x|xyes)
13965   # Assume -lc should be added
13966   archive_cmds_need_lc_CXX=yes
13967
13968   if test "$enable_shared" = yes && test "$GCC" = yes; then
13969     case $archive_cmds_CXX in
13970     *'~'*)
13971       # FIXME: we may have to deal with multi-command sequences.
13972       ;;
13973     '$CC '*)
13974       # Test whether the compiler implicitly links with -lc since on some
13975       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13976       # to ld, don't add -lc before -lgcc.
13977       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13978 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13979 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13980   $as_echo_n "(cached) " >&6
13981 else
13982   $RM conftest*
13983         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13984
13985         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13986   (eval $ac_compile) 2>&5
13987   ac_status=$?
13988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989   test $ac_status = 0; } 2>conftest.err; then
13990           soname=conftest
13991           lib=conftest
13992           libobjs=conftest.$ac_objext
13993           deplibs=
13994           wl=$lt_prog_compiler_wl_CXX
13995           pic_flag=$lt_prog_compiler_pic_CXX
13996           compiler_flags=-v
13997           linker_flags=-v
13998           verstring=
13999           output_objdir=.
14000           libname=conftest
14001           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14002           allow_undefined_flag_CXX=
14003           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14004   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14005   ac_status=$?
14006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007   test $ac_status = 0; }
14008           then
14009             lt_cv_archive_cmds_need_lc_CXX=no
14010           else
14011             lt_cv_archive_cmds_need_lc_CXX=yes
14012           fi
14013           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14014         else
14015           cat conftest.err 1>&5
14016         fi
14017         $RM conftest*
14018
14019 fi
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14021 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14022       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14023       ;;
14024     esac
14025   fi
14026   ;;
14027 esac
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14093 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14094
14095 library_names_spec=
14096 libname_spec='lib$name'
14097 soname_spec=
14098 shrext_cmds=".so"
14099 postinstall_cmds=
14100 postuninstall_cmds=
14101 finish_cmds=
14102 finish_eval=
14103 shlibpath_var=
14104 shlibpath_overrides_runpath=unknown
14105 version_type=none
14106 dynamic_linker="$host_os ld.so"
14107 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14108 need_lib_prefix=unknown
14109 hardcode_into_libs=no
14110
14111 # when you set need_version to no, make sure it does not cause -set_version
14112 # flags to be left without arguments
14113 need_version=unknown
14114
14115 case $host_os in
14116 aix3*)
14117   version_type=linux
14118   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14119   shlibpath_var=LIBPATH
14120
14121   # AIX 3 has no versioning support, so we append a major version to the name.
14122   soname_spec='${libname}${release}${shared_ext}$major'
14123   ;;
14124
14125 aix[4-9]*)
14126   version_type=linux
14127   need_lib_prefix=no
14128   need_version=no
14129   hardcode_into_libs=yes
14130   if test "$host_cpu" = ia64; then
14131     # AIX 5 supports IA64
14132     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14133     shlibpath_var=LD_LIBRARY_PATH
14134   else
14135     # With GCC up to 2.95.x, collect2 would create an import file
14136     # for dependence libraries.  The import file would start with
14137     # the line `#! .'.  This would cause the generated library to
14138     # depend on `.', always an invalid library.  This was fixed in
14139     # development snapshots of GCC prior to 3.0.
14140     case $host_os in
14141       aix4 | aix4.[01] | aix4.[01].*)
14142       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14143            echo ' yes '
14144            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14145         :
14146       else
14147         can_build_shared=no
14148       fi
14149       ;;
14150     esac
14151     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14152     # soname into executable. Probably we can add versioning support to
14153     # collect2, so additional links can be useful in future.
14154     if test "$aix_use_runtimelinking" = yes; then
14155       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14156       # instead of lib<name>.a to let people know that these are not
14157       # typical AIX shared libraries.
14158       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14159     else
14160       # We preserve .a as extension for shared libraries through AIX4.2
14161       # and later when we are not doing run time linking.
14162       library_names_spec='${libname}${release}.a $libname.a'
14163       soname_spec='${libname}${release}${shared_ext}$major'
14164     fi
14165     shlibpath_var=LIBPATH
14166   fi
14167   ;;
14168
14169 amigaos*)
14170   case $host_cpu in
14171   powerpc)
14172     # Since July 2007 AmigaOS4 officially supports .so libraries.
14173     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14174     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14175     ;;
14176   m68k)
14177     library_names_spec='$libname.ixlibrary $libname.a'
14178     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14179     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14180     ;;
14181   esac
14182   ;;
14183
14184 beos*)
14185   library_names_spec='${libname}${shared_ext}'
14186   dynamic_linker="$host_os ld.so"
14187   shlibpath_var=LIBRARY_PATH
14188   ;;
14189
14190 bsdi[45]*)
14191   version_type=linux
14192   need_version=no
14193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194   soname_spec='${libname}${release}${shared_ext}$major'
14195   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14196   shlibpath_var=LD_LIBRARY_PATH
14197   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14198   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14199   # the default ld.so.conf also contains /usr/contrib/lib and
14200   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14201   # libtool to hard-code these into programs
14202   ;;
14203
14204 cygwin* | mingw* | pw32* | cegcc*)
14205   version_type=windows
14206   shrext_cmds=".dll"
14207   need_version=no
14208   need_lib_prefix=no
14209
14210   case $GCC,$host_os in
14211   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14212     library_names_spec='$libname.dll.a'
14213     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14214     postinstall_cmds='base_file=`basename \${file}`~
14215       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14216       dldir=$destdir/`dirname \$dlpath`~
14217       test -d \$dldir || mkdir -p \$dldir~
14218       $install_prog $dir/$dlname \$dldir/$dlname~
14219       chmod a+x \$dldir/$dlname~
14220       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14221         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14222       fi'
14223     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14224       dlpath=$dir/\$dldll~
14225        $RM \$dlpath'
14226     shlibpath_overrides_runpath=yes
14227
14228     case $host_os in
14229     cygwin*)
14230       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14231       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14232
14233       ;;
14234     mingw* | cegcc*)
14235       # MinGW DLLs use traditional 'lib' prefix
14236       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14237       ;;
14238     pw32*)
14239       # pw32 DLLs use 'pw' prefix rather than 'lib'
14240       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14241       ;;
14242     esac
14243     ;;
14244
14245   *)
14246     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14247     ;;
14248   esac
14249   dynamic_linker='Win32 ld.exe'
14250   # FIXME: first we should search . and the directory the executable is in
14251   shlibpath_var=PATH
14252   ;;
14253
14254 darwin* | rhapsody*)
14255   dynamic_linker="$host_os dyld"
14256   version_type=darwin
14257   need_lib_prefix=no
14258   need_version=no
14259   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14260   soname_spec='${libname}${release}${major}$shared_ext'
14261   shlibpath_overrides_runpath=yes
14262   shlibpath_var=DYLD_LIBRARY_PATH
14263   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14264
14265   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14266   ;;
14267
14268 dgux*)
14269   version_type=linux
14270   need_lib_prefix=no
14271   need_version=no
14272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14273   soname_spec='${libname}${release}${shared_ext}$major'
14274   shlibpath_var=LD_LIBRARY_PATH
14275   ;;
14276
14277 freebsd1*)
14278   dynamic_linker=no
14279   ;;
14280
14281 freebsd* | dragonfly*)
14282   # DragonFly does not have aout.  When/if they implement a new
14283   # versioning mechanism, adjust this.
14284   if test -x /usr/bin/objformat; then
14285     objformat=`/usr/bin/objformat`
14286   else
14287     case $host_os in
14288     freebsd[123]*) objformat=aout ;;
14289     *) objformat=elf ;;
14290     esac
14291   fi
14292   version_type=freebsd-$objformat
14293   case $version_type in
14294     freebsd-elf*)
14295       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14296       need_version=no
14297       need_lib_prefix=no
14298       ;;
14299     freebsd-*)
14300       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14301       need_version=yes
14302       ;;
14303   esac
14304   shlibpath_var=LD_LIBRARY_PATH
14305   case $host_os in
14306   freebsd2*)
14307     shlibpath_overrides_runpath=yes
14308     ;;
14309   freebsd3.[01]* | freebsdelf3.[01]*)
14310     shlibpath_overrides_runpath=yes
14311     hardcode_into_libs=yes
14312     ;;
14313   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14314   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14315     shlibpath_overrides_runpath=no
14316     hardcode_into_libs=yes
14317     ;;
14318   *) # from 4.6 on, and DragonFly
14319     shlibpath_overrides_runpath=yes
14320     hardcode_into_libs=yes
14321     ;;
14322   esac
14323   ;;
14324
14325 gnu*)
14326   version_type=linux
14327   need_lib_prefix=no
14328   need_version=no
14329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14330   soname_spec='${libname}${release}${shared_ext}$major'
14331   shlibpath_var=LD_LIBRARY_PATH
14332   hardcode_into_libs=yes
14333   ;;
14334
14335 haiku*)
14336   version_type=linux
14337   need_lib_prefix=no
14338   need_version=no
14339   dynamic_linker="$host_os runtime_loader"
14340   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14341   soname_spec='${libname}${release}${shared_ext}$major'
14342   shlibpath_var=LIBRARY_PATH
14343   shlibpath_overrides_runpath=yes
14344   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14345   hardcode_into_libs=yes
14346   ;;
14347
14348 hpux9* | hpux10* | hpux11*)
14349   # Give a soname corresponding to the major version so that dld.sl refuses to
14350   # link against other versions.
14351   version_type=sunos
14352   need_lib_prefix=no
14353   need_version=no
14354   case $host_cpu in
14355   ia64*)
14356     shrext_cmds='.so'
14357     hardcode_into_libs=yes
14358     dynamic_linker="$host_os dld.so"
14359     shlibpath_var=LD_LIBRARY_PATH
14360     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14361     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14362     soname_spec='${libname}${release}${shared_ext}$major'
14363     if test "X$HPUX_IA64_MODE" = X32; then
14364       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14365     else
14366       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14367     fi
14368     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14369     ;;
14370   hppa*64*)
14371     shrext_cmds='.sl'
14372     hardcode_into_libs=yes
14373     dynamic_linker="$host_os dld.sl"
14374     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14375     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377     soname_spec='${libname}${release}${shared_ext}$major'
14378     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14379     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14380     ;;
14381   *)
14382     shrext_cmds='.sl'
14383     dynamic_linker="$host_os dld.sl"
14384     shlibpath_var=SHLIB_PATH
14385     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14386     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387     soname_spec='${libname}${release}${shared_ext}$major'
14388     ;;
14389   esac
14390   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14391   postinstall_cmds='chmod 555 $lib'
14392   # or fails outright, so override atomically:
14393   install_override_mode=555
14394   ;;
14395
14396 interix[3-9]*)
14397   version_type=linux
14398   need_lib_prefix=no
14399   need_version=no
14400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14401   soname_spec='${libname}${release}${shared_ext}$major'
14402   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14403   shlibpath_var=LD_LIBRARY_PATH
14404   shlibpath_overrides_runpath=no
14405   hardcode_into_libs=yes
14406   ;;
14407
14408 irix5* | irix6* | nonstopux*)
14409   case $host_os in
14410     nonstopux*) version_type=nonstopux ;;
14411     *)
14412         if test "$lt_cv_prog_gnu_ld" = yes; then
14413                 version_type=linux
14414         else
14415                 version_type=irix
14416         fi ;;
14417   esac
14418   need_lib_prefix=no
14419   need_version=no
14420   soname_spec='${libname}${release}${shared_ext}$major'
14421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14422   case $host_os in
14423   irix5* | nonstopux*)
14424     libsuff= shlibsuff=
14425     ;;
14426   *)
14427     case $LD in # libtool.m4 will add one of these switches to LD
14428     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14429       libsuff= shlibsuff= libmagic=32-bit;;
14430     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14431       libsuff=32 shlibsuff=N32 libmagic=N32;;
14432     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14433       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14434     *) libsuff= shlibsuff= libmagic=never-match;;
14435     esac
14436     ;;
14437   esac
14438   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14439   shlibpath_overrides_runpath=no
14440   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14441   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14442   hardcode_into_libs=yes
14443   ;;
14444
14445 # No shared lib support for Linux oldld, aout, or coff.
14446 linux*oldld* | linux*aout* | linux*coff*)
14447   dynamic_linker=no
14448   ;;
14449
14450 # This must be Linux ELF.
14451 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14452   version_type=linux
14453   need_lib_prefix=no
14454   need_version=no
14455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14456   soname_spec='${libname}${release}${shared_ext}$major'
14457   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14458   shlibpath_var=LD_LIBRARY_PATH
14459   shlibpath_overrides_runpath=no
14460
14461   # Some binutils ld are patched to set DT_RUNPATH
14462   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14463   $as_echo_n "(cached) " >&6
14464 else
14465   lt_cv_shlibpath_overrides_runpath=no
14466     save_LDFLAGS=$LDFLAGS
14467     save_libdir=$libdir
14468     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14469          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14470     if test x$gcc_no_link = xyes; then
14471   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14472 fi
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h.  */
14475
14476 int
14477 main ()
14478 {
14479
14480   ;
14481   return 0;
14482 }
14483 _ACEOF
14484 if ac_fn_cxx_try_link "$LINENO"; then :
14485   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14486   lt_cv_shlibpath_overrides_runpath=yes
14487 fi
14488 fi
14489 rm -f core conftest.err conftest.$ac_objext \
14490     conftest$ac_exeext conftest.$ac_ext
14491     LDFLAGS=$save_LDFLAGS
14492     libdir=$save_libdir
14493
14494 fi
14495
14496   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14497
14498   # This implies no fast_install, which is unacceptable.
14499   # Some rework will be needed to allow for fast_install
14500   # before this can be enabled.
14501   hardcode_into_libs=yes
14502
14503   # Append ld.so.conf contents to the search path
14504   if test -f /etc/ld.so.conf; then
14505     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14506     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14507   fi
14508
14509   # We used to test for /lib/ld.so.1 and disable shared libraries on
14510   # powerpc, because MkLinux only supported shared libraries with the
14511   # GNU dynamic linker.  Since this was broken with cross compilers,
14512   # most powerpc-linux boxes support dynamic linking these days and
14513   # people can always --disable-shared, the test was removed, and we
14514   # assume the GNU/Linux dynamic linker is in use.
14515   dynamic_linker='GNU/Linux ld.so'
14516   ;;
14517
14518 netbsd*)
14519   version_type=sunos
14520   need_lib_prefix=no
14521   need_version=no
14522   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14524     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14525     dynamic_linker='NetBSD (a.out) ld.so'
14526   else
14527     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14528     soname_spec='${libname}${release}${shared_ext}$major'
14529     dynamic_linker='NetBSD ld.elf_so'
14530   fi
14531   shlibpath_var=LD_LIBRARY_PATH
14532   shlibpath_overrides_runpath=yes
14533   hardcode_into_libs=yes
14534   ;;
14535
14536 newsos6)
14537   version_type=linux
14538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14539   shlibpath_var=LD_LIBRARY_PATH
14540   shlibpath_overrides_runpath=yes
14541   ;;
14542
14543 *nto* | *qnx*)
14544   version_type=qnx
14545   need_lib_prefix=no
14546   need_version=no
14547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548   soname_spec='${libname}${release}${shared_ext}$major'
14549   shlibpath_var=LD_LIBRARY_PATH
14550   shlibpath_overrides_runpath=no
14551   hardcode_into_libs=yes
14552   dynamic_linker='ldqnx.so'
14553   ;;
14554
14555 openbsd*)
14556   version_type=sunos
14557   sys_lib_dlsearch_path_spec="/usr/lib"
14558   need_lib_prefix=no
14559   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14560   case $host_os in
14561     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14562     *)                          need_version=no  ;;
14563   esac
14564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14565   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14566   shlibpath_var=LD_LIBRARY_PATH
14567   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14568     case $host_os in
14569       openbsd2.[89] | openbsd2.[89].*)
14570         shlibpath_overrides_runpath=no
14571         ;;
14572       *)
14573         shlibpath_overrides_runpath=yes
14574         ;;
14575       esac
14576   else
14577     shlibpath_overrides_runpath=yes
14578   fi
14579   ;;
14580
14581 os2*)
14582   libname_spec='$name'
14583   shrext_cmds=".dll"
14584   need_lib_prefix=no
14585   library_names_spec='$libname${shared_ext} $libname.a'
14586   dynamic_linker='OS/2 ld.exe'
14587   shlibpath_var=LIBPATH
14588   ;;
14589
14590 osf3* | osf4* | osf5*)
14591   version_type=osf
14592   need_lib_prefix=no
14593   need_version=no
14594   soname_spec='${libname}${release}${shared_ext}$major'
14595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596   shlibpath_var=LD_LIBRARY_PATH
14597   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14598   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14599   ;;
14600
14601 rdos*)
14602   dynamic_linker=no
14603   ;;
14604
14605 solaris*)
14606   version_type=linux
14607   need_lib_prefix=no
14608   need_version=no
14609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610   soname_spec='${libname}${release}${shared_ext}$major'
14611   shlibpath_var=LD_LIBRARY_PATH
14612   shlibpath_overrides_runpath=yes
14613   hardcode_into_libs=yes
14614   # ldd complains unless libraries are executable
14615   postinstall_cmds='chmod +x $lib'
14616   ;;
14617
14618 sunos4*)
14619   version_type=sunos
14620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14621   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14622   shlibpath_var=LD_LIBRARY_PATH
14623   shlibpath_overrides_runpath=yes
14624   if test "$with_gnu_ld" = yes; then
14625     need_lib_prefix=no
14626   fi
14627   need_version=yes
14628   ;;
14629
14630 sysv4 | sysv4.3*)
14631   version_type=linux
14632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14633   soname_spec='${libname}${release}${shared_ext}$major'
14634   shlibpath_var=LD_LIBRARY_PATH
14635   case $host_vendor in
14636     sni)
14637       shlibpath_overrides_runpath=no
14638       need_lib_prefix=no
14639       runpath_var=LD_RUN_PATH
14640       ;;
14641     siemens)
14642       need_lib_prefix=no
14643       ;;
14644     motorola)
14645       need_lib_prefix=no
14646       need_version=no
14647       shlibpath_overrides_runpath=no
14648       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14649       ;;
14650   esac
14651   ;;
14652
14653 sysv4*MP*)
14654   if test -d /usr/nec ;then
14655     version_type=linux
14656     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14657     soname_spec='$libname${shared_ext}.$major'
14658     shlibpath_var=LD_LIBRARY_PATH
14659   fi
14660   ;;
14661
14662 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14663   version_type=freebsd-elf
14664   need_lib_prefix=no
14665   need_version=no
14666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14667   soname_spec='${libname}${release}${shared_ext}$major'
14668   shlibpath_var=LD_LIBRARY_PATH
14669   shlibpath_overrides_runpath=yes
14670   hardcode_into_libs=yes
14671   if test "$with_gnu_ld" = yes; then
14672     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14673   else
14674     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14675     case $host_os in
14676       sco3.2v5*)
14677         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14678         ;;
14679     esac
14680   fi
14681   sys_lib_dlsearch_path_spec='/usr/lib'
14682   ;;
14683
14684 tpf*)
14685   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14686   version_type=linux
14687   need_lib_prefix=no
14688   need_version=no
14689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14690   shlibpath_var=LD_LIBRARY_PATH
14691   shlibpath_overrides_runpath=no
14692   hardcode_into_libs=yes
14693   ;;
14694
14695 uts4*)
14696   version_type=linux
14697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698   soname_spec='${libname}${release}${shared_ext}$major'
14699   shlibpath_var=LD_LIBRARY_PATH
14700   ;;
14701
14702 *)
14703   dynamic_linker=no
14704   ;;
14705 esac
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14707 $as_echo "$dynamic_linker" >&6; }
14708 test "$dynamic_linker" = no && can_build_shared=no
14709
14710 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14711 if test "$GCC" = yes; then
14712   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14713 fi
14714
14715 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14716   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14717 fi
14718 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14719   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14720 fi
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14760 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14761 hardcode_action_CXX=
14762 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14763    test -n "$runpath_var_CXX" ||
14764    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14765
14766   # We can hardcode non-existent directories.
14767   if test "$hardcode_direct_CXX" != no &&
14768      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14769      # have to relink, otherwise we might link with an installed library
14770      # when we should be linking with a yet-to-be-installed one
14771      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14772      test "$hardcode_minus_L_CXX" != no; then
14773     # Linking always hardcodes the temporary library directory.
14774     hardcode_action_CXX=relink
14775   else
14776     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14777     hardcode_action_CXX=immediate
14778   fi
14779 else
14780   # We cannot hardcode anything, or else we can only hardcode existing
14781   # directories.
14782   hardcode_action_CXX=unsupported
14783 fi
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14785 $as_echo "$hardcode_action_CXX" >&6; }
14786
14787 if test "$hardcode_action_CXX" = relink ||
14788    test "$inherit_rpath_CXX" = yes; then
14789   # Fast installation is not supported
14790   enable_fast_install=no
14791 elif test "$shlibpath_overrides_runpath" = yes ||
14792      test "$enable_shared" = no; then
14793   # Fast installation is not necessary
14794   enable_fast_install=needless
14795 fi
14796
14797
14798
14799
14800
14801
14802
14803   fi # test -n "$compiler"
14804
14805   CC=$lt_save_CC
14806   LDCXX=$LD
14807   LD=$lt_save_LD
14808   GCC=$lt_save_GCC
14809   with_gnu_ld=$lt_save_with_gnu_ld
14810   lt_cv_path_LDCXX=$lt_cv_path_LD
14811   lt_cv_path_LD=$lt_save_path_LD
14812   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14813   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14814 fi # test "$_lt_caught_CXX_error" != yes
14815
14816 ac_ext=c
14817 ac_cpp='$CPP $CPPFLAGS'
14818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834         ac_config_commands="$ac_config_commands libtool"
14835
14836
14837
14838
14839 # Only expand once:
14840
14841
14842
14843
14844
14845 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14846 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14847
14848 # Possibly disable most of the library.
14849 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14850 ## than just ignoring the results.  Faster /and/ more correct, win win.
14851
14852   # Check whether --enable-hosted-libstdcxx was given.
14853 if test "${enable_hosted_libstdcxx+set}" = set; then :
14854   enableval=$enable_hosted_libstdcxx;
14855 else
14856   case "$host" in
14857         arm*-*-symbianelf*)
14858             enable_hosted_libstdcxx=no
14859             ;;
14860         *)
14861             enable_hosted_libstdcxx=yes
14862             ;;
14863      esac
14864 fi
14865
14866   if test "$enable_hosted_libstdcxx" = no; then
14867     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14868 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14869     is_hosted=no
14870     hosted_define=0
14871     enable_abi_check=no
14872     enable_libstdcxx_pch=no
14873   else
14874     is_hosted=yes
14875     hosted_define=1
14876   fi
14877
14878
14879 cat >>confdefs.h <<_ACEOF
14880 #define _GLIBCXX_HOSTED $hosted_define
14881 _ACEOF
14882
14883
14884
14885 # Enable compiler support that doesn't require linking.
14886
14887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14888 $as_echo_n "checking for exception model to use... " >&6; }
14889
14890   ac_ext=cpp
14891 ac_cpp='$CXXCPP $CPPFLAGS'
14892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14895
14896    # Check whether --enable-sjlj-exceptions was given.
14897 if test "${enable_sjlj_exceptions+set}" = set; then :
14898   enableval=$enable_sjlj_exceptions;
14899       case "$enableval" in
14900        yes|no|auto) ;;
14901        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14902                           esac
14903
14904 else
14905   enable_sjlj_exceptions=auto
14906 fi
14907
14908
14909
14910   if test $enable_sjlj_exceptions = auto; then
14911     # Botheration.  Now we've got to detect the exception model.  Link tests
14912     # against libgcc.a are problematic since we've not been given proper -L
14913     # bits for single-tree newlib and libgloss.
14914     #
14915     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14916     cat > conftest.$ac_ext << EOF
14917 #line 14917 "configure"
14918 struct S { ~S(); };
14919 void bar();
14920 void foo()
14921 {
14922   S s;
14923   bar();
14924 }
14925 EOF
14926     old_CXXFLAGS="$CXXFLAGS"
14927     CXXFLAGS=-S
14928     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14929   (eval $ac_compile) 2>&5
14930   ac_status=$?
14931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14932   test $ac_status = 0; }; then
14933       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14934         enable_sjlj_exceptions=yes
14935       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14936         enable_sjlj_exceptions=no
14937       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14938         enable_sjlj_exceptions=no
14939       fi
14940     fi
14941     CXXFLAGS="$old_CXXFLAGS"
14942     rm -f conftest*
14943   fi
14944
14945   # This is a tad weird, for hysterical raisins.  We have to map
14946   # enable/disable to two different models.
14947   case $enable_sjlj_exceptions in
14948     yes)
14949
14950 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14951
14952       ac_exception_model_name=sjlj
14953       ;;
14954     no)
14955       ac_exception_model_name="call frame"
14956       ;;
14957     *)
14958       as_fn_error "unable to detect exception model" "$LINENO" 5
14959       ;;
14960   esac
14961  ac_ext=c
14962 ac_cpp='$CPP $CPPFLAGS'
14963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14966
14967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14968 $as_echo "$ac_exception_model_name" >&6; }
14969
14970
14971    # Check whether --enable-libstdcxx-pch was given.
14972 if test "${enable_libstdcxx_pch+set}" = set; then :
14973   enableval=$enable_libstdcxx_pch;
14974       case "$enableval" in
14975        yes|no) ;;
14976        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14977       esac
14978
14979 else
14980   enable_libstdcxx_pch=$is_hosted
14981 fi
14982
14983
14984   if test $enable_libstdcxx_pch = yes; then
14985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14986 $as_echo_n "checking for compiler with PCH support... " >&6; }
14987 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14988   $as_echo_n "(cached) " >&6
14989 else
14990   ac_save_CXXFLAGS="$CXXFLAGS"
14991        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14992
14993        ac_ext=cpp
14994 ac_cpp='$CXXCPP $CPPFLAGS'
14995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14998
14999        echo '#include <math.h>' > conftest.h
15000        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15001                           -o conftest.h.gch 1>&5 2>&1 &&
15002                 echo '#error "pch failed"' > conftest.h &&
15003           echo '#include "conftest.h"' > conftest.cc &&
15004                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15005        then
15006          glibcxx_cv_prog_CXX_pch=yes
15007        else
15008          glibcxx_cv_prog_CXX_pch=no
15009        fi
15010        rm -f conftest*
15011        CXXFLAGS=$ac_save_CXXFLAGS
15012        ac_ext=c
15013 ac_cpp='$CPP $CPPFLAGS'
15014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15017
15018
15019 fi
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15021 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15022     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15023   fi
15024
15025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15026 $as_echo_n "checking for enabled PCH... " >&6; }
15027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15028 $as_echo "$enable_libstdcxx_pch" >&6; }
15029
15030
15031   if test $enable_libstdcxx_pch = yes; then
15032     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15033   else
15034     glibcxx_PCHFLAGS=""
15035   fi
15036
15037
15038
15039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15040 $as_echo_n "checking for thread model used by GCC... " >&6; }
15041   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15043 $as_echo "$target_thread_file" >&6; }
15044
15045   if test $target_thread_file != single; then
15046
15047 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15048
15049   fi
15050
15051   glibcxx_thread_h=gthr-$target_thread_file.h
15052
15053     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15054   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15055     enable_thread=yes
15056   else
15057    enable_thread=no
15058   fi
15059
15060
15061
15062
15063
15064   ac_ext=cpp
15065 ac_cpp='$CXXCPP $CPPFLAGS'
15066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15069
15070   old_CXXFLAGS="$CXXFLAGS"
15071
15072   # Do link tests if possible, instead asm tests, limited to some platforms
15073   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15074   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15075   atomic_builtins_link_tests=no
15076   if test x$gcc_no_link != xyes; then
15077     # Can do link tests. Limit to some tested platforms
15078     case "$host" in
15079       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15080         atomic_builtins_link_tests=yes
15081         ;;
15082     esac
15083   fi
15084
15085   if test x$atomic_builtins_link_tests = xyes; then
15086
15087   # Do link tests.
15088
15089   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15090
15091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15092 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15093   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15094   $as_echo_n "(cached) " >&6
15095 else
15096
15097     if test x$gcc_no_link = xyes; then
15098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15099 fi
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h.  */
15102
15103 int
15104 main ()
15105 {
15106 typedef bool atomic_type;
15107        atomic_type c1;
15108        atomic_type c2;
15109        const atomic_type c3(0);
15110        __sync_fetch_and_add(&c1, c2);
15111        __sync_val_compare_and_swap(&c1, c3, c2);
15112        __sync_lock_test_and_set(&c1, c3);
15113        __sync_lock_release(&c1);
15114        __sync_synchronize();
15115   ;
15116   return 0;
15117 }
15118 _ACEOF
15119 if ac_fn_cxx_try_link "$LINENO"; then :
15120   glibcxx_cv_atomic_bool=yes
15121 else
15122   glibcxx_cv_atomic_bool=no
15123 fi
15124 rm -f core conftest.err conftest.$ac_objext \
15125     conftest$ac_exeext conftest.$ac_ext
15126
15127 fi
15128
15129   if test $glibcxx_cv_atomic_bool = yes; then
15130
15131 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15132
15133   fi
15134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15135 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15136
15137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15138 $as_echo_n "checking for atomic builtins for short... " >&6; }
15139   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15140   $as_echo_n "(cached) " >&6
15141 else
15142
15143     if test x$gcc_no_link = xyes; then
15144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15145 fi
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h.  */
15148
15149 int
15150 main ()
15151 {
15152 typedef short atomic_type;
15153        atomic_type c1;
15154        atomic_type c2;
15155        const atomic_type c3(0);
15156        __sync_fetch_and_add(&c1, c2);
15157        __sync_val_compare_and_swap(&c1, c3, c2);
15158        __sync_lock_test_and_set(&c1, c3);
15159        __sync_lock_release(&c1);
15160        __sync_synchronize();
15161   ;
15162   return 0;
15163 }
15164 _ACEOF
15165 if ac_fn_cxx_try_link "$LINENO"; then :
15166   glibcxx_cv_atomic_short=yes
15167 else
15168   glibcxx_cv_atomic_short=no
15169 fi
15170 rm -f core conftest.err conftest.$ac_objext \
15171     conftest$ac_exeext conftest.$ac_ext
15172
15173 fi
15174
15175   if test $glibcxx_cv_atomic_short = yes; then
15176
15177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15178
15179   fi
15180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15181 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15182
15183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15184 $as_echo_n "checking for atomic builtins for int... " >&6; }
15185   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15186   $as_echo_n "(cached) " >&6
15187 else
15188
15189     if test x$gcc_no_link = xyes; then
15190   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15191 fi
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h.  */
15194
15195 int
15196 main ()
15197 {
15198 typedef int atomic_type;
15199        atomic_type c1;
15200        atomic_type c2;
15201        const atomic_type c3(0);
15202        __sync_fetch_and_add(&c1, c2);
15203        __sync_val_compare_and_swap(&c1, c3, c2);
15204        __sync_lock_test_and_set(&c1, c3);
15205        __sync_lock_release(&c1);
15206        __sync_synchronize();
15207   ;
15208   return 0;
15209 }
15210 _ACEOF
15211 if ac_fn_cxx_try_link "$LINENO"; then :
15212   glibcxx_cv_atomic_int=yes
15213 else
15214   glibcxx_cv_atomic_int=no
15215 fi
15216 rm -f core conftest.err conftest.$ac_objext \
15217     conftest$ac_exeext conftest.$ac_ext
15218
15219 fi
15220
15221   if test $glibcxx_cv_atomic_int = yes; then
15222
15223 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15224
15225   fi
15226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15227 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15228
15229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15230 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15231   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15232   $as_echo_n "(cached) " >&6
15233 else
15234
15235     if test x$gcc_no_link = xyes; then
15236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15237 fi
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h.  */
15240
15241 int
15242 main ()
15243 {
15244 typedef long long atomic_type;
15245        atomic_type c1;
15246        atomic_type c2;
15247        const atomic_type c3(0);
15248        __sync_fetch_and_add(&c1, c2);
15249        __sync_val_compare_and_swap(&c1, c3, c2);
15250        __sync_lock_test_and_set(&c1, c3);
15251        __sync_lock_release(&c1);
15252        __sync_synchronize();
15253   ;
15254   return 0;
15255 }
15256 _ACEOF
15257 if ac_fn_cxx_try_link "$LINENO"; then :
15258   glibcxx_cv_atomic_long_long=yes
15259 else
15260   glibcxx_cv_atomic_long_long=no
15261 fi
15262 rm -f core conftest.err conftest.$ac_objext \
15263     conftest$ac_exeext conftest.$ac_ext
15264
15265 fi
15266
15267   if test $glibcxx_cv_atomic_long_long = yes; then
15268
15269 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15270
15271   fi
15272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15273 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15274
15275   else
15276
15277   # Do asm tests.
15278
15279   # Compile unoptimized.
15280   CXXFLAGS='-O0 -S'
15281
15282   # Fake what AC_TRY_COMPILE does.
15283
15284     cat > conftest.$ac_ext << EOF
15285 #line 15285 "configure"
15286 int main()
15287 {
15288   typedef bool atomic_type;
15289   atomic_type c1;
15290   atomic_type c2;
15291   const atomic_type c3(0);
15292   __sync_fetch_and_add(&c1, c2);
15293   __sync_val_compare_and_swap(&c1, c3, c2);
15294   __sync_lock_test_and_set(&c1, c3);
15295   __sync_lock_release(&c1);
15296   __sync_synchronize();
15297   return 0;
15298 }
15299 EOF
15300
15301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15302 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15303     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15304   (eval $ac_compile) 2>&5
15305   ac_status=$?
15306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15307   test $ac_status = 0; }; then
15308       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15309         glibcxx_cv_atomic_bool=no
15310       else
15311
15312 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15313
15314         glibcxx_cv_atomic_bool=yes
15315       fi
15316     fi
15317     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15318 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15319     rm -f conftest*
15320
15321     cat > conftest.$ac_ext << EOF
15322 #line 15322 "configure"
15323 int main()
15324 {
15325   typedef short atomic_type;
15326   atomic_type c1;
15327   atomic_type c2;
15328   const atomic_type c3(0);
15329   __sync_fetch_and_add(&c1, c2);
15330   __sync_val_compare_and_swap(&c1, c3, c2);
15331   __sync_lock_test_and_set(&c1, c3);
15332   __sync_lock_release(&c1);
15333   __sync_synchronize();
15334   return 0;
15335 }
15336 EOF
15337
15338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15339 $as_echo_n "checking for atomic builtins for short... " >&6; }
15340     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15341   (eval $ac_compile) 2>&5
15342   ac_status=$?
15343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344   test $ac_status = 0; }; then
15345       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15346         glibcxx_cv_atomic_short=no
15347       else
15348
15349 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15350
15351         glibcxx_cv_atomic_short=yes
15352       fi
15353     fi
15354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15355 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15356     rm -f conftest*
15357
15358     cat > conftest.$ac_ext << EOF
15359 #line 15359 "configure"
15360 int main()
15361 {
15362   // NB: _Atomic_word not necessarily int.
15363   typedef int atomic_type;
15364   atomic_type c1;
15365   atomic_type c2;
15366   const atomic_type c3(0);
15367   __sync_fetch_and_add(&c1, c2);
15368   __sync_val_compare_and_swap(&c1, c3, c2);
15369   __sync_lock_test_and_set(&c1, c3);
15370   __sync_lock_release(&c1);
15371   __sync_synchronize();
15372   return 0;
15373 }
15374 EOF
15375
15376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15377 $as_echo_n "checking for atomic builtins for int... " >&6; }
15378     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379   (eval $ac_compile) 2>&5
15380   ac_status=$?
15381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382   test $ac_status = 0; }; then
15383       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384         glibcxx_cv_atomic_int=no
15385       else
15386
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15388
15389         glibcxx_cv_atomic_int=yes
15390       fi
15391     fi
15392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15393 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15394     rm -f conftest*
15395
15396     cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15398 int main()
15399 {
15400   typedef long long atomic_type;
15401   atomic_type c1;
15402   atomic_type c2;
15403   const atomic_type c3(0);
15404   __sync_fetch_and_add(&c1, c2);
15405   __sync_val_compare_and_swap(&c1, c3, c2);
15406   __sync_lock_test_and_set(&c1, c3);
15407   __sync_lock_release(&c1);
15408   __sync_synchronize();
15409   return 0;
15410 }
15411 EOF
15412
15413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15414 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15415     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15416   (eval $ac_compile) 2>&5
15417   ac_status=$?
15418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419   test $ac_status = 0; }; then
15420       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15421         glibcxx_cv_atomic_long_long=no
15422       else
15423
15424 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15425
15426         glibcxx_cv_atomic_long_long=yes
15427       fi
15428     fi
15429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15430 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15431     rm -f conftest*
15432
15433   fi
15434
15435   CXXFLAGS="$old_CXXFLAGS"
15436   ac_ext=c
15437 ac_cpp='$CPP $CPPFLAGS'
15438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15441
15442
15443   # Set atomicity_dir to builtins if either of above tests pass.
15444   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15445     atomicity_dir=cpu/generic/atomicity_builtins
15446   fi
15447
15448   # If still generic, set to mutex.
15449   if test $atomicity_dir = "cpu/generic" ; then
15450     atomicity_dir=cpu/generic/atomicity_mutex
15451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15452 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15453       if test "x$target_thread_file" = xsingle; then
15454         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15455 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15456         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15457 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15458       else
15459         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15460 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15461         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15462 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15463       fi
15464   fi
15465
15466
15467
15468
15469   # Fake what AC_TRY_COMPILE does, without linking as this is
15470   # unnecessary for this test.
15471
15472     cat > conftest.$ac_ext << EOF
15473 #line 15473 "configure"
15474 int main()
15475 {
15476   _Decimal32 d1;
15477   _Decimal64 d2;
15478   _Decimal128 d3;
15479   return 0;
15480 }
15481 EOF
15482
15483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15484 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15485     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15486   (eval $ac_compile) 2>&5
15487   ac_status=$?
15488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489   test $ac_status = 0; }; then
15490
15491 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15492
15493       enable_dfp=yes
15494     else
15495       enable_dfp=no
15496     fi
15497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15498 $as_echo "$enable_dfp" >&6; }
15499     rm -f conftest*
15500
15501
15502 # Checks for compiler support that doesn't require linking.
15503
15504   # All these tests are for C++; save the language and the compiler flags.
15505   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15506   # found in GLIBCXX_CONFIGURE.
15507
15508   ac_ext=cpp
15509 ac_cpp='$CXXCPP $CPPFLAGS'
15510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15513
15514   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15515   ac_save_CXXFLAGS="$CXXFLAGS"
15516
15517   # Check for maintainer-mode bits.
15518   if test x"$USE_MAINTAINER_MODE" = xno; then
15519     WERROR=''
15520   else
15521     WERROR='-Werror'
15522   fi
15523
15524   # Check for -ffunction-sections -fdata-sections
15525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15526 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15527   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h.  */
15530 int foo; void bar() { };
15531 int
15532 main ()
15533 {
15534
15535   ;
15536   return 0;
15537 }
15538 _ACEOF
15539 if ac_fn_cxx_try_compile "$LINENO"; then :
15540   ac_fdsections=yes
15541 else
15542   ac_fdsections=no
15543 fi
15544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545   if test "$ac_test_CXXFLAGS" = set; then
15546     CXXFLAGS="$ac_save_CXXFLAGS"
15547   else
15548     # this is the suspicious part
15549     CXXFLAGS=''
15550   fi
15551   if test x"$ac_fdsections" = x"yes"; then
15552     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15553   fi
15554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15555 $as_echo "$ac_fdsections" >&6; }
15556
15557   ac_ext=c
15558 ac_cpp='$CPP $CPPFLAGS'
15559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15562
15563
15564
15565
15566
15567 # Enable all the variable C++ runtime options that don't require linking.
15568
15569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15570 $as_echo_n "checking for underlying I/O to use... " >&6; }
15571    # Check whether --enable-cstdio was given.
15572 if test "${enable_cstdio+set}" = set; then :
15573   enableval=$enable_cstdio;
15574       case "$enableval" in
15575        stdio) ;;
15576        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15577                           esac
15578
15579 else
15580   enable_cstdio=stdio
15581 fi
15582
15583
15584
15585   # Now that libio has been removed, you can have any color you want as long
15586   # as it's black.  This is one big no-op until other packages are added, but
15587   # showing the framework never hurts.
15588   case ${enable_cstdio} in
15589     stdio)
15590       CSTDIO_H=config/io/c_io_stdio.h
15591       BASIC_FILE_H=config/io/basic_file_stdio.h
15592       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15593       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15594 $as_echo "stdio" >&6; }
15595       ;;
15596   esac
15597
15598
15599
15600
15601
15602
15603    # Check whether --enable-clocale was given.
15604 if test "${enable_clocale+set}" = set; then :
15605   enableval=$enable_clocale;
15606       case "$enableval" in
15607        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15608        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15609                           esac
15610
15611 else
15612   enable_clocale=auto
15613 fi
15614
15615
15616
15617   # Deal with gettext issues.  Default to not using it (=no) until we detect
15618   # support for it later.  Let the user turn it off via --e/d, but let that
15619   # default to on for easier handling.
15620   USE_NLS=no
15621   # Check whether --enable-nls was given.
15622 if test "${enable_nls+set}" = set; then :
15623   enableval=$enable_nls;
15624 else
15625   enable_nls=yes
15626 fi
15627
15628
15629   # Either a known packaage, or "auto"
15630   if test $enable_clocale = no || test $enable_clocale = yes; then
15631      enable_clocale=auto
15632   fi
15633   enable_clocale_flag=$enable_clocale
15634
15635   # Probe for locale model to use if none specified.
15636   # Default to "generic".
15637   if test $enable_clocale_flag = auto; then
15638     case ${target_os} in
15639       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15640         enable_clocale_flag=gnu
15641         ;;
15642       darwin* | freebsd*)
15643         enable_clocale_flag=darwin
15644         ;;
15645       *)
15646         enable_clocale_flag=generic
15647         ;;
15648     esac
15649   fi
15650
15651   # Sanity check model, and test for special functionality.
15652   if test $enable_clocale_flag = gnu; then
15653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h.  */
15655
15656     #include <features.h>
15657     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15658       _GLIBCXX_ok
15659     #endif
15660
15661 _ACEOF
15662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15663   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15664   enable_clocale_flag=gnu
15665 else
15666   enable_clocale_flag=generic
15667 fi
15668 rm -f conftest*
15669
15670
15671     # Set it to scream when it hurts.
15672     ac_save_CFLAGS="$CFLAGS"
15673     CFLAGS="-Wimplicit-function-declaration -Werror"
15674
15675     # Use strxfrm_l if available.
15676     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h.  */
15678 #define _GNU_SOURCE 1
15679                     #include <string.h>
15680                     #include <locale.h>
15681 int
15682 main ()
15683 {
15684 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15685   ;
15686   return 0;
15687 }
15688 _ACEOF
15689 if ac_fn_c_try_compile "$LINENO"; then :
15690
15691 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15692
15693 fi
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15695
15696     # Use strerror_l if available.
15697     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h.  */
15699 #define _GNU_SOURCE 1
15700                     #include <string.h>
15701                     #include <locale.h>
15702 int
15703 main ()
15704 {
15705 __locale_t loc; strerror_l(5, loc);
15706   ;
15707   return 0;
15708 }
15709 _ACEOF
15710 if ac_fn_c_try_compile "$LINENO"; then :
15711
15712 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15713
15714 fi
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15716
15717     CFLAGS="$ac_save_CFLAGS"
15718   fi
15719
15720   # Perhaps use strerror_r if available, and strerror_l isn't.
15721   ac_save_CFLAGS="$CFLAGS"
15722   CFLAGS="-Wimplicit-function-declaration -Werror"
15723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h.  */
15725 #define _GNU_SOURCE 1
15726                   #include <string.h>
15727                   #include <locale.h>
15728 int
15729 main ()
15730 {
15731 char s[128]; strerror_r(5, s, 128);
15732   ;
15733   return 0;
15734 }
15735 _ACEOF
15736 if ac_fn_c_try_compile "$LINENO"; then :
15737
15738 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15739
15740 fi
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742   CFLAGS="$ac_save_CFLAGS"
15743
15744   # Set configure bits for specified locale package
15745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15746 $as_echo_n "checking for C locale to use... " >&6; }
15747   case ${enable_clocale_flag} in
15748     generic)
15749       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15750 $as_echo "generic" >&6; }
15751
15752       CLOCALE_H=config/locale/generic/c_locale.h
15753       CLOCALE_CC=config/locale/generic/c_locale.cc
15754       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15755       CCOLLATE_CC=config/locale/generic/collate_members.cc
15756       CCTYPE_CC=config/locale/generic/ctype_members.cc
15757       CMESSAGES_H=config/locale/generic/messages_members.h
15758       CMESSAGES_CC=config/locale/generic/messages_members.cc
15759       CMONEY_CC=config/locale/generic/monetary_members.cc
15760       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15761       CTIME_H=config/locale/generic/time_members.h
15762       CTIME_CC=config/locale/generic/time_members.cc
15763       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15764       ;;
15765     darwin)
15766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15767 $as_echo "darwin or freebsd" >&6; }
15768
15769       CLOCALE_H=config/locale/generic/c_locale.h
15770       CLOCALE_CC=config/locale/generic/c_locale.cc
15771       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15772       CCOLLATE_CC=config/locale/generic/collate_members.cc
15773       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15774       CMESSAGES_H=config/locale/generic/messages_members.h
15775       CMESSAGES_CC=config/locale/generic/messages_members.cc
15776       CMONEY_CC=config/locale/generic/monetary_members.cc
15777       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15778       CTIME_H=config/locale/generic/time_members.h
15779       CTIME_CC=config/locale/generic/time_members.cc
15780       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15781       ;;
15782
15783     gnu)
15784       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15785 $as_echo "gnu" >&6; }
15786
15787       # Declare intention to use gettext, and add support for specific
15788       # languages.
15789       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15790       ALL_LINGUAS="de fr"
15791
15792       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15793       # Extract the first word of "msgfmt", so it can be a program name with args.
15794 set dummy msgfmt; ac_word=$2
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15796 $as_echo_n "checking for $ac_word... " >&6; }
15797 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15798   $as_echo_n "(cached) " >&6
15799 else
15800   if test -n "$check_msgfmt"; then
15801   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15802 else
15803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15804 for as_dir in $PATH
15805 do
15806   IFS=$as_save_IFS
15807   test -z "$as_dir" && as_dir=.
15808     for ac_exec_ext in '' $ac_executable_extensions; do
15809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15810     ac_cv_prog_check_msgfmt="yes"
15811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15812     break 2
15813   fi
15814 done
15815   done
15816 IFS=$as_save_IFS
15817
15818   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15819 fi
15820 fi
15821 check_msgfmt=$ac_cv_prog_check_msgfmt
15822 if test -n "$check_msgfmt"; then
15823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15824 $as_echo "$check_msgfmt" >&6; }
15825 else
15826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15827 $as_echo "no" >&6; }
15828 fi
15829
15830
15831       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15832         USE_NLS=yes
15833       fi
15834       # Export the build objects.
15835       for ling in $ALL_LINGUAS; do \
15836         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15837         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15838       done
15839
15840
15841
15842       CLOCALE_H=config/locale/gnu/c_locale.h
15843       CLOCALE_CC=config/locale/gnu/c_locale.cc
15844       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15845       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15846       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15847       CMESSAGES_H=config/locale/gnu/messages_members.h
15848       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15849       CMONEY_CC=config/locale/gnu/monetary_members.cc
15850       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15851       CTIME_H=config/locale/gnu/time_members.h
15852       CTIME_CC=config/locale/gnu/time_members.cc
15853       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15854       ;;
15855     ieee_1003.1-2001)
15856       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15857 $as_echo "IEEE 1003.1" >&6; }
15858
15859       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15860       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15861       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15862       CCOLLATE_CC=config/locale/generic/collate_members.cc
15863       CCTYPE_CC=config/locale/generic/ctype_members.cc
15864       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15865       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15866       CMONEY_CC=config/locale/generic/monetary_members.cc
15867       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15868       CTIME_H=config/locale/generic/time_members.h
15869       CTIME_CC=config/locale/generic/time_members.cc
15870       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15871       ;;
15872   esac
15873
15874   # This is where the testsuite looks for locale catalogs, using the
15875   # -DLOCALEDIR define during testsuite compilation.
15876   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15877
15878
15879   # A standalone libintl (e.g., GNU libintl) may be in use.
15880   if test $USE_NLS = yes; then
15881     for ac_header in libintl.h
15882 do :
15883   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15884 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15885   cat >>confdefs.h <<_ACEOF
15886 #define HAVE_LIBINTL_H 1
15887 _ACEOF
15888
15889 else
15890   USE_NLS=no
15891 fi
15892
15893 done
15894
15895     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15896 $as_echo_n "checking for library containing gettext... " >&6; }
15897 if test "${ac_cv_search_gettext+set}" = set; then :
15898   $as_echo_n "(cached) " >&6
15899 else
15900   ac_func_search_save_LIBS=$LIBS
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h.  */
15903
15904 /* Override any GCC internal prototype to avoid an error.
15905    Use char because int might match the return type of a GCC
15906    builtin and then its argument prototype would still apply.  */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char gettext ();
15911 int
15912 main ()
15913 {
15914 return gettext ();
15915   ;
15916   return 0;
15917 }
15918 _ACEOF
15919 for ac_lib in '' intl; do
15920   if test -z "$ac_lib"; then
15921     ac_res="none required"
15922   else
15923     ac_res=-l$ac_lib
15924     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15925   fi
15926   if test x$gcc_no_link = xyes; then
15927   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15928 fi
15929 if ac_fn_c_try_link "$LINENO"; then :
15930   ac_cv_search_gettext=$ac_res
15931 fi
15932 rm -f core conftest.err conftest.$ac_objext \
15933     conftest$ac_exeext
15934   if test "${ac_cv_search_gettext+set}" = set; then :
15935   break
15936 fi
15937 done
15938 if test "${ac_cv_search_gettext+set}" = set; then :
15939
15940 else
15941   ac_cv_search_gettext=no
15942 fi
15943 rm conftest.$ac_ext
15944 LIBS=$ac_func_search_save_LIBS
15945 fi
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15947 $as_echo "$ac_cv_search_gettext" >&6; }
15948 ac_res=$ac_cv_search_gettext
15949 if test "$ac_res" != no; then :
15950   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15951
15952 else
15953   USE_NLS=no
15954 fi
15955
15956   fi
15957   if test $USE_NLS = yes; then
15958
15959 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15960
15961   fi
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15979 $as_echo_n "checking for std::allocator base class... " >&6; }
15980    # Check whether --enable-libstdcxx-allocator was given.
15981 if test "${enable_libstdcxx_allocator+set}" = set; then :
15982   enableval=$enable_libstdcxx_allocator;
15983       case "$enableval" in
15984        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15985        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15986                           esac
15987
15988 else
15989   enable_libstdcxx_allocator=auto
15990 fi
15991
15992
15993
15994   # If they didn't use this option switch, or if they specified --enable
15995   # with no specific model, we'll have to look for one.  If they
15996   # specified --disable (???), do likewise.
15997   if test $enable_libstdcxx_allocator = no ||
15998      test $enable_libstdcxx_allocator = yes;
15999   then
16000      enable_libstdcxx_allocator=auto
16001   fi
16002
16003   # Either a known package, or "auto". Auto implies the default choice
16004   # for a particular platform.
16005   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16006
16007   # Probe for host-specific support if no specific model is specified.
16008   # Default to "new".
16009   if test $enable_libstdcxx_allocator_flag = auto; then
16010     case ${target_os} in
16011       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16012         enable_libstdcxx_allocator_flag=new
16013         ;;
16014       *)
16015         enable_libstdcxx_allocator_flag=new
16016         ;;
16017     esac
16018   fi
16019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16020 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16021
16022
16023   # Set configure bits for specified locale package
16024   case ${enable_libstdcxx_allocator_flag} in
16025     bitmap)
16026       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16027       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16028       ;;
16029     malloc)
16030       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16031       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16032       ;;
16033     mt)
16034       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16035       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16036       ;;
16037     new)
16038       ALLOCATOR_H=config/allocator/new_allocator_base.h
16039       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16040       ;;
16041     pool)
16042       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16043       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16044       ;;
16045   esac
16046
16047
16048
16049
16050
16051    # Check whether --enable-cheaders was given.
16052 if test "${enable_cheaders+set}" = set; then :
16053   enableval=$enable_cheaders;
16054       case "$enableval" in
16055        c|c_std|c_global) ;;
16056        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16057                           esac
16058
16059 else
16060   enable_cheaders=$c_model
16061 fi
16062
16063
16064   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16065 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16066
16067   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16068
16069   # Allow overrides to configure.host here.
16070   if test $enable_cheaders = c_global; then
16071      c_compatibility=yes
16072   fi
16073
16074   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16075      c_extra=yes
16076   fi
16077
16078
16079
16080
16081
16082
16083
16084
16085    # Check whether --enable-long-long was given.
16086 if test "${enable_long_long+set}" = set; then :
16087   enableval=$enable_long_long;
16088       case "$enableval" in
16089        yes|no) ;;
16090        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16091       esac
16092
16093 else
16094   enable_long_long=yes
16095 fi
16096
16097
16098   if test $enable_long_long = yes; then
16099
16100 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16101
16102   fi
16103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16104 $as_echo_n "checking for enabled long long specializations... " >&6; }
16105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16106 $as_echo "$enable_long_long" >&6; }
16107
16108
16109    # Check whether --enable-wchar_t was given.
16110 if test "${enable_wchar_t+set}" = set; then :
16111   enableval=$enable_wchar_t;
16112       case "$enableval" in
16113        yes|no) ;;
16114        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16115       esac
16116
16117 else
16118   enable_wchar_t=yes
16119 fi
16120
16121
16122
16123   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16124   for ac_header in wchar.h
16125 do :
16126   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16127 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16128   cat >>confdefs.h <<_ACEOF
16129 #define HAVE_WCHAR_H 1
16130 _ACEOF
16131  ac_has_wchar_h=yes
16132 else
16133   ac_has_wchar_h=no
16134 fi
16135
16136 done
16137
16138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16139 $as_echo_n "checking for mbstate_t... " >&6; }
16140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h.  */
16142 #include <wchar.h>
16143 int
16144 main ()
16145 {
16146 mbstate_t teststate;
16147   ;
16148   return 0;
16149 }
16150 _ACEOF
16151 if ac_fn_c_try_compile "$LINENO"; then :
16152   have_mbstate_t=yes
16153 else
16154   have_mbstate_t=no
16155 fi
16156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16158 $as_echo "$have_mbstate_t" >&6; }
16159   if test x"$have_mbstate_t" = xyes; then
16160
16161 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16162
16163   fi
16164
16165   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16166   # ac_has_wchar_h.
16167   for ac_header in wctype.h
16168 do :
16169   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16170 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16171   cat >>confdefs.h <<_ACEOF
16172 #define HAVE_WCTYPE_H 1
16173 _ACEOF
16174  ac_has_wctype_h=yes
16175 else
16176   ac_has_wctype_h=no
16177 fi
16178
16179 done
16180
16181
16182   if test x"$enable_wchar_t" = x"yes"; then
16183
16184
16185     ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16190
16191
16192     if test x"$ac_has_wchar_h" = xyes &&
16193        test x"$ac_has_wctype_h" = xyes; then
16194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h.  */
16196 #include <wchar.h>
16197                       #include <stddef.h>
16198                       wint_t i;
16199                       long l = WEOF;
16200                       long j = WCHAR_MIN;
16201                       long k = WCHAR_MAX;
16202                       namespace test
16203                       {
16204                         using ::btowc;
16205                         using ::fgetwc;
16206                         using ::fgetws;
16207                         using ::fputwc;
16208                         using ::fputws;
16209                         using ::fwide;
16210                         using ::fwprintf;
16211                         using ::fwscanf;
16212                         using ::getwc;
16213                         using ::getwchar;
16214                         using ::mbrlen;
16215                         using ::mbrtowc;
16216                         using ::mbsinit;
16217                         using ::mbsrtowcs;
16218                         using ::putwc;
16219                         using ::putwchar;
16220                         using ::swprintf;
16221                         using ::swscanf;
16222                         using ::ungetwc;
16223                         using ::vfwprintf;
16224                         using ::vswprintf;
16225                         using ::vwprintf;
16226                         using ::wcrtomb;
16227                         using ::wcscat;
16228                         using ::wcschr;
16229                         using ::wcscmp;
16230                         using ::wcscoll;
16231                         using ::wcscpy;
16232                         using ::wcscspn;
16233                         using ::wcsftime;
16234                         using ::wcslen;
16235                         using ::wcsncat;
16236                         using ::wcsncmp;
16237                         using ::wcsncpy;
16238                         using ::wcspbrk;
16239                         using ::wcsrchr;
16240                         using ::wcsrtombs;
16241                         using ::wcsspn;
16242                         using ::wcsstr;
16243                         using ::wcstod;
16244                         using ::wcstok;
16245                         using ::wcstol;
16246                         using ::wcstoul;
16247                         using ::wcsxfrm;
16248                         using ::wctob;
16249                         using ::wmemchr;
16250                         using ::wmemcmp;
16251                         using ::wmemcpy;
16252                         using ::wmemmove;
16253                         using ::wmemset;
16254                         using ::wprintf;
16255                         using ::wscanf;
16256                       }
16257
16258 int
16259 main ()
16260 {
16261
16262   ;
16263   return 0;
16264 }
16265 _ACEOF
16266 if ac_fn_cxx_try_compile "$LINENO"; then :
16267
16268 else
16269   enable_wchar_t=no
16270 fi
16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272     else
16273       enable_wchar_t=no
16274     fi
16275
16276     ac_ext=c
16277 ac_cpp='$CPP $CPPFLAGS'
16278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16281
16282   fi
16283
16284   if test x"$enable_wchar_t" = x"yes"; then
16285
16286 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16287
16288   fi
16289
16290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16291 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16293 $as_echo "$enable_wchar_t" >&6; }
16294
16295
16296
16297    # Check whether --enable-c99 was given.
16298 if test "${enable_c99+set}" = set; then :
16299   enableval=$enable_c99;
16300       case "$enableval" in
16301        yes|no) ;;
16302        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16303       esac
16304
16305 else
16306   enable_c99=yes
16307 fi
16308
16309
16310
16311   if test x"$enable_c99" = x"yes"; then
16312
16313
16314   ac_ext=cpp
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16319
16320
16321   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16322   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16323   # spuriously enabled.
16324   # Long term, -std=c++0x could be even better, could manage to explicitely
16325   # request C99 facilities to the underlying C headers.
16326   ac_save_CXXFLAGS="$CXXFLAGS"
16327   CXXFLAGS="$CXXFLAGS -std=c++98"
16328   ac_save_LIBS="$LIBS"
16329   ac_save_gcc_no_link="$gcc_no_link"
16330
16331   if test x$gcc_no_link != xyes; then
16332     # Use -fno-exceptions to that the C driver can link these tests without
16333     # hitting undefined references to personality routines.
16334     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16336 $as_echo_n "checking for sin in -lm... " >&6; }
16337 if test "${ac_cv_lib_m_sin+set}" = set; then :
16338   $as_echo_n "(cached) " >&6
16339 else
16340   ac_check_lib_save_LIBS=$LIBS
16341 LIBS="-lm  $LIBS"
16342 if test x$gcc_no_link = xyes; then
16343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16344 fi
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h.  */
16347
16348 /* Override any GCC internal prototype to avoid an error.
16349    Use char because int might match the return type of a GCC
16350    builtin and then its argument prototype would still apply.  */
16351 #ifdef __cplusplus
16352 extern "C"
16353 #endif
16354 char sin ();
16355 int
16356 main ()
16357 {
16358 return sin ();
16359   ;
16360   return 0;
16361 }
16362 _ACEOF
16363 if ac_fn_cxx_try_link "$LINENO"; then :
16364   ac_cv_lib_m_sin=yes
16365 else
16366   ac_cv_lib_m_sin=no
16367 fi
16368 rm -f core conftest.err conftest.$ac_objext \
16369     conftest$ac_exeext conftest.$ac_ext
16370 LIBS=$ac_check_lib_save_LIBS
16371 fi
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16373 $as_echo "$ac_cv_lib_m_sin" >&6; }
16374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16375
16376       LIBS="$LIBS -lm"
16377
16378 else
16379
16380       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16381       gcc_no_link=yes
16382
16383 fi
16384
16385   fi
16386
16387   # Check for the existence of <math.h> functions used if C99 is enabled.
16388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16389 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16390   if test "${glibcxx_cv_c99_math+set}" = set; then :
16391   $as_echo_n "(cached) " >&6
16392 else
16393
16394   if test x$gcc_no_link = xyes; then
16395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h.  */
16397 #include <math.h>
16398       volatile double d1, d2;
16399       volatile int i;
16400 int
16401 main ()
16402 {
16403 i = fpclassify(d1);
16404       i = isfinite(d1);
16405       i = isinf(d1);
16406       i = isnan(d1);
16407       i = isnormal(d1);
16408       i = signbit(d1);
16409       i = isgreater(d1, d2);
16410       i = isgreaterequal(d1, d2);
16411       i = isless(d1, d2);
16412       i = islessequal(d1, d2);
16413       i = islessgreater(d1, d2);
16414       i = islessgreater(d1, d2);
16415       i = isunordered(d1, d2);
16416
16417   ;
16418   return 0;
16419 }
16420 _ACEOF
16421 if ac_fn_cxx_try_compile "$LINENO"; then :
16422   glibcxx_cv_c99_math=yes
16423 else
16424   glibcxx_cv_c99_math=no
16425 fi
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 else
16428   if test x$gcc_no_link = xyes; then
16429   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16430 fi
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h.  */
16433 #include <math.h>
16434       volatile double d1, d2;
16435       volatile int i;
16436 int
16437 main ()
16438 {
16439 i = fpclassify(d1);
16440       i = isfinite(d1);
16441       i = isinf(d1);
16442       i = isnan(d1);
16443       i = isnormal(d1);
16444       i = signbit(d1);
16445       i = isgreater(d1, d2);
16446       i = isgreaterequal(d1, d2);
16447       i = isless(d1, d2);
16448       i = islessequal(d1, d2);
16449       i = islessgreater(d1, d2);
16450       i = islessgreater(d1, d2);
16451       i = isunordered(d1, d2);
16452
16453   ;
16454   return 0;
16455 }
16456 _ACEOF
16457 if ac_fn_cxx_try_link "$LINENO"; then :
16458   glibcxx_cv_c99_math=yes
16459 else
16460   glibcxx_cv_c99_math=no
16461 fi
16462 rm -f core conftest.err conftest.$ac_objext \
16463     conftest$ac_exeext conftest.$ac_ext
16464 fi
16465
16466 fi
16467
16468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16469 $as_echo "$glibcxx_cv_c99_math" >&6; }
16470   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16471
16472 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16473
16474   fi
16475
16476   # Check for the existence of <complex.h> complex math functions.
16477   # This is necessary even though libstdc++ uses the builtin versions
16478   # of these functions, because if the builtin cannot be used, a reference
16479   # to the library function is emitted.
16480   for ac_header in tgmath.h
16481 do :
16482   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16483 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16484   cat >>confdefs.h <<_ACEOF
16485 #define HAVE_TGMATH_H 1
16486 _ACEOF
16487  ac_has_tgmath_h=yes
16488 else
16489   ac_has_tgmath_h=no
16490 fi
16491
16492 done
16493
16494   for ac_header in complex.h
16495 do :
16496   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16497 if test "x$ac_cv_header_complex_h" = x""yes; then :
16498   cat >>confdefs.h <<_ACEOF
16499 #define HAVE_COMPLEX_H 1
16500 _ACEOF
16501  ac_has_complex_h=yes
16502 else
16503   ac_has_complex_h=no
16504 fi
16505
16506 done
16507
16508   glibcxx_cv_c99_complex=no;
16509   if test x"$ac_has_complex_h" = x"yes"; then
16510     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16511 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16512     if test x$gcc_no_link = xyes; then
16513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h.  */
16515 #include <complex.h>
16516         typedef __complex__ float float_type;
16517         typedef __complex__ double double_type;
16518         typedef __complex__ long double ld_type;
16519         volatile float_type tmpf;
16520         volatile double_type tmpd;
16521         volatile ld_type tmpld;
16522         volatile float f;
16523         volatile double d;
16524         volatile long double ld;
16525 int
16526 main ()
16527 {
16528 f = cabsf(tmpf);
16529         f = cargf(tmpf);
16530         tmpf = ccosf(tmpf);
16531         tmpf = ccoshf(tmpf);
16532         tmpf = cexpf(tmpf);
16533         tmpf = clogf(tmpf);
16534         tmpf = csinf(tmpf);
16535         tmpf = csinhf(tmpf);
16536         tmpf = csqrtf(tmpf);
16537         tmpf = ctanf(tmpf);
16538         tmpf = ctanhf(tmpf);
16539         tmpf = cpowf(tmpf, tmpf);
16540         tmpf = cprojf(tmpf);
16541         d = cabs(tmpd);
16542         d = carg(tmpd);
16543         tmpd = ccos(tmpd);
16544         tmpd = ccosh(tmpd);
16545         tmpd = cexp(tmpd);
16546         tmpd = clog(tmpd);
16547         tmpd = csin(tmpd);
16548         tmpd = csinh(tmpd);
16549         tmpd = csqrt(tmpd);
16550         tmpd = ctan(tmpd);
16551         tmpd = ctanh(tmpd);
16552         tmpd = cpow(tmpd, tmpd);
16553         tmpd = cproj(tmpd);
16554         ld = cabsl(tmpld);
16555         ld = cargl(tmpld);
16556         tmpld = ccosl(tmpld);
16557         tmpld = ccoshl(tmpld);
16558         tmpld = cexpl(tmpld);
16559         tmpld = clogl(tmpld);
16560         tmpld = csinl(tmpld);
16561         tmpld = csinhl(tmpld);
16562         tmpld = csqrtl(tmpld);
16563         tmpld = ctanl(tmpld);
16564         tmpld = ctanhl(tmpld);
16565         tmpld = cpowl(tmpld, tmpld);
16566         tmpld = cprojl(tmpld);
16567
16568   ;
16569   return 0;
16570 }
16571 _ACEOF
16572 if ac_fn_cxx_try_compile "$LINENO"; then :
16573   glibcxx_cv_c99_complex=yes
16574 else
16575   glibcxx_cv_c99_complex=no
16576 fi
16577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16578 else
16579   if test x$gcc_no_link = xyes; then
16580   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16581 fi
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h.  */
16584 #include <complex.h>
16585         typedef __complex__ float float_type;
16586         typedef __complex__ double double_type;
16587         typedef __complex__ long double ld_type;
16588         volatile float_type tmpf;
16589         volatile double_type tmpd;
16590         volatile ld_type tmpld;
16591         volatile float f;
16592         volatile double d;
16593         volatile long double ld;
16594 int
16595 main ()
16596 {
16597 f = cabsf(tmpf);
16598         f = cargf(tmpf);
16599         tmpf = ccosf(tmpf);
16600         tmpf = ccoshf(tmpf);
16601         tmpf = cexpf(tmpf);
16602         tmpf = clogf(tmpf);
16603         tmpf = csinf(tmpf);
16604         tmpf = csinhf(tmpf);
16605         tmpf = csqrtf(tmpf);
16606         tmpf = ctanf(tmpf);
16607         tmpf = ctanhf(tmpf);
16608         tmpf = cpowf(tmpf, tmpf);
16609         tmpf = cprojf(tmpf);
16610         d = cabs(tmpd);
16611         d = carg(tmpd);
16612         tmpd = ccos(tmpd);
16613         tmpd = ccosh(tmpd);
16614         tmpd = cexp(tmpd);
16615         tmpd = clog(tmpd);
16616         tmpd = csin(tmpd);
16617         tmpd = csinh(tmpd);
16618         tmpd = csqrt(tmpd);
16619         tmpd = ctan(tmpd);
16620         tmpd = ctanh(tmpd);
16621         tmpd = cpow(tmpd, tmpd);
16622         tmpd = cproj(tmpd);
16623         ld = cabsl(tmpld);
16624         ld = cargl(tmpld);
16625         tmpld = ccosl(tmpld);
16626         tmpld = ccoshl(tmpld);
16627         tmpld = cexpl(tmpld);
16628         tmpld = clogl(tmpld);
16629         tmpld = csinl(tmpld);
16630         tmpld = csinhl(tmpld);
16631         tmpld = csqrtl(tmpld);
16632         tmpld = ctanl(tmpld);
16633         tmpld = ctanhl(tmpld);
16634         tmpld = cpowl(tmpld, tmpld);
16635         tmpld = cprojl(tmpld);
16636
16637   ;
16638   return 0;
16639 }
16640 _ACEOF
16641 if ac_fn_cxx_try_link "$LINENO"; then :
16642   glibcxx_cv_c99_complex=yes
16643 else
16644   glibcxx_cv_c99_complex=no
16645 fi
16646 rm -f core conftest.err conftest.$ac_objext \
16647     conftest$ac_exeext conftest.$ac_ext
16648 fi
16649   fi
16650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16651 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16652   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16653
16654 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16655
16656   fi
16657
16658   # Check for the existence in <stdio.h> of vscanf, et. al.
16659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16660 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16661   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16662   $as_echo_n "(cached) " >&6
16663 else
16664
16665   if test x$gcc_no_link = xyes; then
16666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h.  */
16668 #include <stdio.h>
16669       #include <stdarg.h>
16670       void foo(char* fmt, ...)
16671       {
16672         va_list args; va_start(args, fmt);
16673         vfscanf(stderr, "%i", args);
16674         vscanf("%i", args);
16675         vsnprintf(fmt, 0, "%i", args);
16676         vsscanf(fmt, "%i", args);
16677       }
16678 int
16679 main ()
16680 {
16681 snprintf("12", 0, "%i");
16682   ;
16683   return 0;
16684 }
16685 _ACEOF
16686 if ac_fn_cxx_try_compile "$LINENO"; then :
16687   glibcxx_cv_c99_stdio=yes
16688 else
16689   glibcxx_cv_c99_stdio=no
16690 fi
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692 else
16693   if test x$gcc_no_link = xyes; then
16694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16695 fi
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h.  */
16698 #include <stdio.h>
16699       #include <stdarg.h>
16700       void foo(char* fmt, ...)
16701       {
16702         va_list args; va_start(args, fmt);
16703         vfscanf(stderr, "%i", args);
16704         vscanf("%i", args);
16705         vsnprintf(fmt, 0, "%i", args);
16706         vsscanf(fmt, "%i", args);
16707       }
16708 int
16709 main ()
16710 {
16711 snprintf("12", 0, "%i");
16712   ;
16713   return 0;
16714 }
16715 _ACEOF
16716 if ac_fn_cxx_try_link "$LINENO"; then :
16717   glibcxx_cv_c99_stdio=yes
16718 else
16719   glibcxx_cv_c99_stdio=no
16720 fi
16721 rm -f core conftest.err conftest.$ac_objext \
16722     conftest$ac_exeext conftest.$ac_ext
16723 fi
16724
16725 fi
16726
16727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16728 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16729
16730   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16732 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16733   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16734   $as_echo_n "(cached) " >&6
16735 else
16736
16737   if test x$gcc_no_link = xyes; then
16738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h.  */
16740 #include <stdlib.h>
16741       volatile float f;
16742       volatile long double ld;
16743       volatile unsigned long long ll;
16744       lldiv_t mydivt;
16745 int
16746 main ()
16747 {
16748 char* tmp;
16749       f = strtof("gnu", &tmp);
16750       ld = strtold("gnu", &tmp);
16751       ll = strtoll("gnu", &tmp, 10);
16752       ll = strtoull("gnu", &tmp, 10);
16753       ll = llabs(10);
16754       mydivt = lldiv(10,1);
16755       ll = mydivt.quot;
16756       ll = mydivt.rem;
16757       ll = atoll("10");
16758       _Exit(0);
16759
16760   ;
16761   return 0;
16762 }
16763 _ACEOF
16764 if ac_fn_cxx_try_compile "$LINENO"; then :
16765   glibcxx_cv_c99_stdlib=yes
16766 else
16767   glibcxx_cv_c99_stdlib=no
16768 fi
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 else
16771   if test x$gcc_no_link = xyes; then
16772   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16773 fi
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h.  */
16776 #include <stdlib.h>
16777       volatile float f;
16778       volatile long double ld;
16779       volatile unsigned long long ll;
16780       lldiv_t mydivt;
16781 int
16782 main ()
16783 {
16784 char* tmp;
16785       f = strtof("gnu", &tmp);
16786       ld = strtold("gnu", &tmp);
16787       ll = strtoll("gnu", &tmp, 10);
16788       ll = strtoull("gnu", &tmp, 10);
16789       ll = llabs(10);
16790       mydivt = lldiv(10,1);
16791       ll = mydivt.quot;
16792       ll = mydivt.rem;
16793       ll = atoll("10");
16794       _Exit(0);
16795
16796   ;
16797   return 0;
16798 }
16799 _ACEOF
16800 if ac_fn_cxx_try_link "$LINENO"; then :
16801   glibcxx_cv_c99_stdlib=yes
16802 else
16803   glibcxx_cv_c99_stdlib=no
16804 fi
16805 rm -f core conftest.err conftest.$ac_objext \
16806     conftest$ac_exeext conftest.$ac_ext
16807 fi
16808
16809 fi
16810
16811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16812 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16813
16814   # Check for the existence in <wchar.h> of wcstold, etc.
16815   glibcxx_cv_c99_wchar=no;
16816   if test x"$ac_has_wchar_h" = xyes &&
16817      test x"$ac_has_wctype_h" = xyes; then
16818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16819 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16820     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h.  */
16822 #include <wchar.h>
16823                     namespace test
16824                     {
16825                       using ::wcstold;
16826                       using ::wcstoll;
16827                       using ::wcstoull;
16828                     }
16829
16830 int
16831 main ()
16832 {
16833
16834   ;
16835   return 0;
16836 }
16837 _ACEOF
16838 if ac_fn_cxx_try_compile "$LINENO"; then :
16839   glibcxx_cv_c99_wchar=yes
16840 else
16841   glibcxx_cv_c99_wchar=no
16842 fi
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844
16845     # Checks for wide character functions that may not be present.
16846     # Injection of these is wrapped with guard macros.
16847     # NB: only put functions here, instead of immediately above, if
16848     # absolutely necessary.
16849     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h.  */
16851 #include <wchar.h>
16852                     namespace test { using ::vfwscanf; }
16853 int
16854 main ()
16855 {
16856
16857   ;
16858   return 0;
16859 }
16860 _ACEOF
16861 if ac_fn_cxx_try_compile "$LINENO"; then :
16862
16863 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16864
16865 fi
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16867
16868     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h.  */
16870 #include <wchar.h>
16871                     namespace test { using ::vswscanf; }
16872 int
16873 main ()
16874 {
16875
16876   ;
16877   return 0;
16878 }
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16881
16882 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16883
16884 fi
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886
16887     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h.  */
16889 #include <wchar.h>
16890                     namespace test { using ::vwscanf; }
16891 int
16892 main ()
16893 {
16894
16895   ;
16896   return 0;
16897 }
16898 _ACEOF
16899 if ac_fn_cxx_try_compile "$LINENO"; then :
16900
16901 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16902
16903 fi
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16905
16906     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h.  */
16908 #include <wchar.h>
16909                     namespace test { using ::wcstof; }
16910 int
16911 main ()
16912 {
16913
16914   ;
16915   return 0;
16916 }
16917 _ACEOF
16918 if ac_fn_cxx_try_compile "$LINENO"; then :
16919
16920 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16921
16922 fi
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924
16925     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h.  */
16927 #include <wctype.h>
16928 int
16929 main ()
16930 {
16931  wint_t t; int i = iswblank(t);
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16937
16938 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16939
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942
16943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16944 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16945   fi
16946
16947   # Option parsed, now set things appropriately.
16948   if test x"$glibcxx_cv_c99_math" = x"no" ||
16949      test x"$glibcxx_cv_c99_complex" = x"no" ||
16950      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16951      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16952      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16953     enable_c99=no;
16954   else
16955
16956 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16957
16958   fi
16959
16960   gcc_no_link="$ac_save_gcc_no_link"
16961   LIBS="$ac_save_LIBS"
16962   CXXFLAGS="$ac_save_CXXFLAGS"
16963   ac_ext=c
16964 ac_cpp='$CPP $CPPFLAGS'
16965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16968
16969   fi
16970
16971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16972 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16974 $as_echo "$enable_c99" >&6; }
16975
16976
16977    # Check whether --enable-concept-checks was given.
16978 if test "${enable_concept_checks+set}" = set; then :
16979   enableval=$enable_concept_checks;
16980       case "$enableval" in
16981        yes|no) ;;
16982        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16983       esac
16984
16985 else
16986   enable_concept_checks=no
16987 fi
16988
16989
16990   if test $enable_concept_checks = yes; then
16991
16992 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16993
16994   fi
16995
16996
16997    # Check whether --enable-libstdcxx-debug-flags was given.
16998 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16999   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17000       xno | x)    enable_libstdcxx_debug_flags= ;;
17001       x-*)        ;;
17002       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17003      esac
17004 else
17005   enable_libstdcxx_debug_flags="-g3 -O0"
17006 fi
17007
17008
17009
17010   # Option parsed, now set things appropriately
17011   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17012
17013
17014   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17015 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17016
17017
17018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17019 $as_echo_n "checking for additional debug build... " >&6; }
17020    # Check whether --enable-libstdcxx-debug was given.
17021 if test "${enable_libstdcxx_debug+set}" = set; then :
17022   enableval=$enable_libstdcxx_debug;
17023       case "$enableval" in
17024        yes|no) ;;
17025        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17026       esac
17027
17028 else
17029   enable_libstdcxx_debug=no
17030 fi
17031
17032
17033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17034 $as_echo "$enable_libstdcxx_debug" >&6; }
17035
17036
17037
17038
17039   enable_parallel=no;
17040
17041   # See if configured libgomp/omp.h exists. (libgomp may be in
17042   # noconfigdirs but not explicitly disabled.)
17043   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17044     enable_parallel=yes;
17045   else
17046     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17047 $as_echo "$as_me: target-libgomp not built" >&6;}
17048   fi
17049
17050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17051 $as_echo_n "checking for parallel mode support... " >&6; }
17052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17053 $as_echo "$enable_parallel" >&6; }
17054
17055
17056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17057 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17058    # Check whether --enable-cxx-flags was given.
17059 if test "${enable_cxx_flags+set}" = set; then :
17060   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17061       xno | x)   enable_cxx_flags= ;;
17062       x-*)       ;;
17063       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17064      esac
17065 else
17066   enable_cxx_flags=
17067 fi
17068
17069
17070
17071   # Run through flags (either default or command-line) and set anything
17072   # extra (e.g., #defines) that must accompany particular g++ options.
17073   if test -n "$enable_cxx_flags"; then
17074     for f in $enable_cxx_flags; do
17075       case "$f" in
17076         -fhonor-std)  ;;
17077         -*)  ;;
17078         *)   # and we're trying to pass /what/ exactly?
17079              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17080       esac
17081     done
17082   fi
17083
17084   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17086 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17087
17088
17089
17090    # Check whether --enable-fully-dynamic-string was given.
17091 if test "${enable_fully_dynamic_string+set}" = set; then :
17092   enableval=$enable_fully_dynamic_string;
17093       case "$enableval" in
17094        yes|no) ;;
17095        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17096       esac
17097
17098 else
17099   enable_fully_dynamic_string=no
17100 fi
17101
17102
17103   if test $enable_fully_dynamic_string = yes; then
17104
17105 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17106
17107   fi
17108
17109
17110 # Checks for operating systems support that doesn't require linking.
17111
17112
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17114 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17115 if test "${glibcxx_cv_system_error1+set}" = set; then :
17116   $as_echo_n "(cached) " >&6
17117 else
17118
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h.  */
17121 #include <errno.h>
17122 int
17123 main ()
17124 {
17125 int i = EOWNERDEAD;
17126   ;
17127   return 0;
17128 }
17129 _ACEOF
17130 if ac_fn_c_try_compile "$LINENO"; then :
17131   glibcxx_cv_system_error1=yes
17132 else
17133   glibcxx_cv_system_error1=no
17134 fi
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136
17137 fi
17138
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17140 $as_echo "$glibcxx_cv_system_error1" >&6; }
17141 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17142
17143 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17144
17145 fi
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17147 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17148 if test "${glibcxx_cv_system_error2+set}" = set; then :
17149   $as_echo_n "(cached) " >&6
17150 else
17151
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h.  */
17154 #include <errno.h>
17155 int
17156 main ()
17157 {
17158 int i = ENOTRECOVERABLE;
17159   ;
17160   return 0;
17161 }
17162 _ACEOF
17163 if ac_fn_c_try_compile "$LINENO"; then :
17164   glibcxx_cv_system_error2=yes
17165 else
17166   glibcxx_cv_system_error2=no
17167 fi
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170 fi
17171
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17173 $as_echo "$glibcxx_cv_system_error2" >&6; }
17174 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17175
17176 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17177
17178 fi
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17180 $as_echo_n "checking for ENOLINK... " >&6; }
17181 if test "${glibcxx_cv_system_error3+set}" = set; then :
17182   $as_echo_n "(cached) " >&6
17183 else
17184
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h.  */
17187 #include <errno.h>
17188 int
17189 main ()
17190 {
17191 int i = ENOLINK;
17192   ;
17193   return 0;
17194 }
17195 _ACEOF
17196 if ac_fn_c_try_compile "$LINENO"; then :
17197   glibcxx_cv_system_error3=yes
17198 else
17199   glibcxx_cv_system_error3=no
17200 fi
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17202
17203 fi
17204
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17206 $as_echo "$glibcxx_cv_system_error3" >&6; }
17207 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17208
17209 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17210
17211 fi
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17213 $as_echo_n "checking for EPROTO... " >&6; }
17214 if test "${glibcxx_cv_system_error4+set}" = set; then :
17215   $as_echo_n "(cached) " >&6
17216 else
17217
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h.  */
17220 #include <errno.h>
17221 int
17222 main ()
17223 {
17224 int i = EPROTO;
17225   ;
17226   return 0;
17227 }
17228 _ACEOF
17229 if ac_fn_c_try_compile "$LINENO"; then :
17230   glibcxx_cv_system_error4=yes
17231 else
17232   glibcxx_cv_system_error4=no
17233 fi
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17235
17236 fi
17237
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17239 $as_echo "$glibcxx_cv_system_error4" >&6; }
17240 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17241
17242 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17243
17244 fi
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17246 $as_echo_n "checking for ENODATA... " >&6; }
17247 if test "${glibcxx_cv_system_error5+set}" = set; then :
17248   $as_echo_n "(cached) " >&6
17249 else
17250
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h.  */
17253 #include <errno.h>
17254 int
17255 main ()
17256 {
17257 int i = ENODATA;
17258   ;
17259   return 0;
17260 }
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263   glibcxx_cv_system_error5=yes
17264 else
17265   glibcxx_cv_system_error5=no
17266 fi
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268
17269 fi
17270
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17272 $as_echo "$glibcxx_cv_system_error5" >&6; }
17273 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17274
17275 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17276
17277 fi
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17279 $as_echo_n "checking for ENOSR... " >&6; }
17280 if test "${glibcxx_cv_system_error6+set}" = set; then :
17281   $as_echo_n "(cached) " >&6
17282 else
17283
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h.  */
17286 #include <errno.h>
17287 int
17288 main ()
17289 {
17290 int i = ENOSR;
17291   ;
17292   return 0;
17293 }
17294 _ACEOF
17295 if ac_fn_c_try_compile "$LINENO"; then :
17296   glibcxx_cv_system_error6=yes
17297 else
17298   glibcxx_cv_system_error6=no
17299 fi
17300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17301
17302 fi
17303
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17305 $as_echo "$glibcxx_cv_system_error6" >&6; }
17306 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17307
17308 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17309
17310 fi
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17312 $as_echo_n "checking for ENOSTR... " >&6; }
17313 if test "${glibcxx_cv_system_error7+set}" = set; then :
17314   $as_echo_n "(cached) " >&6
17315 else
17316
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h.  */
17319 #include <errno.h>
17320 int
17321 main ()
17322 {
17323 int i = ENOSTR;
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329   glibcxx_cv_system_error7=yes
17330 else
17331   glibcxx_cv_system_error7=no
17332 fi
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334
17335 fi
17336
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17338 $as_echo "$glibcxx_cv_system_error7" >&6; }
17339 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17340
17341 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17342
17343 fi
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17345 $as_echo_n "checking for ETIME... " >&6; }
17346 if test "${glibcxx_cv_system_error8+set}" = set; then :
17347   $as_echo_n "(cached) " >&6
17348 else
17349
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h.  */
17352 #include <errno.h>
17353 int
17354 main ()
17355 {
17356 int i = ETIME;
17357   ;
17358   return 0;
17359 }
17360 _ACEOF
17361 if ac_fn_c_try_compile "$LINENO"; then :
17362   glibcxx_cv_system_error8=yes
17363 else
17364   glibcxx_cv_system_error8=no
17365 fi
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17367
17368 fi
17369
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17371 $as_echo "$glibcxx_cv_system_error8" >&6; }
17372 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17373
17374 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17375
17376 fi
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17378 $as_echo_n "checking for EBADMSG... " >&6; }
17379 if test "${glibcxx_cv_system_error9+set}" = set; then :
17380   $as_echo_n "(cached) " >&6
17381 else
17382
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h.  */
17385 #include <errno.h>
17386 int
17387 main ()
17388 {
17389 int i = EBADMSG;
17390   ;
17391   return 0;
17392 }
17393 _ACEOF
17394 if ac_fn_c_try_compile "$LINENO"; then :
17395   glibcxx_cv_system_error9=yes
17396 else
17397   glibcxx_cv_system_error9=no
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400
17401 fi
17402
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17404 $as_echo "$glibcxx_cv_system_error9" >&6; }
17405 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17406
17407 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17408
17409 fi
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17411 $as_echo_n "checking for ECANCELED... " >&6; }
17412 if test "${glibcxx_cv_system_error10+set}" = set; then :
17413   $as_echo_n "(cached) " >&6
17414 else
17415
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h.  */
17418 #include <errno.h>
17419 int
17420 main ()
17421 {
17422 int i = ECANCELED;
17423   ;
17424   return 0;
17425 }
17426 _ACEOF
17427 if ac_fn_c_try_compile "$LINENO"; then :
17428   glibcxx_cv_system_error10=yes
17429 else
17430   glibcxx_cv_system_error10=no
17431 fi
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17433
17434 fi
17435
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17437 $as_echo "$glibcxx_cv_system_error10" >&6; }
17438 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17439
17440 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17441
17442 fi
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17444 $as_echo_n "checking for EOVERFLOW... " >&6; }
17445 if test "${glibcxx_cv_system_error11+set}" = set; then :
17446   $as_echo_n "(cached) " >&6
17447 else
17448
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h.  */
17451 #include <errno.h>
17452 int
17453 main ()
17454 {
17455 int i = EOVERFLOW;
17456   ;
17457   return 0;
17458 }
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461   glibcxx_cv_system_error11=yes
17462 else
17463   glibcxx_cv_system_error11=no
17464 fi
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466
17467 fi
17468
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17470 $as_echo "$glibcxx_cv_system_error11" >&6; }
17471 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17472
17473 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17474
17475 fi
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17477 $as_echo_n "checking for ENOTSUP... " >&6; }
17478 if test "${glibcxx_cv_system_error12+set}" = set; then :
17479   $as_echo_n "(cached) " >&6
17480 else
17481
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h.  */
17484 #include <errno.h>
17485 int
17486 main ()
17487 {
17488 int i = ENOTSUP;
17489   ;
17490   return 0;
17491 }
17492 _ACEOF
17493 if ac_fn_c_try_compile "$LINENO"; then :
17494   glibcxx_cv_system_error12=yes
17495 else
17496   glibcxx_cv_system_error12=no
17497 fi
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499
17500 fi
17501
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17503 $as_echo "$glibcxx_cv_system_error12" >&6; }
17504 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17505
17506 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17507
17508 fi
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17510 $as_echo_n "checking for EIDRM... " >&6; }
17511 if test "${glibcxx_cv_system_error13+set}" = set; then :
17512   $as_echo_n "(cached) " >&6
17513 else
17514
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h.  */
17517 #include <errno.h>
17518 int
17519 main ()
17520 {
17521 int i = EIDRM;
17522   ;
17523   return 0;
17524 }
17525 _ACEOF
17526 if ac_fn_c_try_compile "$LINENO"; then :
17527   glibcxx_cv_system_error13=yes
17528 else
17529   glibcxx_cv_system_error13=no
17530 fi
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532
17533 fi
17534
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17536 $as_echo "$glibcxx_cv_system_error13" >&6; }
17537 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17538
17539 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17540
17541 fi
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17543 $as_echo_n "checking for ETXTBSY... " >&6; }
17544 if test "${glibcxx_cv_system_error14+set}" = set; then :
17545   $as_echo_n "(cached) " >&6
17546 else
17547
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h.  */
17550 #include <errno.h>
17551 int
17552 main ()
17553 {
17554 int i = ETXTBSY;
17555   ;
17556   return 0;
17557 }
17558 _ACEOF
17559 if ac_fn_c_try_compile "$LINENO"; then :
17560   glibcxx_cv_system_error14=yes
17561 else
17562   glibcxx_cv_system_error14=no
17563 fi
17564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17565
17566 fi
17567
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17569 $as_echo "$glibcxx_cv_system_error14" >&6; }
17570 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17571
17572 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17573
17574 fi
17575
17576
17577
17578 # For the streamoff typedef.
17579
17580
17581
17582   ac_ext=cpp
17583 ac_cpp='$CXXCPP $CPPFLAGS'
17584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17587
17588
17589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17590 $as_echo_n "checking for int64_t... " >&6; }
17591   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17592   $as_echo_n "(cached) " >&6
17593 else
17594
17595     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h.  */
17597 #include <stdint.h>
17598 int
17599 main ()
17600 {
17601 int64_t var;
17602   ;
17603   return 0;
17604 }
17605 _ACEOF
17606 if ac_fn_cxx_try_compile "$LINENO"; then :
17607   glibcxx_cv_INT64_T=yes
17608 else
17609   glibcxx_cv_INT64_T=no
17610 fi
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612
17613 fi
17614
17615
17616   if test $glibcxx_cv_INT64_T = yes; then
17617
17618 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17619
17620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17621 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17622
17623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17624 $as_echo_n "checking for int64_t as long... " >&6; }
17625     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17626   $as_echo_n "(cached) " >&6
17627 else
17628
17629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h.  */
17631 #include <stdint.h>
17632         template<typename, typename> struct same { enum { value = -1 }; };
17633         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17634         int array[same<int64_t, long>::value];
17635 int
17636 main ()
17637 {
17638
17639   ;
17640   return 0;
17641 }
17642 _ACEOF
17643 if ac_fn_cxx_try_compile "$LINENO"; then :
17644   glibcxx_cv_int64_t_long=yes
17645 else
17646   glibcxx_cv_int64_t_long=no
17647 fi
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649
17650 fi
17651
17652
17653     if test $glibcxx_cv_int64_t_long = yes; then
17654
17655 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17656
17657       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17658 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17659     fi
17660
17661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17662 $as_echo_n "checking for int64_t as long long... " >&6; }
17663     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17664   $as_echo_n "(cached) " >&6
17665 else
17666
17667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h.  */
17669 #include <stdint.h>
17670         template<typename, typename> struct same { enum { value = -1 }; };
17671         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17672         int array[same<int64_t, long long>::value];
17673 int
17674 main ()
17675 {
17676
17677   ;
17678   return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_cxx_try_compile "$LINENO"; then :
17682   glibcxx_cv_int64_t_long_long=yes
17683 else
17684   glibcxx_cv_int64_t_long_long=no
17685 fi
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687
17688 fi
17689
17690
17691     if test $glibcxx_cv_int64_t_long_long = yes; then
17692
17693 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17694
17695       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17696 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17697     fi
17698   fi
17699
17700   ac_ext=c
17701 ac_cpp='$CPP $CPPFLAGS'
17702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705
17706
17707
17708 # For LFS support.
17709
17710
17711   ac_ext=cpp
17712 ac_cpp='$CXXCPP $CPPFLAGS'
17713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17716
17717   ac_save_CXXFLAGS="$CXXFLAGS"
17718   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17720 $as_echo_n "checking for LFS support... " >&6; }
17721   if test "${glibcxx_cv_LFS+set}" = set; then :
17722   $as_echo_n "(cached) " >&6
17723 else
17724
17725     if test x$gcc_no_link = xyes; then
17726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h.  */
17728 #include <unistd.h>
17729        #include <stdio.h>
17730        #include <sys/stat.h>
17731
17732 int
17733 main ()
17734 {
17735 FILE* fp;
17736        fopen64("t", "w");
17737        fseeko64(fp, 0, SEEK_CUR);
17738        ftello64(fp);
17739        lseek64(1, 0, SEEK_CUR);
17740        struct stat64 buf;
17741        fstat64(1, &buf);
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 if ac_fn_cxx_try_compile "$LINENO"; then :
17747   glibcxx_cv_LFS=yes
17748 else
17749   glibcxx_cv_LFS=no
17750 fi
17751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752 else
17753   if test x$gcc_no_link = xyes; then
17754   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17755 fi
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h.  */
17758 #include <unistd.h>
17759        #include <stdio.h>
17760        #include <sys/stat.h>
17761
17762 int
17763 main ()
17764 {
17765 FILE* fp;
17766        fopen64("t", "w");
17767        fseeko64(fp, 0, SEEK_CUR);
17768        ftello64(fp);
17769        lseek64(1, 0, SEEK_CUR);
17770        struct stat64 buf;
17771        fstat64(1, &buf);
17772   ;
17773   return 0;
17774 }
17775 _ACEOF
17776 if ac_fn_cxx_try_link "$LINENO"; then :
17777   glibcxx_cv_LFS=yes
17778 else
17779   glibcxx_cv_LFS=no
17780 fi
17781 rm -f core conftest.err conftest.$ac_objext \
17782     conftest$ac_exeext conftest.$ac_ext
17783 fi
17784
17785 fi
17786
17787   if test $glibcxx_cv_LFS = yes; then
17788
17789 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17790
17791   fi
17792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17793 $as_echo "$glibcxx_cv_LFS" >&6; }
17794   CXXFLAGS="$ac_save_CXXFLAGS"
17795   ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17800
17801
17802
17803 # For showmanyc_helper().
17804 for ac_header in sys/ioctl.h sys/filio.h
17805 do :
17806   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17808 eval as_val=\$$as_ac_Header
17809    if test "x$as_val" = x""yes; then :
17810   cat >>confdefs.h <<_ACEOF
17811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17812 _ACEOF
17813
17814 fi
17815
17816 done
17817
17818
17819
17820
17821   ac_ext=cpp
17822 ac_cpp='$CXXCPP $CPPFLAGS'
17823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17826
17827   ac_save_CXXFLAGS="$CXXFLAGS"
17828   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17829
17830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17831 $as_echo_n "checking for poll... " >&6; }
17832   if test "${glibcxx_cv_POLL+set}" = set; then :
17833   $as_echo_n "(cached) " >&6
17834 else
17835
17836     if test x$gcc_no_link = xyes; then
17837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h.  */
17839 #include <poll.h>
17840 int
17841 main ()
17842 {
17843 struct pollfd pfd[1];
17844        pfd[0].events = POLLIN;
17845        poll(pfd, 1, 0);
17846   ;
17847   return 0;
17848 }
17849 _ACEOF
17850 if ac_fn_cxx_try_compile "$LINENO"; then :
17851   glibcxx_cv_POLL=yes
17852 else
17853   glibcxx_cv_POLL=no
17854 fi
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 else
17857   if test x$gcc_no_link = xyes; then
17858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17859 fi
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h.  */
17862 #include <poll.h>
17863 int
17864 main ()
17865 {
17866 struct pollfd pfd[1];
17867        pfd[0].events = POLLIN;
17868        poll(pfd, 1, 0);
17869   ;
17870   return 0;
17871 }
17872 _ACEOF
17873 if ac_fn_cxx_try_link "$LINENO"; then :
17874   glibcxx_cv_POLL=yes
17875 else
17876   glibcxx_cv_POLL=no
17877 fi
17878 rm -f core conftest.err conftest.$ac_objext \
17879     conftest$ac_exeext conftest.$ac_ext
17880 fi
17881
17882 fi
17883
17884   if test $glibcxx_cv_POLL = yes; then
17885
17886 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17887
17888   fi
17889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17890 $as_echo "$glibcxx_cv_POLL" >&6; }
17891
17892   CXXFLAGS="$ac_save_CXXFLAGS"
17893   ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898
17899
17900
17901
17902
17903   ac_ext=cpp
17904 ac_cpp='$CXXCPP $CPPFLAGS'
17905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17908
17909   ac_save_CXXFLAGS="$CXXFLAGS"
17910   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17911
17912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17913 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17914   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17915   $as_echo_n "(cached) " >&6
17916 else
17917
17918     if test x$gcc_no_link = xyes; then
17919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h.  */
17921 #include <sys/stat.h>
17922 int
17923 main ()
17924 {
17925 struct stat buffer;
17926        fstat(0, &buffer);
17927        S_ISREG(buffer.st_mode);
17928   ;
17929   return 0;
17930 }
17931 _ACEOF
17932 if ac_fn_cxx_try_compile "$LINENO"; then :
17933   glibcxx_cv_S_ISREG=yes
17934 else
17935   glibcxx_cv_S_ISREG=no
17936 fi
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 else
17939   if test x$gcc_no_link = xyes; then
17940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17941 fi
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h.  */
17944 #include <sys/stat.h>
17945 int
17946 main ()
17947 {
17948 struct stat buffer;
17949        fstat(0, &buffer);
17950        S_ISREG(buffer.st_mode);
17951   ;
17952   return 0;
17953 }
17954 _ACEOF
17955 if ac_fn_cxx_try_link "$LINENO"; then :
17956   glibcxx_cv_S_ISREG=yes
17957 else
17958   glibcxx_cv_S_ISREG=no
17959 fi
17960 rm -f core conftest.err conftest.$ac_objext \
17961     conftest$ac_exeext conftest.$ac_ext
17962 fi
17963
17964 fi
17965
17966   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17967   $as_echo_n "(cached) " >&6
17968 else
17969
17970     if test x$gcc_no_link = xyes; then
17971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h.  */
17973 #include <sys/stat.h>
17974 int
17975 main ()
17976 {
17977 struct stat buffer;
17978        fstat(0, &buffer);
17979        S_IFREG & buffer.st_mode;
17980   ;
17981   return 0;
17982 }
17983 _ACEOF
17984 if ac_fn_cxx_try_compile "$LINENO"; then :
17985   glibcxx_cv_S_IFREG=yes
17986 else
17987   glibcxx_cv_S_IFREG=no
17988 fi
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 else
17991   if test x$gcc_no_link = xyes; then
17992   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17993 fi
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h.  */
17996 #include <sys/stat.h>
17997 int
17998 main ()
17999 {
18000 struct stat buffer;
18001        fstat(0, &buffer);
18002        S_IFREG & buffer.st_mode;
18003   ;
18004   return 0;
18005 }
18006 _ACEOF
18007 if ac_fn_cxx_try_link "$LINENO"; then :
18008   glibcxx_cv_S_IFREG=yes
18009 else
18010   glibcxx_cv_S_IFREG=no
18011 fi
18012 rm -f core conftest.err conftest.$ac_objext \
18013     conftest$ac_exeext conftest.$ac_ext
18014 fi
18015
18016 fi
18017
18018   res=no
18019   if test $glibcxx_cv_S_ISREG = yes; then
18020
18021 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18022
18023     res=S_ISREG
18024   elif test $glibcxx_cv_S_IFREG = yes; then
18025
18026 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18027
18028     res=S_IFREG
18029   fi
18030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18031 $as_echo "$res" >&6; }
18032
18033   CXXFLAGS="$ac_save_CXXFLAGS"
18034   ac_ext=c
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18039
18040
18041
18042 # For xsputn_2().
18043 for ac_header in sys/uio.h
18044 do :
18045   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18046 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18047   cat >>confdefs.h <<_ACEOF
18048 #define HAVE_SYS_UIO_H 1
18049 _ACEOF
18050
18051 fi
18052
18053 done
18054
18055
18056
18057
18058   ac_ext=cpp
18059 ac_cpp='$CXXCPP $CPPFLAGS'
18060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18063
18064   ac_save_CXXFLAGS="$CXXFLAGS"
18065   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18066
18067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18068 $as_echo_n "checking for writev... " >&6; }
18069   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18070   $as_echo_n "(cached) " >&6
18071 else
18072
18073     if test x$gcc_no_link = xyes; then
18074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h.  */
18076 #include <sys/uio.h>
18077 int
18078 main ()
18079 {
18080 struct iovec iov[2];
18081        writev(0, iov, 0);
18082   ;
18083   return 0;
18084 }
18085 _ACEOF
18086 if ac_fn_cxx_try_compile "$LINENO"; then :
18087   glibcxx_cv_WRITEV=yes
18088 else
18089   glibcxx_cv_WRITEV=no
18090 fi
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 else
18093   if test x$gcc_no_link = xyes; then
18094   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18095 fi
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h.  */
18098 #include <sys/uio.h>
18099 int
18100 main ()
18101 {
18102 struct iovec iov[2];
18103        writev(0, iov, 0);
18104   ;
18105   return 0;
18106 }
18107 _ACEOF
18108 if ac_fn_cxx_try_link "$LINENO"; then :
18109   glibcxx_cv_WRITEV=yes
18110 else
18111   glibcxx_cv_WRITEV=no
18112 fi
18113 rm -f core conftest.err conftest.$ac_objext \
18114     conftest$ac_exeext conftest.$ac_ext
18115 fi
18116
18117 fi
18118
18119   if test $glibcxx_cv_WRITEV = yes; then
18120
18121 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18122
18123   fi
18124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18125 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18126
18127   CXXFLAGS="$ac_save_CXXFLAGS"
18128   ac_ext=c
18129 ac_cpp='$CPP $CPPFLAGS'
18130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18133
18134
18135
18136 # For C99 support to TR1.
18137
18138
18139
18140   ac_ext=cpp
18141 ac_cpp='$CXXCPP $CPPFLAGS'
18142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18145
18146
18147   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18148   # undefined and fake C99 facilities may be spuriously enabled.
18149   ac_save_CXXFLAGS="$CXXFLAGS"
18150   CXXFLAGS="$CXXFLAGS -std=c++98"
18151
18152   # Check for the existence of <complex.h> complex math functions used
18153   # by tr1/complex.
18154   for ac_header in complex.h
18155 do :
18156   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_complex_h" = x""yes; then :
18158   cat >>confdefs.h <<_ACEOF
18159 #define HAVE_COMPLEX_H 1
18160 _ACEOF
18161  ac_has_complex_h=yes
18162 else
18163   ac_has_complex_h=no
18164 fi
18165
18166 done
18167
18168   ac_c99_complex_tr1=no;
18169   if test x"$ac_has_complex_h" = x"yes"; then
18170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18171 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18172     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h.  */
18174 #include <complex.h>
18175 int
18176 main ()
18177 {
18178 typedef __complex__ float float_type; float_type tmpf;
18179                     cacosf(tmpf);
18180                     casinf(tmpf);
18181                     catanf(tmpf);
18182                     cacoshf(tmpf);
18183                     casinhf(tmpf);
18184                     catanhf(tmpf);
18185                     typedef __complex__ double double_type; double_type tmpd;
18186                     cacos(tmpd);
18187                     casin(tmpd);
18188                     catan(tmpd);
18189                     cacosh(tmpd);
18190                     casinh(tmpd);
18191                     catanh(tmpd);
18192                     typedef __complex__ long double ld_type; ld_type tmpld;
18193                     cacosl(tmpld);
18194                     casinl(tmpld);
18195                     catanl(tmpld);
18196                     cacoshl(tmpld);
18197                     casinhl(tmpld);
18198                     catanhl(tmpld);
18199
18200   ;
18201   return 0;
18202 }
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205   ac_c99_complex_tr1=yes
18206 else
18207   ac_c99_complex_tr1=no
18208 fi
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18210   fi
18211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18212 $as_echo "$ac_c99_complex_tr1" >&6; }
18213   if test x"$ac_c99_complex_tr1" = x"yes"; then
18214
18215 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18216
18217   fi
18218
18219   # Check for the existence of <ctype.h> functions.
18220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18221 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18222   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18223   $as_echo_n "(cached) " >&6
18224 else
18225
18226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h.  */
18228 #include <ctype.h>
18229 int
18230 main ()
18231 {
18232 int ch;
18233                   int ret;
18234                   ret = isblank(ch);
18235
18236   ;
18237   return 0;
18238 }
18239 _ACEOF
18240 if ac_fn_cxx_try_compile "$LINENO"; then :
18241   glibcxx_cv_c99_ctype_tr1=yes
18242 else
18243   glibcxx_cv_c99_ctype_tr1=no
18244 fi
18245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246
18247 fi
18248
18249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18250 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18251   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18252
18253 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18254
18255   fi
18256
18257   # Check for the existence of <fenv.h> functions.
18258   for ac_header in fenv.h
18259 do :
18260   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18261 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18262   cat >>confdefs.h <<_ACEOF
18263 #define HAVE_FENV_H 1
18264 _ACEOF
18265  ac_has_fenv_h=yes
18266 else
18267   ac_has_fenv_h=no
18268 fi
18269
18270 done
18271
18272   ac_c99_fenv_tr1=no;
18273   if test x"$ac_has_fenv_h" = x"yes"; then
18274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18275 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18276     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h.  */
18278 #include <fenv.h>
18279 int
18280 main ()
18281 {
18282 int except, mode;
18283                     fexcept_t* pflag;
18284                     fenv_t* penv;
18285                     int ret;
18286                     ret = feclearexcept(except);
18287                     ret = fegetexceptflag(pflag, except);
18288                     ret = feraiseexcept(except);
18289                     ret = fesetexceptflag(pflag, except);
18290                     ret = fetestexcept(except);
18291                     ret = fegetround();
18292                     ret = fesetround(mode);
18293                     ret = fegetenv(penv);
18294                     ret = feholdexcept(penv);
18295                     ret = fesetenv(penv);
18296                     ret = feupdateenv(penv);
18297
18298   ;
18299   return 0;
18300 }
18301 _ACEOF
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303   ac_c99_fenv_tr1=yes
18304 else
18305   ac_c99_fenv_tr1=no
18306 fi
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308   fi
18309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18310 $as_echo "$ac_c99_fenv_tr1" >&6; }
18311   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18312
18313 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18314
18315   fi
18316
18317   # Check for the existence of <stdint.h> types.
18318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18319 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18320   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18321   $as_echo_n "(cached) " >&6
18322 else
18323
18324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h.  */
18326 #define __STDC_LIMIT_MACROS
18327                   #define __STDC_CONSTANT_MACROS
18328                   #include <stdint.h>
18329 int
18330 main ()
18331 {
18332 typedef int8_t          my_int8_t;
18333                   my_int8_t               i8 = INT8_MIN;
18334                   i8 = INT8_MAX;
18335                   typedef int16_t         my_int16_t;
18336                   my_int16_t              i16 = INT16_MIN;
18337                   i16 = INT16_MAX;
18338                   typedef int32_t         my_int32_t;
18339                   my_int32_t              i32 = INT32_MIN;
18340                   i32 = INT32_MAX;
18341                   typedef int64_t         my_int64_t;
18342                   my_int64_t              i64 = INT64_MIN;
18343                   i64 = INT64_MAX;
18344                   typedef int_fast8_t     my_int_fast8_t;
18345                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18346                   if8 = INT_FAST8_MAX;
18347                   typedef int_fast16_t    my_int_fast16_t;
18348                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18349                   if16 = INT_FAST16_MAX;
18350                   typedef int_fast32_t    my_int_fast32_t;
18351                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18352                   if32 = INT_FAST32_MAX;
18353                   typedef int_fast64_t    my_int_fast64_t;
18354                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18355                   if64 = INT_FAST64_MAX;
18356                   typedef int_least8_t    my_int_least8_t;
18357                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18358                   il8 = INT_LEAST8_MAX;
18359                   typedef int_least16_t   my_int_least16_t;
18360                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18361                   il16 = INT_LEAST16_MAX;
18362                   typedef int_least32_t   my_int_least32_t;
18363                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18364                   il32 = INT_LEAST32_MAX;
18365                   typedef int_least64_t   my_int_least64_t;
18366                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18367                   il64 = INT_LEAST64_MAX;
18368                   typedef intmax_t        my_intmax_t;
18369                   my_intmax_t             im = INTMAX_MAX;
18370                   im = INTMAX_MIN;
18371                   typedef intptr_t        my_intptr_t;
18372                   my_intptr_t             ip = INTPTR_MAX;
18373                   ip = INTPTR_MIN;
18374                   typedef uint8_t         my_uint8_t;
18375                   my_uint8_t              ui8 = UINT8_MAX;
18376                   ui8 = UINT8_MAX;
18377                   typedef uint16_t        my_uint16_t;
18378                   my_uint16_t             ui16 = UINT16_MAX;
18379                   ui16 = UINT16_MAX;
18380                   typedef uint32_t        my_uint32_t;
18381                   my_uint32_t             ui32 = UINT32_MAX;
18382                   ui32 = UINT32_MAX;
18383                   typedef uint64_t        my_uint64_t;
18384                   my_uint64_t             ui64 = UINT64_MAX;
18385                   ui64 = UINT64_MAX;
18386                   typedef uint_fast8_t    my_uint_fast8_t;
18387                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18388                   uif8 = UINT_FAST8_MAX;
18389                   typedef uint_fast16_t   my_uint_fast16_t;
18390                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18391                   uif16 = UINT_FAST16_MAX;
18392                   typedef uint_fast32_t   my_uint_fast32_t;
18393                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18394                   uif32 = UINT_FAST32_MAX;
18395                   typedef uint_fast64_t   my_uint_fast64_t;
18396                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18397                   uif64 = UINT_FAST64_MAX;
18398                   typedef uint_least8_t   my_uint_least8_t;
18399                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18400                   uil8 = UINT_LEAST8_MAX;
18401                   typedef uint_least16_t  my_uint_least16_t;
18402                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18403                   uil16 = UINT_LEAST16_MAX;
18404                   typedef uint_least32_t  my_uint_least32_t;
18405                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18406                   uil32 = UINT_LEAST32_MAX;
18407                   typedef uint_least64_t  my_uint_least64_t;
18408                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18409                   uil64 = UINT_LEAST64_MAX;
18410                   typedef uintmax_t       my_uintmax_t;
18411                   my_uintmax_t            uim = UINTMAX_MAX;
18412                   uim = UINTMAX_MAX;
18413                   typedef uintptr_t       my_uintptr_t;
18414                   my_uintptr_t            uip = UINTPTR_MAX;
18415                   uip = UINTPTR_MAX;
18416
18417   ;
18418   return 0;
18419 }
18420 _ACEOF
18421 if ac_fn_cxx_try_compile "$LINENO"; then :
18422   glibcxx_cv_c99_stdint_tr1=yes
18423 else
18424   glibcxx_cv_c99_stdint_tr1=no
18425 fi
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427
18428 fi
18429
18430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18431 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18432   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18433
18434 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18435
18436   fi
18437
18438   # Check for the existence of <math.h> functions.
18439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18440 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18441   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18442   $as_echo_n "(cached) " >&6
18443 else
18444
18445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h.  */
18447 #include <math.h>
18448 int
18449 main ()
18450 {
18451 typedef double_t  my_double_t;
18452                   typedef float_t   my_float_t;
18453                   acosh(0.0);
18454                   acoshf(0.0f);
18455                   acoshl(0.0l);
18456                   asinh(0.0);
18457                   asinhf(0.0f);
18458                   asinhl(0.0l);
18459                   atanh(0.0);
18460                   atanhf(0.0f);
18461                   atanhl(0.0l);
18462                   cbrt(0.0);
18463                   cbrtf(0.0f);
18464                   cbrtl(0.0l);
18465                   copysign(0.0, 0.0);
18466                   copysignf(0.0f, 0.0f);
18467                   copysignl(0.0l, 0.0l);
18468                   erf(0.0);
18469                   erff(0.0f);
18470                   erfl(0.0l);
18471                   erfc(0.0);
18472                   erfcf(0.0f);
18473                   erfcl(0.0l);
18474                   exp2(0.0);
18475                   exp2f(0.0f);
18476                   exp2l(0.0l);
18477                   expm1(0.0);
18478                   expm1f(0.0f);
18479                   expm1l(0.0l);
18480                   fdim(0.0, 0.0);
18481                   fdimf(0.0f, 0.0f);
18482                   fdiml(0.0l, 0.0l);
18483                   fma(0.0, 0.0, 0.0);
18484                   fmaf(0.0f, 0.0f, 0.0f);
18485                   fmal(0.0l, 0.0l, 0.0l);
18486                   fmax(0.0, 0.0);
18487                   fmaxf(0.0f, 0.0f);
18488                   fmaxl(0.0l, 0.0l);
18489                   fmin(0.0, 0.0);
18490                   fminf(0.0f, 0.0f);
18491                   fminl(0.0l, 0.0l);
18492                   hypot(0.0, 0.0);
18493                   hypotf(0.0f, 0.0f);
18494                   hypotl(0.0l, 0.0l);
18495                   ilogb(0.0);
18496                   ilogbf(0.0f);
18497                   ilogbl(0.0l);
18498                   lgamma(0.0);
18499                   lgammaf(0.0f);
18500                   lgammal(0.0l);
18501                   llrint(0.0);
18502                   llrintf(0.0f);
18503                   llrintl(0.0l);
18504                   llround(0.0);
18505                   llroundf(0.0f);
18506                   llroundl(0.0l);
18507                   log1p(0.0);
18508                   log1pf(0.0f);
18509                   log1pl(0.0l);
18510                   log2(0.0);
18511                   log2f(0.0f);
18512                   log2l(0.0l);
18513                   logb(0.0);
18514                   logbf(0.0f);
18515                   logbl(0.0l);
18516                   lrint(0.0);
18517                   lrintf(0.0f);
18518                   lrintl(0.0l);
18519                   lround(0.0);
18520                   lroundf(0.0f);
18521                   lroundl(0.0l);
18522                   nan(0);
18523                   nanf(0);
18524                   nanl(0);
18525                   nearbyint(0.0);
18526                   nearbyintf(0.0f);
18527                   nearbyintl(0.0l);
18528                   nextafter(0.0, 0.0);
18529                   nextafterf(0.0f, 0.0f);
18530                   nextafterl(0.0l, 0.0l);
18531                   nexttoward(0.0, 0.0);
18532                   nexttowardf(0.0f, 0.0f);
18533                   nexttowardl(0.0l, 0.0l);
18534                   remainder(0.0, 0.0);
18535                   remainderf(0.0f, 0.0f);
18536                   remainderl(0.0l, 0.0l);
18537                   remquo(0.0, 0.0, 0);
18538                   remquof(0.0f, 0.0f, 0);
18539                   remquol(0.0l, 0.0l, 0);
18540                   rint(0.0);
18541                   rintf(0.0f);
18542                   rintl(0.0l);
18543                   round(0.0);
18544                   roundf(0.0f);
18545                   roundl(0.0l);
18546                   scalbln(0.0, 0l);
18547                   scalblnf(0.0f, 0l);
18548                   scalblnl(0.0l, 0l);
18549                   scalbn(0.0, 0);
18550                   scalbnf(0.0f, 0);
18551                   scalbnl(0.0l, 0);
18552                   tgamma(0.0);
18553                   tgammaf(0.0f);
18554                   tgammal(0.0l);
18555                   trunc(0.0);
18556                   truncf(0.0f);
18557                   truncl(0.0l);
18558
18559   ;
18560   return 0;
18561 }
18562 _ACEOF
18563 if ac_fn_cxx_try_compile "$LINENO"; then :
18564   glibcxx_cv_c99_math_tr1=yes
18565 else
18566   glibcxx_cv_c99_math_tr1=no
18567 fi
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18569
18570 fi
18571
18572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18573 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18574   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18575
18576 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18577
18578   fi
18579
18580   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18581   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18582   ac_c99_inttypes_tr1=no;
18583   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18585 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18586     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h.  */
18588 #include <inttypes.h>
18589 int
18590 main ()
18591 {
18592 intmax_t i, numer, denom, base;
18593                     const char* s;
18594                     char** endptr;
18595                     intmax_t ret = imaxabs(i);
18596                     imaxdiv_t dret = imaxdiv(numer, denom);
18597                     ret = strtoimax(s, endptr, base);
18598                     uintmax_t uret = strtoumax(s, endptr, base);
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 if ac_fn_cxx_try_compile "$LINENO"; then :
18605   ac_c99_inttypes_tr1=yes
18606 else
18607   ac_c99_inttypes_tr1=no
18608 fi
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610   fi
18611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18612 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18613   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18614
18615 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18616
18617   fi
18618
18619   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18620   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18621   ac_c99_inttypes_wchar_t_tr1=no;
18622   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18624 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18625     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h.  */
18627 #include <inttypes.h>
18628 int
18629 main ()
18630 {
18631 intmax_t base;
18632                     const wchar_t* s;
18633                     wchar_t** endptr;
18634                     intmax_t ret = wcstoimax(s, endptr, base);
18635                     uintmax_t uret = wcstoumax(s, endptr, base);
18636
18637   ;
18638   return 0;
18639 }
18640 _ACEOF
18641 if ac_fn_cxx_try_compile "$LINENO"; then :
18642   ac_c99_inttypes_wchar_t_tr1=yes
18643 else
18644   ac_c99_inttypes_wchar_t_tr1=no
18645 fi
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18647   fi
18648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18649 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18650   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18651
18652 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18653
18654   fi
18655
18656   # Check for the existence of the <stdbool.h> header.
18657   for ac_header in stdbool.h
18658 do :
18659   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18660 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18661   cat >>confdefs.h <<_ACEOF
18662 #define HAVE_STDBOOL_H 1
18663 _ACEOF
18664
18665 fi
18666
18667 done
18668
18669
18670   CXXFLAGS="$ac_save_CXXFLAGS"
18671   ac_ext=c
18672 ac_cpp='$CPP $CPPFLAGS'
18673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18676
18677
18678
18679 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18680
18681
18682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18683 $as_echo_n "checking for the value of EOF... " >&6; }
18684 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18685   $as_echo_n "(cached) " >&6
18686 else
18687
18688   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
18689
18690 else
18691   as_fn_error "computing EOF failed" "$LINENO" 5
18692 fi
18693
18694
18695 fi
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18697 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18698
18699 cat >>confdefs.h <<_ACEOF
18700 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18701 _ACEOF
18702
18703
18704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18705 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18706 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18707   $as_echo_n "(cached) " >&6
18708 else
18709
18710   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
18711
18712 else
18713   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18714 fi
18715
18716
18717 fi
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18719 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18720
18721 cat >>confdefs.h <<_ACEOF
18722 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18723 _ACEOF
18724
18725
18726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18727 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18728 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18729   $as_echo_n "(cached) " >&6
18730 else
18731
18732   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
18733
18734 else
18735   as_fn_error "computing SEEK_END failed" "$LINENO" 5
18736 fi
18737
18738
18739 fi
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18741 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18742
18743 cat >>confdefs.h <<_ACEOF
18744 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18745 _ACEOF
18746
18747
18748
18749 # For gettimeofday support.
18750
18751
18752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18753 $as_echo_n "checking for gettimeofday... " >&6; }
18754
18755
18756   ac_ext=cpp
18757 ac_cpp='$CXXCPP $CPPFLAGS'
18758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18761
18762   ac_save_CXXFLAGS="$CXXFLAGS"
18763   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18764
18765   ac_has_gettimeofday=no;
18766   for ac_header in sys/time.h
18767 do :
18768   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18769 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18770   cat >>confdefs.h <<_ACEOF
18771 #define HAVE_SYS_TIME_H 1
18772 _ACEOF
18773  ac_has_sys_time_h=yes
18774 else
18775   ac_has_sys_time_h=no
18776 fi
18777
18778 done
18779
18780   if test x"$ac_has_sys_time_h" = x"yes"; then
18781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18782 $as_echo_n "checking for gettimeofday... " >&6; }
18783     if test x$gcc_no_link = xyes; then
18784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h.  */
18786 #include <sys/time.h>
18787 int
18788 main ()
18789 {
18790 timeval tv; gettimeofday(&tv, 0);
18791   ;
18792   return 0;
18793 }
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796   ac_has_gettimeofday=yes
18797 else
18798   ac_has_gettimeofday=no
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 else
18802   if test x$gcc_no_link = xyes; then
18803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18804 fi
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h.  */
18807 #include <sys/time.h>
18808 int
18809 main ()
18810 {
18811 timeval tv; gettimeofday(&tv, 0);
18812   ;
18813   return 0;
18814 }
18815 _ACEOF
18816 if ac_fn_cxx_try_link "$LINENO"; then :
18817   ac_has_gettimeofday=yes
18818 else
18819   ac_has_gettimeofday=no
18820 fi
18821 rm -f core conftest.err conftest.$ac_objext \
18822     conftest$ac_exeext conftest.$ac_ext
18823 fi
18824
18825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18826 $as_echo "$ac_has_gettimeofday" >&6; }
18827   fi
18828
18829   if test x"$ac_has_gettimeofday" = x"yes"; then
18830
18831 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18832
18833   fi
18834
18835   CXXFLAGS="$ac_save_CXXFLAGS"
18836   ac_ext=c
18837 ac_cpp='$CPP $CPPFLAGS'
18838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18841
18842
18843
18844 # For clock_gettime, nanosleep and sched_yield support.
18845 # NB: The default is [no], because otherwise it requires linking.
18846
18847
18848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18849 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18850    # Check whether --enable-libstdcxx-time was given.
18851 if test "${enable_libstdcxx_time+set}" = set; then :
18852   enableval=$enable_libstdcxx_time;
18853       case "$enableval" in
18854        yes|no|rt) ;;
18855        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18856                           esac
18857
18858 else
18859   enable_libstdcxx_time=no
18860 fi
18861
18862
18863
18864
18865   ac_ext=cpp
18866 ac_cpp='$CXXCPP $CPPFLAGS'
18867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18870
18871   ac_save_CXXFLAGS="$CXXFLAGS"
18872   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18873   ac_save_LIBS="$LIBS"
18874
18875   ac_has_clock_monotonic=no
18876   ac_has_clock_realtime=no
18877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18878 $as_echo "$enable_libstdcxx_time" >&6; }
18879
18880   if test x"$enable_libstdcxx_time" != x"no"; then
18881
18882     if test x"$enable_libstdcxx_time" = x"rt"; then
18883       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18884 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18885 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18886   $as_echo_n "(cached) " >&6
18887 else
18888   ac_func_search_save_LIBS=$LIBS
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h.  */
18891
18892 /* Override any GCC internal prototype to avoid an error.
18893    Use char because int might match the return type of a GCC
18894    builtin and then its argument prototype would still apply.  */
18895 #ifdef __cplusplus
18896 extern "C"
18897 #endif
18898 char clock_gettime ();
18899 int
18900 main ()
18901 {
18902 return clock_gettime ();
18903   ;
18904   return 0;
18905 }
18906 _ACEOF
18907 for ac_lib in '' rt posix4; do
18908   if test -z "$ac_lib"; then
18909     ac_res="none required"
18910   else
18911     ac_res=-l$ac_lib
18912     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18913   fi
18914   if test x$gcc_no_link = xyes; then
18915   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18916 fi
18917 if ac_fn_cxx_try_link "$LINENO"; then :
18918   ac_cv_search_clock_gettime=$ac_res
18919 fi
18920 rm -f core conftest.err conftest.$ac_objext \
18921     conftest$ac_exeext
18922   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18923   break
18924 fi
18925 done
18926 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18927
18928 else
18929   ac_cv_search_clock_gettime=no
18930 fi
18931 rm conftest.$ac_ext
18932 LIBS=$ac_func_search_save_LIBS
18933 fi
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18935 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18936 ac_res=$ac_cv_search_clock_gettime
18937 if test "$ac_res" != no; then :
18938   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18939
18940 fi
18941
18942       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18943 $as_echo_n "checking for library containing nanosleep... " >&6; }
18944 if test "${ac_cv_search_nanosleep+set}" = set; then :
18945   $as_echo_n "(cached) " >&6
18946 else
18947   ac_func_search_save_LIBS=$LIBS
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h.  */
18950
18951 /* Override any GCC internal prototype to avoid an error.
18952    Use char because int might match the return type of a GCC
18953    builtin and then its argument prototype would still apply.  */
18954 #ifdef __cplusplus
18955 extern "C"
18956 #endif
18957 char nanosleep ();
18958 int
18959 main ()
18960 {
18961 return nanosleep ();
18962   ;
18963   return 0;
18964 }
18965 _ACEOF
18966 for ac_lib in '' rt posix4; do
18967   if test -z "$ac_lib"; then
18968     ac_res="none required"
18969   else
18970     ac_res=-l$ac_lib
18971     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18972   fi
18973   if test x$gcc_no_link = xyes; then
18974   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18975 fi
18976 if ac_fn_cxx_try_link "$LINENO"; then :
18977   ac_cv_search_nanosleep=$ac_res
18978 fi
18979 rm -f core conftest.err conftest.$ac_objext \
18980     conftest$ac_exeext
18981   if test "${ac_cv_search_nanosleep+set}" = set; then :
18982   break
18983 fi
18984 done
18985 if test "${ac_cv_search_nanosleep+set}" = set; then :
18986
18987 else
18988   ac_cv_search_nanosleep=no
18989 fi
18990 rm conftest.$ac_ext
18991 LIBS=$ac_func_search_save_LIBS
18992 fi
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18994 $as_echo "$ac_cv_search_nanosleep" >&6; }
18995 ac_res=$ac_cv_search_nanosleep
18996 if test "$ac_res" != no; then :
18997   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18998
18999 fi
19000
19001     else
19002       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19003 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19004 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19005   $as_echo_n "(cached) " >&6
19006 else
19007   ac_func_search_save_LIBS=$LIBS
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h.  */
19010
19011 /* Override any GCC internal prototype to avoid an error.
19012    Use char because int might match the return type of a GCC
19013    builtin and then its argument prototype would still apply.  */
19014 #ifdef __cplusplus
19015 extern "C"
19016 #endif
19017 char clock_gettime ();
19018 int
19019 main ()
19020 {
19021 return clock_gettime ();
19022   ;
19023   return 0;
19024 }
19025 _ACEOF
19026 for ac_lib in '' posix4; do
19027   if test -z "$ac_lib"; then
19028     ac_res="none required"
19029   else
19030     ac_res=-l$ac_lib
19031     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19032   fi
19033   if test x$gcc_no_link = xyes; then
19034   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19035 fi
19036 if ac_fn_cxx_try_link "$LINENO"; then :
19037   ac_cv_search_clock_gettime=$ac_res
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext \
19040     conftest$ac_exeext
19041   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19042   break
19043 fi
19044 done
19045 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19046
19047 else
19048   ac_cv_search_clock_gettime=no
19049 fi
19050 rm conftest.$ac_ext
19051 LIBS=$ac_func_search_save_LIBS
19052 fi
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19054 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19055 ac_res=$ac_cv_search_clock_gettime
19056 if test "$ac_res" != no; then :
19057   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19058
19059 fi
19060
19061       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19062 $as_echo_n "checking for library containing nanosleep... " >&6; }
19063 if test "${ac_cv_search_nanosleep+set}" = set; then :
19064   $as_echo_n "(cached) " >&6
19065 else
19066   ac_func_search_save_LIBS=$LIBS
19067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h.  */
19069
19070 /* Override any GCC internal prototype to avoid an error.
19071    Use char because int might match the return type of a GCC
19072    builtin and then its argument prototype would still apply.  */
19073 #ifdef __cplusplus
19074 extern "C"
19075 #endif
19076 char nanosleep ();
19077 int
19078 main ()
19079 {
19080 return nanosleep ();
19081   ;
19082   return 0;
19083 }
19084 _ACEOF
19085 for ac_lib in '' posix4; do
19086   if test -z "$ac_lib"; then
19087     ac_res="none required"
19088   else
19089     ac_res=-l$ac_lib
19090     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19091   fi
19092   if test x$gcc_no_link = xyes; then
19093   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19094 fi
19095 if ac_fn_cxx_try_link "$LINENO"; then :
19096   ac_cv_search_nanosleep=$ac_res
19097 fi
19098 rm -f core conftest.err conftest.$ac_objext \
19099     conftest$ac_exeext
19100   if test "${ac_cv_search_nanosleep+set}" = set; then :
19101   break
19102 fi
19103 done
19104 if test "${ac_cv_search_nanosleep+set}" = set; then :
19105
19106 else
19107   ac_cv_search_nanosleep=no
19108 fi
19109 rm conftest.$ac_ext
19110 LIBS=$ac_func_search_save_LIBS
19111 fi
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19113 $as_echo "$ac_cv_search_nanosleep" >&6; }
19114 ac_res=$ac_cv_search_nanosleep
19115 if test "$ac_res" != no; then :
19116   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19117
19118 fi
19119
19120     fi
19121
19122     case "$ac_cv_search_clock_gettime" in
19123       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19124       ;;
19125     esac
19126     case "$ac_cv_search_nanosleep" in
19127       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19128       ;;
19129     esac
19130
19131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19132 $as_echo_n "checking for library containing sched_yield... " >&6; }
19133 if test "${ac_cv_search_sched_yield+set}" = set; then :
19134   $as_echo_n "(cached) " >&6
19135 else
19136   ac_func_search_save_LIBS=$LIBS
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h.  */
19139
19140 /* Override any GCC internal prototype to avoid an error.
19141    Use char because int might match the return type of a GCC
19142    builtin and then its argument prototype would still apply.  */
19143 #ifdef __cplusplus
19144 extern "C"
19145 #endif
19146 char sched_yield ();
19147 int
19148 main ()
19149 {
19150 return sched_yield ();
19151   ;
19152   return 0;
19153 }
19154 _ACEOF
19155 for ac_lib in '' rt posix4; do
19156   if test -z "$ac_lib"; then
19157     ac_res="none required"
19158   else
19159     ac_res=-l$ac_lib
19160     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19161   fi
19162   if test x$gcc_no_link = xyes; then
19163   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19164 fi
19165 if ac_fn_cxx_try_link "$LINENO"; then :
19166   ac_cv_search_sched_yield=$ac_res
19167 fi
19168 rm -f core conftest.err conftest.$ac_objext \
19169     conftest$ac_exeext
19170   if test "${ac_cv_search_sched_yield+set}" = set; then :
19171   break
19172 fi
19173 done
19174 if test "${ac_cv_search_sched_yield+set}" = set; then :
19175
19176 else
19177   ac_cv_search_sched_yield=no
19178 fi
19179 rm conftest.$ac_ext
19180 LIBS=$ac_func_search_save_LIBS
19181 fi
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19183 $as_echo "$ac_cv_search_sched_yield" >&6; }
19184 ac_res=$ac_cv_search_sched_yield
19185 if test "$ac_res" != no; then :
19186   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19187
19188 fi
19189
19190
19191     case "$ac_cv_search_sched_yield" in
19192       -lposix4*)
19193       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19194
19195 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19196
19197       ;;
19198       -lrt*)
19199       if test x"$enable_libstdcxx_time" = x"rt"; then
19200         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19201
19202 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19203
19204       fi
19205       ;;
19206       *)
19207
19208 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19209
19210       ;;
19211     esac
19212
19213     for ac_header in unistd.h
19214 do :
19215   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19216 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19217   cat >>confdefs.h <<_ACEOF
19218 #define HAVE_UNISTD_H 1
19219 _ACEOF
19220  ac_has_unistd_h=yes
19221 else
19222   ac_has_unistd_h=no
19223 fi
19224
19225 done
19226
19227
19228     if test x"$ac_has_unistd_h" = x"yes"; then
19229       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19230 $as_echo_n "checking for monotonic clock... " >&6; }
19231       if test x$gcc_no_link = xyes; then
19232   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19233 fi
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h.  */
19236 #include <unistd.h>
19237          #include <time.h>
19238
19239 int
19240 main ()
19241 {
19242 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19243           timespec tp;
19244          #endif
19245           clock_gettime(CLOCK_MONOTONIC, &tp);
19246
19247   ;
19248   return 0;
19249 }
19250 _ACEOF
19251 if ac_fn_cxx_try_link "$LINENO"; then :
19252   ac_has_clock_monotonic=yes
19253 else
19254   ac_has_clock_monotonic=no
19255 fi
19256 rm -f core conftest.err conftest.$ac_objext \
19257     conftest$ac_exeext conftest.$ac_ext
19258
19259       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19260 $as_echo "$ac_has_clock_monotonic" >&6; }
19261
19262       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19263 $as_echo_n "checking for realtime clock... " >&6; }
19264       if test x$gcc_no_link = xyes; then
19265   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19266 fi
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h.  */
19269 #include <unistd.h>
19270          #include <time.h>
19271
19272 int
19273 main ()
19274 {
19275 #if _POSIX_TIMERS > 0
19276           timespec tp;
19277          #endif
19278           clock_gettime(CLOCK_REALTIME, &tp);
19279
19280   ;
19281   return 0;
19282 }
19283 _ACEOF
19284 if ac_fn_cxx_try_link "$LINENO"; then :
19285   ac_has_clock_realtime=yes
19286 else
19287   ac_has_clock_realtime=no
19288 fi
19289 rm -f core conftest.err conftest.$ac_objext \
19290     conftest$ac_exeext conftest.$ac_ext
19291
19292       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19293 $as_echo "$ac_has_clock_realtime" >&6; }
19294
19295       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19296 $as_echo_n "checking for nanosleep... " >&6; }
19297       if test x$gcc_no_link = xyes; then
19298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19299 fi
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h.  */
19302 #include <unistd.h>
19303          #include <time.h>
19304
19305 int
19306 main ()
19307 {
19308 #if _POSIX_TIMERS > 0
19309           timespec tp;
19310          #endif
19311           nanosleep(&tp, 0);
19312
19313   ;
19314   return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318   ac_has_nanosleep=yes
19319 else
19320   ac_has_nanosleep=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323     conftest$ac_exeext conftest.$ac_ext
19324
19325       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19326 $as_echo "$ac_has_nanosleep" >&6; }
19327     fi
19328   fi
19329
19330   if test x"$ac_has_clock_monotonic" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19333
19334   fi
19335
19336   if test x"$ac_has_clock_realtime" = x"yes"; then
19337
19338 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19339
19340   fi
19341
19342   if test x"$ac_has_nanosleep" = x"yes"; then
19343
19344 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19345
19346   fi
19347
19348
19349
19350   CXXFLAGS="$ac_save_CXXFLAGS"
19351   LIBS="$ac_save_LIBS"
19352   ac_ext=c
19353 ac_cpp='$CPP $CPPFLAGS'
19354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19357
19358
19359
19360 # For gthread support
19361
19362
19363   ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369
19370   ac_save_CXXFLAGS="$CXXFLAGS"
19371   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19372
19373   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19374   case $target_thread_file in
19375     posix)
19376       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19377   esac
19378
19379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19380 $as_echo_n "checking for gthreads library... " >&6; }
19381
19382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h.  */
19384 #include "gthr.h"
19385 int
19386 main ()
19387 {
19388
19389       #ifndef __GTHREADS_CXX0X
19390       #error
19391       #endif
19392
19393       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19394       #if (defined(_PTHREADS) \
19395            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19396       #error
19397       #endif
19398
19399   ;
19400   return 0;
19401 }
19402 _ACEOF
19403 if ac_fn_cxx_try_compile "$LINENO"; then :
19404   ac_has_gthreads=yes
19405 else
19406   ac_has_gthreads=no
19407 fi
19408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409
19410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19411 $as_echo "$ac_has_gthreads" >&6; }
19412
19413   if test x"$ac_has_gthreads" = x"yes"; then
19414
19415 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19416
19417   fi
19418
19419   CXXFLAGS="$ac_save_CXXFLAGS"
19420   ac_ext=c
19421 ac_cpp='$CPP $CPPFLAGS'
19422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19425
19426
19427
19428
19429   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19430 if test "x$ac_cv_header_locale_h" = x""yes; then :
19431
19432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19433 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19434 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19435   $as_echo_n "(cached) " >&6
19436 else
19437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h.  */
19439 #include <locale.h>
19440 int
19441 main ()
19442 {
19443 return LC_MESSAGES
19444   ;
19445   return 0;
19446 }
19447 _ACEOF
19448 if ac_fn_c_try_compile "$LINENO"; then :
19449   ac_cv_val_LC_MESSAGES=yes
19450 else
19451   ac_cv_val_LC_MESSAGES=no
19452 fi
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 fi
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19456 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19457     if test $ac_cv_val_LC_MESSAGES = yes; then
19458
19459 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19460
19461     fi
19462
19463 fi
19464
19465
19466
19467
19468 # Check for available headers.
19469 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19470 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19471 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19472 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19473 wchar.h wctype.h
19474 do :
19475   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19476 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19477 eval as_val=\$$as_ac_Header
19478    if test "x$as_val" = x""yes; then :
19479   cat >>confdefs.h <<_ACEOF
19480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19481 _ACEOF
19482
19483 fi
19484
19485 done
19486
19487
19488 # Only do link tests if native. Else, hardcode.
19489 if $GLIBCXX_IS_NATIVE; then
19490
19491   # We can do more elaborate tests that assume a working linker.
19492   CANADIAN=no
19493
19494
19495
19496 # Check whether --with-gnu-ld was given.
19497 if test "${with_gnu_ld+set}" = set; then :
19498   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19499 else
19500   with_gnu_ld=no
19501 fi
19502
19503 ac_prog=ld
19504 if test "$GCC" = yes; then
19505   # Check if gcc -print-prog-name=ld gives a path.
19506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19507 $as_echo_n "checking for ld used by $CC... " >&6; }
19508   case $host in
19509   *-*-mingw*)
19510     # gcc leaves a trailing carriage return which upsets mingw
19511     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19512   *)
19513     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19514   esac
19515   case $ac_prog in
19516     # Accept absolute paths.
19517     [\\/]* | ?:[\\/]*)
19518       re_direlt='/[^/][^/]*/\.\./'
19519       # Canonicalize the pathname of ld
19520       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19521       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19522         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19523       done
19524       test -z "$LD" && LD="$ac_prog"
19525       ;;
19526   "")
19527     # If it fails, then pretend we aren't using GCC.
19528     ac_prog=ld
19529     ;;
19530   *)
19531     # If it is relative, then search for the first ld in PATH.
19532     with_gnu_ld=unknown
19533     ;;
19534   esac
19535 elif test "$with_gnu_ld" = yes; then
19536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19537 $as_echo_n "checking for GNU ld... " >&6; }
19538 else
19539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19540 $as_echo_n "checking for non-GNU ld... " >&6; }
19541 fi
19542 if test "${lt_cv_path_LD+set}" = set; then :
19543   $as_echo_n "(cached) " >&6
19544 else
19545   if test -z "$LD"; then
19546   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19547   for ac_dir in $PATH; do
19548     IFS="$lt_save_ifs"
19549     test -z "$ac_dir" && ac_dir=.
19550     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19551       lt_cv_path_LD="$ac_dir/$ac_prog"
19552       # Check to see if the program is GNU ld.  I'd rather use --version,
19553       # but apparently some variants of GNU ld only accept -v.
19554       # Break only if it was the GNU/non-GNU ld that we prefer.
19555       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19556       *GNU* | *'with BFD'*)
19557         test "$with_gnu_ld" != no && break
19558         ;;
19559       *)
19560         test "$with_gnu_ld" != yes && break
19561         ;;
19562       esac
19563     fi
19564   done
19565   IFS="$lt_save_ifs"
19566 else
19567   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19568 fi
19569 fi
19570
19571 LD="$lt_cv_path_LD"
19572 if test -n "$LD"; then
19573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19574 $as_echo "$LD" >&6; }
19575 else
19576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19577 $as_echo "no" >&6; }
19578 fi
19579 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19581 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19582 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19583   $as_echo_n "(cached) " >&6
19584 else
19585   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19586 case `$LD -v 2>&1 </dev/null` in
19587 *GNU* | *'with BFD'*)
19588   lt_cv_prog_gnu_ld=yes
19589   ;;
19590 *)
19591   lt_cv_prog_gnu_ld=no
19592   ;;
19593 esac
19594 fi
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19596 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19597 with_gnu_ld=$lt_cv_prog_gnu_ld
19598
19599
19600
19601
19602
19603
19604
19605   # If we're not using GNU ld, then there's no point in even trying these
19606   # tests.  Check for that first.  We should have already tested for gld
19607   # by now (in libtool), but require it now just to be safe...
19608   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19609   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19610
19611
19612
19613   # The name set by libtool depends on the version of libtool.  Shame on us
19614   # for depending on an impl detail, but c'est la vie.  Older versions used
19615   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19616   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19617   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19618   # set (hence we're using an older libtool), then set it.
19619   if test x${with_gnu_ld+set} != xset; then
19620     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19621       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19622       with_gnu_ld=no
19623     else
19624       with_gnu_ld=$ac_cv_prog_gnu_ld
19625     fi
19626   fi
19627
19628   # Start by getting the version number.  I think the libtool test already
19629   # does some of this, but throws away the result.
19630   glibcxx_ld_is_gold=no
19631   if test x"$with_gnu_ld" = x"yes"; then
19632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19633 $as_echo_n "checking for ld version... " >&6; }
19634
19635     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19636       glibcxx_ld_is_gold=yes
19637     fi
19638     ldver=`$LD --version 2>/dev/null |
19639            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
19640
19641     glibcxx_gnu_ld_version=`echo $ldver | \
19642            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19644 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19645   fi
19646
19647   # Set --gc-sections.
19648   glibcxx_have_gc_sections=no
19649   if test "$glibcxx_ld_is_gold" = "yes"; then
19650     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19651       glibcxx_have_gc_sections=yes
19652     fi
19653   else
19654     glibcxx_gcsections_min_ld=21602
19655     if test x"$with_gnu_ld" = x"yes" &&
19656         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19657       glibcxx_have_gc_sections=yes
19658     fi
19659   fi
19660   if test "$glibcxx_have_gc_sections" = "yes"; then
19661     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19662     # NB: This flag only works reliably after 2.16.1. Configure tests
19663     # for this are difficult, so hard wire a value that should work.
19664
19665     ac_test_CFLAGS="${CFLAGS+set}"
19666     ac_save_CFLAGS="$CFLAGS"
19667     CFLAGS='-Wl,--gc-sections'
19668
19669     # Check for -Wl,--gc-sections
19670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19671 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19672     if test x$gcc_no_link = xyes; then
19673   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 fi
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h.  */
19677  int one(void) { return 1; }
19678      int two(void) { return 2; }
19679
19680 int
19681 main ()
19682 {
19683  two();
19684   ;
19685   return 0;
19686 }
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689   ac_gcsections=yes
19690 else
19691   ac_gcsections=no
19692 fi
19693 rm -f core conftest.err conftest.$ac_objext \
19694     conftest$ac_exeext conftest.$ac_ext
19695     if test "$ac_gcsections" = "yes"; then
19696       rm -f conftest.c
19697       touch conftest.c
19698       if $CC -c conftest.c; then
19699         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19700            grep "Warning: gc-sections option ignored" > /dev/null; then
19701           ac_gcsections=no
19702         fi
19703       fi
19704       rm -f conftest.c conftest.o conftest
19705     fi
19706     if test "$ac_gcsections" = "yes"; then
19707       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19708     fi
19709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19710 $as_echo "$ac_gcsections" >&6; }
19711
19712     if test "$ac_test_CFLAGS" = set; then
19713       CFLAGS="$ac_save_CFLAGS"
19714     else
19715       # this is the suspicious part
19716       CFLAGS=''
19717     fi
19718   fi
19719
19720   # Set -z,relro.
19721   # Note this is only for shared objects.
19722   ac_ld_relro=no
19723   if test x"$with_gnu_ld" = x"yes"; then
19724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19725 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19726     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19727     if test -n "$cxx_z_relo"; then
19728       OPT_LDFLAGS="-Wl,-z,relro"
19729       ac_ld_relro=yes
19730     fi
19731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19732 $as_echo "$ac_ld_relro" >&6; }
19733   fi
19734
19735   # Set linker optimization flags.
19736   if test x"$with_gnu_ld" = x"yes"; then
19737     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19738   fi
19739
19740
19741
19742
19743
19744   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19745   ac_save_CXXFLAGS="$CXXFLAGS"
19746   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19747
19748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19749 $as_echo_n "checking for sin in -lm... " >&6; }
19750 if test "${ac_cv_lib_m_sin+set}" = set; then :
19751   $as_echo_n "(cached) " >&6
19752 else
19753   ac_check_lib_save_LIBS=$LIBS
19754 LIBS="-lm  $LIBS"
19755 if test x$gcc_no_link = xyes; then
19756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19757 fi
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h.  */
19760
19761 /* Override any GCC internal prototype to avoid an error.
19762    Use char because int might match the return type of a GCC
19763    builtin and then its argument prototype would still apply.  */
19764 #ifdef __cplusplus
19765 extern "C"
19766 #endif
19767 char sin ();
19768 int
19769 main ()
19770 {
19771 return sin ();
19772   ;
19773   return 0;
19774 }
19775 _ACEOF
19776 if ac_fn_c_try_link "$LINENO"; then :
19777   ac_cv_lib_m_sin=yes
19778 else
19779   ac_cv_lib_m_sin=no
19780 fi
19781 rm -f core conftest.err conftest.$ac_objext \
19782     conftest$ac_exeext conftest.$ac_ext
19783 LIBS=$ac_check_lib_save_LIBS
19784 fi
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19786 $as_echo "$ac_cv_lib_m_sin" >&6; }
19787 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19788   libm="-lm"
19789 fi
19790
19791   ac_save_LIBS="$LIBS"
19792   LIBS="$LIBS $libm"
19793
19794
19795
19796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19797 $as_echo_n "checking for isinf declaration... " >&6; }
19798   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19799     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19800   $as_echo_n "(cached) " >&6
19801 else
19802
19803
19804       ac_ext=cpp
19805 ac_cpp='$CXXCPP $CPPFLAGS'
19806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19809
19810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h.  */
19812 #include <math.h>
19813                       #ifdef HAVE_IEEEFP_H
19814                       #include <ieeefp.h>
19815                       #endif
19816
19817 int
19818 main ()
19819 {
19820  isinf(0);
19821   ;
19822   return 0;
19823 }
19824 _ACEOF
19825 if ac_fn_cxx_try_compile "$LINENO"; then :
19826   glibcxx_cv_func_isinf_use=yes
19827 else
19828   glibcxx_cv_func_isinf_use=no
19829 fi
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831       ac_ext=c
19832 ac_cpp='$CPP $CPPFLAGS'
19833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19836
19837
19838 fi
19839
19840   fi
19841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19842 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19843
19844   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19845     for ac_func in isinf
19846 do :
19847   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19848 if test "x$ac_cv_func_isinf" = x""yes; then :
19849   cat >>confdefs.h <<_ACEOF
19850 #define HAVE_ISINF 1
19851 _ACEOF
19852
19853 fi
19854 done
19855
19856   else
19857
19858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19859 $as_echo_n "checking for _isinf declaration... " >&6; }
19860   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19861     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19862   $as_echo_n "(cached) " >&6
19863 else
19864
19865
19866       ac_ext=cpp
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19871
19872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h.  */
19874 #include <math.h>
19875                       #ifdef HAVE_IEEEFP_H
19876                       #include <ieeefp.h>
19877                       #endif
19878
19879 int
19880 main ()
19881 {
19882  _isinf(0);
19883   ;
19884   return 0;
19885 }
19886 _ACEOF
19887 if ac_fn_cxx_try_compile "$LINENO"; then :
19888   glibcxx_cv_func__isinf_use=yes
19889 else
19890   glibcxx_cv_func__isinf_use=no
19891 fi
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893       ac_ext=c
19894 ac_cpp='$CPP $CPPFLAGS'
19895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19898
19899
19900 fi
19901
19902   fi
19903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19904 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19905
19906     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19907       for ac_func in _isinf
19908 do :
19909   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19910 if test "x$ac_cv_func__isinf" = x""yes; then :
19911   cat >>confdefs.h <<_ACEOF
19912 #define HAVE__ISINF 1
19913 _ACEOF
19914
19915 fi
19916 done
19917
19918     fi
19919   fi
19920
19921
19922
19923
19924
19925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19926 $as_echo_n "checking for isnan declaration... " >&6; }
19927   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19928     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19929   $as_echo_n "(cached) " >&6
19930 else
19931
19932
19933       ac_ext=cpp
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19938
19939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h.  */
19941 #include <math.h>
19942                       #ifdef HAVE_IEEEFP_H
19943                       #include <ieeefp.h>
19944                       #endif
19945
19946 int
19947 main ()
19948 {
19949  isnan(0);
19950   ;
19951   return 0;
19952 }
19953 _ACEOF
19954 if ac_fn_cxx_try_compile "$LINENO"; then :
19955   glibcxx_cv_func_isnan_use=yes
19956 else
19957   glibcxx_cv_func_isnan_use=no
19958 fi
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960       ac_ext=c
19961 ac_cpp='$CPP $CPPFLAGS'
19962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19965
19966
19967 fi
19968
19969   fi
19970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19971 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19972
19973   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19974     for ac_func in isnan
19975 do :
19976   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19977 if test "x$ac_cv_func_isnan" = x""yes; then :
19978   cat >>confdefs.h <<_ACEOF
19979 #define HAVE_ISNAN 1
19980 _ACEOF
19981
19982 fi
19983 done
19984
19985   else
19986
19987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19988 $as_echo_n "checking for _isnan declaration... " >&6; }
19989   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19990     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19991   $as_echo_n "(cached) " >&6
19992 else
19993
19994
19995       ac_ext=cpp
19996 ac_cpp='$CXXCPP $CPPFLAGS'
19997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20000
20001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h.  */
20003 #include <math.h>
20004                       #ifdef HAVE_IEEEFP_H
20005                       #include <ieeefp.h>
20006                       #endif
20007
20008 int
20009 main ()
20010 {
20011  _isnan(0);
20012   ;
20013   return 0;
20014 }
20015 _ACEOF
20016 if ac_fn_cxx_try_compile "$LINENO"; then :
20017   glibcxx_cv_func__isnan_use=yes
20018 else
20019   glibcxx_cv_func__isnan_use=no
20020 fi
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022       ac_ext=c
20023 ac_cpp='$CPP $CPPFLAGS'
20024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20027
20028
20029 fi
20030
20031   fi
20032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20033 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20034
20035     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20036       for ac_func in _isnan
20037 do :
20038   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20039 if test "x$ac_cv_func__isnan" = x""yes; then :
20040   cat >>confdefs.h <<_ACEOF
20041 #define HAVE__ISNAN 1
20042 _ACEOF
20043
20044 fi
20045 done
20046
20047     fi
20048   fi
20049
20050
20051
20052
20053
20054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20055 $as_echo_n "checking for finite declaration... " >&6; }
20056   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20057     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20058   $as_echo_n "(cached) " >&6
20059 else
20060
20061
20062       ac_ext=cpp
20063 ac_cpp='$CXXCPP $CPPFLAGS'
20064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20067
20068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h.  */
20070 #include <math.h>
20071                       #ifdef HAVE_IEEEFP_H
20072                       #include <ieeefp.h>
20073                       #endif
20074
20075 int
20076 main ()
20077 {
20078  finite(0);
20079   ;
20080   return 0;
20081 }
20082 _ACEOF
20083 if ac_fn_cxx_try_compile "$LINENO"; then :
20084   glibcxx_cv_func_finite_use=yes
20085 else
20086   glibcxx_cv_func_finite_use=no
20087 fi
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089       ac_ext=c
20090 ac_cpp='$CPP $CPPFLAGS'
20091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20094
20095
20096 fi
20097
20098   fi
20099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20100 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20101
20102   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20103     for ac_func in finite
20104 do :
20105   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20106 if test "x$ac_cv_func_finite" = x""yes; then :
20107   cat >>confdefs.h <<_ACEOF
20108 #define HAVE_FINITE 1
20109 _ACEOF
20110
20111 fi
20112 done
20113
20114   else
20115
20116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20117 $as_echo_n "checking for _finite declaration... " >&6; }
20118   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20119     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20120   $as_echo_n "(cached) " >&6
20121 else
20122
20123
20124       ac_ext=cpp
20125 ac_cpp='$CXXCPP $CPPFLAGS'
20126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20129
20130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h.  */
20132 #include <math.h>
20133                       #ifdef HAVE_IEEEFP_H
20134                       #include <ieeefp.h>
20135                       #endif
20136
20137 int
20138 main ()
20139 {
20140  _finite(0);
20141   ;
20142   return 0;
20143 }
20144 _ACEOF
20145 if ac_fn_cxx_try_compile "$LINENO"; then :
20146   glibcxx_cv_func__finite_use=yes
20147 else
20148   glibcxx_cv_func__finite_use=no
20149 fi
20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20151       ac_ext=c
20152 ac_cpp='$CPP $CPPFLAGS'
20153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20156
20157
20158 fi
20159
20160   fi
20161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20162 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20163
20164     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20165       for ac_func in _finite
20166 do :
20167   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20168 if test "x$ac_cv_func__finite" = x""yes; then :
20169   cat >>confdefs.h <<_ACEOF
20170 #define HAVE__FINITE 1
20171 _ACEOF
20172
20173 fi
20174 done
20175
20176     fi
20177   fi
20178
20179
20180
20181
20182
20183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20184 $as_echo_n "checking for sincos declaration... " >&6; }
20185   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20186     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20187   $as_echo_n "(cached) " >&6
20188 else
20189
20190
20191       ac_ext=cpp
20192 ac_cpp='$CXXCPP $CPPFLAGS'
20193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20196
20197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h.  */
20199 #include <math.h>
20200 int
20201 main ()
20202 {
20203  sincos(0, 0, 0);
20204   ;
20205   return 0;
20206 }
20207 _ACEOF
20208 if ac_fn_cxx_try_compile "$LINENO"; then :
20209   glibcxx_cv_func_sincos_use=yes
20210 else
20211   glibcxx_cv_func_sincos_use=no
20212 fi
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214       ac_ext=c
20215 ac_cpp='$CPP $CPPFLAGS'
20216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20219
20220
20221 fi
20222
20223   fi
20224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20225 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20226
20227   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20228     for ac_func in sincos
20229 do :
20230   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20231 if test "x$ac_cv_func_sincos" = x""yes; then :
20232   cat >>confdefs.h <<_ACEOF
20233 #define HAVE_SINCOS 1
20234 _ACEOF
20235
20236 fi
20237 done
20238
20239   else
20240
20241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20242 $as_echo_n "checking for _sincos declaration... " >&6; }
20243   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20244     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20245   $as_echo_n "(cached) " >&6
20246 else
20247
20248
20249       ac_ext=cpp
20250 ac_cpp='$CXXCPP $CPPFLAGS'
20251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20254
20255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h.  */
20257 #include <math.h>
20258 int
20259 main ()
20260 {
20261  _sincos(0, 0, 0);
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 if ac_fn_cxx_try_compile "$LINENO"; then :
20267   glibcxx_cv_func__sincos_use=yes
20268 else
20269   glibcxx_cv_func__sincos_use=no
20270 fi
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272       ac_ext=c
20273 ac_cpp='$CPP $CPPFLAGS'
20274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20277
20278
20279 fi
20280
20281   fi
20282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20283 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20284
20285     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20286       for ac_func in _sincos
20287 do :
20288   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20289 if test "x$ac_cv_func__sincos" = x""yes; then :
20290   cat >>confdefs.h <<_ACEOF
20291 #define HAVE__SINCOS 1
20292 _ACEOF
20293
20294 fi
20295 done
20296
20297     fi
20298   fi
20299
20300
20301
20302
20303
20304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20305 $as_echo_n "checking for fpclass declaration... " >&6; }
20306   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20307     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20308   $as_echo_n "(cached) " >&6
20309 else
20310
20311
20312       ac_ext=cpp
20313 ac_cpp='$CXXCPP $CPPFLAGS'
20314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20317
20318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h.  */
20320 #include <math.h>
20321                       #ifdef HAVE_IEEEFP_H
20322                       #include <ieeefp.h>
20323                       #endif
20324
20325 int
20326 main ()
20327 {
20328  fpclass(0);
20329   ;
20330   return 0;
20331 }
20332 _ACEOF
20333 if ac_fn_cxx_try_compile "$LINENO"; then :
20334   glibcxx_cv_func_fpclass_use=yes
20335 else
20336   glibcxx_cv_func_fpclass_use=no
20337 fi
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339       ac_ext=c
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20344
20345
20346 fi
20347
20348   fi
20349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20350 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20351
20352   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20353     for ac_func in fpclass
20354 do :
20355   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20356 if test "x$ac_cv_func_fpclass" = x""yes; then :
20357   cat >>confdefs.h <<_ACEOF
20358 #define HAVE_FPCLASS 1
20359 _ACEOF
20360
20361 fi
20362 done
20363
20364   else
20365
20366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20367 $as_echo_n "checking for _fpclass declaration... " >&6; }
20368   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20369     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20370   $as_echo_n "(cached) " >&6
20371 else
20372
20373
20374       ac_ext=cpp
20375 ac_cpp='$CXXCPP $CPPFLAGS'
20376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20379
20380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20381 /* end confdefs.h.  */
20382 #include <math.h>
20383                       #ifdef HAVE_IEEEFP_H
20384                       #include <ieeefp.h>
20385                       #endif
20386
20387 int
20388 main ()
20389 {
20390  _fpclass(0);
20391   ;
20392   return 0;
20393 }
20394 _ACEOF
20395 if ac_fn_cxx_try_compile "$LINENO"; then :
20396   glibcxx_cv_func__fpclass_use=yes
20397 else
20398   glibcxx_cv_func__fpclass_use=no
20399 fi
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401       ac_ext=c
20402 ac_cpp='$CPP $CPPFLAGS'
20403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20406
20407
20408 fi
20409
20410   fi
20411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20412 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20413
20414     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20415       for ac_func in _fpclass
20416 do :
20417   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20418 if test "x$ac_cv_func__fpclass" = x""yes; then :
20419   cat >>confdefs.h <<_ACEOF
20420 #define HAVE__FPCLASS 1
20421 _ACEOF
20422
20423 fi
20424 done
20425
20426     fi
20427   fi
20428
20429
20430
20431
20432
20433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20434 $as_echo_n "checking for qfpclass declaration... " >&6; }
20435   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20436     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20437   $as_echo_n "(cached) " >&6
20438 else
20439
20440
20441       ac_ext=cpp
20442 ac_cpp='$CXXCPP $CPPFLAGS'
20443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20446
20447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h.  */
20449 #include <math.h>
20450                       #ifdef HAVE_IEEEFP_H
20451                       #include <ieeefp.h>
20452                       #endif
20453
20454 int
20455 main ()
20456 {
20457  qfpclass(0);
20458   ;
20459   return 0;
20460 }
20461 _ACEOF
20462 if ac_fn_cxx_try_compile "$LINENO"; then :
20463   glibcxx_cv_func_qfpclass_use=yes
20464 else
20465   glibcxx_cv_func_qfpclass_use=no
20466 fi
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468       ac_ext=c
20469 ac_cpp='$CPP $CPPFLAGS'
20470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20473
20474
20475 fi
20476
20477   fi
20478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20479 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20480
20481   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20482     for ac_func in qfpclass
20483 do :
20484   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20485 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20486   cat >>confdefs.h <<_ACEOF
20487 #define HAVE_QFPCLASS 1
20488 _ACEOF
20489
20490 fi
20491 done
20492
20493   else
20494
20495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20496 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20497   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20498     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20499   $as_echo_n "(cached) " >&6
20500 else
20501
20502
20503       ac_ext=cpp
20504 ac_cpp='$CXXCPP $CPPFLAGS'
20505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20508
20509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20510 /* end confdefs.h.  */
20511 #include <math.h>
20512                       #ifdef HAVE_IEEEFP_H
20513                       #include <ieeefp.h>
20514                       #endif
20515
20516 int
20517 main ()
20518 {
20519  _qfpclass(0);
20520   ;
20521   return 0;
20522 }
20523 _ACEOF
20524 if ac_fn_cxx_try_compile "$LINENO"; then :
20525   glibcxx_cv_func__qfpclass_use=yes
20526 else
20527   glibcxx_cv_func__qfpclass_use=no
20528 fi
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530       ac_ext=c
20531 ac_cpp='$CPP $CPPFLAGS'
20532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20535
20536
20537 fi
20538
20539   fi
20540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20541 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20542
20543     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20544       for ac_func in _qfpclass
20545 do :
20546   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20547 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20548   cat >>confdefs.h <<_ACEOF
20549 #define HAVE__QFPCLASS 1
20550 _ACEOF
20551
20552 fi
20553 done
20554
20555     fi
20556   fi
20557
20558
20559
20560
20561
20562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20563 $as_echo_n "checking for hypot declaration... " >&6; }
20564   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20565     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20566   $as_echo_n "(cached) " >&6
20567 else
20568
20569
20570       ac_ext=cpp
20571 ac_cpp='$CXXCPP $CPPFLAGS'
20572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20575
20576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h.  */
20578 #include <math.h>
20579 int
20580 main ()
20581 {
20582  hypot(0, 0);
20583   ;
20584   return 0;
20585 }
20586 _ACEOF
20587 if ac_fn_cxx_try_compile "$LINENO"; then :
20588   glibcxx_cv_func_hypot_use=yes
20589 else
20590   glibcxx_cv_func_hypot_use=no
20591 fi
20592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20593       ac_ext=c
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20598
20599
20600 fi
20601
20602   fi
20603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20604 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20605
20606   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20607     for ac_func in hypot
20608 do :
20609   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20610 if test "x$ac_cv_func_hypot" = x""yes; then :
20611   cat >>confdefs.h <<_ACEOF
20612 #define HAVE_HYPOT 1
20613 _ACEOF
20614
20615 fi
20616 done
20617
20618   else
20619
20620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20621 $as_echo_n "checking for _hypot declaration... " >&6; }
20622   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20623     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20624   $as_echo_n "(cached) " >&6
20625 else
20626
20627
20628       ac_ext=cpp
20629 ac_cpp='$CXXCPP $CPPFLAGS'
20630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20633
20634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h.  */
20636 #include <math.h>
20637 int
20638 main ()
20639 {
20640  _hypot(0, 0);
20641   ;
20642   return 0;
20643 }
20644 _ACEOF
20645 if ac_fn_cxx_try_compile "$LINENO"; then :
20646   glibcxx_cv_func__hypot_use=yes
20647 else
20648   glibcxx_cv_func__hypot_use=no
20649 fi
20650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651       ac_ext=c
20652 ac_cpp='$CPP $CPPFLAGS'
20653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20656
20657
20658 fi
20659
20660   fi
20661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20662 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20663
20664     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20665       for ac_func in _hypot
20666 do :
20667   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20668 if test "x$ac_cv_func__hypot" = x""yes; then :
20669   cat >>confdefs.h <<_ACEOF
20670 #define HAVE__HYPOT 1
20671 _ACEOF
20672
20673 fi
20674 done
20675
20676     fi
20677   fi
20678
20679
20680
20681
20682
20683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20684 $as_echo_n "checking for float trig functions... " >&6; }
20685   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20686   $as_echo_n "(cached) " >&6
20687 else
20688
20689
20690     ac_ext=cpp
20691 ac_cpp='$CXXCPP $CPPFLAGS'
20692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20695
20696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h.  */
20698 #include <math.h>
20699 int
20700 main ()
20701 {
20702 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20703   ;
20704   return 0;
20705 }
20706 _ACEOF
20707 if ac_fn_cxx_try_compile "$LINENO"; then :
20708   glibcxx_cv_func_float_trig_use=yes
20709 else
20710   glibcxx_cv_func_float_trig_use=no
20711 fi
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713     ac_ext=c
20714 ac_cpp='$CPP $CPPFLAGS'
20715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20718
20719 fi
20720
20721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20722 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20723   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20724     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20725 do :
20726   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20728 eval as_val=\$$as_ac_var
20729    if test "x$as_val" = x""yes; then :
20730   cat >>confdefs.h <<_ACEOF
20731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20732 _ACEOF
20733
20734 fi
20735 done
20736
20737   else
20738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20739 $as_echo_n "checking for _float trig functions... " >&6; }
20740     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20741   $as_echo_n "(cached) " >&6
20742 else
20743
20744
20745       ac_ext=cpp
20746 ac_cpp='$CXXCPP $CPPFLAGS'
20747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20750
20751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h.  */
20753 #include <math.h>
20754 int
20755 main ()
20756 {
20757 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763   glibcxx_cv_func__float_trig_use=yes
20764 else
20765   glibcxx_cv_func__float_trig_use=no
20766 fi
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768       ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20773
20774 fi
20775
20776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20777 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20778     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20779       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20780 do :
20781   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20783 eval as_val=\$$as_ac_var
20784    if test "x$as_val" = x""yes; then :
20785   cat >>confdefs.h <<_ACEOF
20786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20787 _ACEOF
20788
20789 fi
20790 done
20791
20792     fi
20793   fi
20794
20795
20796
20797
20798
20799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20800 $as_echo_n "checking for float round functions... " >&6; }
20801   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20802   $as_echo_n "(cached) " >&6
20803 else
20804
20805
20806     ac_ext=cpp
20807 ac_cpp='$CXXCPP $CPPFLAGS'
20808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20811
20812     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h.  */
20814 #include <math.h>
20815 int
20816 main ()
20817 {
20818 ceilf (0); floorf (0);
20819   ;
20820   return 0;
20821 }
20822 _ACEOF
20823 if ac_fn_cxx_try_compile "$LINENO"; then :
20824   glibcxx_cv_func_float_round_use=yes
20825 else
20826   glibcxx_cv_func_float_round_use=no
20827 fi
20828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829     ac_ext=c
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20834
20835 fi
20836
20837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20838 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20839   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20840     for ac_func in ceilf floorf
20841 do :
20842   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20844 eval as_val=\$$as_ac_var
20845    if test "x$as_val" = x""yes; then :
20846   cat >>confdefs.h <<_ACEOF
20847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20848 _ACEOF
20849
20850 fi
20851 done
20852
20853   else
20854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20855 $as_echo_n "checking for _float round functions... " >&6; }
20856     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20857   $as_echo_n "(cached) " >&6
20858 else
20859
20860
20861       ac_ext=cpp
20862 ac_cpp='$CXXCPP $CPPFLAGS'
20863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20866
20867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h.  */
20869 #include <math.h>
20870 int
20871 main ()
20872 {
20873 _ceilf (0); _floorf (0);
20874   ;
20875   return 0;
20876 }
20877 _ACEOF
20878 if ac_fn_cxx_try_compile "$LINENO"; then :
20879   glibcxx_cv_func__float_round_use=yes
20880 else
20881   glibcxx_cv_func__float_round_use=no
20882 fi
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884       ac_ext=c
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20889
20890 fi
20891
20892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20893 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20894     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20895       for ac_func in _ceilf _floorf
20896 do :
20897   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20899 eval as_val=\$$as_ac_var
20900    if test "x$as_val" = x""yes; then :
20901   cat >>confdefs.h <<_ACEOF
20902 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20903 _ACEOF
20904
20905 fi
20906 done
20907
20908     fi
20909   fi
20910
20911
20912
20913
20914
20915
20916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20917 $as_echo_n "checking for expf declaration... " >&6; }
20918   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20919     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20920   $as_echo_n "(cached) " >&6
20921 else
20922
20923
20924       ac_ext=cpp
20925 ac_cpp='$CXXCPP $CPPFLAGS'
20926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20929
20930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h.  */
20932 #include <math.h>
20933                       #ifdef HAVE_IEEEFP_H
20934                       #include <ieeefp.h>
20935                       #endif
20936
20937 int
20938 main ()
20939 {
20940  expf(0);
20941   ;
20942   return 0;
20943 }
20944 _ACEOF
20945 if ac_fn_cxx_try_compile "$LINENO"; then :
20946   glibcxx_cv_func_expf_use=yes
20947 else
20948   glibcxx_cv_func_expf_use=no
20949 fi
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951       ac_ext=c
20952 ac_cpp='$CPP $CPPFLAGS'
20953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20956
20957
20958 fi
20959
20960   fi
20961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20962 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20963
20964   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20965     for ac_func in expf
20966 do :
20967   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20968 if test "x$ac_cv_func_expf" = x""yes; then :
20969   cat >>confdefs.h <<_ACEOF
20970 #define HAVE_EXPF 1
20971 _ACEOF
20972
20973 fi
20974 done
20975
20976   else
20977
20978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20979 $as_echo_n "checking for _expf declaration... " >&6; }
20980   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20981     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20982   $as_echo_n "(cached) " >&6
20983 else
20984
20985
20986       ac_ext=cpp
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h.  */
20994 #include <math.h>
20995                       #ifdef HAVE_IEEEFP_H
20996                       #include <ieeefp.h>
20997                       #endif
20998
20999 int
21000 main ()
21001 {
21002  _expf(0);
21003   ;
21004   return 0;
21005 }
21006 _ACEOF
21007 if ac_fn_cxx_try_compile "$LINENO"; then :
21008   glibcxx_cv_func__expf_use=yes
21009 else
21010   glibcxx_cv_func__expf_use=no
21011 fi
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013       ac_ext=c
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018
21019
21020 fi
21021
21022   fi
21023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21024 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21025
21026     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21027       for ac_func in _expf
21028 do :
21029   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21030 if test "x$ac_cv_func__expf" = x""yes; then :
21031   cat >>confdefs.h <<_ACEOF
21032 #define HAVE__EXPF 1
21033 _ACEOF
21034
21035 fi
21036 done
21037
21038     fi
21039   fi
21040
21041
21042
21043
21044
21045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21046 $as_echo_n "checking for isnanf declaration... " >&6; }
21047   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21048     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21049   $as_echo_n "(cached) " >&6
21050 else
21051
21052
21053       ac_ext=cpp
21054 ac_cpp='$CXXCPP $CPPFLAGS'
21055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21058
21059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h.  */
21061 #include <math.h>
21062                       #ifdef HAVE_IEEEFP_H
21063                       #include <ieeefp.h>
21064                       #endif
21065
21066 int
21067 main ()
21068 {
21069  isnanf(0);
21070   ;
21071   return 0;
21072 }
21073 _ACEOF
21074 if ac_fn_cxx_try_compile "$LINENO"; then :
21075   glibcxx_cv_func_isnanf_use=yes
21076 else
21077   glibcxx_cv_func_isnanf_use=no
21078 fi
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080       ac_ext=c
21081 ac_cpp='$CPP $CPPFLAGS'
21082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21085
21086
21087 fi
21088
21089   fi
21090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21091 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21092
21093   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21094     for ac_func in isnanf
21095 do :
21096   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21097 if test "x$ac_cv_func_isnanf" = x""yes; then :
21098   cat >>confdefs.h <<_ACEOF
21099 #define HAVE_ISNANF 1
21100 _ACEOF
21101
21102 fi
21103 done
21104
21105   else
21106
21107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21108 $as_echo_n "checking for _isnanf declaration... " >&6; }
21109   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21110     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21111   $as_echo_n "(cached) " >&6
21112 else
21113
21114
21115       ac_ext=cpp
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120
21121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h.  */
21123 #include <math.h>
21124                       #ifdef HAVE_IEEEFP_H
21125                       #include <ieeefp.h>
21126                       #endif
21127
21128 int
21129 main ()
21130 {
21131  _isnanf(0);
21132   ;
21133   return 0;
21134 }
21135 _ACEOF
21136 if ac_fn_cxx_try_compile "$LINENO"; then :
21137   glibcxx_cv_func__isnanf_use=yes
21138 else
21139   glibcxx_cv_func__isnanf_use=no
21140 fi
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142       ac_ext=c
21143 ac_cpp='$CPP $CPPFLAGS'
21144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21147
21148
21149 fi
21150
21151   fi
21152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21153 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21154
21155     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21156       for ac_func in _isnanf
21157 do :
21158   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21159 if test "x$ac_cv_func__isnanf" = x""yes; then :
21160   cat >>confdefs.h <<_ACEOF
21161 #define HAVE__ISNANF 1
21162 _ACEOF
21163
21164 fi
21165 done
21166
21167     fi
21168   fi
21169
21170
21171
21172
21173
21174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21175 $as_echo_n "checking for isinff declaration... " >&6; }
21176   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21177     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21178   $as_echo_n "(cached) " >&6
21179 else
21180
21181
21182       ac_ext=cpp
21183 ac_cpp='$CXXCPP $CPPFLAGS'
21184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21187
21188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h.  */
21190 #include <math.h>
21191                       #ifdef HAVE_IEEEFP_H
21192                       #include <ieeefp.h>
21193                       #endif
21194
21195 int
21196 main ()
21197 {
21198  isinff(0);
21199   ;
21200   return 0;
21201 }
21202 _ACEOF
21203 if ac_fn_cxx_try_compile "$LINENO"; then :
21204   glibcxx_cv_func_isinff_use=yes
21205 else
21206   glibcxx_cv_func_isinff_use=no
21207 fi
21208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209       ac_ext=c
21210 ac_cpp='$CPP $CPPFLAGS'
21211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21214
21215
21216 fi
21217
21218   fi
21219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21220 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21221
21222   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21223     for ac_func in isinff
21224 do :
21225   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21226 if test "x$ac_cv_func_isinff" = x""yes; then :
21227   cat >>confdefs.h <<_ACEOF
21228 #define HAVE_ISINFF 1
21229 _ACEOF
21230
21231 fi
21232 done
21233
21234   else
21235
21236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21237 $as_echo_n "checking for _isinff declaration... " >&6; }
21238   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21239     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21240   $as_echo_n "(cached) " >&6
21241 else
21242
21243
21244       ac_ext=cpp
21245 ac_cpp='$CXXCPP $CPPFLAGS'
21246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21249
21250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h.  */
21252 #include <math.h>
21253                       #ifdef HAVE_IEEEFP_H
21254                       #include <ieeefp.h>
21255                       #endif
21256
21257 int
21258 main ()
21259 {
21260  _isinff(0);
21261   ;
21262   return 0;
21263 }
21264 _ACEOF
21265 if ac_fn_cxx_try_compile "$LINENO"; then :
21266   glibcxx_cv_func__isinff_use=yes
21267 else
21268   glibcxx_cv_func__isinff_use=no
21269 fi
21270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21271       ac_ext=c
21272 ac_cpp='$CPP $CPPFLAGS'
21273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276
21277
21278 fi
21279
21280   fi
21281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21282 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21283
21284     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21285       for ac_func in _isinff
21286 do :
21287   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21288 if test "x$ac_cv_func__isinff" = x""yes; then :
21289   cat >>confdefs.h <<_ACEOF
21290 #define HAVE__ISINFF 1
21291 _ACEOF
21292
21293 fi
21294 done
21295
21296     fi
21297   fi
21298
21299
21300
21301
21302
21303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21304 $as_echo_n "checking for atan2f declaration... " >&6; }
21305   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21306     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21307   $as_echo_n "(cached) " >&6
21308 else
21309
21310
21311       ac_ext=cpp
21312 ac_cpp='$CXXCPP $CPPFLAGS'
21313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21316
21317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h.  */
21319 #include <math.h>
21320 int
21321 main ()
21322 {
21323  atan2f(0, 0);
21324   ;
21325   return 0;
21326 }
21327 _ACEOF
21328 if ac_fn_cxx_try_compile "$LINENO"; then :
21329   glibcxx_cv_func_atan2f_use=yes
21330 else
21331   glibcxx_cv_func_atan2f_use=no
21332 fi
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334       ac_ext=c
21335 ac_cpp='$CPP $CPPFLAGS'
21336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21339
21340
21341 fi
21342
21343   fi
21344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21345 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21346
21347   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21348     for ac_func in atan2f
21349 do :
21350   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21351 if test "x$ac_cv_func_atan2f" = x""yes; then :
21352   cat >>confdefs.h <<_ACEOF
21353 #define HAVE_ATAN2F 1
21354 _ACEOF
21355
21356 fi
21357 done
21358
21359   else
21360
21361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21362 $as_echo_n "checking for _atan2f declaration... " >&6; }
21363   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21364     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21365   $as_echo_n "(cached) " >&6
21366 else
21367
21368
21369       ac_ext=cpp
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21374
21375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21376 /* end confdefs.h.  */
21377 #include <math.h>
21378 int
21379 main ()
21380 {
21381  _atan2f(0, 0);
21382   ;
21383   return 0;
21384 }
21385 _ACEOF
21386 if ac_fn_cxx_try_compile "$LINENO"; then :
21387   glibcxx_cv_func__atan2f_use=yes
21388 else
21389   glibcxx_cv_func__atan2f_use=no
21390 fi
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392       ac_ext=c
21393 ac_cpp='$CPP $CPPFLAGS'
21394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21397
21398
21399 fi
21400
21401   fi
21402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21403 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21404
21405     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21406       for ac_func in _atan2f
21407 do :
21408   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21409 if test "x$ac_cv_func__atan2f" = x""yes; then :
21410   cat >>confdefs.h <<_ACEOF
21411 #define HAVE__ATAN2F 1
21412 _ACEOF
21413
21414 fi
21415 done
21416
21417     fi
21418   fi
21419
21420
21421
21422
21423
21424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21425 $as_echo_n "checking for fabsf declaration... " >&6; }
21426   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21427     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21428   $as_echo_n "(cached) " >&6
21429 else
21430
21431
21432       ac_ext=cpp
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21437
21438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21439 /* end confdefs.h.  */
21440 #include <math.h>
21441                       #ifdef HAVE_IEEEFP_H
21442                       #include <ieeefp.h>
21443                       #endif
21444
21445 int
21446 main ()
21447 {
21448  fabsf(0);
21449   ;
21450   return 0;
21451 }
21452 _ACEOF
21453 if ac_fn_cxx_try_compile "$LINENO"; then :
21454   glibcxx_cv_func_fabsf_use=yes
21455 else
21456   glibcxx_cv_func_fabsf_use=no
21457 fi
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459       ac_ext=c
21460 ac_cpp='$CPP $CPPFLAGS'
21461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21464
21465
21466 fi
21467
21468   fi
21469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21470 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21471
21472   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21473     for ac_func in fabsf
21474 do :
21475   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21476 if test "x$ac_cv_func_fabsf" = x""yes; then :
21477   cat >>confdefs.h <<_ACEOF
21478 #define HAVE_FABSF 1
21479 _ACEOF
21480
21481 fi
21482 done
21483
21484   else
21485
21486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21487 $as_echo_n "checking for _fabsf declaration... " >&6; }
21488   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21489     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21490   $as_echo_n "(cached) " >&6
21491 else
21492
21493
21494       ac_ext=cpp
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21499
21500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21501 /* end confdefs.h.  */
21502 #include <math.h>
21503                       #ifdef HAVE_IEEEFP_H
21504                       #include <ieeefp.h>
21505                       #endif
21506
21507 int
21508 main ()
21509 {
21510  _fabsf(0);
21511   ;
21512   return 0;
21513 }
21514 _ACEOF
21515 if ac_fn_cxx_try_compile "$LINENO"; then :
21516   glibcxx_cv_func__fabsf_use=yes
21517 else
21518   glibcxx_cv_func__fabsf_use=no
21519 fi
21520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21521       ac_ext=c
21522 ac_cpp='$CPP $CPPFLAGS'
21523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21526
21527
21528 fi
21529
21530   fi
21531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21532 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21533
21534     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21535       for ac_func in _fabsf
21536 do :
21537   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21538 if test "x$ac_cv_func__fabsf" = x""yes; then :
21539   cat >>confdefs.h <<_ACEOF
21540 #define HAVE__FABSF 1
21541 _ACEOF
21542
21543 fi
21544 done
21545
21546     fi
21547   fi
21548
21549
21550
21551
21552
21553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21554 $as_echo_n "checking for fmodf declaration... " >&6; }
21555   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21556     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21557   $as_echo_n "(cached) " >&6
21558 else
21559
21560
21561       ac_ext=cpp
21562 ac_cpp='$CXXCPP $CPPFLAGS'
21563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21566
21567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h.  */
21569 #include <math.h>
21570 int
21571 main ()
21572 {
21573  fmodf(0, 0);
21574   ;
21575   return 0;
21576 }
21577 _ACEOF
21578 if ac_fn_cxx_try_compile "$LINENO"; then :
21579   glibcxx_cv_func_fmodf_use=yes
21580 else
21581   glibcxx_cv_func_fmodf_use=no
21582 fi
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584       ac_ext=c
21585 ac_cpp='$CPP $CPPFLAGS'
21586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21589
21590
21591 fi
21592
21593   fi
21594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21595 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21596
21597   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21598     for ac_func in fmodf
21599 do :
21600   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21601 if test "x$ac_cv_func_fmodf" = x""yes; then :
21602   cat >>confdefs.h <<_ACEOF
21603 #define HAVE_FMODF 1
21604 _ACEOF
21605
21606 fi
21607 done
21608
21609   else
21610
21611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21612 $as_echo_n "checking for _fmodf declaration... " >&6; }
21613   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21614     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21615   $as_echo_n "(cached) " >&6
21616 else
21617
21618
21619       ac_ext=cpp
21620 ac_cpp='$CXXCPP $CPPFLAGS'
21621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21624
21625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h.  */
21627 #include <math.h>
21628 int
21629 main ()
21630 {
21631  _fmodf(0, 0);
21632   ;
21633   return 0;
21634 }
21635 _ACEOF
21636 if ac_fn_cxx_try_compile "$LINENO"; then :
21637   glibcxx_cv_func__fmodf_use=yes
21638 else
21639   glibcxx_cv_func__fmodf_use=no
21640 fi
21641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642       ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647
21648
21649 fi
21650
21651   fi
21652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21653 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21654
21655     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21656       for ac_func in _fmodf
21657 do :
21658   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21659 if test "x$ac_cv_func__fmodf" = x""yes; then :
21660   cat >>confdefs.h <<_ACEOF
21661 #define HAVE__FMODF 1
21662 _ACEOF
21663
21664 fi
21665 done
21666
21667     fi
21668   fi
21669
21670
21671
21672
21673
21674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21675 $as_echo_n "checking for frexpf declaration... " >&6; }
21676   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21677     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21678   $as_echo_n "(cached) " >&6
21679 else
21680
21681
21682       ac_ext=cpp
21683 ac_cpp='$CXXCPP $CPPFLAGS'
21684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21687
21688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h.  */
21690 #include <math.h>
21691 int
21692 main ()
21693 {
21694  frexpf(0, 0);
21695   ;
21696   return 0;
21697 }
21698 _ACEOF
21699 if ac_fn_cxx_try_compile "$LINENO"; then :
21700   glibcxx_cv_func_frexpf_use=yes
21701 else
21702   glibcxx_cv_func_frexpf_use=no
21703 fi
21704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705       ac_ext=c
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21710
21711
21712 fi
21713
21714   fi
21715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21716 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21717
21718   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21719     for ac_func in frexpf
21720 do :
21721   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21722 if test "x$ac_cv_func_frexpf" = x""yes; then :
21723   cat >>confdefs.h <<_ACEOF
21724 #define HAVE_FREXPF 1
21725 _ACEOF
21726
21727 fi
21728 done
21729
21730   else
21731
21732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21733 $as_echo_n "checking for _frexpf declaration... " >&6; }
21734   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21735     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21736   $as_echo_n "(cached) " >&6
21737 else
21738
21739
21740       ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745
21746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h.  */
21748 #include <math.h>
21749 int
21750 main ()
21751 {
21752  _frexpf(0, 0);
21753   ;
21754   return 0;
21755 }
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758   glibcxx_cv_func__frexpf_use=yes
21759 else
21760   glibcxx_cv_func__frexpf_use=no
21761 fi
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763       ac_ext=c
21764 ac_cpp='$CPP $CPPFLAGS'
21765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21768
21769
21770 fi
21771
21772   fi
21773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21774 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21775
21776     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21777       for ac_func in _frexpf
21778 do :
21779   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21780 if test "x$ac_cv_func__frexpf" = x""yes; then :
21781   cat >>confdefs.h <<_ACEOF
21782 #define HAVE__FREXPF 1
21783 _ACEOF
21784
21785 fi
21786 done
21787
21788     fi
21789   fi
21790
21791
21792
21793
21794
21795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21796 $as_echo_n "checking for hypotf declaration... " >&6; }
21797   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21798     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21799   $as_echo_n "(cached) " >&6
21800 else
21801
21802
21803       ac_ext=cpp
21804 ac_cpp='$CXXCPP $CPPFLAGS'
21805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21808
21809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h.  */
21811 #include <math.h>
21812 int
21813 main ()
21814 {
21815  hypotf(0, 0);
21816   ;
21817   return 0;
21818 }
21819 _ACEOF
21820 if ac_fn_cxx_try_compile "$LINENO"; then :
21821   glibcxx_cv_func_hypotf_use=yes
21822 else
21823   glibcxx_cv_func_hypotf_use=no
21824 fi
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826       ac_ext=c
21827 ac_cpp='$CPP $CPPFLAGS'
21828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21831
21832
21833 fi
21834
21835   fi
21836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21837 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21838
21839   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21840     for ac_func in hypotf
21841 do :
21842   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21843 if test "x$ac_cv_func_hypotf" = x""yes; then :
21844   cat >>confdefs.h <<_ACEOF
21845 #define HAVE_HYPOTF 1
21846 _ACEOF
21847
21848 fi
21849 done
21850
21851   else
21852
21853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21854 $as_echo_n "checking for _hypotf declaration... " >&6; }
21855   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21856     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21857   $as_echo_n "(cached) " >&6
21858 else
21859
21860
21861       ac_ext=cpp
21862 ac_cpp='$CXXCPP $CPPFLAGS'
21863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21866
21867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21868 /* end confdefs.h.  */
21869 #include <math.h>
21870 int
21871 main ()
21872 {
21873  _hypotf(0, 0);
21874   ;
21875   return 0;
21876 }
21877 _ACEOF
21878 if ac_fn_cxx_try_compile "$LINENO"; then :
21879   glibcxx_cv_func__hypotf_use=yes
21880 else
21881   glibcxx_cv_func__hypotf_use=no
21882 fi
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884       ac_ext=c
21885 ac_cpp='$CPP $CPPFLAGS'
21886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21889
21890
21891 fi
21892
21893   fi
21894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21895 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21896
21897     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21898       for ac_func in _hypotf
21899 do :
21900   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21901 if test "x$ac_cv_func__hypotf" = x""yes; then :
21902   cat >>confdefs.h <<_ACEOF
21903 #define HAVE__HYPOTF 1
21904 _ACEOF
21905
21906 fi
21907 done
21908
21909     fi
21910   fi
21911
21912
21913
21914
21915
21916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21917 $as_echo_n "checking for ldexpf declaration... " >&6; }
21918   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21919     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21920   $as_echo_n "(cached) " >&6
21921 else
21922
21923
21924       ac_ext=cpp
21925 ac_cpp='$CXXCPP $CPPFLAGS'
21926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21929
21930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h.  */
21932 #include <math.h>
21933 int
21934 main ()
21935 {
21936  ldexpf(0, 0);
21937   ;
21938   return 0;
21939 }
21940 _ACEOF
21941 if ac_fn_cxx_try_compile "$LINENO"; then :
21942   glibcxx_cv_func_ldexpf_use=yes
21943 else
21944   glibcxx_cv_func_ldexpf_use=no
21945 fi
21946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947       ac_ext=c
21948 ac_cpp='$CPP $CPPFLAGS'
21949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21952
21953
21954 fi
21955
21956   fi
21957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21958 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21959
21960   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21961     for ac_func in ldexpf
21962 do :
21963   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21964 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21965   cat >>confdefs.h <<_ACEOF
21966 #define HAVE_LDEXPF 1
21967 _ACEOF
21968
21969 fi
21970 done
21971
21972   else
21973
21974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21975 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21976   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21977     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21978   $as_echo_n "(cached) " >&6
21979 else
21980
21981
21982       ac_ext=cpp
21983 ac_cpp='$CXXCPP $CPPFLAGS'
21984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21987
21988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h.  */
21990 #include <math.h>
21991 int
21992 main ()
21993 {
21994  _ldexpf(0, 0);
21995   ;
21996   return 0;
21997 }
21998 _ACEOF
21999 if ac_fn_cxx_try_compile "$LINENO"; then :
22000   glibcxx_cv_func__ldexpf_use=yes
22001 else
22002   glibcxx_cv_func__ldexpf_use=no
22003 fi
22004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005       ac_ext=c
22006 ac_cpp='$CPP $CPPFLAGS'
22007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22010
22011
22012 fi
22013
22014   fi
22015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22016 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22017
22018     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22019       for ac_func in _ldexpf
22020 do :
22021   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22022 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22023   cat >>confdefs.h <<_ACEOF
22024 #define HAVE__LDEXPF 1
22025 _ACEOF
22026
22027 fi
22028 done
22029
22030     fi
22031   fi
22032
22033
22034
22035
22036
22037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22038 $as_echo_n "checking for logf declaration... " >&6; }
22039   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22040     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22041   $as_echo_n "(cached) " >&6
22042 else
22043
22044
22045       ac_ext=cpp
22046 ac_cpp='$CXXCPP $CPPFLAGS'
22047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22050
22051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22052 /* end confdefs.h.  */
22053 #include <math.h>
22054                       #ifdef HAVE_IEEEFP_H
22055                       #include <ieeefp.h>
22056                       #endif
22057
22058 int
22059 main ()
22060 {
22061  logf(0);
22062   ;
22063   return 0;
22064 }
22065 _ACEOF
22066 if ac_fn_cxx_try_compile "$LINENO"; then :
22067   glibcxx_cv_func_logf_use=yes
22068 else
22069   glibcxx_cv_func_logf_use=no
22070 fi
22071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072       ac_ext=c
22073 ac_cpp='$CPP $CPPFLAGS'
22074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22077
22078
22079 fi
22080
22081   fi
22082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22083 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22084
22085   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22086     for ac_func in logf
22087 do :
22088   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22089 if test "x$ac_cv_func_logf" = x""yes; then :
22090   cat >>confdefs.h <<_ACEOF
22091 #define HAVE_LOGF 1
22092 _ACEOF
22093
22094 fi
22095 done
22096
22097   else
22098
22099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22100 $as_echo_n "checking for _logf declaration... " >&6; }
22101   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22102     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22103   $as_echo_n "(cached) " >&6
22104 else
22105
22106
22107       ac_ext=cpp
22108 ac_cpp='$CXXCPP $CPPFLAGS'
22109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22112
22113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h.  */
22115 #include <math.h>
22116                       #ifdef HAVE_IEEEFP_H
22117                       #include <ieeefp.h>
22118                       #endif
22119
22120 int
22121 main ()
22122 {
22123  _logf(0);
22124   ;
22125   return 0;
22126 }
22127 _ACEOF
22128 if ac_fn_cxx_try_compile "$LINENO"; then :
22129   glibcxx_cv_func__logf_use=yes
22130 else
22131   glibcxx_cv_func__logf_use=no
22132 fi
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134       ac_ext=c
22135 ac_cpp='$CPP $CPPFLAGS'
22136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22139
22140
22141 fi
22142
22143   fi
22144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22145 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22146
22147     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22148       for ac_func in _logf
22149 do :
22150   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22151 if test "x$ac_cv_func__logf" = x""yes; then :
22152   cat >>confdefs.h <<_ACEOF
22153 #define HAVE__LOGF 1
22154 _ACEOF
22155
22156 fi
22157 done
22158
22159     fi
22160   fi
22161
22162
22163
22164
22165
22166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22167 $as_echo_n "checking for log10f declaration... " >&6; }
22168   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22169     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22170   $as_echo_n "(cached) " >&6
22171 else
22172
22173
22174       ac_ext=cpp
22175 ac_cpp='$CXXCPP $CPPFLAGS'
22176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22179
22180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22181 /* end confdefs.h.  */
22182 #include <math.h>
22183                       #ifdef HAVE_IEEEFP_H
22184                       #include <ieeefp.h>
22185                       #endif
22186
22187 int
22188 main ()
22189 {
22190  log10f(0);
22191   ;
22192   return 0;
22193 }
22194 _ACEOF
22195 if ac_fn_cxx_try_compile "$LINENO"; then :
22196   glibcxx_cv_func_log10f_use=yes
22197 else
22198   glibcxx_cv_func_log10f_use=no
22199 fi
22200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22201       ac_ext=c
22202 ac_cpp='$CPP $CPPFLAGS'
22203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22206
22207
22208 fi
22209
22210   fi
22211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22212 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22213
22214   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22215     for ac_func in log10f
22216 do :
22217   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22218 if test "x$ac_cv_func_log10f" = x""yes; then :
22219   cat >>confdefs.h <<_ACEOF
22220 #define HAVE_LOG10F 1
22221 _ACEOF
22222
22223 fi
22224 done
22225
22226   else
22227
22228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22229 $as_echo_n "checking for _log10f declaration... " >&6; }
22230   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22231     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22232   $as_echo_n "(cached) " >&6
22233 else
22234
22235
22236       ac_ext=cpp
22237 ac_cpp='$CXXCPP $CPPFLAGS'
22238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22241
22242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h.  */
22244 #include <math.h>
22245                       #ifdef HAVE_IEEEFP_H
22246                       #include <ieeefp.h>
22247                       #endif
22248
22249 int
22250 main ()
22251 {
22252  _log10f(0);
22253   ;
22254   return 0;
22255 }
22256 _ACEOF
22257 if ac_fn_cxx_try_compile "$LINENO"; then :
22258   glibcxx_cv_func__log10f_use=yes
22259 else
22260   glibcxx_cv_func__log10f_use=no
22261 fi
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263       ac_ext=c
22264 ac_cpp='$CPP $CPPFLAGS'
22265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22268
22269
22270 fi
22271
22272   fi
22273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22274 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22275
22276     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22277       for ac_func in _log10f
22278 do :
22279   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22280 if test "x$ac_cv_func__log10f" = x""yes; then :
22281   cat >>confdefs.h <<_ACEOF
22282 #define HAVE__LOG10F 1
22283 _ACEOF
22284
22285 fi
22286 done
22287
22288     fi
22289   fi
22290
22291
22292
22293
22294
22295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22296 $as_echo_n "checking for modff declaration... " >&6; }
22297   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22298     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22299   $as_echo_n "(cached) " >&6
22300 else
22301
22302
22303       ac_ext=cpp
22304 ac_cpp='$CXXCPP $CPPFLAGS'
22305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22308
22309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h.  */
22311 #include <math.h>
22312 int
22313 main ()
22314 {
22315  modff(0, 0);
22316   ;
22317   return 0;
22318 }
22319 _ACEOF
22320 if ac_fn_cxx_try_compile "$LINENO"; then :
22321   glibcxx_cv_func_modff_use=yes
22322 else
22323   glibcxx_cv_func_modff_use=no
22324 fi
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326       ac_ext=c
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22331
22332
22333 fi
22334
22335   fi
22336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22337 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22338
22339   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22340     for ac_func in modff
22341 do :
22342   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22343 if test "x$ac_cv_func_modff" = x""yes; then :
22344   cat >>confdefs.h <<_ACEOF
22345 #define HAVE_MODFF 1
22346 _ACEOF
22347
22348 fi
22349 done
22350
22351   else
22352
22353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22354 $as_echo_n "checking for _modff declaration... " >&6; }
22355   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22356     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22357   $as_echo_n "(cached) " >&6
22358 else
22359
22360
22361       ac_ext=cpp
22362 ac_cpp='$CXXCPP $CPPFLAGS'
22363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22366
22367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22368 /* end confdefs.h.  */
22369 #include <math.h>
22370 int
22371 main ()
22372 {
22373  _modff(0, 0);
22374   ;
22375   return 0;
22376 }
22377 _ACEOF
22378 if ac_fn_cxx_try_compile "$LINENO"; then :
22379   glibcxx_cv_func__modff_use=yes
22380 else
22381   glibcxx_cv_func__modff_use=no
22382 fi
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384       ac_ext=c
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389
22390
22391 fi
22392
22393   fi
22394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22395 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22396
22397     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22398       for ac_func in _modff
22399 do :
22400   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22401 if test "x$ac_cv_func__modff" = x""yes; then :
22402   cat >>confdefs.h <<_ACEOF
22403 #define HAVE__MODFF 1
22404 _ACEOF
22405
22406 fi
22407 done
22408
22409     fi
22410   fi
22411
22412
22413
22414
22415
22416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22417 $as_echo_n "checking for modf declaration... " >&6; }
22418   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22419     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22420   $as_echo_n "(cached) " >&6
22421 else
22422
22423
22424       ac_ext=cpp
22425 ac_cpp='$CXXCPP $CPPFLAGS'
22426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22429
22430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h.  */
22432 #include <math.h>
22433 int
22434 main ()
22435 {
22436  modf(0, 0);
22437   ;
22438   return 0;
22439 }
22440 _ACEOF
22441 if ac_fn_cxx_try_compile "$LINENO"; then :
22442   glibcxx_cv_func_modf_use=yes
22443 else
22444   glibcxx_cv_func_modf_use=no
22445 fi
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447       ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22452
22453
22454 fi
22455
22456   fi
22457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22458 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22459
22460   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22461     for ac_func in modf
22462 do :
22463   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22464 if test "x$ac_cv_func_modf" = x""yes; then :
22465   cat >>confdefs.h <<_ACEOF
22466 #define HAVE_MODF 1
22467 _ACEOF
22468
22469 fi
22470 done
22471
22472   else
22473
22474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22475 $as_echo_n "checking for _modf declaration... " >&6; }
22476   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22477     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22478   $as_echo_n "(cached) " >&6
22479 else
22480
22481
22482       ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487
22488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h.  */
22490 #include <math.h>
22491 int
22492 main ()
22493 {
22494  _modf(0, 0);
22495   ;
22496   return 0;
22497 }
22498 _ACEOF
22499 if ac_fn_cxx_try_compile "$LINENO"; then :
22500   glibcxx_cv_func__modf_use=yes
22501 else
22502   glibcxx_cv_func__modf_use=no
22503 fi
22504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22505       ac_ext=c
22506 ac_cpp='$CPP $CPPFLAGS'
22507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22510
22511
22512 fi
22513
22514   fi
22515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22516 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22517
22518     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22519       for ac_func in _modf
22520 do :
22521   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22522 if test "x$ac_cv_func__modf" = x""yes; then :
22523   cat >>confdefs.h <<_ACEOF
22524 #define HAVE__MODF 1
22525 _ACEOF
22526
22527 fi
22528 done
22529
22530     fi
22531   fi
22532
22533
22534
22535
22536
22537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22538 $as_echo_n "checking for powf declaration... " >&6; }
22539   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22540     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22541   $as_echo_n "(cached) " >&6
22542 else
22543
22544
22545       ac_ext=cpp
22546 ac_cpp='$CXXCPP $CPPFLAGS'
22547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22550
22551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h.  */
22553 #include <math.h>
22554 int
22555 main ()
22556 {
22557  powf(0, 0);
22558   ;
22559   return 0;
22560 }
22561 _ACEOF
22562 if ac_fn_cxx_try_compile "$LINENO"; then :
22563   glibcxx_cv_func_powf_use=yes
22564 else
22565   glibcxx_cv_func_powf_use=no
22566 fi
22567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22568       ac_ext=c
22569 ac_cpp='$CPP $CPPFLAGS'
22570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22573
22574
22575 fi
22576
22577   fi
22578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22579 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22580
22581   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22582     for ac_func in powf
22583 do :
22584   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22585 if test "x$ac_cv_func_powf" = x""yes; then :
22586   cat >>confdefs.h <<_ACEOF
22587 #define HAVE_POWF 1
22588 _ACEOF
22589
22590 fi
22591 done
22592
22593   else
22594
22595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22596 $as_echo_n "checking for _powf declaration... " >&6; }
22597   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22598     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22599   $as_echo_n "(cached) " >&6
22600 else
22601
22602
22603       ac_ext=cpp
22604 ac_cpp='$CXXCPP $CPPFLAGS'
22605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22608
22609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610 /* end confdefs.h.  */
22611 #include <math.h>
22612 int
22613 main ()
22614 {
22615  _powf(0, 0);
22616   ;
22617   return 0;
22618 }
22619 _ACEOF
22620 if ac_fn_cxx_try_compile "$LINENO"; then :
22621   glibcxx_cv_func__powf_use=yes
22622 else
22623   glibcxx_cv_func__powf_use=no
22624 fi
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626       ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631
22632
22633 fi
22634
22635   fi
22636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22637 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22638
22639     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22640       for ac_func in _powf
22641 do :
22642   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22643 if test "x$ac_cv_func__powf" = x""yes; then :
22644   cat >>confdefs.h <<_ACEOF
22645 #define HAVE__POWF 1
22646 _ACEOF
22647
22648 fi
22649 done
22650
22651     fi
22652   fi
22653
22654
22655
22656
22657
22658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22659 $as_echo_n "checking for sqrtf declaration... " >&6; }
22660   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22661     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22662   $as_echo_n "(cached) " >&6
22663 else
22664
22665
22666       ac_ext=cpp
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22671
22672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22673 /* end confdefs.h.  */
22674 #include <math.h>
22675                       #ifdef HAVE_IEEEFP_H
22676                       #include <ieeefp.h>
22677                       #endif
22678
22679 int
22680 main ()
22681 {
22682  sqrtf(0);
22683   ;
22684   return 0;
22685 }
22686 _ACEOF
22687 if ac_fn_cxx_try_compile "$LINENO"; then :
22688   glibcxx_cv_func_sqrtf_use=yes
22689 else
22690   glibcxx_cv_func_sqrtf_use=no
22691 fi
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693       ac_ext=c
22694 ac_cpp='$CPP $CPPFLAGS'
22695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22698
22699
22700 fi
22701
22702   fi
22703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22704 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22705
22706   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22707     for ac_func in sqrtf
22708 do :
22709   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22710 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22711   cat >>confdefs.h <<_ACEOF
22712 #define HAVE_SQRTF 1
22713 _ACEOF
22714
22715 fi
22716 done
22717
22718   else
22719
22720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22721 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22722   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22723     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22724   $as_echo_n "(cached) " >&6
22725 else
22726
22727
22728       ac_ext=cpp
22729 ac_cpp='$CXXCPP $CPPFLAGS'
22730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22733
22734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22735 /* end confdefs.h.  */
22736 #include <math.h>
22737                       #ifdef HAVE_IEEEFP_H
22738                       #include <ieeefp.h>
22739                       #endif
22740
22741 int
22742 main ()
22743 {
22744  _sqrtf(0);
22745   ;
22746   return 0;
22747 }
22748 _ACEOF
22749 if ac_fn_cxx_try_compile "$LINENO"; then :
22750   glibcxx_cv_func__sqrtf_use=yes
22751 else
22752   glibcxx_cv_func__sqrtf_use=no
22753 fi
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755       ac_ext=c
22756 ac_cpp='$CPP $CPPFLAGS'
22757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22760
22761
22762 fi
22763
22764   fi
22765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22766 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22767
22768     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22769       for ac_func in _sqrtf
22770 do :
22771   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22772 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22773   cat >>confdefs.h <<_ACEOF
22774 #define HAVE__SQRTF 1
22775 _ACEOF
22776
22777 fi
22778 done
22779
22780     fi
22781   fi
22782
22783
22784
22785
22786
22787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22788 $as_echo_n "checking for sincosf declaration... " >&6; }
22789   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22790     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22791   $as_echo_n "(cached) " >&6
22792 else
22793
22794
22795       ac_ext=cpp
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800
22801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802 /* end confdefs.h.  */
22803 #include <math.h>
22804 int
22805 main ()
22806 {
22807  sincosf(0, 0, 0);
22808   ;
22809   return 0;
22810 }
22811 _ACEOF
22812 if ac_fn_cxx_try_compile "$LINENO"; then :
22813   glibcxx_cv_func_sincosf_use=yes
22814 else
22815   glibcxx_cv_func_sincosf_use=no
22816 fi
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818       ac_ext=c
22819 ac_cpp='$CPP $CPPFLAGS'
22820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22823
22824
22825 fi
22826
22827   fi
22828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22829 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22830
22831   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22832     for ac_func in sincosf
22833 do :
22834   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22835 if test "x$ac_cv_func_sincosf" = x""yes; then :
22836   cat >>confdefs.h <<_ACEOF
22837 #define HAVE_SINCOSF 1
22838 _ACEOF
22839
22840 fi
22841 done
22842
22843   else
22844
22845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22846 $as_echo_n "checking for _sincosf declaration... " >&6; }
22847   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22848     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22849   $as_echo_n "(cached) " >&6
22850 else
22851
22852
22853       ac_ext=cpp
22854 ac_cpp='$CXXCPP $CPPFLAGS'
22855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22858
22859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h.  */
22861 #include <math.h>
22862 int
22863 main ()
22864 {
22865  _sincosf(0, 0, 0);
22866   ;
22867   return 0;
22868 }
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871   glibcxx_cv_func__sincosf_use=yes
22872 else
22873   glibcxx_cv_func__sincosf_use=no
22874 fi
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876       ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881
22882
22883 fi
22884
22885   fi
22886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22887 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22888
22889     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22890       for ac_func in _sincosf
22891 do :
22892   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22893 if test "x$ac_cv_func__sincosf" = x""yes; then :
22894   cat >>confdefs.h <<_ACEOF
22895 #define HAVE__SINCOSF 1
22896 _ACEOF
22897
22898 fi
22899 done
22900
22901     fi
22902   fi
22903
22904
22905
22906
22907
22908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22909 $as_echo_n "checking for finitef declaration... " >&6; }
22910   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22911     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22912   $as_echo_n "(cached) " >&6
22913 else
22914
22915
22916       ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22921
22922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h.  */
22924 #include <math.h>
22925                       #ifdef HAVE_IEEEFP_H
22926                       #include <ieeefp.h>
22927                       #endif
22928
22929 int
22930 main ()
22931 {
22932  finitef(0);
22933   ;
22934   return 0;
22935 }
22936 _ACEOF
22937 if ac_fn_cxx_try_compile "$LINENO"; then :
22938   glibcxx_cv_func_finitef_use=yes
22939 else
22940   glibcxx_cv_func_finitef_use=no
22941 fi
22942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943       ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22948
22949
22950 fi
22951
22952   fi
22953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22954 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22955
22956   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22957     for ac_func in finitef
22958 do :
22959   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22960 if test "x$ac_cv_func_finitef" = x""yes; then :
22961   cat >>confdefs.h <<_ACEOF
22962 #define HAVE_FINITEF 1
22963 _ACEOF
22964
22965 fi
22966 done
22967
22968   else
22969
22970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22971 $as_echo_n "checking for _finitef declaration... " >&6; }
22972   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22973     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22974   $as_echo_n "(cached) " >&6
22975 else
22976
22977
22978       ac_ext=cpp
22979 ac_cpp='$CXXCPP $CPPFLAGS'
22980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22983
22984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h.  */
22986 #include <math.h>
22987                       #ifdef HAVE_IEEEFP_H
22988                       #include <ieeefp.h>
22989                       #endif
22990
22991 int
22992 main ()
22993 {
22994  _finitef(0);
22995   ;
22996   return 0;
22997 }
22998 _ACEOF
22999 if ac_fn_cxx_try_compile "$LINENO"; then :
23000   glibcxx_cv_func__finitef_use=yes
23001 else
23002   glibcxx_cv_func__finitef_use=no
23003 fi
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005       ac_ext=c
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23010
23011
23012 fi
23013
23014   fi
23015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23016 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23017
23018     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23019       for ac_func in _finitef
23020 do :
23021   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23022 if test "x$ac_cv_func__finitef" = x""yes; then :
23023   cat >>confdefs.h <<_ACEOF
23024 #define HAVE__FINITEF 1
23025 _ACEOF
23026
23027 fi
23028 done
23029
23030     fi
23031   fi
23032
23033
23034
23035
23036
23037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23038 $as_echo_n "checking for long double trig functions... " >&6; }
23039   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23040   $as_echo_n "(cached) " >&6
23041 else
23042
23043
23044     ac_ext=cpp
23045 ac_cpp='$CXXCPP $CPPFLAGS'
23046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23049
23050     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23051 /* end confdefs.h.  */
23052 #include <math.h>
23053 int
23054 main ()
23055 {
23056 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23057   ;
23058   return 0;
23059 }
23060 _ACEOF
23061 if ac_fn_cxx_try_compile "$LINENO"; then :
23062   glibcxx_cv_func_long_double_trig_use=yes
23063 else
23064   glibcxx_cv_func_long_double_trig_use=no
23065 fi
23066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23067     ac_ext=c
23068 ac_cpp='$CPP $CPPFLAGS'
23069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23072
23073 fi
23074
23075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23076 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23077   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23078     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23079 do :
23080   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23082 eval as_val=\$$as_ac_var
23083    if test "x$as_val" = x""yes; then :
23084   cat >>confdefs.h <<_ACEOF
23085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23086 _ACEOF
23087
23088 fi
23089 done
23090
23091   else
23092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23093 $as_echo_n "checking for _long double trig functions... " >&6; }
23094     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23095   $as_echo_n "(cached) " >&6
23096 else
23097
23098
23099       ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23104
23105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h.  */
23107 #include <math.h>
23108 int
23109 main ()
23110 {
23111 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23112   ;
23113   return 0;
23114 }
23115 _ACEOF
23116 if ac_fn_cxx_try_compile "$LINENO"; then :
23117   glibcxx_cv_func__long_double_trig_use=yes
23118 else
23119   glibcxx_cv_func__long_double_trig_use=no
23120 fi
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122       ac_ext=c
23123 ac_cpp='$CPP $CPPFLAGS'
23124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23127
23128 fi
23129
23130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23131 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23132     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23133       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23134 do :
23135   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23137 eval as_val=\$$as_ac_var
23138    if test "x$as_val" = x""yes; then :
23139   cat >>confdefs.h <<_ACEOF
23140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23141 _ACEOF
23142
23143 fi
23144 done
23145
23146     fi
23147   fi
23148
23149
23150
23151
23152
23153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23154 $as_echo_n "checking for long double round functions... " >&6; }
23155   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23156   $as_echo_n "(cached) " >&6
23157 else
23158
23159
23160     ac_ext=cpp
23161 ac_cpp='$CXXCPP $CPPFLAGS'
23162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23165
23166     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23167 /* end confdefs.h.  */
23168 #include <math.h>
23169 int
23170 main ()
23171 {
23172 ceill (0); floorl (0);
23173   ;
23174   return 0;
23175 }
23176 _ACEOF
23177 if ac_fn_cxx_try_compile "$LINENO"; then :
23178   glibcxx_cv_func_long_double_round_use=yes
23179 else
23180   glibcxx_cv_func_long_double_round_use=no
23181 fi
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183     ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23188
23189 fi
23190
23191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23192 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23193   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23194     for ac_func in ceill floorl
23195 do :
23196   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23198 eval as_val=\$$as_ac_var
23199    if test "x$as_val" = x""yes; then :
23200   cat >>confdefs.h <<_ACEOF
23201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23202 _ACEOF
23203
23204 fi
23205 done
23206
23207   else
23208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23209 $as_echo_n "checking for _long double round functions... " >&6; }
23210     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23211   $as_echo_n "(cached) " >&6
23212 else
23213
23214
23215       ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220
23221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h.  */
23223 #include <math.h>
23224 int
23225 main ()
23226 {
23227 _ceill (0); _floorl (0);
23228   ;
23229   return 0;
23230 }
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233   glibcxx_cv_func__long_double_round_use=yes
23234 else
23235   glibcxx_cv_func__long_double_round_use=no
23236 fi
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238       ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23243
23244 fi
23245
23246     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23247 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23248     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23249       for ac_func in _ceill _floorl
23250 do :
23251   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23253 eval as_val=\$$as_ac_var
23254    if test "x$as_val" = x""yes; then :
23255   cat >>confdefs.h <<_ACEOF
23256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23257 _ACEOF
23258
23259 fi
23260 done
23261
23262     fi
23263   fi
23264
23265
23266
23267
23268
23269
23270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23271 $as_echo_n "checking for isnanl declaration... " >&6; }
23272   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23273     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23274   $as_echo_n "(cached) " >&6
23275 else
23276
23277
23278       ac_ext=cpp
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23283
23284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h.  */
23286 #include <math.h>
23287                       #ifdef HAVE_IEEEFP_H
23288                       #include <ieeefp.h>
23289                       #endif
23290
23291 int
23292 main ()
23293 {
23294  isnanl(0);
23295   ;
23296   return 0;
23297 }
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300   glibcxx_cv_func_isnanl_use=yes
23301 else
23302   glibcxx_cv_func_isnanl_use=no
23303 fi
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305       ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23310
23311
23312 fi
23313
23314   fi
23315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23316 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23317
23318   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23319     for ac_func in isnanl
23320 do :
23321   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23322 if test "x$ac_cv_func_isnanl" = x""yes; then :
23323   cat >>confdefs.h <<_ACEOF
23324 #define HAVE_ISNANL 1
23325 _ACEOF
23326
23327 fi
23328 done
23329
23330   else
23331
23332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23333 $as_echo_n "checking for _isnanl declaration... " >&6; }
23334   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23335     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23336   $as_echo_n "(cached) " >&6
23337 else
23338
23339
23340       ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h.  */
23348 #include <math.h>
23349                       #ifdef HAVE_IEEEFP_H
23350                       #include <ieeefp.h>
23351                       #endif
23352
23353 int
23354 main ()
23355 {
23356  _isnanl(0);
23357   ;
23358   return 0;
23359 }
23360 _ACEOF
23361 if ac_fn_cxx_try_compile "$LINENO"; then :
23362   glibcxx_cv_func__isnanl_use=yes
23363 else
23364   glibcxx_cv_func__isnanl_use=no
23365 fi
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23367       ac_ext=c
23368 ac_cpp='$CPP $CPPFLAGS'
23369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23372
23373
23374 fi
23375
23376   fi
23377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23378 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23379
23380     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23381       for ac_func in _isnanl
23382 do :
23383   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23384 if test "x$ac_cv_func__isnanl" = x""yes; then :
23385   cat >>confdefs.h <<_ACEOF
23386 #define HAVE__ISNANL 1
23387 _ACEOF
23388
23389 fi
23390 done
23391
23392     fi
23393   fi
23394
23395
23396
23397
23398
23399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23400 $as_echo_n "checking for isinfl declaration... " >&6; }
23401   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23402     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23403   $as_echo_n "(cached) " >&6
23404 else
23405
23406
23407       ac_ext=cpp
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412
23413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h.  */
23415 #include <math.h>
23416                       #ifdef HAVE_IEEEFP_H
23417                       #include <ieeefp.h>
23418                       #endif
23419
23420 int
23421 main ()
23422 {
23423  isinfl(0);
23424   ;
23425   return 0;
23426 }
23427 _ACEOF
23428 if ac_fn_cxx_try_compile "$LINENO"; then :
23429   glibcxx_cv_func_isinfl_use=yes
23430 else
23431   glibcxx_cv_func_isinfl_use=no
23432 fi
23433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23434       ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439
23440
23441 fi
23442
23443   fi
23444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23445 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23446
23447   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23448     for ac_func in isinfl
23449 do :
23450   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23451 if test "x$ac_cv_func_isinfl" = x""yes; then :
23452   cat >>confdefs.h <<_ACEOF
23453 #define HAVE_ISINFL 1
23454 _ACEOF
23455
23456 fi
23457 done
23458
23459   else
23460
23461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23462 $as_echo_n "checking for _isinfl declaration... " >&6; }
23463   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23464     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23465   $as_echo_n "(cached) " >&6
23466 else
23467
23468
23469       ac_ext=cpp
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474
23475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h.  */
23477 #include <math.h>
23478                       #ifdef HAVE_IEEEFP_H
23479                       #include <ieeefp.h>
23480                       #endif
23481
23482 int
23483 main ()
23484 {
23485  _isinfl(0);
23486   ;
23487   return 0;
23488 }
23489 _ACEOF
23490 if ac_fn_cxx_try_compile "$LINENO"; then :
23491   glibcxx_cv_func__isinfl_use=yes
23492 else
23493   glibcxx_cv_func__isinfl_use=no
23494 fi
23495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496       ac_ext=c
23497 ac_cpp='$CPP $CPPFLAGS'
23498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23501
23502
23503 fi
23504
23505   fi
23506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23507 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23508
23509     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23510       for ac_func in _isinfl
23511 do :
23512   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23513 if test "x$ac_cv_func__isinfl" = x""yes; then :
23514   cat >>confdefs.h <<_ACEOF
23515 #define HAVE__ISINFL 1
23516 _ACEOF
23517
23518 fi
23519 done
23520
23521     fi
23522   fi
23523
23524
23525
23526
23527
23528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23529 $as_echo_n "checking for atan2l declaration... " >&6; }
23530   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23531     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23532   $as_echo_n "(cached) " >&6
23533 else
23534
23535
23536       ac_ext=cpp
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541
23542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23543 /* end confdefs.h.  */
23544 #include <math.h>
23545 int
23546 main ()
23547 {
23548  atan2l(0, 0);
23549   ;
23550   return 0;
23551 }
23552 _ACEOF
23553 if ac_fn_cxx_try_compile "$LINENO"; then :
23554   glibcxx_cv_func_atan2l_use=yes
23555 else
23556   glibcxx_cv_func_atan2l_use=no
23557 fi
23558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23559       ac_ext=c
23560 ac_cpp='$CPP $CPPFLAGS'
23561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23564
23565
23566 fi
23567
23568   fi
23569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23570 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23571
23572   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23573     for ac_func in atan2l
23574 do :
23575   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23576 if test "x$ac_cv_func_atan2l" = x""yes; then :
23577   cat >>confdefs.h <<_ACEOF
23578 #define HAVE_ATAN2L 1
23579 _ACEOF
23580
23581 fi
23582 done
23583
23584   else
23585
23586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23587 $as_echo_n "checking for _atan2l declaration... " >&6; }
23588   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23589     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23590   $as_echo_n "(cached) " >&6
23591 else
23592
23593
23594       ac_ext=cpp
23595 ac_cpp='$CXXCPP $CPPFLAGS'
23596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23599
23600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 /* end confdefs.h.  */
23602 #include <math.h>
23603 int
23604 main ()
23605 {
23606  _atan2l(0, 0);
23607   ;
23608   return 0;
23609 }
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612   glibcxx_cv_func__atan2l_use=yes
23613 else
23614   glibcxx_cv_func__atan2l_use=no
23615 fi
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617       ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622
23623
23624 fi
23625
23626   fi
23627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23628 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23629
23630     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23631       for ac_func in _atan2l
23632 do :
23633   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23634 if test "x$ac_cv_func__atan2l" = x""yes; then :
23635   cat >>confdefs.h <<_ACEOF
23636 #define HAVE__ATAN2L 1
23637 _ACEOF
23638
23639 fi
23640 done
23641
23642     fi
23643   fi
23644
23645
23646
23647
23648
23649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23650 $as_echo_n "checking for expl declaration... " >&6; }
23651   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23652     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23653   $as_echo_n "(cached) " >&6
23654 else
23655
23656
23657       ac_ext=cpp
23658 ac_cpp='$CXXCPP $CPPFLAGS'
23659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23662
23663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23664 /* end confdefs.h.  */
23665 #include <math.h>
23666                       #ifdef HAVE_IEEEFP_H
23667                       #include <ieeefp.h>
23668                       #endif
23669
23670 int
23671 main ()
23672 {
23673  expl(0);
23674   ;
23675   return 0;
23676 }
23677 _ACEOF
23678 if ac_fn_cxx_try_compile "$LINENO"; then :
23679   glibcxx_cv_func_expl_use=yes
23680 else
23681   glibcxx_cv_func_expl_use=no
23682 fi
23683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23684       ac_ext=c
23685 ac_cpp='$CPP $CPPFLAGS'
23686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23689
23690
23691 fi
23692
23693   fi
23694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23695 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23696
23697   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23698     for ac_func in expl
23699 do :
23700   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23701 if test "x$ac_cv_func_expl" = x""yes; then :
23702   cat >>confdefs.h <<_ACEOF
23703 #define HAVE_EXPL 1
23704 _ACEOF
23705
23706 fi
23707 done
23708
23709   else
23710
23711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23712 $as_echo_n "checking for _expl declaration... " >&6; }
23713   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23714     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23715   $as_echo_n "(cached) " >&6
23716 else
23717
23718
23719       ac_ext=cpp
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724
23725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h.  */
23727 #include <math.h>
23728                       #ifdef HAVE_IEEEFP_H
23729                       #include <ieeefp.h>
23730                       #endif
23731
23732 int
23733 main ()
23734 {
23735  _expl(0);
23736   ;
23737   return 0;
23738 }
23739 _ACEOF
23740 if ac_fn_cxx_try_compile "$LINENO"; then :
23741   glibcxx_cv_func__expl_use=yes
23742 else
23743   glibcxx_cv_func__expl_use=no
23744 fi
23745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23746       ac_ext=c
23747 ac_cpp='$CPP $CPPFLAGS'
23748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23751
23752
23753 fi
23754
23755   fi
23756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23757 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23758
23759     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23760       for ac_func in _expl
23761 do :
23762   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23763 if test "x$ac_cv_func__expl" = x""yes; then :
23764   cat >>confdefs.h <<_ACEOF
23765 #define HAVE__EXPL 1
23766 _ACEOF
23767
23768 fi
23769 done
23770
23771     fi
23772   fi
23773
23774
23775
23776
23777
23778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23779 $as_echo_n "checking for fabsl declaration... " >&6; }
23780   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23781     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23782   $as_echo_n "(cached) " >&6
23783 else
23784
23785
23786       ac_ext=cpp
23787 ac_cpp='$CXXCPP $CPPFLAGS'
23788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23791
23792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23793 /* end confdefs.h.  */
23794 #include <math.h>
23795                       #ifdef HAVE_IEEEFP_H
23796                       #include <ieeefp.h>
23797                       #endif
23798
23799 int
23800 main ()
23801 {
23802  fabsl(0);
23803   ;
23804   return 0;
23805 }
23806 _ACEOF
23807 if ac_fn_cxx_try_compile "$LINENO"; then :
23808   glibcxx_cv_func_fabsl_use=yes
23809 else
23810   glibcxx_cv_func_fabsl_use=no
23811 fi
23812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23813       ac_ext=c
23814 ac_cpp='$CPP $CPPFLAGS'
23815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23818
23819
23820 fi
23821
23822   fi
23823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23824 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23825
23826   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23827     for ac_func in fabsl
23828 do :
23829   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23830 if test "x$ac_cv_func_fabsl" = x""yes; then :
23831   cat >>confdefs.h <<_ACEOF
23832 #define HAVE_FABSL 1
23833 _ACEOF
23834
23835 fi
23836 done
23837
23838   else
23839
23840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23841 $as_echo_n "checking for _fabsl declaration... " >&6; }
23842   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23843     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23844   $as_echo_n "(cached) " >&6
23845 else
23846
23847
23848       ac_ext=cpp
23849 ac_cpp='$CXXCPP $CPPFLAGS'
23850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23853
23854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23855 /* end confdefs.h.  */
23856 #include <math.h>
23857                       #ifdef HAVE_IEEEFP_H
23858                       #include <ieeefp.h>
23859                       #endif
23860
23861 int
23862 main ()
23863 {
23864  _fabsl(0);
23865   ;
23866   return 0;
23867 }
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870   glibcxx_cv_func__fabsl_use=yes
23871 else
23872   glibcxx_cv_func__fabsl_use=no
23873 fi
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875       ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23880
23881
23882 fi
23883
23884   fi
23885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23886 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23887
23888     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23889       for ac_func in _fabsl
23890 do :
23891   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23892 if test "x$ac_cv_func__fabsl" = x""yes; then :
23893   cat >>confdefs.h <<_ACEOF
23894 #define HAVE__FABSL 1
23895 _ACEOF
23896
23897 fi
23898 done
23899
23900     fi
23901   fi
23902
23903
23904
23905
23906
23907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23908 $as_echo_n "checking for fmodl declaration... " >&6; }
23909   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23910     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23911   $as_echo_n "(cached) " >&6
23912 else
23913
23914
23915       ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23920
23921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23922 /* end confdefs.h.  */
23923 #include <math.h>
23924 int
23925 main ()
23926 {
23927  fmodl(0, 0);
23928   ;
23929   return 0;
23930 }
23931 _ACEOF
23932 if ac_fn_cxx_try_compile "$LINENO"; then :
23933   glibcxx_cv_func_fmodl_use=yes
23934 else
23935   glibcxx_cv_func_fmodl_use=no
23936 fi
23937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23938       ac_ext=c
23939 ac_cpp='$CPP $CPPFLAGS'
23940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23943
23944
23945 fi
23946
23947   fi
23948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23949 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23950
23951   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23952     for ac_func in fmodl
23953 do :
23954   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23955 if test "x$ac_cv_func_fmodl" = x""yes; then :
23956   cat >>confdefs.h <<_ACEOF
23957 #define HAVE_FMODL 1
23958 _ACEOF
23959
23960 fi
23961 done
23962
23963   else
23964
23965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23966 $as_echo_n "checking for _fmodl declaration... " >&6; }
23967   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23968     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23969   $as_echo_n "(cached) " >&6
23970 else
23971
23972
23973       ac_ext=cpp
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23978
23979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h.  */
23981 #include <math.h>
23982 int
23983 main ()
23984 {
23985  _fmodl(0, 0);
23986   ;
23987   return 0;
23988 }
23989 _ACEOF
23990 if ac_fn_cxx_try_compile "$LINENO"; then :
23991   glibcxx_cv_func__fmodl_use=yes
23992 else
23993   glibcxx_cv_func__fmodl_use=no
23994 fi
23995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996       ac_ext=c
23997 ac_cpp='$CPP $CPPFLAGS'
23998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24001
24002
24003 fi
24004
24005   fi
24006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24007 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24008
24009     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24010       for ac_func in _fmodl
24011 do :
24012   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24013 if test "x$ac_cv_func__fmodl" = x""yes; then :
24014   cat >>confdefs.h <<_ACEOF
24015 #define HAVE__FMODL 1
24016 _ACEOF
24017
24018 fi
24019 done
24020
24021     fi
24022   fi
24023
24024
24025
24026
24027
24028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24029 $as_echo_n "checking for frexpl declaration... " >&6; }
24030   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24031     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24032   $as_echo_n "(cached) " >&6
24033 else
24034
24035
24036       ac_ext=cpp
24037 ac_cpp='$CXXCPP $CPPFLAGS'
24038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24041
24042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h.  */
24044 #include <math.h>
24045 int
24046 main ()
24047 {
24048  frexpl(0, 0);
24049   ;
24050   return 0;
24051 }
24052 _ACEOF
24053 if ac_fn_cxx_try_compile "$LINENO"; then :
24054   glibcxx_cv_func_frexpl_use=yes
24055 else
24056   glibcxx_cv_func_frexpl_use=no
24057 fi
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059       ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064
24065
24066 fi
24067
24068   fi
24069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24070 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24071
24072   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24073     for ac_func in frexpl
24074 do :
24075   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24076 if test "x$ac_cv_func_frexpl" = x""yes; then :
24077   cat >>confdefs.h <<_ACEOF
24078 #define HAVE_FREXPL 1
24079 _ACEOF
24080
24081 fi
24082 done
24083
24084   else
24085
24086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24087 $as_echo_n "checking for _frexpl declaration... " >&6; }
24088   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24089     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24090   $as_echo_n "(cached) " >&6
24091 else
24092
24093
24094       ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24099
24100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h.  */
24102 #include <math.h>
24103 int
24104 main ()
24105 {
24106  _frexpl(0, 0);
24107   ;
24108   return 0;
24109 }
24110 _ACEOF
24111 if ac_fn_cxx_try_compile "$LINENO"; then :
24112   glibcxx_cv_func__frexpl_use=yes
24113 else
24114   glibcxx_cv_func__frexpl_use=no
24115 fi
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117       ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24122
24123
24124 fi
24125
24126   fi
24127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24128 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24129
24130     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24131       for ac_func in _frexpl
24132 do :
24133   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24134 if test "x$ac_cv_func__frexpl" = x""yes; then :
24135   cat >>confdefs.h <<_ACEOF
24136 #define HAVE__FREXPL 1
24137 _ACEOF
24138
24139 fi
24140 done
24141
24142     fi
24143   fi
24144
24145
24146
24147
24148
24149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24150 $as_echo_n "checking for hypotl declaration... " >&6; }
24151   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24152     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24153   $as_echo_n "(cached) " >&6
24154 else
24155
24156
24157       ac_ext=cpp
24158 ac_cpp='$CXXCPP $CPPFLAGS'
24159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24162
24163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24164 /* end confdefs.h.  */
24165 #include <math.h>
24166 int
24167 main ()
24168 {
24169  hypotl(0, 0);
24170   ;
24171   return 0;
24172 }
24173 _ACEOF
24174 if ac_fn_cxx_try_compile "$LINENO"; then :
24175   glibcxx_cv_func_hypotl_use=yes
24176 else
24177   glibcxx_cv_func_hypotl_use=no
24178 fi
24179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24180       ac_ext=c
24181 ac_cpp='$CPP $CPPFLAGS'
24182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24185
24186
24187 fi
24188
24189   fi
24190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24191 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24192
24193   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24194     for ac_func in hypotl
24195 do :
24196   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24197 if test "x$ac_cv_func_hypotl" = x""yes; then :
24198   cat >>confdefs.h <<_ACEOF
24199 #define HAVE_HYPOTL 1
24200 _ACEOF
24201
24202 fi
24203 done
24204
24205   else
24206
24207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24208 $as_echo_n "checking for _hypotl declaration... " >&6; }
24209   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24210     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24211   $as_echo_n "(cached) " >&6
24212 else
24213
24214
24215       ac_ext=cpp
24216 ac_cpp='$CXXCPP $CPPFLAGS'
24217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24220
24221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24222 /* end confdefs.h.  */
24223 #include <math.h>
24224 int
24225 main ()
24226 {
24227  _hypotl(0, 0);
24228   ;
24229   return 0;
24230 }
24231 _ACEOF
24232 if ac_fn_cxx_try_compile "$LINENO"; then :
24233   glibcxx_cv_func__hypotl_use=yes
24234 else
24235   glibcxx_cv_func__hypotl_use=no
24236 fi
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238       ac_ext=c
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24243
24244
24245 fi
24246
24247   fi
24248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24249 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24250
24251     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24252       for ac_func in _hypotl
24253 do :
24254   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24255 if test "x$ac_cv_func__hypotl" = x""yes; then :
24256   cat >>confdefs.h <<_ACEOF
24257 #define HAVE__HYPOTL 1
24258 _ACEOF
24259
24260 fi
24261 done
24262
24263     fi
24264   fi
24265
24266
24267
24268
24269
24270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24271 $as_echo_n "checking for ldexpl declaration... " >&6; }
24272   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24273     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24274   $as_echo_n "(cached) " >&6
24275 else
24276
24277
24278       ac_ext=cpp
24279 ac_cpp='$CXXCPP $CPPFLAGS'
24280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24283
24284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24285 /* end confdefs.h.  */
24286 #include <math.h>
24287 int
24288 main ()
24289 {
24290  ldexpl(0, 0);
24291   ;
24292   return 0;
24293 }
24294 _ACEOF
24295 if ac_fn_cxx_try_compile "$LINENO"; then :
24296   glibcxx_cv_func_ldexpl_use=yes
24297 else
24298   glibcxx_cv_func_ldexpl_use=no
24299 fi
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301       ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306
24307
24308 fi
24309
24310   fi
24311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24312 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24313
24314   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24315     for ac_func in ldexpl
24316 do :
24317   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24318 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24319   cat >>confdefs.h <<_ACEOF
24320 #define HAVE_LDEXPL 1
24321 _ACEOF
24322
24323 fi
24324 done
24325
24326   else
24327
24328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24329 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24330   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24331     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24332   $as_echo_n "(cached) " >&6
24333 else
24334
24335
24336       ac_ext=cpp
24337 ac_cpp='$CXXCPP $CPPFLAGS'
24338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24341
24342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h.  */
24344 #include <math.h>
24345 int
24346 main ()
24347 {
24348  _ldexpl(0, 0);
24349   ;
24350   return 0;
24351 }
24352 _ACEOF
24353 if ac_fn_cxx_try_compile "$LINENO"; then :
24354   glibcxx_cv_func__ldexpl_use=yes
24355 else
24356   glibcxx_cv_func__ldexpl_use=no
24357 fi
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359       ac_ext=c
24360 ac_cpp='$CPP $CPPFLAGS'
24361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24364
24365
24366 fi
24367
24368   fi
24369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24370 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24371
24372     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24373       for ac_func in _ldexpl
24374 do :
24375   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24376 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24377   cat >>confdefs.h <<_ACEOF
24378 #define HAVE__LDEXPL 1
24379 _ACEOF
24380
24381 fi
24382 done
24383
24384     fi
24385   fi
24386
24387
24388
24389
24390
24391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24392 $as_echo_n "checking for logl declaration... " >&6; }
24393   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24394     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24395   $as_echo_n "(cached) " >&6
24396 else
24397
24398
24399       ac_ext=cpp
24400 ac_cpp='$CXXCPP $CPPFLAGS'
24401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24404
24405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24406 /* end confdefs.h.  */
24407 #include <math.h>
24408                       #ifdef HAVE_IEEEFP_H
24409                       #include <ieeefp.h>
24410                       #endif
24411
24412 int
24413 main ()
24414 {
24415  logl(0);
24416   ;
24417   return 0;
24418 }
24419 _ACEOF
24420 if ac_fn_cxx_try_compile "$LINENO"; then :
24421   glibcxx_cv_func_logl_use=yes
24422 else
24423   glibcxx_cv_func_logl_use=no
24424 fi
24425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426       ac_ext=c
24427 ac_cpp='$CPP $CPPFLAGS'
24428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24431
24432
24433 fi
24434
24435   fi
24436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24437 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24438
24439   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24440     for ac_func in logl
24441 do :
24442   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24443 if test "x$ac_cv_func_logl" = x""yes; then :
24444   cat >>confdefs.h <<_ACEOF
24445 #define HAVE_LOGL 1
24446 _ACEOF
24447
24448 fi
24449 done
24450
24451   else
24452
24453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24454 $as_echo_n "checking for _logl declaration... " >&6; }
24455   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24456     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24457   $as_echo_n "(cached) " >&6
24458 else
24459
24460
24461       ac_ext=cpp
24462 ac_cpp='$CXXCPP $CPPFLAGS'
24463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24466
24467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24468 /* end confdefs.h.  */
24469 #include <math.h>
24470                       #ifdef HAVE_IEEEFP_H
24471                       #include <ieeefp.h>
24472                       #endif
24473
24474 int
24475 main ()
24476 {
24477  _logl(0);
24478   ;
24479   return 0;
24480 }
24481 _ACEOF
24482 if ac_fn_cxx_try_compile "$LINENO"; then :
24483   glibcxx_cv_func__logl_use=yes
24484 else
24485   glibcxx_cv_func__logl_use=no
24486 fi
24487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488       ac_ext=c
24489 ac_cpp='$CPP $CPPFLAGS'
24490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24493
24494
24495 fi
24496
24497   fi
24498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24499 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24500
24501     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24502       for ac_func in _logl
24503 do :
24504   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24505 if test "x$ac_cv_func__logl" = x""yes; then :
24506   cat >>confdefs.h <<_ACEOF
24507 #define HAVE__LOGL 1
24508 _ACEOF
24509
24510 fi
24511 done
24512
24513     fi
24514   fi
24515
24516
24517
24518
24519
24520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24521 $as_echo_n "checking for log10l declaration... " >&6; }
24522   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24523     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24524   $as_echo_n "(cached) " >&6
24525 else
24526
24527
24528       ac_ext=cpp
24529 ac_cpp='$CXXCPP $CPPFLAGS'
24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24533
24534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h.  */
24536 #include <math.h>
24537                       #ifdef HAVE_IEEEFP_H
24538                       #include <ieeefp.h>
24539                       #endif
24540
24541 int
24542 main ()
24543 {
24544  log10l(0);
24545   ;
24546   return 0;
24547 }
24548 _ACEOF
24549 if ac_fn_cxx_try_compile "$LINENO"; then :
24550   glibcxx_cv_func_log10l_use=yes
24551 else
24552   glibcxx_cv_func_log10l_use=no
24553 fi
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555       ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24560
24561
24562 fi
24563
24564   fi
24565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24566 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24567
24568   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24569     for ac_func in log10l
24570 do :
24571   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24572 if test "x$ac_cv_func_log10l" = x""yes; then :
24573   cat >>confdefs.h <<_ACEOF
24574 #define HAVE_LOG10L 1
24575 _ACEOF
24576
24577 fi
24578 done
24579
24580   else
24581
24582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24583 $as_echo_n "checking for _log10l declaration... " >&6; }
24584   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24585     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24586   $as_echo_n "(cached) " >&6
24587 else
24588
24589
24590       ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24595
24596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h.  */
24598 #include <math.h>
24599                       #ifdef HAVE_IEEEFP_H
24600                       #include <ieeefp.h>
24601                       #endif
24602
24603 int
24604 main ()
24605 {
24606  _log10l(0);
24607   ;
24608   return 0;
24609 }
24610 _ACEOF
24611 if ac_fn_cxx_try_compile "$LINENO"; then :
24612   glibcxx_cv_func__log10l_use=yes
24613 else
24614   glibcxx_cv_func__log10l_use=no
24615 fi
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617       ac_ext=c
24618 ac_cpp='$CPP $CPPFLAGS'
24619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24622
24623
24624 fi
24625
24626   fi
24627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24628 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24629
24630     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24631       for ac_func in _log10l
24632 do :
24633   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24634 if test "x$ac_cv_func__log10l" = x""yes; then :
24635   cat >>confdefs.h <<_ACEOF
24636 #define HAVE__LOG10L 1
24637 _ACEOF
24638
24639 fi
24640 done
24641
24642     fi
24643   fi
24644
24645
24646
24647
24648
24649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24650 $as_echo_n "checking for modfl declaration... " >&6; }
24651   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24652     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24653   $as_echo_n "(cached) " >&6
24654 else
24655
24656
24657       ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24662
24663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h.  */
24665 #include <math.h>
24666 int
24667 main ()
24668 {
24669  modfl(0, 0);
24670   ;
24671   return 0;
24672 }
24673 _ACEOF
24674 if ac_fn_cxx_try_compile "$LINENO"; then :
24675   glibcxx_cv_func_modfl_use=yes
24676 else
24677   glibcxx_cv_func_modfl_use=no
24678 fi
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24680       ac_ext=c
24681 ac_cpp='$CPP $CPPFLAGS'
24682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24685
24686
24687 fi
24688
24689   fi
24690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24691 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24692
24693   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24694     for ac_func in modfl
24695 do :
24696   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24697 if test "x$ac_cv_func_modfl" = x""yes; then :
24698   cat >>confdefs.h <<_ACEOF
24699 #define HAVE_MODFL 1
24700 _ACEOF
24701
24702 fi
24703 done
24704
24705   else
24706
24707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24708 $as_echo_n "checking for _modfl declaration... " >&6; }
24709   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24710     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24711   $as_echo_n "(cached) " >&6
24712 else
24713
24714
24715       ac_ext=cpp
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24720
24721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24722 /* end confdefs.h.  */
24723 #include <math.h>
24724 int
24725 main ()
24726 {
24727  _modfl(0, 0);
24728   ;
24729   return 0;
24730 }
24731 _ACEOF
24732 if ac_fn_cxx_try_compile "$LINENO"; then :
24733   glibcxx_cv_func__modfl_use=yes
24734 else
24735   glibcxx_cv_func__modfl_use=no
24736 fi
24737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24738       ac_ext=c
24739 ac_cpp='$CPP $CPPFLAGS'
24740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24743
24744
24745 fi
24746
24747   fi
24748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24749 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24750
24751     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24752       for ac_func in _modfl
24753 do :
24754   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24755 if test "x$ac_cv_func__modfl" = x""yes; then :
24756   cat >>confdefs.h <<_ACEOF
24757 #define HAVE__MODFL 1
24758 _ACEOF
24759
24760 fi
24761 done
24762
24763     fi
24764   fi
24765
24766
24767
24768
24769
24770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24771 $as_echo_n "checking for powl declaration... " >&6; }
24772   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24773     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24774   $as_echo_n "(cached) " >&6
24775 else
24776
24777
24778       ac_ext=cpp
24779 ac_cpp='$CXXCPP $CPPFLAGS'
24780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24783
24784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24785 /* end confdefs.h.  */
24786 #include <math.h>
24787 int
24788 main ()
24789 {
24790  powl(0, 0);
24791   ;
24792   return 0;
24793 }
24794 _ACEOF
24795 if ac_fn_cxx_try_compile "$LINENO"; then :
24796   glibcxx_cv_func_powl_use=yes
24797 else
24798   glibcxx_cv_func_powl_use=no
24799 fi
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24801       ac_ext=c
24802 ac_cpp='$CPP $CPPFLAGS'
24803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806
24807
24808 fi
24809
24810   fi
24811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24812 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24813
24814   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24815     for ac_func in powl
24816 do :
24817   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24818 if test "x$ac_cv_func_powl" = x""yes; then :
24819   cat >>confdefs.h <<_ACEOF
24820 #define HAVE_POWL 1
24821 _ACEOF
24822
24823 fi
24824 done
24825
24826   else
24827
24828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24829 $as_echo_n "checking for _powl declaration... " >&6; }
24830   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24831     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24832   $as_echo_n "(cached) " >&6
24833 else
24834
24835
24836       ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24841
24842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h.  */
24844 #include <math.h>
24845 int
24846 main ()
24847 {
24848  _powl(0, 0);
24849   ;
24850   return 0;
24851 }
24852 _ACEOF
24853 if ac_fn_cxx_try_compile "$LINENO"; then :
24854   glibcxx_cv_func__powl_use=yes
24855 else
24856   glibcxx_cv_func__powl_use=no
24857 fi
24858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24859       ac_ext=c
24860 ac_cpp='$CPP $CPPFLAGS'
24861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24864
24865
24866 fi
24867
24868   fi
24869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24870 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24871
24872     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24873       for ac_func in _powl
24874 do :
24875   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24876 if test "x$ac_cv_func__powl" = x""yes; then :
24877   cat >>confdefs.h <<_ACEOF
24878 #define HAVE__POWL 1
24879 _ACEOF
24880
24881 fi
24882 done
24883
24884     fi
24885   fi
24886
24887
24888
24889
24890
24891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24892 $as_echo_n "checking for sqrtl declaration... " >&6; }
24893   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24894     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24895   $as_echo_n "(cached) " >&6
24896 else
24897
24898
24899       ac_ext=cpp
24900 ac_cpp='$CXXCPP $CPPFLAGS'
24901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24904
24905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24906 /* end confdefs.h.  */
24907 #include <math.h>
24908                       #ifdef HAVE_IEEEFP_H
24909                       #include <ieeefp.h>
24910                       #endif
24911
24912 int
24913 main ()
24914 {
24915  sqrtl(0);
24916   ;
24917   return 0;
24918 }
24919 _ACEOF
24920 if ac_fn_cxx_try_compile "$LINENO"; then :
24921   glibcxx_cv_func_sqrtl_use=yes
24922 else
24923   glibcxx_cv_func_sqrtl_use=no
24924 fi
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926       ac_ext=c
24927 ac_cpp='$CPP $CPPFLAGS'
24928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24931
24932
24933 fi
24934
24935   fi
24936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24937 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24938
24939   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24940     for ac_func in sqrtl
24941 do :
24942   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24943 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24944   cat >>confdefs.h <<_ACEOF
24945 #define HAVE_SQRTL 1
24946 _ACEOF
24947
24948 fi
24949 done
24950
24951   else
24952
24953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24954 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24955   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24956     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24957   $as_echo_n "(cached) " >&6
24958 else
24959
24960
24961       ac_ext=cpp
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966
24967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24968 /* end confdefs.h.  */
24969 #include <math.h>
24970                       #ifdef HAVE_IEEEFP_H
24971                       #include <ieeefp.h>
24972                       #endif
24973
24974 int
24975 main ()
24976 {
24977  _sqrtl(0);
24978   ;
24979   return 0;
24980 }
24981 _ACEOF
24982 if ac_fn_cxx_try_compile "$LINENO"; then :
24983   glibcxx_cv_func__sqrtl_use=yes
24984 else
24985   glibcxx_cv_func__sqrtl_use=no
24986 fi
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988       ac_ext=c
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24993
24994
24995 fi
24996
24997   fi
24998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24999 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25000
25001     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25002       for ac_func in _sqrtl
25003 do :
25004   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25005 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25006   cat >>confdefs.h <<_ACEOF
25007 #define HAVE__SQRTL 1
25008 _ACEOF
25009
25010 fi
25011 done
25012
25013     fi
25014   fi
25015
25016
25017
25018
25019
25020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25021 $as_echo_n "checking for sincosl declaration... " >&6; }
25022   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25023     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25024   $as_echo_n "(cached) " >&6
25025 else
25026
25027
25028       ac_ext=cpp
25029 ac_cpp='$CXXCPP $CPPFLAGS'
25030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25033
25034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h.  */
25036 #include <math.h>
25037 int
25038 main ()
25039 {
25040  sincosl(0, 0, 0);
25041   ;
25042   return 0;
25043 }
25044 _ACEOF
25045 if ac_fn_cxx_try_compile "$LINENO"; then :
25046   glibcxx_cv_func_sincosl_use=yes
25047 else
25048   glibcxx_cv_func_sincosl_use=no
25049 fi
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051       ac_ext=c
25052 ac_cpp='$CPP $CPPFLAGS'
25053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25056
25057
25058 fi
25059
25060   fi
25061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25062 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25063
25064   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25065     for ac_func in sincosl
25066 do :
25067   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25068 if test "x$ac_cv_func_sincosl" = x""yes; then :
25069   cat >>confdefs.h <<_ACEOF
25070 #define HAVE_SINCOSL 1
25071 _ACEOF
25072
25073 fi
25074 done
25075
25076   else
25077
25078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25079 $as_echo_n "checking for _sincosl declaration... " >&6; }
25080   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25081     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25082   $as_echo_n "(cached) " >&6
25083 else
25084
25085
25086       ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091
25092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h.  */
25094 #include <math.h>
25095 int
25096 main ()
25097 {
25098  _sincosl(0, 0, 0);
25099   ;
25100   return 0;
25101 }
25102 _ACEOF
25103 if ac_fn_cxx_try_compile "$LINENO"; then :
25104   glibcxx_cv_func__sincosl_use=yes
25105 else
25106   glibcxx_cv_func__sincosl_use=no
25107 fi
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109       ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25114
25115
25116 fi
25117
25118   fi
25119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25120 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25121
25122     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25123       for ac_func in _sincosl
25124 do :
25125   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25126 if test "x$ac_cv_func__sincosl" = x""yes; then :
25127   cat >>confdefs.h <<_ACEOF
25128 #define HAVE__SINCOSL 1
25129 _ACEOF
25130
25131 fi
25132 done
25133
25134     fi
25135   fi
25136
25137
25138
25139
25140
25141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25142 $as_echo_n "checking for finitel declaration... " >&6; }
25143   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25144     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25145   $as_echo_n "(cached) " >&6
25146 else
25147
25148
25149       ac_ext=cpp
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25154
25155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h.  */
25157 #include <math.h>
25158                       #ifdef HAVE_IEEEFP_H
25159                       #include <ieeefp.h>
25160                       #endif
25161
25162 int
25163 main ()
25164 {
25165  finitel(0);
25166   ;
25167   return 0;
25168 }
25169 _ACEOF
25170 if ac_fn_cxx_try_compile "$LINENO"; then :
25171   glibcxx_cv_func_finitel_use=yes
25172 else
25173   glibcxx_cv_func_finitel_use=no
25174 fi
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176       ac_ext=c
25177 ac_cpp='$CPP $CPPFLAGS'
25178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25181
25182
25183 fi
25184
25185   fi
25186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25187 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25188
25189   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25190     for ac_func in finitel
25191 do :
25192   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25193 if test "x$ac_cv_func_finitel" = x""yes; then :
25194   cat >>confdefs.h <<_ACEOF
25195 #define HAVE_FINITEL 1
25196 _ACEOF
25197
25198 fi
25199 done
25200
25201   else
25202
25203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25204 $as_echo_n "checking for _finitel declaration... " >&6; }
25205   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25206     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25207   $as_echo_n "(cached) " >&6
25208 else
25209
25210
25211       ac_ext=cpp
25212 ac_cpp='$CXXCPP $CPPFLAGS'
25213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25216
25217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25218 /* end confdefs.h.  */
25219 #include <math.h>
25220                       #ifdef HAVE_IEEEFP_H
25221                       #include <ieeefp.h>
25222                       #endif
25223
25224 int
25225 main ()
25226 {
25227  _finitel(0);
25228   ;
25229   return 0;
25230 }
25231 _ACEOF
25232 if ac_fn_cxx_try_compile "$LINENO"; then :
25233   glibcxx_cv_func__finitel_use=yes
25234 else
25235   glibcxx_cv_func__finitel_use=no
25236 fi
25237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25238       ac_ext=c
25239 ac_cpp='$CPP $CPPFLAGS'
25240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25243
25244
25245 fi
25246
25247   fi
25248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25249 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25250
25251     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25252       for ac_func in _finitel
25253 do :
25254   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25255 if test "x$ac_cv_func__finitel" = x""yes; then :
25256   cat >>confdefs.h <<_ACEOF
25257 #define HAVE__FINITEL 1
25258 _ACEOF
25259
25260 fi
25261 done
25262
25263     fi
25264   fi
25265
25266
25267
25268
25269   LIBS="$ac_save_LIBS"
25270   CXXFLAGS="$ac_save_CXXFLAGS"
25271
25272
25273   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25274   ac_save_CXXFLAGS="$CXXFLAGS"
25275   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25276
25277
25278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25279 $as_echo_n "checking for strtold declaration... " >&6; }
25280   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25281     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25282   $as_echo_n "(cached) " >&6
25283 else
25284
25285
25286       ac_ext=cpp
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291
25292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h.  */
25294 #include <stdlib.h>
25295 int
25296 main ()
25297 {
25298  strtold(0, 0);
25299   ;
25300   return 0;
25301 }
25302 _ACEOF
25303 if ac_fn_cxx_try_compile "$LINENO"; then :
25304   glibcxx_cv_func_strtold_use=yes
25305 else
25306   glibcxx_cv_func_strtold_use=no
25307 fi
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25309       ac_ext=c
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25314
25315
25316 fi
25317
25318   fi
25319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25320 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25321   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25322     for ac_func in strtold
25323 do :
25324   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25325 if test "x$ac_cv_func_strtold" = x""yes; then :
25326   cat >>confdefs.h <<_ACEOF
25327 #define HAVE_STRTOLD 1
25328 _ACEOF
25329
25330 fi
25331 done
25332
25333   fi
25334
25335
25336
25337
25338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25339 $as_echo_n "checking for strtof declaration... " >&6; }
25340   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25341     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25342   $as_echo_n "(cached) " >&6
25343 else
25344
25345
25346       ac_ext=cpp
25347 ac_cpp='$CXXCPP $CPPFLAGS'
25348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25351
25352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25353 /* end confdefs.h.  */
25354 #include <stdlib.h>
25355 int
25356 main ()
25357 {
25358  strtof(0, 0);
25359   ;
25360   return 0;
25361 }
25362 _ACEOF
25363 if ac_fn_cxx_try_compile "$LINENO"; then :
25364   glibcxx_cv_func_strtof_use=yes
25365 else
25366   glibcxx_cv_func_strtof_use=no
25367 fi
25368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25369       ac_ext=c
25370 ac_cpp='$CPP $CPPFLAGS'
25371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25374
25375
25376 fi
25377
25378   fi
25379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25380 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25381   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25382     for ac_func in strtof
25383 do :
25384   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25385 if test "x$ac_cv_func_strtof" = x""yes; then :
25386   cat >>confdefs.h <<_ACEOF
25387 #define HAVE_STRTOF 1
25388 _ACEOF
25389
25390 fi
25391 done
25392
25393   fi
25394
25395
25396
25397
25398   CXXFLAGS="$ac_save_CXXFLAGS"
25399
25400
25401   # For /dev/random and /dev/urandom for TR1.
25402
25403
25404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25405 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25406   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25407   $as_echo_n "(cached) " >&6
25408 else
25409
25410     if test -r /dev/random && test -r /dev/urandom; then
25411       glibcxx_cv_random_tr1=yes;
25412     else
25413       glibcxx_cv_random_tr1=no;
25414     fi
25415
25416 fi
25417
25418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25419 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25420
25421   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25422
25423 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25424
25425   fi
25426
25427
25428
25429   # For TLS support.
25430
25431
25432    # Check whether --enable-tls was given.
25433 if test "${enable_tls+set}" = set; then :
25434   enableval=$enable_tls;
25435       case "$enableval" in
25436        yes|no) ;;
25437        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25438       esac
25439
25440 else
25441   enable_tls=yes
25442 fi
25443
25444
25445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25446 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25447 if test "${gcc_cv_have_tls+set}" = set; then :
25448   $as_echo_n "(cached) " >&6
25449 else
25450
25451     if test "$cross_compiling" = yes; then :
25452                 if test x$gcc_no_link = xyes; then
25453   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25454 fi
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h.  */
25457 __thread int a; int b; int main() { return a = b; }
25458 _ACEOF
25459 if ac_fn_c_try_link "$LINENO"; then :
25460   chktls_save_LDFLAGS="$LDFLAGS"
25461                           case $host in
25462             *-*-linux*)
25463               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25464               ;;
25465           esac
25466           chktls_save_CFLAGS="$CFLAGS"
25467           CFLAGS="-fPIC $CFLAGS"
25468                   if test x$gcc_no_link = xyes; then
25469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25470 fi
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h.  */
25473 int f() { return 0; }
25474 _ACEOF
25475 if ac_fn_c_try_link "$LINENO"; then :
25476   if test x$gcc_no_link = xyes; then
25477   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25478 fi
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h.  */
25481 __thread int a; int b; int f() { return a = b; }
25482 _ACEOF
25483 if ac_fn_c_try_link "$LINENO"; then :
25484   gcc_cv_have_tls=yes
25485 else
25486   gcc_cv_have_tls=no
25487 fi
25488 rm -f core conftest.err conftest.$ac_objext \
25489     conftest$ac_exeext conftest.$ac_ext
25490 else
25491   gcc_cv_have_tls=yes
25492 fi
25493 rm -f core conftest.err conftest.$ac_objext \
25494     conftest$ac_exeext conftest.$ac_ext
25495           CFLAGS="$chktls_save_CFLAGS"
25496           LDFLAGS="$chktls_save_LDFLAGS"
25497 else
25498   gcc_cv_have_tls=no
25499 fi
25500 rm -f core conftest.err conftest.$ac_objext \
25501     conftest$ac_exeext conftest.$ac_ext
25502
25503
25504 else
25505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25506 /* end confdefs.h.  */
25507 __thread int a; int b; int main() { return a = b; }
25508 _ACEOF
25509 if ac_fn_c_try_run "$LINENO"; then :
25510                       chktls_save_LDFLAGS="$LDFLAGS"
25511       LDFLAGS="-static $LDFLAGS"
25512       if test x$gcc_no_link = xyes; then
25513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25514 fi
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h.  */
25517 int main() { return 0; }
25518 _ACEOF
25519 if ac_fn_c_try_link "$LINENO"; then :
25520   if test "$cross_compiling" = yes; then :
25521   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25523 as_fn_error "cannot run test program while cross compiling
25524 See \`config.log' for more details." "$LINENO" 5; }
25525 else
25526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25527 /* end confdefs.h.  */
25528 __thread int a; int b; int main() { return a = b; }
25529 _ACEOF
25530 if ac_fn_c_try_run "$LINENO"; then :
25531   gcc_cv_have_tls=yes
25532 else
25533   gcc_cv_have_tls=no
25534 fi
25535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25536   conftest.$ac_objext conftest.beam conftest.$ac_ext
25537 fi
25538
25539 else
25540   gcc_cv_have_tls=yes
25541 fi
25542 rm -f core conftest.err conftest.$ac_objext \
25543     conftest$ac_exeext conftest.$ac_ext
25544       LDFLAGS="$chktls_save_LDFLAGS"
25545       if test $gcc_cv_have_tls = yes; then
25546                                                 chktls_save_CFLAGS="$CFLAGS"
25547         thread_CFLAGS=failed
25548         for flag in '' '-pthread' '-lpthread'; do
25549           CFLAGS="$flag $chktls_save_CFLAGS"
25550           if test x$gcc_no_link = xyes; then
25551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25552 fi
25553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h.  */
25555 #include <pthread.h>
25556                 void *g(void *d) { return NULL; }
25557 int
25558 main ()
25559 {
25560 pthread_t t; pthread_create(&t,NULL,g,NULL);
25561   ;
25562   return 0;
25563 }
25564 _ACEOF
25565 if ac_fn_c_try_link "$LINENO"; then :
25566   thread_CFLAGS="$flag"
25567 fi
25568 rm -f core conftest.err conftest.$ac_objext \
25569     conftest$ac_exeext conftest.$ac_ext
25570           if test "X$thread_CFLAGS" != Xfailed; then
25571             break
25572           fi
25573         done
25574         CFLAGS="$chktls_save_CFLAGS"
25575         if test "X$thread_CFLAGS" != Xfailed; then
25576           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25577                                                   if test "$cross_compiling" = yes; then :
25578   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25580 as_fn_error "cannot run test program while cross compiling
25581 See \`config.log' for more details." "$LINENO" 5; }
25582 else
25583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25584 /* end confdefs.h.  */
25585 #include <pthread.h>
25586                 __thread int a;
25587                 static int *volatile a_in_other_thread;
25588                 static void *
25589                 thread_func (void *arg)
25590                 {
25591                   a_in_other_thread = &a;
25592                   return (void *)0;
25593                 }
25594 int
25595 main ()
25596 {
25597 pthread_t thread;
25598                 void *thread_retval;
25599                 int *volatile a_in_main_thread;
25600                 a_in_main_thread = &a;
25601                 if (pthread_create (&thread, (pthread_attr_t *)0,
25602                                     thread_func, (void *)0))
25603                   return 0;
25604                 if (pthread_join (thread, &thread_retval))
25605                   return 0;
25606                 return (a_in_other_thread == a_in_main_thread);
25607   ;
25608   return 0;
25609 }
25610 _ACEOF
25611 if ac_fn_c_try_run "$LINENO"; then :
25612   gcc_cv_have_tls=yes
25613 else
25614   gcc_cv_have_tls=no
25615 fi
25616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25617   conftest.$ac_objext conftest.beam conftest.$ac_ext
25618 fi
25619
25620           CFLAGS="$chktls_save_CFLAGS"
25621         fi
25622       fi
25623 else
25624   gcc_cv_have_tls=no
25625 fi
25626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25627   conftest.$ac_objext conftest.beam conftest.$ac_ext
25628 fi
25629
25630 fi
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25632 $as_echo "$gcc_cv_have_tls" >&6; }
25633   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25634
25635 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25636
25637   fi
25638
25639   # For iconv support.
25640
25641       if test "X$prefix" = "XNONE"; then
25642     acl_final_prefix="$ac_default_prefix"
25643   else
25644     acl_final_prefix="$prefix"
25645   fi
25646   if test "X$exec_prefix" = "XNONE"; then
25647     acl_final_exec_prefix='${prefix}'
25648   else
25649     acl_final_exec_prefix="$exec_prefix"
25650   fi
25651   acl_save_prefix="$prefix"
25652   prefix="$acl_final_prefix"
25653   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25654   prefix="$acl_save_prefix"
25655
25656
25657 # Check whether --with-gnu-ld was given.
25658 if test "${with_gnu_ld+set}" = set; then :
25659   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25660 else
25661   with_gnu_ld=no
25662 fi
25663
25664 # Prepare PATH_SEPARATOR.
25665 # The user is always right.
25666 if test "${PATH_SEPARATOR+set}" != set; then
25667   echo "#! /bin/sh" >conf$$.sh
25668   echo  "exit 0"   >>conf$$.sh
25669   chmod +x conf$$.sh
25670   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25671     PATH_SEPARATOR=';'
25672   else
25673     PATH_SEPARATOR=:
25674   fi
25675   rm -f conf$$.sh
25676 fi
25677 ac_prog=ld
25678 if test "$GCC" = yes; then
25679   # Check if gcc -print-prog-name=ld gives a path.
25680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25681 $as_echo_n "checking for ld used by GCC... " >&6; }
25682   case $host in
25683   *-*-mingw*)
25684     # gcc leaves a trailing carriage return which upsets mingw
25685     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25686   *)
25687     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25688   esac
25689   case $ac_prog in
25690     # Accept absolute paths.
25691     [\\/]* | [A-Za-z]:[\\/]*)
25692       re_direlt='/[^/][^/]*/\.\./'
25693       # Canonicalize the path of ld
25694       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25695       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25696         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25697       done
25698       test -z "$LD" && LD="$ac_prog"
25699       ;;
25700   "")
25701     # If it fails, then pretend we aren't using GCC.
25702     ac_prog=ld
25703     ;;
25704   *)
25705     # If it is relative, then search for the first ld in PATH.
25706     with_gnu_ld=unknown
25707     ;;
25708   esac
25709 elif test "$with_gnu_ld" = yes; then
25710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25711 $as_echo_n "checking for GNU ld... " >&6; }
25712 else
25713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25714 $as_echo_n "checking for non-GNU ld... " >&6; }
25715 fi
25716 if test "${acl_cv_path_LD+set}" = set; then :
25717   $as_echo_n "(cached) " >&6
25718 else
25719   if test -z "$LD"; then
25720   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25721   for ac_dir in $PATH; do
25722     test -z "$ac_dir" && ac_dir=.
25723     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25724       acl_cv_path_LD="$ac_dir/$ac_prog"
25725       # Check to see if the program is GNU ld.  I'd rather use --version,
25726       # but apparently some GNU ld's only accept -v.
25727       # Break only if it was the GNU/non-GNU ld that we prefer.
25728       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25729         test "$with_gnu_ld" != no && break
25730       else
25731         test "$with_gnu_ld" != yes && break
25732       fi
25733     fi
25734   done
25735   IFS="$ac_save_ifs"
25736 else
25737   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25738 fi
25739 fi
25740
25741 LD="$acl_cv_path_LD"
25742 if test -n "$LD"; then
25743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25744 $as_echo "$LD" >&6; }
25745 else
25746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25747 $as_echo "no" >&6; }
25748 fi
25749 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25751 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25752 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25753   $as_echo_n "(cached) " >&6
25754 else
25755   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25756 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25757   acl_cv_prog_gnu_ld=yes
25758 else
25759   acl_cv_prog_gnu_ld=no
25760 fi
25761 fi
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25763 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25764 with_gnu_ld=$acl_cv_prog_gnu_ld
25765
25766
25767
25768                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25769 $as_echo_n "checking for shared library run path origin... " >&6; }
25770 if test "${acl_cv_rpath+set}" = set; then :
25771   $as_echo_n "(cached) " >&6
25772 else
25773
25774     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25775     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25776     . ./conftest.sh
25777     rm -f ./conftest.sh
25778     acl_cv_rpath=done
25779
25780 fi
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25782 $as_echo "$acl_cv_rpath" >&6; }
25783   wl="$acl_cv_wl"
25784   libext="$acl_cv_libext"
25785   shlibext="$acl_cv_shlibext"
25786   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25787   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25788   hardcode_direct="$acl_cv_hardcode_direct"
25789   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25790     # Check whether --enable-rpath was given.
25791 if test "${enable_rpath+set}" = set; then :
25792   enableval=$enable_rpath; :
25793 else
25794   enable_rpath=yes
25795 fi
25796
25797
25798
25799
25800
25801
25802
25803
25804     use_additional=yes
25805
25806   acl_save_prefix="$prefix"
25807   prefix="$acl_final_prefix"
25808   acl_save_exec_prefix="$exec_prefix"
25809   exec_prefix="$acl_final_exec_prefix"
25810
25811     eval additional_includedir=\"$includedir\"
25812     eval additional_libdir=\"$libdir\"
25813
25814   exec_prefix="$acl_save_exec_prefix"
25815   prefix="$acl_save_prefix"
25816
25817
25818 # Check whether --with-libiconv-prefix was given.
25819 if test "${with_libiconv_prefix+set}" = set; then :
25820   withval=$with_libiconv_prefix;
25821     if test "X$withval" = "Xno"; then
25822       use_additional=no
25823     else
25824       if test "X$withval" = "X"; then
25825
25826   acl_save_prefix="$prefix"
25827   prefix="$acl_final_prefix"
25828   acl_save_exec_prefix="$exec_prefix"
25829   exec_prefix="$acl_final_exec_prefix"
25830
25831           eval additional_includedir=\"$includedir\"
25832           eval additional_libdir=\"$libdir\"
25833
25834   exec_prefix="$acl_save_exec_prefix"
25835   prefix="$acl_save_prefix"
25836
25837       else
25838         additional_includedir="$withval/include"
25839         additional_libdir="$withval/lib"
25840       fi
25841     fi
25842
25843 fi
25844
25845       LIBICONV=
25846   LTLIBICONV=
25847   INCICONV=
25848   rpathdirs=
25849   ltrpathdirs=
25850   names_already_handled=
25851   names_next_round='iconv '
25852   while test -n "$names_next_round"; do
25853     names_this_round="$names_next_round"
25854     names_next_round=
25855     for name in $names_this_round; do
25856       already_handled=
25857       for n in $names_already_handled; do
25858         if test "$n" = "$name"; then
25859           already_handled=yes
25860           break
25861         fi
25862       done
25863       if test -z "$already_handled"; then
25864         names_already_handled="$names_already_handled $name"
25865                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25866         eval value=\"\$HAVE_LIB$uppername\"
25867         if test -n "$value"; then
25868           if test "$value" = yes; then
25869             eval value=\"\$LIB$uppername\"
25870             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25871             eval value=\"\$LTLIB$uppername\"
25872             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25873           else
25874                                     :
25875           fi
25876         else
25877                               found_dir=
25878           found_la=
25879           found_so=
25880           found_a=
25881           if test $use_additional = yes; then
25882             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25883               found_dir="$additional_libdir"
25884               found_so="$additional_libdir/lib$name.$shlibext"
25885               if test -f "$additional_libdir/lib$name.la"; then
25886                 found_la="$additional_libdir/lib$name.la"
25887               fi
25888             else
25889               if test -f "$additional_libdir/lib$name.$libext"; then
25890                 found_dir="$additional_libdir"
25891                 found_a="$additional_libdir/lib$name.$libext"
25892                 if test -f "$additional_libdir/lib$name.la"; then
25893                   found_la="$additional_libdir/lib$name.la"
25894                 fi
25895               fi
25896             fi
25897           fi
25898           if test "X$found_dir" = "X"; then
25899             for x in $LDFLAGS $LTLIBICONV; do
25900
25901   acl_save_prefix="$prefix"
25902   prefix="$acl_final_prefix"
25903   acl_save_exec_prefix="$exec_prefix"
25904   exec_prefix="$acl_final_exec_prefix"
25905   eval x=\"$x\"
25906   exec_prefix="$acl_save_exec_prefix"
25907   prefix="$acl_save_prefix"
25908
25909               case "$x" in
25910                 -L*)
25911                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25912                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25913                     found_dir="$dir"
25914                     found_so="$dir/lib$name.$shlibext"
25915                     if test -f "$dir/lib$name.la"; then
25916                       found_la="$dir/lib$name.la"
25917                     fi
25918                   else
25919                     if test -f "$dir/lib$name.$libext"; then
25920                       found_dir="$dir"
25921                       found_a="$dir/lib$name.$libext"
25922                       if test -f "$dir/lib$name.la"; then
25923                         found_la="$dir/lib$name.la"
25924                       fi
25925                     fi
25926                   fi
25927                   ;;
25928               esac
25929               if test "X$found_dir" != "X"; then
25930                 break
25931               fi
25932             done
25933           fi
25934           if test "X$found_dir" != "X"; then
25935                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25936             if test "X$found_so" != "X"; then
25937                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25938                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25939               else
25940                                                                                 haveit=
25941                 for x in $ltrpathdirs; do
25942                   if test "X$x" = "X$found_dir"; then
25943                     haveit=yes
25944                     break
25945                   fi
25946                 done
25947                 if test -z "$haveit"; then
25948                   ltrpathdirs="$ltrpathdirs $found_dir"
25949                 fi
25950                                 if test "$hardcode_direct" = yes; then
25951                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25952                 else
25953                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25954                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25955                                                             haveit=
25956                     for x in $rpathdirs; do
25957                       if test "X$x" = "X$found_dir"; then
25958                         haveit=yes
25959                         break
25960                       fi
25961                     done
25962                     if test -z "$haveit"; then
25963                       rpathdirs="$rpathdirs $found_dir"
25964                     fi
25965                   else
25966                                                                                 haveit=
25967                     for x in $LDFLAGS $LIBICONV; do
25968
25969   acl_save_prefix="$prefix"
25970   prefix="$acl_final_prefix"
25971   acl_save_exec_prefix="$exec_prefix"
25972   exec_prefix="$acl_final_exec_prefix"
25973   eval x=\"$x\"
25974   exec_prefix="$acl_save_exec_prefix"
25975   prefix="$acl_save_prefix"
25976
25977                       if test "X$x" = "X-L$found_dir"; then
25978                         haveit=yes
25979                         break
25980                       fi
25981                     done
25982                     if test -z "$haveit"; then
25983                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25984                     fi
25985                     if test "$hardcode_minus_L" != no; then
25986                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25987                     else
25988                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25989                     fi
25990                   fi
25991                 fi
25992               fi
25993             else
25994               if test "X$found_a" != "X"; then
25995                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25996               else
25997                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25998               fi
25999             fi
26000                         additional_includedir=
26001             case "$found_dir" in
26002               */lib | */lib/)
26003                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26004                 additional_includedir="$basedir/include"
26005                 ;;
26006             esac
26007             if test "X$additional_includedir" != "X"; then
26008                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26009                 haveit=
26010                 if test "X$additional_includedir" = "X/usr/local/include"; then
26011                   if test -n "$GCC"; then
26012                     case $host_os in
26013                       linux*) haveit=yes;;
26014                     esac
26015                   fi
26016                 fi
26017                 if test -z "$haveit"; then
26018                   for x in $CPPFLAGS $INCICONV; do
26019
26020   acl_save_prefix="$prefix"
26021   prefix="$acl_final_prefix"
26022   acl_save_exec_prefix="$exec_prefix"
26023   exec_prefix="$acl_final_exec_prefix"
26024   eval x=\"$x\"
26025   exec_prefix="$acl_save_exec_prefix"
26026   prefix="$acl_save_prefix"
26027
26028                     if test "X$x" = "X-I$additional_includedir"; then
26029                       haveit=yes
26030                       break
26031                     fi
26032                   done
26033                   if test -z "$haveit"; then
26034                     if test -d "$additional_includedir"; then
26035                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26036                     fi
26037                   fi
26038                 fi
26039               fi
26040             fi
26041                         if test -n "$found_la"; then
26042                                                         save_libdir="$libdir"
26043               case "$found_la" in
26044                 */* | *\\*) . "$found_la" ;;
26045                 *) . "./$found_la" ;;
26046               esac
26047               libdir="$save_libdir"
26048                             for dep in $dependency_libs; do
26049                 case "$dep" in
26050                   -L*)
26051                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26052                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26053                       haveit=
26054                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26055                         if test -n "$GCC"; then
26056                           case $host_os in
26057                             linux*) haveit=yes;;
26058                           esac
26059                         fi
26060                       fi
26061                       if test -z "$haveit"; then
26062                         haveit=
26063                         for x in $LDFLAGS $LIBICONV; do
26064
26065   acl_save_prefix="$prefix"
26066   prefix="$acl_final_prefix"
26067   acl_save_exec_prefix="$exec_prefix"
26068   exec_prefix="$acl_final_exec_prefix"
26069   eval x=\"$x\"
26070   exec_prefix="$acl_save_exec_prefix"
26071   prefix="$acl_save_prefix"
26072
26073                           if test "X$x" = "X-L$additional_libdir"; then
26074                             haveit=yes
26075                             break
26076                           fi
26077                         done
26078                         if test -z "$haveit"; then
26079                           if test -d "$additional_libdir"; then
26080                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26081                           fi
26082                         fi
26083                         haveit=
26084                         for x in $LDFLAGS $LTLIBICONV; do
26085
26086   acl_save_prefix="$prefix"
26087   prefix="$acl_final_prefix"
26088   acl_save_exec_prefix="$exec_prefix"
26089   exec_prefix="$acl_final_exec_prefix"
26090   eval x=\"$x\"
26091   exec_prefix="$acl_save_exec_prefix"
26092   prefix="$acl_save_prefix"
26093
26094                           if test "X$x" = "X-L$additional_libdir"; then
26095                             haveit=yes
26096                             break
26097                           fi
26098                         done
26099                         if test -z "$haveit"; then
26100                           if test -d "$additional_libdir"; then
26101                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26102                           fi
26103                         fi
26104                       fi
26105                     fi
26106                     ;;
26107                   -R*)
26108                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26109                     if test "$enable_rpath" != no; then
26110                                                                   haveit=
26111                       for x in $rpathdirs; do
26112                         if test "X$x" = "X$dir"; then
26113                           haveit=yes
26114                           break
26115                         fi
26116                       done
26117                       if test -z "$haveit"; then
26118                         rpathdirs="$rpathdirs $dir"
26119                       fi
26120                                                                   haveit=
26121                       for x in $ltrpathdirs; do
26122                         if test "X$x" = "X$dir"; then
26123                           haveit=yes
26124                           break
26125                         fi
26126                       done
26127                       if test -z "$haveit"; then
26128                         ltrpathdirs="$ltrpathdirs $dir"
26129                       fi
26130                     fi
26131                     ;;
26132                   -l*)
26133                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26134                     ;;
26135                   *.la)
26136                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26137                     ;;
26138                   *)
26139                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26140                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26141                     ;;
26142                 esac
26143               done
26144             fi
26145           else
26146                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26147             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26148           fi
26149         fi
26150       fi
26151     done
26152   done
26153   if test "X$rpathdirs" != "X"; then
26154     if test -n "$hardcode_libdir_separator"; then
26155                         alldirs=
26156       for found_dir in $rpathdirs; do
26157         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26158       done
26159             acl_save_libdir="$libdir"
26160       libdir="$alldirs"
26161       eval flag=\"$hardcode_libdir_flag_spec\"
26162       libdir="$acl_save_libdir"
26163       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26164     else
26165             for found_dir in $rpathdirs; do
26166         acl_save_libdir="$libdir"
26167         libdir="$found_dir"
26168         eval flag=\"$hardcode_libdir_flag_spec\"
26169         libdir="$acl_save_libdir"
26170         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26171       done
26172     fi
26173   fi
26174   if test "X$ltrpathdirs" != "X"; then
26175             for found_dir in $ltrpathdirs; do
26176       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26177     done
26178   fi
26179
26180
26181
26182
26183
26184
26185
26186           am_save_CPPFLAGS="$CPPFLAGS"
26187
26188   for element in $INCICONV; do
26189     haveit=
26190     for x in $CPPFLAGS; do
26191
26192   acl_save_prefix="$prefix"
26193   prefix="$acl_final_prefix"
26194   acl_save_exec_prefix="$exec_prefix"
26195   exec_prefix="$acl_final_exec_prefix"
26196   eval x=\"$x\"
26197   exec_prefix="$acl_save_exec_prefix"
26198   prefix="$acl_save_prefix"
26199
26200       if test "X$x" = "X$element"; then
26201         haveit=yes
26202         break
26203       fi
26204     done
26205     if test -z "$haveit"; then
26206       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26207     fi
26208   done
26209
26210
26211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26212 $as_echo_n "checking for iconv... " >&6; }
26213 if test "${am_cv_func_iconv+set}" = set; then :
26214   $as_echo_n "(cached) " >&6
26215 else
26216
26217     am_cv_func_iconv="no, consider installing GNU libiconv"
26218     am_cv_lib_iconv=no
26219     if test x$gcc_no_link = xyes; then
26220   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26221 fi
26222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h.  */
26224 #include <stdlib.h>
26225 #include <iconv.h>
26226 int
26227 main ()
26228 {
26229 iconv_t cd = iconv_open("","");
26230        iconv(cd,NULL,NULL,NULL,NULL);
26231        iconv_close(cd);
26232   ;
26233   return 0;
26234 }
26235 _ACEOF
26236 if ac_fn_c_try_link "$LINENO"; then :
26237   am_cv_func_iconv=yes
26238 fi
26239 rm -f core conftest.err conftest.$ac_objext \
26240     conftest$ac_exeext conftest.$ac_ext
26241     if test "$am_cv_func_iconv" != yes; then
26242       am_save_LIBS="$LIBS"
26243       LIBS="$LIBS $LIBICONV"
26244       if test x$gcc_no_link = xyes; then
26245   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26246 fi
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h.  */
26249 #include <stdlib.h>
26250 #include <iconv.h>
26251 int
26252 main ()
26253 {
26254 iconv_t cd = iconv_open("","");
26255          iconv(cd,NULL,NULL,NULL,NULL);
26256          iconv_close(cd);
26257   ;
26258   return 0;
26259 }
26260 _ACEOF
26261 if ac_fn_c_try_link "$LINENO"; then :
26262   am_cv_lib_iconv=yes
26263         am_cv_func_iconv=yes
26264 fi
26265 rm -f core conftest.err conftest.$ac_objext \
26266     conftest$ac_exeext conftest.$ac_ext
26267       LIBS="$am_save_LIBS"
26268     fi
26269
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26272 $as_echo "$am_cv_func_iconv" >&6; }
26273   if test "$am_cv_func_iconv" = yes; then
26274
26275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26276
26277   fi
26278   if test "$am_cv_lib_iconv" = yes; then
26279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26280 $as_echo_n "checking how to link with libiconv... " >&6; }
26281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26282 $as_echo "$LIBICONV" >&6; }
26283   else
26284             CPPFLAGS="$am_save_CPPFLAGS"
26285     LIBICONV=
26286     LTLIBICONV=
26287   fi
26288
26289
26290
26291   if test "$am_cv_func_iconv" = yes; then
26292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26293 $as_echo_n "checking for iconv declaration... " >&6; }
26294     if test "${am_cv_proto_iconv+set}" = set; then :
26295   $as_echo_n "(cached) " >&6
26296 else
26297
26298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h.  */
26300
26301 #include <stdlib.h>
26302 #include <iconv.h>
26303 extern
26304 #ifdef __cplusplus
26305 "C"
26306 #endif
26307 #if defined(__STDC__) || defined(__cplusplus)
26308 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26309 #else
26310 size_t iconv();
26311 #endif
26312
26313 int
26314 main ()
26315 {
26316
26317   ;
26318   return 0;
26319 }
26320 _ACEOF
26321 if ac_fn_c_try_compile "$LINENO"; then :
26322   am_cv_proto_iconv_arg1=""
26323 else
26324   am_cv_proto_iconv_arg1="const"
26325 fi
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
26328 fi
26329
26330     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26332          }$am_cv_proto_iconv" >&5
26333 $as_echo "${ac_t:-
26334          }$am_cv_proto_iconv" >&6; }
26335
26336 cat >>confdefs.h <<_ACEOF
26337 #define ICONV_CONST $am_cv_proto_iconv_arg1
26338 _ACEOF
26339
26340   fi
26341
26342
26343 else
26344
26345   # This lets us hard-code the functionality we know we'll have in the cross
26346   # target environment.  "Let" is a sugar-coated word placed on an especially
26347   # dull and tedious hack, actually.
26348   #
26349   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26350   # that involve linking, can't be used:
26351   #    "cannot open sim-crt0.o"
26352   #    "cannot open crt0.o"
26353   # etc.  All this is because there currently exists no unified, consistent
26354   # way for top level CC information to be passed down to target directories:
26355   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26356   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26357   # crosses can be removed.
26358
26359   # If Canadian cross, then don't pick up tools from the build directory.
26360   # Used only in GLIBCXX_EXPORT_INCLUDES.
26361   if test -n "$with_cross_host" &&
26362      test x"$build_alias" != x"$with_cross_host" &&
26363      test x"$build" != x"$target";
26364   then
26365     CANADIAN=yes
26366   else
26367     CANADIAN=no
26368   fi
26369
26370   # Construct crosses by hand, eliminating bits that need ld...
26371   # GLIBCXX_CHECK_MATH_SUPPORT
26372
26373   # First, test for "known" system libraries.  We may be using newlib even
26374   # on a hosted environment.
26375   if test "x${with_newlib}" = "xyes"; then
26376     os_include_dir="os/newlib"
26377     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26378
26379
26380     # GLIBCXX_CHECK_STDLIB_SUPPORT
26381     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26382
26383
26384     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26385
26386     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26387
26388     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26389
26390     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26391
26392     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26393
26394     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26395
26396     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26397
26398     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26399
26400     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26401
26402     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26403
26404     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26405
26406     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26407
26408     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26409
26410     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26411
26412     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26413
26414     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26415
26416     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26417
26418     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26419
26420     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26421
26422     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26423
26424     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26425
26426     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26427
26428
26429     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26430
26431   else
26432
26433 # Base decisions on target environment.
26434 case "${host}" in
26435   arm*-*-symbianelf*)
26436     # This is a freestanding configuration; there is nothing to do here.
26437     ;;
26438
26439   mips*-sde-elf*)
26440     # These definitions are for the SDE C library rather than newlib.
26441     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26442
26443
26444   # All these tests are for C++; save the language and the compiler flags.
26445   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26446   # found in GLIBCXX_CONFIGURE.
26447
26448   ac_ext=cpp
26449 ac_cpp='$CXXCPP $CPPFLAGS'
26450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26453
26454   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26455   ac_save_CXXFLAGS="$CXXFLAGS"
26456
26457   # Check for maintainer-mode bits.
26458   if test x"$USE_MAINTAINER_MODE" = xno; then
26459     WERROR=''
26460   else
26461     WERROR='-Werror'
26462   fi
26463
26464   # Check for -ffunction-sections -fdata-sections
26465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26466 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26467   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26469 /* end confdefs.h.  */
26470 int foo; void bar() { };
26471 int
26472 main ()
26473 {
26474
26475   ;
26476   return 0;
26477 }
26478 _ACEOF
26479 if ac_fn_cxx_try_compile "$LINENO"; then :
26480   ac_fdsections=yes
26481 else
26482   ac_fdsections=no
26483 fi
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485   if test "$ac_test_CXXFLAGS" = set; then
26486     CXXFLAGS="$ac_save_CXXFLAGS"
26487   else
26488     # this is the suspicious part
26489     CXXFLAGS=''
26490   fi
26491   if test x"$ac_fdsections" = x"yes"; then
26492     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26493   fi
26494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26495 $as_echo "$ac_fdsections" >&6; }
26496
26497   ac_ext=c
26498 ac_cpp='$CPP $CPPFLAGS'
26499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26502
26503
26504
26505
26506
26507   # If we're not using GNU ld, then there's no point in even trying these
26508   # tests.  Check for that first.  We should have already tested for gld
26509   # by now (in libtool), but require it now just to be safe...
26510   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26511   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26512
26513
26514
26515   # The name set by libtool depends on the version of libtool.  Shame on us
26516   # for depending on an impl detail, but c'est la vie.  Older versions used
26517   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26518   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26519   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26520   # set (hence we're using an older libtool), then set it.
26521   if test x${with_gnu_ld+set} != xset; then
26522     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26523       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26524       with_gnu_ld=no
26525     else
26526       with_gnu_ld=$ac_cv_prog_gnu_ld
26527     fi
26528   fi
26529
26530   # Start by getting the version number.  I think the libtool test already
26531   # does some of this, but throws away the result.
26532   glibcxx_ld_is_gold=no
26533   if test x"$with_gnu_ld" = x"yes"; then
26534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26535 $as_echo_n "checking for ld version... " >&6; }
26536
26537     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26538       glibcxx_ld_is_gold=yes
26539     fi
26540     ldver=`$LD --version 2>/dev/null |
26541            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
26542
26543     glibcxx_gnu_ld_version=`echo $ldver | \
26544            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26546 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26547   fi
26548
26549   # Set --gc-sections.
26550   glibcxx_have_gc_sections=no
26551   if test "$glibcxx_ld_is_gold" = "yes"; then
26552     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26553       glibcxx_have_gc_sections=yes
26554     fi
26555   else
26556     glibcxx_gcsections_min_ld=21602
26557     if test x"$with_gnu_ld" = x"yes" &&
26558         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26559       glibcxx_have_gc_sections=yes
26560     fi
26561   fi
26562   if test "$glibcxx_have_gc_sections" = "yes"; then
26563     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26564     # NB: This flag only works reliably after 2.16.1. Configure tests
26565     # for this are difficult, so hard wire a value that should work.
26566
26567     ac_test_CFLAGS="${CFLAGS+set}"
26568     ac_save_CFLAGS="$CFLAGS"
26569     CFLAGS='-Wl,--gc-sections'
26570
26571     # Check for -Wl,--gc-sections
26572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26573 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26574     if test x$gcc_no_link = xyes; then
26575   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26576 fi
26577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h.  */
26579  int one(void) { return 1; }
26580      int two(void) { return 2; }
26581
26582 int
26583 main ()
26584 {
26585  two();
26586   ;
26587   return 0;
26588 }
26589 _ACEOF
26590 if ac_fn_c_try_link "$LINENO"; then :
26591   ac_gcsections=yes
26592 else
26593   ac_gcsections=no
26594 fi
26595 rm -f core conftest.err conftest.$ac_objext \
26596     conftest$ac_exeext conftest.$ac_ext
26597     if test "$ac_gcsections" = "yes"; then
26598       rm -f conftest.c
26599       touch conftest.c
26600       if $CC -c conftest.c; then
26601         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26602            grep "Warning: gc-sections option ignored" > /dev/null; then
26603           ac_gcsections=no
26604         fi
26605       fi
26606       rm -f conftest.c conftest.o conftest
26607     fi
26608     if test "$ac_gcsections" = "yes"; then
26609       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26610     fi
26611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26612 $as_echo "$ac_gcsections" >&6; }
26613
26614     if test "$ac_test_CFLAGS" = set; then
26615       CFLAGS="$ac_save_CFLAGS"
26616     else
26617       # this is the suspicious part
26618       CFLAGS=''
26619     fi
26620   fi
26621
26622   # Set -z,relro.
26623   # Note this is only for shared objects.
26624   ac_ld_relro=no
26625   if test x"$with_gnu_ld" = x"yes"; then
26626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26627 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26628     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26629     if test -n "$cxx_z_relo"; then
26630       OPT_LDFLAGS="-Wl,-z,relro"
26631       ac_ld_relro=yes
26632     fi
26633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26634 $as_echo "$ac_ld_relro" >&6; }
26635   fi
26636
26637   # Set linker optimization flags.
26638   if test x"$with_gnu_ld" = x"yes"; then
26639     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26640   fi
26641
26642
26643
26644
26645
26646   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26647   ac_save_CXXFLAGS="$CXXFLAGS"
26648   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26649
26650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26651 $as_echo_n "checking for sin in -lm... " >&6; }
26652 if test "${ac_cv_lib_m_sin+set}" = set; then :
26653   $as_echo_n "(cached) " >&6
26654 else
26655   ac_check_lib_save_LIBS=$LIBS
26656 LIBS="-lm  $LIBS"
26657 if test x$gcc_no_link = xyes; then
26658   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26659 fi
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h.  */
26662
26663 /* Override any GCC internal prototype to avoid an error.
26664    Use char because int might match the return type of a GCC
26665    builtin and then its argument prototype would still apply.  */
26666 #ifdef __cplusplus
26667 extern "C"
26668 #endif
26669 char sin ();
26670 int
26671 main ()
26672 {
26673 return sin ();
26674   ;
26675   return 0;
26676 }
26677 _ACEOF
26678 if ac_fn_c_try_link "$LINENO"; then :
26679   ac_cv_lib_m_sin=yes
26680 else
26681   ac_cv_lib_m_sin=no
26682 fi
26683 rm -f core conftest.err conftest.$ac_objext \
26684     conftest$ac_exeext conftest.$ac_ext
26685 LIBS=$ac_check_lib_save_LIBS
26686 fi
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26688 $as_echo "$ac_cv_lib_m_sin" >&6; }
26689 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26690   libm="-lm"
26691 fi
26692
26693   ac_save_LIBS="$LIBS"
26694   LIBS="$LIBS $libm"
26695
26696
26697
26698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26699 $as_echo_n "checking for isinf declaration... " >&6; }
26700   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26701     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26702   $as_echo_n "(cached) " >&6
26703 else
26704
26705
26706       ac_ext=cpp
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26711
26712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26713 /* end confdefs.h.  */
26714 #include <math.h>
26715                       #ifdef HAVE_IEEEFP_H
26716                       #include <ieeefp.h>
26717                       #endif
26718
26719 int
26720 main ()
26721 {
26722  isinf(0);
26723   ;
26724   return 0;
26725 }
26726 _ACEOF
26727 if ac_fn_cxx_try_compile "$LINENO"; then :
26728   glibcxx_cv_func_isinf_use=yes
26729 else
26730   glibcxx_cv_func_isinf_use=no
26731 fi
26732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26733       ac_ext=c
26734 ac_cpp='$CPP $CPPFLAGS'
26735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26738
26739
26740 fi
26741
26742   fi
26743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26744 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26745
26746   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26747     for ac_func in isinf
26748 do :
26749   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26750 if test "x$ac_cv_func_isinf" = x""yes; then :
26751   cat >>confdefs.h <<_ACEOF
26752 #define HAVE_ISINF 1
26753 _ACEOF
26754
26755 fi
26756 done
26757
26758   else
26759
26760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26761 $as_echo_n "checking for _isinf declaration... " >&6; }
26762   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26763     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26764   $as_echo_n "(cached) " >&6
26765 else
26766
26767
26768       ac_ext=cpp
26769 ac_cpp='$CXXCPP $CPPFLAGS'
26770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26773
26774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26775 /* end confdefs.h.  */
26776 #include <math.h>
26777                       #ifdef HAVE_IEEEFP_H
26778                       #include <ieeefp.h>
26779                       #endif
26780
26781 int
26782 main ()
26783 {
26784  _isinf(0);
26785   ;
26786   return 0;
26787 }
26788 _ACEOF
26789 if ac_fn_cxx_try_compile "$LINENO"; then :
26790   glibcxx_cv_func__isinf_use=yes
26791 else
26792   glibcxx_cv_func__isinf_use=no
26793 fi
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795       ac_ext=c
26796 ac_cpp='$CPP $CPPFLAGS'
26797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800
26801
26802 fi
26803
26804   fi
26805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26806 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26807
26808     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26809       for ac_func in _isinf
26810 do :
26811   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26812 if test "x$ac_cv_func__isinf" = x""yes; then :
26813   cat >>confdefs.h <<_ACEOF
26814 #define HAVE__ISINF 1
26815 _ACEOF
26816
26817 fi
26818 done
26819
26820     fi
26821   fi
26822
26823
26824
26825
26826
26827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26828 $as_echo_n "checking for isnan declaration... " >&6; }
26829   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26830     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26831   $as_echo_n "(cached) " >&6
26832 else
26833
26834
26835       ac_ext=cpp
26836 ac_cpp='$CXXCPP $CPPFLAGS'
26837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26840
26841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26842 /* end confdefs.h.  */
26843 #include <math.h>
26844                       #ifdef HAVE_IEEEFP_H
26845                       #include <ieeefp.h>
26846                       #endif
26847
26848 int
26849 main ()
26850 {
26851  isnan(0);
26852   ;
26853   return 0;
26854 }
26855 _ACEOF
26856 if ac_fn_cxx_try_compile "$LINENO"; then :
26857   glibcxx_cv_func_isnan_use=yes
26858 else
26859   glibcxx_cv_func_isnan_use=no
26860 fi
26861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862       ac_ext=c
26863 ac_cpp='$CPP $CPPFLAGS'
26864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26867
26868
26869 fi
26870
26871   fi
26872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26873 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26874
26875   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26876     for ac_func in isnan
26877 do :
26878   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26879 if test "x$ac_cv_func_isnan" = x""yes; then :
26880   cat >>confdefs.h <<_ACEOF
26881 #define HAVE_ISNAN 1
26882 _ACEOF
26883
26884 fi
26885 done
26886
26887   else
26888
26889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26890 $as_echo_n "checking for _isnan declaration... " >&6; }
26891   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26892     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26893   $as_echo_n "(cached) " >&6
26894 else
26895
26896
26897       ac_ext=cpp
26898 ac_cpp='$CXXCPP $CPPFLAGS'
26899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26902
26903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h.  */
26905 #include <math.h>
26906                       #ifdef HAVE_IEEEFP_H
26907                       #include <ieeefp.h>
26908                       #endif
26909
26910 int
26911 main ()
26912 {
26913  _isnan(0);
26914   ;
26915   return 0;
26916 }
26917 _ACEOF
26918 if ac_fn_cxx_try_compile "$LINENO"; then :
26919   glibcxx_cv_func__isnan_use=yes
26920 else
26921   glibcxx_cv_func__isnan_use=no
26922 fi
26923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26924       ac_ext=c
26925 ac_cpp='$CPP $CPPFLAGS'
26926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26929
26930
26931 fi
26932
26933   fi
26934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26935 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26936
26937     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26938       for ac_func in _isnan
26939 do :
26940   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26941 if test "x$ac_cv_func__isnan" = x""yes; then :
26942   cat >>confdefs.h <<_ACEOF
26943 #define HAVE__ISNAN 1
26944 _ACEOF
26945
26946 fi
26947 done
26948
26949     fi
26950   fi
26951
26952
26953
26954
26955
26956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26957 $as_echo_n "checking for finite declaration... " >&6; }
26958   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26959     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26960   $as_echo_n "(cached) " >&6
26961 else
26962
26963
26964       ac_ext=cpp
26965 ac_cpp='$CXXCPP $CPPFLAGS'
26966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26969
26970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26971 /* end confdefs.h.  */
26972 #include <math.h>
26973                       #ifdef HAVE_IEEEFP_H
26974                       #include <ieeefp.h>
26975                       #endif
26976
26977 int
26978 main ()
26979 {
26980  finite(0);
26981   ;
26982   return 0;
26983 }
26984 _ACEOF
26985 if ac_fn_cxx_try_compile "$LINENO"; then :
26986   glibcxx_cv_func_finite_use=yes
26987 else
26988   glibcxx_cv_func_finite_use=no
26989 fi
26990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26991       ac_ext=c
26992 ac_cpp='$CPP $CPPFLAGS'
26993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996
26997
26998 fi
26999
27000   fi
27001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27002 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27003
27004   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27005     for ac_func in finite
27006 do :
27007   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27008 if test "x$ac_cv_func_finite" = x""yes; then :
27009   cat >>confdefs.h <<_ACEOF
27010 #define HAVE_FINITE 1
27011 _ACEOF
27012
27013 fi
27014 done
27015
27016   else
27017
27018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27019 $as_echo_n "checking for _finite declaration... " >&6; }
27020   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27021     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27022   $as_echo_n "(cached) " >&6
27023 else
27024
27025
27026       ac_ext=cpp
27027 ac_cpp='$CXXCPP $CPPFLAGS'
27028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27031
27032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27033 /* end confdefs.h.  */
27034 #include <math.h>
27035                       #ifdef HAVE_IEEEFP_H
27036                       #include <ieeefp.h>
27037                       #endif
27038
27039 int
27040 main ()
27041 {
27042  _finite(0);
27043   ;
27044   return 0;
27045 }
27046 _ACEOF
27047 if ac_fn_cxx_try_compile "$LINENO"; then :
27048   glibcxx_cv_func__finite_use=yes
27049 else
27050   glibcxx_cv_func__finite_use=no
27051 fi
27052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27053       ac_ext=c
27054 ac_cpp='$CPP $CPPFLAGS'
27055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27058
27059
27060 fi
27061
27062   fi
27063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27064 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27065
27066     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27067       for ac_func in _finite
27068 do :
27069   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27070 if test "x$ac_cv_func__finite" = x""yes; then :
27071   cat >>confdefs.h <<_ACEOF
27072 #define HAVE__FINITE 1
27073 _ACEOF
27074
27075 fi
27076 done
27077
27078     fi
27079   fi
27080
27081
27082
27083
27084
27085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27086 $as_echo_n "checking for sincos declaration... " >&6; }
27087   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27088     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27089   $as_echo_n "(cached) " >&6
27090 else
27091
27092
27093       ac_ext=cpp
27094 ac_cpp='$CXXCPP $CPPFLAGS'
27095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27098
27099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27100 /* end confdefs.h.  */
27101 #include <math.h>
27102 int
27103 main ()
27104 {
27105  sincos(0, 0, 0);
27106   ;
27107   return 0;
27108 }
27109 _ACEOF
27110 if ac_fn_cxx_try_compile "$LINENO"; then :
27111   glibcxx_cv_func_sincos_use=yes
27112 else
27113   glibcxx_cv_func_sincos_use=no
27114 fi
27115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116       ac_ext=c
27117 ac_cpp='$CPP $CPPFLAGS'
27118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27121
27122
27123 fi
27124
27125   fi
27126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27127 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27128
27129   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27130     for ac_func in sincos
27131 do :
27132   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27133 if test "x$ac_cv_func_sincos" = x""yes; then :
27134   cat >>confdefs.h <<_ACEOF
27135 #define HAVE_SINCOS 1
27136 _ACEOF
27137
27138 fi
27139 done
27140
27141   else
27142
27143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27144 $as_echo_n "checking for _sincos declaration... " >&6; }
27145   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27146     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27147   $as_echo_n "(cached) " >&6
27148 else
27149
27150
27151       ac_ext=cpp
27152 ac_cpp='$CXXCPP $CPPFLAGS'
27153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27156
27157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27158 /* end confdefs.h.  */
27159 #include <math.h>
27160 int
27161 main ()
27162 {
27163  _sincos(0, 0, 0);
27164   ;
27165   return 0;
27166 }
27167 _ACEOF
27168 if ac_fn_cxx_try_compile "$LINENO"; then :
27169   glibcxx_cv_func__sincos_use=yes
27170 else
27171   glibcxx_cv_func__sincos_use=no
27172 fi
27173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27174       ac_ext=c
27175 ac_cpp='$CPP $CPPFLAGS'
27176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27179
27180
27181 fi
27182
27183   fi
27184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27185 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27186
27187     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27188       for ac_func in _sincos
27189 do :
27190   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27191 if test "x$ac_cv_func__sincos" = x""yes; then :
27192   cat >>confdefs.h <<_ACEOF
27193 #define HAVE__SINCOS 1
27194 _ACEOF
27195
27196 fi
27197 done
27198
27199     fi
27200   fi
27201
27202
27203
27204
27205
27206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27207 $as_echo_n "checking for fpclass declaration... " >&6; }
27208   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27209     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27210   $as_echo_n "(cached) " >&6
27211 else
27212
27213
27214       ac_ext=cpp
27215 ac_cpp='$CXXCPP $CPPFLAGS'
27216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27219
27220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27221 /* end confdefs.h.  */
27222 #include <math.h>
27223                       #ifdef HAVE_IEEEFP_H
27224                       #include <ieeefp.h>
27225                       #endif
27226
27227 int
27228 main ()
27229 {
27230  fpclass(0);
27231   ;
27232   return 0;
27233 }
27234 _ACEOF
27235 if ac_fn_cxx_try_compile "$LINENO"; then :
27236   glibcxx_cv_func_fpclass_use=yes
27237 else
27238   glibcxx_cv_func_fpclass_use=no
27239 fi
27240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27241       ac_ext=c
27242 ac_cpp='$CPP $CPPFLAGS'
27243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27246
27247
27248 fi
27249
27250   fi
27251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27252 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27253
27254   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27255     for ac_func in fpclass
27256 do :
27257   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27258 if test "x$ac_cv_func_fpclass" = x""yes; then :
27259   cat >>confdefs.h <<_ACEOF
27260 #define HAVE_FPCLASS 1
27261 _ACEOF
27262
27263 fi
27264 done
27265
27266   else
27267
27268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27269 $as_echo_n "checking for _fpclass declaration... " >&6; }
27270   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27271     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27272   $as_echo_n "(cached) " >&6
27273 else
27274
27275
27276       ac_ext=cpp
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27281
27282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27283 /* end confdefs.h.  */
27284 #include <math.h>
27285                       #ifdef HAVE_IEEEFP_H
27286                       #include <ieeefp.h>
27287                       #endif
27288
27289 int
27290 main ()
27291 {
27292  _fpclass(0);
27293   ;
27294   return 0;
27295 }
27296 _ACEOF
27297 if ac_fn_cxx_try_compile "$LINENO"; then :
27298   glibcxx_cv_func__fpclass_use=yes
27299 else
27300   glibcxx_cv_func__fpclass_use=no
27301 fi
27302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27303       ac_ext=c
27304 ac_cpp='$CPP $CPPFLAGS'
27305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27308
27309
27310 fi
27311
27312   fi
27313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27314 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27315
27316     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27317       for ac_func in _fpclass
27318 do :
27319   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27320 if test "x$ac_cv_func__fpclass" = x""yes; then :
27321   cat >>confdefs.h <<_ACEOF
27322 #define HAVE__FPCLASS 1
27323 _ACEOF
27324
27325 fi
27326 done
27327
27328     fi
27329   fi
27330
27331
27332
27333
27334
27335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27336 $as_echo_n "checking for qfpclass declaration... " >&6; }
27337   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27338     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27339   $as_echo_n "(cached) " >&6
27340 else
27341
27342
27343       ac_ext=cpp
27344 ac_cpp='$CXXCPP $CPPFLAGS'
27345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27348
27349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27350 /* end confdefs.h.  */
27351 #include <math.h>
27352                       #ifdef HAVE_IEEEFP_H
27353                       #include <ieeefp.h>
27354                       #endif
27355
27356 int
27357 main ()
27358 {
27359  qfpclass(0);
27360   ;
27361   return 0;
27362 }
27363 _ACEOF
27364 if ac_fn_cxx_try_compile "$LINENO"; then :
27365   glibcxx_cv_func_qfpclass_use=yes
27366 else
27367   glibcxx_cv_func_qfpclass_use=no
27368 fi
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370       ac_ext=c
27371 ac_cpp='$CPP $CPPFLAGS'
27372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27375
27376
27377 fi
27378
27379   fi
27380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27381 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27382
27383   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27384     for ac_func in qfpclass
27385 do :
27386   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27387 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27388   cat >>confdefs.h <<_ACEOF
27389 #define HAVE_QFPCLASS 1
27390 _ACEOF
27391
27392 fi
27393 done
27394
27395   else
27396
27397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27398 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27399   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27400     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27401   $as_echo_n "(cached) " >&6
27402 else
27403
27404
27405       ac_ext=cpp
27406 ac_cpp='$CXXCPP $CPPFLAGS'
27407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27410
27411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27412 /* end confdefs.h.  */
27413 #include <math.h>
27414                       #ifdef HAVE_IEEEFP_H
27415                       #include <ieeefp.h>
27416                       #endif
27417
27418 int
27419 main ()
27420 {
27421  _qfpclass(0);
27422   ;
27423   return 0;
27424 }
27425 _ACEOF
27426 if ac_fn_cxx_try_compile "$LINENO"; then :
27427   glibcxx_cv_func__qfpclass_use=yes
27428 else
27429   glibcxx_cv_func__qfpclass_use=no
27430 fi
27431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27432       ac_ext=c
27433 ac_cpp='$CPP $CPPFLAGS'
27434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27437
27438
27439 fi
27440
27441   fi
27442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27443 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27444
27445     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27446       for ac_func in _qfpclass
27447 do :
27448   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27449 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27450   cat >>confdefs.h <<_ACEOF
27451 #define HAVE__QFPCLASS 1
27452 _ACEOF
27453
27454 fi
27455 done
27456
27457     fi
27458   fi
27459
27460
27461
27462
27463
27464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27465 $as_echo_n "checking for hypot declaration... " >&6; }
27466   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27467     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27468   $as_echo_n "(cached) " >&6
27469 else
27470
27471
27472       ac_ext=cpp
27473 ac_cpp='$CXXCPP $CPPFLAGS'
27474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27477
27478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27479 /* end confdefs.h.  */
27480 #include <math.h>
27481 int
27482 main ()
27483 {
27484  hypot(0, 0);
27485   ;
27486   return 0;
27487 }
27488 _ACEOF
27489 if ac_fn_cxx_try_compile "$LINENO"; then :
27490   glibcxx_cv_func_hypot_use=yes
27491 else
27492   glibcxx_cv_func_hypot_use=no
27493 fi
27494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495       ac_ext=c
27496 ac_cpp='$CPP $CPPFLAGS'
27497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27500
27501
27502 fi
27503
27504   fi
27505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27506 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27507
27508   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27509     for ac_func in hypot
27510 do :
27511   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27512 if test "x$ac_cv_func_hypot" = x""yes; then :
27513   cat >>confdefs.h <<_ACEOF
27514 #define HAVE_HYPOT 1
27515 _ACEOF
27516
27517 fi
27518 done
27519
27520   else
27521
27522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27523 $as_echo_n "checking for _hypot declaration... " >&6; }
27524   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27525     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27526   $as_echo_n "(cached) " >&6
27527 else
27528
27529
27530       ac_ext=cpp
27531 ac_cpp='$CXXCPP $CPPFLAGS'
27532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27535
27536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27537 /* end confdefs.h.  */
27538 #include <math.h>
27539 int
27540 main ()
27541 {
27542  _hypot(0, 0);
27543   ;
27544   return 0;
27545 }
27546 _ACEOF
27547 if ac_fn_cxx_try_compile "$LINENO"; then :
27548   glibcxx_cv_func__hypot_use=yes
27549 else
27550   glibcxx_cv_func__hypot_use=no
27551 fi
27552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27553       ac_ext=c
27554 ac_cpp='$CPP $CPPFLAGS'
27555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27558
27559
27560 fi
27561
27562   fi
27563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27564 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27565
27566     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27567       for ac_func in _hypot
27568 do :
27569   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27570 if test "x$ac_cv_func__hypot" = x""yes; then :
27571   cat >>confdefs.h <<_ACEOF
27572 #define HAVE__HYPOT 1
27573 _ACEOF
27574
27575 fi
27576 done
27577
27578     fi
27579   fi
27580
27581
27582
27583
27584
27585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27586 $as_echo_n "checking for float trig functions... " >&6; }
27587   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27588   $as_echo_n "(cached) " >&6
27589 else
27590
27591
27592     ac_ext=cpp
27593 ac_cpp='$CXXCPP $CPPFLAGS'
27594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27597
27598     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27599 /* end confdefs.h.  */
27600 #include <math.h>
27601 int
27602 main ()
27603 {
27604 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27605   ;
27606   return 0;
27607 }
27608 _ACEOF
27609 if ac_fn_cxx_try_compile "$LINENO"; then :
27610   glibcxx_cv_func_float_trig_use=yes
27611 else
27612   glibcxx_cv_func_float_trig_use=no
27613 fi
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615     ac_ext=c
27616 ac_cpp='$CPP $CPPFLAGS'
27617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27620
27621 fi
27622
27623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27624 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27625   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27626     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27627 do :
27628   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27630 eval as_val=\$$as_ac_var
27631    if test "x$as_val" = x""yes; then :
27632   cat >>confdefs.h <<_ACEOF
27633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27634 _ACEOF
27635
27636 fi
27637 done
27638
27639   else
27640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27641 $as_echo_n "checking for _float trig functions... " >&6; }
27642     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27643   $as_echo_n "(cached) " >&6
27644 else
27645
27646
27647       ac_ext=cpp
27648 ac_cpp='$CXXCPP $CPPFLAGS'
27649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27652
27653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h.  */
27655 #include <math.h>
27656 int
27657 main ()
27658 {
27659 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27660   ;
27661   return 0;
27662 }
27663 _ACEOF
27664 if ac_fn_cxx_try_compile "$LINENO"; then :
27665   glibcxx_cv_func__float_trig_use=yes
27666 else
27667   glibcxx_cv_func__float_trig_use=no
27668 fi
27669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670       ac_ext=c
27671 ac_cpp='$CPP $CPPFLAGS'
27672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27675
27676 fi
27677
27678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27679 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27680     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27681       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27682 do :
27683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27685 eval as_val=\$$as_ac_var
27686    if test "x$as_val" = x""yes; then :
27687   cat >>confdefs.h <<_ACEOF
27688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 _ACEOF
27690
27691 fi
27692 done
27693
27694     fi
27695   fi
27696
27697
27698
27699
27700
27701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27702 $as_echo_n "checking for float round functions... " >&6; }
27703   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27704   $as_echo_n "(cached) " >&6
27705 else
27706
27707
27708     ac_ext=cpp
27709 ac_cpp='$CXXCPP $CPPFLAGS'
27710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27713
27714     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27715 /* end confdefs.h.  */
27716 #include <math.h>
27717 int
27718 main ()
27719 {
27720 ceilf (0); floorf (0);
27721   ;
27722   return 0;
27723 }
27724 _ACEOF
27725 if ac_fn_cxx_try_compile "$LINENO"; then :
27726   glibcxx_cv_func_float_round_use=yes
27727 else
27728   glibcxx_cv_func_float_round_use=no
27729 fi
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731     ac_ext=c
27732 ac_cpp='$CPP $CPPFLAGS'
27733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27736
27737 fi
27738
27739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27740 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27741   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27742     for ac_func in ceilf floorf
27743 do :
27744   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27746 eval as_val=\$$as_ac_var
27747    if test "x$as_val" = x""yes; then :
27748   cat >>confdefs.h <<_ACEOF
27749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27750 _ACEOF
27751
27752 fi
27753 done
27754
27755   else
27756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27757 $as_echo_n "checking for _float round functions... " >&6; }
27758     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27759   $as_echo_n "(cached) " >&6
27760 else
27761
27762
27763       ac_ext=cpp
27764 ac_cpp='$CXXCPP $CPPFLAGS'
27765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27768
27769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h.  */
27771 #include <math.h>
27772 int
27773 main ()
27774 {
27775 _ceilf (0); _floorf (0);
27776   ;
27777   return 0;
27778 }
27779 _ACEOF
27780 if ac_fn_cxx_try_compile "$LINENO"; then :
27781   glibcxx_cv_func__float_round_use=yes
27782 else
27783   glibcxx_cv_func__float_round_use=no
27784 fi
27785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27786       ac_ext=c
27787 ac_cpp='$CPP $CPPFLAGS'
27788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27791
27792 fi
27793
27794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27795 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27796     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27797       for ac_func in _ceilf _floorf
27798 do :
27799   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27801 eval as_val=\$$as_ac_var
27802    if test "x$as_val" = x""yes; then :
27803   cat >>confdefs.h <<_ACEOF
27804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 _ACEOF
27806
27807 fi
27808 done
27809
27810     fi
27811   fi
27812
27813
27814
27815
27816
27817
27818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27819 $as_echo_n "checking for expf declaration... " >&6; }
27820   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27821     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27822   $as_echo_n "(cached) " >&6
27823 else
27824
27825
27826       ac_ext=cpp
27827 ac_cpp='$CXXCPP $CPPFLAGS'
27828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831
27832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h.  */
27834 #include <math.h>
27835                       #ifdef HAVE_IEEEFP_H
27836                       #include <ieeefp.h>
27837                       #endif
27838
27839 int
27840 main ()
27841 {
27842  expf(0);
27843   ;
27844   return 0;
27845 }
27846 _ACEOF
27847 if ac_fn_cxx_try_compile "$LINENO"; then :
27848   glibcxx_cv_func_expf_use=yes
27849 else
27850   glibcxx_cv_func_expf_use=no
27851 fi
27852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27853       ac_ext=c
27854 ac_cpp='$CPP $CPPFLAGS'
27855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858
27859
27860 fi
27861
27862   fi
27863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27864 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27865
27866   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27867     for ac_func in expf
27868 do :
27869   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27870 if test "x$ac_cv_func_expf" = x""yes; then :
27871   cat >>confdefs.h <<_ACEOF
27872 #define HAVE_EXPF 1
27873 _ACEOF
27874
27875 fi
27876 done
27877
27878   else
27879
27880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27881 $as_echo_n "checking for _expf declaration... " >&6; }
27882   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27883     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27884   $as_echo_n "(cached) " >&6
27885 else
27886
27887
27888       ac_ext=cpp
27889 ac_cpp='$CXXCPP $CPPFLAGS'
27890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27893
27894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h.  */
27896 #include <math.h>
27897                       #ifdef HAVE_IEEEFP_H
27898                       #include <ieeefp.h>
27899                       #endif
27900
27901 int
27902 main ()
27903 {
27904  _expf(0);
27905   ;
27906   return 0;
27907 }
27908 _ACEOF
27909 if ac_fn_cxx_try_compile "$LINENO"; then :
27910   glibcxx_cv_func__expf_use=yes
27911 else
27912   glibcxx_cv_func__expf_use=no
27913 fi
27914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27915       ac_ext=c
27916 ac_cpp='$CPP $CPPFLAGS'
27917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27920
27921
27922 fi
27923
27924   fi
27925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27926 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27927
27928     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27929       for ac_func in _expf
27930 do :
27931   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27932 if test "x$ac_cv_func__expf" = x""yes; then :
27933   cat >>confdefs.h <<_ACEOF
27934 #define HAVE__EXPF 1
27935 _ACEOF
27936
27937 fi
27938 done
27939
27940     fi
27941   fi
27942
27943
27944
27945
27946
27947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27948 $as_echo_n "checking for isnanf declaration... " >&6; }
27949   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27950     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27951   $as_echo_n "(cached) " >&6
27952 else
27953
27954
27955       ac_ext=cpp
27956 ac_cpp='$CXXCPP $CPPFLAGS'
27957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27960
27961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27962 /* end confdefs.h.  */
27963 #include <math.h>
27964                       #ifdef HAVE_IEEEFP_H
27965                       #include <ieeefp.h>
27966                       #endif
27967
27968 int
27969 main ()
27970 {
27971  isnanf(0);
27972   ;
27973   return 0;
27974 }
27975 _ACEOF
27976 if ac_fn_cxx_try_compile "$LINENO"; then :
27977   glibcxx_cv_func_isnanf_use=yes
27978 else
27979   glibcxx_cv_func_isnanf_use=no
27980 fi
27981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27982       ac_ext=c
27983 ac_cpp='$CPP $CPPFLAGS'
27984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27987
27988
27989 fi
27990
27991   fi
27992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27993 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27994
27995   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27996     for ac_func in isnanf
27997 do :
27998   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27999 if test "x$ac_cv_func_isnanf" = x""yes; then :
28000   cat >>confdefs.h <<_ACEOF
28001 #define HAVE_ISNANF 1
28002 _ACEOF
28003
28004 fi
28005 done
28006
28007   else
28008
28009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28010 $as_echo_n "checking for _isnanf declaration... " >&6; }
28011   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28012     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28013   $as_echo_n "(cached) " >&6
28014 else
28015
28016
28017       ac_ext=cpp
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28022
28023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h.  */
28025 #include <math.h>
28026                       #ifdef HAVE_IEEEFP_H
28027                       #include <ieeefp.h>
28028                       #endif
28029
28030 int
28031 main ()
28032 {
28033  _isnanf(0);
28034   ;
28035   return 0;
28036 }
28037 _ACEOF
28038 if ac_fn_cxx_try_compile "$LINENO"; then :
28039   glibcxx_cv_func__isnanf_use=yes
28040 else
28041   glibcxx_cv_func__isnanf_use=no
28042 fi
28043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28044       ac_ext=c
28045 ac_cpp='$CPP $CPPFLAGS'
28046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28049
28050
28051 fi
28052
28053   fi
28054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28055 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28056
28057     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28058       for ac_func in _isnanf
28059 do :
28060   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28061 if test "x$ac_cv_func__isnanf" = x""yes; then :
28062   cat >>confdefs.h <<_ACEOF
28063 #define HAVE__ISNANF 1
28064 _ACEOF
28065
28066 fi
28067 done
28068
28069     fi
28070   fi
28071
28072
28073
28074
28075
28076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28077 $as_echo_n "checking for isinff declaration... " >&6; }
28078   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28079     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28080   $as_echo_n "(cached) " >&6
28081 else
28082
28083
28084       ac_ext=cpp
28085 ac_cpp='$CXXCPP $CPPFLAGS'
28086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28089
28090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28091 /* end confdefs.h.  */
28092 #include <math.h>
28093                       #ifdef HAVE_IEEEFP_H
28094                       #include <ieeefp.h>
28095                       #endif
28096
28097 int
28098 main ()
28099 {
28100  isinff(0);
28101   ;
28102   return 0;
28103 }
28104 _ACEOF
28105 if ac_fn_cxx_try_compile "$LINENO"; then :
28106   glibcxx_cv_func_isinff_use=yes
28107 else
28108   glibcxx_cv_func_isinff_use=no
28109 fi
28110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28111       ac_ext=c
28112 ac_cpp='$CPP $CPPFLAGS'
28113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28116
28117
28118 fi
28119
28120   fi
28121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28122 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28123
28124   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28125     for ac_func in isinff
28126 do :
28127   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28128 if test "x$ac_cv_func_isinff" = x""yes; then :
28129   cat >>confdefs.h <<_ACEOF
28130 #define HAVE_ISINFF 1
28131 _ACEOF
28132
28133 fi
28134 done
28135
28136   else
28137
28138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28139 $as_echo_n "checking for _isinff declaration... " >&6; }
28140   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28141     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28142   $as_echo_n "(cached) " >&6
28143 else
28144
28145
28146       ac_ext=cpp
28147 ac_cpp='$CXXCPP $CPPFLAGS'
28148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28151
28152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28153 /* end confdefs.h.  */
28154 #include <math.h>
28155                       #ifdef HAVE_IEEEFP_H
28156                       #include <ieeefp.h>
28157                       #endif
28158
28159 int
28160 main ()
28161 {
28162  _isinff(0);
28163   ;
28164   return 0;
28165 }
28166 _ACEOF
28167 if ac_fn_cxx_try_compile "$LINENO"; then :
28168   glibcxx_cv_func__isinff_use=yes
28169 else
28170   glibcxx_cv_func__isinff_use=no
28171 fi
28172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28173       ac_ext=c
28174 ac_cpp='$CPP $CPPFLAGS'
28175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28178
28179
28180 fi
28181
28182   fi
28183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28184 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28185
28186     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28187       for ac_func in _isinff
28188 do :
28189   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28190 if test "x$ac_cv_func__isinff" = x""yes; then :
28191   cat >>confdefs.h <<_ACEOF
28192 #define HAVE__ISINFF 1
28193 _ACEOF
28194
28195 fi
28196 done
28197
28198     fi
28199   fi
28200
28201
28202
28203
28204
28205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28206 $as_echo_n "checking for atan2f declaration... " >&6; }
28207   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28208     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28209   $as_echo_n "(cached) " >&6
28210 else
28211
28212
28213       ac_ext=cpp
28214 ac_cpp='$CXXCPP $CPPFLAGS'
28215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28218
28219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h.  */
28221 #include <math.h>
28222 int
28223 main ()
28224 {
28225  atan2f(0, 0);
28226   ;
28227   return 0;
28228 }
28229 _ACEOF
28230 if ac_fn_cxx_try_compile "$LINENO"; then :
28231   glibcxx_cv_func_atan2f_use=yes
28232 else
28233   glibcxx_cv_func_atan2f_use=no
28234 fi
28235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28236       ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28241
28242
28243 fi
28244
28245   fi
28246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28247 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28248
28249   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28250     for ac_func in atan2f
28251 do :
28252   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28253 if test "x$ac_cv_func_atan2f" = x""yes; then :
28254   cat >>confdefs.h <<_ACEOF
28255 #define HAVE_ATAN2F 1
28256 _ACEOF
28257
28258 fi
28259 done
28260
28261   else
28262
28263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28264 $as_echo_n "checking for _atan2f declaration... " >&6; }
28265   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28266     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28267   $as_echo_n "(cached) " >&6
28268 else
28269
28270
28271       ac_ext=cpp
28272 ac_cpp='$CXXCPP $CPPFLAGS'
28273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28276
28277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28278 /* end confdefs.h.  */
28279 #include <math.h>
28280 int
28281 main ()
28282 {
28283  _atan2f(0, 0);
28284   ;
28285   return 0;
28286 }
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289   glibcxx_cv_func__atan2f_use=yes
28290 else
28291   glibcxx_cv_func__atan2f_use=no
28292 fi
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294       ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28299
28300
28301 fi
28302
28303   fi
28304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28305 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28306
28307     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28308       for ac_func in _atan2f
28309 do :
28310   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28311 if test "x$ac_cv_func__atan2f" = x""yes; then :
28312   cat >>confdefs.h <<_ACEOF
28313 #define HAVE__ATAN2F 1
28314 _ACEOF
28315
28316 fi
28317 done
28318
28319     fi
28320   fi
28321
28322
28323
28324
28325
28326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28327 $as_echo_n "checking for fabsf declaration... " >&6; }
28328   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28329     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28330   $as_echo_n "(cached) " >&6
28331 else
28332
28333
28334       ac_ext=cpp
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28339
28340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28341 /* end confdefs.h.  */
28342 #include <math.h>
28343                       #ifdef HAVE_IEEEFP_H
28344                       #include <ieeefp.h>
28345                       #endif
28346
28347 int
28348 main ()
28349 {
28350  fabsf(0);
28351   ;
28352   return 0;
28353 }
28354 _ACEOF
28355 if ac_fn_cxx_try_compile "$LINENO"; then :
28356   glibcxx_cv_func_fabsf_use=yes
28357 else
28358   glibcxx_cv_func_fabsf_use=no
28359 fi
28360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28361       ac_ext=c
28362 ac_cpp='$CPP $CPPFLAGS'
28363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28366
28367
28368 fi
28369
28370   fi
28371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28372 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28373
28374   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28375     for ac_func in fabsf
28376 do :
28377   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28378 if test "x$ac_cv_func_fabsf" = x""yes; then :
28379   cat >>confdefs.h <<_ACEOF
28380 #define HAVE_FABSF 1
28381 _ACEOF
28382
28383 fi
28384 done
28385
28386   else
28387
28388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28389 $as_echo_n "checking for _fabsf declaration... " >&6; }
28390   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28391     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28392   $as_echo_n "(cached) " >&6
28393 else
28394
28395
28396       ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28401
28402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h.  */
28404 #include <math.h>
28405                       #ifdef HAVE_IEEEFP_H
28406                       #include <ieeefp.h>
28407                       #endif
28408
28409 int
28410 main ()
28411 {
28412  _fabsf(0);
28413   ;
28414   return 0;
28415 }
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418   glibcxx_cv_func__fabsf_use=yes
28419 else
28420   glibcxx_cv_func__fabsf_use=no
28421 fi
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423       ac_ext=c
28424 ac_cpp='$CPP $CPPFLAGS'
28425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28428
28429
28430 fi
28431
28432   fi
28433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28434 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28435
28436     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28437       for ac_func in _fabsf
28438 do :
28439   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28440 if test "x$ac_cv_func__fabsf" = x""yes; then :
28441   cat >>confdefs.h <<_ACEOF
28442 #define HAVE__FABSF 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448     fi
28449   fi
28450
28451
28452
28453
28454
28455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28456 $as_echo_n "checking for fmodf declaration... " >&6; }
28457   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28458     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28459   $as_echo_n "(cached) " >&6
28460 else
28461
28462
28463       ac_ext=cpp
28464 ac_cpp='$CXXCPP $CPPFLAGS'
28465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28468
28469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h.  */
28471 #include <math.h>
28472 int
28473 main ()
28474 {
28475  fmodf(0, 0);
28476   ;
28477   return 0;
28478 }
28479 _ACEOF
28480 if ac_fn_cxx_try_compile "$LINENO"; then :
28481   glibcxx_cv_func_fmodf_use=yes
28482 else
28483   glibcxx_cv_func_fmodf_use=no
28484 fi
28485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28486       ac_ext=c
28487 ac_cpp='$CPP $CPPFLAGS'
28488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28491
28492
28493 fi
28494
28495   fi
28496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28497 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28498
28499   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28500     for ac_func in fmodf
28501 do :
28502   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28503 if test "x$ac_cv_func_fmodf" = x""yes; then :
28504   cat >>confdefs.h <<_ACEOF
28505 #define HAVE_FMODF 1
28506 _ACEOF
28507
28508 fi
28509 done
28510
28511   else
28512
28513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28514 $as_echo_n "checking for _fmodf declaration... " >&6; }
28515   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28516     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28517   $as_echo_n "(cached) " >&6
28518 else
28519
28520
28521       ac_ext=cpp
28522 ac_cpp='$CXXCPP $CPPFLAGS'
28523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28526
28527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28528 /* end confdefs.h.  */
28529 #include <math.h>
28530 int
28531 main ()
28532 {
28533  _fmodf(0, 0);
28534   ;
28535   return 0;
28536 }
28537 _ACEOF
28538 if ac_fn_cxx_try_compile "$LINENO"; then :
28539   glibcxx_cv_func__fmodf_use=yes
28540 else
28541   glibcxx_cv_func__fmodf_use=no
28542 fi
28543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28544       ac_ext=c
28545 ac_cpp='$CPP $CPPFLAGS'
28546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28549
28550
28551 fi
28552
28553   fi
28554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28555 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28556
28557     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28558       for ac_func in _fmodf
28559 do :
28560   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28561 if test "x$ac_cv_func__fmodf" = x""yes; then :
28562   cat >>confdefs.h <<_ACEOF
28563 #define HAVE__FMODF 1
28564 _ACEOF
28565
28566 fi
28567 done
28568
28569     fi
28570   fi
28571
28572
28573
28574
28575
28576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28577 $as_echo_n "checking for frexpf declaration... " >&6; }
28578   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28579     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28580   $as_echo_n "(cached) " >&6
28581 else
28582
28583
28584       ac_ext=cpp
28585 ac_cpp='$CXXCPP $CPPFLAGS'
28586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28589
28590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28591 /* end confdefs.h.  */
28592 #include <math.h>
28593 int
28594 main ()
28595 {
28596  frexpf(0, 0);
28597   ;
28598   return 0;
28599 }
28600 _ACEOF
28601 if ac_fn_cxx_try_compile "$LINENO"; then :
28602   glibcxx_cv_func_frexpf_use=yes
28603 else
28604   glibcxx_cv_func_frexpf_use=no
28605 fi
28606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28607       ac_ext=c
28608 ac_cpp='$CPP $CPPFLAGS'
28609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28612
28613
28614 fi
28615
28616   fi
28617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28618 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28619
28620   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28621     for ac_func in frexpf
28622 do :
28623   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28624 if test "x$ac_cv_func_frexpf" = x""yes; then :
28625   cat >>confdefs.h <<_ACEOF
28626 #define HAVE_FREXPF 1
28627 _ACEOF
28628
28629 fi
28630 done
28631
28632   else
28633
28634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28635 $as_echo_n "checking for _frexpf declaration... " >&6; }
28636   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28637     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28638   $as_echo_n "(cached) " >&6
28639 else
28640
28641
28642       ac_ext=cpp
28643 ac_cpp='$CXXCPP $CPPFLAGS'
28644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28647
28648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28649 /* end confdefs.h.  */
28650 #include <math.h>
28651 int
28652 main ()
28653 {
28654  _frexpf(0, 0);
28655   ;
28656   return 0;
28657 }
28658 _ACEOF
28659 if ac_fn_cxx_try_compile "$LINENO"; then :
28660   glibcxx_cv_func__frexpf_use=yes
28661 else
28662   glibcxx_cv_func__frexpf_use=no
28663 fi
28664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28665       ac_ext=c
28666 ac_cpp='$CPP $CPPFLAGS'
28667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28670
28671
28672 fi
28673
28674   fi
28675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28676 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28677
28678     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28679       for ac_func in _frexpf
28680 do :
28681   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28682 if test "x$ac_cv_func__frexpf" = x""yes; then :
28683   cat >>confdefs.h <<_ACEOF
28684 #define HAVE__FREXPF 1
28685 _ACEOF
28686
28687 fi
28688 done
28689
28690     fi
28691   fi
28692
28693
28694
28695
28696
28697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28698 $as_echo_n "checking for hypotf declaration... " >&6; }
28699   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28700     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28701   $as_echo_n "(cached) " >&6
28702 else
28703
28704
28705       ac_ext=cpp
28706 ac_cpp='$CXXCPP $CPPFLAGS'
28707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28710
28711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28712 /* end confdefs.h.  */
28713 #include <math.h>
28714 int
28715 main ()
28716 {
28717  hypotf(0, 0);
28718   ;
28719   return 0;
28720 }
28721 _ACEOF
28722 if ac_fn_cxx_try_compile "$LINENO"; then :
28723   glibcxx_cv_func_hypotf_use=yes
28724 else
28725   glibcxx_cv_func_hypotf_use=no
28726 fi
28727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728       ac_ext=c
28729 ac_cpp='$CPP $CPPFLAGS'
28730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28733
28734
28735 fi
28736
28737   fi
28738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28739 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28740
28741   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28742     for ac_func in hypotf
28743 do :
28744   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28745 if test "x$ac_cv_func_hypotf" = x""yes; then :
28746   cat >>confdefs.h <<_ACEOF
28747 #define HAVE_HYPOTF 1
28748 _ACEOF
28749
28750 fi
28751 done
28752
28753   else
28754
28755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28756 $as_echo_n "checking for _hypotf declaration... " >&6; }
28757   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28758     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28759   $as_echo_n "(cached) " >&6
28760 else
28761
28762
28763       ac_ext=cpp
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28768
28769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28770 /* end confdefs.h.  */
28771 #include <math.h>
28772 int
28773 main ()
28774 {
28775  _hypotf(0, 0);
28776   ;
28777   return 0;
28778 }
28779 _ACEOF
28780 if ac_fn_cxx_try_compile "$LINENO"; then :
28781   glibcxx_cv_func__hypotf_use=yes
28782 else
28783   glibcxx_cv_func__hypotf_use=no
28784 fi
28785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28786       ac_ext=c
28787 ac_cpp='$CPP $CPPFLAGS'
28788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28791
28792
28793 fi
28794
28795   fi
28796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28797 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28798
28799     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28800       for ac_func in _hypotf
28801 do :
28802   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28803 if test "x$ac_cv_func__hypotf" = x""yes; then :
28804   cat >>confdefs.h <<_ACEOF
28805 #define HAVE__HYPOTF 1
28806 _ACEOF
28807
28808 fi
28809 done
28810
28811     fi
28812   fi
28813
28814
28815
28816
28817
28818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28819 $as_echo_n "checking for ldexpf declaration... " >&6; }
28820   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28821     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28822   $as_echo_n "(cached) " >&6
28823 else
28824
28825
28826       ac_ext=cpp
28827 ac_cpp='$CXXCPP $CPPFLAGS'
28828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28831
28832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28833 /* end confdefs.h.  */
28834 #include <math.h>
28835 int
28836 main ()
28837 {
28838  ldexpf(0, 0);
28839   ;
28840   return 0;
28841 }
28842 _ACEOF
28843 if ac_fn_cxx_try_compile "$LINENO"; then :
28844   glibcxx_cv_func_ldexpf_use=yes
28845 else
28846   glibcxx_cv_func_ldexpf_use=no
28847 fi
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849       ac_ext=c
28850 ac_cpp='$CPP $CPPFLAGS'
28851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28854
28855
28856 fi
28857
28858   fi
28859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28860 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28861
28862   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28863     for ac_func in ldexpf
28864 do :
28865   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28866 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28867   cat >>confdefs.h <<_ACEOF
28868 #define HAVE_LDEXPF 1
28869 _ACEOF
28870
28871 fi
28872 done
28873
28874   else
28875
28876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28877 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28878   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28879     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28880   $as_echo_n "(cached) " >&6
28881 else
28882
28883
28884       ac_ext=cpp
28885 ac_cpp='$CXXCPP $CPPFLAGS'
28886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28889
28890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891 /* end confdefs.h.  */
28892 #include <math.h>
28893 int
28894 main ()
28895 {
28896  _ldexpf(0, 0);
28897   ;
28898   return 0;
28899 }
28900 _ACEOF
28901 if ac_fn_cxx_try_compile "$LINENO"; then :
28902   glibcxx_cv_func__ldexpf_use=yes
28903 else
28904   glibcxx_cv_func__ldexpf_use=no
28905 fi
28906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28907       ac_ext=c
28908 ac_cpp='$CPP $CPPFLAGS'
28909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28912
28913
28914 fi
28915
28916   fi
28917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28918 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28919
28920     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28921       for ac_func in _ldexpf
28922 do :
28923   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28924 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28925   cat >>confdefs.h <<_ACEOF
28926 #define HAVE__LDEXPF 1
28927 _ACEOF
28928
28929 fi
28930 done
28931
28932     fi
28933   fi
28934
28935
28936
28937
28938
28939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28940 $as_echo_n "checking for logf declaration... " >&6; }
28941   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28942     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28943   $as_echo_n "(cached) " >&6
28944 else
28945
28946
28947       ac_ext=cpp
28948 ac_cpp='$CXXCPP $CPPFLAGS'
28949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28952
28953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28954 /* end confdefs.h.  */
28955 #include <math.h>
28956                       #ifdef HAVE_IEEEFP_H
28957                       #include <ieeefp.h>
28958                       #endif
28959
28960 int
28961 main ()
28962 {
28963  logf(0);
28964   ;
28965   return 0;
28966 }
28967 _ACEOF
28968 if ac_fn_cxx_try_compile "$LINENO"; then :
28969   glibcxx_cv_func_logf_use=yes
28970 else
28971   glibcxx_cv_func_logf_use=no
28972 fi
28973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28974       ac_ext=c
28975 ac_cpp='$CPP $CPPFLAGS'
28976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28979
28980
28981 fi
28982
28983   fi
28984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28985 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28986
28987   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28988     for ac_func in logf
28989 do :
28990   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28991 if test "x$ac_cv_func_logf" = x""yes; then :
28992   cat >>confdefs.h <<_ACEOF
28993 #define HAVE_LOGF 1
28994 _ACEOF
28995
28996 fi
28997 done
28998
28999   else
29000
29001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29002 $as_echo_n "checking for _logf declaration... " >&6; }
29003   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29004     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29005   $as_echo_n "(cached) " >&6
29006 else
29007
29008
29009       ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29014
29015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h.  */
29017 #include <math.h>
29018                       #ifdef HAVE_IEEEFP_H
29019                       #include <ieeefp.h>
29020                       #endif
29021
29022 int
29023 main ()
29024 {
29025  _logf(0);
29026   ;
29027   return 0;
29028 }
29029 _ACEOF
29030 if ac_fn_cxx_try_compile "$LINENO"; then :
29031   glibcxx_cv_func__logf_use=yes
29032 else
29033   glibcxx_cv_func__logf_use=no
29034 fi
29035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036       ac_ext=c
29037 ac_cpp='$CPP $CPPFLAGS'
29038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29041
29042
29043 fi
29044
29045   fi
29046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29047 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29048
29049     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29050       for ac_func in _logf
29051 do :
29052   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29053 if test "x$ac_cv_func__logf" = x""yes; then :
29054   cat >>confdefs.h <<_ACEOF
29055 #define HAVE__LOGF 1
29056 _ACEOF
29057
29058 fi
29059 done
29060
29061     fi
29062   fi
29063
29064
29065
29066
29067
29068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29069 $as_echo_n "checking for log10f declaration... " >&6; }
29070   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29071     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29072   $as_echo_n "(cached) " >&6
29073 else
29074
29075
29076       ac_ext=cpp
29077 ac_cpp='$CXXCPP $CPPFLAGS'
29078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29081
29082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29083 /* end confdefs.h.  */
29084 #include <math.h>
29085                       #ifdef HAVE_IEEEFP_H
29086                       #include <ieeefp.h>
29087                       #endif
29088
29089 int
29090 main ()
29091 {
29092  log10f(0);
29093   ;
29094   return 0;
29095 }
29096 _ACEOF
29097 if ac_fn_cxx_try_compile "$LINENO"; then :
29098   glibcxx_cv_func_log10f_use=yes
29099 else
29100   glibcxx_cv_func_log10f_use=no
29101 fi
29102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29103       ac_ext=c
29104 ac_cpp='$CPP $CPPFLAGS'
29105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29108
29109
29110 fi
29111
29112   fi
29113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29114 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29115
29116   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29117     for ac_func in log10f
29118 do :
29119   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29120 if test "x$ac_cv_func_log10f" = x""yes; then :
29121   cat >>confdefs.h <<_ACEOF
29122 #define HAVE_LOG10F 1
29123 _ACEOF
29124
29125 fi
29126 done
29127
29128   else
29129
29130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29131 $as_echo_n "checking for _log10f declaration... " >&6; }
29132   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29133     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29134   $as_echo_n "(cached) " >&6
29135 else
29136
29137
29138       ac_ext=cpp
29139 ac_cpp='$CXXCPP $CPPFLAGS'
29140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29143
29144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h.  */
29146 #include <math.h>
29147                       #ifdef HAVE_IEEEFP_H
29148                       #include <ieeefp.h>
29149                       #endif
29150
29151 int
29152 main ()
29153 {
29154  _log10f(0);
29155   ;
29156   return 0;
29157 }
29158 _ACEOF
29159 if ac_fn_cxx_try_compile "$LINENO"; then :
29160   glibcxx_cv_func__log10f_use=yes
29161 else
29162   glibcxx_cv_func__log10f_use=no
29163 fi
29164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165       ac_ext=c
29166 ac_cpp='$CPP $CPPFLAGS'
29167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29170
29171
29172 fi
29173
29174   fi
29175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29176 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29177
29178     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29179       for ac_func in _log10f
29180 do :
29181   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29182 if test "x$ac_cv_func__log10f" = x""yes; then :
29183   cat >>confdefs.h <<_ACEOF
29184 #define HAVE__LOG10F 1
29185 _ACEOF
29186
29187 fi
29188 done
29189
29190     fi
29191   fi
29192
29193
29194
29195
29196
29197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29198 $as_echo_n "checking for modff declaration... " >&6; }
29199   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29200     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29201   $as_echo_n "(cached) " >&6
29202 else
29203
29204
29205       ac_ext=cpp
29206 ac_cpp='$CXXCPP $CPPFLAGS'
29207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29210
29211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29212 /* end confdefs.h.  */
29213 #include <math.h>
29214 int
29215 main ()
29216 {
29217  modff(0, 0);
29218   ;
29219   return 0;
29220 }
29221 _ACEOF
29222 if ac_fn_cxx_try_compile "$LINENO"; then :
29223   glibcxx_cv_func_modff_use=yes
29224 else
29225   glibcxx_cv_func_modff_use=no
29226 fi
29227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29228       ac_ext=c
29229 ac_cpp='$CPP $CPPFLAGS'
29230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29233
29234
29235 fi
29236
29237   fi
29238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29239 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29240
29241   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29242     for ac_func in modff
29243 do :
29244   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29245 if test "x$ac_cv_func_modff" = x""yes; then :
29246   cat >>confdefs.h <<_ACEOF
29247 #define HAVE_MODFF 1
29248 _ACEOF
29249
29250 fi
29251 done
29252
29253   else
29254
29255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29256 $as_echo_n "checking for _modff declaration... " >&6; }
29257   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29258     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29259   $as_echo_n "(cached) " >&6
29260 else
29261
29262
29263       ac_ext=cpp
29264 ac_cpp='$CXXCPP $CPPFLAGS'
29265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29268
29269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29270 /* end confdefs.h.  */
29271 #include <math.h>
29272 int
29273 main ()
29274 {
29275  _modff(0, 0);
29276   ;
29277   return 0;
29278 }
29279 _ACEOF
29280 if ac_fn_cxx_try_compile "$LINENO"; then :
29281   glibcxx_cv_func__modff_use=yes
29282 else
29283   glibcxx_cv_func__modff_use=no
29284 fi
29285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29286       ac_ext=c
29287 ac_cpp='$CPP $CPPFLAGS'
29288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29291
29292
29293 fi
29294
29295   fi
29296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29297 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29298
29299     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29300       for ac_func in _modff
29301 do :
29302   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29303 if test "x$ac_cv_func__modff" = x""yes; then :
29304   cat >>confdefs.h <<_ACEOF
29305 #define HAVE__MODFF 1
29306 _ACEOF
29307
29308 fi
29309 done
29310
29311     fi
29312   fi
29313
29314
29315
29316
29317
29318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29319 $as_echo_n "checking for modf declaration... " >&6; }
29320   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29321     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29322   $as_echo_n "(cached) " >&6
29323 else
29324
29325
29326       ac_ext=cpp
29327 ac_cpp='$CXXCPP $CPPFLAGS'
29328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29331
29332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29333 /* end confdefs.h.  */
29334 #include <math.h>
29335 int
29336 main ()
29337 {
29338  modf(0, 0);
29339   ;
29340   return 0;
29341 }
29342 _ACEOF
29343 if ac_fn_cxx_try_compile "$LINENO"; then :
29344   glibcxx_cv_func_modf_use=yes
29345 else
29346   glibcxx_cv_func_modf_use=no
29347 fi
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349       ac_ext=c
29350 ac_cpp='$CPP $CPPFLAGS'
29351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29354
29355
29356 fi
29357
29358   fi
29359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29360 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29361
29362   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29363     for ac_func in modf
29364 do :
29365   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29366 if test "x$ac_cv_func_modf" = x""yes; then :
29367   cat >>confdefs.h <<_ACEOF
29368 #define HAVE_MODF 1
29369 _ACEOF
29370
29371 fi
29372 done
29373
29374   else
29375
29376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29377 $as_echo_n "checking for _modf declaration... " >&6; }
29378   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29379     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29380   $as_echo_n "(cached) " >&6
29381 else
29382
29383
29384       ac_ext=cpp
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29389
29390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h.  */
29392 #include <math.h>
29393 int
29394 main ()
29395 {
29396  _modf(0, 0);
29397   ;
29398   return 0;
29399 }
29400 _ACEOF
29401 if ac_fn_cxx_try_compile "$LINENO"; then :
29402   glibcxx_cv_func__modf_use=yes
29403 else
29404   glibcxx_cv_func__modf_use=no
29405 fi
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407       ac_ext=c
29408 ac_cpp='$CPP $CPPFLAGS'
29409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29412
29413
29414 fi
29415
29416   fi
29417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29418 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29419
29420     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29421       for ac_func in _modf
29422 do :
29423   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29424 if test "x$ac_cv_func__modf" = x""yes; then :
29425   cat >>confdefs.h <<_ACEOF
29426 #define HAVE__MODF 1
29427 _ACEOF
29428
29429 fi
29430 done
29431
29432     fi
29433   fi
29434
29435
29436
29437
29438
29439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29440 $as_echo_n "checking for powf declaration... " >&6; }
29441   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29442     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29443   $as_echo_n "(cached) " >&6
29444 else
29445
29446
29447       ac_ext=cpp
29448 ac_cpp='$CXXCPP $CPPFLAGS'
29449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29452
29453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29454 /* end confdefs.h.  */
29455 #include <math.h>
29456 int
29457 main ()
29458 {
29459  powf(0, 0);
29460   ;
29461   return 0;
29462 }
29463 _ACEOF
29464 if ac_fn_cxx_try_compile "$LINENO"; then :
29465   glibcxx_cv_func_powf_use=yes
29466 else
29467   glibcxx_cv_func_powf_use=no
29468 fi
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470       ac_ext=c
29471 ac_cpp='$CPP $CPPFLAGS'
29472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29475
29476
29477 fi
29478
29479   fi
29480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29481 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29482
29483   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29484     for ac_func in powf
29485 do :
29486   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29487 if test "x$ac_cv_func_powf" = x""yes; then :
29488   cat >>confdefs.h <<_ACEOF
29489 #define HAVE_POWF 1
29490 _ACEOF
29491
29492 fi
29493 done
29494
29495   else
29496
29497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29498 $as_echo_n "checking for _powf declaration... " >&6; }
29499   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29500     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29501   $as_echo_n "(cached) " >&6
29502 else
29503
29504
29505       ac_ext=cpp
29506 ac_cpp='$CXXCPP $CPPFLAGS'
29507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29510
29511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29512 /* end confdefs.h.  */
29513 #include <math.h>
29514 int
29515 main ()
29516 {
29517  _powf(0, 0);
29518   ;
29519   return 0;
29520 }
29521 _ACEOF
29522 if ac_fn_cxx_try_compile "$LINENO"; then :
29523   glibcxx_cv_func__powf_use=yes
29524 else
29525   glibcxx_cv_func__powf_use=no
29526 fi
29527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29528       ac_ext=c
29529 ac_cpp='$CPP $CPPFLAGS'
29530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29533
29534
29535 fi
29536
29537   fi
29538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29539 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29540
29541     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29542       for ac_func in _powf
29543 do :
29544   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29545 if test "x$ac_cv_func__powf" = x""yes; then :
29546   cat >>confdefs.h <<_ACEOF
29547 #define HAVE__POWF 1
29548 _ACEOF
29549
29550 fi
29551 done
29552
29553     fi
29554   fi
29555
29556
29557
29558
29559
29560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29561 $as_echo_n "checking for sqrtf declaration... " >&6; }
29562   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29563     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29564   $as_echo_n "(cached) " >&6
29565 else
29566
29567
29568       ac_ext=cpp
29569 ac_cpp='$CXXCPP $CPPFLAGS'
29570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29573
29574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h.  */
29576 #include <math.h>
29577                       #ifdef HAVE_IEEEFP_H
29578                       #include <ieeefp.h>
29579                       #endif
29580
29581 int
29582 main ()
29583 {
29584  sqrtf(0);
29585   ;
29586   return 0;
29587 }
29588 _ACEOF
29589 if ac_fn_cxx_try_compile "$LINENO"; then :
29590   glibcxx_cv_func_sqrtf_use=yes
29591 else
29592   glibcxx_cv_func_sqrtf_use=no
29593 fi
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595       ac_ext=c
29596 ac_cpp='$CPP $CPPFLAGS'
29597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29600
29601
29602 fi
29603
29604   fi
29605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29606 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29607
29608   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29609     for ac_func in sqrtf
29610 do :
29611   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29612 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29613   cat >>confdefs.h <<_ACEOF
29614 #define HAVE_SQRTF 1
29615 _ACEOF
29616
29617 fi
29618 done
29619
29620   else
29621
29622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29623 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29624   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29625     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29626   $as_echo_n "(cached) " >&6
29627 else
29628
29629
29630       ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29635
29636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h.  */
29638 #include <math.h>
29639                       #ifdef HAVE_IEEEFP_H
29640                       #include <ieeefp.h>
29641                       #endif
29642
29643 int
29644 main ()
29645 {
29646  _sqrtf(0);
29647   ;
29648   return 0;
29649 }
29650 _ACEOF
29651 if ac_fn_cxx_try_compile "$LINENO"; then :
29652   glibcxx_cv_func__sqrtf_use=yes
29653 else
29654   glibcxx_cv_func__sqrtf_use=no
29655 fi
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657       ac_ext=c
29658 ac_cpp='$CPP $CPPFLAGS'
29659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29662
29663
29664 fi
29665
29666   fi
29667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29668 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29669
29670     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29671       for ac_func in _sqrtf
29672 do :
29673   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29674 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29675   cat >>confdefs.h <<_ACEOF
29676 #define HAVE__SQRTF 1
29677 _ACEOF
29678
29679 fi
29680 done
29681
29682     fi
29683   fi
29684
29685
29686
29687
29688
29689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29690 $as_echo_n "checking for sincosf declaration... " >&6; }
29691   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29692     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29693   $as_echo_n "(cached) " >&6
29694 else
29695
29696
29697       ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29702
29703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h.  */
29705 #include <math.h>
29706 int
29707 main ()
29708 {
29709  sincosf(0, 0, 0);
29710   ;
29711   return 0;
29712 }
29713 _ACEOF
29714 if ac_fn_cxx_try_compile "$LINENO"; then :
29715   glibcxx_cv_func_sincosf_use=yes
29716 else
29717   glibcxx_cv_func_sincosf_use=no
29718 fi
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720       ac_ext=c
29721 ac_cpp='$CPP $CPPFLAGS'
29722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29725
29726
29727 fi
29728
29729   fi
29730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29731 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29732
29733   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29734     for ac_func in sincosf
29735 do :
29736   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29737 if test "x$ac_cv_func_sincosf" = x""yes; then :
29738   cat >>confdefs.h <<_ACEOF
29739 #define HAVE_SINCOSF 1
29740 _ACEOF
29741
29742 fi
29743 done
29744
29745   else
29746
29747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29748 $as_echo_n "checking for _sincosf declaration... " >&6; }
29749   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29750     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29751   $as_echo_n "(cached) " >&6
29752 else
29753
29754
29755       ac_ext=cpp
29756 ac_cpp='$CXXCPP $CPPFLAGS'
29757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29760
29761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29762 /* end confdefs.h.  */
29763 #include <math.h>
29764 int
29765 main ()
29766 {
29767  _sincosf(0, 0, 0);
29768   ;
29769   return 0;
29770 }
29771 _ACEOF
29772 if ac_fn_cxx_try_compile "$LINENO"; then :
29773   glibcxx_cv_func__sincosf_use=yes
29774 else
29775   glibcxx_cv_func__sincosf_use=no
29776 fi
29777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29778       ac_ext=c
29779 ac_cpp='$CPP $CPPFLAGS'
29780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29783
29784
29785 fi
29786
29787   fi
29788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29789 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29790
29791     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29792       for ac_func in _sincosf
29793 do :
29794   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29795 if test "x$ac_cv_func__sincosf" = x""yes; then :
29796   cat >>confdefs.h <<_ACEOF
29797 #define HAVE__SINCOSF 1
29798 _ACEOF
29799
29800 fi
29801 done
29802
29803     fi
29804   fi
29805
29806
29807
29808
29809
29810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29811 $as_echo_n "checking for finitef declaration... " >&6; }
29812   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29813     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29814   $as_echo_n "(cached) " >&6
29815 else
29816
29817
29818       ac_ext=cpp
29819 ac_cpp='$CXXCPP $CPPFLAGS'
29820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29823
29824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29825 /* end confdefs.h.  */
29826 #include <math.h>
29827                       #ifdef HAVE_IEEEFP_H
29828                       #include <ieeefp.h>
29829                       #endif
29830
29831 int
29832 main ()
29833 {
29834  finitef(0);
29835   ;
29836   return 0;
29837 }
29838 _ACEOF
29839 if ac_fn_cxx_try_compile "$LINENO"; then :
29840   glibcxx_cv_func_finitef_use=yes
29841 else
29842   glibcxx_cv_func_finitef_use=no
29843 fi
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845       ac_ext=c
29846 ac_cpp='$CPP $CPPFLAGS'
29847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29850
29851
29852 fi
29853
29854   fi
29855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29856 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29857
29858   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29859     for ac_func in finitef
29860 do :
29861   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29862 if test "x$ac_cv_func_finitef" = x""yes; then :
29863   cat >>confdefs.h <<_ACEOF
29864 #define HAVE_FINITEF 1
29865 _ACEOF
29866
29867 fi
29868 done
29869
29870   else
29871
29872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29873 $as_echo_n "checking for _finitef declaration... " >&6; }
29874   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29875     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29876   $as_echo_n "(cached) " >&6
29877 else
29878
29879
29880       ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885
29886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h.  */
29888 #include <math.h>
29889                       #ifdef HAVE_IEEEFP_H
29890                       #include <ieeefp.h>
29891                       #endif
29892
29893 int
29894 main ()
29895 {
29896  _finitef(0);
29897   ;
29898   return 0;
29899 }
29900 _ACEOF
29901 if ac_fn_cxx_try_compile "$LINENO"; then :
29902   glibcxx_cv_func__finitef_use=yes
29903 else
29904   glibcxx_cv_func__finitef_use=no
29905 fi
29906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29907       ac_ext=c
29908 ac_cpp='$CPP $CPPFLAGS'
29909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29912
29913
29914 fi
29915
29916   fi
29917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29918 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29919
29920     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29921       for ac_func in _finitef
29922 do :
29923   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29924 if test "x$ac_cv_func__finitef" = x""yes; then :
29925   cat >>confdefs.h <<_ACEOF
29926 #define HAVE__FINITEF 1
29927 _ACEOF
29928
29929 fi
29930 done
29931
29932     fi
29933   fi
29934
29935
29936
29937
29938
29939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29940 $as_echo_n "checking for long double trig functions... " >&6; }
29941   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29942   $as_echo_n "(cached) " >&6
29943 else
29944
29945
29946     ac_ext=cpp
29947 ac_cpp='$CXXCPP $CPPFLAGS'
29948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29951
29952     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29953 /* end confdefs.h.  */
29954 #include <math.h>
29955 int
29956 main ()
29957 {
29958 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29959   ;
29960   return 0;
29961 }
29962 _ACEOF
29963 if ac_fn_cxx_try_compile "$LINENO"; then :
29964   glibcxx_cv_func_long_double_trig_use=yes
29965 else
29966   glibcxx_cv_func_long_double_trig_use=no
29967 fi
29968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29969     ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29974
29975 fi
29976
29977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29978 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29979   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29980     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29981 do :
29982   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29984 eval as_val=\$$as_ac_var
29985    if test "x$as_val" = x""yes; then :
29986   cat >>confdefs.h <<_ACEOF
29987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29988 _ACEOF
29989
29990 fi
29991 done
29992
29993   else
29994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29995 $as_echo_n "checking for _long double trig functions... " >&6; }
29996     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29997   $as_echo_n "(cached) " >&6
29998 else
29999
30000
30001       ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h.  */
30009 #include <math.h>
30010 int
30011 main ()
30012 {
30013 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30014   ;
30015   return 0;
30016 }
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019   glibcxx_cv_func__long_double_trig_use=yes
30020 else
30021   glibcxx_cv_func__long_double_trig_use=no
30022 fi
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024       ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029
30030 fi
30031
30032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30033 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30034     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30035       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30036 do :
30037   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30039 eval as_val=\$$as_ac_var
30040    if test "x$as_val" = x""yes; then :
30041   cat >>confdefs.h <<_ACEOF
30042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30043 _ACEOF
30044
30045 fi
30046 done
30047
30048     fi
30049   fi
30050
30051
30052
30053
30054
30055     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30056 $as_echo_n "checking for long double round functions... " >&6; }
30057   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30058   $as_echo_n "(cached) " >&6
30059 else
30060
30061
30062     ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30067
30068     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h.  */
30070 #include <math.h>
30071 int
30072 main ()
30073 {
30074 ceill (0); floorl (0);
30075   ;
30076   return 0;
30077 }
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080   glibcxx_cv_func_long_double_round_use=yes
30081 else
30082   glibcxx_cv_func_long_double_round_use=no
30083 fi
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085     ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30090
30091 fi
30092
30093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30094 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30095   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30096     for ac_func in ceill floorl
30097 do :
30098   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30100 eval as_val=\$$as_ac_var
30101    if test "x$as_val" = x""yes; then :
30102   cat >>confdefs.h <<_ACEOF
30103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30104 _ACEOF
30105
30106 fi
30107 done
30108
30109   else
30110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30111 $as_echo_n "checking for _long double round functions... " >&6; }
30112     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30113   $as_echo_n "(cached) " >&6
30114 else
30115
30116
30117       ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30122
30123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h.  */
30125 #include <math.h>
30126 int
30127 main ()
30128 {
30129 _ceill (0); _floorl (0);
30130   ;
30131   return 0;
30132 }
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135   glibcxx_cv_func__long_double_round_use=yes
30136 else
30137   glibcxx_cv_func__long_double_round_use=no
30138 fi
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140       ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30145
30146 fi
30147
30148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30149 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30150     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30151       for ac_func in _ceill _floorl
30152 do :
30153   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30155 eval as_val=\$$as_ac_var
30156    if test "x$as_val" = x""yes; then :
30157   cat >>confdefs.h <<_ACEOF
30158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30159 _ACEOF
30160
30161 fi
30162 done
30163
30164     fi
30165   fi
30166
30167
30168
30169
30170
30171
30172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30173 $as_echo_n "checking for isnanl declaration... " >&6; }
30174   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30175     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30176   $as_echo_n "(cached) " >&6
30177 else
30178
30179
30180       ac_ext=cpp
30181 ac_cpp='$CXXCPP $CPPFLAGS'
30182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185
30186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30187 /* end confdefs.h.  */
30188 #include <math.h>
30189                       #ifdef HAVE_IEEEFP_H
30190                       #include <ieeefp.h>
30191                       #endif
30192
30193 int
30194 main ()
30195 {
30196  isnanl(0);
30197   ;
30198   return 0;
30199 }
30200 _ACEOF
30201 if ac_fn_cxx_try_compile "$LINENO"; then :
30202   glibcxx_cv_func_isnanl_use=yes
30203 else
30204   glibcxx_cv_func_isnanl_use=no
30205 fi
30206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30207       ac_ext=c
30208 ac_cpp='$CPP $CPPFLAGS'
30209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212
30213
30214 fi
30215
30216   fi
30217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30218 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30219
30220   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30221     for ac_func in isnanl
30222 do :
30223   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30224 if test "x$ac_cv_func_isnanl" = x""yes; then :
30225   cat >>confdefs.h <<_ACEOF
30226 #define HAVE_ISNANL 1
30227 _ACEOF
30228
30229 fi
30230 done
30231
30232   else
30233
30234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30235 $as_echo_n "checking for _isnanl declaration... " >&6; }
30236   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30237     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30238   $as_echo_n "(cached) " >&6
30239 else
30240
30241
30242       ac_ext=cpp
30243 ac_cpp='$CXXCPP $CPPFLAGS'
30244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30247
30248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30249 /* end confdefs.h.  */
30250 #include <math.h>
30251                       #ifdef HAVE_IEEEFP_H
30252                       #include <ieeefp.h>
30253                       #endif
30254
30255 int
30256 main ()
30257 {
30258  _isnanl(0);
30259   ;
30260   return 0;
30261 }
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264   glibcxx_cv_func__isnanl_use=yes
30265 else
30266   glibcxx_cv_func__isnanl_use=no
30267 fi
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269       ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30274
30275
30276 fi
30277
30278   fi
30279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30280 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30281
30282     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30283       for ac_func in _isnanl
30284 do :
30285   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30286 if test "x$ac_cv_func__isnanl" = x""yes; then :
30287   cat >>confdefs.h <<_ACEOF
30288 #define HAVE__ISNANL 1
30289 _ACEOF
30290
30291 fi
30292 done
30293
30294     fi
30295   fi
30296
30297
30298
30299
30300
30301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30302 $as_echo_n "checking for isinfl declaration... " >&6; }
30303   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30304     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30305   $as_echo_n "(cached) " >&6
30306 else
30307
30308
30309       ac_ext=cpp
30310 ac_cpp='$CXXCPP $CPPFLAGS'
30311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30314
30315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30316 /* end confdefs.h.  */
30317 #include <math.h>
30318                       #ifdef HAVE_IEEEFP_H
30319                       #include <ieeefp.h>
30320                       #endif
30321
30322 int
30323 main ()
30324 {
30325  isinfl(0);
30326   ;
30327   return 0;
30328 }
30329 _ACEOF
30330 if ac_fn_cxx_try_compile "$LINENO"; then :
30331   glibcxx_cv_func_isinfl_use=yes
30332 else
30333   glibcxx_cv_func_isinfl_use=no
30334 fi
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336       ac_ext=c
30337 ac_cpp='$CPP $CPPFLAGS'
30338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30341
30342
30343 fi
30344
30345   fi
30346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30347 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30348
30349   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30350     for ac_func in isinfl
30351 do :
30352   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30353 if test "x$ac_cv_func_isinfl" = x""yes; then :
30354   cat >>confdefs.h <<_ACEOF
30355 #define HAVE_ISINFL 1
30356 _ACEOF
30357
30358 fi
30359 done
30360
30361   else
30362
30363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30364 $as_echo_n "checking for _isinfl declaration... " >&6; }
30365   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30366     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30367   $as_echo_n "(cached) " >&6
30368 else
30369
30370
30371       ac_ext=cpp
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376
30377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h.  */
30379 #include <math.h>
30380                       #ifdef HAVE_IEEEFP_H
30381                       #include <ieeefp.h>
30382                       #endif
30383
30384 int
30385 main ()
30386 {
30387  _isinfl(0);
30388   ;
30389   return 0;
30390 }
30391 _ACEOF
30392 if ac_fn_cxx_try_compile "$LINENO"; then :
30393   glibcxx_cv_func__isinfl_use=yes
30394 else
30395   glibcxx_cv_func__isinfl_use=no
30396 fi
30397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30398       ac_ext=c
30399 ac_cpp='$CPP $CPPFLAGS'
30400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30403
30404
30405 fi
30406
30407   fi
30408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30409 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30410
30411     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30412       for ac_func in _isinfl
30413 do :
30414   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30415 if test "x$ac_cv_func__isinfl" = x""yes; then :
30416   cat >>confdefs.h <<_ACEOF
30417 #define HAVE__ISINFL 1
30418 _ACEOF
30419
30420 fi
30421 done
30422
30423     fi
30424   fi
30425
30426
30427
30428
30429
30430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30431 $as_echo_n "checking for atan2l declaration... " >&6; }
30432   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30433     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30434   $as_echo_n "(cached) " >&6
30435 else
30436
30437
30438       ac_ext=cpp
30439 ac_cpp='$CXXCPP $CPPFLAGS'
30440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30443
30444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30445 /* end confdefs.h.  */
30446 #include <math.h>
30447 int
30448 main ()
30449 {
30450  atan2l(0, 0);
30451   ;
30452   return 0;
30453 }
30454 _ACEOF
30455 if ac_fn_cxx_try_compile "$LINENO"; then :
30456   glibcxx_cv_func_atan2l_use=yes
30457 else
30458   glibcxx_cv_func_atan2l_use=no
30459 fi
30460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30461       ac_ext=c
30462 ac_cpp='$CPP $CPPFLAGS'
30463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466
30467
30468 fi
30469
30470   fi
30471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30472 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30473
30474   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30475     for ac_func in atan2l
30476 do :
30477   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30478 if test "x$ac_cv_func_atan2l" = x""yes; then :
30479   cat >>confdefs.h <<_ACEOF
30480 #define HAVE_ATAN2L 1
30481 _ACEOF
30482
30483 fi
30484 done
30485
30486   else
30487
30488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30489 $as_echo_n "checking for _atan2l declaration... " >&6; }
30490   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30491     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30492   $as_echo_n "(cached) " >&6
30493 else
30494
30495
30496       ac_ext=cpp
30497 ac_cpp='$CXXCPP $CPPFLAGS'
30498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30501
30502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30503 /* end confdefs.h.  */
30504 #include <math.h>
30505 int
30506 main ()
30507 {
30508  _atan2l(0, 0);
30509   ;
30510   return 0;
30511 }
30512 _ACEOF
30513 if ac_fn_cxx_try_compile "$LINENO"; then :
30514   glibcxx_cv_func__atan2l_use=yes
30515 else
30516   glibcxx_cv_func__atan2l_use=no
30517 fi
30518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30519       ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524
30525
30526 fi
30527
30528   fi
30529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30530 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30531
30532     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30533       for ac_func in _atan2l
30534 do :
30535   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30536 if test "x$ac_cv_func__atan2l" = x""yes; then :
30537   cat >>confdefs.h <<_ACEOF
30538 #define HAVE__ATAN2L 1
30539 _ACEOF
30540
30541 fi
30542 done
30543
30544     fi
30545   fi
30546
30547
30548
30549
30550
30551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30552 $as_echo_n "checking for expl declaration... " >&6; }
30553   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30554     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30555   $as_echo_n "(cached) " >&6
30556 else
30557
30558
30559       ac_ext=cpp
30560 ac_cpp='$CXXCPP $CPPFLAGS'
30561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30564
30565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30566 /* end confdefs.h.  */
30567 #include <math.h>
30568                       #ifdef HAVE_IEEEFP_H
30569                       #include <ieeefp.h>
30570                       #endif
30571
30572 int
30573 main ()
30574 {
30575  expl(0);
30576   ;
30577   return 0;
30578 }
30579 _ACEOF
30580 if ac_fn_cxx_try_compile "$LINENO"; then :
30581   glibcxx_cv_func_expl_use=yes
30582 else
30583   glibcxx_cv_func_expl_use=no
30584 fi
30585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30586       ac_ext=c
30587 ac_cpp='$CPP $CPPFLAGS'
30588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30591
30592
30593 fi
30594
30595   fi
30596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30597 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30598
30599   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30600     for ac_func in expl
30601 do :
30602   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30603 if test "x$ac_cv_func_expl" = x""yes; then :
30604   cat >>confdefs.h <<_ACEOF
30605 #define HAVE_EXPL 1
30606 _ACEOF
30607
30608 fi
30609 done
30610
30611   else
30612
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30614 $as_echo_n "checking for _expl declaration... " >&6; }
30615   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30616     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30617   $as_echo_n "(cached) " >&6
30618 else
30619
30620
30621       ac_ext=cpp
30622 ac_cpp='$CXXCPP $CPPFLAGS'
30623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30626
30627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628 /* end confdefs.h.  */
30629 #include <math.h>
30630                       #ifdef HAVE_IEEEFP_H
30631                       #include <ieeefp.h>
30632                       #endif
30633
30634 int
30635 main ()
30636 {
30637  _expl(0);
30638   ;
30639   return 0;
30640 }
30641 _ACEOF
30642 if ac_fn_cxx_try_compile "$LINENO"; then :
30643   glibcxx_cv_func__expl_use=yes
30644 else
30645   glibcxx_cv_func__expl_use=no
30646 fi
30647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30648       ac_ext=c
30649 ac_cpp='$CPP $CPPFLAGS'
30650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30653
30654
30655 fi
30656
30657   fi
30658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30659 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30660
30661     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30662       for ac_func in _expl
30663 do :
30664   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30665 if test "x$ac_cv_func__expl" = x""yes; then :
30666   cat >>confdefs.h <<_ACEOF
30667 #define HAVE__EXPL 1
30668 _ACEOF
30669
30670 fi
30671 done
30672
30673     fi
30674   fi
30675
30676
30677
30678
30679
30680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30681 $as_echo_n "checking for fabsl declaration... " >&6; }
30682   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30683     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30684   $as_echo_n "(cached) " >&6
30685 else
30686
30687
30688       ac_ext=cpp
30689 ac_cpp='$CXXCPP $CPPFLAGS'
30690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30693
30694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h.  */
30696 #include <math.h>
30697                       #ifdef HAVE_IEEEFP_H
30698                       #include <ieeefp.h>
30699                       #endif
30700
30701 int
30702 main ()
30703 {
30704  fabsl(0);
30705   ;
30706   return 0;
30707 }
30708 _ACEOF
30709 if ac_fn_cxx_try_compile "$LINENO"; then :
30710   glibcxx_cv_func_fabsl_use=yes
30711 else
30712   glibcxx_cv_func_fabsl_use=no
30713 fi
30714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30715       ac_ext=c
30716 ac_cpp='$CPP $CPPFLAGS'
30717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30720
30721
30722 fi
30723
30724   fi
30725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30726 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30727
30728   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30729     for ac_func in fabsl
30730 do :
30731   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30732 if test "x$ac_cv_func_fabsl" = x""yes; then :
30733   cat >>confdefs.h <<_ACEOF
30734 #define HAVE_FABSL 1
30735 _ACEOF
30736
30737 fi
30738 done
30739
30740   else
30741
30742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30743 $as_echo_n "checking for _fabsl declaration... " >&6; }
30744   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30745     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30746   $as_echo_n "(cached) " >&6
30747 else
30748
30749
30750       ac_ext=cpp
30751 ac_cpp='$CXXCPP $CPPFLAGS'
30752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30755
30756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30757 /* end confdefs.h.  */
30758 #include <math.h>
30759                       #ifdef HAVE_IEEEFP_H
30760                       #include <ieeefp.h>
30761                       #endif
30762
30763 int
30764 main ()
30765 {
30766  _fabsl(0);
30767   ;
30768   return 0;
30769 }
30770 _ACEOF
30771 if ac_fn_cxx_try_compile "$LINENO"; then :
30772   glibcxx_cv_func__fabsl_use=yes
30773 else
30774   glibcxx_cv_func__fabsl_use=no
30775 fi
30776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30777       ac_ext=c
30778 ac_cpp='$CPP $CPPFLAGS'
30779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30782
30783
30784 fi
30785
30786   fi
30787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30788 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30789
30790     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30791       for ac_func in _fabsl
30792 do :
30793   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30794 if test "x$ac_cv_func__fabsl" = x""yes; then :
30795   cat >>confdefs.h <<_ACEOF
30796 #define HAVE__FABSL 1
30797 _ACEOF
30798
30799 fi
30800 done
30801
30802     fi
30803   fi
30804
30805
30806
30807
30808
30809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30810 $as_echo_n "checking for fmodl declaration... " >&6; }
30811   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30812     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30813   $as_echo_n "(cached) " >&6
30814 else
30815
30816
30817       ac_ext=cpp
30818 ac_cpp='$CXXCPP $CPPFLAGS'
30819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30822
30823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30824 /* end confdefs.h.  */
30825 #include <math.h>
30826 int
30827 main ()
30828 {
30829  fmodl(0, 0);
30830   ;
30831   return 0;
30832 }
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835   glibcxx_cv_func_fmodl_use=yes
30836 else
30837   glibcxx_cv_func_fmodl_use=no
30838 fi
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840       ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30845
30846
30847 fi
30848
30849   fi
30850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30851 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30852
30853   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30854     for ac_func in fmodl
30855 do :
30856   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30857 if test "x$ac_cv_func_fmodl" = x""yes; then :
30858   cat >>confdefs.h <<_ACEOF
30859 #define HAVE_FMODL 1
30860 _ACEOF
30861
30862 fi
30863 done
30864
30865   else
30866
30867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30868 $as_echo_n "checking for _fmodl declaration... " >&6; }
30869   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30870     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30871   $as_echo_n "(cached) " >&6
30872 else
30873
30874
30875       ac_ext=cpp
30876 ac_cpp='$CXXCPP $CPPFLAGS'
30877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30880
30881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h.  */
30883 #include <math.h>
30884 int
30885 main ()
30886 {
30887  _fmodl(0, 0);
30888   ;
30889   return 0;
30890 }
30891 _ACEOF
30892 if ac_fn_cxx_try_compile "$LINENO"; then :
30893   glibcxx_cv_func__fmodl_use=yes
30894 else
30895   glibcxx_cv_func__fmodl_use=no
30896 fi
30897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30898       ac_ext=c
30899 ac_cpp='$CPP $CPPFLAGS'
30900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30903
30904
30905 fi
30906
30907   fi
30908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30909 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30910
30911     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30912       for ac_func in _fmodl
30913 do :
30914   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30915 if test "x$ac_cv_func__fmodl" = x""yes; then :
30916   cat >>confdefs.h <<_ACEOF
30917 #define HAVE__FMODL 1
30918 _ACEOF
30919
30920 fi
30921 done
30922
30923     fi
30924   fi
30925
30926
30927
30928
30929
30930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30931 $as_echo_n "checking for frexpl declaration... " >&6; }
30932   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30933     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30934   $as_echo_n "(cached) " >&6
30935 else
30936
30937
30938       ac_ext=cpp
30939 ac_cpp='$CXXCPP $CPPFLAGS'
30940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30943
30944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30945 /* end confdefs.h.  */
30946 #include <math.h>
30947 int
30948 main ()
30949 {
30950  frexpl(0, 0);
30951   ;
30952   return 0;
30953 }
30954 _ACEOF
30955 if ac_fn_cxx_try_compile "$LINENO"; then :
30956   glibcxx_cv_func_frexpl_use=yes
30957 else
30958   glibcxx_cv_func_frexpl_use=no
30959 fi
30960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30961       ac_ext=c
30962 ac_cpp='$CPP $CPPFLAGS'
30963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30966
30967
30968 fi
30969
30970   fi
30971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30972 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30973
30974   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30975     for ac_func in frexpl
30976 do :
30977   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30978 if test "x$ac_cv_func_frexpl" = x""yes; then :
30979   cat >>confdefs.h <<_ACEOF
30980 #define HAVE_FREXPL 1
30981 _ACEOF
30982
30983 fi
30984 done
30985
30986   else
30987
30988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30989 $as_echo_n "checking for _frexpl declaration... " >&6; }
30990   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30991     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30992   $as_echo_n "(cached) " >&6
30993 else
30994
30995
30996       ac_ext=cpp
30997 ac_cpp='$CXXCPP $CPPFLAGS'
30998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31001
31002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31003 /* end confdefs.h.  */
31004 #include <math.h>
31005 int
31006 main ()
31007 {
31008  _frexpl(0, 0);
31009   ;
31010   return 0;
31011 }
31012 _ACEOF
31013 if ac_fn_cxx_try_compile "$LINENO"; then :
31014   glibcxx_cv_func__frexpl_use=yes
31015 else
31016   glibcxx_cv_func__frexpl_use=no
31017 fi
31018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31019       ac_ext=c
31020 ac_cpp='$CPP $CPPFLAGS'
31021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31024
31025
31026 fi
31027
31028   fi
31029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31030 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31031
31032     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31033       for ac_func in _frexpl
31034 do :
31035   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31036 if test "x$ac_cv_func__frexpl" = x""yes; then :
31037   cat >>confdefs.h <<_ACEOF
31038 #define HAVE__FREXPL 1
31039 _ACEOF
31040
31041 fi
31042 done
31043
31044     fi
31045   fi
31046
31047
31048
31049
31050
31051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31052 $as_echo_n "checking for hypotl declaration... " >&6; }
31053   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31054     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31055   $as_echo_n "(cached) " >&6
31056 else
31057
31058
31059       ac_ext=cpp
31060 ac_cpp='$CXXCPP $CPPFLAGS'
31061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31064
31065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31066 /* end confdefs.h.  */
31067 #include <math.h>
31068 int
31069 main ()
31070 {
31071  hypotl(0, 0);
31072   ;
31073   return 0;
31074 }
31075 _ACEOF
31076 if ac_fn_cxx_try_compile "$LINENO"; then :
31077   glibcxx_cv_func_hypotl_use=yes
31078 else
31079   glibcxx_cv_func_hypotl_use=no
31080 fi
31081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31082       ac_ext=c
31083 ac_cpp='$CPP $CPPFLAGS'
31084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087
31088
31089 fi
31090
31091   fi
31092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31093 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31094
31095   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31096     for ac_func in hypotl
31097 do :
31098   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31099 if test "x$ac_cv_func_hypotl" = x""yes; then :
31100   cat >>confdefs.h <<_ACEOF
31101 #define HAVE_HYPOTL 1
31102 _ACEOF
31103
31104 fi
31105 done
31106
31107   else
31108
31109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31110 $as_echo_n "checking for _hypotl declaration... " >&6; }
31111   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31112     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31113   $as_echo_n "(cached) " >&6
31114 else
31115
31116
31117       ac_ext=cpp
31118 ac_cpp='$CXXCPP $CPPFLAGS'
31119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31122
31123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h.  */
31125 #include <math.h>
31126 int
31127 main ()
31128 {
31129  _hypotl(0, 0);
31130   ;
31131   return 0;
31132 }
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135   glibcxx_cv_func__hypotl_use=yes
31136 else
31137   glibcxx_cv_func__hypotl_use=no
31138 fi
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140       ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31145
31146
31147 fi
31148
31149   fi
31150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31151 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31152
31153     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31154       for ac_func in _hypotl
31155 do :
31156   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31157 if test "x$ac_cv_func__hypotl" = x""yes; then :
31158   cat >>confdefs.h <<_ACEOF
31159 #define HAVE__HYPOTL 1
31160 _ACEOF
31161
31162 fi
31163 done
31164
31165     fi
31166   fi
31167
31168
31169
31170
31171
31172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31173 $as_echo_n "checking for ldexpl declaration... " >&6; }
31174   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31175     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31176   $as_echo_n "(cached) " >&6
31177 else
31178
31179
31180       ac_ext=cpp
31181 ac_cpp='$CXXCPP $CPPFLAGS'
31182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31185
31186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31187 /* end confdefs.h.  */
31188 #include <math.h>
31189 int
31190 main ()
31191 {
31192  ldexpl(0, 0);
31193   ;
31194   return 0;
31195 }
31196 _ACEOF
31197 if ac_fn_cxx_try_compile "$LINENO"; then :
31198   glibcxx_cv_func_ldexpl_use=yes
31199 else
31200   glibcxx_cv_func_ldexpl_use=no
31201 fi
31202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31203       ac_ext=c
31204 ac_cpp='$CPP $CPPFLAGS'
31205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31208
31209
31210 fi
31211
31212   fi
31213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31214 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31215
31216   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31217     for ac_func in ldexpl
31218 do :
31219   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31220 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31221   cat >>confdefs.h <<_ACEOF
31222 #define HAVE_LDEXPL 1
31223 _ACEOF
31224
31225 fi
31226 done
31227
31228   else
31229
31230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31231 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31232   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31233     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31234   $as_echo_n "(cached) " >&6
31235 else
31236
31237
31238       ac_ext=cpp
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31243
31244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31245 /* end confdefs.h.  */
31246 #include <math.h>
31247 int
31248 main ()
31249 {
31250  _ldexpl(0, 0);
31251   ;
31252   return 0;
31253 }
31254 _ACEOF
31255 if ac_fn_cxx_try_compile "$LINENO"; then :
31256   glibcxx_cv_func__ldexpl_use=yes
31257 else
31258   glibcxx_cv_func__ldexpl_use=no
31259 fi
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261       ac_ext=c
31262 ac_cpp='$CPP $CPPFLAGS'
31263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31266
31267
31268 fi
31269
31270   fi
31271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31272 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31273
31274     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31275       for ac_func in _ldexpl
31276 do :
31277   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31278 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31279   cat >>confdefs.h <<_ACEOF
31280 #define HAVE__LDEXPL 1
31281 _ACEOF
31282
31283 fi
31284 done
31285
31286     fi
31287   fi
31288
31289
31290
31291
31292
31293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31294 $as_echo_n "checking for logl declaration... " >&6; }
31295   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31296     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31297   $as_echo_n "(cached) " >&6
31298 else
31299
31300
31301       ac_ext=cpp
31302 ac_cpp='$CXXCPP $CPPFLAGS'
31303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306
31307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31308 /* end confdefs.h.  */
31309 #include <math.h>
31310                       #ifdef HAVE_IEEEFP_H
31311                       #include <ieeefp.h>
31312                       #endif
31313
31314 int
31315 main ()
31316 {
31317  logl(0);
31318   ;
31319   return 0;
31320 }
31321 _ACEOF
31322 if ac_fn_cxx_try_compile "$LINENO"; then :
31323   glibcxx_cv_func_logl_use=yes
31324 else
31325   glibcxx_cv_func_logl_use=no
31326 fi
31327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31328       ac_ext=c
31329 ac_cpp='$CPP $CPPFLAGS'
31330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31333
31334
31335 fi
31336
31337   fi
31338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31339 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31340
31341   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31342     for ac_func in logl
31343 do :
31344   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31345 if test "x$ac_cv_func_logl" = x""yes; then :
31346   cat >>confdefs.h <<_ACEOF
31347 #define HAVE_LOGL 1
31348 _ACEOF
31349
31350 fi
31351 done
31352
31353   else
31354
31355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31356 $as_echo_n "checking for _logl declaration... " >&6; }
31357   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31358     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31359   $as_echo_n "(cached) " >&6
31360 else
31361
31362
31363       ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31368
31369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h.  */
31371 #include <math.h>
31372                       #ifdef HAVE_IEEEFP_H
31373                       #include <ieeefp.h>
31374                       #endif
31375
31376 int
31377 main ()
31378 {
31379  _logl(0);
31380   ;
31381   return 0;
31382 }
31383 _ACEOF
31384 if ac_fn_cxx_try_compile "$LINENO"; then :
31385   glibcxx_cv_func__logl_use=yes
31386 else
31387   glibcxx_cv_func__logl_use=no
31388 fi
31389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31390       ac_ext=c
31391 ac_cpp='$CPP $CPPFLAGS'
31392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31395
31396
31397 fi
31398
31399   fi
31400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31401 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31402
31403     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31404       for ac_func in _logl
31405 do :
31406   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31407 if test "x$ac_cv_func__logl" = x""yes; then :
31408   cat >>confdefs.h <<_ACEOF
31409 #define HAVE__LOGL 1
31410 _ACEOF
31411
31412 fi
31413 done
31414
31415     fi
31416   fi
31417
31418
31419
31420
31421
31422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31423 $as_echo_n "checking for log10l declaration... " >&6; }
31424   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31425     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31426   $as_echo_n "(cached) " >&6
31427 else
31428
31429
31430       ac_ext=cpp
31431 ac_cpp='$CXXCPP $CPPFLAGS'
31432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31435
31436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31437 /* end confdefs.h.  */
31438 #include <math.h>
31439                       #ifdef HAVE_IEEEFP_H
31440                       #include <ieeefp.h>
31441                       #endif
31442
31443 int
31444 main ()
31445 {
31446  log10l(0);
31447   ;
31448   return 0;
31449 }
31450 _ACEOF
31451 if ac_fn_cxx_try_compile "$LINENO"; then :
31452   glibcxx_cv_func_log10l_use=yes
31453 else
31454   glibcxx_cv_func_log10l_use=no
31455 fi
31456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31457       ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31462
31463
31464 fi
31465
31466   fi
31467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31468 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31469
31470   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31471     for ac_func in log10l
31472 do :
31473   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31474 if test "x$ac_cv_func_log10l" = x""yes; then :
31475   cat >>confdefs.h <<_ACEOF
31476 #define HAVE_LOG10L 1
31477 _ACEOF
31478
31479 fi
31480 done
31481
31482   else
31483
31484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31485 $as_echo_n "checking for _log10l declaration... " >&6; }
31486   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31487     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31488   $as_echo_n "(cached) " >&6
31489 else
31490
31491
31492       ac_ext=cpp
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31497
31498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h.  */
31500 #include <math.h>
31501                       #ifdef HAVE_IEEEFP_H
31502                       #include <ieeefp.h>
31503                       #endif
31504
31505 int
31506 main ()
31507 {
31508  _log10l(0);
31509   ;
31510   return 0;
31511 }
31512 _ACEOF
31513 if ac_fn_cxx_try_compile "$LINENO"; then :
31514   glibcxx_cv_func__log10l_use=yes
31515 else
31516   glibcxx_cv_func__log10l_use=no
31517 fi
31518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31519       ac_ext=c
31520 ac_cpp='$CPP $CPPFLAGS'
31521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31524
31525
31526 fi
31527
31528   fi
31529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31530 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31531
31532     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31533       for ac_func in _log10l
31534 do :
31535   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31536 if test "x$ac_cv_func__log10l" = x""yes; then :
31537   cat >>confdefs.h <<_ACEOF
31538 #define HAVE__LOG10L 1
31539 _ACEOF
31540
31541 fi
31542 done
31543
31544     fi
31545   fi
31546
31547
31548
31549
31550
31551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31552 $as_echo_n "checking for modfl declaration... " >&6; }
31553   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31554     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31555   $as_echo_n "(cached) " >&6
31556 else
31557
31558
31559       ac_ext=cpp
31560 ac_cpp='$CXXCPP $CPPFLAGS'
31561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31564
31565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31566 /* end confdefs.h.  */
31567 #include <math.h>
31568 int
31569 main ()
31570 {
31571  modfl(0, 0);
31572   ;
31573   return 0;
31574 }
31575 _ACEOF
31576 if ac_fn_cxx_try_compile "$LINENO"; then :
31577   glibcxx_cv_func_modfl_use=yes
31578 else
31579   glibcxx_cv_func_modfl_use=no
31580 fi
31581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31582       ac_ext=c
31583 ac_cpp='$CPP $CPPFLAGS'
31584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31587
31588
31589 fi
31590
31591   fi
31592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31593 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31594
31595   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31596     for ac_func in modfl
31597 do :
31598   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31599 if test "x$ac_cv_func_modfl" = x""yes; then :
31600   cat >>confdefs.h <<_ACEOF
31601 #define HAVE_MODFL 1
31602 _ACEOF
31603
31604 fi
31605 done
31606
31607   else
31608
31609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31610 $as_echo_n "checking for _modfl declaration... " >&6; }
31611   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31612     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31613   $as_echo_n "(cached) " >&6
31614 else
31615
31616
31617       ac_ext=cpp
31618 ac_cpp='$CXXCPP $CPPFLAGS'
31619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31622
31623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31624 /* end confdefs.h.  */
31625 #include <math.h>
31626 int
31627 main ()
31628 {
31629  _modfl(0, 0);
31630   ;
31631   return 0;
31632 }
31633 _ACEOF
31634 if ac_fn_cxx_try_compile "$LINENO"; then :
31635   glibcxx_cv_func__modfl_use=yes
31636 else
31637   glibcxx_cv_func__modfl_use=no
31638 fi
31639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31640       ac_ext=c
31641 ac_cpp='$CPP $CPPFLAGS'
31642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31645
31646
31647 fi
31648
31649   fi
31650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31651 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31652
31653     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31654       for ac_func in _modfl
31655 do :
31656   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31657 if test "x$ac_cv_func__modfl" = x""yes; then :
31658   cat >>confdefs.h <<_ACEOF
31659 #define HAVE__MODFL 1
31660 _ACEOF
31661
31662 fi
31663 done
31664
31665     fi
31666   fi
31667
31668
31669
31670
31671
31672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31673 $as_echo_n "checking for powl declaration... " >&6; }
31674   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31675     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31676   $as_echo_n "(cached) " >&6
31677 else
31678
31679
31680       ac_ext=cpp
31681 ac_cpp='$CXXCPP $CPPFLAGS'
31682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31685
31686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31687 /* end confdefs.h.  */
31688 #include <math.h>
31689 int
31690 main ()
31691 {
31692  powl(0, 0);
31693   ;
31694   return 0;
31695 }
31696 _ACEOF
31697 if ac_fn_cxx_try_compile "$LINENO"; then :
31698   glibcxx_cv_func_powl_use=yes
31699 else
31700   glibcxx_cv_func_powl_use=no
31701 fi
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31703       ac_ext=c
31704 ac_cpp='$CPP $CPPFLAGS'
31705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31708
31709
31710 fi
31711
31712   fi
31713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31714 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31715
31716   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31717     for ac_func in powl
31718 do :
31719   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31720 if test "x$ac_cv_func_powl" = x""yes; then :
31721   cat >>confdefs.h <<_ACEOF
31722 #define HAVE_POWL 1
31723 _ACEOF
31724
31725 fi
31726 done
31727
31728   else
31729
31730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31731 $as_echo_n "checking for _powl declaration... " >&6; }
31732   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31733     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31734   $as_echo_n "(cached) " >&6
31735 else
31736
31737
31738       ac_ext=cpp
31739 ac_cpp='$CXXCPP $CPPFLAGS'
31740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31743
31744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31745 /* end confdefs.h.  */
31746 #include <math.h>
31747 int
31748 main ()
31749 {
31750  _powl(0, 0);
31751   ;
31752   return 0;
31753 }
31754 _ACEOF
31755 if ac_fn_cxx_try_compile "$LINENO"; then :
31756   glibcxx_cv_func__powl_use=yes
31757 else
31758   glibcxx_cv_func__powl_use=no
31759 fi
31760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31761       ac_ext=c
31762 ac_cpp='$CPP $CPPFLAGS'
31763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31766
31767
31768 fi
31769
31770   fi
31771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31772 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31773
31774     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31775       for ac_func in _powl
31776 do :
31777   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31778 if test "x$ac_cv_func__powl" = x""yes; then :
31779   cat >>confdefs.h <<_ACEOF
31780 #define HAVE__POWL 1
31781 _ACEOF
31782
31783 fi
31784 done
31785
31786     fi
31787   fi
31788
31789
31790
31791
31792
31793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31794 $as_echo_n "checking for sqrtl declaration... " >&6; }
31795   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31796     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31797   $as_echo_n "(cached) " >&6
31798 else
31799
31800
31801       ac_ext=cpp
31802 ac_cpp='$CXXCPP $CPPFLAGS'
31803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31806
31807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31808 /* end confdefs.h.  */
31809 #include <math.h>
31810                       #ifdef HAVE_IEEEFP_H
31811                       #include <ieeefp.h>
31812                       #endif
31813
31814 int
31815 main ()
31816 {
31817  sqrtl(0);
31818   ;
31819   return 0;
31820 }
31821 _ACEOF
31822 if ac_fn_cxx_try_compile "$LINENO"; then :
31823   glibcxx_cv_func_sqrtl_use=yes
31824 else
31825   glibcxx_cv_func_sqrtl_use=no
31826 fi
31827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31828       ac_ext=c
31829 ac_cpp='$CPP $CPPFLAGS'
31830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31833
31834
31835 fi
31836
31837   fi
31838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31839 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31840
31841   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31842     for ac_func in sqrtl
31843 do :
31844   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31845 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31846   cat >>confdefs.h <<_ACEOF
31847 #define HAVE_SQRTL 1
31848 _ACEOF
31849
31850 fi
31851 done
31852
31853   else
31854
31855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31856 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31857   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31858     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31859   $as_echo_n "(cached) " >&6
31860 else
31861
31862
31863       ac_ext=cpp
31864 ac_cpp='$CXXCPP $CPPFLAGS'
31865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31868
31869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31870 /* end confdefs.h.  */
31871 #include <math.h>
31872                       #ifdef HAVE_IEEEFP_H
31873                       #include <ieeefp.h>
31874                       #endif
31875
31876 int
31877 main ()
31878 {
31879  _sqrtl(0);
31880   ;
31881   return 0;
31882 }
31883 _ACEOF
31884 if ac_fn_cxx_try_compile "$LINENO"; then :
31885   glibcxx_cv_func__sqrtl_use=yes
31886 else
31887   glibcxx_cv_func__sqrtl_use=no
31888 fi
31889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31890       ac_ext=c
31891 ac_cpp='$CPP $CPPFLAGS'
31892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31895
31896
31897 fi
31898
31899   fi
31900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31901 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31902
31903     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31904       for ac_func in _sqrtl
31905 do :
31906   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31907 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31908   cat >>confdefs.h <<_ACEOF
31909 #define HAVE__SQRTL 1
31910 _ACEOF
31911
31912 fi
31913 done
31914
31915     fi
31916   fi
31917
31918
31919
31920
31921
31922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31923 $as_echo_n "checking for sincosl declaration... " >&6; }
31924   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31925     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31926   $as_echo_n "(cached) " >&6
31927 else
31928
31929
31930       ac_ext=cpp
31931 ac_cpp='$CXXCPP $CPPFLAGS'
31932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31935
31936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31937 /* end confdefs.h.  */
31938 #include <math.h>
31939 int
31940 main ()
31941 {
31942  sincosl(0, 0, 0);
31943   ;
31944   return 0;
31945 }
31946 _ACEOF
31947 if ac_fn_cxx_try_compile "$LINENO"; then :
31948   glibcxx_cv_func_sincosl_use=yes
31949 else
31950   glibcxx_cv_func_sincosl_use=no
31951 fi
31952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31953       ac_ext=c
31954 ac_cpp='$CPP $CPPFLAGS'
31955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31958
31959
31960 fi
31961
31962   fi
31963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31964 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31965
31966   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31967     for ac_func in sincosl
31968 do :
31969   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31970 if test "x$ac_cv_func_sincosl" = x""yes; then :
31971   cat >>confdefs.h <<_ACEOF
31972 #define HAVE_SINCOSL 1
31973 _ACEOF
31974
31975 fi
31976 done
31977
31978   else
31979
31980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31981 $as_echo_n "checking for _sincosl declaration... " >&6; }
31982   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31983     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31984   $as_echo_n "(cached) " >&6
31985 else
31986
31987
31988       ac_ext=cpp
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31993
31994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995 /* end confdefs.h.  */
31996 #include <math.h>
31997 int
31998 main ()
31999 {
32000  _sincosl(0, 0, 0);
32001   ;
32002   return 0;
32003 }
32004 _ACEOF
32005 if ac_fn_cxx_try_compile "$LINENO"; then :
32006   glibcxx_cv_func__sincosl_use=yes
32007 else
32008   glibcxx_cv_func__sincosl_use=no
32009 fi
32010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32011       ac_ext=c
32012 ac_cpp='$CPP $CPPFLAGS'
32013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32016
32017
32018 fi
32019
32020   fi
32021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32022 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32023
32024     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32025       for ac_func in _sincosl
32026 do :
32027   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32028 if test "x$ac_cv_func__sincosl" = x""yes; then :
32029   cat >>confdefs.h <<_ACEOF
32030 #define HAVE__SINCOSL 1
32031 _ACEOF
32032
32033 fi
32034 done
32035
32036     fi
32037   fi
32038
32039
32040
32041
32042
32043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32044 $as_echo_n "checking for finitel declaration... " >&6; }
32045   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32046     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32047   $as_echo_n "(cached) " >&6
32048 else
32049
32050
32051       ac_ext=cpp
32052 ac_cpp='$CXXCPP $CPPFLAGS'
32053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32056
32057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32058 /* end confdefs.h.  */
32059 #include <math.h>
32060                       #ifdef HAVE_IEEEFP_H
32061                       #include <ieeefp.h>
32062                       #endif
32063
32064 int
32065 main ()
32066 {
32067  finitel(0);
32068   ;
32069   return 0;
32070 }
32071 _ACEOF
32072 if ac_fn_cxx_try_compile "$LINENO"; then :
32073   glibcxx_cv_func_finitel_use=yes
32074 else
32075   glibcxx_cv_func_finitel_use=no
32076 fi
32077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32078       ac_ext=c
32079 ac_cpp='$CPP $CPPFLAGS'
32080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32083
32084
32085 fi
32086
32087   fi
32088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32089 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32090
32091   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32092     for ac_func in finitel
32093 do :
32094   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32095 if test "x$ac_cv_func_finitel" = x""yes; then :
32096   cat >>confdefs.h <<_ACEOF
32097 #define HAVE_FINITEL 1
32098 _ACEOF
32099
32100 fi
32101 done
32102
32103   else
32104
32105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32106 $as_echo_n "checking for _finitel declaration... " >&6; }
32107   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32108     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32109   $as_echo_n "(cached) " >&6
32110 else
32111
32112
32113       ac_ext=cpp
32114 ac_cpp='$CXXCPP $CPPFLAGS'
32115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32118
32119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h.  */
32121 #include <math.h>
32122                       #ifdef HAVE_IEEEFP_H
32123                       #include <ieeefp.h>
32124                       #endif
32125
32126 int
32127 main ()
32128 {
32129  _finitel(0);
32130   ;
32131   return 0;
32132 }
32133 _ACEOF
32134 if ac_fn_cxx_try_compile "$LINENO"; then :
32135   glibcxx_cv_func__finitel_use=yes
32136 else
32137   glibcxx_cv_func__finitel_use=no
32138 fi
32139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32140       ac_ext=c
32141 ac_cpp='$CPP $CPPFLAGS'
32142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32145
32146
32147 fi
32148
32149   fi
32150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32151 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32152
32153     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32154       for ac_func in _finitel
32155 do :
32156   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32157 if test "x$ac_cv_func__finitel" = x""yes; then :
32158   cat >>confdefs.h <<_ACEOF
32159 #define HAVE__FINITEL 1
32160 _ACEOF
32161
32162 fi
32163 done
32164
32165     fi
32166   fi
32167
32168
32169
32170
32171   LIBS="$ac_save_LIBS"
32172   CXXFLAGS="$ac_save_CXXFLAGS"
32173
32174
32175   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32176   ac_save_CXXFLAGS="$CXXFLAGS"
32177   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32178
32179
32180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32181 $as_echo_n "checking for strtold declaration... " >&6; }
32182   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32183     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32184   $as_echo_n "(cached) " >&6
32185 else
32186
32187
32188       ac_ext=cpp
32189 ac_cpp='$CXXCPP $CPPFLAGS'
32190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32193
32194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32195 /* end confdefs.h.  */
32196 #include <stdlib.h>
32197 int
32198 main ()
32199 {
32200  strtold(0, 0);
32201   ;
32202   return 0;
32203 }
32204 _ACEOF
32205 if ac_fn_cxx_try_compile "$LINENO"; then :
32206   glibcxx_cv_func_strtold_use=yes
32207 else
32208   glibcxx_cv_func_strtold_use=no
32209 fi
32210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32211       ac_ext=c
32212 ac_cpp='$CPP $CPPFLAGS'
32213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32216
32217
32218 fi
32219
32220   fi
32221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32222 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32223   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32224     for ac_func in strtold
32225 do :
32226   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32227 if test "x$ac_cv_func_strtold" = x""yes; then :
32228   cat >>confdefs.h <<_ACEOF
32229 #define HAVE_STRTOLD 1
32230 _ACEOF
32231
32232 fi
32233 done
32234
32235   fi
32236
32237
32238
32239
32240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32241 $as_echo_n "checking for strtof declaration... " >&6; }
32242   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32243     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32244   $as_echo_n "(cached) " >&6
32245 else
32246
32247
32248       ac_ext=cpp
32249 ac_cpp='$CXXCPP $CPPFLAGS'
32250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32253
32254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32255 /* end confdefs.h.  */
32256 #include <stdlib.h>
32257 int
32258 main ()
32259 {
32260  strtof(0, 0);
32261   ;
32262   return 0;
32263 }
32264 _ACEOF
32265 if ac_fn_cxx_try_compile "$LINENO"; then :
32266   glibcxx_cv_func_strtof_use=yes
32267 else
32268   glibcxx_cv_func_strtof_use=no
32269 fi
32270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32271       ac_ext=c
32272 ac_cpp='$CPP $CPPFLAGS'
32273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32276
32277
32278 fi
32279
32280   fi
32281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32282 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32283   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32284     for ac_func in strtof
32285 do :
32286   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32287 if test "x$ac_cv_func_strtof" = x""yes; then :
32288   cat >>confdefs.h <<_ACEOF
32289 #define HAVE_STRTOF 1
32290 _ACEOF
32291
32292 fi
32293 done
32294
32295   fi
32296
32297
32298
32299
32300   CXXFLAGS="$ac_save_CXXFLAGS"
32301
32302
32303     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32304
32305     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32306
32307     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32308
32309     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32310
32311
32312     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32313
32314     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32315
32316     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32317
32318     ;;
32319
32320   *-aix*)
32321
32322   # If we're not using GNU ld, then there's no point in even trying these
32323   # tests.  Check for that first.  We should have already tested for gld
32324   # by now (in libtool), but require it now just to be safe...
32325   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32326   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32327
32328
32329
32330   # The name set by libtool depends on the version of libtool.  Shame on us
32331   # for depending on an impl detail, but c'est la vie.  Older versions used
32332   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32333   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32334   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32335   # set (hence we're using an older libtool), then set it.
32336   if test x${with_gnu_ld+set} != xset; then
32337     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32338       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32339       with_gnu_ld=no
32340     else
32341       with_gnu_ld=$ac_cv_prog_gnu_ld
32342     fi
32343   fi
32344
32345   # Start by getting the version number.  I think the libtool test already
32346   # does some of this, but throws away the result.
32347   glibcxx_ld_is_gold=no
32348   if test x"$with_gnu_ld" = x"yes"; then
32349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32350 $as_echo_n "checking for ld version... " >&6; }
32351
32352     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32353       glibcxx_ld_is_gold=yes
32354     fi
32355     ldver=`$LD --version 2>/dev/null |
32356            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
32357
32358     glibcxx_gnu_ld_version=`echo $ldver | \
32359            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32360     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32361 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32362   fi
32363
32364   # Set --gc-sections.
32365   glibcxx_have_gc_sections=no
32366   if test "$glibcxx_ld_is_gold" = "yes"; then
32367     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32368       glibcxx_have_gc_sections=yes
32369     fi
32370   else
32371     glibcxx_gcsections_min_ld=21602
32372     if test x"$with_gnu_ld" = x"yes" &&
32373         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32374       glibcxx_have_gc_sections=yes
32375     fi
32376   fi
32377   if test "$glibcxx_have_gc_sections" = "yes"; then
32378     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32379     # NB: This flag only works reliably after 2.16.1. Configure tests
32380     # for this are difficult, so hard wire a value that should work.
32381
32382     ac_test_CFLAGS="${CFLAGS+set}"
32383     ac_save_CFLAGS="$CFLAGS"
32384     CFLAGS='-Wl,--gc-sections'
32385
32386     # Check for -Wl,--gc-sections
32387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32388 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32389     if test x$gcc_no_link = xyes; then
32390   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32391 fi
32392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32393 /* end confdefs.h.  */
32394  int one(void) { return 1; }
32395      int two(void) { return 2; }
32396
32397 int
32398 main ()
32399 {
32400  two();
32401   ;
32402   return 0;
32403 }
32404 _ACEOF
32405 if ac_fn_c_try_link "$LINENO"; then :
32406   ac_gcsections=yes
32407 else
32408   ac_gcsections=no
32409 fi
32410 rm -f core conftest.err conftest.$ac_objext \
32411     conftest$ac_exeext conftest.$ac_ext
32412     if test "$ac_gcsections" = "yes"; then
32413       rm -f conftest.c
32414       touch conftest.c
32415       if $CC -c conftest.c; then
32416         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32417            grep "Warning: gc-sections option ignored" > /dev/null; then
32418           ac_gcsections=no
32419         fi
32420       fi
32421       rm -f conftest.c conftest.o conftest
32422     fi
32423     if test "$ac_gcsections" = "yes"; then
32424       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32425     fi
32426     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32427 $as_echo "$ac_gcsections" >&6; }
32428
32429     if test "$ac_test_CFLAGS" = set; then
32430       CFLAGS="$ac_save_CFLAGS"
32431     else
32432       # this is the suspicious part
32433       CFLAGS=''
32434     fi
32435   fi
32436
32437   # Set -z,relro.
32438   # Note this is only for shared objects.
32439   ac_ld_relro=no
32440   if test x"$with_gnu_ld" = x"yes"; then
32441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32442 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32443     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32444     if test -n "$cxx_z_relo"; then
32445       OPT_LDFLAGS="-Wl,-z,relro"
32446       ac_ld_relro=yes
32447     fi
32448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32449 $as_echo "$ac_ld_relro" >&6; }
32450   fi
32451
32452   # Set linker optimization flags.
32453   if test x"$with_gnu_ld" = x"yes"; then
32454     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32455   fi
32456
32457
32458
32459
32460
32461   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32462   ac_save_CXXFLAGS="$CXXFLAGS"
32463   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32464
32465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32466 $as_echo_n "checking for sin in -lm... " >&6; }
32467 if test "${ac_cv_lib_m_sin+set}" = set; then :
32468   $as_echo_n "(cached) " >&6
32469 else
32470   ac_check_lib_save_LIBS=$LIBS
32471 LIBS="-lm  $LIBS"
32472 if test x$gcc_no_link = xyes; then
32473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32474 fi
32475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32476 /* end confdefs.h.  */
32477
32478 /* Override any GCC internal prototype to avoid an error.
32479    Use char because int might match the return type of a GCC
32480    builtin and then its argument prototype would still apply.  */
32481 #ifdef __cplusplus
32482 extern "C"
32483 #endif
32484 char sin ();
32485 int
32486 main ()
32487 {
32488 return sin ();
32489   ;
32490   return 0;
32491 }
32492 _ACEOF
32493 if ac_fn_c_try_link "$LINENO"; then :
32494   ac_cv_lib_m_sin=yes
32495 else
32496   ac_cv_lib_m_sin=no
32497 fi
32498 rm -f core conftest.err conftest.$ac_objext \
32499     conftest$ac_exeext conftest.$ac_ext
32500 LIBS=$ac_check_lib_save_LIBS
32501 fi
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32503 $as_echo "$ac_cv_lib_m_sin" >&6; }
32504 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32505   libm="-lm"
32506 fi
32507
32508   ac_save_LIBS="$LIBS"
32509   LIBS="$LIBS $libm"
32510
32511
32512
32513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32514 $as_echo_n "checking for isinf declaration... " >&6; }
32515   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32516     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32517   $as_echo_n "(cached) " >&6
32518 else
32519
32520
32521       ac_ext=cpp
32522 ac_cpp='$CXXCPP $CPPFLAGS'
32523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32526
32527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h.  */
32529 #include <math.h>
32530                       #ifdef HAVE_IEEEFP_H
32531                       #include <ieeefp.h>
32532                       #endif
32533
32534 int
32535 main ()
32536 {
32537  isinf(0);
32538   ;
32539   return 0;
32540 }
32541 _ACEOF
32542 if ac_fn_cxx_try_compile "$LINENO"; then :
32543   glibcxx_cv_func_isinf_use=yes
32544 else
32545   glibcxx_cv_func_isinf_use=no
32546 fi
32547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32548       ac_ext=c
32549 ac_cpp='$CPP $CPPFLAGS'
32550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32553
32554
32555 fi
32556
32557   fi
32558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32559 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32560
32561   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32562     for ac_func in isinf
32563 do :
32564   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32565 if test "x$ac_cv_func_isinf" = x""yes; then :
32566   cat >>confdefs.h <<_ACEOF
32567 #define HAVE_ISINF 1
32568 _ACEOF
32569
32570 fi
32571 done
32572
32573   else
32574
32575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32576 $as_echo_n "checking for _isinf declaration... " >&6; }
32577   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32578     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32579   $as_echo_n "(cached) " >&6
32580 else
32581
32582
32583       ac_ext=cpp
32584 ac_cpp='$CXXCPP $CPPFLAGS'
32585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32588
32589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32590 /* end confdefs.h.  */
32591 #include <math.h>
32592                       #ifdef HAVE_IEEEFP_H
32593                       #include <ieeefp.h>
32594                       #endif
32595
32596 int
32597 main ()
32598 {
32599  _isinf(0);
32600   ;
32601   return 0;
32602 }
32603 _ACEOF
32604 if ac_fn_cxx_try_compile "$LINENO"; then :
32605   glibcxx_cv_func__isinf_use=yes
32606 else
32607   glibcxx_cv_func__isinf_use=no
32608 fi
32609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32610       ac_ext=c
32611 ac_cpp='$CPP $CPPFLAGS'
32612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32615
32616
32617 fi
32618
32619   fi
32620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32621 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32622
32623     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32624       for ac_func in _isinf
32625 do :
32626   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32627 if test "x$ac_cv_func__isinf" = x""yes; then :
32628   cat >>confdefs.h <<_ACEOF
32629 #define HAVE__ISINF 1
32630 _ACEOF
32631
32632 fi
32633 done
32634
32635     fi
32636   fi
32637
32638
32639
32640
32641
32642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32643 $as_echo_n "checking for isnan declaration... " >&6; }
32644   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32645     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32646   $as_echo_n "(cached) " >&6
32647 else
32648
32649
32650       ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655
32656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h.  */
32658 #include <math.h>
32659                       #ifdef HAVE_IEEEFP_H
32660                       #include <ieeefp.h>
32661                       #endif
32662
32663 int
32664 main ()
32665 {
32666  isnan(0);
32667   ;
32668   return 0;
32669 }
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672   glibcxx_cv_func_isnan_use=yes
32673 else
32674   glibcxx_cv_func_isnan_use=no
32675 fi
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677       ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682
32683
32684 fi
32685
32686   fi
32687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32688 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32689
32690   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32691     for ac_func in isnan
32692 do :
32693   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32694 if test "x$ac_cv_func_isnan" = x""yes; then :
32695   cat >>confdefs.h <<_ACEOF
32696 #define HAVE_ISNAN 1
32697 _ACEOF
32698
32699 fi
32700 done
32701
32702   else
32703
32704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32705 $as_echo_n "checking for _isnan declaration... " >&6; }
32706   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32707     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32708   $as_echo_n "(cached) " >&6
32709 else
32710
32711
32712       ac_ext=cpp
32713 ac_cpp='$CXXCPP $CPPFLAGS'
32714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32717
32718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719 /* end confdefs.h.  */
32720 #include <math.h>
32721                       #ifdef HAVE_IEEEFP_H
32722                       #include <ieeefp.h>
32723                       #endif
32724
32725 int
32726 main ()
32727 {
32728  _isnan(0);
32729   ;
32730   return 0;
32731 }
32732 _ACEOF
32733 if ac_fn_cxx_try_compile "$LINENO"; then :
32734   glibcxx_cv_func__isnan_use=yes
32735 else
32736   glibcxx_cv_func__isnan_use=no
32737 fi
32738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739       ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32744
32745
32746 fi
32747
32748   fi
32749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32750 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32751
32752     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32753       for ac_func in _isnan
32754 do :
32755   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32756 if test "x$ac_cv_func__isnan" = x""yes; then :
32757   cat >>confdefs.h <<_ACEOF
32758 #define HAVE__ISNAN 1
32759 _ACEOF
32760
32761 fi
32762 done
32763
32764     fi
32765   fi
32766
32767
32768
32769
32770
32771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32772 $as_echo_n "checking for finite declaration... " >&6; }
32773   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32774     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32775   $as_echo_n "(cached) " >&6
32776 else
32777
32778
32779       ac_ext=cpp
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784
32785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32786 /* end confdefs.h.  */
32787 #include <math.h>
32788                       #ifdef HAVE_IEEEFP_H
32789                       #include <ieeefp.h>
32790                       #endif
32791
32792 int
32793 main ()
32794 {
32795  finite(0);
32796   ;
32797   return 0;
32798 }
32799 _ACEOF
32800 if ac_fn_cxx_try_compile "$LINENO"; then :
32801   glibcxx_cv_func_finite_use=yes
32802 else
32803   glibcxx_cv_func_finite_use=no
32804 fi
32805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32806       ac_ext=c
32807 ac_cpp='$CPP $CPPFLAGS'
32808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811
32812
32813 fi
32814
32815   fi
32816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32817 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32818
32819   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32820     for ac_func in finite
32821 do :
32822   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32823 if test "x$ac_cv_func_finite" = x""yes; then :
32824   cat >>confdefs.h <<_ACEOF
32825 #define HAVE_FINITE 1
32826 _ACEOF
32827
32828 fi
32829 done
32830
32831   else
32832
32833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32834 $as_echo_n "checking for _finite declaration... " >&6; }
32835   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32836     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32837   $as_echo_n "(cached) " >&6
32838 else
32839
32840
32841       ac_ext=cpp
32842 ac_cpp='$CXXCPP $CPPFLAGS'
32843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32846
32847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32848 /* end confdefs.h.  */
32849 #include <math.h>
32850                       #ifdef HAVE_IEEEFP_H
32851                       #include <ieeefp.h>
32852                       #endif
32853
32854 int
32855 main ()
32856 {
32857  _finite(0);
32858   ;
32859   return 0;
32860 }
32861 _ACEOF
32862 if ac_fn_cxx_try_compile "$LINENO"; then :
32863   glibcxx_cv_func__finite_use=yes
32864 else
32865   glibcxx_cv_func__finite_use=no
32866 fi
32867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32868       ac_ext=c
32869 ac_cpp='$CPP $CPPFLAGS'
32870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873
32874
32875 fi
32876
32877   fi
32878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32879 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32880
32881     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32882       for ac_func in _finite
32883 do :
32884   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32885 if test "x$ac_cv_func__finite" = x""yes; then :
32886   cat >>confdefs.h <<_ACEOF
32887 #define HAVE__FINITE 1
32888 _ACEOF
32889
32890 fi
32891 done
32892
32893     fi
32894   fi
32895
32896
32897
32898
32899
32900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32901 $as_echo_n "checking for sincos declaration... " >&6; }
32902   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32903     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32904   $as_echo_n "(cached) " >&6
32905 else
32906
32907
32908       ac_ext=cpp
32909 ac_cpp='$CXXCPP $CPPFLAGS'
32910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32913
32914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32915 /* end confdefs.h.  */
32916 #include <math.h>
32917 int
32918 main ()
32919 {
32920  sincos(0, 0, 0);
32921   ;
32922   return 0;
32923 }
32924 _ACEOF
32925 if ac_fn_cxx_try_compile "$LINENO"; then :
32926   glibcxx_cv_func_sincos_use=yes
32927 else
32928   glibcxx_cv_func_sincos_use=no
32929 fi
32930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931       ac_ext=c
32932 ac_cpp='$CPP $CPPFLAGS'
32933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32936
32937
32938 fi
32939
32940   fi
32941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32942 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32943
32944   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32945     for ac_func in sincos
32946 do :
32947   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32948 if test "x$ac_cv_func_sincos" = x""yes; then :
32949   cat >>confdefs.h <<_ACEOF
32950 #define HAVE_SINCOS 1
32951 _ACEOF
32952
32953 fi
32954 done
32955
32956   else
32957
32958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32959 $as_echo_n "checking for _sincos declaration... " >&6; }
32960   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32961     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32962   $as_echo_n "(cached) " >&6
32963 else
32964
32965
32966       ac_ext=cpp
32967 ac_cpp='$CXXCPP $CPPFLAGS'
32968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32971
32972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32973 /* end confdefs.h.  */
32974 #include <math.h>
32975 int
32976 main ()
32977 {
32978  _sincos(0, 0, 0);
32979   ;
32980   return 0;
32981 }
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984   glibcxx_cv_func__sincos_use=yes
32985 else
32986   glibcxx_cv_func__sincos_use=no
32987 fi
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989       ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994
32995
32996 fi
32997
32998   fi
32999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33000 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33001
33002     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33003       for ac_func in _sincos
33004 do :
33005   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33006 if test "x$ac_cv_func__sincos" = x""yes; then :
33007   cat >>confdefs.h <<_ACEOF
33008 #define HAVE__SINCOS 1
33009 _ACEOF
33010
33011 fi
33012 done
33013
33014     fi
33015   fi
33016
33017
33018
33019
33020
33021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33022 $as_echo_n "checking for fpclass declaration... " >&6; }
33023   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33024     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33025   $as_echo_n "(cached) " >&6
33026 else
33027
33028
33029       ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034
33035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h.  */
33037 #include <math.h>
33038                       #ifdef HAVE_IEEEFP_H
33039                       #include <ieeefp.h>
33040                       #endif
33041
33042 int
33043 main ()
33044 {
33045  fpclass(0);
33046   ;
33047   return 0;
33048 }
33049 _ACEOF
33050 if ac_fn_cxx_try_compile "$LINENO"; then :
33051   glibcxx_cv_func_fpclass_use=yes
33052 else
33053   glibcxx_cv_func_fpclass_use=no
33054 fi
33055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33056       ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33061
33062
33063 fi
33064
33065   fi
33066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33067 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33068
33069   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33070     for ac_func in fpclass
33071 do :
33072   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33073 if test "x$ac_cv_func_fpclass" = x""yes; then :
33074   cat >>confdefs.h <<_ACEOF
33075 #define HAVE_FPCLASS 1
33076 _ACEOF
33077
33078 fi
33079 done
33080
33081   else
33082
33083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33084 $as_echo_n "checking for _fpclass declaration... " >&6; }
33085   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33086     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33087   $as_echo_n "(cached) " >&6
33088 else
33089
33090
33091       ac_ext=cpp
33092 ac_cpp='$CXXCPP $CPPFLAGS'
33093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33096
33097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33098 /* end confdefs.h.  */
33099 #include <math.h>
33100                       #ifdef HAVE_IEEEFP_H
33101                       #include <ieeefp.h>
33102                       #endif
33103
33104 int
33105 main ()
33106 {
33107  _fpclass(0);
33108   ;
33109   return 0;
33110 }
33111 _ACEOF
33112 if ac_fn_cxx_try_compile "$LINENO"; then :
33113   glibcxx_cv_func__fpclass_use=yes
33114 else
33115   glibcxx_cv_func__fpclass_use=no
33116 fi
33117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33118       ac_ext=c
33119 ac_cpp='$CPP $CPPFLAGS'
33120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33123
33124
33125 fi
33126
33127   fi
33128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33129 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33130
33131     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33132       for ac_func in _fpclass
33133 do :
33134   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33135 if test "x$ac_cv_func__fpclass" = x""yes; then :
33136   cat >>confdefs.h <<_ACEOF
33137 #define HAVE__FPCLASS 1
33138 _ACEOF
33139
33140 fi
33141 done
33142
33143     fi
33144   fi
33145
33146
33147
33148
33149
33150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33151 $as_echo_n "checking for qfpclass declaration... " >&6; }
33152   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33153     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33154   $as_echo_n "(cached) " >&6
33155 else
33156
33157
33158       ac_ext=cpp
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33163
33164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h.  */
33166 #include <math.h>
33167                       #ifdef HAVE_IEEEFP_H
33168                       #include <ieeefp.h>
33169                       #endif
33170
33171 int
33172 main ()
33173 {
33174  qfpclass(0);
33175   ;
33176   return 0;
33177 }
33178 _ACEOF
33179 if ac_fn_cxx_try_compile "$LINENO"; then :
33180   glibcxx_cv_func_qfpclass_use=yes
33181 else
33182   glibcxx_cv_func_qfpclass_use=no
33183 fi
33184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185       ac_ext=c
33186 ac_cpp='$CPP $CPPFLAGS'
33187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33190
33191
33192 fi
33193
33194   fi
33195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33196 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33197
33198   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33199     for ac_func in qfpclass
33200 do :
33201   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33202 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33203   cat >>confdefs.h <<_ACEOF
33204 #define HAVE_QFPCLASS 1
33205 _ACEOF
33206
33207 fi
33208 done
33209
33210   else
33211
33212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33213 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33214   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33215     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33216   $as_echo_n "(cached) " >&6
33217 else
33218
33219
33220       ac_ext=cpp
33221 ac_cpp='$CXXCPP $CPPFLAGS'
33222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33225
33226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33227 /* end confdefs.h.  */
33228 #include <math.h>
33229                       #ifdef HAVE_IEEEFP_H
33230                       #include <ieeefp.h>
33231                       #endif
33232
33233 int
33234 main ()
33235 {
33236  _qfpclass(0);
33237   ;
33238   return 0;
33239 }
33240 _ACEOF
33241 if ac_fn_cxx_try_compile "$LINENO"; then :
33242   glibcxx_cv_func__qfpclass_use=yes
33243 else
33244   glibcxx_cv_func__qfpclass_use=no
33245 fi
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247       ac_ext=c
33248 ac_cpp='$CPP $CPPFLAGS'
33249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33252
33253
33254 fi
33255
33256   fi
33257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33258 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33259
33260     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33261       for ac_func in _qfpclass
33262 do :
33263   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33264 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33265   cat >>confdefs.h <<_ACEOF
33266 #define HAVE__QFPCLASS 1
33267 _ACEOF
33268
33269 fi
33270 done
33271
33272     fi
33273   fi
33274
33275
33276
33277
33278
33279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33280 $as_echo_n "checking for hypot declaration... " >&6; }
33281   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33282     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33283   $as_echo_n "(cached) " >&6
33284 else
33285
33286
33287       ac_ext=cpp
33288 ac_cpp='$CXXCPP $CPPFLAGS'
33289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33292
33293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33294 /* end confdefs.h.  */
33295 #include <math.h>
33296 int
33297 main ()
33298 {
33299  hypot(0, 0);
33300   ;
33301   return 0;
33302 }
33303 _ACEOF
33304 if ac_fn_cxx_try_compile "$LINENO"; then :
33305   glibcxx_cv_func_hypot_use=yes
33306 else
33307   glibcxx_cv_func_hypot_use=no
33308 fi
33309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310       ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315
33316
33317 fi
33318
33319   fi
33320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33321 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33322
33323   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33324     for ac_func in hypot
33325 do :
33326   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33327 if test "x$ac_cv_func_hypot" = x""yes; then :
33328   cat >>confdefs.h <<_ACEOF
33329 #define HAVE_HYPOT 1
33330 _ACEOF
33331
33332 fi
33333 done
33334
33335   else
33336
33337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33338 $as_echo_n "checking for _hypot declaration... " >&6; }
33339   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33340     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33341   $as_echo_n "(cached) " >&6
33342 else
33343
33344
33345       ac_ext=cpp
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350
33351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33352 /* end confdefs.h.  */
33353 #include <math.h>
33354 int
33355 main ()
33356 {
33357  _hypot(0, 0);
33358   ;
33359   return 0;
33360 }
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363   glibcxx_cv_func__hypot_use=yes
33364 else
33365   glibcxx_cv_func__hypot_use=no
33366 fi
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368       ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33373
33374
33375 fi
33376
33377   fi
33378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33379 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33380
33381     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33382       for ac_func in _hypot
33383 do :
33384   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33385 if test "x$ac_cv_func__hypot" = x""yes; then :
33386   cat >>confdefs.h <<_ACEOF
33387 #define HAVE__HYPOT 1
33388 _ACEOF
33389
33390 fi
33391 done
33392
33393     fi
33394   fi
33395
33396
33397
33398
33399
33400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33401 $as_echo_n "checking for float trig functions... " >&6; }
33402   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33403   $as_echo_n "(cached) " >&6
33404 else
33405
33406
33407     ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33412
33413     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h.  */
33415 #include <math.h>
33416 int
33417 main ()
33418 {
33419 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33420   ;
33421   return 0;
33422 }
33423 _ACEOF
33424 if ac_fn_cxx_try_compile "$LINENO"; then :
33425   glibcxx_cv_func_float_trig_use=yes
33426 else
33427   glibcxx_cv_func_float_trig_use=no
33428 fi
33429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33430     ac_ext=c
33431 ac_cpp='$CPP $CPPFLAGS'
33432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33435
33436 fi
33437
33438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33439 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33440   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33441     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33442 do :
33443   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33445 eval as_val=\$$as_ac_var
33446    if test "x$as_val" = x""yes; then :
33447   cat >>confdefs.h <<_ACEOF
33448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33449 _ACEOF
33450
33451 fi
33452 done
33453
33454   else
33455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33456 $as_echo_n "checking for _float trig functions... " >&6; }
33457     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33458   $as_echo_n "(cached) " >&6
33459 else
33460
33461
33462       ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33467
33468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h.  */
33470 #include <math.h>
33471 int
33472 main ()
33473 {
33474 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33475   ;
33476   return 0;
33477 }
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480   glibcxx_cv_func__float_trig_use=yes
33481 else
33482   glibcxx_cv_func__float_trig_use=no
33483 fi
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485       ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491 fi
33492
33493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33494 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33495     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33496       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33497 do :
33498   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33500 eval as_val=\$$as_ac_var
33501    if test "x$as_val" = x""yes; then :
33502   cat >>confdefs.h <<_ACEOF
33503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33504 _ACEOF
33505
33506 fi
33507 done
33508
33509     fi
33510   fi
33511
33512
33513
33514
33515
33516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33517 $as_echo_n "checking for float round functions... " >&6; }
33518   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33519   $as_echo_n "(cached) " >&6
33520 else
33521
33522
33523     ac_ext=cpp
33524 ac_cpp='$CXXCPP $CPPFLAGS'
33525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33528
33529     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33530 /* end confdefs.h.  */
33531 #include <math.h>
33532 int
33533 main ()
33534 {
33535 ceilf (0); floorf (0);
33536   ;
33537   return 0;
33538 }
33539 _ACEOF
33540 if ac_fn_cxx_try_compile "$LINENO"; then :
33541   glibcxx_cv_func_float_round_use=yes
33542 else
33543   glibcxx_cv_func_float_round_use=no
33544 fi
33545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33546     ac_ext=c
33547 ac_cpp='$CPP $CPPFLAGS'
33548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33551
33552 fi
33553
33554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33555 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33556   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33557     for ac_func in ceilf floorf
33558 do :
33559   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33561 eval as_val=\$$as_ac_var
33562    if test "x$as_val" = x""yes; then :
33563   cat >>confdefs.h <<_ACEOF
33564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33565 _ACEOF
33566
33567 fi
33568 done
33569
33570   else
33571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33572 $as_echo_n "checking for _float round functions... " >&6; }
33573     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33574   $as_echo_n "(cached) " >&6
33575 else
33576
33577
33578       ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583
33584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h.  */
33586 #include <math.h>
33587 int
33588 main ()
33589 {
33590 _ceilf (0); _floorf (0);
33591   ;
33592   return 0;
33593 }
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596   glibcxx_cv_func__float_round_use=yes
33597 else
33598   glibcxx_cv_func__float_round_use=no
33599 fi
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601       ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607 fi
33608
33609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33610 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33611     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33612       for ac_func in _ceilf _floorf
33613 do :
33614   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33616 eval as_val=\$$as_ac_var
33617    if test "x$as_val" = x""yes; then :
33618   cat >>confdefs.h <<_ACEOF
33619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33620 _ACEOF
33621
33622 fi
33623 done
33624
33625     fi
33626   fi
33627
33628
33629
33630
33631
33632
33633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33634 $as_echo_n "checking for expf declaration... " >&6; }
33635   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33636     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33637   $as_echo_n "(cached) " >&6
33638 else
33639
33640
33641       ac_ext=cpp
33642 ac_cpp='$CXXCPP $CPPFLAGS'
33643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646
33647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33648 /* end confdefs.h.  */
33649 #include <math.h>
33650                       #ifdef HAVE_IEEEFP_H
33651                       #include <ieeefp.h>
33652                       #endif
33653
33654 int
33655 main ()
33656 {
33657  expf(0);
33658   ;
33659   return 0;
33660 }
33661 _ACEOF
33662 if ac_fn_cxx_try_compile "$LINENO"; then :
33663   glibcxx_cv_func_expf_use=yes
33664 else
33665   glibcxx_cv_func_expf_use=no
33666 fi
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668       ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33673
33674
33675 fi
33676
33677   fi
33678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33679 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33680
33681   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33682     for ac_func in expf
33683 do :
33684   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33685 if test "x$ac_cv_func_expf" = x""yes; then :
33686   cat >>confdefs.h <<_ACEOF
33687 #define HAVE_EXPF 1
33688 _ACEOF
33689
33690 fi
33691 done
33692
33693   else
33694
33695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33696 $as_echo_n "checking for _expf declaration... " >&6; }
33697   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33698     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33699   $as_echo_n "(cached) " >&6
33700 else
33701
33702
33703       ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h.  */
33711 #include <math.h>
33712                       #ifdef HAVE_IEEEFP_H
33713                       #include <ieeefp.h>
33714                       #endif
33715
33716 int
33717 main ()
33718 {
33719  _expf(0);
33720   ;
33721   return 0;
33722 }
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725   glibcxx_cv_func__expf_use=yes
33726 else
33727   glibcxx_cv_func__expf_use=no
33728 fi
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730       ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737 fi
33738
33739   fi
33740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33741 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33742
33743     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33744       for ac_func in _expf
33745 do :
33746   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33747 if test "x$ac_cv_func__expf" = x""yes; then :
33748   cat >>confdefs.h <<_ACEOF
33749 #define HAVE__EXPF 1
33750 _ACEOF
33751
33752 fi
33753 done
33754
33755     fi
33756   fi
33757
33758
33759
33760
33761
33762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33763 $as_echo_n "checking for isnanf declaration... " >&6; }
33764   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33765     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33766   $as_echo_n "(cached) " >&6
33767 else
33768
33769
33770       ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33775
33776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h.  */
33778 #include <math.h>
33779                       #ifdef HAVE_IEEEFP_H
33780                       #include <ieeefp.h>
33781                       #endif
33782
33783 int
33784 main ()
33785 {
33786  isnanf(0);
33787   ;
33788   return 0;
33789 }
33790 _ACEOF
33791 if ac_fn_cxx_try_compile "$LINENO"; then :
33792   glibcxx_cv_func_isnanf_use=yes
33793 else
33794   glibcxx_cv_func_isnanf_use=no
33795 fi
33796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33797       ac_ext=c
33798 ac_cpp='$CPP $CPPFLAGS'
33799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33802
33803
33804 fi
33805
33806   fi
33807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33808 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33809
33810   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33811     for ac_func in isnanf
33812 do :
33813   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33814 if test "x$ac_cv_func_isnanf" = x""yes; then :
33815   cat >>confdefs.h <<_ACEOF
33816 #define HAVE_ISNANF 1
33817 _ACEOF
33818
33819 fi
33820 done
33821
33822   else
33823
33824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33825 $as_echo_n "checking for _isnanf declaration... " >&6; }
33826   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33827     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33828   $as_echo_n "(cached) " >&6
33829 else
33830
33831
33832       ac_ext=cpp
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839 /* end confdefs.h.  */
33840 #include <math.h>
33841                       #ifdef HAVE_IEEEFP_H
33842                       #include <ieeefp.h>
33843                       #endif
33844
33845 int
33846 main ()
33847 {
33848  _isnanf(0);
33849   ;
33850   return 0;
33851 }
33852 _ACEOF
33853 if ac_fn_cxx_try_compile "$LINENO"; then :
33854   glibcxx_cv_func__isnanf_use=yes
33855 else
33856   glibcxx_cv_func__isnanf_use=no
33857 fi
33858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33859       ac_ext=c
33860 ac_cpp='$CPP $CPPFLAGS'
33861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33864
33865
33866 fi
33867
33868   fi
33869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33870 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33871
33872     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33873       for ac_func in _isnanf
33874 do :
33875   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33876 if test "x$ac_cv_func__isnanf" = x""yes; then :
33877   cat >>confdefs.h <<_ACEOF
33878 #define HAVE__ISNANF 1
33879 _ACEOF
33880
33881 fi
33882 done
33883
33884     fi
33885   fi
33886
33887
33888
33889
33890
33891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33892 $as_echo_n "checking for isinff declaration... " >&6; }
33893   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33894     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33895   $as_echo_n "(cached) " >&6
33896 else
33897
33898
33899       ac_ext=cpp
33900 ac_cpp='$CXXCPP $CPPFLAGS'
33901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33904
33905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33906 /* end confdefs.h.  */
33907 #include <math.h>
33908                       #ifdef HAVE_IEEEFP_H
33909                       #include <ieeefp.h>
33910                       #endif
33911
33912 int
33913 main ()
33914 {
33915  isinff(0);
33916   ;
33917   return 0;
33918 }
33919 _ACEOF
33920 if ac_fn_cxx_try_compile "$LINENO"; then :
33921   glibcxx_cv_func_isinff_use=yes
33922 else
33923   glibcxx_cv_func_isinff_use=no
33924 fi
33925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33926       ac_ext=c
33927 ac_cpp='$CPP $CPPFLAGS'
33928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33931
33932
33933 fi
33934
33935   fi
33936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33937 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33938
33939   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33940     for ac_func in isinff
33941 do :
33942   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33943 if test "x$ac_cv_func_isinff" = x""yes; then :
33944   cat >>confdefs.h <<_ACEOF
33945 #define HAVE_ISINFF 1
33946 _ACEOF
33947
33948 fi
33949 done
33950
33951   else
33952
33953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33954 $as_echo_n "checking for _isinff declaration... " >&6; }
33955   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33956     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33957   $as_echo_n "(cached) " >&6
33958 else
33959
33960
33961       ac_ext=cpp
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33966
33967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968 /* end confdefs.h.  */
33969 #include <math.h>
33970                       #ifdef HAVE_IEEEFP_H
33971                       #include <ieeefp.h>
33972                       #endif
33973
33974 int
33975 main ()
33976 {
33977  _isinff(0);
33978   ;
33979   return 0;
33980 }
33981 _ACEOF
33982 if ac_fn_cxx_try_compile "$LINENO"; then :
33983   glibcxx_cv_func__isinff_use=yes
33984 else
33985   glibcxx_cv_func__isinff_use=no
33986 fi
33987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33988       ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993
33994
33995 fi
33996
33997   fi
33998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33999 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34000
34001     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34002       for ac_func in _isinff
34003 do :
34004   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34005 if test "x$ac_cv_func__isinff" = x""yes; then :
34006   cat >>confdefs.h <<_ACEOF
34007 #define HAVE__ISINFF 1
34008 _ACEOF
34009
34010 fi
34011 done
34012
34013     fi
34014   fi
34015
34016
34017
34018
34019
34020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34021 $as_echo_n "checking for atan2f declaration... " >&6; }
34022   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34023     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34024   $as_echo_n "(cached) " >&6
34025 else
34026
34027
34028       ac_ext=cpp
34029 ac_cpp='$CXXCPP $CPPFLAGS'
34030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34033
34034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34035 /* end confdefs.h.  */
34036 #include <math.h>
34037 int
34038 main ()
34039 {
34040  atan2f(0, 0);
34041   ;
34042   return 0;
34043 }
34044 _ACEOF
34045 if ac_fn_cxx_try_compile "$LINENO"; then :
34046   glibcxx_cv_func_atan2f_use=yes
34047 else
34048   glibcxx_cv_func_atan2f_use=no
34049 fi
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051       ac_ext=c
34052 ac_cpp='$CPP $CPPFLAGS'
34053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34056
34057
34058 fi
34059
34060   fi
34061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34062 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34063
34064   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34065     for ac_func in atan2f
34066 do :
34067   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34068 if test "x$ac_cv_func_atan2f" = x""yes; then :
34069   cat >>confdefs.h <<_ACEOF
34070 #define HAVE_ATAN2F 1
34071 _ACEOF
34072
34073 fi
34074 done
34075
34076   else
34077
34078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34079 $as_echo_n "checking for _atan2f declaration... " >&6; }
34080   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34081     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34082   $as_echo_n "(cached) " >&6
34083 else
34084
34085
34086       ac_ext=cpp
34087 ac_cpp='$CXXCPP $CPPFLAGS'
34088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34091
34092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34093 /* end confdefs.h.  */
34094 #include <math.h>
34095 int
34096 main ()
34097 {
34098  _atan2f(0, 0);
34099   ;
34100   return 0;
34101 }
34102 _ACEOF
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104   glibcxx_cv_func__atan2f_use=yes
34105 else
34106   glibcxx_cv_func__atan2f_use=no
34107 fi
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109       ac_ext=c
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34114
34115
34116 fi
34117
34118   fi
34119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34120 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34121
34122     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34123       for ac_func in _atan2f
34124 do :
34125   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34126 if test "x$ac_cv_func__atan2f" = x""yes; then :
34127   cat >>confdefs.h <<_ACEOF
34128 #define HAVE__ATAN2F 1
34129 _ACEOF
34130
34131 fi
34132 done
34133
34134     fi
34135   fi
34136
34137
34138
34139
34140
34141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34142 $as_echo_n "checking for fabsf declaration... " >&6; }
34143   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34144     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34145   $as_echo_n "(cached) " >&6
34146 else
34147
34148
34149       ac_ext=cpp
34150 ac_cpp='$CXXCPP $CPPFLAGS'
34151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34154
34155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34156 /* end confdefs.h.  */
34157 #include <math.h>
34158                       #ifdef HAVE_IEEEFP_H
34159                       #include <ieeefp.h>
34160                       #endif
34161
34162 int
34163 main ()
34164 {
34165  fabsf(0);
34166   ;
34167   return 0;
34168 }
34169 _ACEOF
34170 if ac_fn_cxx_try_compile "$LINENO"; then :
34171   glibcxx_cv_func_fabsf_use=yes
34172 else
34173   glibcxx_cv_func_fabsf_use=no
34174 fi
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176       ac_ext=c
34177 ac_cpp='$CPP $CPPFLAGS'
34178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181
34182
34183 fi
34184
34185   fi
34186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34187 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34188
34189   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34190     for ac_func in fabsf
34191 do :
34192   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34193 if test "x$ac_cv_func_fabsf" = x""yes; then :
34194   cat >>confdefs.h <<_ACEOF
34195 #define HAVE_FABSF 1
34196 _ACEOF
34197
34198 fi
34199 done
34200
34201   else
34202
34203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34204 $as_echo_n "checking for _fabsf declaration... " >&6; }
34205   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34206     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34207   $as_echo_n "(cached) " >&6
34208 else
34209
34210
34211       ac_ext=cpp
34212 ac_cpp='$CXXCPP $CPPFLAGS'
34213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34216
34217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34218 /* end confdefs.h.  */
34219 #include <math.h>
34220                       #ifdef HAVE_IEEEFP_H
34221                       #include <ieeefp.h>
34222                       #endif
34223
34224 int
34225 main ()
34226 {
34227  _fabsf(0);
34228   ;
34229   return 0;
34230 }
34231 _ACEOF
34232 if ac_fn_cxx_try_compile "$LINENO"; then :
34233   glibcxx_cv_func__fabsf_use=yes
34234 else
34235   glibcxx_cv_func__fabsf_use=no
34236 fi
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34238       ac_ext=c
34239 ac_cpp='$CPP $CPPFLAGS'
34240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34243
34244
34245 fi
34246
34247   fi
34248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34249 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34250
34251     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34252       for ac_func in _fabsf
34253 do :
34254   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34255 if test "x$ac_cv_func__fabsf" = x""yes; then :
34256   cat >>confdefs.h <<_ACEOF
34257 #define HAVE__FABSF 1
34258 _ACEOF
34259
34260 fi
34261 done
34262
34263     fi
34264   fi
34265
34266
34267
34268
34269
34270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34271 $as_echo_n "checking for fmodf declaration... " >&6; }
34272   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34273     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34274   $as_echo_n "(cached) " >&6
34275 else
34276
34277
34278       ac_ext=cpp
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34283
34284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34285 /* end confdefs.h.  */
34286 #include <math.h>
34287 int
34288 main ()
34289 {
34290  fmodf(0, 0);
34291   ;
34292   return 0;
34293 }
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296   glibcxx_cv_func_fmodf_use=yes
34297 else
34298   glibcxx_cv_func_fmodf_use=no
34299 fi
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301       ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34306
34307
34308 fi
34309
34310   fi
34311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34312 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34313
34314   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34315     for ac_func in fmodf
34316 do :
34317   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34318 if test "x$ac_cv_func_fmodf" = x""yes; then :
34319   cat >>confdefs.h <<_ACEOF
34320 #define HAVE_FMODF 1
34321 _ACEOF
34322
34323 fi
34324 done
34325
34326   else
34327
34328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34329 $as_echo_n "checking for _fmodf declaration... " >&6; }
34330   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34331     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34332   $as_echo_n "(cached) " >&6
34333 else
34334
34335
34336       ac_ext=cpp
34337 ac_cpp='$CXXCPP $CPPFLAGS'
34338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34341
34342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34343 /* end confdefs.h.  */
34344 #include <math.h>
34345 int
34346 main ()
34347 {
34348  _fmodf(0, 0);
34349   ;
34350   return 0;
34351 }
34352 _ACEOF
34353 if ac_fn_cxx_try_compile "$LINENO"; then :
34354   glibcxx_cv_func__fmodf_use=yes
34355 else
34356   glibcxx_cv_func__fmodf_use=no
34357 fi
34358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34359       ac_ext=c
34360 ac_cpp='$CPP $CPPFLAGS'
34361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34364
34365
34366 fi
34367
34368   fi
34369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34370 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34371
34372     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34373       for ac_func in _fmodf
34374 do :
34375   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34376 if test "x$ac_cv_func__fmodf" = x""yes; then :
34377   cat >>confdefs.h <<_ACEOF
34378 #define HAVE__FMODF 1
34379 _ACEOF
34380
34381 fi
34382 done
34383
34384     fi
34385   fi
34386
34387
34388
34389
34390
34391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34392 $as_echo_n "checking for frexpf declaration... " >&6; }
34393   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34394     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34395   $as_echo_n "(cached) " >&6
34396 else
34397
34398
34399       ac_ext=cpp
34400 ac_cpp='$CXXCPP $CPPFLAGS'
34401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34404
34405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34406 /* end confdefs.h.  */
34407 #include <math.h>
34408 int
34409 main ()
34410 {
34411  frexpf(0, 0);
34412   ;
34413   return 0;
34414 }
34415 _ACEOF
34416 if ac_fn_cxx_try_compile "$LINENO"; then :
34417   glibcxx_cv_func_frexpf_use=yes
34418 else
34419   glibcxx_cv_func_frexpf_use=no
34420 fi
34421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422       ac_ext=c
34423 ac_cpp='$CPP $CPPFLAGS'
34424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427
34428
34429 fi
34430
34431   fi
34432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34433 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34434
34435   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34436     for ac_func in frexpf
34437 do :
34438   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34439 if test "x$ac_cv_func_frexpf" = x""yes; then :
34440   cat >>confdefs.h <<_ACEOF
34441 #define HAVE_FREXPF 1
34442 _ACEOF
34443
34444 fi
34445 done
34446
34447   else
34448
34449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34450 $as_echo_n "checking for _frexpf declaration... " >&6; }
34451   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34452     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34453   $as_echo_n "(cached) " >&6
34454 else
34455
34456
34457       ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34462
34463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h.  */
34465 #include <math.h>
34466 int
34467 main ()
34468 {
34469  _frexpf(0, 0);
34470   ;
34471   return 0;
34472 }
34473 _ACEOF
34474 if ac_fn_cxx_try_compile "$LINENO"; then :
34475   glibcxx_cv_func__frexpf_use=yes
34476 else
34477   glibcxx_cv_func__frexpf_use=no
34478 fi
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480       ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34485
34486
34487 fi
34488
34489   fi
34490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34491 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34492
34493     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34494       for ac_func in _frexpf
34495 do :
34496   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34497 if test "x$ac_cv_func__frexpf" = x""yes; then :
34498   cat >>confdefs.h <<_ACEOF
34499 #define HAVE__FREXPF 1
34500 _ACEOF
34501
34502 fi
34503 done
34504
34505     fi
34506   fi
34507
34508
34509
34510
34511
34512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34513 $as_echo_n "checking for hypotf declaration... " >&6; }
34514   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34515     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34516   $as_echo_n "(cached) " >&6
34517 else
34518
34519
34520       ac_ext=cpp
34521 ac_cpp='$CXXCPP $CPPFLAGS'
34522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34525
34526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h.  */
34528 #include <math.h>
34529 int
34530 main ()
34531 {
34532  hypotf(0, 0);
34533   ;
34534   return 0;
34535 }
34536 _ACEOF
34537 if ac_fn_cxx_try_compile "$LINENO"; then :
34538   glibcxx_cv_func_hypotf_use=yes
34539 else
34540   glibcxx_cv_func_hypotf_use=no
34541 fi
34542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543       ac_ext=c
34544 ac_cpp='$CPP $CPPFLAGS'
34545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34548
34549
34550 fi
34551
34552   fi
34553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34554 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34555
34556   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34557     for ac_func in hypotf
34558 do :
34559   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34560 if test "x$ac_cv_func_hypotf" = x""yes; then :
34561   cat >>confdefs.h <<_ACEOF
34562 #define HAVE_HYPOTF 1
34563 _ACEOF
34564
34565 fi
34566 done
34567
34568   else
34569
34570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34571 $as_echo_n "checking for _hypotf declaration... " >&6; }
34572   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34573     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34574   $as_echo_n "(cached) " >&6
34575 else
34576
34577
34578       ac_ext=cpp
34579 ac_cpp='$CXXCPP $CPPFLAGS'
34580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34583
34584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34585 /* end confdefs.h.  */
34586 #include <math.h>
34587 int
34588 main ()
34589 {
34590  _hypotf(0, 0);
34591   ;
34592   return 0;
34593 }
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596   glibcxx_cv_func__hypotf_use=yes
34597 else
34598   glibcxx_cv_func__hypotf_use=no
34599 fi
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601       ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606
34607
34608 fi
34609
34610   fi
34611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34612 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34613
34614     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34615       for ac_func in _hypotf
34616 do :
34617   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34618 if test "x$ac_cv_func__hypotf" = x""yes; then :
34619   cat >>confdefs.h <<_ACEOF
34620 #define HAVE__HYPOTF 1
34621 _ACEOF
34622
34623 fi
34624 done
34625
34626     fi
34627   fi
34628
34629
34630
34631
34632
34633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34634 $as_echo_n "checking for ldexpf declaration... " >&6; }
34635   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34636     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34637   $as_echo_n "(cached) " >&6
34638 else
34639
34640
34641       ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646
34647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h.  */
34649 #include <math.h>
34650 int
34651 main ()
34652 {
34653  ldexpf(0, 0);
34654   ;
34655   return 0;
34656 }
34657 _ACEOF
34658 if ac_fn_cxx_try_compile "$LINENO"; then :
34659   glibcxx_cv_func_ldexpf_use=yes
34660 else
34661   glibcxx_cv_func_ldexpf_use=no
34662 fi
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664       ac_ext=c
34665 ac_cpp='$CPP $CPPFLAGS'
34666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34669
34670
34671 fi
34672
34673   fi
34674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34675 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34676
34677   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34678     for ac_func in ldexpf
34679 do :
34680   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34681 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34682   cat >>confdefs.h <<_ACEOF
34683 #define HAVE_LDEXPF 1
34684 _ACEOF
34685
34686 fi
34687 done
34688
34689   else
34690
34691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34692 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34693   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34694     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34695   $as_echo_n "(cached) " >&6
34696 else
34697
34698
34699       ac_ext=cpp
34700 ac_cpp='$CXXCPP $CPPFLAGS'
34701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34704
34705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34706 /* end confdefs.h.  */
34707 #include <math.h>
34708 int
34709 main ()
34710 {
34711  _ldexpf(0, 0);
34712   ;
34713   return 0;
34714 }
34715 _ACEOF
34716 if ac_fn_cxx_try_compile "$LINENO"; then :
34717   glibcxx_cv_func__ldexpf_use=yes
34718 else
34719   glibcxx_cv_func__ldexpf_use=no
34720 fi
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722       ac_ext=c
34723 ac_cpp='$CPP $CPPFLAGS'
34724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34727
34728
34729 fi
34730
34731   fi
34732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34733 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34734
34735     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34736       for ac_func in _ldexpf
34737 do :
34738   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34739 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34740   cat >>confdefs.h <<_ACEOF
34741 #define HAVE__LDEXPF 1
34742 _ACEOF
34743
34744 fi
34745 done
34746
34747     fi
34748   fi
34749
34750
34751
34752
34753
34754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34755 $as_echo_n "checking for logf declaration... " >&6; }
34756   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34757     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34758   $as_echo_n "(cached) " >&6
34759 else
34760
34761
34762       ac_ext=cpp
34763 ac_cpp='$CXXCPP $CPPFLAGS'
34764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34767
34768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34769 /* end confdefs.h.  */
34770 #include <math.h>
34771                       #ifdef HAVE_IEEEFP_H
34772                       #include <ieeefp.h>
34773                       #endif
34774
34775 int
34776 main ()
34777 {
34778  logf(0);
34779   ;
34780   return 0;
34781 }
34782 _ACEOF
34783 if ac_fn_cxx_try_compile "$LINENO"; then :
34784   glibcxx_cv_func_logf_use=yes
34785 else
34786   glibcxx_cv_func_logf_use=no
34787 fi
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789       ac_ext=c
34790 ac_cpp='$CPP $CPPFLAGS'
34791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34794
34795
34796 fi
34797
34798   fi
34799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34800 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34801
34802   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34803     for ac_func in logf
34804 do :
34805   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34806 if test "x$ac_cv_func_logf" = x""yes; then :
34807   cat >>confdefs.h <<_ACEOF
34808 #define HAVE_LOGF 1
34809 _ACEOF
34810
34811 fi
34812 done
34813
34814   else
34815
34816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34817 $as_echo_n "checking for _logf declaration... " >&6; }
34818   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34819     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34820   $as_echo_n "(cached) " >&6
34821 else
34822
34823
34824       ac_ext=cpp
34825 ac_cpp='$CXXCPP $CPPFLAGS'
34826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34829
34830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34831 /* end confdefs.h.  */
34832 #include <math.h>
34833                       #ifdef HAVE_IEEEFP_H
34834                       #include <ieeefp.h>
34835                       #endif
34836
34837 int
34838 main ()
34839 {
34840  _logf(0);
34841   ;
34842   return 0;
34843 }
34844 _ACEOF
34845 if ac_fn_cxx_try_compile "$LINENO"; then :
34846   glibcxx_cv_func__logf_use=yes
34847 else
34848   glibcxx_cv_func__logf_use=no
34849 fi
34850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34851       ac_ext=c
34852 ac_cpp='$CPP $CPPFLAGS'
34853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34856
34857
34858 fi
34859
34860   fi
34861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34862 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34863
34864     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34865       for ac_func in _logf
34866 do :
34867   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34868 if test "x$ac_cv_func__logf" = x""yes; then :
34869   cat >>confdefs.h <<_ACEOF
34870 #define HAVE__LOGF 1
34871 _ACEOF
34872
34873 fi
34874 done
34875
34876     fi
34877   fi
34878
34879
34880
34881
34882
34883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34884 $as_echo_n "checking for log10f declaration... " >&6; }
34885   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34886     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34887   $as_echo_n "(cached) " >&6
34888 else
34889
34890
34891       ac_ext=cpp
34892 ac_cpp='$CXXCPP $CPPFLAGS'
34893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34896
34897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34898 /* end confdefs.h.  */
34899 #include <math.h>
34900                       #ifdef HAVE_IEEEFP_H
34901                       #include <ieeefp.h>
34902                       #endif
34903
34904 int
34905 main ()
34906 {
34907  log10f(0);
34908   ;
34909   return 0;
34910 }
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913   glibcxx_cv_func_log10f_use=yes
34914 else
34915   glibcxx_cv_func_log10f_use=no
34916 fi
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918       ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34923
34924
34925 fi
34926
34927   fi
34928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34929 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34930
34931   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34932     for ac_func in log10f
34933 do :
34934   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34935 if test "x$ac_cv_func_log10f" = x""yes; then :
34936   cat >>confdefs.h <<_ACEOF
34937 #define HAVE_LOG10F 1
34938 _ACEOF
34939
34940 fi
34941 done
34942
34943   else
34944
34945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34946 $as_echo_n "checking for _log10f declaration... " >&6; }
34947   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34948     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34949   $as_echo_n "(cached) " >&6
34950 else
34951
34952
34953       ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34958
34959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h.  */
34961 #include <math.h>
34962                       #ifdef HAVE_IEEEFP_H
34963                       #include <ieeefp.h>
34964                       #endif
34965
34966 int
34967 main ()
34968 {
34969  _log10f(0);
34970   ;
34971   return 0;
34972 }
34973 _ACEOF
34974 if ac_fn_cxx_try_compile "$LINENO"; then :
34975   glibcxx_cv_func__log10f_use=yes
34976 else
34977   glibcxx_cv_func__log10f_use=no
34978 fi
34979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34980       ac_ext=c
34981 ac_cpp='$CPP $CPPFLAGS'
34982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985
34986
34987 fi
34988
34989   fi
34990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34991 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34992
34993     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34994       for ac_func in _log10f
34995 do :
34996   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34997 if test "x$ac_cv_func__log10f" = x""yes; then :
34998   cat >>confdefs.h <<_ACEOF
34999 #define HAVE__LOG10F 1
35000 _ACEOF
35001
35002 fi
35003 done
35004
35005     fi
35006   fi
35007
35008
35009
35010
35011
35012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35013 $as_echo_n "checking for modff declaration... " >&6; }
35014   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35015     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35016   $as_echo_n "(cached) " >&6
35017 else
35018
35019
35020       ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35025
35026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35027 /* end confdefs.h.  */
35028 #include <math.h>
35029 int
35030 main ()
35031 {
35032  modff(0, 0);
35033   ;
35034   return 0;
35035 }
35036 _ACEOF
35037 if ac_fn_cxx_try_compile "$LINENO"; then :
35038   glibcxx_cv_func_modff_use=yes
35039 else
35040   glibcxx_cv_func_modff_use=no
35041 fi
35042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35043       ac_ext=c
35044 ac_cpp='$CPP $CPPFLAGS'
35045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35048
35049
35050 fi
35051
35052   fi
35053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35054 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35055
35056   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35057     for ac_func in modff
35058 do :
35059   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35060 if test "x$ac_cv_func_modff" = x""yes; then :
35061   cat >>confdefs.h <<_ACEOF
35062 #define HAVE_MODFF 1
35063 _ACEOF
35064
35065 fi
35066 done
35067
35068   else
35069
35070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35071 $as_echo_n "checking for _modff declaration... " >&6; }
35072   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35073     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35074   $as_echo_n "(cached) " >&6
35075 else
35076
35077
35078       ac_ext=cpp
35079 ac_cpp='$CXXCPP $CPPFLAGS'
35080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35083
35084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35085 /* end confdefs.h.  */
35086 #include <math.h>
35087 int
35088 main ()
35089 {
35090  _modff(0, 0);
35091   ;
35092   return 0;
35093 }
35094 _ACEOF
35095 if ac_fn_cxx_try_compile "$LINENO"; then :
35096   glibcxx_cv_func__modff_use=yes
35097 else
35098   glibcxx_cv_func__modff_use=no
35099 fi
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101       ac_ext=c
35102 ac_cpp='$CPP $CPPFLAGS'
35103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35106
35107
35108 fi
35109
35110   fi
35111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35112 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35113
35114     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35115       for ac_func in _modff
35116 do :
35117   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35118 if test "x$ac_cv_func__modff" = x""yes; then :
35119   cat >>confdefs.h <<_ACEOF
35120 #define HAVE__MODFF 1
35121 _ACEOF
35122
35123 fi
35124 done
35125
35126     fi
35127   fi
35128
35129
35130
35131
35132
35133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35134 $as_echo_n "checking for modf declaration... " >&6; }
35135   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35136     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35137   $as_echo_n "(cached) " >&6
35138 else
35139
35140
35141       ac_ext=cpp
35142 ac_cpp='$CXXCPP $CPPFLAGS'
35143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35146
35147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35148 /* end confdefs.h.  */
35149 #include <math.h>
35150 int
35151 main ()
35152 {
35153  modf(0, 0);
35154   ;
35155   return 0;
35156 }
35157 _ACEOF
35158 if ac_fn_cxx_try_compile "$LINENO"; then :
35159   glibcxx_cv_func_modf_use=yes
35160 else
35161   glibcxx_cv_func_modf_use=no
35162 fi
35163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35164       ac_ext=c
35165 ac_cpp='$CPP $CPPFLAGS'
35166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35169
35170
35171 fi
35172
35173   fi
35174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35175 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35176
35177   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35178     for ac_func in modf
35179 do :
35180   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35181 if test "x$ac_cv_func_modf" = x""yes; then :
35182   cat >>confdefs.h <<_ACEOF
35183 #define HAVE_MODF 1
35184 _ACEOF
35185
35186 fi
35187 done
35188
35189   else
35190
35191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35192 $as_echo_n "checking for _modf declaration... " >&6; }
35193   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35194     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35195   $as_echo_n "(cached) " >&6
35196 else
35197
35198
35199       ac_ext=cpp
35200 ac_cpp='$CXXCPP $CPPFLAGS'
35201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35204
35205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35206 /* end confdefs.h.  */
35207 #include <math.h>
35208 int
35209 main ()
35210 {
35211  _modf(0, 0);
35212   ;
35213   return 0;
35214 }
35215 _ACEOF
35216 if ac_fn_cxx_try_compile "$LINENO"; then :
35217   glibcxx_cv_func__modf_use=yes
35218 else
35219   glibcxx_cv_func__modf_use=no
35220 fi
35221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35222       ac_ext=c
35223 ac_cpp='$CPP $CPPFLAGS'
35224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227
35228
35229 fi
35230
35231   fi
35232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35233 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35234
35235     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35236       for ac_func in _modf
35237 do :
35238   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35239 if test "x$ac_cv_func__modf" = x""yes; then :
35240   cat >>confdefs.h <<_ACEOF
35241 #define HAVE__MODF 1
35242 _ACEOF
35243
35244 fi
35245 done
35246
35247     fi
35248   fi
35249
35250
35251
35252
35253
35254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35255 $as_echo_n "checking for powf declaration... " >&6; }
35256   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35257     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35258   $as_echo_n "(cached) " >&6
35259 else
35260
35261
35262       ac_ext=cpp
35263 ac_cpp='$CXXCPP $CPPFLAGS'
35264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35267
35268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35269 /* end confdefs.h.  */
35270 #include <math.h>
35271 int
35272 main ()
35273 {
35274  powf(0, 0);
35275   ;
35276   return 0;
35277 }
35278 _ACEOF
35279 if ac_fn_cxx_try_compile "$LINENO"; then :
35280   glibcxx_cv_func_powf_use=yes
35281 else
35282   glibcxx_cv_func_powf_use=no
35283 fi
35284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35285       ac_ext=c
35286 ac_cpp='$CPP $CPPFLAGS'
35287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35290
35291
35292 fi
35293
35294   fi
35295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35296 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35297
35298   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35299     for ac_func in powf
35300 do :
35301   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35302 if test "x$ac_cv_func_powf" = x""yes; then :
35303   cat >>confdefs.h <<_ACEOF
35304 #define HAVE_POWF 1
35305 _ACEOF
35306
35307 fi
35308 done
35309
35310   else
35311
35312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35313 $as_echo_n "checking for _powf declaration... " >&6; }
35314   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35315     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35316   $as_echo_n "(cached) " >&6
35317 else
35318
35319
35320       ac_ext=cpp
35321 ac_cpp='$CXXCPP $CPPFLAGS'
35322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35325
35326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35327 /* end confdefs.h.  */
35328 #include <math.h>
35329 int
35330 main ()
35331 {
35332  _powf(0, 0);
35333   ;
35334   return 0;
35335 }
35336 _ACEOF
35337 if ac_fn_cxx_try_compile "$LINENO"; then :
35338   glibcxx_cv_func__powf_use=yes
35339 else
35340   glibcxx_cv_func__powf_use=no
35341 fi
35342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35343       ac_ext=c
35344 ac_cpp='$CPP $CPPFLAGS'
35345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35348
35349
35350 fi
35351
35352   fi
35353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35354 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35355
35356     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35357       for ac_func in _powf
35358 do :
35359   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35360 if test "x$ac_cv_func__powf" = x""yes; then :
35361   cat >>confdefs.h <<_ACEOF
35362 #define HAVE__POWF 1
35363 _ACEOF
35364
35365 fi
35366 done
35367
35368     fi
35369   fi
35370
35371
35372
35373
35374
35375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35376 $as_echo_n "checking for sqrtf declaration... " >&6; }
35377   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35378     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35379   $as_echo_n "(cached) " >&6
35380 else
35381
35382
35383       ac_ext=cpp
35384 ac_cpp='$CXXCPP $CPPFLAGS'
35385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35388
35389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35390 /* end confdefs.h.  */
35391 #include <math.h>
35392                       #ifdef HAVE_IEEEFP_H
35393                       #include <ieeefp.h>
35394                       #endif
35395
35396 int
35397 main ()
35398 {
35399  sqrtf(0);
35400   ;
35401   return 0;
35402 }
35403 _ACEOF
35404 if ac_fn_cxx_try_compile "$LINENO"; then :
35405   glibcxx_cv_func_sqrtf_use=yes
35406 else
35407   glibcxx_cv_func_sqrtf_use=no
35408 fi
35409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35410       ac_ext=c
35411 ac_cpp='$CPP $CPPFLAGS'
35412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35415
35416
35417 fi
35418
35419   fi
35420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35421 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35422
35423   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35424     for ac_func in sqrtf
35425 do :
35426   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35427 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35428   cat >>confdefs.h <<_ACEOF
35429 #define HAVE_SQRTF 1
35430 _ACEOF
35431
35432 fi
35433 done
35434
35435   else
35436
35437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35438 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35439   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35440     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35441   $as_echo_n "(cached) " >&6
35442 else
35443
35444
35445       ac_ext=cpp
35446 ac_cpp='$CXXCPP $CPPFLAGS'
35447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35450
35451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35452 /* end confdefs.h.  */
35453 #include <math.h>
35454                       #ifdef HAVE_IEEEFP_H
35455                       #include <ieeefp.h>
35456                       #endif
35457
35458 int
35459 main ()
35460 {
35461  _sqrtf(0);
35462   ;
35463   return 0;
35464 }
35465 _ACEOF
35466 if ac_fn_cxx_try_compile "$LINENO"; then :
35467   glibcxx_cv_func__sqrtf_use=yes
35468 else
35469   glibcxx_cv_func__sqrtf_use=no
35470 fi
35471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35472       ac_ext=c
35473 ac_cpp='$CPP $CPPFLAGS'
35474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35477
35478
35479 fi
35480
35481   fi
35482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35483 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35484
35485     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35486       for ac_func in _sqrtf
35487 do :
35488   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35489 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35490   cat >>confdefs.h <<_ACEOF
35491 #define HAVE__SQRTF 1
35492 _ACEOF
35493
35494 fi
35495 done
35496
35497     fi
35498   fi
35499
35500
35501
35502
35503
35504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35505 $as_echo_n "checking for sincosf declaration... " >&6; }
35506   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35507     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35508   $as_echo_n "(cached) " >&6
35509 else
35510
35511
35512       ac_ext=cpp
35513 ac_cpp='$CXXCPP $CPPFLAGS'
35514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35517
35518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35519 /* end confdefs.h.  */
35520 #include <math.h>
35521 int
35522 main ()
35523 {
35524  sincosf(0, 0, 0);
35525   ;
35526   return 0;
35527 }
35528 _ACEOF
35529 if ac_fn_cxx_try_compile "$LINENO"; then :
35530   glibcxx_cv_func_sincosf_use=yes
35531 else
35532   glibcxx_cv_func_sincosf_use=no
35533 fi
35534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35535       ac_ext=c
35536 ac_cpp='$CPP $CPPFLAGS'
35537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35540
35541
35542 fi
35543
35544   fi
35545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35546 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35547
35548   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35549     for ac_func in sincosf
35550 do :
35551   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35552 if test "x$ac_cv_func_sincosf" = x""yes; then :
35553   cat >>confdefs.h <<_ACEOF
35554 #define HAVE_SINCOSF 1
35555 _ACEOF
35556
35557 fi
35558 done
35559
35560   else
35561
35562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35563 $as_echo_n "checking for _sincosf declaration... " >&6; }
35564   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35565     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35566   $as_echo_n "(cached) " >&6
35567 else
35568
35569
35570       ac_ext=cpp
35571 ac_cpp='$CXXCPP $CPPFLAGS'
35572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35575
35576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35577 /* end confdefs.h.  */
35578 #include <math.h>
35579 int
35580 main ()
35581 {
35582  _sincosf(0, 0, 0);
35583   ;
35584   return 0;
35585 }
35586 _ACEOF
35587 if ac_fn_cxx_try_compile "$LINENO"; then :
35588   glibcxx_cv_func__sincosf_use=yes
35589 else
35590   glibcxx_cv_func__sincosf_use=no
35591 fi
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593       ac_ext=c
35594 ac_cpp='$CPP $CPPFLAGS'
35595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35598
35599
35600 fi
35601
35602   fi
35603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35604 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35605
35606     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35607       for ac_func in _sincosf
35608 do :
35609   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35610 if test "x$ac_cv_func__sincosf" = x""yes; then :
35611   cat >>confdefs.h <<_ACEOF
35612 #define HAVE__SINCOSF 1
35613 _ACEOF
35614
35615 fi
35616 done
35617
35618     fi
35619   fi
35620
35621
35622
35623
35624
35625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35626 $as_echo_n "checking for finitef declaration... " >&6; }
35627   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35628     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35629   $as_echo_n "(cached) " >&6
35630 else
35631
35632
35633       ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35638
35639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h.  */
35641 #include <math.h>
35642                       #ifdef HAVE_IEEEFP_H
35643                       #include <ieeefp.h>
35644                       #endif
35645
35646 int
35647 main ()
35648 {
35649  finitef(0);
35650   ;
35651   return 0;
35652 }
35653 _ACEOF
35654 if ac_fn_cxx_try_compile "$LINENO"; then :
35655   glibcxx_cv_func_finitef_use=yes
35656 else
35657   glibcxx_cv_func_finitef_use=no
35658 fi
35659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35660       ac_ext=c
35661 ac_cpp='$CPP $CPPFLAGS'
35662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35665
35666
35667 fi
35668
35669   fi
35670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35671 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35672
35673   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35674     for ac_func in finitef
35675 do :
35676   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35677 if test "x$ac_cv_func_finitef" = x""yes; then :
35678   cat >>confdefs.h <<_ACEOF
35679 #define HAVE_FINITEF 1
35680 _ACEOF
35681
35682 fi
35683 done
35684
35685   else
35686
35687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35688 $as_echo_n "checking for _finitef declaration... " >&6; }
35689   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35690     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35691   $as_echo_n "(cached) " >&6
35692 else
35693
35694
35695       ac_ext=cpp
35696 ac_cpp='$CXXCPP $CPPFLAGS'
35697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35700
35701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35702 /* end confdefs.h.  */
35703 #include <math.h>
35704                       #ifdef HAVE_IEEEFP_H
35705                       #include <ieeefp.h>
35706                       #endif
35707
35708 int
35709 main ()
35710 {
35711  _finitef(0);
35712   ;
35713   return 0;
35714 }
35715 _ACEOF
35716 if ac_fn_cxx_try_compile "$LINENO"; then :
35717   glibcxx_cv_func__finitef_use=yes
35718 else
35719   glibcxx_cv_func__finitef_use=no
35720 fi
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722       ac_ext=c
35723 ac_cpp='$CPP $CPPFLAGS'
35724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35727
35728
35729 fi
35730
35731   fi
35732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35733 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35734
35735     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35736       for ac_func in _finitef
35737 do :
35738   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35739 if test "x$ac_cv_func__finitef" = x""yes; then :
35740   cat >>confdefs.h <<_ACEOF
35741 #define HAVE__FINITEF 1
35742 _ACEOF
35743
35744 fi
35745 done
35746
35747     fi
35748   fi
35749
35750
35751
35752
35753
35754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35755 $as_echo_n "checking for long double trig functions... " >&6; }
35756   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35757   $as_echo_n "(cached) " >&6
35758 else
35759
35760
35761     ac_ext=cpp
35762 ac_cpp='$CXXCPP $CPPFLAGS'
35763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35766
35767     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35768 /* end confdefs.h.  */
35769 #include <math.h>
35770 int
35771 main ()
35772 {
35773 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35774   ;
35775   return 0;
35776 }
35777 _ACEOF
35778 if ac_fn_cxx_try_compile "$LINENO"; then :
35779   glibcxx_cv_func_long_double_trig_use=yes
35780 else
35781   glibcxx_cv_func_long_double_trig_use=no
35782 fi
35783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35784     ac_ext=c
35785 ac_cpp='$CPP $CPPFLAGS'
35786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35789
35790 fi
35791
35792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35793 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35794   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35795     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35796 do :
35797   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35799 eval as_val=\$$as_ac_var
35800    if test "x$as_val" = x""yes; then :
35801   cat >>confdefs.h <<_ACEOF
35802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35803 _ACEOF
35804
35805 fi
35806 done
35807
35808   else
35809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35810 $as_echo_n "checking for _long double trig functions... " >&6; }
35811     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35812   $as_echo_n "(cached) " >&6
35813 else
35814
35815
35816       ac_ext=cpp
35817 ac_cpp='$CXXCPP $CPPFLAGS'
35818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35821
35822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823 /* end confdefs.h.  */
35824 #include <math.h>
35825 int
35826 main ()
35827 {
35828 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35829   ;
35830   return 0;
35831 }
35832 _ACEOF
35833 if ac_fn_cxx_try_compile "$LINENO"; then :
35834   glibcxx_cv_func__long_double_trig_use=yes
35835 else
35836   glibcxx_cv_func__long_double_trig_use=no
35837 fi
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839       ac_ext=c
35840 ac_cpp='$CPP $CPPFLAGS'
35841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844
35845 fi
35846
35847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35848 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35849     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35850       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35851 do :
35852   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35854 eval as_val=\$$as_ac_var
35855    if test "x$as_val" = x""yes; then :
35856   cat >>confdefs.h <<_ACEOF
35857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35858 _ACEOF
35859
35860 fi
35861 done
35862
35863     fi
35864   fi
35865
35866
35867
35868
35869
35870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35871 $as_echo_n "checking for long double round functions... " >&6; }
35872   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35873   $as_echo_n "(cached) " >&6
35874 else
35875
35876
35877     ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35882
35883     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h.  */
35885 #include <math.h>
35886 int
35887 main ()
35888 {
35889 ceill (0); floorl (0);
35890   ;
35891   return 0;
35892 }
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895   glibcxx_cv_func_long_double_round_use=yes
35896 else
35897   glibcxx_cv_func_long_double_round_use=no
35898 fi
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900     ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905
35906 fi
35907
35908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35909 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35910   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35911     for ac_func in ceill floorl
35912 do :
35913   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35915 eval as_val=\$$as_ac_var
35916    if test "x$as_val" = x""yes; then :
35917   cat >>confdefs.h <<_ACEOF
35918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35919 _ACEOF
35920
35921 fi
35922 done
35923
35924   else
35925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35926 $as_echo_n "checking for _long double round functions... " >&6; }
35927     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35928   $as_echo_n "(cached) " >&6
35929 else
35930
35931
35932       ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h.  */
35940 #include <math.h>
35941 int
35942 main ()
35943 {
35944 _ceill (0); _floorl (0);
35945   ;
35946   return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950   glibcxx_cv_func__long_double_round_use=yes
35951 else
35952   glibcxx_cv_func__long_double_round_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955       ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961 fi
35962
35963     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35964 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35965     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35966       for ac_func in _ceill _floorl
35967 do :
35968   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35970 eval as_val=\$$as_ac_var
35971    if test "x$as_val" = x""yes; then :
35972   cat >>confdefs.h <<_ACEOF
35973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35975
35976 fi
35977 done
35978
35979     fi
35980   fi
35981
35982
35983
35984
35985
35986
35987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35988 $as_echo_n "checking for isnanl declaration... " >&6; }
35989   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35990     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35991   $as_echo_n "(cached) " >&6
35992 else
35993
35994
35995       ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000
36001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h.  */
36003 #include <math.h>
36004                       #ifdef HAVE_IEEEFP_H
36005                       #include <ieeefp.h>
36006                       #endif
36007
36008 int
36009 main ()
36010 {
36011  isnanl(0);
36012   ;
36013   return 0;
36014 }
36015 _ACEOF
36016 if ac_fn_cxx_try_compile "$LINENO"; then :
36017   glibcxx_cv_func_isnanl_use=yes
36018 else
36019   glibcxx_cv_func_isnanl_use=no
36020 fi
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36022       ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027
36028
36029 fi
36030
36031   fi
36032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36033 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36034
36035   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36036     for ac_func in isnanl
36037 do :
36038   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36039 if test "x$ac_cv_func_isnanl" = x""yes; then :
36040   cat >>confdefs.h <<_ACEOF
36041 #define HAVE_ISNANL 1
36042 _ACEOF
36043
36044 fi
36045 done
36046
36047   else
36048
36049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36050 $as_echo_n "checking for _isnanl declaration... " >&6; }
36051   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36052     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36053   $as_echo_n "(cached) " >&6
36054 else
36055
36056
36057       ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062
36063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h.  */
36065 #include <math.h>
36066                       #ifdef HAVE_IEEEFP_H
36067                       #include <ieeefp.h>
36068                       #endif
36069
36070 int
36071 main ()
36072 {
36073  _isnanl(0);
36074   ;
36075   return 0;
36076 }
36077 _ACEOF
36078 if ac_fn_cxx_try_compile "$LINENO"; then :
36079   glibcxx_cv_func__isnanl_use=yes
36080 else
36081   glibcxx_cv_func__isnanl_use=no
36082 fi
36083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36084       ac_ext=c
36085 ac_cpp='$CPP $CPPFLAGS'
36086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089
36090
36091 fi
36092
36093   fi
36094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36095 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36096
36097     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36098       for ac_func in _isnanl
36099 do :
36100   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36101 if test "x$ac_cv_func__isnanl" = x""yes; then :
36102   cat >>confdefs.h <<_ACEOF
36103 #define HAVE__ISNANL 1
36104 _ACEOF
36105
36106 fi
36107 done
36108
36109     fi
36110   fi
36111
36112
36113
36114
36115
36116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36117 $as_echo_n "checking for isinfl declaration... " >&6; }
36118   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36119     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36120   $as_echo_n "(cached) " >&6
36121 else
36122
36123
36124       ac_ext=cpp
36125 ac_cpp='$CXXCPP $CPPFLAGS'
36126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129
36130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36131 /* end confdefs.h.  */
36132 #include <math.h>
36133                       #ifdef HAVE_IEEEFP_H
36134                       #include <ieeefp.h>
36135                       #endif
36136
36137 int
36138 main ()
36139 {
36140  isinfl(0);
36141   ;
36142   return 0;
36143 }
36144 _ACEOF
36145 if ac_fn_cxx_try_compile "$LINENO"; then :
36146   glibcxx_cv_func_isinfl_use=yes
36147 else
36148   glibcxx_cv_func_isinfl_use=no
36149 fi
36150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36151       ac_ext=c
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36156
36157
36158 fi
36159
36160   fi
36161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36162 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36163
36164   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36165     for ac_func in isinfl
36166 do :
36167   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36168 if test "x$ac_cv_func_isinfl" = x""yes; then :
36169   cat >>confdefs.h <<_ACEOF
36170 #define HAVE_ISINFL 1
36171 _ACEOF
36172
36173 fi
36174 done
36175
36176   else
36177
36178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36179 $as_echo_n "checking for _isinfl declaration... " >&6; }
36180   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36181     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36182   $as_echo_n "(cached) " >&6
36183 else
36184
36185
36186       ac_ext=cpp
36187 ac_cpp='$CXXCPP $CPPFLAGS'
36188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36191
36192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 /* end confdefs.h.  */
36194 #include <math.h>
36195                       #ifdef HAVE_IEEEFP_H
36196                       #include <ieeefp.h>
36197                       #endif
36198
36199 int
36200 main ()
36201 {
36202  _isinfl(0);
36203   ;
36204   return 0;
36205 }
36206 _ACEOF
36207 if ac_fn_cxx_try_compile "$LINENO"; then :
36208   glibcxx_cv_func__isinfl_use=yes
36209 else
36210   glibcxx_cv_func__isinfl_use=no
36211 fi
36212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36213       ac_ext=c
36214 ac_cpp='$CPP $CPPFLAGS'
36215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36218
36219
36220 fi
36221
36222   fi
36223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36224 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36225
36226     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36227       for ac_func in _isinfl
36228 do :
36229   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36230 if test "x$ac_cv_func__isinfl" = x""yes; then :
36231   cat >>confdefs.h <<_ACEOF
36232 #define HAVE__ISINFL 1
36233 _ACEOF
36234
36235 fi
36236 done
36237
36238     fi
36239   fi
36240
36241
36242
36243
36244
36245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36246 $as_echo_n "checking for atan2l declaration... " >&6; }
36247   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36248     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36249   $as_echo_n "(cached) " >&6
36250 else
36251
36252
36253       ac_ext=cpp
36254 ac_cpp='$CXXCPP $CPPFLAGS'
36255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36258
36259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36260 /* end confdefs.h.  */
36261 #include <math.h>
36262 int
36263 main ()
36264 {
36265  atan2l(0, 0);
36266   ;
36267   return 0;
36268 }
36269 _ACEOF
36270 if ac_fn_cxx_try_compile "$LINENO"; then :
36271   glibcxx_cv_func_atan2l_use=yes
36272 else
36273   glibcxx_cv_func_atan2l_use=no
36274 fi
36275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36276       ac_ext=c
36277 ac_cpp='$CPP $CPPFLAGS'
36278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36281
36282
36283 fi
36284
36285   fi
36286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36287 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36288
36289   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36290     for ac_func in atan2l
36291 do :
36292   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36293 if test "x$ac_cv_func_atan2l" = x""yes; then :
36294   cat >>confdefs.h <<_ACEOF
36295 #define HAVE_ATAN2L 1
36296 _ACEOF
36297
36298 fi
36299 done
36300
36301   else
36302
36303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36304 $as_echo_n "checking for _atan2l declaration... " >&6; }
36305   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36306     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36307   $as_echo_n "(cached) " >&6
36308 else
36309
36310
36311       ac_ext=cpp
36312 ac_cpp='$CXXCPP $CPPFLAGS'
36313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36316
36317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36318 /* end confdefs.h.  */
36319 #include <math.h>
36320 int
36321 main ()
36322 {
36323  _atan2l(0, 0);
36324   ;
36325   return 0;
36326 }
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329   glibcxx_cv_func__atan2l_use=yes
36330 else
36331   glibcxx_cv_func__atan2l_use=no
36332 fi
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334       ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339
36340
36341 fi
36342
36343   fi
36344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36345 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36346
36347     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36348       for ac_func in _atan2l
36349 do :
36350   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36351 if test "x$ac_cv_func__atan2l" = x""yes; then :
36352   cat >>confdefs.h <<_ACEOF
36353 #define HAVE__ATAN2L 1
36354 _ACEOF
36355
36356 fi
36357 done
36358
36359     fi
36360   fi
36361
36362
36363
36364
36365
36366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36367 $as_echo_n "checking for expl declaration... " >&6; }
36368   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36369     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36370   $as_echo_n "(cached) " >&6
36371 else
36372
36373
36374       ac_ext=cpp
36375 ac_cpp='$CXXCPP $CPPFLAGS'
36376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36379
36380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36381 /* end confdefs.h.  */
36382 #include <math.h>
36383                       #ifdef HAVE_IEEEFP_H
36384                       #include <ieeefp.h>
36385                       #endif
36386
36387 int
36388 main ()
36389 {
36390  expl(0);
36391   ;
36392   return 0;
36393 }
36394 _ACEOF
36395 if ac_fn_cxx_try_compile "$LINENO"; then :
36396   glibcxx_cv_func_expl_use=yes
36397 else
36398   glibcxx_cv_func_expl_use=no
36399 fi
36400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36401       ac_ext=c
36402 ac_cpp='$CPP $CPPFLAGS'
36403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36406
36407
36408 fi
36409
36410   fi
36411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36412 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36413
36414   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36415     for ac_func in expl
36416 do :
36417   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36418 if test "x$ac_cv_func_expl" = x""yes; then :
36419   cat >>confdefs.h <<_ACEOF
36420 #define HAVE_EXPL 1
36421 _ACEOF
36422
36423 fi
36424 done
36425
36426   else
36427
36428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36429 $as_echo_n "checking for _expl declaration... " >&6; }
36430   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36431     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36432   $as_echo_n "(cached) " >&6
36433 else
36434
36435
36436       ac_ext=cpp
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36441
36442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36443 /* end confdefs.h.  */
36444 #include <math.h>
36445                       #ifdef HAVE_IEEEFP_H
36446                       #include <ieeefp.h>
36447                       #endif
36448
36449 int
36450 main ()
36451 {
36452  _expl(0);
36453   ;
36454   return 0;
36455 }
36456 _ACEOF
36457 if ac_fn_cxx_try_compile "$LINENO"; then :
36458   glibcxx_cv_func__expl_use=yes
36459 else
36460   glibcxx_cv_func__expl_use=no
36461 fi
36462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463       ac_ext=c
36464 ac_cpp='$CPP $CPPFLAGS'
36465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36468
36469
36470 fi
36471
36472   fi
36473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36474 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36475
36476     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36477       for ac_func in _expl
36478 do :
36479   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36480 if test "x$ac_cv_func__expl" = x""yes; then :
36481   cat >>confdefs.h <<_ACEOF
36482 #define HAVE__EXPL 1
36483 _ACEOF
36484
36485 fi
36486 done
36487
36488     fi
36489   fi
36490
36491
36492
36493
36494
36495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36496 $as_echo_n "checking for fabsl declaration... " >&6; }
36497   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36498     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36499   $as_echo_n "(cached) " >&6
36500 else
36501
36502
36503       ac_ext=cpp
36504 ac_cpp='$CXXCPP $CPPFLAGS'
36505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508
36509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36510 /* end confdefs.h.  */
36511 #include <math.h>
36512                       #ifdef HAVE_IEEEFP_H
36513                       #include <ieeefp.h>
36514                       #endif
36515
36516 int
36517 main ()
36518 {
36519  fabsl(0);
36520   ;
36521   return 0;
36522 }
36523 _ACEOF
36524 if ac_fn_cxx_try_compile "$LINENO"; then :
36525   glibcxx_cv_func_fabsl_use=yes
36526 else
36527   glibcxx_cv_func_fabsl_use=no
36528 fi
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36530       ac_ext=c
36531 ac_cpp='$CPP $CPPFLAGS'
36532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36535
36536
36537 fi
36538
36539   fi
36540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36541 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36542
36543   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36544     for ac_func in fabsl
36545 do :
36546   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36547 if test "x$ac_cv_func_fabsl" = x""yes; then :
36548   cat >>confdefs.h <<_ACEOF
36549 #define HAVE_FABSL 1
36550 _ACEOF
36551
36552 fi
36553 done
36554
36555   else
36556
36557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36558 $as_echo_n "checking for _fabsl declaration... " >&6; }
36559   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36560     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36561   $as_echo_n "(cached) " >&6
36562 else
36563
36564
36565       ac_ext=cpp
36566 ac_cpp='$CXXCPP $CPPFLAGS'
36567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36570
36571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36572 /* end confdefs.h.  */
36573 #include <math.h>
36574                       #ifdef HAVE_IEEEFP_H
36575                       #include <ieeefp.h>
36576                       #endif
36577
36578 int
36579 main ()
36580 {
36581  _fabsl(0);
36582   ;
36583   return 0;
36584 }
36585 _ACEOF
36586 if ac_fn_cxx_try_compile "$LINENO"; then :
36587   glibcxx_cv_func__fabsl_use=yes
36588 else
36589   glibcxx_cv_func__fabsl_use=no
36590 fi
36591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36592       ac_ext=c
36593 ac_cpp='$CPP $CPPFLAGS'
36594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36597
36598
36599 fi
36600
36601   fi
36602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36603 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36604
36605     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36606       for ac_func in _fabsl
36607 do :
36608   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36609 if test "x$ac_cv_func__fabsl" = x""yes; then :
36610   cat >>confdefs.h <<_ACEOF
36611 #define HAVE__FABSL 1
36612 _ACEOF
36613
36614 fi
36615 done
36616
36617     fi
36618   fi
36619
36620
36621
36622
36623
36624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36625 $as_echo_n "checking for fmodl declaration... " >&6; }
36626   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36627     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36628   $as_echo_n "(cached) " >&6
36629 else
36630
36631
36632       ac_ext=cpp
36633 ac_cpp='$CXXCPP $CPPFLAGS'
36634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637
36638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36639 /* end confdefs.h.  */
36640 #include <math.h>
36641 int
36642 main ()
36643 {
36644  fmodl(0, 0);
36645   ;
36646   return 0;
36647 }
36648 _ACEOF
36649 if ac_fn_cxx_try_compile "$LINENO"; then :
36650   glibcxx_cv_func_fmodl_use=yes
36651 else
36652   glibcxx_cv_func_fmodl_use=no
36653 fi
36654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655       ac_ext=c
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36660
36661
36662 fi
36663
36664   fi
36665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36666 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36667
36668   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36669     for ac_func in fmodl
36670 do :
36671   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36672 if test "x$ac_cv_func_fmodl" = x""yes; then :
36673   cat >>confdefs.h <<_ACEOF
36674 #define HAVE_FMODL 1
36675 _ACEOF
36676
36677 fi
36678 done
36679
36680   else
36681
36682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36683 $as_echo_n "checking for _fmodl declaration... " >&6; }
36684   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36685     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36686   $as_echo_n "(cached) " >&6
36687 else
36688
36689
36690       ac_ext=cpp
36691 ac_cpp='$CXXCPP $CPPFLAGS'
36692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36695
36696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36697 /* end confdefs.h.  */
36698 #include <math.h>
36699 int
36700 main ()
36701 {
36702  _fmodl(0, 0);
36703   ;
36704   return 0;
36705 }
36706 _ACEOF
36707 if ac_fn_cxx_try_compile "$LINENO"; then :
36708   glibcxx_cv_func__fmodl_use=yes
36709 else
36710   glibcxx_cv_func__fmodl_use=no
36711 fi
36712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36713       ac_ext=c
36714 ac_cpp='$CPP $CPPFLAGS'
36715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36718
36719
36720 fi
36721
36722   fi
36723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36724 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36725
36726     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36727       for ac_func in _fmodl
36728 do :
36729   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36730 if test "x$ac_cv_func__fmodl" = x""yes; then :
36731   cat >>confdefs.h <<_ACEOF
36732 #define HAVE__FMODL 1
36733 _ACEOF
36734
36735 fi
36736 done
36737
36738     fi
36739   fi
36740
36741
36742
36743
36744
36745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36746 $as_echo_n "checking for frexpl declaration... " >&6; }
36747   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36748     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36749   $as_echo_n "(cached) " >&6
36750 else
36751
36752
36753       ac_ext=cpp
36754 ac_cpp='$CXXCPP $CPPFLAGS'
36755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36758
36759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36760 /* end confdefs.h.  */
36761 #include <math.h>
36762 int
36763 main ()
36764 {
36765  frexpl(0, 0);
36766   ;
36767   return 0;
36768 }
36769 _ACEOF
36770 if ac_fn_cxx_try_compile "$LINENO"; then :
36771   glibcxx_cv_func_frexpl_use=yes
36772 else
36773   glibcxx_cv_func_frexpl_use=no
36774 fi
36775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36776       ac_ext=c
36777 ac_cpp='$CPP $CPPFLAGS'
36778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781
36782
36783 fi
36784
36785   fi
36786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36787 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36788
36789   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36790     for ac_func in frexpl
36791 do :
36792   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36793 if test "x$ac_cv_func_frexpl" = x""yes; then :
36794   cat >>confdefs.h <<_ACEOF
36795 #define HAVE_FREXPL 1
36796 _ACEOF
36797
36798 fi
36799 done
36800
36801   else
36802
36803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36804 $as_echo_n "checking for _frexpl declaration... " >&6; }
36805   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36806     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36807   $as_echo_n "(cached) " >&6
36808 else
36809
36810
36811       ac_ext=cpp
36812 ac_cpp='$CXXCPP $CPPFLAGS'
36813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36816
36817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36818 /* end confdefs.h.  */
36819 #include <math.h>
36820 int
36821 main ()
36822 {
36823  _frexpl(0, 0);
36824   ;
36825   return 0;
36826 }
36827 _ACEOF
36828 if ac_fn_cxx_try_compile "$LINENO"; then :
36829   glibcxx_cv_func__frexpl_use=yes
36830 else
36831   glibcxx_cv_func__frexpl_use=no
36832 fi
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834       ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839
36840
36841 fi
36842
36843   fi
36844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36845 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36846
36847     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36848       for ac_func in _frexpl
36849 do :
36850   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36851 if test "x$ac_cv_func__frexpl" = x""yes; then :
36852   cat >>confdefs.h <<_ACEOF
36853 #define HAVE__FREXPL 1
36854 _ACEOF
36855
36856 fi
36857 done
36858
36859     fi
36860   fi
36861
36862
36863
36864
36865
36866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36867 $as_echo_n "checking for hypotl declaration... " >&6; }
36868   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36869     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36870   $as_echo_n "(cached) " >&6
36871 else
36872
36873
36874       ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36879
36880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36881 /* end confdefs.h.  */
36882 #include <math.h>
36883 int
36884 main ()
36885 {
36886  hypotl(0, 0);
36887   ;
36888   return 0;
36889 }
36890 _ACEOF
36891 if ac_fn_cxx_try_compile "$LINENO"; then :
36892   glibcxx_cv_func_hypotl_use=yes
36893 else
36894   glibcxx_cv_func_hypotl_use=no
36895 fi
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36897       ac_ext=c
36898 ac_cpp='$CPP $CPPFLAGS'
36899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902
36903
36904 fi
36905
36906   fi
36907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36908 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36909
36910   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36911     for ac_func in hypotl
36912 do :
36913   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36914 if test "x$ac_cv_func_hypotl" = x""yes; then :
36915   cat >>confdefs.h <<_ACEOF
36916 #define HAVE_HYPOTL 1
36917 _ACEOF
36918
36919 fi
36920 done
36921
36922   else
36923
36924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36925 $as_echo_n "checking for _hypotl declaration... " >&6; }
36926   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36927     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36928   $as_echo_n "(cached) " >&6
36929 else
36930
36931
36932       ac_ext=cpp
36933 ac_cpp='$CXXCPP $CPPFLAGS'
36934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36937
36938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36939 /* end confdefs.h.  */
36940 #include <math.h>
36941 int
36942 main ()
36943 {
36944  _hypotl(0, 0);
36945   ;
36946   return 0;
36947 }
36948 _ACEOF
36949 if ac_fn_cxx_try_compile "$LINENO"; then :
36950   glibcxx_cv_func__hypotl_use=yes
36951 else
36952   glibcxx_cv_func__hypotl_use=no
36953 fi
36954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36955       ac_ext=c
36956 ac_cpp='$CPP $CPPFLAGS'
36957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36960
36961
36962 fi
36963
36964   fi
36965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36966 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36967
36968     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36969       for ac_func in _hypotl
36970 do :
36971   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36972 if test "x$ac_cv_func__hypotl" = x""yes; then :
36973   cat >>confdefs.h <<_ACEOF
36974 #define HAVE__HYPOTL 1
36975 _ACEOF
36976
36977 fi
36978 done
36979
36980     fi
36981   fi
36982
36983
36984
36985
36986
36987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36988 $as_echo_n "checking for ldexpl declaration... " >&6; }
36989   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36990     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36991   $as_echo_n "(cached) " >&6
36992 else
36993
36994
36995       ac_ext=cpp
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37000
37001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 /* end confdefs.h.  */
37003 #include <math.h>
37004 int
37005 main ()
37006 {
37007  ldexpl(0, 0);
37008   ;
37009   return 0;
37010 }
37011 _ACEOF
37012 if ac_fn_cxx_try_compile "$LINENO"; then :
37013   glibcxx_cv_func_ldexpl_use=yes
37014 else
37015   glibcxx_cv_func_ldexpl_use=no
37016 fi
37017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37018       ac_ext=c
37019 ac_cpp='$CPP $CPPFLAGS'
37020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37023
37024
37025 fi
37026
37027   fi
37028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37029 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37030
37031   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37032     for ac_func in ldexpl
37033 do :
37034   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37035 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37036   cat >>confdefs.h <<_ACEOF
37037 #define HAVE_LDEXPL 1
37038 _ACEOF
37039
37040 fi
37041 done
37042
37043   else
37044
37045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37046 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37047   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37048     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37049   $as_echo_n "(cached) " >&6
37050 else
37051
37052
37053       ac_ext=cpp
37054 ac_cpp='$CXXCPP $CPPFLAGS'
37055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37058
37059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37060 /* end confdefs.h.  */
37061 #include <math.h>
37062 int
37063 main ()
37064 {
37065  _ldexpl(0, 0);
37066   ;
37067   return 0;
37068 }
37069 _ACEOF
37070 if ac_fn_cxx_try_compile "$LINENO"; then :
37071   glibcxx_cv_func__ldexpl_use=yes
37072 else
37073   glibcxx_cv_func__ldexpl_use=no
37074 fi
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076       ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081
37082
37083 fi
37084
37085   fi
37086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37087 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37088
37089     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37090       for ac_func in _ldexpl
37091 do :
37092   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37093 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37094   cat >>confdefs.h <<_ACEOF
37095 #define HAVE__LDEXPL 1
37096 _ACEOF
37097
37098 fi
37099 done
37100
37101     fi
37102   fi
37103
37104
37105
37106
37107
37108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37109 $as_echo_n "checking for logl declaration... " >&6; }
37110   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37111     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37112   $as_echo_n "(cached) " >&6
37113 else
37114
37115
37116       ac_ext=cpp
37117 ac_cpp='$CXXCPP $CPPFLAGS'
37118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121
37122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37123 /* end confdefs.h.  */
37124 #include <math.h>
37125                       #ifdef HAVE_IEEEFP_H
37126                       #include <ieeefp.h>
37127                       #endif
37128
37129 int
37130 main ()
37131 {
37132  logl(0);
37133   ;
37134   return 0;
37135 }
37136 _ACEOF
37137 if ac_fn_cxx_try_compile "$LINENO"; then :
37138   glibcxx_cv_func_logl_use=yes
37139 else
37140   glibcxx_cv_func_logl_use=no
37141 fi
37142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37143       ac_ext=c
37144 ac_cpp='$CPP $CPPFLAGS'
37145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37148
37149
37150 fi
37151
37152   fi
37153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37154 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37155
37156   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37157     for ac_func in logl
37158 do :
37159   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37160 if test "x$ac_cv_func_logl" = x""yes; then :
37161   cat >>confdefs.h <<_ACEOF
37162 #define HAVE_LOGL 1
37163 _ACEOF
37164
37165 fi
37166 done
37167
37168   else
37169
37170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37171 $as_echo_n "checking for _logl declaration... " >&6; }
37172   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37173     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37174   $as_echo_n "(cached) " >&6
37175 else
37176
37177
37178       ac_ext=cpp
37179 ac_cpp='$CXXCPP $CPPFLAGS'
37180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37183
37184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37185 /* end confdefs.h.  */
37186 #include <math.h>
37187                       #ifdef HAVE_IEEEFP_H
37188                       #include <ieeefp.h>
37189                       #endif
37190
37191 int
37192 main ()
37193 {
37194  _logl(0);
37195   ;
37196   return 0;
37197 }
37198 _ACEOF
37199 if ac_fn_cxx_try_compile "$LINENO"; then :
37200   glibcxx_cv_func__logl_use=yes
37201 else
37202   glibcxx_cv_func__logl_use=no
37203 fi
37204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37205       ac_ext=c
37206 ac_cpp='$CPP $CPPFLAGS'
37207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37210
37211
37212 fi
37213
37214   fi
37215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37216 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37217
37218     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37219       for ac_func in _logl
37220 do :
37221   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37222 if test "x$ac_cv_func__logl" = x""yes; then :
37223   cat >>confdefs.h <<_ACEOF
37224 #define HAVE__LOGL 1
37225 _ACEOF
37226
37227 fi
37228 done
37229
37230     fi
37231   fi
37232
37233
37234
37235
37236
37237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37238 $as_echo_n "checking for log10l declaration... " >&6; }
37239   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37240     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37241   $as_echo_n "(cached) " >&6
37242 else
37243
37244
37245       ac_ext=cpp
37246 ac_cpp='$CXXCPP $CPPFLAGS'
37247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250
37251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37252 /* end confdefs.h.  */
37253 #include <math.h>
37254                       #ifdef HAVE_IEEEFP_H
37255                       #include <ieeefp.h>
37256                       #endif
37257
37258 int
37259 main ()
37260 {
37261  log10l(0);
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 if ac_fn_cxx_try_compile "$LINENO"; then :
37267   glibcxx_cv_func_log10l_use=yes
37268 else
37269   glibcxx_cv_func_log10l_use=no
37270 fi
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37272       ac_ext=c
37273 ac_cpp='$CPP $CPPFLAGS'
37274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37277
37278
37279 fi
37280
37281   fi
37282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37283 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37284
37285   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37286     for ac_func in log10l
37287 do :
37288   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37289 if test "x$ac_cv_func_log10l" = x""yes; then :
37290   cat >>confdefs.h <<_ACEOF
37291 #define HAVE_LOG10L 1
37292 _ACEOF
37293
37294 fi
37295 done
37296
37297   else
37298
37299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37300 $as_echo_n "checking for _log10l declaration... " >&6; }
37301   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37302     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37303   $as_echo_n "(cached) " >&6
37304 else
37305
37306
37307       ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37312
37313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h.  */
37315 #include <math.h>
37316                       #ifdef HAVE_IEEEFP_H
37317                       #include <ieeefp.h>
37318                       #endif
37319
37320 int
37321 main ()
37322 {
37323  _log10l(0);
37324   ;
37325   return 0;
37326 }
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329   glibcxx_cv_func__log10l_use=yes
37330 else
37331   glibcxx_cv_func__log10l_use=no
37332 fi
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334       ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37339
37340
37341 fi
37342
37343   fi
37344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37345 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37346
37347     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37348       for ac_func in _log10l
37349 do :
37350   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37351 if test "x$ac_cv_func__log10l" = x""yes; then :
37352   cat >>confdefs.h <<_ACEOF
37353 #define HAVE__LOG10L 1
37354 _ACEOF
37355
37356 fi
37357 done
37358
37359     fi
37360   fi
37361
37362
37363
37364
37365
37366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37367 $as_echo_n "checking for modfl declaration... " >&6; }
37368   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37369     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37370   $as_echo_n "(cached) " >&6
37371 else
37372
37373
37374       ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379
37380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37381 /* end confdefs.h.  */
37382 #include <math.h>
37383 int
37384 main ()
37385 {
37386  modfl(0, 0);
37387   ;
37388   return 0;
37389 }
37390 _ACEOF
37391 if ac_fn_cxx_try_compile "$LINENO"; then :
37392   glibcxx_cv_func_modfl_use=yes
37393 else
37394   glibcxx_cv_func_modfl_use=no
37395 fi
37396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37397       ac_ext=c
37398 ac_cpp='$CPP $CPPFLAGS'
37399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37402
37403
37404 fi
37405
37406   fi
37407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37408 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37409
37410   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37411     for ac_func in modfl
37412 do :
37413   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37414 if test "x$ac_cv_func_modfl" = x""yes; then :
37415   cat >>confdefs.h <<_ACEOF
37416 #define HAVE_MODFL 1
37417 _ACEOF
37418
37419 fi
37420 done
37421
37422   else
37423
37424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37425 $as_echo_n "checking for _modfl declaration... " >&6; }
37426   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37427     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37428   $as_echo_n "(cached) " >&6
37429 else
37430
37431
37432       ac_ext=cpp
37433 ac_cpp='$CXXCPP $CPPFLAGS'
37434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37437
37438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37439 /* end confdefs.h.  */
37440 #include <math.h>
37441 int
37442 main ()
37443 {
37444  _modfl(0, 0);
37445   ;
37446   return 0;
37447 }
37448 _ACEOF
37449 if ac_fn_cxx_try_compile "$LINENO"; then :
37450   glibcxx_cv_func__modfl_use=yes
37451 else
37452   glibcxx_cv_func__modfl_use=no
37453 fi
37454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37455       ac_ext=c
37456 ac_cpp='$CPP $CPPFLAGS'
37457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37460
37461
37462 fi
37463
37464   fi
37465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37466 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37467
37468     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37469       for ac_func in _modfl
37470 do :
37471   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37472 if test "x$ac_cv_func__modfl" = x""yes; then :
37473   cat >>confdefs.h <<_ACEOF
37474 #define HAVE__MODFL 1
37475 _ACEOF
37476
37477 fi
37478 done
37479
37480     fi
37481   fi
37482
37483
37484
37485
37486
37487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37488 $as_echo_n "checking for powl declaration... " >&6; }
37489   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37490     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37491   $as_echo_n "(cached) " >&6
37492 else
37493
37494
37495       ac_ext=cpp
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37500
37501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37502 /* end confdefs.h.  */
37503 #include <math.h>
37504 int
37505 main ()
37506 {
37507  powl(0, 0);
37508   ;
37509   return 0;
37510 }
37511 _ACEOF
37512 if ac_fn_cxx_try_compile "$LINENO"; then :
37513   glibcxx_cv_func_powl_use=yes
37514 else
37515   glibcxx_cv_func_powl_use=no
37516 fi
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518       ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37523
37524
37525 fi
37526
37527   fi
37528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37529 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37530
37531   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37532     for ac_func in powl
37533 do :
37534   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37535 if test "x$ac_cv_func_powl" = x""yes; then :
37536   cat >>confdefs.h <<_ACEOF
37537 #define HAVE_POWL 1
37538 _ACEOF
37539
37540 fi
37541 done
37542
37543   else
37544
37545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37546 $as_echo_n "checking for _powl declaration... " >&6; }
37547   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37548     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37549   $as_echo_n "(cached) " >&6
37550 else
37551
37552
37553       ac_ext=cpp
37554 ac_cpp='$CXXCPP $CPPFLAGS'
37555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37558
37559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37560 /* end confdefs.h.  */
37561 #include <math.h>
37562 int
37563 main ()
37564 {
37565  _powl(0, 0);
37566   ;
37567   return 0;
37568 }
37569 _ACEOF
37570 if ac_fn_cxx_try_compile "$LINENO"; then :
37571   glibcxx_cv_func__powl_use=yes
37572 else
37573   glibcxx_cv_func__powl_use=no
37574 fi
37575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37576       ac_ext=c
37577 ac_cpp='$CPP $CPPFLAGS'
37578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581
37582
37583 fi
37584
37585   fi
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37587 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37588
37589     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37590       for ac_func in _powl
37591 do :
37592   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37593 if test "x$ac_cv_func__powl" = x""yes; then :
37594   cat >>confdefs.h <<_ACEOF
37595 #define HAVE__POWL 1
37596 _ACEOF
37597
37598 fi
37599 done
37600
37601     fi
37602   fi
37603
37604
37605
37606
37607
37608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37609 $as_echo_n "checking for sqrtl declaration... " >&6; }
37610   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37611     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37612   $as_echo_n "(cached) " >&6
37613 else
37614
37615
37616       ac_ext=cpp
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37621
37622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37623 /* end confdefs.h.  */
37624 #include <math.h>
37625                       #ifdef HAVE_IEEEFP_H
37626                       #include <ieeefp.h>
37627                       #endif
37628
37629 int
37630 main ()
37631 {
37632  sqrtl(0);
37633   ;
37634   return 0;
37635 }
37636 _ACEOF
37637 if ac_fn_cxx_try_compile "$LINENO"; then :
37638   glibcxx_cv_func_sqrtl_use=yes
37639 else
37640   glibcxx_cv_func_sqrtl_use=no
37641 fi
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643       ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37648
37649
37650 fi
37651
37652   fi
37653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37654 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37655
37656   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37657     for ac_func in sqrtl
37658 do :
37659   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37660 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37661   cat >>confdefs.h <<_ACEOF
37662 #define HAVE_SQRTL 1
37663 _ACEOF
37664
37665 fi
37666 done
37667
37668   else
37669
37670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37671 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37672   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37673     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37674   $as_echo_n "(cached) " >&6
37675 else
37676
37677
37678       ac_ext=cpp
37679 ac_cpp='$CXXCPP $CPPFLAGS'
37680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37683
37684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37685 /* end confdefs.h.  */
37686 #include <math.h>
37687                       #ifdef HAVE_IEEEFP_H
37688                       #include <ieeefp.h>
37689                       #endif
37690
37691 int
37692 main ()
37693 {
37694  _sqrtl(0);
37695   ;
37696   return 0;
37697 }
37698 _ACEOF
37699 if ac_fn_cxx_try_compile "$LINENO"; then :
37700   glibcxx_cv_func__sqrtl_use=yes
37701 else
37702   glibcxx_cv_func__sqrtl_use=no
37703 fi
37704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37705       ac_ext=c
37706 ac_cpp='$CPP $CPPFLAGS'
37707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710
37711
37712 fi
37713
37714   fi
37715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37716 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37717
37718     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37719       for ac_func in _sqrtl
37720 do :
37721   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37722 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37723   cat >>confdefs.h <<_ACEOF
37724 #define HAVE__SQRTL 1
37725 _ACEOF
37726
37727 fi
37728 done
37729
37730     fi
37731   fi
37732
37733
37734
37735
37736
37737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37738 $as_echo_n "checking for sincosl declaration... " >&6; }
37739   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37740     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37741   $as_echo_n "(cached) " >&6
37742 else
37743
37744
37745       ac_ext=cpp
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37750
37751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37752 /* end confdefs.h.  */
37753 #include <math.h>
37754 int
37755 main ()
37756 {
37757  sincosl(0, 0, 0);
37758   ;
37759   return 0;
37760 }
37761 _ACEOF
37762 if ac_fn_cxx_try_compile "$LINENO"; then :
37763   glibcxx_cv_func_sincosl_use=yes
37764 else
37765   glibcxx_cv_func_sincosl_use=no
37766 fi
37767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37768       ac_ext=c
37769 ac_cpp='$CPP $CPPFLAGS'
37770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37773
37774
37775 fi
37776
37777   fi
37778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37779 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37780
37781   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37782     for ac_func in sincosl
37783 do :
37784   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37785 if test "x$ac_cv_func_sincosl" = x""yes; then :
37786   cat >>confdefs.h <<_ACEOF
37787 #define HAVE_SINCOSL 1
37788 _ACEOF
37789
37790 fi
37791 done
37792
37793   else
37794
37795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37796 $as_echo_n "checking for _sincosl declaration... " >&6; }
37797   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37798     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37799   $as_echo_n "(cached) " >&6
37800 else
37801
37802
37803       ac_ext=cpp
37804 ac_cpp='$CXXCPP $CPPFLAGS'
37805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37808
37809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37810 /* end confdefs.h.  */
37811 #include <math.h>
37812 int
37813 main ()
37814 {
37815  _sincosl(0, 0, 0);
37816   ;
37817   return 0;
37818 }
37819 _ACEOF
37820 if ac_fn_cxx_try_compile "$LINENO"; then :
37821   glibcxx_cv_func__sincosl_use=yes
37822 else
37823   glibcxx_cv_func__sincosl_use=no
37824 fi
37825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37826       ac_ext=c
37827 ac_cpp='$CPP $CPPFLAGS'
37828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37831
37832
37833 fi
37834
37835   fi
37836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37837 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37838
37839     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37840       for ac_func in _sincosl
37841 do :
37842   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37843 if test "x$ac_cv_func__sincosl" = x""yes; then :
37844   cat >>confdefs.h <<_ACEOF
37845 #define HAVE__SINCOSL 1
37846 _ACEOF
37847
37848 fi
37849 done
37850
37851     fi
37852   fi
37853
37854
37855
37856
37857
37858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37859 $as_echo_n "checking for finitel declaration... " >&6; }
37860   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37861     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37862   $as_echo_n "(cached) " >&6
37863 else
37864
37865
37866       ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37871
37872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h.  */
37874 #include <math.h>
37875                       #ifdef HAVE_IEEEFP_H
37876                       #include <ieeefp.h>
37877                       #endif
37878
37879 int
37880 main ()
37881 {
37882  finitel(0);
37883   ;
37884   return 0;
37885 }
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888   glibcxx_cv_func_finitel_use=yes
37889 else
37890   glibcxx_cv_func_finitel_use=no
37891 fi
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893       ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37898
37899
37900 fi
37901
37902   fi
37903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37904 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37905
37906   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37907     for ac_func in finitel
37908 do :
37909   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37910 if test "x$ac_cv_func_finitel" = x""yes; then :
37911   cat >>confdefs.h <<_ACEOF
37912 #define HAVE_FINITEL 1
37913 _ACEOF
37914
37915 fi
37916 done
37917
37918   else
37919
37920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37921 $as_echo_n "checking for _finitel declaration... " >&6; }
37922   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37923     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37924   $as_echo_n "(cached) " >&6
37925 else
37926
37927
37928       ac_ext=cpp
37929 ac_cpp='$CXXCPP $CPPFLAGS'
37930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37933
37934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37935 /* end confdefs.h.  */
37936 #include <math.h>
37937                       #ifdef HAVE_IEEEFP_H
37938                       #include <ieeefp.h>
37939                       #endif
37940
37941 int
37942 main ()
37943 {
37944  _finitel(0);
37945   ;
37946   return 0;
37947 }
37948 _ACEOF
37949 if ac_fn_cxx_try_compile "$LINENO"; then :
37950   glibcxx_cv_func__finitel_use=yes
37951 else
37952   glibcxx_cv_func__finitel_use=no
37953 fi
37954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37955       ac_ext=c
37956 ac_cpp='$CPP $CPPFLAGS'
37957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37960
37961
37962 fi
37963
37964   fi
37965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37966 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37967
37968     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37969       for ac_func in _finitel
37970 do :
37971   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37972 if test "x$ac_cv_func__finitel" = x""yes; then :
37973   cat >>confdefs.h <<_ACEOF
37974 #define HAVE__FINITEL 1
37975 _ACEOF
37976
37977 fi
37978 done
37979
37980     fi
37981   fi
37982
37983
37984
37985
37986   LIBS="$ac_save_LIBS"
37987   CXXFLAGS="$ac_save_CXXFLAGS"
37988
37989
37990   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37991   ac_save_CXXFLAGS="$CXXFLAGS"
37992   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37993
37994
37995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37996 $as_echo_n "checking for strtold declaration... " >&6; }
37997   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37998     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37999   $as_echo_n "(cached) " >&6
38000 else
38001
38002
38003       ac_ext=cpp
38004 ac_cpp='$CXXCPP $CPPFLAGS'
38005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38008
38009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38010 /* end confdefs.h.  */
38011 #include <stdlib.h>
38012 int
38013 main ()
38014 {
38015  strtold(0, 0);
38016   ;
38017   return 0;
38018 }
38019 _ACEOF
38020 if ac_fn_cxx_try_compile "$LINENO"; then :
38021   glibcxx_cv_func_strtold_use=yes
38022 else
38023   glibcxx_cv_func_strtold_use=no
38024 fi
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38026       ac_ext=c
38027 ac_cpp='$CPP $CPPFLAGS'
38028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38031
38032
38033 fi
38034
38035   fi
38036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38037 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38038   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38039     for ac_func in strtold
38040 do :
38041   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38042 if test "x$ac_cv_func_strtold" = x""yes; then :
38043   cat >>confdefs.h <<_ACEOF
38044 #define HAVE_STRTOLD 1
38045 _ACEOF
38046
38047 fi
38048 done
38049
38050   fi
38051
38052
38053
38054
38055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38056 $as_echo_n "checking for strtof declaration... " >&6; }
38057   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38058     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38059   $as_echo_n "(cached) " >&6
38060 else
38061
38062
38063       ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068
38069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070 /* end confdefs.h.  */
38071 #include <stdlib.h>
38072 int
38073 main ()
38074 {
38075  strtof(0, 0);
38076   ;
38077   return 0;
38078 }
38079 _ACEOF
38080 if ac_fn_cxx_try_compile "$LINENO"; then :
38081   glibcxx_cv_func_strtof_use=yes
38082 else
38083   glibcxx_cv_func_strtof_use=no
38084 fi
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086       ac_ext=c
38087 ac_cpp='$CPP $CPPFLAGS'
38088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38091
38092
38093 fi
38094
38095   fi
38096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38097 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38098   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38099     for ac_func in strtof
38100 do :
38101   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38102 if test "x$ac_cv_func_strtof" = x""yes; then :
38103   cat >>confdefs.h <<_ACEOF
38104 #define HAVE_STRTOF 1
38105 _ACEOF
38106
38107 fi
38108 done
38109
38110   fi
38111
38112
38113
38114
38115   CXXFLAGS="$ac_save_CXXFLAGS"
38116
38117     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38118
38119     # We don't yet support AIX's TLS ABI.
38120     #GCC_CHECK_TLS
38121
38122
38123
38124
38125
38126           am_save_CPPFLAGS="$CPPFLAGS"
38127
38128   for element in $INCICONV; do
38129     haveit=
38130     for x in $CPPFLAGS; do
38131
38132   acl_save_prefix="$prefix"
38133   prefix="$acl_final_prefix"
38134   acl_save_exec_prefix="$exec_prefix"
38135   exec_prefix="$acl_final_exec_prefix"
38136   eval x=\"$x\"
38137   exec_prefix="$acl_save_exec_prefix"
38138   prefix="$acl_save_prefix"
38139
38140       if test "X$x" = "X$element"; then
38141         haveit=yes
38142         break
38143       fi
38144     done
38145     if test -z "$haveit"; then
38146       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38147     fi
38148   done
38149
38150
38151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38152 $as_echo_n "checking for iconv... " >&6; }
38153 if test "${am_cv_func_iconv+set}" = set; then :
38154   $as_echo_n "(cached) " >&6
38155 else
38156
38157     am_cv_func_iconv="no, consider installing GNU libiconv"
38158     am_cv_lib_iconv=no
38159     if test x$gcc_no_link = xyes; then
38160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38161 fi
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h.  */
38164 #include <stdlib.h>
38165 #include <iconv.h>
38166 int
38167 main ()
38168 {
38169 iconv_t cd = iconv_open("","");
38170        iconv(cd,NULL,NULL,NULL,NULL);
38171        iconv_close(cd);
38172   ;
38173   return 0;
38174 }
38175 _ACEOF
38176 if ac_fn_c_try_link "$LINENO"; then :
38177   am_cv_func_iconv=yes
38178 fi
38179 rm -f core conftest.err conftest.$ac_objext \
38180     conftest$ac_exeext conftest.$ac_ext
38181     if test "$am_cv_func_iconv" != yes; then
38182       am_save_LIBS="$LIBS"
38183       LIBS="$LIBS $LIBICONV"
38184       if test x$gcc_no_link = xyes; then
38185   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38186 fi
38187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h.  */
38189 #include <stdlib.h>
38190 #include <iconv.h>
38191 int
38192 main ()
38193 {
38194 iconv_t cd = iconv_open("","");
38195          iconv(cd,NULL,NULL,NULL,NULL);
38196          iconv_close(cd);
38197   ;
38198   return 0;
38199 }
38200 _ACEOF
38201 if ac_fn_c_try_link "$LINENO"; then :
38202   am_cv_lib_iconv=yes
38203         am_cv_func_iconv=yes
38204 fi
38205 rm -f core conftest.err conftest.$ac_objext \
38206     conftest$ac_exeext conftest.$ac_ext
38207       LIBS="$am_save_LIBS"
38208     fi
38209
38210 fi
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38212 $as_echo "$am_cv_func_iconv" >&6; }
38213   if test "$am_cv_func_iconv" = yes; then
38214
38215 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38216
38217   fi
38218   if test "$am_cv_lib_iconv" = yes; then
38219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38220 $as_echo_n "checking how to link with libiconv... " >&6; }
38221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38222 $as_echo "$LIBICONV" >&6; }
38223   else
38224             CPPFLAGS="$am_save_CPPFLAGS"
38225     LIBICONV=
38226     LTLIBICONV=
38227   fi
38228
38229
38230
38231   if test "$am_cv_func_iconv" = yes; then
38232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38233 $as_echo_n "checking for iconv declaration... " >&6; }
38234     if test "${am_cv_proto_iconv+set}" = set; then :
38235   $as_echo_n "(cached) " >&6
38236 else
38237
38238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38239 /* end confdefs.h.  */
38240
38241 #include <stdlib.h>
38242 #include <iconv.h>
38243 extern
38244 #ifdef __cplusplus
38245 "C"
38246 #endif
38247 #if defined(__STDC__) || defined(__cplusplus)
38248 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38249 #else
38250 size_t iconv();
38251 #endif
38252
38253 int
38254 main ()
38255 {
38256
38257   ;
38258   return 0;
38259 }
38260 _ACEOF
38261 if ac_fn_c_try_compile "$LINENO"; then :
38262   am_cv_proto_iconv_arg1=""
38263 else
38264   am_cv_proto_iconv_arg1="const"
38265 fi
38266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38267       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
38268 fi
38269
38270     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38272          }$am_cv_proto_iconv" >&5
38273 $as_echo "${ac_t:-
38274          }$am_cv_proto_iconv" >&6; }
38275
38276 cat >>confdefs.h <<_ACEOF
38277 #define ICONV_CONST $am_cv_proto_iconv_arg1
38278 _ACEOF
38279
38280   fi
38281
38282     ;;
38283
38284   *-darwin*)
38285     # Darwin versions vary, but the linker should work in a cross environment,
38286     # so we just check for all the features here.
38287     # Check for available headers.
38288
38289     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38290
38291   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38292   ac_save_CXXFLAGS="$CXXFLAGS"
38293   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38294
38295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38296 $as_echo_n "checking for sin in -lm... " >&6; }
38297 if test "${ac_cv_lib_m_sin+set}" = set; then :
38298   $as_echo_n "(cached) " >&6
38299 else
38300   ac_check_lib_save_LIBS=$LIBS
38301 LIBS="-lm  $LIBS"
38302 if test x$gcc_no_link = xyes; then
38303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38304 fi
38305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38306 /* end confdefs.h.  */
38307
38308 /* Override any GCC internal prototype to avoid an error.
38309    Use char because int might match the return type of a GCC
38310    builtin and then its argument prototype would still apply.  */
38311 #ifdef __cplusplus
38312 extern "C"
38313 #endif
38314 char sin ();
38315 int
38316 main ()
38317 {
38318 return sin ();
38319   ;
38320   return 0;
38321 }
38322 _ACEOF
38323 if ac_fn_c_try_link "$LINENO"; then :
38324   ac_cv_lib_m_sin=yes
38325 else
38326   ac_cv_lib_m_sin=no
38327 fi
38328 rm -f core conftest.err conftest.$ac_objext \
38329     conftest$ac_exeext conftest.$ac_ext
38330 LIBS=$ac_check_lib_save_LIBS
38331 fi
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38333 $as_echo "$ac_cv_lib_m_sin" >&6; }
38334 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38335   libm="-lm"
38336 fi
38337
38338   ac_save_LIBS="$LIBS"
38339   LIBS="$LIBS $libm"
38340
38341
38342
38343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38344 $as_echo_n "checking for isinf declaration... " >&6; }
38345   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38346     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38347   $as_echo_n "(cached) " >&6
38348 else
38349
38350
38351       ac_ext=cpp
38352 ac_cpp='$CXXCPP $CPPFLAGS'
38353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38356
38357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38358 /* end confdefs.h.  */
38359 #include <math.h>
38360                       #ifdef HAVE_IEEEFP_H
38361                       #include <ieeefp.h>
38362                       #endif
38363
38364 int
38365 main ()
38366 {
38367  isinf(0);
38368   ;
38369   return 0;
38370 }
38371 _ACEOF
38372 if ac_fn_cxx_try_compile "$LINENO"; then :
38373   glibcxx_cv_func_isinf_use=yes
38374 else
38375   glibcxx_cv_func_isinf_use=no
38376 fi
38377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38378       ac_ext=c
38379 ac_cpp='$CPP $CPPFLAGS'
38380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38383
38384
38385 fi
38386
38387   fi
38388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38389 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38390
38391   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38392     for ac_func in isinf
38393 do :
38394   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38395 if test "x$ac_cv_func_isinf" = x""yes; then :
38396   cat >>confdefs.h <<_ACEOF
38397 #define HAVE_ISINF 1
38398 _ACEOF
38399
38400 fi
38401 done
38402
38403   else
38404
38405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38406 $as_echo_n "checking for _isinf declaration... " >&6; }
38407   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38408     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38409   $as_echo_n "(cached) " >&6
38410 else
38411
38412
38413       ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38418
38419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h.  */
38421 #include <math.h>
38422                       #ifdef HAVE_IEEEFP_H
38423                       #include <ieeefp.h>
38424                       #endif
38425
38426 int
38427 main ()
38428 {
38429  _isinf(0);
38430   ;
38431   return 0;
38432 }
38433 _ACEOF
38434 if ac_fn_cxx_try_compile "$LINENO"; then :
38435   glibcxx_cv_func__isinf_use=yes
38436 else
38437   glibcxx_cv_func__isinf_use=no
38438 fi
38439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38440       ac_ext=c
38441 ac_cpp='$CPP $CPPFLAGS'
38442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38445
38446
38447 fi
38448
38449   fi
38450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38451 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38452
38453     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38454       for ac_func in _isinf
38455 do :
38456   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38457 if test "x$ac_cv_func__isinf" = x""yes; then :
38458   cat >>confdefs.h <<_ACEOF
38459 #define HAVE__ISINF 1
38460 _ACEOF
38461
38462 fi
38463 done
38464
38465     fi
38466   fi
38467
38468
38469
38470
38471
38472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38473 $as_echo_n "checking for isnan declaration... " >&6; }
38474   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38475     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38476   $as_echo_n "(cached) " >&6
38477 else
38478
38479
38480       ac_ext=cpp
38481 ac_cpp='$CXXCPP $CPPFLAGS'
38482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38485
38486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38487 /* end confdefs.h.  */
38488 #include <math.h>
38489                       #ifdef HAVE_IEEEFP_H
38490                       #include <ieeefp.h>
38491                       #endif
38492
38493 int
38494 main ()
38495 {
38496  isnan(0);
38497   ;
38498   return 0;
38499 }
38500 _ACEOF
38501 if ac_fn_cxx_try_compile "$LINENO"; then :
38502   glibcxx_cv_func_isnan_use=yes
38503 else
38504   glibcxx_cv_func_isnan_use=no
38505 fi
38506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38507       ac_ext=c
38508 ac_cpp='$CPP $CPPFLAGS'
38509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38512
38513
38514 fi
38515
38516   fi
38517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38518 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38519
38520   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38521     for ac_func in isnan
38522 do :
38523   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38524 if test "x$ac_cv_func_isnan" = x""yes; then :
38525   cat >>confdefs.h <<_ACEOF
38526 #define HAVE_ISNAN 1
38527 _ACEOF
38528
38529 fi
38530 done
38531
38532   else
38533
38534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38535 $as_echo_n "checking for _isnan declaration... " >&6; }
38536   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38537     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38538   $as_echo_n "(cached) " >&6
38539 else
38540
38541
38542       ac_ext=cpp
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38547
38548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38549 /* end confdefs.h.  */
38550 #include <math.h>
38551                       #ifdef HAVE_IEEEFP_H
38552                       #include <ieeefp.h>
38553                       #endif
38554
38555 int
38556 main ()
38557 {
38558  _isnan(0);
38559   ;
38560   return 0;
38561 }
38562 _ACEOF
38563 if ac_fn_cxx_try_compile "$LINENO"; then :
38564   glibcxx_cv_func__isnan_use=yes
38565 else
38566   glibcxx_cv_func__isnan_use=no
38567 fi
38568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38569       ac_ext=c
38570 ac_cpp='$CPP $CPPFLAGS'
38571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38574
38575
38576 fi
38577
38578   fi
38579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38580 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38581
38582     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38583       for ac_func in _isnan
38584 do :
38585   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38586 if test "x$ac_cv_func__isnan" = x""yes; then :
38587   cat >>confdefs.h <<_ACEOF
38588 #define HAVE__ISNAN 1
38589 _ACEOF
38590
38591 fi
38592 done
38593
38594     fi
38595   fi
38596
38597
38598
38599
38600
38601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38602 $as_echo_n "checking for finite declaration... " >&6; }
38603   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38604     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38605   $as_echo_n "(cached) " >&6
38606 else
38607
38608
38609       ac_ext=cpp
38610 ac_cpp='$CXXCPP $CPPFLAGS'
38611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38614
38615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38616 /* end confdefs.h.  */
38617 #include <math.h>
38618                       #ifdef HAVE_IEEEFP_H
38619                       #include <ieeefp.h>
38620                       #endif
38621
38622 int
38623 main ()
38624 {
38625  finite(0);
38626   ;
38627   return 0;
38628 }
38629 _ACEOF
38630 if ac_fn_cxx_try_compile "$LINENO"; then :
38631   glibcxx_cv_func_finite_use=yes
38632 else
38633   glibcxx_cv_func_finite_use=no
38634 fi
38635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38636       ac_ext=c
38637 ac_cpp='$CPP $CPPFLAGS'
38638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38641
38642
38643 fi
38644
38645   fi
38646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38647 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38648
38649   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38650     for ac_func in finite
38651 do :
38652   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38653 if test "x$ac_cv_func_finite" = x""yes; then :
38654   cat >>confdefs.h <<_ACEOF
38655 #define HAVE_FINITE 1
38656 _ACEOF
38657
38658 fi
38659 done
38660
38661   else
38662
38663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38664 $as_echo_n "checking for _finite declaration... " >&6; }
38665   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38666     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38667   $as_echo_n "(cached) " >&6
38668 else
38669
38670
38671       ac_ext=cpp
38672 ac_cpp='$CXXCPP $CPPFLAGS'
38673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38676
38677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38678 /* end confdefs.h.  */
38679 #include <math.h>
38680                       #ifdef HAVE_IEEEFP_H
38681                       #include <ieeefp.h>
38682                       #endif
38683
38684 int
38685 main ()
38686 {
38687  _finite(0);
38688   ;
38689   return 0;
38690 }
38691 _ACEOF
38692 if ac_fn_cxx_try_compile "$LINENO"; then :
38693   glibcxx_cv_func__finite_use=yes
38694 else
38695   glibcxx_cv_func__finite_use=no
38696 fi
38697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38698       ac_ext=c
38699 ac_cpp='$CPP $CPPFLAGS'
38700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38703
38704
38705 fi
38706
38707   fi
38708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38709 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38710
38711     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38712       for ac_func in _finite
38713 do :
38714   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38715 if test "x$ac_cv_func__finite" = x""yes; then :
38716   cat >>confdefs.h <<_ACEOF
38717 #define HAVE__FINITE 1
38718 _ACEOF
38719
38720 fi
38721 done
38722
38723     fi
38724   fi
38725
38726
38727
38728
38729
38730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38731 $as_echo_n "checking for sincos declaration... " >&6; }
38732   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38733     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38734   $as_echo_n "(cached) " >&6
38735 else
38736
38737
38738       ac_ext=cpp
38739 ac_cpp='$CXXCPP $CPPFLAGS'
38740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38743
38744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38745 /* end confdefs.h.  */
38746 #include <math.h>
38747 int
38748 main ()
38749 {
38750  sincos(0, 0, 0);
38751   ;
38752   return 0;
38753 }
38754 _ACEOF
38755 if ac_fn_cxx_try_compile "$LINENO"; then :
38756   glibcxx_cv_func_sincos_use=yes
38757 else
38758   glibcxx_cv_func_sincos_use=no
38759 fi
38760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38761       ac_ext=c
38762 ac_cpp='$CPP $CPPFLAGS'
38763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38766
38767
38768 fi
38769
38770   fi
38771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38772 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38773
38774   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38775     for ac_func in sincos
38776 do :
38777   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38778 if test "x$ac_cv_func_sincos" = x""yes; then :
38779   cat >>confdefs.h <<_ACEOF
38780 #define HAVE_SINCOS 1
38781 _ACEOF
38782
38783 fi
38784 done
38785
38786   else
38787
38788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38789 $as_echo_n "checking for _sincos declaration... " >&6; }
38790   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38791     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38792   $as_echo_n "(cached) " >&6
38793 else
38794
38795
38796       ac_ext=cpp
38797 ac_cpp='$CXXCPP $CPPFLAGS'
38798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38801
38802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38803 /* end confdefs.h.  */
38804 #include <math.h>
38805 int
38806 main ()
38807 {
38808  _sincos(0, 0, 0);
38809   ;
38810   return 0;
38811 }
38812 _ACEOF
38813 if ac_fn_cxx_try_compile "$LINENO"; then :
38814   glibcxx_cv_func__sincos_use=yes
38815 else
38816   glibcxx_cv_func__sincos_use=no
38817 fi
38818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38819       ac_ext=c
38820 ac_cpp='$CPP $CPPFLAGS'
38821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38824
38825
38826 fi
38827
38828   fi
38829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38830 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38831
38832     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38833       for ac_func in _sincos
38834 do :
38835   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38836 if test "x$ac_cv_func__sincos" = x""yes; then :
38837   cat >>confdefs.h <<_ACEOF
38838 #define HAVE__SINCOS 1
38839 _ACEOF
38840
38841 fi
38842 done
38843
38844     fi
38845   fi
38846
38847
38848
38849
38850
38851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38852 $as_echo_n "checking for fpclass declaration... " >&6; }
38853   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38854     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38855   $as_echo_n "(cached) " >&6
38856 else
38857
38858
38859       ac_ext=cpp
38860 ac_cpp='$CXXCPP $CPPFLAGS'
38861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38864
38865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38866 /* end confdefs.h.  */
38867 #include <math.h>
38868                       #ifdef HAVE_IEEEFP_H
38869                       #include <ieeefp.h>
38870                       #endif
38871
38872 int
38873 main ()
38874 {
38875  fpclass(0);
38876   ;
38877   return 0;
38878 }
38879 _ACEOF
38880 if ac_fn_cxx_try_compile "$LINENO"; then :
38881   glibcxx_cv_func_fpclass_use=yes
38882 else
38883   glibcxx_cv_func_fpclass_use=no
38884 fi
38885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38886       ac_ext=c
38887 ac_cpp='$CPP $CPPFLAGS'
38888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38891
38892
38893 fi
38894
38895   fi
38896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38897 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38898
38899   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38900     for ac_func in fpclass
38901 do :
38902   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38903 if test "x$ac_cv_func_fpclass" = x""yes; then :
38904   cat >>confdefs.h <<_ACEOF
38905 #define HAVE_FPCLASS 1
38906 _ACEOF
38907
38908 fi
38909 done
38910
38911   else
38912
38913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38914 $as_echo_n "checking for _fpclass declaration... " >&6; }
38915   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38916     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38917   $as_echo_n "(cached) " >&6
38918 else
38919
38920
38921       ac_ext=cpp
38922 ac_cpp='$CXXCPP $CPPFLAGS'
38923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38926
38927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38928 /* end confdefs.h.  */
38929 #include <math.h>
38930                       #ifdef HAVE_IEEEFP_H
38931                       #include <ieeefp.h>
38932                       #endif
38933
38934 int
38935 main ()
38936 {
38937  _fpclass(0);
38938   ;
38939   return 0;
38940 }
38941 _ACEOF
38942 if ac_fn_cxx_try_compile "$LINENO"; then :
38943   glibcxx_cv_func__fpclass_use=yes
38944 else
38945   glibcxx_cv_func__fpclass_use=no
38946 fi
38947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38948       ac_ext=c
38949 ac_cpp='$CPP $CPPFLAGS'
38950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38953
38954
38955 fi
38956
38957   fi
38958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38959 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38960
38961     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38962       for ac_func in _fpclass
38963 do :
38964   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38965 if test "x$ac_cv_func__fpclass" = x""yes; then :
38966   cat >>confdefs.h <<_ACEOF
38967 #define HAVE__FPCLASS 1
38968 _ACEOF
38969
38970 fi
38971 done
38972
38973     fi
38974   fi
38975
38976
38977
38978
38979
38980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38981 $as_echo_n "checking for qfpclass declaration... " >&6; }
38982   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38983     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38984   $as_echo_n "(cached) " >&6
38985 else
38986
38987
38988       ac_ext=cpp
38989 ac_cpp='$CXXCPP $CPPFLAGS'
38990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38993
38994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38995 /* end confdefs.h.  */
38996 #include <math.h>
38997                       #ifdef HAVE_IEEEFP_H
38998                       #include <ieeefp.h>
38999                       #endif
39000
39001 int
39002 main ()
39003 {
39004  qfpclass(0);
39005   ;
39006   return 0;
39007 }
39008 _ACEOF
39009 if ac_fn_cxx_try_compile "$LINENO"; then :
39010   glibcxx_cv_func_qfpclass_use=yes
39011 else
39012   glibcxx_cv_func_qfpclass_use=no
39013 fi
39014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39015       ac_ext=c
39016 ac_cpp='$CPP $CPPFLAGS'
39017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39020
39021
39022 fi
39023
39024   fi
39025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39026 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39027
39028   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39029     for ac_func in qfpclass
39030 do :
39031   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39032 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39033   cat >>confdefs.h <<_ACEOF
39034 #define HAVE_QFPCLASS 1
39035 _ACEOF
39036
39037 fi
39038 done
39039
39040   else
39041
39042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39043 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39044   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39045     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39046   $as_echo_n "(cached) " >&6
39047 else
39048
39049
39050       ac_ext=cpp
39051 ac_cpp='$CXXCPP $CPPFLAGS'
39052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39055
39056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39057 /* end confdefs.h.  */
39058 #include <math.h>
39059                       #ifdef HAVE_IEEEFP_H
39060                       #include <ieeefp.h>
39061                       #endif
39062
39063 int
39064 main ()
39065 {
39066  _qfpclass(0);
39067   ;
39068   return 0;
39069 }
39070 _ACEOF
39071 if ac_fn_cxx_try_compile "$LINENO"; then :
39072   glibcxx_cv_func__qfpclass_use=yes
39073 else
39074   glibcxx_cv_func__qfpclass_use=no
39075 fi
39076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39077       ac_ext=c
39078 ac_cpp='$CPP $CPPFLAGS'
39079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39082
39083
39084 fi
39085
39086   fi
39087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39088 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39089
39090     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39091       for ac_func in _qfpclass
39092 do :
39093   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39094 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39095   cat >>confdefs.h <<_ACEOF
39096 #define HAVE__QFPCLASS 1
39097 _ACEOF
39098
39099 fi
39100 done
39101
39102     fi
39103   fi
39104
39105
39106
39107
39108
39109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39110 $as_echo_n "checking for hypot declaration... " >&6; }
39111   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39112     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39113   $as_echo_n "(cached) " >&6
39114 else
39115
39116
39117       ac_ext=cpp
39118 ac_cpp='$CXXCPP $CPPFLAGS'
39119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39122
39123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39124 /* end confdefs.h.  */
39125 #include <math.h>
39126 int
39127 main ()
39128 {
39129  hypot(0, 0);
39130   ;
39131   return 0;
39132 }
39133 _ACEOF
39134 if ac_fn_cxx_try_compile "$LINENO"; then :
39135   glibcxx_cv_func_hypot_use=yes
39136 else
39137   glibcxx_cv_func_hypot_use=no
39138 fi
39139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39140       ac_ext=c
39141 ac_cpp='$CPP $CPPFLAGS'
39142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39145
39146
39147 fi
39148
39149   fi
39150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39151 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39152
39153   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39154     for ac_func in hypot
39155 do :
39156   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39157 if test "x$ac_cv_func_hypot" = x""yes; then :
39158   cat >>confdefs.h <<_ACEOF
39159 #define HAVE_HYPOT 1
39160 _ACEOF
39161
39162 fi
39163 done
39164
39165   else
39166
39167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39168 $as_echo_n "checking for _hypot declaration... " >&6; }
39169   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39170     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39171   $as_echo_n "(cached) " >&6
39172 else
39173
39174
39175       ac_ext=cpp
39176 ac_cpp='$CXXCPP $CPPFLAGS'
39177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39180
39181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39182 /* end confdefs.h.  */
39183 #include <math.h>
39184 int
39185 main ()
39186 {
39187  _hypot(0, 0);
39188   ;
39189   return 0;
39190 }
39191 _ACEOF
39192 if ac_fn_cxx_try_compile "$LINENO"; then :
39193   glibcxx_cv_func__hypot_use=yes
39194 else
39195   glibcxx_cv_func__hypot_use=no
39196 fi
39197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39198       ac_ext=c
39199 ac_cpp='$CPP $CPPFLAGS'
39200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39203
39204
39205 fi
39206
39207   fi
39208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39209 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39210
39211     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39212       for ac_func in _hypot
39213 do :
39214   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39215 if test "x$ac_cv_func__hypot" = x""yes; then :
39216   cat >>confdefs.h <<_ACEOF
39217 #define HAVE__HYPOT 1
39218 _ACEOF
39219
39220 fi
39221 done
39222
39223     fi
39224   fi
39225
39226
39227
39228
39229
39230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39231 $as_echo_n "checking for float trig functions... " >&6; }
39232   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39233   $as_echo_n "(cached) " >&6
39234 else
39235
39236
39237     ac_ext=cpp
39238 ac_cpp='$CXXCPP $CPPFLAGS'
39239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39242
39243     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39244 /* end confdefs.h.  */
39245 #include <math.h>
39246 int
39247 main ()
39248 {
39249 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39250   ;
39251   return 0;
39252 }
39253 _ACEOF
39254 if ac_fn_cxx_try_compile "$LINENO"; then :
39255   glibcxx_cv_func_float_trig_use=yes
39256 else
39257   glibcxx_cv_func_float_trig_use=no
39258 fi
39259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39260     ac_ext=c
39261 ac_cpp='$CPP $CPPFLAGS'
39262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39265
39266 fi
39267
39268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39269 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39270   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39271     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39272 do :
39273   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39275 eval as_val=\$$as_ac_var
39276    if test "x$as_val" = x""yes; then :
39277   cat >>confdefs.h <<_ACEOF
39278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39279 _ACEOF
39280
39281 fi
39282 done
39283
39284   else
39285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39286 $as_echo_n "checking for _float trig functions... " >&6; }
39287     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39288   $as_echo_n "(cached) " >&6
39289 else
39290
39291
39292       ac_ext=cpp
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39297
39298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39299 /* end confdefs.h.  */
39300 #include <math.h>
39301 int
39302 main ()
39303 {
39304 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39305   ;
39306   return 0;
39307 }
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310   glibcxx_cv_func__float_trig_use=yes
39311 else
39312   glibcxx_cv_func__float_trig_use=no
39313 fi
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315       ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320
39321 fi
39322
39323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39324 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39325     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39326       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39327 do :
39328   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39330 eval as_val=\$$as_ac_var
39331    if test "x$as_val" = x""yes; then :
39332   cat >>confdefs.h <<_ACEOF
39333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39334 _ACEOF
39335
39336 fi
39337 done
39338
39339     fi
39340   fi
39341
39342
39343
39344
39345
39346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39347 $as_echo_n "checking for float round functions... " >&6; }
39348   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39349   $as_echo_n "(cached) " >&6
39350 else
39351
39352
39353     ac_ext=cpp
39354 ac_cpp='$CXXCPP $CPPFLAGS'
39355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39358
39359     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39360 /* end confdefs.h.  */
39361 #include <math.h>
39362 int
39363 main ()
39364 {
39365 ceilf (0); floorf (0);
39366   ;
39367   return 0;
39368 }
39369 _ACEOF
39370 if ac_fn_cxx_try_compile "$LINENO"; then :
39371   glibcxx_cv_func_float_round_use=yes
39372 else
39373   glibcxx_cv_func_float_round_use=no
39374 fi
39375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39376     ac_ext=c
39377 ac_cpp='$CPP $CPPFLAGS'
39378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39381
39382 fi
39383
39384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39385 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39386   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39387     for ac_func in ceilf floorf
39388 do :
39389   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39391 eval as_val=\$$as_ac_var
39392    if test "x$as_val" = x""yes; then :
39393   cat >>confdefs.h <<_ACEOF
39394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39395 _ACEOF
39396
39397 fi
39398 done
39399
39400   else
39401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39402 $as_echo_n "checking for _float round functions... " >&6; }
39403     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39404   $as_echo_n "(cached) " >&6
39405 else
39406
39407
39408       ac_ext=cpp
39409 ac_cpp='$CXXCPP $CPPFLAGS'
39410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39413
39414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39415 /* end confdefs.h.  */
39416 #include <math.h>
39417 int
39418 main ()
39419 {
39420 _ceilf (0); _floorf (0);
39421   ;
39422   return 0;
39423 }
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426   glibcxx_cv_func__float_round_use=yes
39427 else
39428   glibcxx_cv_func__float_round_use=no
39429 fi
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431       ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436
39437 fi
39438
39439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39440 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39441     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39442       for ac_func in _ceilf _floorf
39443 do :
39444   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39446 eval as_val=\$$as_ac_var
39447    if test "x$as_val" = x""yes; then :
39448   cat >>confdefs.h <<_ACEOF
39449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39450 _ACEOF
39451
39452 fi
39453 done
39454
39455     fi
39456   fi
39457
39458
39459
39460
39461
39462
39463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39464 $as_echo_n "checking for expf declaration... " >&6; }
39465   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39466     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39467   $as_echo_n "(cached) " >&6
39468 else
39469
39470
39471       ac_ext=cpp
39472 ac_cpp='$CXXCPP $CPPFLAGS'
39473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39476
39477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39478 /* end confdefs.h.  */
39479 #include <math.h>
39480                       #ifdef HAVE_IEEEFP_H
39481                       #include <ieeefp.h>
39482                       #endif
39483
39484 int
39485 main ()
39486 {
39487  expf(0);
39488   ;
39489   return 0;
39490 }
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493   glibcxx_cv_func_expf_use=yes
39494 else
39495   glibcxx_cv_func_expf_use=no
39496 fi
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498       ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503
39504
39505 fi
39506
39507   fi
39508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39509 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39510
39511   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39512     for ac_func in expf
39513 do :
39514   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39515 if test "x$ac_cv_func_expf" = x""yes; then :
39516   cat >>confdefs.h <<_ACEOF
39517 #define HAVE_EXPF 1
39518 _ACEOF
39519
39520 fi
39521 done
39522
39523   else
39524
39525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39526 $as_echo_n "checking for _expf declaration... " >&6; }
39527   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39528     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39529   $as_echo_n "(cached) " >&6
39530 else
39531
39532
39533       ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h.  */
39541 #include <math.h>
39542                       #ifdef HAVE_IEEEFP_H
39543                       #include <ieeefp.h>
39544                       #endif
39545
39546 int
39547 main ()
39548 {
39549  _expf(0);
39550   ;
39551   return 0;
39552 }
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555   glibcxx_cv_func__expf_use=yes
39556 else
39557   glibcxx_cv_func__expf_use=no
39558 fi
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560       ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39565
39566
39567 fi
39568
39569   fi
39570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39571 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39572
39573     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39574       for ac_func in _expf
39575 do :
39576   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39577 if test "x$ac_cv_func__expf" = x""yes; then :
39578   cat >>confdefs.h <<_ACEOF
39579 #define HAVE__EXPF 1
39580 _ACEOF
39581
39582 fi
39583 done
39584
39585     fi
39586   fi
39587
39588
39589
39590
39591
39592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39593 $as_echo_n "checking for isnanf declaration... " >&6; }
39594   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39595     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39596   $as_echo_n "(cached) " >&6
39597 else
39598
39599
39600       ac_ext=cpp
39601 ac_cpp='$CXXCPP $CPPFLAGS'
39602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39605
39606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39607 /* end confdefs.h.  */
39608 #include <math.h>
39609                       #ifdef HAVE_IEEEFP_H
39610                       #include <ieeefp.h>
39611                       #endif
39612
39613 int
39614 main ()
39615 {
39616  isnanf(0);
39617   ;
39618   return 0;
39619 }
39620 _ACEOF
39621 if ac_fn_cxx_try_compile "$LINENO"; then :
39622   glibcxx_cv_func_isnanf_use=yes
39623 else
39624   glibcxx_cv_func_isnanf_use=no
39625 fi
39626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39627       ac_ext=c
39628 ac_cpp='$CPP $CPPFLAGS'
39629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39632
39633
39634 fi
39635
39636   fi
39637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39638 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39639
39640   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39641     for ac_func in isnanf
39642 do :
39643   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39644 if test "x$ac_cv_func_isnanf" = x""yes; then :
39645   cat >>confdefs.h <<_ACEOF
39646 #define HAVE_ISNANF 1
39647 _ACEOF
39648
39649 fi
39650 done
39651
39652   else
39653
39654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39655 $as_echo_n "checking for _isnanf declaration... " >&6; }
39656   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39657     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39658   $as_echo_n "(cached) " >&6
39659 else
39660
39661
39662       ac_ext=cpp
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39667
39668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h.  */
39670 #include <math.h>
39671                       #ifdef HAVE_IEEEFP_H
39672                       #include <ieeefp.h>
39673                       #endif
39674
39675 int
39676 main ()
39677 {
39678  _isnanf(0);
39679   ;
39680   return 0;
39681 }
39682 _ACEOF
39683 if ac_fn_cxx_try_compile "$LINENO"; then :
39684   glibcxx_cv_func__isnanf_use=yes
39685 else
39686   glibcxx_cv_func__isnanf_use=no
39687 fi
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689       ac_ext=c
39690 ac_cpp='$CPP $CPPFLAGS'
39691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39694
39695
39696 fi
39697
39698   fi
39699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39700 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39701
39702     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39703       for ac_func in _isnanf
39704 do :
39705   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39706 if test "x$ac_cv_func__isnanf" = x""yes; then :
39707   cat >>confdefs.h <<_ACEOF
39708 #define HAVE__ISNANF 1
39709 _ACEOF
39710
39711 fi
39712 done
39713
39714     fi
39715   fi
39716
39717
39718
39719
39720
39721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39722 $as_echo_n "checking for isinff declaration... " >&6; }
39723   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39724     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39725   $as_echo_n "(cached) " >&6
39726 else
39727
39728
39729       ac_ext=cpp
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39734
39735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39736 /* end confdefs.h.  */
39737 #include <math.h>
39738                       #ifdef HAVE_IEEEFP_H
39739                       #include <ieeefp.h>
39740                       #endif
39741
39742 int
39743 main ()
39744 {
39745  isinff(0);
39746   ;
39747   return 0;
39748 }
39749 _ACEOF
39750 if ac_fn_cxx_try_compile "$LINENO"; then :
39751   glibcxx_cv_func_isinff_use=yes
39752 else
39753   glibcxx_cv_func_isinff_use=no
39754 fi
39755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39756       ac_ext=c
39757 ac_cpp='$CPP $CPPFLAGS'
39758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39761
39762
39763 fi
39764
39765   fi
39766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39767 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39768
39769   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39770     for ac_func in isinff
39771 do :
39772   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39773 if test "x$ac_cv_func_isinff" = x""yes; then :
39774   cat >>confdefs.h <<_ACEOF
39775 #define HAVE_ISINFF 1
39776 _ACEOF
39777
39778 fi
39779 done
39780
39781   else
39782
39783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39784 $as_echo_n "checking for _isinff declaration... " >&6; }
39785   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39786     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39787   $as_echo_n "(cached) " >&6
39788 else
39789
39790
39791       ac_ext=cpp
39792 ac_cpp='$CXXCPP $CPPFLAGS'
39793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39796
39797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798 /* end confdefs.h.  */
39799 #include <math.h>
39800                       #ifdef HAVE_IEEEFP_H
39801                       #include <ieeefp.h>
39802                       #endif
39803
39804 int
39805 main ()
39806 {
39807  _isinff(0);
39808   ;
39809   return 0;
39810 }
39811 _ACEOF
39812 if ac_fn_cxx_try_compile "$LINENO"; then :
39813   glibcxx_cv_func__isinff_use=yes
39814 else
39815   glibcxx_cv_func__isinff_use=no
39816 fi
39817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39818       ac_ext=c
39819 ac_cpp='$CPP $CPPFLAGS'
39820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39823
39824
39825 fi
39826
39827   fi
39828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39829 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39830
39831     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39832       for ac_func in _isinff
39833 do :
39834   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39835 if test "x$ac_cv_func__isinff" = x""yes; then :
39836   cat >>confdefs.h <<_ACEOF
39837 #define HAVE__ISINFF 1
39838 _ACEOF
39839
39840 fi
39841 done
39842
39843     fi
39844   fi
39845
39846
39847
39848
39849
39850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39851 $as_echo_n "checking for atan2f declaration... " >&6; }
39852   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39853     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39854   $as_echo_n "(cached) " >&6
39855 else
39856
39857
39858       ac_ext=cpp
39859 ac_cpp='$CXXCPP $CPPFLAGS'
39860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39863
39864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39865 /* end confdefs.h.  */
39866 #include <math.h>
39867 int
39868 main ()
39869 {
39870  atan2f(0, 0);
39871   ;
39872   return 0;
39873 }
39874 _ACEOF
39875 if ac_fn_cxx_try_compile "$LINENO"; then :
39876   glibcxx_cv_func_atan2f_use=yes
39877 else
39878   glibcxx_cv_func_atan2f_use=no
39879 fi
39880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39881       ac_ext=c
39882 ac_cpp='$CPP $CPPFLAGS'
39883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39886
39887
39888 fi
39889
39890   fi
39891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39892 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39893
39894   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39895     for ac_func in atan2f
39896 do :
39897   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39898 if test "x$ac_cv_func_atan2f" = x""yes; then :
39899   cat >>confdefs.h <<_ACEOF
39900 #define HAVE_ATAN2F 1
39901 _ACEOF
39902
39903 fi
39904 done
39905
39906   else
39907
39908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39909 $as_echo_n "checking for _atan2f declaration... " >&6; }
39910   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39911     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39912   $as_echo_n "(cached) " >&6
39913 else
39914
39915
39916       ac_ext=cpp
39917 ac_cpp='$CXXCPP $CPPFLAGS'
39918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39921
39922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39923 /* end confdefs.h.  */
39924 #include <math.h>
39925 int
39926 main ()
39927 {
39928  _atan2f(0, 0);
39929   ;
39930   return 0;
39931 }
39932 _ACEOF
39933 if ac_fn_cxx_try_compile "$LINENO"; then :
39934   glibcxx_cv_func__atan2f_use=yes
39935 else
39936   glibcxx_cv_func__atan2f_use=no
39937 fi
39938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39939       ac_ext=c
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39944
39945
39946 fi
39947
39948   fi
39949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39950 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39951
39952     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39953       for ac_func in _atan2f
39954 do :
39955   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39956 if test "x$ac_cv_func__atan2f" = x""yes; then :
39957   cat >>confdefs.h <<_ACEOF
39958 #define HAVE__ATAN2F 1
39959 _ACEOF
39960
39961 fi
39962 done
39963
39964     fi
39965   fi
39966
39967
39968
39969
39970
39971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39972 $as_echo_n "checking for fabsf declaration... " >&6; }
39973   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39974     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39975   $as_echo_n "(cached) " >&6
39976 else
39977
39978
39979       ac_ext=cpp
39980 ac_cpp='$CXXCPP $CPPFLAGS'
39981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39984
39985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39986 /* end confdefs.h.  */
39987 #include <math.h>
39988                       #ifdef HAVE_IEEEFP_H
39989                       #include <ieeefp.h>
39990                       #endif
39991
39992 int
39993 main ()
39994 {
39995  fabsf(0);
39996   ;
39997   return 0;
39998 }
39999 _ACEOF
40000 if ac_fn_cxx_try_compile "$LINENO"; then :
40001   glibcxx_cv_func_fabsf_use=yes
40002 else
40003   glibcxx_cv_func_fabsf_use=no
40004 fi
40005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40006       ac_ext=c
40007 ac_cpp='$CPP $CPPFLAGS'
40008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40011
40012
40013 fi
40014
40015   fi
40016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40017 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40018
40019   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40020     for ac_func in fabsf
40021 do :
40022   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40023 if test "x$ac_cv_func_fabsf" = x""yes; then :
40024   cat >>confdefs.h <<_ACEOF
40025 #define HAVE_FABSF 1
40026 _ACEOF
40027
40028 fi
40029 done
40030
40031   else
40032
40033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40034 $as_echo_n "checking for _fabsf declaration... " >&6; }
40035   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40036     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40037   $as_echo_n "(cached) " >&6
40038 else
40039
40040
40041       ac_ext=cpp
40042 ac_cpp='$CXXCPP $CPPFLAGS'
40043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40046
40047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40048 /* end confdefs.h.  */
40049 #include <math.h>
40050                       #ifdef HAVE_IEEEFP_H
40051                       #include <ieeefp.h>
40052                       #endif
40053
40054 int
40055 main ()
40056 {
40057  _fabsf(0);
40058   ;
40059   return 0;
40060 }
40061 _ACEOF
40062 if ac_fn_cxx_try_compile "$LINENO"; then :
40063   glibcxx_cv_func__fabsf_use=yes
40064 else
40065   glibcxx_cv_func__fabsf_use=no
40066 fi
40067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40068       ac_ext=c
40069 ac_cpp='$CPP $CPPFLAGS'
40070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40073
40074
40075 fi
40076
40077   fi
40078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40079 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40080
40081     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40082       for ac_func in _fabsf
40083 do :
40084   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40085 if test "x$ac_cv_func__fabsf" = x""yes; then :
40086   cat >>confdefs.h <<_ACEOF
40087 #define HAVE__FABSF 1
40088 _ACEOF
40089
40090 fi
40091 done
40092
40093     fi
40094   fi
40095
40096
40097
40098
40099
40100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40101 $as_echo_n "checking for fmodf declaration... " >&6; }
40102   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40103     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40104   $as_echo_n "(cached) " >&6
40105 else
40106
40107
40108       ac_ext=cpp
40109 ac_cpp='$CXXCPP $CPPFLAGS'
40110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40113
40114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40115 /* end confdefs.h.  */
40116 #include <math.h>
40117 int
40118 main ()
40119 {
40120  fmodf(0, 0);
40121   ;
40122   return 0;
40123 }
40124 _ACEOF
40125 if ac_fn_cxx_try_compile "$LINENO"; then :
40126   glibcxx_cv_func_fmodf_use=yes
40127 else
40128   glibcxx_cv_func_fmodf_use=no
40129 fi
40130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40131       ac_ext=c
40132 ac_cpp='$CPP $CPPFLAGS'
40133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40136
40137
40138 fi
40139
40140   fi
40141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40142 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40143
40144   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40145     for ac_func in fmodf
40146 do :
40147   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40148 if test "x$ac_cv_func_fmodf" = x""yes; then :
40149   cat >>confdefs.h <<_ACEOF
40150 #define HAVE_FMODF 1
40151 _ACEOF
40152
40153 fi
40154 done
40155
40156   else
40157
40158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40159 $as_echo_n "checking for _fmodf declaration... " >&6; }
40160   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40161     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40162   $as_echo_n "(cached) " >&6
40163 else
40164
40165
40166       ac_ext=cpp
40167 ac_cpp='$CXXCPP $CPPFLAGS'
40168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40171
40172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40173 /* end confdefs.h.  */
40174 #include <math.h>
40175 int
40176 main ()
40177 {
40178  _fmodf(0, 0);
40179   ;
40180   return 0;
40181 }
40182 _ACEOF
40183 if ac_fn_cxx_try_compile "$LINENO"; then :
40184   glibcxx_cv_func__fmodf_use=yes
40185 else
40186   glibcxx_cv_func__fmodf_use=no
40187 fi
40188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40189       ac_ext=c
40190 ac_cpp='$CPP $CPPFLAGS'
40191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40194
40195
40196 fi
40197
40198   fi
40199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40200 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40201
40202     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40203       for ac_func in _fmodf
40204 do :
40205   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40206 if test "x$ac_cv_func__fmodf" = x""yes; then :
40207   cat >>confdefs.h <<_ACEOF
40208 #define HAVE__FMODF 1
40209 _ACEOF
40210
40211 fi
40212 done
40213
40214     fi
40215   fi
40216
40217
40218
40219
40220
40221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40222 $as_echo_n "checking for frexpf declaration... " >&6; }
40223   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40224     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40225   $as_echo_n "(cached) " >&6
40226 else
40227
40228
40229       ac_ext=cpp
40230 ac_cpp='$CXXCPP $CPPFLAGS'
40231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40234
40235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h.  */
40237 #include <math.h>
40238 int
40239 main ()
40240 {
40241  frexpf(0, 0);
40242   ;
40243   return 0;
40244 }
40245 _ACEOF
40246 if ac_fn_cxx_try_compile "$LINENO"; then :
40247   glibcxx_cv_func_frexpf_use=yes
40248 else
40249   glibcxx_cv_func_frexpf_use=no
40250 fi
40251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40252       ac_ext=c
40253 ac_cpp='$CPP $CPPFLAGS'
40254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40257
40258
40259 fi
40260
40261   fi
40262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40263 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40264
40265   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40266     for ac_func in frexpf
40267 do :
40268   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40269 if test "x$ac_cv_func_frexpf" = x""yes; then :
40270   cat >>confdefs.h <<_ACEOF
40271 #define HAVE_FREXPF 1
40272 _ACEOF
40273
40274 fi
40275 done
40276
40277   else
40278
40279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40280 $as_echo_n "checking for _frexpf declaration... " >&6; }
40281   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40282     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40283   $as_echo_n "(cached) " >&6
40284 else
40285
40286
40287       ac_ext=cpp
40288 ac_cpp='$CXXCPP $CPPFLAGS'
40289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40292
40293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40294 /* end confdefs.h.  */
40295 #include <math.h>
40296 int
40297 main ()
40298 {
40299  _frexpf(0, 0);
40300   ;
40301   return 0;
40302 }
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305   glibcxx_cv_func__frexpf_use=yes
40306 else
40307   glibcxx_cv_func__frexpf_use=no
40308 fi
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310       ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315
40316
40317 fi
40318
40319   fi
40320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40321 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40322
40323     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40324       for ac_func in _frexpf
40325 do :
40326   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40327 if test "x$ac_cv_func__frexpf" = x""yes; then :
40328   cat >>confdefs.h <<_ACEOF
40329 #define HAVE__FREXPF 1
40330 _ACEOF
40331
40332 fi
40333 done
40334
40335     fi
40336   fi
40337
40338
40339
40340
40341
40342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40343 $as_echo_n "checking for hypotf declaration... " >&6; }
40344   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40345     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40346   $as_echo_n "(cached) " >&6
40347 else
40348
40349
40350       ac_ext=cpp
40351 ac_cpp='$CXXCPP $CPPFLAGS'
40352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40355
40356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40357 /* end confdefs.h.  */
40358 #include <math.h>
40359 int
40360 main ()
40361 {
40362  hypotf(0, 0);
40363   ;
40364   return 0;
40365 }
40366 _ACEOF
40367 if ac_fn_cxx_try_compile "$LINENO"; then :
40368   glibcxx_cv_func_hypotf_use=yes
40369 else
40370   glibcxx_cv_func_hypotf_use=no
40371 fi
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373       ac_ext=c
40374 ac_cpp='$CPP $CPPFLAGS'
40375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40378
40379
40380 fi
40381
40382   fi
40383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40384 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40385
40386   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40387     for ac_func in hypotf
40388 do :
40389   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40390 if test "x$ac_cv_func_hypotf" = x""yes; then :
40391   cat >>confdefs.h <<_ACEOF
40392 #define HAVE_HYPOTF 1
40393 _ACEOF
40394
40395 fi
40396 done
40397
40398   else
40399
40400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40401 $as_echo_n "checking for _hypotf declaration... " >&6; }
40402   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40403     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40404   $as_echo_n "(cached) " >&6
40405 else
40406
40407
40408       ac_ext=cpp
40409 ac_cpp='$CXXCPP $CPPFLAGS'
40410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40413
40414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40415 /* end confdefs.h.  */
40416 #include <math.h>
40417 int
40418 main ()
40419 {
40420  _hypotf(0, 0);
40421   ;
40422   return 0;
40423 }
40424 _ACEOF
40425 if ac_fn_cxx_try_compile "$LINENO"; then :
40426   glibcxx_cv_func__hypotf_use=yes
40427 else
40428   glibcxx_cv_func__hypotf_use=no
40429 fi
40430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40431       ac_ext=c
40432 ac_cpp='$CPP $CPPFLAGS'
40433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40436
40437
40438 fi
40439
40440   fi
40441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40442 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40443
40444     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40445       for ac_func in _hypotf
40446 do :
40447   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40448 if test "x$ac_cv_func__hypotf" = x""yes; then :
40449   cat >>confdefs.h <<_ACEOF
40450 #define HAVE__HYPOTF 1
40451 _ACEOF
40452
40453 fi
40454 done
40455
40456     fi
40457   fi
40458
40459
40460
40461
40462
40463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40464 $as_echo_n "checking for ldexpf declaration... " >&6; }
40465   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40466     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40467   $as_echo_n "(cached) " >&6
40468 else
40469
40470
40471       ac_ext=cpp
40472 ac_cpp='$CXXCPP $CPPFLAGS'
40473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40476
40477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40478 /* end confdefs.h.  */
40479 #include <math.h>
40480 int
40481 main ()
40482 {
40483  ldexpf(0, 0);
40484   ;
40485   return 0;
40486 }
40487 _ACEOF
40488 if ac_fn_cxx_try_compile "$LINENO"; then :
40489   glibcxx_cv_func_ldexpf_use=yes
40490 else
40491   glibcxx_cv_func_ldexpf_use=no
40492 fi
40493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40494       ac_ext=c
40495 ac_cpp='$CPP $CPPFLAGS'
40496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40499
40500
40501 fi
40502
40503   fi
40504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40505 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40506
40507   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40508     for ac_func in ldexpf
40509 do :
40510   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40511 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40512   cat >>confdefs.h <<_ACEOF
40513 #define HAVE_LDEXPF 1
40514 _ACEOF
40515
40516 fi
40517 done
40518
40519   else
40520
40521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40522 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40523   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40524     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40525   $as_echo_n "(cached) " >&6
40526 else
40527
40528
40529       ac_ext=cpp
40530 ac_cpp='$CXXCPP $CPPFLAGS'
40531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40534
40535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40536 /* end confdefs.h.  */
40537 #include <math.h>
40538 int
40539 main ()
40540 {
40541  _ldexpf(0, 0);
40542   ;
40543   return 0;
40544 }
40545 _ACEOF
40546 if ac_fn_cxx_try_compile "$LINENO"; then :
40547   glibcxx_cv_func__ldexpf_use=yes
40548 else
40549   glibcxx_cv_func__ldexpf_use=no
40550 fi
40551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40552       ac_ext=c
40553 ac_cpp='$CPP $CPPFLAGS'
40554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40557
40558
40559 fi
40560
40561   fi
40562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40563 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40564
40565     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40566       for ac_func in _ldexpf
40567 do :
40568   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40569 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40570   cat >>confdefs.h <<_ACEOF
40571 #define HAVE__LDEXPF 1
40572 _ACEOF
40573
40574 fi
40575 done
40576
40577     fi
40578   fi
40579
40580
40581
40582
40583
40584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40585 $as_echo_n "checking for logf declaration... " >&6; }
40586   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40587     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40588   $as_echo_n "(cached) " >&6
40589 else
40590
40591
40592       ac_ext=cpp
40593 ac_cpp='$CXXCPP $CPPFLAGS'
40594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40597
40598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40599 /* end confdefs.h.  */
40600 #include <math.h>
40601                       #ifdef HAVE_IEEEFP_H
40602                       #include <ieeefp.h>
40603                       #endif
40604
40605 int
40606 main ()
40607 {
40608  logf(0);
40609   ;
40610   return 0;
40611 }
40612 _ACEOF
40613 if ac_fn_cxx_try_compile "$LINENO"; then :
40614   glibcxx_cv_func_logf_use=yes
40615 else
40616   glibcxx_cv_func_logf_use=no
40617 fi
40618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40619       ac_ext=c
40620 ac_cpp='$CPP $CPPFLAGS'
40621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40624
40625
40626 fi
40627
40628   fi
40629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40630 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40631
40632   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40633     for ac_func in logf
40634 do :
40635   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40636 if test "x$ac_cv_func_logf" = x""yes; then :
40637   cat >>confdefs.h <<_ACEOF
40638 #define HAVE_LOGF 1
40639 _ACEOF
40640
40641 fi
40642 done
40643
40644   else
40645
40646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40647 $as_echo_n "checking for _logf declaration... " >&6; }
40648   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40649     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40650   $as_echo_n "(cached) " >&6
40651 else
40652
40653
40654       ac_ext=cpp
40655 ac_cpp='$CXXCPP $CPPFLAGS'
40656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40659
40660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40661 /* end confdefs.h.  */
40662 #include <math.h>
40663                       #ifdef HAVE_IEEEFP_H
40664                       #include <ieeefp.h>
40665                       #endif
40666
40667 int
40668 main ()
40669 {
40670  _logf(0);
40671   ;
40672   return 0;
40673 }
40674 _ACEOF
40675 if ac_fn_cxx_try_compile "$LINENO"; then :
40676   glibcxx_cv_func__logf_use=yes
40677 else
40678   glibcxx_cv_func__logf_use=no
40679 fi
40680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40681       ac_ext=c
40682 ac_cpp='$CPP $CPPFLAGS'
40683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40686
40687
40688 fi
40689
40690   fi
40691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40692 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40693
40694     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40695       for ac_func in _logf
40696 do :
40697   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40698 if test "x$ac_cv_func__logf" = x""yes; then :
40699   cat >>confdefs.h <<_ACEOF
40700 #define HAVE__LOGF 1
40701 _ACEOF
40702
40703 fi
40704 done
40705
40706     fi
40707   fi
40708
40709
40710
40711
40712
40713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40714 $as_echo_n "checking for log10f declaration... " >&6; }
40715   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40716     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40717   $as_echo_n "(cached) " >&6
40718 else
40719
40720
40721       ac_ext=cpp
40722 ac_cpp='$CXXCPP $CPPFLAGS'
40723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726
40727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40728 /* end confdefs.h.  */
40729 #include <math.h>
40730                       #ifdef HAVE_IEEEFP_H
40731                       #include <ieeefp.h>
40732                       #endif
40733
40734 int
40735 main ()
40736 {
40737  log10f(0);
40738   ;
40739   return 0;
40740 }
40741 _ACEOF
40742 if ac_fn_cxx_try_compile "$LINENO"; then :
40743   glibcxx_cv_func_log10f_use=yes
40744 else
40745   glibcxx_cv_func_log10f_use=no
40746 fi
40747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40748       ac_ext=c
40749 ac_cpp='$CPP $CPPFLAGS'
40750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40753
40754
40755 fi
40756
40757   fi
40758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40759 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40760
40761   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40762     for ac_func in log10f
40763 do :
40764   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40765 if test "x$ac_cv_func_log10f" = x""yes; then :
40766   cat >>confdefs.h <<_ACEOF
40767 #define HAVE_LOG10F 1
40768 _ACEOF
40769
40770 fi
40771 done
40772
40773   else
40774
40775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40776 $as_echo_n "checking for _log10f declaration... " >&6; }
40777   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40778     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40779   $as_echo_n "(cached) " >&6
40780 else
40781
40782
40783       ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40788
40789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h.  */
40791 #include <math.h>
40792                       #ifdef HAVE_IEEEFP_H
40793                       #include <ieeefp.h>
40794                       #endif
40795
40796 int
40797 main ()
40798 {
40799  _log10f(0);
40800   ;
40801   return 0;
40802 }
40803 _ACEOF
40804 if ac_fn_cxx_try_compile "$LINENO"; then :
40805   glibcxx_cv_func__log10f_use=yes
40806 else
40807   glibcxx_cv_func__log10f_use=no
40808 fi
40809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810       ac_ext=c
40811 ac_cpp='$CPP $CPPFLAGS'
40812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40815
40816
40817 fi
40818
40819   fi
40820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40821 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40822
40823     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40824       for ac_func in _log10f
40825 do :
40826   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40827 if test "x$ac_cv_func__log10f" = x""yes; then :
40828   cat >>confdefs.h <<_ACEOF
40829 #define HAVE__LOG10F 1
40830 _ACEOF
40831
40832 fi
40833 done
40834
40835     fi
40836   fi
40837
40838
40839
40840
40841
40842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40843 $as_echo_n "checking for modff declaration... " >&6; }
40844   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40845     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40846   $as_echo_n "(cached) " >&6
40847 else
40848
40849
40850       ac_ext=cpp
40851 ac_cpp='$CXXCPP $CPPFLAGS'
40852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40855
40856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40857 /* end confdefs.h.  */
40858 #include <math.h>
40859 int
40860 main ()
40861 {
40862  modff(0, 0);
40863   ;
40864   return 0;
40865 }
40866 _ACEOF
40867 if ac_fn_cxx_try_compile "$LINENO"; then :
40868   glibcxx_cv_func_modff_use=yes
40869 else
40870   glibcxx_cv_func_modff_use=no
40871 fi
40872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40873       ac_ext=c
40874 ac_cpp='$CPP $CPPFLAGS'
40875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40878
40879
40880 fi
40881
40882   fi
40883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40884 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40885
40886   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40887     for ac_func in modff
40888 do :
40889   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40890 if test "x$ac_cv_func_modff" = x""yes; then :
40891   cat >>confdefs.h <<_ACEOF
40892 #define HAVE_MODFF 1
40893 _ACEOF
40894
40895 fi
40896 done
40897
40898   else
40899
40900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40901 $as_echo_n "checking for _modff declaration... " >&6; }
40902   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40903     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40904   $as_echo_n "(cached) " >&6
40905 else
40906
40907
40908       ac_ext=cpp
40909 ac_cpp='$CXXCPP $CPPFLAGS'
40910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40913
40914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40915 /* end confdefs.h.  */
40916 #include <math.h>
40917 int
40918 main ()
40919 {
40920  _modff(0, 0);
40921   ;
40922   return 0;
40923 }
40924 _ACEOF
40925 if ac_fn_cxx_try_compile "$LINENO"; then :
40926   glibcxx_cv_func__modff_use=yes
40927 else
40928   glibcxx_cv_func__modff_use=no
40929 fi
40930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40931       ac_ext=c
40932 ac_cpp='$CPP $CPPFLAGS'
40933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40936
40937
40938 fi
40939
40940   fi
40941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40942 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40943
40944     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40945       for ac_func in _modff
40946 do :
40947   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40948 if test "x$ac_cv_func__modff" = x""yes; then :
40949   cat >>confdefs.h <<_ACEOF
40950 #define HAVE__MODFF 1
40951 _ACEOF
40952
40953 fi
40954 done
40955
40956     fi
40957   fi
40958
40959
40960
40961
40962
40963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40964 $as_echo_n "checking for modf declaration... " >&6; }
40965   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40966     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40967   $as_echo_n "(cached) " >&6
40968 else
40969
40970
40971       ac_ext=cpp
40972 ac_cpp='$CXXCPP $CPPFLAGS'
40973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40976
40977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40978 /* end confdefs.h.  */
40979 #include <math.h>
40980 int
40981 main ()
40982 {
40983  modf(0, 0);
40984   ;
40985   return 0;
40986 }
40987 _ACEOF
40988 if ac_fn_cxx_try_compile "$LINENO"; then :
40989   glibcxx_cv_func_modf_use=yes
40990 else
40991   glibcxx_cv_func_modf_use=no
40992 fi
40993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40994       ac_ext=c
40995 ac_cpp='$CPP $CPPFLAGS'
40996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40999
41000
41001 fi
41002
41003   fi
41004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41005 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41006
41007   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41008     for ac_func in modf
41009 do :
41010   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41011 if test "x$ac_cv_func_modf" = x""yes; then :
41012   cat >>confdefs.h <<_ACEOF
41013 #define HAVE_MODF 1
41014 _ACEOF
41015
41016 fi
41017 done
41018
41019   else
41020
41021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41022 $as_echo_n "checking for _modf declaration... " >&6; }
41023   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41024     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41025   $as_echo_n "(cached) " >&6
41026 else
41027
41028
41029       ac_ext=cpp
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41034
41035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41036 /* end confdefs.h.  */
41037 #include <math.h>
41038 int
41039 main ()
41040 {
41041  _modf(0, 0);
41042   ;
41043   return 0;
41044 }
41045 _ACEOF
41046 if ac_fn_cxx_try_compile "$LINENO"; then :
41047   glibcxx_cv_func__modf_use=yes
41048 else
41049   glibcxx_cv_func__modf_use=no
41050 fi
41051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41052       ac_ext=c
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41057
41058
41059 fi
41060
41061   fi
41062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41063 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41064
41065     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41066       for ac_func in _modf
41067 do :
41068   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41069 if test "x$ac_cv_func__modf" = x""yes; then :
41070   cat >>confdefs.h <<_ACEOF
41071 #define HAVE__MODF 1
41072 _ACEOF
41073
41074 fi
41075 done
41076
41077     fi
41078   fi
41079
41080
41081
41082
41083
41084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41085 $as_echo_n "checking for powf declaration... " >&6; }
41086   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41087     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41088   $as_echo_n "(cached) " >&6
41089 else
41090
41091
41092       ac_ext=cpp
41093 ac_cpp='$CXXCPP $CPPFLAGS'
41094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41097
41098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41099 /* end confdefs.h.  */
41100 #include <math.h>
41101 int
41102 main ()
41103 {
41104  powf(0, 0);
41105   ;
41106   return 0;
41107 }
41108 _ACEOF
41109 if ac_fn_cxx_try_compile "$LINENO"; then :
41110   glibcxx_cv_func_powf_use=yes
41111 else
41112   glibcxx_cv_func_powf_use=no
41113 fi
41114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41115       ac_ext=c
41116 ac_cpp='$CPP $CPPFLAGS'
41117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41120
41121
41122 fi
41123
41124   fi
41125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41126 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41127
41128   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41129     for ac_func in powf
41130 do :
41131   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41132 if test "x$ac_cv_func_powf" = x""yes; then :
41133   cat >>confdefs.h <<_ACEOF
41134 #define HAVE_POWF 1
41135 _ACEOF
41136
41137 fi
41138 done
41139
41140   else
41141
41142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41143 $as_echo_n "checking for _powf declaration... " >&6; }
41144   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41145     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41146   $as_echo_n "(cached) " >&6
41147 else
41148
41149
41150       ac_ext=cpp
41151 ac_cpp='$CXXCPP $CPPFLAGS'
41152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41155
41156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41157 /* end confdefs.h.  */
41158 #include <math.h>
41159 int
41160 main ()
41161 {
41162  _powf(0, 0);
41163   ;
41164   return 0;
41165 }
41166 _ACEOF
41167 if ac_fn_cxx_try_compile "$LINENO"; then :
41168   glibcxx_cv_func__powf_use=yes
41169 else
41170   glibcxx_cv_func__powf_use=no
41171 fi
41172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41173       ac_ext=c
41174 ac_cpp='$CPP $CPPFLAGS'
41175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41178
41179
41180 fi
41181
41182   fi
41183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41184 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41185
41186     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41187       for ac_func in _powf
41188 do :
41189   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41190 if test "x$ac_cv_func__powf" = x""yes; then :
41191   cat >>confdefs.h <<_ACEOF
41192 #define HAVE__POWF 1
41193 _ACEOF
41194
41195 fi
41196 done
41197
41198     fi
41199   fi
41200
41201
41202
41203
41204
41205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41206 $as_echo_n "checking for sqrtf declaration... " >&6; }
41207   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41208     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41209   $as_echo_n "(cached) " >&6
41210 else
41211
41212
41213       ac_ext=cpp
41214 ac_cpp='$CXXCPP $CPPFLAGS'
41215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41218
41219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41220 /* end confdefs.h.  */
41221 #include <math.h>
41222                       #ifdef HAVE_IEEEFP_H
41223                       #include <ieeefp.h>
41224                       #endif
41225
41226 int
41227 main ()
41228 {
41229  sqrtf(0);
41230   ;
41231   return 0;
41232 }
41233 _ACEOF
41234 if ac_fn_cxx_try_compile "$LINENO"; then :
41235   glibcxx_cv_func_sqrtf_use=yes
41236 else
41237   glibcxx_cv_func_sqrtf_use=no
41238 fi
41239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41240       ac_ext=c
41241 ac_cpp='$CPP $CPPFLAGS'
41242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41245
41246
41247 fi
41248
41249   fi
41250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41251 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41252
41253   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41254     for ac_func in sqrtf
41255 do :
41256   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41257 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41258   cat >>confdefs.h <<_ACEOF
41259 #define HAVE_SQRTF 1
41260 _ACEOF
41261
41262 fi
41263 done
41264
41265   else
41266
41267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41268 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41269   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41270     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41271   $as_echo_n "(cached) " >&6
41272 else
41273
41274
41275       ac_ext=cpp
41276 ac_cpp='$CXXCPP $CPPFLAGS'
41277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41280
41281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h.  */
41283 #include <math.h>
41284                       #ifdef HAVE_IEEEFP_H
41285                       #include <ieeefp.h>
41286                       #endif
41287
41288 int
41289 main ()
41290 {
41291  _sqrtf(0);
41292   ;
41293   return 0;
41294 }
41295 _ACEOF
41296 if ac_fn_cxx_try_compile "$LINENO"; then :
41297   glibcxx_cv_func__sqrtf_use=yes
41298 else
41299   glibcxx_cv_func__sqrtf_use=no
41300 fi
41301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41302       ac_ext=c
41303 ac_cpp='$CPP $CPPFLAGS'
41304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41307
41308
41309 fi
41310
41311   fi
41312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41313 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41314
41315     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41316       for ac_func in _sqrtf
41317 do :
41318   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41319 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41320   cat >>confdefs.h <<_ACEOF
41321 #define HAVE__SQRTF 1
41322 _ACEOF
41323
41324 fi
41325 done
41326
41327     fi
41328   fi
41329
41330
41331
41332
41333
41334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41335 $as_echo_n "checking for sincosf declaration... " >&6; }
41336   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41337     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41338   $as_echo_n "(cached) " >&6
41339 else
41340
41341
41342       ac_ext=cpp
41343 ac_cpp='$CXXCPP $CPPFLAGS'
41344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41347
41348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41349 /* end confdefs.h.  */
41350 #include <math.h>
41351 int
41352 main ()
41353 {
41354  sincosf(0, 0, 0);
41355   ;
41356   return 0;
41357 }
41358 _ACEOF
41359 if ac_fn_cxx_try_compile "$LINENO"; then :
41360   glibcxx_cv_func_sincosf_use=yes
41361 else
41362   glibcxx_cv_func_sincosf_use=no
41363 fi
41364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41365       ac_ext=c
41366 ac_cpp='$CPP $CPPFLAGS'
41367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41370
41371
41372 fi
41373
41374   fi
41375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41376 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41377
41378   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41379     for ac_func in sincosf
41380 do :
41381   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41382 if test "x$ac_cv_func_sincosf" = x""yes; then :
41383   cat >>confdefs.h <<_ACEOF
41384 #define HAVE_SINCOSF 1
41385 _ACEOF
41386
41387 fi
41388 done
41389
41390   else
41391
41392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41393 $as_echo_n "checking for _sincosf declaration... " >&6; }
41394   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41395     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41396   $as_echo_n "(cached) " >&6
41397 else
41398
41399
41400       ac_ext=cpp
41401 ac_cpp='$CXXCPP $CPPFLAGS'
41402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41405
41406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41407 /* end confdefs.h.  */
41408 #include <math.h>
41409 int
41410 main ()
41411 {
41412  _sincosf(0, 0, 0);
41413   ;
41414   return 0;
41415 }
41416 _ACEOF
41417 if ac_fn_cxx_try_compile "$LINENO"; then :
41418   glibcxx_cv_func__sincosf_use=yes
41419 else
41420   glibcxx_cv_func__sincosf_use=no
41421 fi
41422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41423       ac_ext=c
41424 ac_cpp='$CPP $CPPFLAGS'
41425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41428
41429
41430 fi
41431
41432   fi
41433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41434 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41435
41436     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41437       for ac_func in _sincosf
41438 do :
41439   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41440 if test "x$ac_cv_func__sincosf" = x""yes; then :
41441   cat >>confdefs.h <<_ACEOF
41442 #define HAVE__SINCOSF 1
41443 _ACEOF
41444
41445 fi
41446 done
41447
41448     fi
41449   fi
41450
41451
41452
41453
41454
41455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41456 $as_echo_n "checking for finitef declaration... " >&6; }
41457   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41458     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41459   $as_echo_n "(cached) " >&6
41460 else
41461
41462
41463       ac_ext=cpp
41464 ac_cpp='$CXXCPP $CPPFLAGS'
41465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41468
41469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41470 /* end confdefs.h.  */
41471 #include <math.h>
41472                       #ifdef HAVE_IEEEFP_H
41473                       #include <ieeefp.h>
41474                       #endif
41475
41476 int
41477 main ()
41478 {
41479  finitef(0);
41480   ;
41481   return 0;
41482 }
41483 _ACEOF
41484 if ac_fn_cxx_try_compile "$LINENO"; then :
41485   glibcxx_cv_func_finitef_use=yes
41486 else
41487   glibcxx_cv_func_finitef_use=no
41488 fi
41489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41490       ac_ext=c
41491 ac_cpp='$CPP $CPPFLAGS'
41492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41495
41496
41497 fi
41498
41499   fi
41500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41501 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41502
41503   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41504     for ac_func in finitef
41505 do :
41506   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41507 if test "x$ac_cv_func_finitef" = x""yes; then :
41508   cat >>confdefs.h <<_ACEOF
41509 #define HAVE_FINITEF 1
41510 _ACEOF
41511
41512 fi
41513 done
41514
41515   else
41516
41517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41518 $as_echo_n "checking for _finitef declaration... " >&6; }
41519   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41520     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41521   $as_echo_n "(cached) " >&6
41522 else
41523
41524
41525       ac_ext=cpp
41526 ac_cpp='$CXXCPP $CPPFLAGS'
41527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41530
41531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41532 /* end confdefs.h.  */
41533 #include <math.h>
41534                       #ifdef HAVE_IEEEFP_H
41535                       #include <ieeefp.h>
41536                       #endif
41537
41538 int
41539 main ()
41540 {
41541  _finitef(0);
41542   ;
41543   return 0;
41544 }
41545 _ACEOF
41546 if ac_fn_cxx_try_compile "$LINENO"; then :
41547   glibcxx_cv_func__finitef_use=yes
41548 else
41549   glibcxx_cv_func__finitef_use=no
41550 fi
41551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41552       ac_ext=c
41553 ac_cpp='$CPP $CPPFLAGS'
41554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41557
41558
41559 fi
41560
41561   fi
41562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41563 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41564
41565     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41566       for ac_func in _finitef
41567 do :
41568   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41569 if test "x$ac_cv_func__finitef" = x""yes; then :
41570   cat >>confdefs.h <<_ACEOF
41571 #define HAVE__FINITEF 1
41572 _ACEOF
41573
41574 fi
41575 done
41576
41577     fi
41578   fi
41579
41580
41581
41582
41583
41584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41585 $as_echo_n "checking for long double trig functions... " >&6; }
41586   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41587   $as_echo_n "(cached) " >&6
41588 else
41589
41590
41591     ac_ext=cpp
41592 ac_cpp='$CXXCPP $CPPFLAGS'
41593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41596
41597     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41598 /* end confdefs.h.  */
41599 #include <math.h>
41600 int
41601 main ()
41602 {
41603 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41604   ;
41605   return 0;
41606 }
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609   glibcxx_cv_func_long_double_trig_use=yes
41610 else
41611   glibcxx_cv_func_long_double_trig_use=no
41612 fi
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614     ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41619
41620 fi
41621
41622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41623 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41624   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41625     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41626 do :
41627   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41629 eval as_val=\$$as_ac_var
41630    if test "x$as_val" = x""yes; then :
41631   cat >>confdefs.h <<_ACEOF
41632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41633 _ACEOF
41634
41635 fi
41636 done
41637
41638   else
41639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41640 $as_echo_n "checking for _long double trig functions... " >&6; }
41641     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41642   $as_echo_n "(cached) " >&6
41643 else
41644
41645
41646       ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651
41652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h.  */
41654 #include <math.h>
41655 int
41656 main ()
41657 {
41658 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41659   ;
41660   return 0;
41661 }
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664   glibcxx_cv_func__long_double_trig_use=yes
41665 else
41666   glibcxx_cv_func__long_double_trig_use=no
41667 fi
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669       ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41674
41675 fi
41676
41677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41678 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41679     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41680       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41681 do :
41682   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41684 eval as_val=\$$as_ac_var
41685    if test "x$as_val" = x""yes; then :
41686   cat >>confdefs.h <<_ACEOF
41687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41688 _ACEOF
41689
41690 fi
41691 done
41692
41693     fi
41694   fi
41695
41696
41697
41698
41699
41700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41701 $as_echo_n "checking for long double round functions... " >&6; }
41702   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41703   $as_echo_n "(cached) " >&6
41704 else
41705
41706
41707     ac_ext=cpp
41708 ac_cpp='$CXXCPP $CPPFLAGS'
41709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41712
41713     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 /* end confdefs.h.  */
41715 #include <math.h>
41716 int
41717 main ()
41718 {
41719 ceill (0); floorl (0);
41720   ;
41721   return 0;
41722 }
41723 _ACEOF
41724 if ac_fn_cxx_try_compile "$LINENO"; then :
41725   glibcxx_cv_func_long_double_round_use=yes
41726 else
41727   glibcxx_cv_func_long_double_round_use=no
41728 fi
41729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41730     ac_ext=c
41731 ac_cpp='$CPP $CPPFLAGS'
41732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41735
41736 fi
41737
41738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41739 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41740   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41741     for ac_func in ceill floorl
41742 do :
41743   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41745 eval as_val=\$$as_ac_var
41746    if test "x$as_val" = x""yes; then :
41747   cat >>confdefs.h <<_ACEOF
41748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41749 _ACEOF
41750
41751 fi
41752 done
41753
41754   else
41755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41756 $as_echo_n "checking for _long double round functions... " >&6; }
41757     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41758   $as_echo_n "(cached) " >&6
41759 else
41760
41761
41762       ac_ext=cpp
41763 ac_cpp='$CXXCPP $CPPFLAGS'
41764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41767
41768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41769 /* end confdefs.h.  */
41770 #include <math.h>
41771 int
41772 main ()
41773 {
41774 _ceill (0); _floorl (0);
41775   ;
41776   return 0;
41777 }
41778 _ACEOF
41779 if ac_fn_cxx_try_compile "$LINENO"; then :
41780   glibcxx_cv_func__long_double_round_use=yes
41781 else
41782   glibcxx_cv_func__long_double_round_use=no
41783 fi
41784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41785       ac_ext=c
41786 ac_cpp='$CPP $CPPFLAGS'
41787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41790
41791 fi
41792
41793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41794 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41795     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41796       for ac_func in _ceill _floorl
41797 do :
41798   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41800 eval as_val=\$$as_ac_var
41801    if test "x$as_val" = x""yes; then :
41802   cat >>confdefs.h <<_ACEOF
41803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41804 _ACEOF
41805
41806 fi
41807 done
41808
41809     fi
41810   fi
41811
41812
41813
41814
41815
41816
41817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41818 $as_echo_n "checking for isnanl declaration... " >&6; }
41819   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41820     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41821   $as_echo_n "(cached) " >&6
41822 else
41823
41824
41825       ac_ext=cpp
41826 ac_cpp='$CXXCPP $CPPFLAGS'
41827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41830
41831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41832 /* end confdefs.h.  */
41833 #include <math.h>
41834                       #ifdef HAVE_IEEEFP_H
41835                       #include <ieeefp.h>
41836                       #endif
41837
41838 int
41839 main ()
41840 {
41841  isnanl(0);
41842   ;
41843   return 0;
41844 }
41845 _ACEOF
41846 if ac_fn_cxx_try_compile "$LINENO"; then :
41847   glibcxx_cv_func_isnanl_use=yes
41848 else
41849   glibcxx_cv_func_isnanl_use=no
41850 fi
41851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41852       ac_ext=c
41853 ac_cpp='$CPP $CPPFLAGS'
41854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41857
41858
41859 fi
41860
41861   fi
41862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41863 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41864
41865   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41866     for ac_func in isnanl
41867 do :
41868   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41869 if test "x$ac_cv_func_isnanl" = x""yes; then :
41870   cat >>confdefs.h <<_ACEOF
41871 #define HAVE_ISNANL 1
41872 _ACEOF
41873
41874 fi
41875 done
41876
41877   else
41878
41879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41880 $as_echo_n "checking for _isnanl declaration... " >&6; }
41881   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41882     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41883   $as_echo_n "(cached) " >&6
41884 else
41885
41886
41887       ac_ext=cpp
41888 ac_cpp='$CXXCPP $CPPFLAGS'
41889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41892
41893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41894 /* end confdefs.h.  */
41895 #include <math.h>
41896                       #ifdef HAVE_IEEEFP_H
41897                       #include <ieeefp.h>
41898                       #endif
41899
41900 int
41901 main ()
41902 {
41903  _isnanl(0);
41904   ;
41905   return 0;
41906 }
41907 _ACEOF
41908 if ac_fn_cxx_try_compile "$LINENO"; then :
41909   glibcxx_cv_func__isnanl_use=yes
41910 else
41911   glibcxx_cv_func__isnanl_use=no
41912 fi
41913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41914       ac_ext=c
41915 ac_cpp='$CPP $CPPFLAGS'
41916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41919
41920
41921 fi
41922
41923   fi
41924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41925 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41926
41927     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41928       for ac_func in _isnanl
41929 do :
41930   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41931 if test "x$ac_cv_func__isnanl" = x""yes; then :
41932   cat >>confdefs.h <<_ACEOF
41933 #define HAVE__ISNANL 1
41934 _ACEOF
41935
41936 fi
41937 done
41938
41939     fi
41940   fi
41941
41942
41943
41944
41945
41946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41947 $as_echo_n "checking for isinfl declaration... " >&6; }
41948   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41949     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41950   $as_echo_n "(cached) " >&6
41951 else
41952
41953
41954       ac_ext=cpp
41955 ac_cpp='$CXXCPP $CPPFLAGS'
41956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41959
41960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41961 /* end confdefs.h.  */
41962 #include <math.h>
41963                       #ifdef HAVE_IEEEFP_H
41964                       #include <ieeefp.h>
41965                       #endif
41966
41967 int
41968 main ()
41969 {
41970  isinfl(0);
41971   ;
41972   return 0;
41973 }
41974 _ACEOF
41975 if ac_fn_cxx_try_compile "$LINENO"; then :
41976   glibcxx_cv_func_isinfl_use=yes
41977 else
41978   glibcxx_cv_func_isinfl_use=no
41979 fi
41980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41981       ac_ext=c
41982 ac_cpp='$CPP $CPPFLAGS'
41983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41986
41987
41988 fi
41989
41990   fi
41991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41992 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41993
41994   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41995     for ac_func in isinfl
41996 do :
41997   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41998 if test "x$ac_cv_func_isinfl" = x""yes; then :
41999   cat >>confdefs.h <<_ACEOF
42000 #define HAVE_ISINFL 1
42001 _ACEOF
42002
42003 fi
42004 done
42005
42006   else
42007
42008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42009 $as_echo_n "checking for _isinfl declaration... " >&6; }
42010   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42011     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42012   $as_echo_n "(cached) " >&6
42013 else
42014
42015
42016       ac_ext=cpp
42017 ac_cpp='$CXXCPP $CPPFLAGS'
42018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021
42022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h.  */
42024 #include <math.h>
42025                       #ifdef HAVE_IEEEFP_H
42026                       #include <ieeefp.h>
42027                       #endif
42028
42029 int
42030 main ()
42031 {
42032  _isinfl(0);
42033   ;
42034   return 0;
42035 }
42036 _ACEOF
42037 if ac_fn_cxx_try_compile "$LINENO"; then :
42038   glibcxx_cv_func__isinfl_use=yes
42039 else
42040   glibcxx_cv_func__isinfl_use=no
42041 fi
42042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42043       ac_ext=c
42044 ac_cpp='$CPP $CPPFLAGS'
42045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42048
42049
42050 fi
42051
42052   fi
42053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42054 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42055
42056     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42057       for ac_func in _isinfl
42058 do :
42059   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42060 if test "x$ac_cv_func__isinfl" = x""yes; then :
42061   cat >>confdefs.h <<_ACEOF
42062 #define HAVE__ISINFL 1
42063 _ACEOF
42064
42065 fi
42066 done
42067
42068     fi
42069   fi
42070
42071
42072
42073
42074
42075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42076 $as_echo_n "checking for atan2l declaration... " >&6; }
42077   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42078     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42079   $as_echo_n "(cached) " >&6
42080 else
42081
42082
42083       ac_ext=cpp
42084 ac_cpp='$CXXCPP $CPPFLAGS'
42085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42088
42089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42090 /* end confdefs.h.  */
42091 #include <math.h>
42092 int
42093 main ()
42094 {
42095  atan2l(0, 0);
42096   ;
42097   return 0;
42098 }
42099 _ACEOF
42100 if ac_fn_cxx_try_compile "$LINENO"; then :
42101   glibcxx_cv_func_atan2l_use=yes
42102 else
42103   glibcxx_cv_func_atan2l_use=no
42104 fi
42105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42106       ac_ext=c
42107 ac_cpp='$CPP $CPPFLAGS'
42108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42111
42112
42113 fi
42114
42115   fi
42116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42117 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42118
42119   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42120     for ac_func in atan2l
42121 do :
42122   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42123 if test "x$ac_cv_func_atan2l" = x""yes; then :
42124   cat >>confdefs.h <<_ACEOF
42125 #define HAVE_ATAN2L 1
42126 _ACEOF
42127
42128 fi
42129 done
42130
42131   else
42132
42133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42134 $as_echo_n "checking for _atan2l declaration... " >&6; }
42135   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42136     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42137   $as_echo_n "(cached) " >&6
42138 else
42139
42140
42141       ac_ext=cpp
42142 ac_cpp='$CXXCPP $CPPFLAGS'
42143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42146
42147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42148 /* end confdefs.h.  */
42149 #include <math.h>
42150 int
42151 main ()
42152 {
42153  _atan2l(0, 0);
42154   ;
42155   return 0;
42156 }
42157 _ACEOF
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159   glibcxx_cv_func__atan2l_use=yes
42160 else
42161   glibcxx_cv_func__atan2l_use=no
42162 fi
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42164       ac_ext=c
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42169
42170
42171 fi
42172
42173   fi
42174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42175 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42176
42177     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42178       for ac_func in _atan2l
42179 do :
42180   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42181 if test "x$ac_cv_func__atan2l" = x""yes; then :
42182   cat >>confdefs.h <<_ACEOF
42183 #define HAVE__ATAN2L 1
42184 _ACEOF
42185
42186 fi
42187 done
42188
42189     fi
42190   fi
42191
42192
42193
42194
42195
42196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42197 $as_echo_n "checking for expl declaration... " >&6; }
42198   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42199     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42200   $as_echo_n "(cached) " >&6
42201 else
42202
42203
42204       ac_ext=cpp
42205 ac_cpp='$CXXCPP $CPPFLAGS'
42206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42209
42210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42211 /* end confdefs.h.  */
42212 #include <math.h>
42213                       #ifdef HAVE_IEEEFP_H
42214                       #include <ieeefp.h>
42215                       #endif
42216
42217 int
42218 main ()
42219 {
42220  expl(0);
42221   ;
42222   return 0;
42223 }
42224 _ACEOF
42225 if ac_fn_cxx_try_compile "$LINENO"; then :
42226   glibcxx_cv_func_expl_use=yes
42227 else
42228   glibcxx_cv_func_expl_use=no
42229 fi
42230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42231       ac_ext=c
42232 ac_cpp='$CPP $CPPFLAGS'
42233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42236
42237
42238 fi
42239
42240   fi
42241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42242 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42243
42244   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42245     for ac_func in expl
42246 do :
42247   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42248 if test "x$ac_cv_func_expl" = x""yes; then :
42249   cat >>confdefs.h <<_ACEOF
42250 #define HAVE_EXPL 1
42251 _ACEOF
42252
42253 fi
42254 done
42255
42256   else
42257
42258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42259 $as_echo_n "checking for _expl declaration... " >&6; }
42260   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42261     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42262   $as_echo_n "(cached) " >&6
42263 else
42264
42265
42266       ac_ext=cpp
42267 ac_cpp='$CXXCPP $CPPFLAGS'
42268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42271
42272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42273 /* end confdefs.h.  */
42274 #include <math.h>
42275                       #ifdef HAVE_IEEEFP_H
42276                       #include <ieeefp.h>
42277                       #endif
42278
42279 int
42280 main ()
42281 {
42282  _expl(0);
42283   ;
42284   return 0;
42285 }
42286 _ACEOF
42287 if ac_fn_cxx_try_compile "$LINENO"; then :
42288   glibcxx_cv_func__expl_use=yes
42289 else
42290   glibcxx_cv_func__expl_use=no
42291 fi
42292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42293       ac_ext=c
42294 ac_cpp='$CPP $CPPFLAGS'
42295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42298
42299
42300 fi
42301
42302   fi
42303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42304 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42305
42306     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42307       for ac_func in _expl
42308 do :
42309   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42310 if test "x$ac_cv_func__expl" = x""yes; then :
42311   cat >>confdefs.h <<_ACEOF
42312 #define HAVE__EXPL 1
42313 _ACEOF
42314
42315 fi
42316 done
42317
42318     fi
42319   fi
42320
42321
42322
42323
42324
42325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42326 $as_echo_n "checking for fabsl declaration... " >&6; }
42327   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42328     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42329   $as_echo_n "(cached) " >&6
42330 else
42331
42332
42333       ac_ext=cpp
42334 ac_cpp='$CXXCPP $CPPFLAGS'
42335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42338
42339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42340 /* end confdefs.h.  */
42341 #include <math.h>
42342                       #ifdef HAVE_IEEEFP_H
42343                       #include <ieeefp.h>
42344                       #endif
42345
42346 int
42347 main ()
42348 {
42349  fabsl(0);
42350   ;
42351   return 0;
42352 }
42353 _ACEOF
42354 if ac_fn_cxx_try_compile "$LINENO"; then :
42355   glibcxx_cv_func_fabsl_use=yes
42356 else
42357   glibcxx_cv_func_fabsl_use=no
42358 fi
42359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42360       ac_ext=c
42361 ac_cpp='$CPP $CPPFLAGS'
42362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365
42366
42367 fi
42368
42369   fi
42370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42371 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42372
42373   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42374     for ac_func in fabsl
42375 do :
42376   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42377 if test "x$ac_cv_func_fabsl" = x""yes; then :
42378   cat >>confdefs.h <<_ACEOF
42379 #define HAVE_FABSL 1
42380 _ACEOF
42381
42382 fi
42383 done
42384
42385   else
42386
42387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42388 $as_echo_n "checking for _fabsl declaration... " >&6; }
42389   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42390     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42391   $as_echo_n "(cached) " >&6
42392 else
42393
42394
42395       ac_ext=cpp
42396 ac_cpp='$CXXCPP $CPPFLAGS'
42397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400
42401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42402 /* end confdefs.h.  */
42403 #include <math.h>
42404                       #ifdef HAVE_IEEEFP_H
42405                       #include <ieeefp.h>
42406                       #endif
42407
42408 int
42409 main ()
42410 {
42411  _fabsl(0);
42412   ;
42413   return 0;
42414 }
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417   glibcxx_cv_func__fabsl_use=yes
42418 else
42419   glibcxx_cv_func__fabsl_use=no
42420 fi
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422       ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427
42428
42429 fi
42430
42431   fi
42432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42433 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42434
42435     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42436       for ac_func in _fabsl
42437 do :
42438   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42439 if test "x$ac_cv_func__fabsl" = x""yes; then :
42440   cat >>confdefs.h <<_ACEOF
42441 #define HAVE__FABSL 1
42442 _ACEOF
42443
42444 fi
42445 done
42446
42447     fi
42448   fi
42449
42450
42451
42452
42453
42454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42455 $as_echo_n "checking for fmodl declaration... " >&6; }
42456   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42457     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42458   $as_echo_n "(cached) " >&6
42459 else
42460
42461
42462       ac_ext=cpp
42463 ac_cpp='$CXXCPP $CPPFLAGS'
42464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42467
42468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42469 /* end confdefs.h.  */
42470 #include <math.h>
42471 int
42472 main ()
42473 {
42474  fmodl(0, 0);
42475   ;
42476   return 0;
42477 }
42478 _ACEOF
42479 if ac_fn_cxx_try_compile "$LINENO"; then :
42480   glibcxx_cv_func_fmodl_use=yes
42481 else
42482   glibcxx_cv_func_fmodl_use=no
42483 fi
42484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42485       ac_ext=c
42486 ac_cpp='$CPP $CPPFLAGS'
42487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42490
42491
42492 fi
42493
42494   fi
42495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42496 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42497
42498   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42499     for ac_func in fmodl
42500 do :
42501   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42502 if test "x$ac_cv_func_fmodl" = x""yes; then :
42503   cat >>confdefs.h <<_ACEOF
42504 #define HAVE_FMODL 1
42505 _ACEOF
42506
42507 fi
42508 done
42509
42510   else
42511
42512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42513 $as_echo_n "checking for _fmodl declaration... " >&6; }
42514   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42515     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42516   $as_echo_n "(cached) " >&6
42517 else
42518
42519
42520       ac_ext=cpp
42521 ac_cpp='$CXXCPP $CPPFLAGS'
42522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525
42526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42527 /* end confdefs.h.  */
42528 #include <math.h>
42529 int
42530 main ()
42531 {
42532  _fmodl(0, 0);
42533   ;
42534   return 0;
42535 }
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538   glibcxx_cv_func__fmodl_use=yes
42539 else
42540   glibcxx_cv_func__fmodl_use=no
42541 fi
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543       ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548
42549
42550 fi
42551
42552   fi
42553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42554 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42555
42556     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42557       for ac_func in _fmodl
42558 do :
42559   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42560 if test "x$ac_cv_func__fmodl" = x""yes; then :
42561   cat >>confdefs.h <<_ACEOF
42562 #define HAVE__FMODL 1
42563 _ACEOF
42564
42565 fi
42566 done
42567
42568     fi
42569   fi
42570
42571
42572
42573
42574
42575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42576 $as_echo_n "checking for frexpl declaration... " >&6; }
42577   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42578     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42579   $as_echo_n "(cached) " >&6
42580 else
42581
42582
42583       ac_ext=cpp
42584 ac_cpp='$CXXCPP $CPPFLAGS'
42585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42588
42589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42590 /* end confdefs.h.  */
42591 #include <math.h>
42592 int
42593 main ()
42594 {
42595  frexpl(0, 0);
42596   ;
42597   return 0;
42598 }
42599 _ACEOF
42600 if ac_fn_cxx_try_compile "$LINENO"; then :
42601   glibcxx_cv_func_frexpl_use=yes
42602 else
42603   glibcxx_cv_func_frexpl_use=no
42604 fi
42605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42606       ac_ext=c
42607 ac_cpp='$CPP $CPPFLAGS'
42608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42611
42612
42613 fi
42614
42615   fi
42616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42617 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42618
42619   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42620     for ac_func in frexpl
42621 do :
42622   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42623 if test "x$ac_cv_func_frexpl" = x""yes; then :
42624   cat >>confdefs.h <<_ACEOF
42625 #define HAVE_FREXPL 1
42626 _ACEOF
42627
42628 fi
42629 done
42630
42631   else
42632
42633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42634 $as_echo_n "checking for _frexpl declaration... " >&6; }
42635   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42636     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42637   $as_echo_n "(cached) " >&6
42638 else
42639
42640
42641       ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42646
42647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h.  */
42649 #include <math.h>
42650 int
42651 main ()
42652 {
42653  _frexpl(0, 0);
42654   ;
42655   return 0;
42656 }
42657 _ACEOF
42658 if ac_fn_cxx_try_compile "$LINENO"; then :
42659   glibcxx_cv_func__frexpl_use=yes
42660 else
42661   glibcxx_cv_func__frexpl_use=no
42662 fi
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42664       ac_ext=c
42665 ac_cpp='$CPP $CPPFLAGS'
42666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42669
42670
42671 fi
42672
42673   fi
42674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42675 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42676
42677     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42678       for ac_func in _frexpl
42679 do :
42680   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42681 if test "x$ac_cv_func__frexpl" = x""yes; then :
42682   cat >>confdefs.h <<_ACEOF
42683 #define HAVE__FREXPL 1
42684 _ACEOF
42685
42686 fi
42687 done
42688
42689     fi
42690   fi
42691
42692
42693
42694
42695
42696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42697 $as_echo_n "checking for hypotl declaration... " >&6; }
42698   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42699     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42700   $as_echo_n "(cached) " >&6
42701 else
42702
42703
42704       ac_ext=cpp
42705 ac_cpp='$CXXCPP $CPPFLAGS'
42706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42709
42710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42711 /* end confdefs.h.  */
42712 #include <math.h>
42713 int
42714 main ()
42715 {
42716  hypotl(0, 0);
42717   ;
42718   return 0;
42719 }
42720 _ACEOF
42721 if ac_fn_cxx_try_compile "$LINENO"; then :
42722   glibcxx_cv_func_hypotl_use=yes
42723 else
42724   glibcxx_cv_func_hypotl_use=no
42725 fi
42726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42727       ac_ext=c
42728 ac_cpp='$CPP $CPPFLAGS'
42729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42732
42733
42734 fi
42735
42736   fi
42737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42738 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42739
42740   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42741     for ac_func in hypotl
42742 do :
42743   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42744 if test "x$ac_cv_func_hypotl" = x""yes; then :
42745   cat >>confdefs.h <<_ACEOF
42746 #define HAVE_HYPOTL 1
42747 _ACEOF
42748
42749 fi
42750 done
42751
42752   else
42753
42754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42755 $as_echo_n "checking for _hypotl declaration... " >&6; }
42756   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42757     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42758   $as_echo_n "(cached) " >&6
42759 else
42760
42761
42762       ac_ext=cpp
42763 ac_cpp='$CXXCPP $CPPFLAGS'
42764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42767
42768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42769 /* end confdefs.h.  */
42770 #include <math.h>
42771 int
42772 main ()
42773 {
42774  _hypotl(0, 0);
42775   ;
42776   return 0;
42777 }
42778 _ACEOF
42779 if ac_fn_cxx_try_compile "$LINENO"; then :
42780   glibcxx_cv_func__hypotl_use=yes
42781 else
42782   glibcxx_cv_func__hypotl_use=no
42783 fi
42784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42785       ac_ext=c
42786 ac_cpp='$CPP $CPPFLAGS'
42787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42790
42791
42792 fi
42793
42794   fi
42795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42796 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42797
42798     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42799       for ac_func in _hypotl
42800 do :
42801   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42802 if test "x$ac_cv_func__hypotl" = x""yes; then :
42803   cat >>confdefs.h <<_ACEOF
42804 #define HAVE__HYPOTL 1
42805 _ACEOF
42806
42807 fi
42808 done
42809
42810     fi
42811   fi
42812
42813
42814
42815
42816
42817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42818 $as_echo_n "checking for ldexpl declaration... " >&6; }
42819   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42820     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42821   $as_echo_n "(cached) " >&6
42822 else
42823
42824
42825       ac_ext=cpp
42826 ac_cpp='$CXXCPP $CPPFLAGS'
42827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42830
42831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42832 /* end confdefs.h.  */
42833 #include <math.h>
42834 int
42835 main ()
42836 {
42837  ldexpl(0, 0);
42838   ;
42839   return 0;
42840 }
42841 _ACEOF
42842 if ac_fn_cxx_try_compile "$LINENO"; then :
42843   glibcxx_cv_func_ldexpl_use=yes
42844 else
42845   glibcxx_cv_func_ldexpl_use=no
42846 fi
42847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42848       ac_ext=c
42849 ac_cpp='$CPP $CPPFLAGS'
42850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42853
42854
42855 fi
42856
42857   fi
42858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42859 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42860
42861   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42862     for ac_func in ldexpl
42863 do :
42864   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42865 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42866   cat >>confdefs.h <<_ACEOF
42867 #define HAVE_LDEXPL 1
42868 _ACEOF
42869
42870 fi
42871 done
42872
42873   else
42874
42875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42876 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42877   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42878     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42879   $as_echo_n "(cached) " >&6
42880 else
42881
42882
42883       ac_ext=cpp
42884 ac_cpp='$CXXCPP $CPPFLAGS'
42885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42888
42889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42890 /* end confdefs.h.  */
42891 #include <math.h>
42892 int
42893 main ()
42894 {
42895  _ldexpl(0, 0);
42896   ;
42897   return 0;
42898 }
42899 _ACEOF
42900 if ac_fn_cxx_try_compile "$LINENO"; then :
42901   glibcxx_cv_func__ldexpl_use=yes
42902 else
42903   glibcxx_cv_func__ldexpl_use=no
42904 fi
42905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42906       ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42911
42912
42913 fi
42914
42915   fi
42916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42917 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42918
42919     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42920       for ac_func in _ldexpl
42921 do :
42922   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42923 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42924   cat >>confdefs.h <<_ACEOF
42925 #define HAVE__LDEXPL 1
42926 _ACEOF
42927
42928 fi
42929 done
42930
42931     fi
42932   fi
42933
42934
42935
42936
42937
42938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42939 $as_echo_n "checking for logl declaration... " >&6; }
42940   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42941     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42942   $as_echo_n "(cached) " >&6
42943 else
42944
42945
42946       ac_ext=cpp
42947 ac_cpp='$CXXCPP $CPPFLAGS'
42948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42951
42952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42953 /* end confdefs.h.  */
42954 #include <math.h>
42955                       #ifdef HAVE_IEEEFP_H
42956                       #include <ieeefp.h>
42957                       #endif
42958
42959 int
42960 main ()
42961 {
42962  logl(0);
42963   ;
42964   return 0;
42965 }
42966 _ACEOF
42967 if ac_fn_cxx_try_compile "$LINENO"; then :
42968   glibcxx_cv_func_logl_use=yes
42969 else
42970   glibcxx_cv_func_logl_use=no
42971 fi
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973       ac_ext=c
42974 ac_cpp='$CPP $CPPFLAGS'
42975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42978
42979
42980 fi
42981
42982   fi
42983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42984 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42985
42986   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42987     for ac_func in logl
42988 do :
42989   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42990 if test "x$ac_cv_func_logl" = x""yes; then :
42991   cat >>confdefs.h <<_ACEOF
42992 #define HAVE_LOGL 1
42993 _ACEOF
42994
42995 fi
42996 done
42997
42998   else
42999
43000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43001 $as_echo_n "checking for _logl declaration... " >&6; }
43002   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43003     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43004   $as_echo_n "(cached) " >&6
43005 else
43006
43007
43008       ac_ext=cpp
43009 ac_cpp='$CXXCPP $CPPFLAGS'
43010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43013
43014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43015 /* end confdefs.h.  */
43016 #include <math.h>
43017                       #ifdef HAVE_IEEEFP_H
43018                       #include <ieeefp.h>
43019                       #endif
43020
43021 int
43022 main ()
43023 {
43024  _logl(0);
43025   ;
43026   return 0;
43027 }
43028 _ACEOF
43029 if ac_fn_cxx_try_compile "$LINENO"; then :
43030   glibcxx_cv_func__logl_use=yes
43031 else
43032   glibcxx_cv_func__logl_use=no
43033 fi
43034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43035       ac_ext=c
43036 ac_cpp='$CPP $CPPFLAGS'
43037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43040
43041
43042 fi
43043
43044   fi
43045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43046 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43047
43048     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43049       for ac_func in _logl
43050 do :
43051   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43052 if test "x$ac_cv_func__logl" = x""yes; then :
43053   cat >>confdefs.h <<_ACEOF
43054 #define HAVE__LOGL 1
43055 _ACEOF
43056
43057 fi
43058 done
43059
43060     fi
43061   fi
43062
43063
43064
43065
43066
43067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43068 $as_echo_n "checking for log10l declaration... " >&6; }
43069   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43070     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43071   $as_echo_n "(cached) " >&6
43072 else
43073
43074
43075       ac_ext=cpp
43076 ac_cpp='$CXXCPP $CPPFLAGS'
43077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080
43081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43082 /* end confdefs.h.  */
43083 #include <math.h>
43084                       #ifdef HAVE_IEEEFP_H
43085                       #include <ieeefp.h>
43086                       #endif
43087
43088 int
43089 main ()
43090 {
43091  log10l(0);
43092   ;
43093   return 0;
43094 }
43095 _ACEOF
43096 if ac_fn_cxx_try_compile "$LINENO"; then :
43097   glibcxx_cv_func_log10l_use=yes
43098 else
43099   glibcxx_cv_func_log10l_use=no
43100 fi
43101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43102       ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43107
43108
43109 fi
43110
43111   fi
43112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43113 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43114
43115   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43116     for ac_func in log10l
43117 do :
43118   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43119 if test "x$ac_cv_func_log10l" = x""yes; then :
43120   cat >>confdefs.h <<_ACEOF
43121 #define HAVE_LOG10L 1
43122 _ACEOF
43123
43124 fi
43125 done
43126
43127   else
43128
43129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43130 $as_echo_n "checking for _log10l declaration... " >&6; }
43131   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43132     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43133   $as_echo_n "(cached) " >&6
43134 else
43135
43136
43137       ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43142
43143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h.  */
43145 #include <math.h>
43146                       #ifdef HAVE_IEEEFP_H
43147                       #include <ieeefp.h>
43148                       #endif
43149
43150 int
43151 main ()
43152 {
43153  _log10l(0);
43154   ;
43155   return 0;
43156 }
43157 _ACEOF
43158 if ac_fn_cxx_try_compile "$LINENO"; then :
43159   glibcxx_cv_func__log10l_use=yes
43160 else
43161   glibcxx_cv_func__log10l_use=no
43162 fi
43163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43164       ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43169
43170
43171 fi
43172
43173   fi
43174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43175 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43176
43177     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43178       for ac_func in _log10l
43179 do :
43180   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43181 if test "x$ac_cv_func__log10l" = x""yes; then :
43182   cat >>confdefs.h <<_ACEOF
43183 #define HAVE__LOG10L 1
43184 _ACEOF
43185
43186 fi
43187 done
43188
43189     fi
43190   fi
43191
43192
43193
43194
43195
43196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43197 $as_echo_n "checking for modfl declaration... " >&6; }
43198   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43199     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43200   $as_echo_n "(cached) " >&6
43201 else
43202
43203
43204       ac_ext=cpp
43205 ac_cpp='$CXXCPP $CPPFLAGS'
43206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43209
43210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43211 /* end confdefs.h.  */
43212 #include <math.h>
43213 int
43214 main ()
43215 {
43216  modfl(0, 0);
43217   ;
43218   return 0;
43219 }
43220 _ACEOF
43221 if ac_fn_cxx_try_compile "$LINENO"; then :
43222   glibcxx_cv_func_modfl_use=yes
43223 else
43224   glibcxx_cv_func_modfl_use=no
43225 fi
43226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43227       ac_ext=c
43228 ac_cpp='$CPP $CPPFLAGS'
43229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43232
43233
43234 fi
43235
43236   fi
43237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43238 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43239
43240   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43241     for ac_func in modfl
43242 do :
43243   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43244 if test "x$ac_cv_func_modfl" = x""yes; then :
43245   cat >>confdefs.h <<_ACEOF
43246 #define HAVE_MODFL 1
43247 _ACEOF
43248
43249 fi
43250 done
43251
43252   else
43253
43254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43255 $as_echo_n "checking for _modfl declaration... " >&6; }
43256   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43257     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43258   $as_echo_n "(cached) " >&6
43259 else
43260
43261
43262       ac_ext=cpp
43263 ac_cpp='$CXXCPP $CPPFLAGS'
43264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43267
43268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43269 /* end confdefs.h.  */
43270 #include <math.h>
43271 int
43272 main ()
43273 {
43274  _modfl(0, 0);
43275   ;
43276   return 0;
43277 }
43278 _ACEOF
43279 if ac_fn_cxx_try_compile "$LINENO"; then :
43280   glibcxx_cv_func__modfl_use=yes
43281 else
43282   glibcxx_cv_func__modfl_use=no
43283 fi
43284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43285       ac_ext=c
43286 ac_cpp='$CPP $CPPFLAGS'
43287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43290
43291
43292 fi
43293
43294   fi
43295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43296 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43297
43298     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43299       for ac_func in _modfl
43300 do :
43301   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43302 if test "x$ac_cv_func__modfl" = x""yes; then :
43303   cat >>confdefs.h <<_ACEOF
43304 #define HAVE__MODFL 1
43305 _ACEOF
43306
43307 fi
43308 done
43309
43310     fi
43311   fi
43312
43313
43314
43315
43316
43317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43318 $as_echo_n "checking for powl declaration... " >&6; }
43319   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43320     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43321   $as_echo_n "(cached) " >&6
43322 else
43323
43324
43325       ac_ext=cpp
43326 ac_cpp='$CXXCPP $CPPFLAGS'
43327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43330
43331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43332 /* end confdefs.h.  */
43333 #include <math.h>
43334 int
43335 main ()
43336 {
43337  powl(0, 0);
43338   ;
43339   return 0;
43340 }
43341 _ACEOF
43342 if ac_fn_cxx_try_compile "$LINENO"; then :
43343   glibcxx_cv_func_powl_use=yes
43344 else
43345   glibcxx_cv_func_powl_use=no
43346 fi
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348       ac_ext=c
43349 ac_cpp='$CPP $CPPFLAGS'
43350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43353
43354
43355 fi
43356
43357   fi
43358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43359 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43360
43361   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43362     for ac_func in powl
43363 do :
43364   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43365 if test "x$ac_cv_func_powl" = x""yes; then :
43366   cat >>confdefs.h <<_ACEOF
43367 #define HAVE_POWL 1
43368 _ACEOF
43369
43370 fi
43371 done
43372
43373   else
43374
43375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43376 $as_echo_n "checking for _powl declaration... " >&6; }
43377   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43378     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43379   $as_echo_n "(cached) " >&6
43380 else
43381
43382
43383       ac_ext=cpp
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388
43389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43390 /* end confdefs.h.  */
43391 #include <math.h>
43392 int
43393 main ()
43394 {
43395  _powl(0, 0);
43396   ;
43397   return 0;
43398 }
43399 _ACEOF
43400 if ac_fn_cxx_try_compile "$LINENO"; then :
43401   glibcxx_cv_func__powl_use=yes
43402 else
43403   glibcxx_cv_func__powl_use=no
43404 fi
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406       ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43411
43412
43413 fi
43414
43415   fi
43416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43417 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43418
43419     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43420       for ac_func in _powl
43421 do :
43422   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43423 if test "x$ac_cv_func__powl" = x""yes; then :
43424   cat >>confdefs.h <<_ACEOF
43425 #define HAVE__POWL 1
43426 _ACEOF
43427
43428 fi
43429 done
43430
43431     fi
43432   fi
43433
43434
43435
43436
43437
43438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43439 $as_echo_n "checking for sqrtl declaration... " >&6; }
43440   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43441     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43442   $as_echo_n "(cached) " >&6
43443 else
43444
43445
43446       ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451
43452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h.  */
43454 #include <math.h>
43455                       #ifdef HAVE_IEEEFP_H
43456                       #include <ieeefp.h>
43457                       #endif
43458
43459 int
43460 main ()
43461 {
43462  sqrtl(0);
43463   ;
43464   return 0;
43465 }
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468   glibcxx_cv_func_sqrtl_use=yes
43469 else
43470   glibcxx_cv_func_sqrtl_use=no
43471 fi
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473       ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478
43479
43480 fi
43481
43482   fi
43483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43484 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43485
43486   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43487     for ac_func in sqrtl
43488 do :
43489   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43490 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43491   cat >>confdefs.h <<_ACEOF
43492 #define HAVE_SQRTL 1
43493 _ACEOF
43494
43495 fi
43496 done
43497
43498   else
43499
43500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43501 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43502   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43503     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43504   $as_echo_n "(cached) " >&6
43505 else
43506
43507
43508       ac_ext=cpp
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43513
43514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43515 /* end confdefs.h.  */
43516 #include <math.h>
43517                       #ifdef HAVE_IEEEFP_H
43518                       #include <ieeefp.h>
43519                       #endif
43520
43521 int
43522 main ()
43523 {
43524  _sqrtl(0);
43525   ;
43526   return 0;
43527 }
43528 _ACEOF
43529 if ac_fn_cxx_try_compile "$LINENO"; then :
43530   glibcxx_cv_func__sqrtl_use=yes
43531 else
43532   glibcxx_cv_func__sqrtl_use=no
43533 fi
43534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43535       ac_ext=c
43536 ac_cpp='$CPP $CPPFLAGS'
43537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43540
43541
43542 fi
43543
43544   fi
43545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43546 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43547
43548     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43549       for ac_func in _sqrtl
43550 do :
43551   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43552 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43553   cat >>confdefs.h <<_ACEOF
43554 #define HAVE__SQRTL 1
43555 _ACEOF
43556
43557 fi
43558 done
43559
43560     fi
43561   fi
43562
43563
43564
43565
43566
43567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43568 $as_echo_n "checking for sincosl declaration... " >&6; }
43569   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43570     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43571   $as_echo_n "(cached) " >&6
43572 else
43573
43574
43575       ac_ext=cpp
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43580
43581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43582 /* end confdefs.h.  */
43583 #include <math.h>
43584 int
43585 main ()
43586 {
43587  sincosl(0, 0, 0);
43588   ;
43589   return 0;
43590 }
43591 _ACEOF
43592 if ac_fn_cxx_try_compile "$LINENO"; then :
43593   glibcxx_cv_func_sincosl_use=yes
43594 else
43595   glibcxx_cv_func_sincosl_use=no
43596 fi
43597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598       ac_ext=c
43599 ac_cpp='$CPP $CPPFLAGS'
43600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43603
43604
43605 fi
43606
43607   fi
43608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43609 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43610
43611   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43612     for ac_func in sincosl
43613 do :
43614   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43615 if test "x$ac_cv_func_sincosl" = x""yes; then :
43616   cat >>confdefs.h <<_ACEOF
43617 #define HAVE_SINCOSL 1
43618 _ACEOF
43619
43620 fi
43621 done
43622
43623   else
43624
43625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43626 $as_echo_n "checking for _sincosl declaration... " >&6; }
43627   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43628     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43629   $as_echo_n "(cached) " >&6
43630 else
43631
43632
43633       ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638
43639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640 /* end confdefs.h.  */
43641 #include <math.h>
43642 int
43643 main ()
43644 {
43645  _sincosl(0, 0, 0);
43646   ;
43647   return 0;
43648 }
43649 _ACEOF
43650 if ac_fn_cxx_try_compile "$LINENO"; then :
43651   glibcxx_cv_func__sincosl_use=yes
43652 else
43653   glibcxx_cv_func__sincosl_use=no
43654 fi
43655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43656       ac_ext=c
43657 ac_cpp='$CPP $CPPFLAGS'
43658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43661
43662
43663 fi
43664
43665   fi
43666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43667 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43668
43669     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43670       for ac_func in _sincosl
43671 do :
43672   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43673 if test "x$ac_cv_func__sincosl" = x""yes; then :
43674   cat >>confdefs.h <<_ACEOF
43675 #define HAVE__SINCOSL 1
43676 _ACEOF
43677
43678 fi
43679 done
43680
43681     fi
43682   fi
43683
43684
43685
43686
43687
43688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43689 $as_echo_n "checking for finitel declaration... " >&6; }
43690   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43691     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43692   $as_echo_n "(cached) " >&6
43693 else
43694
43695
43696       ac_ext=cpp
43697 ac_cpp='$CXXCPP $CPPFLAGS'
43698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701
43702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43703 /* end confdefs.h.  */
43704 #include <math.h>
43705                       #ifdef HAVE_IEEEFP_H
43706                       #include <ieeefp.h>
43707                       #endif
43708
43709 int
43710 main ()
43711 {
43712  finitel(0);
43713   ;
43714   return 0;
43715 }
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718   glibcxx_cv_func_finitel_use=yes
43719 else
43720   glibcxx_cv_func_finitel_use=no
43721 fi
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723       ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728
43729
43730 fi
43731
43732   fi
43733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43734 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43735
43736   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43737     for ac_func in finitel
43738 do :
43739   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43740 if test "x$ac_cv_func_finitel" = x""yes; then :
43741   cat >>confdefs.h <<_ACEOF
43742 #define HAVE_FINITEL 1
43743 _ACEOF
43744
43745 fi
43746 done
43747
43748   else
43749
43750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43751 $as_echo_n "checking for _finitel declaration... " >&6; }
43752   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43753     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43754   $as_echo_n "(cached) " >&6
43755 else
43756
43757
43758       ac_ext=cpp
43759 ac_cpp='$CXXCPP $CPPFLAGS'
43760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43763
43764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43765 /* end confdefs.h.  */
43766 #include <math.h>
43767                       #ifdef HAVE_IEEEFP_H
43768                       #include <ieeefp.h>
43769                       #endif
43770
43771 int
43772 main ()
43773 {
43774  _finitel(0);
43775   ;
43776   return 0;
43777 }
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780   glibcxx_cv_func__finitel_use=yes
43781 else
43782   glibcxx_cv_func__finitel_use=no
43783 fi
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785       ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43790
43791
43792 fi
43793
43794   fi
43795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43796 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43797
43798     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43799       for ac_func in _finitel
43800 do :
43801   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43802 if test "x$ac_cv_func__finitel" = x""yes; then :
43803   cat >>confdefs.h <<_ACEOF
43804 #define HAVE__FINITEL 1
43805 _ACEOF
43806
43807 fi
43808 done
43809
43810     fi
43811   fi
43812
43813
43814
43815
43816   LIBS="$ac_save_LIBS"
43817   CXXFLAGS="$ac_save_CXXFLAGS"
43818
43819
43820   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43821   ac_save_CXXFLAGS="$CXXFLAGS"
43822   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43823
43824
43825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43826 $as_echo_n "checking for strtold declaration... " >&6; }
43827   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43828     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43829   $as_echo_n "(cached) " >&6
43830 else
43831
43832
43833       ac_ext=cpp
43834 ac_cpp='$CXXCPP $CPPFLAGS'
43835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43838
43839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43840 /* end confdefs.h.  */
43841 #include <stdlib.h>
43842 int
43843 main ()
43844 {
43845  strtold(0, 0);
43846   ;
43847   return 0;
43848 }
43849 _ACEOF
43850 if ac_fn_cxx_try_compile "$LINENO"; then :
43851   glibcxx_cv_func_strtold_use=yes
43852 else
43853   glibcxx_cv_func_strtold_use=no
43854 fi
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856       ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43861
43862
43863 fi
43864
43865   fi
43866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43867 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43868   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43869     for ac_func in strtold
43870 do :
43871   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43872 if test "x$ac_cv_func_strtold" = x""yes; then :
43873   cat >>confdefs.h <<_ACEOF
43874 #define HAVE_STRTOLD 1
43875 _ACEOF
43876
43877 fi
43878 done
43879
43880   fi
43881
43882
43883
43884
43885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43886 $as_echo_n "checking for strtof declaration... " >&6; }
43887   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43888     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43889   $as_echo_n "(cached) " >&6
43890 else
43891
43892
43893       ac_ext=cpp
43894 ac_cpp='$CXXCPP $CPPFLAGS'
43895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43898
43899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43900 /* end confdefs.h.  */
43901 #include <stdlib.h>
43902 int
43903 main ()
43904 {
43905  strtof(0, 0);
43906   ;
43907   return 0;
43908 }
43909 _ACEOF
43910 if ac_fn_cxx_try_compile "$LINENO"; then :
43911   glibcxx_cv_func_strtof_use=yes
43912 else
43913   glibcxx_cv_func_strtof_use=no
43914 fi
43915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43916       ac_ext=c
43917 ac_cpp='$CPP $CPPFLAGS'
43918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43921
43922
43923 fi
43924
43925   fi
43926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43927 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43928   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43929     for ac_func in strtof
43930 do :
43931   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43932 if test "x$ac_cv_func_strtof" = x""yes; then :
43933   cat >>confdefs.h <<_ACEOF
43934 #define HAVE_STRTOF 1
43935 _ACEOF
43936
43937 fi
43938 done
43939
43940   fi
43941
43942
43943
43944
43945   CXXFLAGS="$ac_save_CXXFLAGS"
43946
43947     ;;
43948
43949   *djgpp)
43950     # GLIBCXX_CHECK_MATH_SUPPORT
43951     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43952
43953     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43954
43955     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43956
43957     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43958
43959     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43960
43961     ;;
43962
43963   *-freebsd*)
43964     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43965
43966
43967   # If we're not using GNU ld, then there's no point in even trying these
43968   # tests.  Check for that first.  We should have already tested for gld
43969   # by now (in libtool), but require it now just to be safe...
43970   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43971   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43972
43973
43974
43975   # The name set by libtool depends on the version of libtool.  Shame on us
43976   # for depending on an impl detail, but c'est la vie.  Older versions used
43977   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43978   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43979   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43980   # set (hence we're using an older libtool), then set it.
43981   if test x${with_gnu_ld+set} != xset; then
43982     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43983       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43984       with_gnu_ld=no
43985     else
43986       with_gnu_ld=$ac_cv_prog_gnu_ld
43987     fi
43988   fi
43989
43990   # Start by getting the version number.  I think the libtool test already
43991   # does some of this, but throws away the result.
43992   glibcxx_ld_is_gold=no
43993   if test x"$with_gnu_ld" = x"yes"; then
43994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43995 $as_echo_n "checking for ld version... " >&6; }
43996
43997     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43998       glibcxx_ld_is_gold=yes
43999     fi
44000     ldver=`$LD --version 2>/dev/null |
44001            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44002
44003     glibcxx_gnu_ld_version=`echo $ldver | \
44004            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44005     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44006 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44007   fi
44008
44009   # Set --gc-sections.
44010   glibcxx_have_gc_sections=no
44011   if test "$glibcxx_ld_is_gold" = "yes"; then
44012     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44013       glibcxx_have_gc_sections=yes
44014     fi
44015   else
44016     glibcxx_gcsections_min_ld=21602
44017     if test x"$with_gnu_ld" = x"yes" &&
44018         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44019       glibcxx_have_gc_sections=yes
44020     fi
44021   fi
44022   if test "$glibcxx_have_gc_sections" = "yes"; then
44023     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44024     # NB: This flag only works reliably after 2.16.1. Configure tests
44025     # for this are difficult, so hard wire a value that should work.
44026
44027     ac_test_CFLAGS="${CFLAGS+set}"
44028     ac_save_CFLAGS="$CFLAGS"
44029     CFLAGS='-Wl,--gc-sections'
44030
44031     # Check for -Wl,--gc-sections
44032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44033 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44034     if test x$gcc_no_link = xyes; then
44035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44036 fi
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h.  */
44039  int one(void) { return 1; }
44040      int two(void) { return 2; }
44041
44042 int
44043 main ()
44044 {
44045  two();
44046   ;
44047   return 0;
44048 }
44049 _ACEOF
44050 if ac_fn_c_try_link "$LINENO"; then :
44051   ac_gcsections=yes
44052 else
44053   ac_gcsections=no
44054 fi
44055 rm -f core conftest.err conftest.$ac_objext \
44056     conftest$ac_exeext conftest.$ac_ext
44057     if test "$ac_gcsections" = "yes"; then
44058       rm -f conftest.c
44059       touch conftest.c
44060       if $CC -c conftest.c; then
44061         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44062            grep "Warning: gc-sections option ignored" > /dev/null; then
44063           ac_gcsections=no
44064         fi
44065       fi
44066       rm -f conftest.c conftest.o conftest
44067     fi
44068     if test "$ac_gcsections" = "yes"; then
44069       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44070     fi
44071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44072 $as_echo "$ac_gcsections" >&6; }
44073
44074     if test "$ac_test_CFLAGS" = set; then
44075       CFLAGS="$ac_save_CFLAGS"
44076     else
44077       # this is the suspicious part
44078       CFLAGS=''
44079     fi
44080   fi
44081
44082   # Set -z,relro.
44083   # Note this is only for shared objects.
44084   ac_ld_relro=no
44085   if test x"$with_gnu_ld" = x"yes"; then
44086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44087 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44088     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44089     if test -n "$cxx_z_relo"; then
44090       OPT_LDFLAGS="-Wl,-z,relro"
44091       ac_ld_relro=yes
44092     fi
44093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44094 $as_echo "$ac_ld_relro" >&6; }
44095   fi
44096
44097   # Set linker optimization flags.
44098   if test x"$with_gnu_ld" = x"yes"; then
44099     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44100   fi
44101
44102
44103
44104
44105     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44106
44107     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44108
44109     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44110
44111     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44112
44113     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44114
44115     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44116
44117     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44118
44119     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44120
44121     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44122
44123
44124     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44125
44126     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44127
44128     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44129
44130     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44131
44132     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44133
44134     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44135
44136     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44137
44138     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44139
44140     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44141
44142     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44143
44144     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44145
44146     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44147
44148     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44149
44150     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44151
44152     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44153
44154     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44155
44156     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44157
44158     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44159
44160     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44161
44162     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44163
44164     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44165
44166     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44167
44168     if test x"long_double_math_on_this_cpu" = x"yes"; then
44169       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44170
44171       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44172
44173       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44174
44175     fi
44176     ;;
44177   *-hpux*)
44178     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44179
44180
44181   # If we're not using GNU ld, then there's no point in even trying these
44182   # tests.  Check for that first.  We should have already tested for gld
44183   # by now (in libtool), but require it now just to be safe...
44184   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44185   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44186
44187
44188
44189   # The name set by libtool depends on the version of libtool.  Shame on us
44190   # for depending on an impl detail, but c'est la vie.  Older versions used
44191   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44192   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44193   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44194   # set (hence we're using an older libtool), then set it.
44195   if test x${with_gnu_ld+set} != xset; then
44196     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44197       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44198       with_gnu_ld=no
44199     else
44200       with_gnu_ld=$ac_cv_prog_gnu_ld
44201     fi
44202   fi
44203
44204   # Start by getting the version number.  I think the libtool test already
44205   # does some of this, but throws away the result.
44206   glibcxx_ld_is_gold=no
44207   if test x"$with_gnu_ld" = x"yes"; then
44208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44209 $as_echo_n "checking for ld version... " >&6; }
44210
44211     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44212       glibcxx_ld_is_gold=yes
44213     fi
44214     ldver=`$LD --version 2>/dev/null |
44215            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44216
44217     glibcxx_gnu_ld_version=`echo $ldver | \
44218            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44219     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44220 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44221   fi
44222
44223   # Set --gc-sections.
44224   glibcxx_have_gc_sections=no
44225   if test "$glibcxx_ld_is_gold" = "yes"; then
44226     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44227       glibcxx_have_gc_sections=yes
44228     fi
44229   else
44230     glibcxx_gcsections_min_ld=21602
44231     if test x"$with_gnu_ld" = x"yes" &&
44232         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44233       glibcxx_have_gc_sections=yes
44234     fi
44235   fi
44236   if test "$glibcxx_have_gc_sections" = "yes"; then
44237     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44238     # NB: This flag only works reliably after 2.16.1. Configure tests
44239     # for this are difficult, so hard wire a value that should work.
44240
44241     ac_test_CFLAGS="${CFLAGS+set}"
44242     ac_save_CFLAGS="$CFLAGS"
44243     CFLAGS='-Wl,--gc-sections'
44244
44245     # Check for -Wl,--gc-sections
44246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44247 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44248     if test x$gcc_no_link = xyes; then
44249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44250 fi
44251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44252 /* end confdefs.h.  */
44253  int one(void) { return 1; }
44254      int two(void) { return 2; }
44255
44256 int
44257 main ()
44258 {
44259  two();
44260   ;
44261   return 0;
44262 }
44263 _ACEOF
44264 if ac_fn_c_try_link "$LINENO"; then :
44265   ac_gcsections=yes
44266 else
44267   ac_gcsections=no
44268 fi
44269 rm -f core conftest.err conftest.$ac_objext \
44270     conftest$ac_exeext conftest.$ac_ext
44271     if test "$ac_gcsections" = "yes"; then
44272       rm -f conftest.c
44273       touch conftest.c
44274       if $CC -c conftest.c; then
44275         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44276            grep "Warning: gc-sections option ignored" > /dev/null; then
44277           ac_gcsections=no
44278         fi
44279       fi
44280       rm -f conftest.c conftest.o conftest
44281     fi
44282     if test "$ac_gcsections" = "yes"; then
44283       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44284     fi
44285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44286 $as_echo "$ac_gcsections" >&6; }
44287
44288     if test "$ac_test_CFLAGS" = set; then
44289       CFLAGS="$ac_save_CFLAGS"
44290     else
44291       # this is the suspicious part
44292       CFLAGS=''
44293     fi
44294   fi
44295
44296   # Set -z,relro.
44297   # Note this is only for shared objects.
44298   ac_ld_relro=no
44299   if test x"$with_gnu_ld" = x"yes"; then
44300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44301 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44302     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44303     if test -n "$cxx_z_relo"; then
44304       OPT_LDFLAGS="-Wl,-z,relro"
44305       ac_ld_relro=yes
44306     fi
44307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44308 $as_echo "$ac_ld_relro" >&6; }
44309   fi
44310
44311   # Set linker optimization flags.
44312   if test x"$with_gnu_ld" = x"yes"; then
44313     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44314   fi
44315
44316
44317
44318
44319
44320     # GLIBCXX_CHECK_MATH_SUPPORT
44321     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44322
44323     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44324
44325     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44326
44327     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44328
44329     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44330
44331     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44332
44333     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44334
44335     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44336
44337     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44338
44339     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44340
44341     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44342
44343     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44344
44345     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44346
44347     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44348
44349     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44350
44351     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44352
44353     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44354
44355     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44356
44357     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44358
44359     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44360
44361     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44362
44363
44364     # GLIBCXX_CHECK_STDLIB_SUPPORT
44365     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44366
44367
44368
44369
44370    # Check whether --enable-tls was given.
44371 if test "${enable_tls+set}" = set; then :
44372   enableval=$enable_tls;
44373       case "$enableval" in
44374        yes|no) ;;
44375        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44376       esac
44377
44378 else
44379   enable_tls=yes
44380 fi
44381
44382
44383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44384 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44385 if test "${gcc_cv_have_tls+set}" = set; then :
44386   $as_echo_n "(cached) " >&6
44387 else
44388
44389     if test "$cross_compiling" = yes; then :
44390                 if test x$gcc_no_link = xyes; then
44391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44392 fi
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h.  */
44395 __thread int a; int b; int main() { return a = b; }
44396 _ACEOF
44397 if ac_fn_c_try_link "$LINENO"; then :
44398   chktls_save_LDFLAGS="$LDFLAGS"
44399                           case $host in
44400             *-*-linux*)
44401               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44402               ;;
44403           esac
44404           chktls_save_CFLAGS="$CFLAGS"
44405           CFLAGS="-fPIC $CFLAGS"
44406                   if test x$gcc_no_link = xyes; then
44407   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44408 fi
44409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44410 /* end confdefs.h.  */
44411 int f() { return 0; }
44412 _ACEOF
44413 if ac_fn_c_try_link "$LINENO"; then :
44414   if test x$gcc_no_link = xyes; then
44415   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44416 fi
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h.  */
44419 __thread int a; int b; int f() { return a = b; }
44420 _ACEOF
44421 if ac_fn_c_try_link "$LINENO"; then :
44422   gcc_cv_have_tls=yes
44423 else
44424   gcc_cv_have_tls=no
44425 fi
44426 rm -f core conftest.err conftest.$ac_objext \
44427     conftest$ac_exeext conftest.$ac_ext
44428 else
44429   gcc_cv_have_tls=yes
44430 fi
44431 rm -f core conftest.err conftest.$ac_objext \
44432     conftest$ac_exeext conftest.$ac_ext
44433           CFLAGS="$chktls_save_CFLAGS"
44434           LDFLAGS="$chktls_save_LDFLAGS"
44435 else
44436   gcc_cv_have_tls=no
44437 fi
44438 rm -f core conftest.err conftest.$ac_objext \
44439     conftest$ac_exeext conftest.$ac_ext
44440
44441
44442 else
44443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44444 /* end confdefs.h.  */
44445 __thread int a; int b; int main() { return a = b; }
44446 _ACEOF
44447 if ac_fn_c_try_run "$LINENO"; then :
44448                       chktls_save_LDFLAGS="$LDFLAGS"
44449       LDFLAGS="-static $LDFLAGS"
44450       if test x$gcc_no_link = xyes; then
44451   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44452 fi
44453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44454 /* end confdefs.h.  */
44455 int main() { return 0; }
44456 _ACEOF
44457 if ac_fn_c_try_link "$LINENO"; then :
44458   if test "$cross_compiling" = yes; then :
44459   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44461 as_fn_error "cannot run test program while cross compiling
44462 See \`config.log' for more details." "$LINENO" 5; }
44463 else
44464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h.  */
44466 __thread int a; int b; int main() { return a = b; }
44467 _ACEOF
44468 if ac_fn_c_try_run "$LINENO"; then :
44469   gcc_cv_have_tls=yes
44470 else
44471   gcc_cv_have_tls=no
44472 fi
44473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44474   conftest.$ac_objext conftest.beam conftest.$ac_ext
44475 fi
44476
44477 else
44478   gcc_cv_have_tls=yes
44479 fi
44480 rm -f core conftest.err conftest.$ac_objext \
44481     conftest$ac_exeext conftest.$ac_ext
44482       LDFLAGS="$chktls_save_LDFLAGS"
44483       if test $gcc_cv_have_tls = yes; then
44484                                                 chktls_save_CFLAGS="$CFLAGS"
44485         thread_CFLAGS=failed
44486         for flag in '' '-pthread' '-lpthread'; do
44487           CFLAGS="$flag $chktls_save_CFLAGS"
44488           if test x$gcc_no_link = xyes; then
44489   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44490 fi
44491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44492 /* end confdefs.h.  */
44493 #include <pthread.h>
44494                 void *g(void *d) { return NULL; }
44495 int
44496 main ()
44497 {
44498 pthread_t t; pthread_create(&t,NULL,g,NULL);
44499   ;
44500   return 0;
44501 }
44502 _ACEOF
44503 if ac_fn_c_try_link "$LINENO"; then :
44504   thread_CFLAGS="$flag"
44505 fi
44506 rm -f core conftest.err conftest.$ac_objext \
44507     conftest$ac_exeext conftest.$ac_ext
44508           if test "X$thread_CFLAGS" != Xfailed; then
44509             break
44510           fi
44511         done
44512         CFLAGS="$chktls_save_CFLAGS"
44513         if test "X$thread_CFLAGS" != Xfailed; then
44514           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44515                                                   if test "$cross_compiling" = yes; then :
44516   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44518 as_fn_error "cannot run test program while cross compiling
44519 See \`config.log' for more details." "$LINENO" 5; }
44520 else
44521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44522 /* end confdefs.h.  */
44523 #include <pthread.h>
44524                 __thread int a;
44525                 static int *volatile a_in_other_thread;
44526                 static void *
44527                 thread_func (void *arg)
44528                 {
44529                   a_in_other_thread = &a;
44530                   return (void *)0;
44531                 }
44532 int
44533 main ()
44534 {
44535 pthread_t thread;
44536                 void *thread_retval;
44537                 int *volatile a_in_main_thread;
44538                 a_in_main_thread = &a;
44539                 if (pthread_create (&thread, (pthread_attr_t *)0,
44540                                     thread_func, (void *)0))
44541                   return 0;
44542                 if (pthread_join (thread, &thread_retval))
44543                   return 0;
44544                 return (a_in_other_thread == a_in_main_thread);
44545   ;
44546   return 0;
44547 }
44548 _ACEOF
44549 if ac_fn_c_try_run "$LINENO"; then :
44550   gcc_cv_have_tls=yes
44551 else
44552   gcc_cv_have_tls=no
44553 fi
44554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44555   conftest.$ac_objext conftest.beam conftest.$ac_ext
44556 fi
44557
44558           CFLAGS="$chktls_save_CFLAGS"
44559         fi
44560       fi
44561 else
44562   gcc_cv_have_tls=no
44563 fi
44564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44565   conftest.$ac_objext conftest.beam conftest.$ac_ext
44566 fi
44567
44568 fi
44569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44570 $as_echo "$gcc_cv_have_tls" >&6; }
44571   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44572
44573 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44574
44575   fi
44576     case "$target" in
44577       *-hpux10*)
44578         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44579
44580         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44581
44582         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44583
44584         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44585
44586         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44587
44588         ;;
44589     esac
44590     ;;
44591   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44592
44593   # All these tests are for C++; save the language and the compiler flags.
44594   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44595   # found in GLIBCXX_CONFIGURE.
44596
44597   ac_ext=cpp
44598 ac_cpp='$CXXCPP $CPPFLAGS'
44599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44602
44603   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44604   ac_save_CXXFLAGS="$CXXFLAGS"
44605
44606   # Check for maintainer-mode bits.
44607   if test x"$USE_MAINTAINER_MODE" = xno; then
44608     WERROR=''
44609   else
44610     WERROR='-Werror'
44611   fi
44612
44613   # Check for -ffunction-sections -fdata-sections
44614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44615 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44616   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44618 /* end confdefs.h.  */
44619 int foo; void bar() { };
44620 int
44621 main ()
44622 {
44623
44624   ;
44625   return 0;
44626 }
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629   ac_fdsections=yes
44630 else
44631   ac_fdsections=no
44632 fi
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634   if test "$ac_test_CXXFLAGS" = set; then
44635     CXXFLAGS="$ac_save_CXXFLAGS"
44636   else
44637     # this is the suspicious part
44638     CXXFLAGS=''
44639   fi
44640   if test x"$ac_fdsections" = x"yes"; then
44641     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44642   fi
44643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44644 $as_echo "$ac_fdsections" >&6; }
44645
44646   ac_ext=c
44647 ac_cpp='$CPP $CPPFLAGS'
44648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44651
44652
44653
44654
44655
44656   # If we're not using GNU ld, then there's no point in even trying these
44657   # tests.  Check for that first.  We should have already tested for gld
44658   # by now (in libtool), but require it now just to be safe...
44659   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44660   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44661
44662
44663
44664   # The name set by libtool depends on the version of libtool.  Shame on us
44665   # for depending on an impl detail, but c'est la vie.  Older versions used
44666   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44667   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44668   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44669   # set (hence we're using an older libtool), then set it.
44670   if test x${with_gnu_ld+set} != xset; then
44671     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44672       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44673       with_gnu_ld=no
44674     else
44675       with_gnu_ld=$ac_cv_prog_gnu_ld
44676     fi
44677   fi
44678
44679   # Start by getting the version number.  I think the libtool test already
44680   # does some of this, but throws away the result.
44681   glibcxx_ld_is_gold=no
44682   if test x"$with_gnu_ld" = x"yes"; then
44683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44684 $as_echo_n "checking for ld version... " >&6; }
44685
44686     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44687       glibcxx_ld_is_gold=yes
44688     fi
44689     ldver=`$LD --version 2>/dev/null |
44690            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44691
44692     glibcxx_gnu_ld_version=`echo $ldver | \
44693            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44695 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44696   fi
44697
44698   # Set --gc-sections.
44699   glibcxx_have_gc_sections=no
44700   if test "$glibcxx_ld_is_gold" = "yes"; then
44701     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44702       glibcxx_have_gc_sections=yes
44703     fi
44704   else
44705     glibcxx_gcsections_min_ld=21602
44706     if test x"$with_gnu_ld" = x"yes" &&
44707         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44708       glibcxx_have_gc_sections=yes
44709     fi
44710   fi
44711   if test "$glibcxx_have_gc_sections" = "yes"; then
44712     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44713     # NB: This flag only works reliably after 2.16.1. Configure tests
44714     # for this are difficult, so hard wire a value that should work.
44715
44716     ac_test_CFLAGS="${CFLAGS+set}"
44717     ac_save_CFLAGS="$CFLAGS"
44718     CFLAGS='-Wl,--gc-sections'
44719
44720     # Check for -Wl,--gc-sections
44721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44722 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44723     if test x$gcc_no_link = xyes; then
44724   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44725 fi
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h.  */
44728  int one(void) { return 1; }
44729      int two(void) { return 2; }
44730
44731 int
44732 main ()
44733 {
44734  two();
44735   ;
44736   return 0;
44737 }
44738 _ACEOF
44739 if ac_fn_c_try_link "$LINENO"; then :
44740   ac_gcsections=yes
44741 else
44742   ac_gcsections=no
44743 fi
44744 rm -f core conftest.err conftest.$ac_objext \
44745     conftest$ac_exeext conftest.$ac_ext
44746     if test "$ac_gcsections" = "yes"; then
44747       rm -f conftest.c
44748       touch conftest.c
44749       if $CC -c conftest.c; then
44750         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44751            grep "Warning: gc-sections option ignored" > /dev/null; then
44752           ac_gcsections=no
44753         fi
44754       fi
44755       rm -f conftest.c conftest.o conftest
44756     fi
44757     if test "$ac_gcsections" = "yes"; then
44758       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44759     fi
44760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44761 $as_echo "$ac_gcsections" >&6; }
44762
44763     if test "$ac_test_CFLAGS" = set; then
44764       CFLAGS="$ac_save_CFLAGS"
44765     else
44766       # this is the suspicious part
44767       CFLAGS=''
44768     fi
44769   fi
44770
44771   # Set -z,relro.
44772   # Note this is only for shared objects.
44773   ac_ld_relro=no
44774   if test x"$with_gnu_ld" = x"yes"; then
44775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44776 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44777     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44778     if test -n "$cxx_z_relo"; then
44779       OPT_LDFLAGS="-Wl,-z,relro"
44780       ac_ld_relro=yes
44781     fi
44782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44783 $as_echo "$ac_ld_relro" >&6; }
44784   fi
44785
44786   # Set linker optimization flags.
44787   if test x"$with_gnu_ld" = x"yes"; then
44788     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44789   fi
44790
44791
44792
44793
44794
44795   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44796   ac_save_CXXFLAGS="$CXXFLAGS"
44797   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44798
44799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44800 $as_echo_n "checking for sin in -lm... " >&6; }
44801 if test "${ac_cv_lib_m_sin+set}" = set; then :
44802   $as_echo_n "(cached) " >&6
44803 else
44804   ac_check_lib_save_LIBS=$LIBS
44805 LIBS="-lm  $LIBS"
44806 if test x$gcc_no_link = xyes; then
44807   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44808 fi
44809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44810 /* end confdefs.h.  */
44811
44812 /* Override any GCC internal prototype to avoid an error.
44813    Use char because int might match the return type of a GCC
44814    builtin and then its argument prototype would still apply.  */
44815 #ifdef __cplusplus
44816 extern "C"
44817 #endif
44818 char sin ();
44819 int
44820 main ()
44821 {
44822 return sin ();
44823   ;
44824   return 0;
44825 }
44826 _ACEOF
44827 if ac_fn_c_try_link "$LINENO"; then :
44828   ac_cv_lib_m_sin=yes
44829 else
44830   ac_cv_lib_m_sin=no
44831 fi
44832 rm -f core conftest.err conftest.$ac_objext \
44833     conftest$ac_exeext conftest.$ac_ext
44834 LIBS=$ac_check_lib_save_LIBS
44835 fi
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44837 $as_echo "$ac_cv_lib_m_sin" >&6; }
44838 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44839   libm="-lm"
44840 fi
44841
44842   ac_save_LIBS="$LIBS"
44843   LIBS="$LIBS $libm"
44844
44845
44846
44847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44848 $as_echo_n "checking for isinf declaration... " >&6; }
44849   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44850     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44851   $as_echo_n "(cached) " >&6
44852 else
44853
44854
44855       ac_ext=cpp
44856 ac_cpp='$CXXCPP $CPPFLAGS'
44857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44860
44861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44862 /* end confdefs.h.  */
44863 #include <math.h>
44864                       #ifdef HAVE_IEEEFP_H
44865                       #include <ieeefp.h>
44866                       #endif
44867
44868 int
44869 main ()
44870 {
44871  isinf(0);
44872   ;
44873   return 0;
44874 }
44875 _ACEOF
44876 if ac_fn_cxx_try_compile "$LINENO"; then :
44877   glibcxx_cv_func_isinf_use=yes
44878 else
44879   glibcxx_cv_func_isinf_use=no
44880 fi
44881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44882       ac_ext=c
44883 ac_cpp='$CPP $CPPFLAGS'
44884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44887
44888
44889 fi
44890
44891   fi
44892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44893 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44894
44895   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44896     for ac_func in isinf
44897 do :
44898   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44899 if test "x$ac_cv_func_isinf" = x""yes; then :
44900   cat >>confdefs.h <<_ACEOF
44901 #define HAVE_ISINF 1
44902 _ACEOF
44903
44904 fi
44905 done
44906
44907   else
44908
44909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44910 $as_echo_n "checking for _isinf declaration... " >&6; }
44911   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44912     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44913   $as_echo_n "(cached) " >&6
44914 else
44915
44916
44917       ac_ext=cpp
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44922
44923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924 /* end confdefs.h.  */
44925 #include <math.h>
44926                       #ifdef HAVE_IEEEFP_H
44927                       #include <ieeefp.h>
44928                       #endif
44929
44930 int
44931 main ()
44932 {
44933  _isinf(0);
44934   ;
44935   return 0;
44936 }
44937 _ACEOF
44938 if ac_fn_cxx_try_compile "$LINENO"; then :
44939   glibcxx_cv_func__isinf_use=yes
44940 else
44941   glibcxx_cv_func__isinf_use=no
44942 fi
44943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944       ac_ext=c
44945 ac_cpp='$CPP $CPPFLAGS'
44946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44949
44950
44951 fi
44952
44953   fi
44954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44955 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44956
44957     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44958       for ac_func in _isinf
44959 do :
44960   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44961 if test "x$ac_cv_func__isinf" = x""yes; then :
44962   cat >>confdefs.h <<_ACEOF
44963 #define HAVE__ISINF 1
44964 _ACEOF
44965
44966 fi
44967 done
44968
44969     fi
44970   fi
44971
44972
44973
44974
44975
44976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44977 $as_echo_n "checking for isnan declaration... " >&6; }
44978   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44979     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44980   $as_echo_n "(cached) " >&6
44981 else
44982
44983
44984       ac_ext=cpp
44985 ac_cpp='$CXXCPP $CPPFLAGS'
44986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44989
44990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44991 /* end confdefs.h.  */
44992 #include <math.h>
44993                       #ifdef HAVE_IEEEFP_H
44994                       #include <ieeefp.h>
44995                       #endif
44996
44997 int
44998 main ()
44999 {
45000  isnan(0);
45001   ;
45002   return 0;
45003 }
45004 _ACEOF
45005 if ac_fn_cxx_try_compile "$LINENO"; then :
45006   glibcxx_cv_func_isnan_use=yes
45007 else
45008   glibcxx_cv_func_isnan_use=no
45009 fi
45010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45011       ac_ext=c
45012 ac_cpp='$CPP $CPPFLAGS'
45013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45016
45017
45018 fi
45019
45020   fi
45021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45022 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45023
45024   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45025     for ac_func in isnan
45026 do :
45027   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45028 if test "x$ac_cv_func_isnan" = x""yes; then :
45029   cat >>confdefs.h <<_ACEOF
45030 #define HAVE_ISNAN 1
45031 _ACEOF
45032
45033 fi
45034 done
45035
45036   else
45037
45038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45039 $as_echo_n "checking for _isnan declaration... " >&6; }
45040   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45041     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45042   $as_echo_n "(cached) " >&6
45043 else
45044
45045
45046       ac_ext=cpp
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45051
45052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45053 /* end confdefs.h.  */
45054 #include <math.h>
45055                       #ifdef HAVE_IEEEFP_H
45056                       #include <ieeefp.h>
45057                       #endif
45058
45059 int
45060 main ()
45061 {
45062  _isnan(0);
45063   ;
45064   return 0;
45065 }
45066 _ACEOF
45067 if ac_fn_cxx_try_compile "$LINENO"; then :
45068   glibcxx_cv_func__isnan_use=yes
45069 else
45070   glibcxx_cv_func__isnan_use=no
45071 fi
45072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45073       ac_ext=c
45074 ac_cpp='$CPP $CPPFLAGS'
45075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45078
45079
45080 fi
45081
45082   fi
45083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45084 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45085
45086     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45087       for ac_func in _isnan
45088 do :
45089   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45090 if test "x$ac_cv_func__isnan" = x""yes; then :
45091   cat >>confdefs.h <<_ACEOF
45092 #define HAVE__ISNAN 1
45093 _ACEOF
45094
45095 fi
45096 done
45097
45098     fi
45099   fi
45100
45101
45102
45103
45104
45105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45106 $as_echo_n "checking for finite declaration... " >&6; }
45107   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45108     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45109   $as_echo_n "(cached) " >&6
45110 else
45111
45112
45113       ac_ext=cpp
45114 ac_cpp='$CXXCPP $CPPFLAGS'
45115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45118
45119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120 /* end confdefs.h.  */
45121 #include <math.h>
45122                       #ifdef HAVE_IEEEFP_H
45123                       #include <ieeefp.h>
45124                       #endif
45125
45126 int
45127 main ()
45128 {
45129  finite(0);
45130   ;
45131   return 0;
45132 }
45133 _ACEOF
45134 if ac_fn_cxx_try_compile "$LINENO"; then :
45135   glibcxx_cv_func_finite_use=yes
45136 else
45137   glibcxx_cv_func_finite_use=no
45138 fi
45139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45140       ac_ext=c
45141 ac_cpp='$CPP $CPPFLAGS'
45142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45145
45146
45147 fi
45148
45149   fi
45150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45151 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45152
45153   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45154     for ac_func in finite
45155 do :
45156   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45157 if test "x$ac_cv_func_finite" = x""yes; then :
45158   cat >>confdefs.h <<_ACEOF
45159 #define HAVE_FINITE 1
45160 _ACEOF
45161
45162 fi
45163 done
45164
45165   else
45166
45167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45168 $as_echo_n "checking for _finite declaration... " >&6; }
45169   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45170     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45171   $as_echo_n "(cached) " >&6
45172 else
45173
45174
45175       ac_ext=cpp
45176 ac_cpp='$CXXCPP $CPPFLAGS'
45177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45180
45181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45182 /* end confdefs.h.  */
45183 #include <math.h>
45184                       #ifdef HAVE_IEEEFP_H
45185                       #include <ieeefp.h>
45186                       #endif
45187
45188 int
45189 main ()
45190 {
45191  _finite(0);
45192   ;
45193   return 0;
45194 }
45195 _ACEOF
45196 if ac_fn_cxx_try_compile "$LINENO"; then :
45197   glibcxx_cv_func__finite_use=yes
45198 else
45199   glibcxx_cv_func__finite_use=no
45200 fi
45201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45202       ac_ext=c
45203 ac_cpp='$CPP $CPPFLAGS'
45204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45207
45208
45209 fi
45210
45211   fi
45212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45213 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45214
45215     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45216       for ac_func in _finite
45217 do :
45218   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45219 if test "x$ac_cv_func__finite" = x""yes; then :
45220   cat >>confdefs.h <<_ACEOF
45221 #define HAVE__FINITE 1
45222 _ACEOF
45223
45224 fi
45225 done
45226
45227     fi
45228   fi
45229
45230
45231
45232
45233
45234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45235 $as_echo_n "checking for sincos declaration... " >&6; }
45236   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45237     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45238   $as_echo_n "(cached) " >&6
45239 else
45240
45241
45242       ac_ext=cpp
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45247
45248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45249 /* end confdefs.h.  */
45250 #include <math.h>
45251 int
45252 main ()
45253 {
45254  sincos(0, 0, 0);
45255   ;
45256   return 0;
45257 }
45258 _ACEOF
45259 if ac_fn_cxx_try_compile "$LINENO"; then :
45260   glibcxx_cv_func_sincos_use=yes
45261 else
45262   glibcxx_cv_func_sincos_use=no
45263 fi
45264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265       ac_ext=c
45266 ac_cpp='$CPP $CPPFLAGS'
45267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45270
45271
45272 fi
45273
45274   fi
45275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45276 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45277
45278   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45279     for ac_func in sincos
45280 do :
45281   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45282 if test "x$ac_cv_func_sincos" = x""yes; then :
45283   cat >>confdefs.h <<_ACEOF
45284 #define HAVE_SINCOS 1
45285 _ACEOF
45286
45287 fi
45288 done
45289
45290   else
45291
45292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45293 $as_echo_n "checking for _sincos declaration... " >&6; }
45294   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45295     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45296   $as_echo_n "(cached) " >&6
45297 else
45298
45299
45300       ac_ext=cpp
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45305
45306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h.  */
45308 #include <math.h>
45309 int
45310 main ()
45311 {
45312  _sincos(0, 0, 0);
45313   ;
45314   return 0;
45315 }
45316 _ACEOF
45317 if ac_fn_cxx_try_compile "$LINENO"; then :
45318   glibcxx_cv_func__sincos_use=yes
45319 else
45320   glibcxx_cv_func__sincos_use=no
45321 fi
45322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45323       ac_ext=c
45324 ac_cpp='$CPP $CPPFLAGS'
45325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45328
45329
45330 fi
45331
45332   fi
45333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45334 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45335
45336     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45337       for ac_func in _sincos
45338 do :
45339   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45340 if test "x$ac_cv_func__sincos" = x""yes; then :
45341   cat >>confdefs.h <<_ACEOF
45342 #define HAVE__SINCOS 1
45343 _ACEOF
45344
45345 fi
45346 done
45347
45348     fi
45349   fi
45350
45351
45352
45353
45354
45355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45356 $as_echo_n "checking for fpclass declaration... " >&6; }
45357   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45358     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45359   $as_echo_n "(cached) " >&6
45360 else
45361
45362
45363       ac_ext=cpp
45364 ac_cpp='$CXXCPP $CPPFLAGS'
45365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45368
45369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45370 /* end confdefs.h.  */
45371 #include <math.h>
45372                       #ifdef HAVE_IEEEFP_H
45373                       #include <ieeefp.h>
45374                       #endif
45375
45376 int
45377 main ()
45378 {
45379  fpclass(0);
45380   ;
45381   return 0;
45382 }
45383 _ACEOF
45384 if ac_fn_cxx_try_compile "$LINENO"; then :
45385   glibcxx_cv_func_fpclass_use=yes
45386 else
45387   glibcxx_cv_func_fpclass_use=no
45388 fi
45389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390       ac_ext=c
45391 ac_cpp='$CPP $CPPFLAGS'
45392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45395
45396
45397 fi
45398
45399   fi
45400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45401 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45402
45403   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45404     for ac_func in fpclass
45405 do :
45406   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45407 if test "x$ac_cv_func_fpclass" = x""yes; then :
45408   cat >>confdefs.h <<_ACEOF
45409 #define HAVE_FPCLASS 1
45410 _ACEOF
45411
45412 fi
45413 done
45414
45415   else
45416
45417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45418 $as_echo_n "checking for _fpclass declaration... " >&6; }
45419   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45420     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45421   $as_echo_n "(cached) " >&6
45422 else
45423
45424
45425       ac_ext=cpp
45426 ac_cpp='$CXXCPP $CPPFLAGS'
45427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45430
45431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45432 /* end confdefs.h.  */
45433 #include <math.h>
45434                       #ifdef HAVE_IEEEFP_H
45435                       #include <ieeefp.h>
45436                       #endif
45437
45438 int
45439 main ()
45440 {
45441  _fpclass(0);
45442   ;
45443   return 0;
45444 }
45445 _ACEOF
45446 if ac_fn_cxx_try_compile "$LINENO"; then :
45447   glibcxx_cv_func__fpclass_use=yes
45448 else
45449   glibcxx_cv_func__fpclass_use=no
45450 fi
45451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45452       ac_ext=c
45453 ac_cpp='$CPP $CPPFLAGS'
45454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45457
45458
45459 fi
45460
45461   fi
45462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45463 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45464
45465     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45466       for ac_func in _fpclass
45467 do :
45468   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45469 if test "x$ac_cv_func__fpclass" = x""yes; then :
45470   cat >>confdefs.h <<_ACEOF
45471 #define HAVE__FPCLASS 1
45472 _ACEOF
45473
45474 fi
45475 done
45476
45477     fi
45478   fi
45479
45480
45481
45482
45483
45484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45485 $as_echo_n "checking for qfpclass declaration... " >&6; }
45486   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45487     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45488   $as_echo_n "(cached) " >&6
45489 else
45490
45491
45492       ac_ext=cpp
45493 ac_cpp='$CXXCPP $CPPFLAGS'
45494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45497
45498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45499 /* end confdefs.h.  */
45500 #include <math.h>
45501                       #ifdef HAVE_IEEEFP_H
45502                       #include <ieeefp.h>
45503                       #endif
45504
45505 int
45506 main ()
45507 {
45508  qfpclass(0);
45509   ;
45510   return 0;
45511 }
45512 _ACEOF
45513 if ac_fn_cxx_try_compile "$LINENO"; then :
45514   glibcxx_cv_func_qfpclass_use=yes
45515 else
45516   glibcxx_cv_func_qfpclass_use=no
45517 fi
45518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45519       ac_ext=c
45520 ac_cpp='$CPP $CPPFLAGS'
45521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45524
45525
45526 fi
45527
45528   fi
45529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45530 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45531
45532   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45533     for ac_func in qfpclass
45534 do :
45535   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45536 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45537   cat >>confdefs.h <<_ACEOF
45538 #define HAVE_QFPCLASS 1
45539 _ACEOF
45540
45541 fi
45542 done
45543
45544   else
45545
45546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45547 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45548   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45549     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45550   $as_echo_n "(cached) " >&6
45551 else
45552
45553
45554       ac_ext=cpp
45555 ac_cpp='$CXXCPP $CPPFLAGS'
45556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45559
45560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45561 /* end confdefs.h.  */
45562 #include <math.h>
45563                       #ifdef HAVE_IEEEFP_H
45564                       #include <ieeefp.h>
45565                       #endif
45566
45567 int
45568 main ()
45569 {
45570  _qfpclass(0);
45571   ;
45572   return 0;
45573 }
45574 _ACEOF
45575 if ac_fn_cxx_try_compile "$LINENO"; then :
45576   glibcxx_cv_func__qfpclass_use=yes
45577 else
45578   glibcxx_cv_func__qfpclass_use=no
45579 fi
45580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45581       ac_ext=c
45582 ac_cpp='$CPP $CPPFLAGS'
45583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45586
45587
45588 fi
45589
45590   fi
45591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45592 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45593
45594     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45595       for ac_func in _qfpclass
45596 do :
45597   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45598 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45599   cat >>confdefs.h <<_ACEOF
45600 #define HAVE__QFPCLASS 1
45601 _ACEOF
45602
45603 fi
45604 done
45605
45606     fi
45607   fi
45608
45609
45610
45611
45612
45613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45614 $as_echo_n "checking for hypot declaration... " >&6; }
45615   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45616     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45617   $as_echo_n "(cached) " >&6
45618 else
45619
45620
45621       ac_ext=cpp
45622 ac_cpp='$CXXCPP $CPPFLAGS'
45623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45626
45627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45628 /* end confdefs.h.  */
45629 #include <math.h>
45630 int
45631 main ()
45632 {
45633  hypot(0, 0);
45634   ;
45635   return 0;
45636 }
45637 _ACEOF
45638 if ac_fn_cxx_try_compile "$LINENO"; then :
45639   glibcxx_cv_func_hypot_use=yes
45640 else
45641   glibcxx_cv_func_hypot_use=no
45642 fi
45643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45644       ac_ext=c
45645 ac_cpp='$CPP $CPPFLAGS'
45646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45649
45650
45651 fi
45652
45653   fi
45654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45655 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45656
45657   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45658     for ac_func in hypot
45659 do :
45660   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45661 if test "x$ac_cv_func_hypot" = x""yes; then :
45662   cat >>confdefs.h <<_ACEOF
45663 #define HAVE_HYPOT 1
45664 _ACEOF
45665
45666 fi
45667 done
45668
45669   else
45670
45671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45672 $as_echo_n "checking for _hypot declaration... " >&6; }
45673   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45674     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45675   $as_echo_n "(cached) " >&6
45676 else
45677
45678
45679       ac_ext=cpp
45680 ac_cpp='$CXXCPP $CPPFLAGS'
45681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45684
45685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45686 /* end confdefs.h.  */
45687 #include <math.h>
45688 int
45689 main ()
45690 {
45691  _hypot(0, 0);
45692   ;
45693   return 0;
45694 }
45695 _ACEOF
45696 if ac_fn_cxx_try_compile "$LINENO"; then :
45697   glibcxx_cv_func__hypot_use=yes
45698 else
45699   glibcxx_cv_func__hypot_use=no
45700 fi
45701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45702       ac_ext=c
45703 ac_cpp='$CPP $CPPFLAGS'
45704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45707
45708
45709 fi
45710
45711   fi
45712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45713 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45714
45715     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45716       for ac_func in _hypot
45717 do :
45718   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45719 if test "x$ac_cv_func__hypot" = x""yes; then :
45720   cat >>confdefs.h <<_ACEOF
45721 #define HAVE__HYPOT 1
45722 _ACEOF
45723
45724 fi
45725 done
45726
45727     fi
45728   fi
45729
45730
45731
45732
45733
45734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45735 $as_echo_n "checking for float trig functions... " >&6; }
45736   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45737   $as_echo_n "(cached) " >&6
45738 else
45739
45740
45741     ac_ext=cpp
45742 ac_cpp='$CXXCPP $CPPFLAGS'
45743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45746
45747     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45748 /* end confdefs.h.  */
45749 #include <math.h>
45750 int
45751 main ()
45752 {
45753 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45754   ;
45755   return 0;
45756 }
45757 _ACEOF
45758 if ac_fn_cxx_try_compile "$LINENO"; then :
45759   glibcxx_cv_func_float_trig_use=yes
45760 else
45761   glibcxx_cv_func_float_trig_use=no
45762 fi
45763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45764     ac_ext=c
45765 ac_cpp='$CPP $CPPFLAGS'
45766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45769
45770 fi
45771
45772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45773 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45774   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45775     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45776 do :
45777   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45779 eval as_val=\$$as_ac_var
45780    if test "x$as_val" = x""yes; then :
45781   cat >>confdefs.h <<_ACEOF
45782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45783 _ACEOF
45784
45785 fi
45786 done
45787
45788   else
45789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45790 $as_echo_n "checking for _float trig functions... " >&6; }
45791     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45792   $as_echo_n "(cached) " >&6
45793 else
45794
45795
45796       ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801
45802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h.  */
45804 #include <math.h>
45805 int
45806 main ()
45807 {
45808 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45809   ;
45810   return 0;
45811 }
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814   glibcxx_cv_func__float_trig_use=yes
45815 else
45816   glibcxx_cv_func__float_trig_use=no
45817 fi
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819       ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45824
45825 fi
45826
45827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45828 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45829     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45830       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45831 do :
45832   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45834 eval as_val=\$$as_ac_var
45835    if test "x$as_val" = x""yes; then :
45836   cat >>confdefs.h <<_ACEOF
45837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45838 _ACEOF
45839
45840 fi
45841 done
45842
45843     fi
45844   fi
45845
45846
45847
45848
45849
45850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45851 $as_echo_n "checking for float round functions... " >&6; }
45852   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45853   $as_echo_n "(cached) " >&6
45854 else
45855
45856
45857     ac_ext=cpp
45858 ac_cpp='$CXXCPP $CPPFLAGS'
45859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45862
45863     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45864 /* end confdefs.h.  */
45865 #include <math.h>
45866 int
45867 main ()
45868 {
45869 ceilf (0); floorf (0);
45870   ;
45871   return 0;
45872 }
45873 _ACEOF
45874 if ac_fn_cxx_try_compile "$LINENO"; then :
45875   glibcxx_cv_func_float_round_use=yes
45876 else
45877   glibcxx_cv_func_float_round_use=no
45878 fi
45879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880     ac_ext=c
45881 ac_cpp='$CPP $CPPFLAGS'
45882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45885
45886 fi
45887
45888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45889 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45890   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45891     for ac_func in ceilf floorf
45892 do :
45893   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45895 eval as_val=\$$as_ac_var
45896    if test "x$as_val" = x""yes; then :
45897   cat >>confdefs.h <<_ACEOF
45898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45899 _ACEOF
45900
45901 fi
45902 done
45903
45904   else
45905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45906 $as_echo_n "checking for _float round functions... " >&6; }
45907     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45908   $as_echo_n "(cached) " >&6
45909 else
45910
45911
45912       ac_ext=cpp
45913 ac_cpp='$CXXCPP $CPPFLAGS'
45914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45917
45918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45919 /* end confdefs.h.  */
45920 #include <math.h>
45921 int
45922 main ()
45923 {
45924 _ceilf (0); _floorf (0);
45925   ;
45926   return 0;
45927 }
45928 _ACEOF
45929 if ac_fn_cxx_try_compile "$LINENO"; then :
45930   glibcxx_cv_func__float_round_use=yes
45931 else
45932   glibcxx_cv_func__float_round_use=no
45933 fi
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935       ac_ext=c
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45940
45941 fi
45942
45943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45944 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45945     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45946       for ac_func in _ceilf _floorf
45947 do :
45948   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45950 eval as_val=\$$as_ac_var
45951    if test "x$as_val" = x""yes; then :
45952   cat >>confdefs.h <<_ACEOF
45953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45954 _ACEOF
45955
45956 fi
45957 done
45958
45959     fi
45960   fi
45961
45962
45963
45964
45965
45966
45967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45968 $as_echo_n "checking for expf declaration... " >&6; }
45969   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45970     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45971   $as_echo_n "(cached) " >&6
45972 else
45973
45974
45975       ac_ext=cpp
45976 ac_cpp='$CXXCPP $CPPFLAGS'
45977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45980
45981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45982 /* end confdefs.h.  */
45983 #include <math.h>
45984                       #ifdef HAVE_IEEEFP_H
45985                       #include <ieeefp.h>
45986                       #endif
45987
45988 int
45989 main ()
45990 {
45991  expf(0);
45992   ;
45993   return 0;
45994 }
45995 _ACEOF
45996 if ac_fn_cxx_try_compile "$LINENO"; then :
45997   glibcxx_cv_func_expf_use=yes
45998 else
45999   glibcxx_cv_func_expf_use=no
46000 fi
46001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002       ac_ext=c
46003 ac_cpp='$CPP $CPPFLAGS'
46004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007
46008
46009 fi
46010
46011   fi
46012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46013 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46014
46015   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46016     for ac_func in expf
46017 do :
46018   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46019 if test "x$ac_cv_func_expf" = x""yes; then :
46020   cat >>confdefs.h <<_ACEOF
46021 #define HAVE_EXPF 1
46022 _ACEOF
46023
46024 fi
46025 done
46026
46027   else
46028
46029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46030 $as_echo_n "checking for _expf declaration... " >&6; }
46031   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46032     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46033   $as_echo_n "(cached) " >&6
46034 else
46035
46036
46037       ac_ext=cpp
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46042
46043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h.  */
46045 #include <math.h>
46046                       #ifdef HAVE_IEEEFP_H
46047                       #include <ieeefp.h>
46048                       #endif
46049
46050 int
46051 main ()
46052 {
46053  _expf(0);
46054   ;
46055   return 0;
46056 }
46057 _ACEOF
46058 if ac_fn_cxx_try_compile "$LINENO"; then :
46059   glibcxx_cv_func__expf_use=yes
46060 else
46061   glibcxx_cv_func__expf_use=no
46062 fi
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064       ac_ext=c
46065 ac_cpp='$CPP $CPPFLAGS'
46066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46069
46070
46071 fi
46072
46073   fi
46074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46075 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46076
46077     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46078       for ac_func in _expf
46079 do :
46080   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46081 if test "x$ac_cv_func__expf" = x""yes; then :
46082   cat >>confdefs.h <<_ACEOF
46083 #define HAVE__EXPF 1
46084 _ACEOF
46085
46086 fi
46087 done
46088
46089     fi
46090   fi
46091
46092
46093
46094
46095
46096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46097 $as_echo_n "checking for isnanf declaration... " >&6; }
46098   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46099     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46100   $as_echo_n "(cached) " >&6
46101 else
46102
46103
46104       ac_ext=cpp
46105 ac_cpp='$CXXCPP $CPPFLAGS'
46106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46109
46110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46111 /* end confdefs.h.  */
46112 #include <math.h>
46113                       #ifdef HAVE_IEEEFP_H
46114                       #include <ieeefp.h>
46115                       #endif
46116
46117 int
46118 main ()
46119 {
46120  isnanf(0);
46121   ;
46122   return 0;
46123 }
46124 _ACEOF
46125 if ac_fn_cxx_try_compile "$LINENO"; then :
46126   glibcxx_cv_func_isnanf_use=yes
46127 else
46128   glibcxx_cv_func_isnanf_use=no
46129 fi
46130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46131       ac_ext=c
46132 ac_cpp='$CPP $CPPFLAGS'
46133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46136
46137
46138 fi
46139
46140   fi
46141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46142 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46143
46144   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46145     for ac_func in isnanf
46146 do :
46147   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46148 if test "x$ac_cv_func_isnanf" = x""yes; then :
46149   cat >>confdefs.h <<_ACEOF
46150 #define HAVE_ISNANF 1
46151 _ACEOF
46152
46153 fi
46154 done
46155
46156   else
46157
46158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46159 $as_echo_n "checking for _isnanf declaration... " >&6; }
46160   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46161     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46162   $as_echo_n "(cached) " >&6
46163 else
46164
46165
46166       ac_ext=cpp
46167 ac_cpp='$CXXCPP $CPPFLAGS'
46168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46171
46172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46173 /* end confdefs.h.  */
46174 #include <math.h>
46175                       #ifdef HAVE_IEEEFP_H
46176                       #include <ieeefp.h>
46177                       #endif
46178
46179 int
46180 main ()
46181 {
46182  _isnanf(0);
46183   ;
46184   return 0;
46185 }
46186 _ACEOF
46187 if ac_fn_cxx_try_compile "$LINENO"; then :
46188   glibcxx_cv_func__isnanf_use=yes
46189 else
46190   glibcxx_cv_func__isnanf_use=no
46191 fi
46192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46193       ac_ext=c
46194 ac_cpp='$CPP $CPPFLAGS'
46195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46198
46199
46200 fi
46201
46202   fi
46203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46204 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46205
46206     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46207       for ac_func in _isnanf
46208 do :
46209   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46210 if test "x$ac_cv_func__isnanf" = x""yes; then :
46211   cat >>confdefs.h <<_ACEOF
46212 #define HAVE__ISNANF 1
46213 _ACEOF
46214
46215 fi
46216 done
46217
46218     fi
46219   fi
46220
46221
46222
46223
46224
46225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46226 $as_echo_n "checking for isinff declaration... " >&6; }
46227   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46228     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46229   $as_echo_n "(cached) " >&6
46230 else
46231
46232
46233       ac_ext=cpp
46234 ac_cpp='$CXXCPP $CPPFLAGS'
46235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46238
46239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46240 /* end confdefs.h.  */
46241 #include <math.h>
46242                       #ifdef HAVE_IEEEFP_H
46243                       #include <ieeefp.h>
46244                       #endif
46245
46246 int
46247 main ()
46248 {
46249  isinff(0);
46250   ;
46251   return 0;
46252 }
46253 _ACEOF
46254 if ac_fn_cxx_try_compile "$LINENO"; then :
46255   glibcxx_cv_func_isinff_use=yes
46256 else
46257   glibcxx_cv_func_isinff_use=no
46258 fi
46259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46260       ac_ext=c
46261 ac_cpp='$CPP $CPPFLAGS'
46262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46265
46266
46267 fi
46268
46269   fi
46270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46271 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46272
46273   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46274     for ac_func in isinff
46275 do :
46276   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46277 if test "x$ac_cv_func_isinff" = x""yes; then :
46278   cat >>confdefs.h <<_ACEOF
46279 #define HAVE_ISINFF 1
46280 _ACEOF
46281
46282 fi
46283 done
46284
46285   else
46286
46287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46288 $as_echo_n "checking for _isinff declaration... " >&6; }
46289   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46290     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46291   $as_echo_n "(cached) " >&6
46292 else
46293
46294
46295       ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46300
46301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46302 /* end confdefs.h.  */
46303 #include <math.h>
46304                       #ifdef HAVE_IEEEFP_H
46305                       #include <ieeefp.h>
46306                       #endif
46307
46308 int
46309 main ()
46310 {
46311  _isinff(0);
46312   ;
46313   return 0;
46314 }
46315 _ACEOF
46316 if ac_fn_cxx_try_compile "$LINENO"; then :
46317   glibcxx_cv_func__isinff_use=yes
46318 else
46319   glibcxx_cv_func__isinff_use=no
46320 fi
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322       ac_ext=c
46323 ac_cpp='$CPP $CPPFLAGS'
46324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46327
46328
46329 fi
46330
46331   fi
46332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46333 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46334
46335     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46336       for ac_func in _isinff
46337 do :
46338   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46339 if test "x$ac_cv_func__isinff" = x""yes; then :
46340   cat >>confdefs.h <<_ACEOF
46341 #define HAVE__ISINFF 1
46342 _ACEOF
46343
46344 fi
46345 done
46346
46347     fi
46348   fi
46349
46350
46351
46352
46353
46354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46355 $as_echo_n "checking for atan2f declaration... " >&6; }
46356   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46357     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46358   $as_echo_n "(cached) " >&6
46359 else
46360
46361
46362       ac_ext=cpp
46363 ac_cpp='$CXXCPP $CPPFLAGS'
46364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367
46368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46369 /* end confdefs.h.  */
46370 #include <math.h>
46371 int
46372 main ()
46373 {
46374  atan2f(0, 0);
46375   ;
46376   return 0;
46377 }
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380   glibcxx_cv_func_atan2f_use=yes
46381 else
46382   glibcxx_cv_func_atan2f_use=no
46383 fi
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385       ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46390
46391
46392 fi
46393
46394   fi
46395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46396 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46397
46398   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46399     for ac_func in atan2f
46400 do :
46401   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46402 if test "x$ac_cv_func_atan2f" = x""yes; then :
46403   cat >>confdefs.h <<_ACEOF
46404 #define HAVE_ATAN2F 1
46405 _ACEOF
46406
46407 fi
46408 done
46409
46410   else
46411
46412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46413 $as_echo_n "checking for _atan2f declaration... " >&6; }
46414   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46415     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46416   $as_echo_n "(cached) " >&6
46417 else
46418
46419
46420       ac_ext=cpp
46421 ac_cpp='$CXXCPP $CPPFLAGS'
46422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46425
46426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46427 /* end confdefs.h.  */
46428 #include <math.h>
46429 int
46430 main ()
46431 {
46432  _atan2f(0, 0);
46433   ;
46434   return 0;
46435 }
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438   glibcxx_cv_func__atan2f_use=yes
46439 else
46440   glibcxx_cv_func__atan2f_use=no
46441 fi
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443       ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46448
46449
46450 fi
46451
46452   fi
46453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46454 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46455
46456     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46457       for ac_func in _atan2f
46458 do :
46459   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46460 if test "x$ac_cv_func__atan2f" = x""yes; then :
46461   cat >>confdefs.h <<_ACEOF
46462 #define HAVE__ATAN2F 1
46463 _ACEOF
46464
46465 fi
46466 done
46467
46468     fi
46469   fi
46470
46471
46472
46473
46474
46475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46476 $as_echo_n "checking for fabsf declaration... " >&6; }
46477   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46478     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46479   $as_echo_n "(cached) " >&6
46480 else
46481
46482
46483       ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46488
46489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h.  */
46491 #include <math.h>
46492                       #ifdef HAVE_IEEEFP_H
46493                       #include <ieeefp.h>
46494                       #endif
46495
46496 int
46497 main ()
46498 {
46499  fabsf(0);
46500   ;
46501   return 0;
46502 }
46503 _ACEOF
46504 if ac_fn_cxx_try_compile "$LINENO"; then :
46505   glibcxx_cv_func_fabsf_use=yes
46506 else
46507   glibcxx_cv_func_fabsf_use=no
46508 fi
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510       ac_ext=c
46511 ac_cpp='$CPP $CPPFLAGS'
46512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46515
46516
46517 fi
46518
46519   fi
46520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46521 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46522
46523   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46524     for ac_func in fabsf
46525 do :
46526   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46527 if test "x$ac_cv_func_fabsf" = x""yes; then :
46528   cat >>confdefs.h <<_ACEOF
46529 #define HAVE_FABSF 1
46530 _ACEOF
46531
46532 fi
46533 done
46534
46535   else
46536
46537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46538 $as_echo_n "checking for _fabsf declaration... " >&6; }
46539   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46540     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46541   $as_echo_n "(cached) " >&6
46542 else
46543
46544
46545       ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46550
46551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h.  */
46553 #include <math.h>
46554                       #ifdef HAVE_IEEEFP_H
46555                       #include <ieeefp.h>
46556                       #endif
46557
46558 int
46559 main ()
46560 {
46561  _fabsf(0);
46562   ;
46563   return 0;
46564 }
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567   glibcxx_cv_func__fabsf_use=yes
46568 else
46569   glibcxx_cv_func__fabsf_use=no
46570 fi
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572       ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46577
46578
46579 fi
46580
46581   fi
46582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46583 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46584
46585     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46586       for ac_func in _fabsf
46587 do :
46588   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46589 if test "x$ac_cv_func__fabsf" = x""yes; then :
46590   cat >>confdefs.h <<_ACEOF
46591 #define HAVE__FABSF 1
46592 _ACEOF
46593
46594 fi
46595 done
46596
46597     fi
46598   fi
46599
46600
46601
46602
46603
46604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46605 $as_echo_n "checking for fmodf declaration... " >&6; }
46606   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46607     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46608   $as_echo_n "(cached) " >&6
46609 else
46610
46611
46612       ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617
46618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h.  */
46620 #include <math.h>
46621 int
46622 main ()
46623 {
46624  fmodf(0, 0);
46625   ;
46626   return 0;
46627 }
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630   glibcxx_cv_func_fmodf_use=yes
46631 else
46632   glibcxx_cv_func_fmodf_use=no
46633 fi
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635       ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640
46641
46642 fi
46643
46644   fi
46645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46646 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46647
46648   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46649     for ac_func in fmodf
46650 do :
46651   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46652 if test "x$ac_cv_func_fmodf" = x""yes; then :
46653   cat >>confdefs.h <<_ACEOF
46654 #define HAVE_FMODF 1
46655 _ACEOF
46656
46657 fi
46658 done
46659
46660   else
46661
46662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46663 $as_echo_n "checking for _fmodf declaration... " >&6; }
46664   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46665     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46666   $as_echo_n "(cached) " >&6
46667 else
46668
46669
46670       ac_ext=cpp
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46675
46676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46677 /* end confdefs.h.  */
46678 #include <math.h>
46679 int
46680 main ()
46681 {
46682  _fmodf(0, 0);
46683   ;
46684   return 0;
46685 }
46686 _ACEOF
46687 if ac_fn_cxx_try_compile "$LINENO"; then :
46688   glibcxx_cv_func__fmodf_use=yes
46689 else
46690   glibcxx_cv_func__fmodf_use=no
46691 fi
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693       ac_ext=c
46694 ac_cpp='$CPP $CPPFLAGS'
46695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46698
46699
46700 fi
46701
46702   fi
46703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46704 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46705
46706     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46707       for ac_func in _fmodf
46708 do :
46709   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46710 if test "x$ac_cv_func__fmodf" = x""yes; then :
46711   cat >>confdefs.h <<_ACEOF
46712 #define HAVE__FMODF 1
46713 _ACEOF
46714
46715 fi
46716 done
46717
46718     fi
46719   fi
46720
46721
46722
46723
46724
46725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46726 $as_echo_n "checking for frexpf declaration... " >&6; }
46727   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46728     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46729   $as_echo_n "(cached) " >&6
46730 else
46731
46732
46733       ac_ext=cpp
46734 ac_cpp='$CXXCPP $CPPFLAGS'
46735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46738
46739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46740 /* end confdefs.h.  */
46741 #include <math.h>
46742 int
46743 main ()
46744 {
46745  frexpf(0, 0);
46746   ;
46747   return 0;
46748 }
46749 _ACEOF
46750 if ac_fn_cxx_try_compile "$LINENO"; then :
46751   glibcxx_cv_func_frexpf_use=yes
46752 else
46753   glibcxx_cv_func_frexpf_use=no
46754 fi
46755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46756       ac_ext=c
46757 ac_cpp='$CPP $CPPFLAGS'
46758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46761
46762
46763 fi
46764
46765   fi
46766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46767 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46768
46769   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46770     for ac_func in frexpf
46771 do :
46772   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46773 if test "x$ac_cv_func_frexpf" = x""yes; then :
46774   cat >>confdefs.h <<_ACEOF
46775 #define HAVE_FREXPF 1
46776 _ACEOF
46777
46778 fi
46779 done
46780
46781   else
46782
46783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46784 $as_echo_n "checking for _frexpf declaration... " >&6; }
46785   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46786     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46787   $as_echo_n "(cached) " >&6
46788 else
46789
46790
46791       ac_ext=cpp
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796
46797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46798 /* end confdefs.h.  */
46799 #include <math.h>
46800 int
46801 main ()
46802 {
46803  _frexpf(0, 0);
46804   ;
46805   return 0;
46806 }
46807 _ACEOF
46808 if ac_fn_cxx_try_compile "$LINENO"; then :
46809   glibcxx_cv_func__frexpf_use=yes
46810 else
46811   glibcxx_cv_func__frexpf_use=no
46812 fi
46813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46814       ac_ext=c
46815 ac_cpp='$CPP $CPPFLAGS'
46816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46819
46820
46821 fi
46822
46823   fi
46824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46825 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46826
46827     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46828       for ac_func in _frexpf
46829 do :
46830   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46831 if test "x$ac_cv_func__frexpf" = x""yes; then :
46832   cat >>confdefs.h <<_ACEOF
46833 #define HAVE__FREXPF 1
46834 _ACEOF
46835
46836 fi
46837 done
46838
46839     fi
46840   fi
46841
46842
46843
46844
46845
46846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46847 $as_echo_n "checking for hypotf declaration... " >&6; }
46848   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46849     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46850   $as_echo_n "(cached) " >&6
46851 else
46852
46853
46854       ac_ext=cpp
46855 ac_cpp='$CXXCPP $CPPFLAGS'
46856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46859
46860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46861 /* end confdefs.h.  */
46862 #include <math.h>
46863 int
46864 main ()
46865 {
46866  hypotf(0, 0);
46867   ;
46868   return 0;
46869 }
46870 _ACEOF
46871 if ac_fn_cxx_try_compile "$LINENO"; then :
46872   glibcxx_cv_func_hypotf_use=yes
46873 else
46874   glibcxx_cv_func_hypotf_use=no
46875 fi
46876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46877       ac_ext=c
46878 ac_cpp='$CPP $CPPFLAGS'
46879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46882
46883
46884 fi
46885
46886   fi
46887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46888 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46889
46890   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46891     for ac_func in hypotf
46892 do :
46893   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46894 if test "x$ac_cv_func_hypotf" = x""yes; then :
46895   cat >>confdefs.h <<_ACEOF
46896 #define HAVE_HYPOTF 1
46897 _ACEOF
46898
46899 fi
46900 done
46901
46902   else
46903
46904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46905 $as_echo_n "checking for _hypotf declaration... " >&6; }
46906   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46907     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46908   $as_echo_n "(cached) " >&6
46909 else
46910
46911
46912       ac_ext=cpp
46913 ac_cpp='$CXXCPP $CPPFLAGS'
46914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46917
46918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46919 /* end confdefs.h.  */
46920 #include <math.h>
46921 int
46922 main ()
46923 {
46924  _hypotf(0, 0);
46925   ;
46926   return 0;
46927 }
46928 _ACEOF
46929 if ac_fn_cxx_try_compile "$LINENO"; then :
46930   glibcxx_cv_func__hypotf_use=yes
46931 else
46932   glibcxx_cv_func__hypotf_use=no
46933 fi
46934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46935       ac_ext=c
46936 ac_cpp='$CPP $CPPFLAGS'
46937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46940
46941
46942 fi
46943
46944   fi
46945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46946 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46947
46948     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46949       for ac_func in _hypotf
46950 do :
46951   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46952 if test "x$ac_cv_func__hypotf" = x""yes; then :
46953   cat >>confdefs.h <<_ACEOF
46954 #define HAVE__HYPOTF 1
46955 _ACEOF
46956
46957 fi
46958 done
46959
46960     fi
46961   fi
46962
46963
46964
46965
46966
46967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46968 $as_echo_n "checking for ldexpf declaration... " >&6; }
46969   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46970     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46971   $as_echo_n "(cached) " >&6
46972 else
46973
46974
46975       ac_ext=cpp
46976 ac_cpp='$CXXCPP $CPPFLAGS'
46977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46980
46981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46982 /* end confdefs.h.  */
46983 #include <math.h>
46984 int
46985 main ()
46986 {
46987  ldexpf(0, 0);
46988   ;
46989   return 0;
46990 }
46991 _ACEOF
46992 if ac_fn_cxx_try_compile "$LINENO"; then :
46993   glibcxx_cv_func_ldexpf_use=yes
46994 else
46995   glibcxx_cv_func_ldexpf_use=no
46996 fi
46997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46998       ac_ext=c
46999 ac_cpp='$CPP $CPPFLAGS'
47000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47003
47004
47005 fi
47006
47007   fi
47008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47009 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47010
47011   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47012     for ac_func in ldexpf
47013 do :
47014   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47015 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47016   cat >>confdefs.h <<_ACEOF
47017 #define HAVE_LDEXPF 1
47018 _ACEOF
47019
47020 fi
47021 done
47022
47023   else
47024
47025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47026 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47027   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47028     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47029   $as_echo_n "(cached) " >&6
47030 else
47031
47032
47033       ac_ext=cpp
47034 ac_cpp='$CXXCPP $CPPFLAGS'
47035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47038
47039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47040 /* end confdefs.h.  */
47041 #include <math.h>
47042 int
47043 main ()
47044 {
47045  _ldexpf(0, 0);
47046   ;
47047   return 0;
47048 }
47049 _ACEOF
47050 if ac_fn_cxx_try_compile "$LINENO"; then :
47051   glibcxx_cv_func__ldexpf_use=yes
47052 else
47053   glibcxx_cv_func__ldexpf_use=no
47054 fi
47055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47056       ac_ext=c
47057 ac_cpp='$CPP $CPPFLAGS'
47058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47061
47062
47063 fi
47064
47065   fi
47066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47067 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47068
47069     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47070       for ac_func in _ldexpf
47071 do :
47072   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47073 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47074   cat >>confdefs.h <<_ACEOF
47075 #define HAVE__LDEXPF 1
47076 _ACEOF
47077
47078 fi
47079 done
47080
47081     fi
47082   fi
47083
47084
47085
47086
47087
47088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47089 $as_echo_n "checking for logf declaration... " >&6; }
47090   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47091     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47092   $as_echo_n "(cached) " >&6
47093 else
47094
47095
47096       ac_ext=cpp
47097 ac_cpp='$CXXCPP $CPPFLAGS'
47098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47101
47102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47103 /* end confdefs.h.  */
47104 #include <math.h>
47105                       #ifdef HAVE_IEEEFP_H
47106                       #include <ieeefp.h>
47107                       #endif
47108
47109 int
47110 main ()
47111 {
47112  logf(0);
47113   ;
47114   return 0;
47115 }
47116 _ACEOF
47117 if ac_fn_cxx_try_compile "$LINENO"; then :
47118   glibcxx_cv_func_logf_use=yes
47119 else
47120   glibcxx_cv_func_logf_use=no
47121 fi
47122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47123       ac_ext=c
47124 ac_cpp='$CPP $CPPFLAGS'
47125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47128
47129
47130 fi
47131
47132   fi
47133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47134 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47135
47136   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47137     for ac_func in logf
47138 do :
47139   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47140 if test "x$ac_cv_func_logf" = x""yes; then :
47141   cat >>confdefs.h <<_ACEOF
47142 #define HAVE_LOGF 1
47143 _ACEOF
47144
47145 fi
47146 done
47147
47148   else
47149
47150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47151 $as_echo_n "checking for _logf declaration... " >&6; }
47152   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47153     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47154   $as_echo_n "(cached) " >&6
47155 else
47156
47157
47158       ac_ext=cpp
47159 ac_cpp='$CXXCPP $CPPFLAGS'
47160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47163
47164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47165 /* end confdefs.h.  */
47166 #include <math.h>
47167                       #ifdef HAVE_IEEEFP_H
47168                       #include <ieeefp.h>
47169                       #endif
47170
47171 int
47172 main ()
47173 {
47174  _logf(0);
47175   ;
47176   return 0;
47177 }
47178 _ACEOF
47179 if ac_fn_cxx_try_compile "$LINENO"; then :
47180   glibcxx_cv_func__logf_use=yes
47181 else
47182   glibcxx_cv_func__logf_use=no
47183 fi
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185       ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190
47191
47192 fi
47193
47194   fi
47195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47196 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47197
47198     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47199       for ac_func in _logf
47200 do :
47201   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47202 if test "x$ac_cv_func__logf" = x""yes; then :
47203   cat >>confdefs.h <<_ACEOF
47204 #define HAVE__LOGF 1
47205 _ACEOF
47206
47207 fi
47208 done
47209
47210     fi
47211   fi
47212
47213
47214
47215
47216
47217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47218 $as_echo_n "checking for log10f declaration... " >&6; }
47219   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47220     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47221   $as_echo_n "(cached) " >&6
47222 else
47223
47224
47225       ac_ext=cpp
47226 ac_cpp='$CXXCPP $CPPFLAGS'
47227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230
47231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h.  */
47233 #include <math.h>
47234                       #ifdef HAVE_IEEEFP_H
47235                       #include <ieeefp.h>
47236                       #endif
47237
47238 int
47239 main ()
47240 {
47241  log10f(0);
47242   ;
47243   return 0;
47244 }
47245 _ACEOF
47246 if ac_fn_cxx_try_compile "$LINENO"; then :
47247   glibcxx_cv_func_log10f_use=yes
47248 else
47249   glibcxx_cv_func_log10f_use=no
47250 fi
47251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47252       ac_ext=c
47253 ac_cpp='$CPP $CPPFLAGS'
47254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47257
47258
47259 fi
47260
47261   fi
47262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47263 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47264
47265   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47266     for ac_func in log10f
47267 do :
47268   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47269 if test "x$ac_cv_func_log10f" = x""yes; then :
47270   cat >>confdefs.h <<_ACEOF
47271 #define HAVE_LOG10F 1
47272 _ACEOF
47273
47274 fi
47275 done
47276
47277   else
47278
47279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47280 $as_echo_n "checking for _log10f declaration... " >&6; }
47281   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47282     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47283   $as_echo_n "(cached) " >&6
47284 else
47285
47286
47287       ac_ext=cpp
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47292
47293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47294 /* end confdefs.h.  */
47295 #include <math.h>
47296                       #ifdef HAVE_IEEEFP_H
47297                       #include <ieeefp.h>
47298                       #endif
47299
47300 int
47301 main ()
47302 {
47303  _log10f(0);
47304   ;
47305   return 0;
47306 }
47307 _ACEOF
47308 if ac_fn_cxx_try_compile "$LINENO"; then :
47309   glibcxx_cv_func__log10f_use=yes
47310 else
47311   glibcxx_cv_func__log10f_use=no
47312 fi
47313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47314       ac_ext=c
47315 ac_cpp='$CPP $CPPFLAGS'
47316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47319
47320
47321 fi
47322
47323   fi
47324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47325 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47326
47327     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47328       for ac_func in _log10f
47329 do :
47330   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47331 if test "x$ac_cv_func__log10f" = x""yes; then :
47332   cat >>confdefs.h <<_ACEOF
47333 #define HAVE__LOG10F 1
47334 _ACEOF
47335
47336 fi
47337 done
47338
47339     fi
47340   fi
47341
47342
47343
47344
47345
47346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47347 $as_echo_n "checking for modff declaration... " >&6; }
47348   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47349     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47350   $as_echo_n "(cached) " >&6
47351 else
47352
47353
47354       ac_ext=cpp
47355 ac_cpp='$CXXCPP $CPPFLAGS'
47356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47359
47360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47361 /* end confdefs.h.  */
47362 #include <math.h>
47363 int
47364 main ()
47365 {
47366  modff(0, 0);
47367   ;
47368   return 0;
47369 }
47370 _ACEOF
47371 if ac_fn_cxx_try_compile "$LINENO"; then :
47372   glibcxx_cv_func_modff_use=yes
47373 else
47374   glibcxx_cv_func_modff_use=no
47375 fi
47376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47377       ac_ext=c
47378 ac_cpp='$CPP $CPPFLAGS'
47379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47382
47383
47384 fi
47385
47386   fi
47387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47388 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47389
47390   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47391     for ac_func in modff
47392 do :
47393   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47394 if test "x$ac_cv_func_modff" = x""yes; then :
47395   cat >>confdefs.h <<_ACEOF
47396 #define HAVE_MODFF 1
47397 _ACEOF
47398
47399 fi
47400 done
47401
47402   else
47403
47404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47405 $as_echo_n "checking for _modff declaration... " >&6; }
47406   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47407     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47408   $as_echo_n "(cached) " >&6
47409 else
47410
47411
47412       ac_ext=cpp
47413 ac_cpp='$CXXCPP $CPPFLAGS'
47414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47417
47418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47419 /* end confdefs.h.  */
47420 #include <math.h>
47421 int
47422 main ()
47423 {
47424  _modff(0, 0);
47425   ;
47426   return 0;
47427 }
47428 _ACEOF
47429 if ac_fn_cxx_try_compile "$LINENO"; then :
47430   glibcxx_cv_func__modff_use=yes
47431 else
47432   glibcxx_cv_func__modff_use=no
47433 fi
47434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47435       ac_ext=c
47436 ac_cpp='$CPP $CPPFLAGS'
47437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47440
47441
47442 fi
47443
47444   fi
47445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47446 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47447
47448     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47449       for ac_func in _modff
47450 do :
47451   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47452 if test "x$ac_cv_func__modff" = x""yes; then :
47453   cat >>confdefs.h <<_ACEOF
47454 #define HAVE__MODFF 1
47455 _ACEOF
47456
47457 fi
47458 done
47459
47460     fi
47461   fi
47462
47463
47464
47465
47466
47467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47468 $as_echo_n "checking for modf declaration... " >&6; }
47469   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47470     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47471   $as_echo_n "(cached) " >&6
47472 else
47473
47474
47475       ac_ext=cpp
47476 ac_cpp='$CXXCPP $CPPFLAGS'
47477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47480
47481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47482 /* end confdefs.h.  */
47483 #include <math.h>
47484 int
47485 main ()
47486 {
47487  modf(0, 0);
47488   ;
47489   return 0;
47490 }
47491 _ACEOF
47492 if ac_fn_cxx_try_compile "$LINENO"; then :
47493   glibcxx_cv_func_modf_use=yes
47494 else
47495   glibcxx_cv_func_modf_use=no
47496 fi
47497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47498       ac_ext=c
47499 ac_cpp='$CPP $CPPFLAGS'
47500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47503
47504
47505 fi
47506
47507   fi
47508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47509 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47510
47511   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47512     for ac_func in modf
47513 do :
47514   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47515 if test "x$ac_cv_func_modf" = x""yes; then :
47516   cat >>confdefs.h <<_ACEOF
47517 #define HAVE_MODF 1
47518 _ACEOF
47519
47520 fi
47521 done
47522
47523   else
47524
47525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47526 $as_echo_n "checking for _modf declaration... " >&6; }
47527   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47528     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47529   $as_echo_n "(cached) " >&6
47530 else
47531
47532
47533       ac_ext=cpp
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538
47539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47540 /* end confdefs.h.  */
47541 #include <math.h>
47542 int
47543 main ()
47544 {
47545  _modf(0, 0);
47546   ;
47547   return 0;
47548 }
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551   glibcxx_cv_func__modf_use=yes
47552 else
47553   glibcxx_cv_func__modf_use=no
47554 fi
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556       ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47561
47562
47563 fi
47564
47565   fi
47566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47567 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47568
47569     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47570       for ac_func in _modf
47571 do :
47572   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47573 if test "x$ac_cv_func__modf" = x""yes; then :
47574   cat >>confdefs.h <<_ACEOF
47575 #define HAVE__MODF 1
47576 _ACEOF
47577
47578 fi
47579 done
47580
47581     fi
47582   fi
47583
47584
47585
47586
47587
47588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47589 $as_echo_n "checking for powf declaration... " >&6; }
47590   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47591     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47592   $as_echo_n "(cached) " >&6
47593 else
47594
47595
47596       ac_ext=cpp
47597 ac_cpp='$CXXCPP $CPPFLAGS'
47598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47601
47602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47603 /* end confdefs.h.  */
47604 #include <math.h>
47605 int
47606 main ()
47607 {
47608  powf(0, 0);
47609   ;
47610   return 0;
47611 }
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614   glibcxx_cv_func_powf_use=yes
47615 else
47616   glibcxx_cv_func_powf_use=no
47617 fi
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619       ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624
47625
47626 fi
47627
47628   fi
47629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47630 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47631
47632   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47633     for ac_func in powf
47634 do :
47635   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47636 if test "x$ac_cv_func_powf" = x""yes; then :
47637   cat >>confdefs.h <<_ACEOF
47638 #define HAVE_POWF 1
47639 _ACEOF
47640
47641 fi
47642 done
47643
47644   else
47645
47646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47647 $as_echo_n "checking for _powf declaration... " >&6; }
47648   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47649     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47650   $as_echo_n "(cached) " >&6
47651 else
47652
47653
47654       ac_ext=cpp
47655 ac_cpp='$CXXCPP $CPPFLAGS'
47656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47659
47660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47661 /* end confdefs.h.  */
47662 #include <math.h>
47663 int
47664 main ()
47665 {
47666  _powf(0, 0);
47667   ;
47668   return 0;
47669 }
47670 _ACEOF
47671 if ac_fn_cxx_try_compile "$LINENO"; then :
47672   glibcxx_cv_func__powf_use=yes
47673 else
47674   glibcxx_cv_func__powf_use=no
47675 fi
47676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47677       ac_ext=c
47678 ac_cpp='$CPP $CPPFLAGS'
47679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47682
47683
47684 fi
47685
47686   fi
47687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47688 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47689
47690     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47691       for ac_func in _powf
47692 do :
47693   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47694 if test "x$ac_cv_func__powf" = x""yes; then :
47695   cat >>confdefs.h <<_ACEOF
47696 #define HAVE__POWF 1
47697 _ACEOF
47698
47699 fi
47700 done
47701
47702     fi
47703   fi
47704
47705
47706
47707
47708
47709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47710 $as_echo_n "checking for sqrtf declaration... " >&6; }
47711   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47712     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47713   $as_echo_n "(cached) " >&6
47714 else
47715
47716
47717       ac_ext=cpp
47718 ac_cpp='$CXXCPP $CPPFLAGS'
47719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47722
47723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47724 /* end confdefs.h.  */
47725 #include <math.h>
47726                       #ifdef HAVE_IEEEFP_H
47727                       #include <ieeefp.h>
47728                       #endif
47729
47730 int
47731 main ()
47732 {
47733  sqrtf(0);
47734   ;
47735   return 0;
47736 }
47737 _ACEOF
47738 if ac_fn_cxx_try_compile "$LINENO"; then :
47739   glibcxx_cv_func_sqrtf_use=yes
47740 else
47741   glibcxx_cv_func_sqrtf_use=no
47742 fi
47743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47744       ac_ext=c
47745 ac_cpp='$CPP $CPPFLAGS'
47746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47749
47750
47751 fi
47752
47753   fi
47754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47755 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47756
47757   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47758     for ac_func in sqrtf
47759 do :
47760   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47761 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47762   cat >>confdefs.h <<_ACEOF
47763 #define HAVE_SQRTF 1
47764 _ACEOF
47765
47766 fi
47767 done
47768
47769   else
47770
47771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47772 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47773   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47774     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47775   $as_echo_n "(cached) " >&6
47776 else
47777
47778
47779       ac_ext=cpp
47780 ac_cpp='$CXXCPP $CPPFLAGS'
47781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784
47785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47786 /* end confdefs.h.  */
47787 #include <math.h>
47788                       #ifdef HAVE_IEEEFP_H
47789                       #include <ieeefp.h>
47790                       #endif
47791
47792 int
47793 main ()
47794 {
47795  _sqrtf(0);
47796   ;
47797   return 0;
47798 }
47799 _ACEOF
47800 if ac_fn_cxx_try_compile "$LINENO"; then :
47801   glibcxx_cv_func__sqrtf_use=yes
47802 else
47803   glibcxx_cv_func__sqrtf_use=no
47804 fi
47805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47806       ac_ext=c
47807 ac_cpp='$CPP $CPPFLAGS'
47808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47811
47812
47813 fi
47814
47815   fi
47816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47817 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47818
47819     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47820       for ac_func in _sqrtf
47821 do :
47822   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47823 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47824   cat >>confdefs.h <<_ACEOF
47825 #define HAVE__SQRTF 1
47826 _ACEOF
47827
47828 fi
47829 done
47830
47831     fi
47832   fi
47833
47834
47835
47836
47837
47838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47839 $as_echo_n "checking for sincosf declaration... " >&6; }
47840   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47841     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47842   $as_echo_n "(cached) " >&6
47843 else
47844
47845
47846       ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851
47852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h.  */
47854 #include <math.h>
47855 int
47856 main ()
47857 {
47858  sincosf(0, 0, 0);
47859   ;
47860   return 0;
47861 }
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864   glibcxx_cv_func_sincosf_use=yes
47865 else
47866   glibcxx_cv_func_sincosf_use=no
47867 fi
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869       ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47874
47875
47876 fi
47877
47878   fi
47879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47880 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47881
47882   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47883     for ac_func in sincosf
47884 do :
47885   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47886 if test "x$ac_cv_func_sincosf" = x""yes; then :
47887   cat >>confdefs.h <<_ACEOF
47888 #define HAVE_SINCOSF 1
47889 _ACEOF
47890
47891 fi
47892 done
47893
47894   else
47895
47896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47897 $as_echo_n "checking for _sincosf declaration... " >&6; }
47898   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47899     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47900   $as_echo_n "(cached) " >&6
47901 else
47902
47903
47904       ac_ext=cpp
47905 ac_cpp='$CXXCPP $CPPFLAGS'
47906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47909
47910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47911 /* end confdefs.h.  */
47912 #include <math.h>
47913 int
47914 main ()
47915 {
47916  _sincosf(0, 0, 0);
47917   ;
47918   return 0;
47919 }
47920 _ACEOF
47921 if ac_fn_cxx_try_compile "$LINENO"; then :
47922   glibcxx_cv_func__sincosf_use=yes
47923 else
47924   glibcxx_cv_func__sincosf_use=no
47925 fi
47926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47927       ac_ext=c
47928 ac_cpp='$CPP $CPPFLAGS'
47929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47932
47933
47934 fi
47935
47936   fi
47937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47938 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47939
47940     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47941       for ac_func in _sincosf
47942 do :
47943   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47944 if test "x$ac_cv_func__sincosf" = x""yes; then :
47945   cat >>confdefs.h <<_ACEOF
47946 #define HAVE__SINCOSF 1
47947 _ACEOF
47948
47949 fi
47950 done
47951
47952     fi
47953   fi
47954
47955
47956
47957
47958
47959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47960 $as_echo_n "checking for finitef declaration... " >&6; }
47961   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47962     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47963   $as_echo_n "(cached) " >&6
47964 else
47965
47966
47967       ac_ext=cpp
47968 ac_cpp='$CXXCPP $CPPFLAGS'
47969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47972
47973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47974 /* end confdefs.h.  */
47975 #include <math.h>
47976                       #ifdef HAVE_IEEEFP_H
47977                       #include <ieeefp.h>
47978                       #endif
47979
47980 int
47981 main ()
47982 {
47983  finitef(0);
47984   ;
47985   return 0;
47986 }
47987 _ACEOF
47988 if ac_fn_cxx_try_compile "$LINENO"; then :
47989   glibcxx_cv_func_finitef_use=yes
47990 else
47991   glibcxx_cv_func_finitef_use=no
47992 fi
47993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47994       ac_ext=c
47995 ac_cpp='$CPP $CPPFLAGS'
47996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47999
48000
48001 fi
48002
48003   fi
48004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48005 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48006
48007   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48008     for ac_func in finitef
48009 do :
48010   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48011 if test "x$ac_cv_func_finitef" = x""yes; then :
48012   cat >>confdefs.h <<_ACEOF
48013 #define HAVE_FINITEF 1
48014 _ACEOF
48015
48016 fi
48017 done
48018
48019   else
48020
48021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48022 $as_echo_n "checking for _finitef declaration... " >&6; }
48023   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48024     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48025   $as_echo_n "(cached) " >&6
48026 else
48027
48028
48029       ac_ext=cpp
48030 ac_cpp='$CXXCPP $CPPFLAGS'
48031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48034
48035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48036 /* end confdefs.h.  */
48037 #include <math.h>
48038                       #ifdef HAVE_IEEEFP_H
48039                       #include <ieeefp.h>
48040                       #endif
48041
48042 int
48043 main ()
48044 {
48045  _finitef(0);
48046   ;
48047   return 0;
48048 }
48049 _ACEOF
48050 if ac_fn_cxx_try_compile "$LINENO"; then :
48051   glibcxx_cv_func__finitef_use=yes
48052 else
48053   glibcxx_cv_func__finitef_use=no
48054 fi
48055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48056       ac_ext=c
48057 ac_cpp='$CPP $CPPFLAGS'
48058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48061
48062
48063 fi
48064
48065   fi
48066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48067 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48068
48069     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48070       for ac_func in _finitef
48071 do :
48072   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48073 if test "x$ac_cv_func__finitef" = x""yes; then :
48074   cat >>confdefs.h <<_ACEOF
48075 #define HAVE__FINITEF 1
48076 _ACEOF
48077
48078 fi
48079 done
48080
48081     fi
48082   fi
48083
48084
48085
48086
48087
48088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48089 $as_echo_n "checking for long double trig functions... " >&6; }
48090   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48091   $as_echo_n "(cached) " >&6
48092 else
48093
48094
48095     ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48100
48101     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h.  */
48103 #include <math.h>
48104 int
48105 main ()
48106 {
48107 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48108   ;
48109   return 0;
48110 }
48111 _ACEOF
48112 if ac_fn_cxx_try_compile "$LINENO"; then :
48113   glibcxx_cv_func_long_double_trig_use=yes
48114 else
48115   glibcxx_cv_func_long_double_trig_use=no
48116 fi
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118     ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48123
48124 fi
48125
48126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48127 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48128   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48129     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48130 do :
48131   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48133 eval as_val=\$$as_ac_var
48134    if test "x$as_val" = x""yes; then :
48135   cat >>confdefs.h <<_ACEOF
48136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48137 _ACEOF
48138
48139 fi
48140 done
48141
48142   else
48143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48144 $as_echo_n "checking for _long double trig functions... " >&6; }
48145     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48146   $as_echo_n "(cached) " >&6
48147 else
48148
48149
48150       ac_ext=cpp
48151 ac_cpp='$CXXCPP $CPPFLAGS'
48152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155
48156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157 /* end confdefs.h.  */
48158 #include <math.h>
48159 int
48160 main ()
48161 {
48162 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48163   ;
48164   return 0;
48165 }
48166 _ACEOF
48167 if ac_fn_cxx_try_compile "$LINENO"; then :
48168   glibcxx_cv_func__long_double_trig_use=yes
48169 else
48170   glibcxx_cv_func__long_double_trig_use=no
48171 fi
48172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48173       ac_ext=c
48174 ac_cpp='$CPP $CPPFLAGS'
48175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48178
48179 fi
48180
48181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48182 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48183     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48184       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48185 do :
48186   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48188 eval as_val=\$$as_ac_var
48189    if test "x$as_val" = x""yes; then :
48190   cat >>confdefs.h <<_ACEOF
48191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48192 _ACEOF
48193
48194 fi
48195 done
48196
48197     fi
48198   fi
48199
48200
48201
48202
48203
48204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48205 $as_echo_n "checking for long double round functions... " >&6; }
48206   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48207   $as_echo_n "(cached) " >&6
48208 else
48209
48210
48211     ac_ext=cpp
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216
48217     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h.  */
48219 #include <math.h>
48220 int
48221 main ()
48222 {
48223 ceill (0); floorl (0);
48224   ;
48225   return 0;
48226 }
48227 _ACEOF
48228 if ac_fn_cxx_try_compile "$LINENO"; then :
48229   glibcxx_cv_func_long_double_round_use=yes
48230 else
48231   glibcxx_cv_func_long_double_round_use=no
48232 fi
48233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48234     ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48239
48240 fi
48241
48242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48243 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48244   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48245     for ac_func in ceill floorl
48246 do :
48247   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48249 eval as_val=\$$as_ac_var
48250    if test "x$as_val" = x""yes; then :
48251   cat >>confdefs.h <<_ACEOF
48252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48253 _ACEOF
48254
48255 fi
48256 done
48257
48258   else
48259     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48260 $as_echo_n "checking for _long double round functions... " >&6; }
48261     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48262   $as_echo_n "(cached) " >&6
48263 else
48264
48265
48266       ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271
48272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h.  */
48274 #include <math.h>
48275 int
48276 main ()
48277 {
48278 _ceill (0); _floorl (0);
48279   ;
48280   return 0;
48281 }
48282 _ACEOF
48283 if ac_fn_cxx_try_compile "$LINENO"; then :
48284   glibcxx_cv_func__long_double_round_use=yes
48285 else
48286   glibcxx_cv_func__long_double_round_use=no
48287 fi
48288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48289       ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294
48295 fi
48296
48297     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48298 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48299     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48300       for ac_func in _ceill _floorl
48301 do :
48302   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48304 eval as_val=\$$as_ac_var
48305    if test "x$as_val" = x""yes; then :
48306   cat >>confdefs.h <<_ACEOF
48307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48308 _ACEOF
48309
48310 fi
48311 done
48312
48313     fi
48314   fi
48315
48316
48317
48318
48319
48320
48321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48322 $as_echo_n "checking for isnanl declaration... " >&6; }
48323   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48324     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48325   $as_echo_n "(cached) " >&6
48326 else
48327
48328
48329       ac_ext=cpp
48330 ac_cpp='$CXXCPP $CPPFLAGS'
48331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48334
48335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48336 /* end confdefs.h.  */
48337 #include <math.h>
48338                       #ifdef HAVE_IEEEFP_H
48339                       #include <ieeefp.h>
48340                       #endif
48341
48342 int
48343 main ()
48344 {
48345  isnanl(0);
48346   ;
48347   return 0;
48348 }
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351   glibcxx_cv_func_isnanl_use=yes
48352 else
48353   glibcxx_cv_func_isnanl_use=no
48354 fi
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356       ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48361
48362
48363 fi
48364
48365   fi
48366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48367 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48368
48369   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48370     for ac_func in isnanl
48371 do :
48372   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48373 if test "x$ac_cv_func_isnanl" = x""yes; then :
48374   cat >>confdefs.h <<_ACEOF
48375 #define HAVE_ISNANL 1
48376 _ACEOF
48377
48378 fi
48379 done
48380
48381   else
48382
48383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48384 $as_echo_n "checking for _isnanl declaration... " >&6; }
48385   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48386     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48387   $as_echo_n "(cached) " >&6
48388 else
48389
48390
48391       ac_ext=cpp
48392 ac_cpp='$CXXCPP $CPPFLAGS'
48393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48396
48397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398 /* end confdefs.h.  */
48399 #include <math.h>
48400                       #ifdef HAVE_IEEEFP_H
48401                       #include <ieeefp.h>
48402                       #endif
48403
48404 int
48405 main ()
48406 {
48407  _isnanl(0);
48408   ;
48409   return 0;
48410 }
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413   glibcxx_cv_func__isnanl_use=yes
48414 else
48415   glibcxx_cv_func__isnanl_use=no
48416 fi
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418       ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48423
48424
48425 fi
48426
48427   fi
48428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48429 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48430
48431     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48432       for ac_func in _isnanl
48433 do :
48434   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48435 if test "x$ac_cv_func__isnanl" = x""yes; then :
48436   cat >>confdefs.h <<_ACEOF
48437 #define HAVE__ISNANL 1
48438 _ACEOF
48439
48440 fi
48441 done
48442
48443     fi
48444   fi
48445
48446
48447
48448
48449
48450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48451 $as_echo_n "checking for isinfl declaration... " >&6; }
48452   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48453     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48454   $as_echo_n "(cached) " >&6
48455 else
48456
48457
48458       ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463
48464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h.  */
48466 #include <math.h>
48467                       #ifdef HAVE_IEEEFP_H
48468                       #include <ieeefp.h>
48469                       #endif
48470
48471 int
48472 main ()
48473 {
48474  isinfl(0);
48475   ;
48476   return 0;
48477 }
48478 _ACEOF
48479 if ac_fn_cxx_try_compile "$LINENO"; then :
48480   glibcxx_cv_func_isinfl_use=yes
48481 else
48482   glibcxx_cv_func_isinfl_use=no
48483 fi
48484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48485       ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48490
48491
48492 fi
48493
48494   fi
48495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48496 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48497
48498   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48499     for ac_func in isinfl
48500 do :
48501   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48502 if test "x$ac_cv_func_isinfl" = x""yes; then :
48503   cat >>confdefs.h <<_ACEOF
48504 #define HAVE_ISINFL 1
48505 _ACEOF
48506
48507 fi
48508 done
48509
48510   else
48511
48512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48513 $as_echo_n "checking for _isinfl declaration... " >&6; }
48514   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48515     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48516   $as_echo_n "(cached) " >&6
48517 else
48518
48519
48520       ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525
48526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h.  */
48528 #include <math.h>
48529                       #ifdef HAVE_IEEEFP_H
48530                       #include <ieeefp.h>
48531                       #endif
48532
48533 int
48534 main ()
48535 {
48536  _isinfl(0);
48537   ;
48538   return 0;
48539 }
48540 _ACEOF
48541 if ac_fn_cxx_try_compile "$LINENO"; then :
48542   glibcxx_cv_func__isinfl_use=yes
48543 else
48544   glibcxx_cv_func__isinfl_use=no
48545 fi
48546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48547       ac_ext=c
48548 ac_cpp='$CPP $CPPFLAGS'
48549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48552
48553
48554 fi
48555
48556   fi
48557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48558 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48559
48560     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48561       for ac_func in _isinfl
48562 do :
48563   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48564 if test "x$ac_cv_func__isinfl" = x""yes; then :
48565   cat >>confdefs.h <<_ACEOF
48566 #define HAVE__ISINFL 1
48567 _ACEOF
48568
48569 fi
48570 done
48571
48572     fi
48573   fi
48574
48575
48576
48577
48578
48579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48580 $as_echo_n "checking for atan2l declaration... " >&6; }
48581   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48582     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48583   $as_echo_n "(cached) " >&6
48584 else
48585
48586
48587       ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592
48593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h.  */
48595 #include <math.h>
48596 int
48597 main ()
48598 {
48599  atan2l(0, 0);
48600   ;
48601   return 0;
48602 }
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605   glibcxx_cv_func_atan2l_use=yes
48606 else
48607   glibcxx_cv_func_atan2l_use=no
48608 fi
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610       ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48615
48616
48617 fi
48618
48619   fi
48620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48621 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48622
48623   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48624     for ac_func in atan2l
48625 do :
48626   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48627 if test "x$ac_cv_func_atan2l" = x""yes; then :
48628   cat >>confdefs.h <<_ACEOF
48629 #define HAVE_ATAN2L 1
48630 _ACEOF
48631
48632 fi
48633 done
48634
48635   else
48636
48637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48638 $as_echo_n "checking for _atan2l declaration... " >&6; }
48639   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48640     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48641   $as_echo_n "(cached) " >&6
48642 else
48643
48644
48645       ac_ext=cpp
48646 ac_cpp='$CXXCPP $CPPFLAGS'
48647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48650
48651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48652 /* end confdefs.h.  */
48653 #include <math.h>
48654 int
48655 main ()
48656 {
48657  _atan2l(0, 0);
48658   ;
48659   return 0;
48660 }
48661 _ACEOF
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663   glibcxx_cv_func__atan2l_use=yes
48664 else
48665   glibcxx_cv_func__atan2l_use=no
48666 fi
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48668       ac_ext=c
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48673
48674
48675 fi
48676
48677   fi
48678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48679 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48680
48681     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48682       for ac_func in _atan2l
48683 do :
48684   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48685 if test "x$ac_cv_func__atan2l" = x""yes; then :
48686   cat >>confdefs.h <<_ACEOF
48687 #define HAVE__ATAN2L 1
48688 _ACEOF
48689
48690 fi
48691 done
48692
48693     fi
48694   fi
48695
48696
48697
48698
48699
48700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48701 $as_echo_n "checking for expl declaration... " >&6; }
48702   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48703     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48704   $as_echo_n "(cached) " >&6
48705 else
48706
48707
48708       ac_ext=cpp
48709 ac_cpp='$CXXCPP $CPPFLAGS'
48710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48713
48714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48715 /* end confdefs.h.  */
48716 #include <math.h>
48717                       #ifdef HAVE_IEEEFP_H
48718                       #include <ieeefp.h>
48719                       #endif
48720
48721 int
48722 main ()
48723 {
48724  expl(0);
48725   ;
48726   return 0;
48727 }
48728 _ACEOF
48729 if ac_fn_cxx_try_compile "$LINENO"; then :
48730   glibcxx_cv_func_expl_use=yes
48731 else
48732   glibcxx_cv_func_expl_use=no
48733 fi
48734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48735       ac_ext=c
48736 ac_cpp='$CPP $CPPFLAGS'
48737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48740
48741
48742 fi
48743
48744   fi
48745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48746 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48747
48748   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48749     for ac_func in expl
48750 do :
48751   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48752 if test "x$ac_cv_func_expl" = x""yes; then :
48753   cat >>confdefs.h <<_ACEOF
48754 #define HAVE_EXPL 1
48755 _ACEOF
48756
48757 fi
48758 done
48759
48760   else
48761
48762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48763 $as_echo_n "checking for _expl declaration... " >&6; }
48764   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48765     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48766   $as_echo_n "(cached) " >&6
48767 else
48768
48769
48770       ac_ext=cpp
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775
48776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h.  */
48778 #include <math.h>
48779                       #ifdef HAVE_IEEEFP_H
48780                       #include <ieeefp.h>
48781                       #endif
48782
48783 int
48784 main ()
48785 {
48786  _expl(0);
48787   ;
48788   return 0;
48789 }
48790 _ACEOF
48791 if ac_fn_cxx_try_compile "$LINENO"; then :
48792   glibcxx_cv_func__expl_use=yes
48793 else
48794   glibcxx_cv_func__expl_use=no
48795 fi
48796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48797       ac_ext=c
48798 ac_cpp='$CPP $CPPFLAGS'
48799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48802
48803
48804 fi
48805
48806   fi
48807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48808 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48809
48810     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48811       for ac_func in _expl
48812 do :
48813   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48814 if test "x$ac_cv_func__expl" = x""yes; then :
48815   cat >>confdefs.h <<_ACEOF
48816 #define HAVE__EXPL 1
48817 _ACEOF
48818
48819 fi
48820 done
48821
48822     fi
48823   fi
48824
48825
48826
48827
48828
48829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48830 $as_echo_n "checking for fabsl declaration... " >&6; }
48831   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48832     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48833   $as_echo_n "(cached) " >&6
48834 else
48835
48836
48837       ac_ext=cpp
48838 ac_cpp='$CXXCPP $CPPFLAGS'
48839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48842
48843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48844 /* end confdefs.h.  */
48845 #include <math.h>
48846                       #ifdef HAVE_IEEEFP_H
48847                       #include <ieeefp.h>
48848                       #endif
48849
48850 int
48851 main ()
48852 {
48853  fabsl(0);
48854   ;
48855   return 0;
48856 }
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859   glibcxx_cv_func_fabsl_use=yes
48860 else
48861   glibcxx_cv_func_fabsl_use=no
48862 fi
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864       ac_ext=c
48865 ac_cpp='$CPP $CPPFLAGS'
48866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48869
48870
48871 fi
48872
48873   fi
48874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48875 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48876
48877   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48878     for ac_func in fabsl
48879 do :
48880   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48881 if test "x$ac_cv_func_fabsl" = x""yes; then :
48882   cat >>confdefs.h <<_ACEOF
48883 #define HAVE_FABSL 1
48884 _ACEOF
48885
48886 fi
48887 done
48888
48889   else
48890
48891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48892 $as_echo_n "checking for _fabsl declaration... " >&6; }
48893   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48894     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48895   $as_echo_n "(cached) " >&6
48896 else
48897
48898
48899       ac_ext=cpp
48900 ac_cpp='$CXXCPP $CPPFLAGS'
48901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904
48905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48906 /* end confdefs.h.  */
48907 #include <math.h>
48908                       #ifdef HAVE_IEEEFP_H
48909                       #include <ieeefp.h>
48910                       #endif
48911
48912 int
48913 main ()
48914 {
48915  _fabsl(0);
48916   ;
48917   return 0;
48918 }
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921   glibcxx_cv_func__fabsl_use=yes
48922 else
48923   glibcxx_cv_func__fabsl_use=no
48924 fi
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926       ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931
48932
48933 fi
48934
48935   fi
48936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48937 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48938
48939     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48940       for ac_func in _fabsl
48941 do :
48942   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48943 if test "x$ac_cv_func__fabsl" = x""yes; then :
48944   cat >>confdefs.h <<_ACEOF
48945 #define HAVE__FABSL 1
48946 _ACEOF
48947
48948 fi
48949 done
48950
48951     fi
48952   fi
48953
48954
48955
48956
48957
48958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48959 $as_echo_n "checking for fmodl declaration... " >&6; }
48960   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48961     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48962   $as_echo_n "(cached) " >&6
48963 else
48964
48965
48966       ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971
48972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h.  */
48974 #include <math.h>
48975 int
48976 main ()
48977 {
48978  fmodl(0, 0);
48979   ;
48980   return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984   glibcxx_cv_func_fmodl_use=yes
48985 else
48986   glibcxx_cv_func_fmodl_use=no
48987 fi
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989       ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994
48995
48996 fi
48997
48998   fi
48999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49000 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49001
49002   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49003     for ac_func in fmodl
49004 do :
49005   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49006 if test "x$ac_cv_func_fmodl" = x""yes; then :
49007   cat >>confdefs.h <<_ACEOF
49008 #define HAVE_FMODL 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014   else
49015
49016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49017 $as_echo_n "checking for _fmodl declaration... " >&6; }
49018   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49019     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49020   $as_echo_n "(cached) " >&6
49021 else
49022
49023
49024       ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029
49030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h.  */
49032 #include <math.h>
49033 int
49034 main ()
49035 {
49036  _fmodl(0, 0);
49037   ;
49038   return 0;
49039 }
49040 _ACEOF
49041 if ac_fn_cxx_try_compile "$LINENO"; then :
49042   glibcxx_cv_func__fmodl_use=yes
49043 else
49044   glibcxx_cv_func__fmodl_use=no
49045 fi
49046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49047       ac_ext=c
49048 ac_cpp='$CPP $CPPFLAGS'
49049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052
49053
49054 fi
49055
49056   fi
49057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49058 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49059
49060     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49061       for ac_func in _fmodl
49062 do :
49063   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49064 if test "x$ac_cv_func__fmodl" = x""yes; then :
49065   cat >>confdefs.h <<_ACEOF
49066 #define HAVE__FMODL 1
49067 _ACEOF
49068
49069 fi
49070 done
49071
49072     fi
49073   fi
49074
49075
49076
49077
49078
49079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49080 $as_echo_n "checking for frexpl declaration... " >&6; }
49081   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49082     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49083   $as_echo_n "(cached) " >&6
49084 else
49085
49086
49087       ac_ext=cpp
49088 ac_cpp='$CXXCPP $CPPFLAGS'
49089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49092
49093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49094 /* end confdefs.h.  */
49095 #include <math.h>
49096 int
49097 main ()
49098 {
49099  frexpl(0, 0);
49100   ;
49101   return 0;
49102 }
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105   glibcxx_cv_func_frexpl_use=yes
49106 else
49107   glibcxx_cv_func_frexpl_use=no
49108 fi
49109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49110       ac_ext=c
49111 ac_cpp='$CPP $CPPFLAGS'
49112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49115
49116
49117 fi
49118
49119   fi
49120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49121 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49122
49123   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49124     for ac_func in frexpl
49125 do :
49126   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49127 if test "x$ac_cv_func_frexpl" = x""yes; then :
49128   cat >>confdefs.h <<_ACEOF
49129 #define HAVE_FREXPL 1
49130 _ACEOF
49131
49132 fi
49133 done
49134
49135   else
49136
49137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49138 $as_echo_n "checking for _frexpl declaration... " >&6; }
49139   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49140     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49141   $as_echo_n "(cached) " >&6
49142 else
49143
49144
49145       ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49150
49151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h.  */
49153 #include <math.h>
49154 int
49155 main ()
49156 {
49157  _frexpl(0, 0);
49158   ;
49159   return 0;
49160 }
49161 _ACEOF
49162 if ac_fn_cxx_try_compile "$LINENO"; then :
49163   glibcxx_cv_func__frexpl_use=yes
49164 else
49165   glibcxx_cv_func__frexpl_use=no
49166 fi
49167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49168       ac_ext=c
49169 ac_cpp='$CPP $CPPFLAGS'
49170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49173
49174
49175 fi
49176
49177   fi
49178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49179 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49180
49181     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49182       for ac_func in _frexpl
49183 do :
49184   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49185 if test "x$ac_cv_func__frexpl" = x""yes; then :
49186   cat >>confdefs.h <<_ACEOF
49187 #define HAVE__FREXPL 1
49188 _ACEOF
49189
49190 fi
49191 done
49192
49193     fi
49194   fi
49195
49196
49197
49198
49199
49200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49201 $as_echo_n "checking for hypotl declaration... " >&6; }
49202   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49203     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49204   $as_echo_n "(cached) " >&6
49205 else
49206
49207
49208       ac_ext=cpp
49209 ac_cpp='$CXXCPP $CPPFLAGS'
49210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213
49214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49215 /* end confdefs.h.  */
49216 #include <math.h>
49217 int
49218 main ()
49219 {
49220  hypotl(0, 0);
49221   ;
49222   return 0;
49223 }
49224 _ACEOF
49225 if ac_fn_cxx_try_compile "$LINENO"; then :
49226   glibcxx_cv_func_hypotl_use=yes
49227 else
49228   glibcxx_cv_func_hypotl_use=no
49229 fi
49230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49231       ac_ext=c
49232 ac_cpp='$CPP $CPPFLAGS'
49233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49236
49237
49238 fi
49239
49240   fi
49241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49242 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49243
49244   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49245     for ac_func in hypotl
49246 do :
49247   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49248 if test "x$ac_cv_func_hypotl" = x""yes; then :
49249   cat >>confdefs.h <<_ACEOF
49250 #define HAVE_HYPOTL 1
49251 _ACEOF
49252
49253 fi
49254 done
49255
49256   else
49257
49258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49259 $as_echo_n "checking for _hypotl declaration... " >&6; }
49260   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49261     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49262   $as_echo_n "(cached) " >&6
49263 else
49264
49265
49266       ac_ext=cpp
49267 ac_cpp='$CXXCPP $CPPFLAGS'
49268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49271
49272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49273 /* end confdefs.h.  */
49274 #include <math.h>
49275 int
49276 main ()
49277 {
49278  _hypotl(0, 0);
49279   ;
49280   return 0;
49281 }
49282 _ACEOF
49283 if ac_fn_cxx_try_compile "$LINENO"; then :
49284   glibcxx_cv_func__hypotl_use=yes
49285 else
49286   glibcxx_cv_func__hypotl_use=no
49287 fi
49288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49289       ac_ext=c
49290 ac_cpp='$CPP $CPPFLAGS'
49291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49294
49295
49296 fi
49297
49298   fi
49299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49300 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49301
49302     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49303       for ac_func in _hypotl
49304 do :
49305   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49306 if test "x$ac_cv_func__hypotl" = x""yes; then :
49307   cat >>confdefs.h <<_ACEOF
49308 #define HAVE__HYPOTL 1
49309 _ACEOF
49310
49311 fi
49312 done
49313
49314     fi
49315   fi
49316
49317
49318
49319
49320
49321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49322 $as_echo_n "checking for ldexpl declaration... " >&6; }
49323   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49324     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49325   $as_echo_n "(cached) " >&6
49326 else
49327
49328
49329       ac_ext=cpp
49330 ac_cpp='$CXXCPP $CPPFLAGS'
49331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49334
49335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336 /* end confdefs.h.  */
49337 #include <math.h>
49338 int
49339 main ()
49340 {
49341  ldexpl(0, 0);
49342   ;
49343   return 0;
49344 }
49345 _ACEOF
49346 if ac_fn_cxx_try_compile "$LINENO"; then :
49347   glibcxx_cv_func_ldexpl_use=yes
49348 else
49349   glibcxx_cv_func_ldexpl_use=no
49350 fi
49351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49352       ac_ext=c
49353 ac_cpp='$CPP $CPPFLAGS'
49354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49357
49358
49359 fi
49360
49361   fi
49362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49363 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49364
49365   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49366     for ac_func in ldexpl
49367 do :
49368   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49369 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49370   cat >>confdefs.h <<_ACEOF
49371 #define HAVE_LDEXPL 1
49372 _ACEOF
49373
49374 fi
49375 done
49376
49377   else
49378
49379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49380 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49381   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49382     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49383   $as_echo_n "(cached) " >&6
49384 else
49385
49386
49387       ac_ext=cpp
49388 ac_cpp='$CXXCPP $CPPFLAGS'
49389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392
49393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49394 /* end confdefs.h.  */
49395 #include <math.h>
49396 int
49397 main ()
49398 {
49399  _ldexpl(0, 0);
49400   ;
49401   return 0;
49402 }
49403 _ACEOF
49404 if ac_fn_cxx_try_compile "$LINENO"; then :
49405   glibcxx_cv_func__ldexpl_use=yes
49406 else
49407   glibcxx_cv_func__ldexpl_use=no
49408 fi
49409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49410       ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49415
49416
49417 fi
49418
49419   fi
49420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49421 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49422
49423     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49424       for ac_func in _ldexpl
49425 do :
49426   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49427 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49428   cat >>confdefs.h <<_ACEOF
49429 #define HAVE__LDEXPL 1
49430 _ACEOF
49431
49432 fi
49433 done
49434
49435     fi
49436   fi
49437
49438
49439
49440
49441
49442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49443 $as_echo_n "checking for logl declaration... " >&6; }
49444   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49445     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49446   $as_echo_n "(cached) " >&6
49447 else
49448
49449
49450       ac_ext=cpp
49451 ac_cpp='$CXXCPP $CPPFLAGS'
49452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49455
49456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49457 /* end confdefs.h.  */
49458 #include <math.h>
49459                       #ifdef HAVE_IEEEFP_H
49460                       #include <ieeefp.h>
49461                       #endif
49462
49463 int
49464 main ()
49465 {
49466  logl(0);
49467   ;
49468   return 0;
49469 }
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472   glibcxx_cv_func_logl_use=yes
49473 else
49474   glibcxx_cv_func_logl_use=no
49475 fi
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477       ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49482
49483
49484 fi
49485
49486   fi
49487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49488 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49489
49490   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49491     for ac_func in logl
49492 do :
49493   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49494 if test "x$ac_cv_func_logl" = x""yes; then :
49495   cat >>confdefs.h <<_ACEOF
49496 #define HAVE_LOGL 1
49497 _ACEOF
49498
49499 fi
49500 done
49501
49502   else
49503
49504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49505 $as_echo_n "checking for _logl declaration... " >&6; }
49506   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49507     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49508   $as_echo_n "(cached) " >&6
49509 else
49510
49511
49512       ac_ext=cpp
49513 ac_cpp='$CXXCPP $CPPFLAGS'
49514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517
49518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49519 /* end confdefs.h.  */
49520 #include <math.h>
49521                       #ifdef HAVE_IEEEFP_H
49522                       #include <ieeefp.h>
49523                       #endif
49524
49525 int
49526 main ()
49527 {
49528  _logl(0);
49529   ;
49530   return 0;
49531 }
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534   glibcxx_cv_func__logl_use=yes
49535 else
49536   glibcxx_cv_func__logl_use=no
49537 fi
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539       ac_ext=c
49540 ac_cpp='$CPP $CPPFLAGS'
49541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544
49545
49546 fi
49547
49548   fi
49549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49550 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49551
49552     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49553       for ac_func in _logl
49554 do :
49555   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49556 if test "x$ac_cv_func__logl" = x""yes; then :
49557   cat >>confdefs.h <<_ACEOF
49558 #define HAVE__LOGL 1
49559 _ACEOF
49560
49561 fi
49562 done
49563
49564     fi
49565   fi
49566
49567
49568
49569
49570
49571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49572 $as_echo_n "checking for log10l declaration... " >&6; }
49573   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49574     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49575   $as_echo_n "(cached) " >&6
49576 else
49577
49578
49579       ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584
49585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h.  */
49587 #include <math.h>
49588                       #ifdef HAVE_IEEEFP_H
49589                       #include <ieeefp.h>
49590                       #endif
49591
49592 int
49593 main ()
49594 {
49595  log10l(0);
49596   ;
49597   return 0;
49598 }
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601   glibcxx_cv_func_log10l_use=yes
49602 else
49603   glibcxx_cv_func_log10l_use=no
49604 fi
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606       ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49611
49612
49613 fi
49614
49615   fi
49616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49617 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49618
49619   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49620     for ac_func in log10l
49621 do :
49622   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49623 if test "x$ac_cv_func_log10l" = x""yes; then :
49624   cat >>confdefs.h <<_ACEOF
49625 #define HAVE_LOG10L 1
49626 _ACEOF
49627
49628 fi
49629 done
49630
49631   else
49632
49633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49634 $as_echo_n "checking for _log10l declaration... " >&6; }
49635   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49636     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49637   $as_echo_n "(cached) " >&6
49638 else
49639
49640
49641       ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646
49647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h.  */
49649 #include <math.h>
49650                       #ifdef HAVE_IEEEFP_H
49651                       #include <ieeefp.h>
49652                       #endif
49653
49654 int
49655 main ()
49656 {
49657  _log10l(0);
49658   ;
49659   return 0;
49660 }
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663   glibcxx_cv_func__log10l_use=yes
49664 else
49665   glibcxx_cv_func__log10l_use=no
49666 fi
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668       ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673
49674
49675 fi
49676
49677   fi
49678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49679 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49680
49681     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49682       for ac_func in _log10l
49683 do :
49684   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49685 if test "x$ac_cv_func__log10l" = x""yes; then :
49686   cat >>confdefs.h <<_ACEOF
49687 #define HAVE__LOG10L 1
49688 _ACEOF
49689
49690 fi
49691 done
49692
49693     fi
49694   fi
49695
49696
49697
49698
49699
49700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49701 $as_echo_n "checking for modfl declaration... " >&6; }
49702   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49703     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49704   $as_echo_n "(cached) " >&6
49705 else
49706
49707
49708       ac_ext=cpp
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49713
49714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49715 /* end confdefs.h.  */
49716 #include <math.h>
49717 int
49718 main ()
49719 {
49720  modfl(0, 0);
49721   ;
49722   return 0;
49723 }
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726   glibcxx_cv_func_modfl_use=yes
49727 else
49728   glibcxx_cv_func_modfl_use=no
49729 fi
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731       ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49736
49737
49738 fi
49739
49740   fi
49741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49742 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49743
49744   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49745     for ac_func in modfl
49746 do :
49747   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49748 if test "x$ac_cv_func_modfl" = x""yes; then :
49749   cat >>confdefs.h <<_ACEOF
49750 #define HAVE_MODFL 1
49751 _ACEOF
49752
49753 fi
49754 done
49755
49756   else
49757
49758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49759 $as_echo_n "checking for _modfl declaration... " >&6; }
49760   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49761     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49762   $as_echo_n "(cached) " >&6
49763 else
49764
49765
49766       ac_ext=cpp
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771
49772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49773 /* end confdefs.h.  */
49774 #include <math.h>
49775 int
49776 main ()
49777 {
49778  _modfl(0, 0);
49779   ;
49780   return 0;
49781 }
49782 _ACEOF
49783 if ac_fn_cxx_try_compile "$LINENO"; then :
49784   glibcxx_cv_func__modfl_use=yes
49785 else
49786   glibcxx_cv_func__modfl_use=no
49787 fi
49788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49789       ac_ext=c
49790 ac_cpp='$CPP $CPPFLAGS'
49791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49794
49795
49796 fi
49797
49798   fi
49799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49800 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49801
49802     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49803       for ac_func in _modfl
49804 do :
49805   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49806 if test "x$ac_cv_func__modfl" = x""yes; then :
49807   cat >>confdefs.h <<_ACEOF
49808 #define HAVE__MODFL 1
49809 _ACEOF
49810
49811 fi
49812 done
49813
49814     fi
49815   fi
49816
49817
49818
49819
49820
49821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49822 $as_echo_n "checking for powl declaration... " >&6; }
49823   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49824     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49825   $as_echo_n "(cached) " >&6
49826 else
49827
49828
49829       ac_ext=cpp
49830 ac_cpp='$CXXCPP $CPPFLAGS'
49831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834
49835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49836 /* end confdefs.h.  */
49837 #include <math.h>
49838 int
49839 main ()
49840 {
49841  powl(0, 0);
49842   ;
49843   return 0;
49844 }
49845 _ACEOF
49846 if ac_fn_cxx_try_compile "$LINENO"; then :
49847   glibcxx_cv_func_powl_use=yes
49848 else
49849   glibcxx_cv_func_powl_use=no
49850 fi
49851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49852       ac_ext=c
49853 ac_cpp='$CPP $CPPFLAGS'
49854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49857
49858
49859 fi
49860
49861   fi
49862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49863 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49864
49865   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49866     for ac_func in powl
49867 do :
49868   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49869 if test "x$ac_cv_func_powl" = x""yes; then :
49870   cat >>confdefs.h <<_ACEOF
49871 #define HAVE_POWL 1
49872 _ACEOF
49873
49874 fi
49875 done
49876
49877   else
49878
49879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49880 $as_echo_n "checking for _powl declaration... " >&6; }
49881   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49882     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49883   $as_echo_n "(cached) " >&6
49884 else
49885
49886
49887       ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892
49893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h.  */
49895 #include <math.h>
49896 int
49897 main ()
49898 {
49899  _powl(0, 0);
49900   ;
49901   return 0;
49902 }
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905   glibcxx_cv_func__powl_use=yes
49906 else
49907   glibcxx_cv_func__powl_use=no
49908 fi
49909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49910       ac_ext=c
49911 ac_cpp='$CPP $CPPFLAGS'
49912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49915
49916
49917 fi
49918
49919   fi
49920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49921 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49922
49923     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49924       for ac_func in _powl
49925 do :
49926   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49927 if test "x$ac_cv_func__powl" = x""yes; then :
49928   cat >>confdefs.h <<_ACEOF
49929 #define HAVE__POWL 1
49930 _ACEOF
49931
49932 fi
49933 done
49934
49935     fi
49936   fi
49937
49938
49939
49940
49941
49942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49943 $as_echo_n "checking for sqrtl declaration... " >&6; }
49944   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49945     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49946   $as_echo_n "(cached) " >&6
49947 else
49948
49949
49950       ac_ext=cpp
49951 ac_cpp='$CXXCPP $CPPFLAGS'
49952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49955
49956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49957 /* end confdefs.h.  */
49958 #include <math.h>
49959                       #ifdef HAVE_IEEEFP_H
49960                       #include <ieeefp.h>
49961                       #endif
49962
49963 int
49964 main ()
49965 {
49966  sqrtl(0);
49967   ;
49968   return 0;
49969 }
49970 _ACEOF
49971 if ac_fn_cxx_try_compile "$LINENO"; then :
49972   glibcxx_cv_func_sqrtl_use=yes
49973 else
49974   glibcxx_cv_func_sqrtl_use=no
49975 fi
49976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49977       ac_ext=c
49978 ac_cpp='$CPP $CPPFLAGS'
49979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49982
49983
49984 fi
49985
49986   fi
49987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49988 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49989
49990   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49991     for ac_func in sqrtl
49992 do :
49993   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49994 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49995   cat >>confdefs.h <<_ACEOF
49996 #define HAVE_SQRTL 1
49997 _ACEOF
49998
49999 fi
50000 done
50001
50002   else
50003
50004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50005 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50006   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50007     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50008   $as_echo_n "(cached) " >&6
50009 else
50010
50011
50012       ac_ext=cpp
50013 ac_cpp='$CXXCPP $CPPFLAGS'
50014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50017
50018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50019 /* end confdefs.h.  */
50020 #include <math.h>
50021                       #ifdef HAVE_IEEEFP_H
50022                       #include <ieeefp.h>
50023                       #endif
50024
50025 int
50026 main ()
50027 {
50028  _sqrtl(0);
50029   ;
50030   return 0;
50031 }
50032 _ACEOF
50033 if ac_fn_cxx_try_compile "$LINENO"; then :
50034   glibcxx_cv_func__sqrtl_use=yes
50035 else
50036   glibcxx_cv_func__sqrtl_use=no
50037 fi
50038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50039       ac_ext=c
50040 ac_cpp='$CPP $CPPFLAGS'
50041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50044
50045
50046 fi
50047
50048   fi
50049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50050 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50051
50052     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50053       for ac_func in _sqrtl
50054 do :
50055   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50056 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50057   cat >>confdefs.h <<_ACEOF
50058 #define HAVE__SQRTL 1
50059 _ACEOF
50060
50061 fi
50062 done
50063
50064     fi
50065   fi
50066
50067
50068
50069
50070
50071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50072 $as_echo_n "checking for sincosl declaration... " >&6; }
50073   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50074     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50075   $as_echo_n "(cached) " >&6
50076 else
50077
50078
50079       ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084
50085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h.  */
50087 #include <math.h>
50088 int
50089 main ()
50090 {
50091  sincosl(0, 0, 0);
50092   ;
50093   return 0;
50094 }
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097   glibcxx_cv_func_sincosl_use=yes
50098 else
50099   glibcxx_cv_func_sincosl_use=no
50100 fi
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102       ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50107
50108
50109 fi
50110
50111   fi
50112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50113 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50114
50115   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50116     for ac_func in sincosl
50117 do :
50118   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50119 if test "x$ac_cv_func_sincosl" = x""yes; then :
50120   cat >>confdefs.h <<_ACEOF
50121 #define HAVE_SINCOSL 1
50122 _ACEOF
50123
50124 fi
50125 done
50126
50127   else
50128
50129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50130 $as_echo_n "checking for _sincosl declaration... " >&6; }
50131   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50132     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50133   $as_echo_n "(cached) " >&6
50134 else
50135
50136
50137       ac_ext=cpp
50138 ac_cpp='$CXXCPP $CPPFLAGS'
50139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50142
50143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50144 /* end confdefs.h.  */
50145 #include <math.h>
50146 int
50147 main ()
50148 {
50149  _sincosl(0, 0, 0);
50150   ;
50151   return 0;
50152 }
50153 _ACEOF
50154 if ac_fn_cxx_try_compile "$LINENO"; then :
50155   glibcxx_cv_func__sincosl_use=yes
50156 else
50157   glibcxx_cv_func__sincosl_use=no
50158 fi
50159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50160       ac_ext=c
50161 ac_cpp='$CPP $CPPFLAGS'
50162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165
50166
50167 fi
50168
50169   fi
50170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50171 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50172
50173     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50174       for ac_func in _sincosl
50175 do :
50176   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50177 if test "x$ac_cv_func__sincosl" = x""yes; then :
50178   cat >>confdefs.h <<_ACEOF
50179 #define HAVE__SINCOSL 1
50180 _ACEOF
50181
50182 fi
50183 done
50184
50185     fi
50186   fi
50187
50188
50189
50190
50191
50192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50193 $as_echo_n "checking for finitel declaration... " >&6; }
50194   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50195     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50196   $as_echo_n "(cached) " >&6
50197 else
50198
50199
50200       ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205
50206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h.  */
50208 #include <math.h>
50209                       #ifdef HAVE_IEEEFP_H
50210                       #include <ieeefp.h>
50211                       #endif
50212
50213 int
50214 main ()
50215 {
50216  finitel(0);
50217   ;
50218   return 0;
50219 }
50220 _ACEOF
50221 if ac_fn_cxx_try_compile "$LINENO"; then :
50222   glibcxx_cv_func_finitel_use=yes
50223 else
50224   glibcxx_cv_func_finitel_use=no
50225 fi
50226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50227       ac_ext=c
50228 ac_cpp='$CPP $CPPFLAGS'
50229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232
50233
50234 fi
50235
50236   fi
50237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50238 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50239
50240   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50241     for ac_func in finitel
50242 do :
50243   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50244 if test "x$ac_cv_func_finitel" = x""yes; then :
50245   cat >>confdefs.h <<_ACEOF
50246 #define HAVE_FINITEL 1
50247 _ACEOF
50248
50249 fi
50250 done
50251
50252   else
50253
50254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50255 $as_echo_n "checking for _finitel declaration... " >&6; }
50256   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50257     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50258   $as_echo_n "(cached) " >&6
50259 else
50260
50261
50262       ac_ext=cpp
50263 ac_cpp='$CXXCPP $CPPFLAGS'
50264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50267
50268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50269 /* end confdefs.h.  */
50270 #include <math.h>
50271                       #ifdef HAVE_IEEEFP_H
50272                       #include <ieeefp.h>
50273                       #endif
50274
50275 int
50276 main ()
50277 {
50278  _finitel(0);
50279   ;
50280   return 0;
50281 }
50282 _ACEOF
50283 if ac_fn_cxx_try_compile "$LINENO"; then :
50284   glibcxx_cv_func__finitel_use=yes
50285 else
50286   glibcxx_cv_func__finitel_use=no
50287 fi
50288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50289       ac_ext=c
50290 ac_cpp='$CPP $CPPFLAGS'
50291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50294
50295
50296 fi
50297
50298   fi
50299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50300 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50301
50302     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50303       for ac_func in _finitel
50304 do :
50305   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50306 if test "x$ac_cv_func__finitel" = x""yes; then :
50307   cat >>confdefs.h <<_ACEOF
50308 #define HAVE__FINITEL 1
50309 _ACEOF
50310
50311 fi
50312 done
50313
50314     fi
50315   fi
50316
50317
50318
50319
50320   LIBS="$ac_save_LIBS"
50321   CXXFLAGS="$ac_save_CXXFLAGS"
50322
50323
50324   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50325   ac_save_CXXFLAGS="$CXXFLAGS"
50326   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50327
50328
50329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50330 $as_echo_n "checking for strtold declaration... " >&6; }
50331   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50332     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50333   $as_echo_n "(cached) " >&6
50334 else
50335
50336
50337       ac_ext=cpp
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50342
50343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h.  */
50345 #include <stdlib.h>
50346 int
50347 main ()
50348 {
50349  strtold(0, 0);
50350   ;
50351   return 0;
50352 }
50353 _ACEOF
50354 if ac_fn_cxx_try_compile "$LINENO"; then :
50355   glibcxx_cv_func_strtold_use=yes
50356 else
50357   glibcxx_cv_func_strtold_use=no
50358 fi
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360       ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50365
50366
50367 fi
50368
50369   fi
50370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50371 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50372   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50373     for ac_func in strtold
50374 do :
50375   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50376 if test "x$ac_cv_func_strtold" = x""yes; then :
50377   cat >>confdefs.h <<_ACEOF
50378 #define HAVE_STRTOLD 1
50379 _ACEOF
50380
50381 fi
50382 done
50383
50384   fi
50385
50386
50387
50388
50389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50390 $as_echo_n "checking for strtof declaration... " >&6; }
50391   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50392     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50393   $as_echo_n "(cached) " >&6
50394 else
50395
50396
50397       ac_ext=cpp
50398 ac_cpp='$CXXCPP $CPPFLAGS'
50399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50402
50403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50404 /* end confdefs.h.  */
50405 #include <stdlib.h>
50406 int
50407 main ()
50408 {
50409  strtof(0, 0);
50410   ;
50411   return 0;
50412 }
50413 _ACEOF
50414 if ac_fn_cxx_try_compile "$LINENO"; then :
50415   glibcxx_cv_func_strtof_use=yes
50416 else
50417   glibcxx_cv_func_strtof_use=no
50418 fi
50419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50420       ac_ext=c
50421 ac_cpp='$CPP $CPPFLAGS'
50422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425
50426
50427 fi
50428
50429   fi
50430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50431 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50432   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50433     for ac_func in strtof
50434 do :
50435   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50436 if test "x$ac_cv_func_strtof" = x""yes; then :
50437   cat >>confdefs.h <<_ACEOF
50438 #define HAVE_STRTOF 1
50439 _ACEOF
50440
50441 fi
50442 done
50443
50444   fi
50445
50446
50447
50448
50449   CXXFLAGS="$ac_save_CXXFLAGS"
50450
50451     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50452
50453
50454
50455    # Check whether --enable-tls was given.
50456 if test "${enable_tls+set}" = set; then :
50457   enableval=$enable_tls;
50458       case "$enableval" in
50459        yes|no) ;;
50460        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50461       esac
50462
50463 else
50464   enable_tls=yes
50465 fi
50466
50467
50468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50469 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50470 if test "${gcc_cv_have_tls+set}" = set; then :
50471   $as_echo_n "(cached) " >&6
50472 else
50473
50474     if test "$cross_compiling" = yes; then :
50475                 if test x$gcc_no_link = xyes; then
50476   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50477 fi
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h.  */
50480 __thread int a; int b; int main() { return a = b; }
50481 _ACEOF
50482 if ac_fn_c_try_link "$LINENO"; then :
50483   chktls_save_LDFLAGS="$LDFLAGS"
50484                           case $host in
50485             *-*-linux*)
50486               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50487               ;;
50488           esac
50489           chktls_save_CFLAGS="$CFLAGS"
50490           CFLAGS="-fPIC $CFLAGS"
50491                   if test x$gcc_no_link = xyes; then
50492   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50493 fi
50494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50495 /* end confdefs.h.  */
50496 int f() { return 0; }
50497 _ACEOF
50498 if ac_fn_c_try_link "$LINENO"; then :
50499   if test x$gcc_no_link = xyes; then
50500   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50501 fi
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h.  */
50504 __thread int a; int b; int f() { return a = b; }
50505 _ACEOF
50506 if ac_fn_c_try_link "$LINENO"; then :
50507   gcc_cv_have_tls=yes
50508 else
50509   gcc_cv_have_tls=no
50510 fi
50511 rm -f core conftest.err conftest.$ac_objext \
50512     conftest$ac_exeext conftest.$ac_ext
50513 else
50514   gcc_cv_have_tls=yes
50515 fi
50516 rm -f core conftest.err conftest.$ac_objext \
50517     conftest$ac_exeext conftest.$ac_ext
50518           CFLAGS="$chktls_save_CFLAGS"
50519           LDFLAGS="$chktls_save_LDFLAGS"
50520 else
50521   gcc_cv_have_tls=no
50522 fi
50523 rm -f core conftest.err conftest.$ac_objext \
50524     conftest$ac_exeext conftest.$ac_ext
50525
50526
50527 else
50528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50529 /* end confdefs.h.  */
50530 __thread int a; int b; int main() { return a = b; }
50531 _ACEOF
50532 if ac_fn_c_try_run "$LINENO"; then :
50533                       chktls_save_LDFLAGS="$LDFLAGS"
50534       LDFLAGS="-static $LDFLAGS"
50535       if test x$gcc_no_link = xyes; then
50536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50537 fi
50538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50539 /* end confdefs.h.  */
50540 int main() { return 0; }
50541 _ACEOF
50542 if ac_fn_c_try_link "$LINENO"; then :
50543   if test "$cross_compiling" = yes; then :
50544   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50546 as_fn_error "cannot run test program while cross compiling
50547 See \`config.log' for more details." "$LINENO" 5; }
50548 else
50549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550 /* end confdefs.h.  */
50551 __thread int a; int b; int main() { return a = b; }
50552 _ACEOF
50553 if ac_fn_c_try_run "$LINENO"; then :
50554   gcc_cv_have_tls=yes
50555 else
50556   gcc_cv_have_tls=no
50557 fi
50558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50559   conftest.$ac_objext conftest.beam conftest.$ac_ext
50560 fi
50561
50562 else
50563   gcc_cv_have_tls=yes
50564 fi
50565 rm -f core conftest.err conftest.$ac_objext \
50566     conftest$ac_exeext conftest.$ac_ext
50567       LDFLAGS="$chktls_save_LDFLAGS"
50568       if test $gcc_cv_have_tls = yes; then
50569                                                 chktls_save_CFLAGS="$CFLAGS"
50570         thread_CFLAGS=failed
50571         for flag in '' '-pthread' '-lpthread'; do
50572           CFLAGS="$flag $chktls_save_CFLAGS"
50573           if test x$gcc_no_link = xyes; then
50574   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50575 fi
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h.  */
50578 #include <pthread.h>
50579                 void *g(void *d) { return NULL; }
50580 int
50581 main ()
50582 {
50583 pthread_t t; pthread_create(&t,NULL,g,NULL);
50584   ;
50585   return 0;
50586 }
50587 _ACEOF
50588 if ac_fn_c_try_link "$LINENO"; then :
50589   thread_CFLAGS="$flag"
50590 fi
50591 rm -f core conftest.err conftest.$ac_objext \
50592     conftest$ac_exeext conftest.$ac_ext
50593           if test "X$thread_CFLAGS" != Xfailed; then
50594             break
50595           fi
50596         done
50597         CFLAGS="$chktls_save_CFLAGS"
50598         if test "X$thread_CFLAGS" != Xfailed; then
50599           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50600                                                   if test "$cross_compiling" = yes; then :
50601   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50603 as_fn_error "cannot run test program while cross compiling
50604 See \`config.log' for more details." "$LINENO" 5; }
50605 else
50606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50607 /* end confdefs.h.  */
50608 #include <pthread.h>
50609                 __thread int a;
50610                 static int *volatile a_in_other_thread;
50611                 static void *
50612                 thread_func (void *arg)
50613                 {
50614                   a_in_other_thread = &a;
50615                   return (void *)0;
50616                 }
50617 int
50618 main ()
50619 {
50620 pthread_t thread;
50621                 void *thread_retval;
50622                 int *volatile a_in_main_thread;
50623                 a_in_main_thread = &a;
50624                 if (pthread_create (&thread, (pthread_attr_t *)0,
50625                                     thread_func, (void *)0))
50626                   return 0;
50627                 if (pthread_join (thread, &thread_retval))
50628                   return 0;
50629                 return (a_in_other_thread == a_in_main_thread);
50630   ;
50631   return 0;
50632 }
50633 _ACEOF
50634 if ac_fn_c_try_run "$LINENO"; then :
50635   gcc_cv_have_tls=yes
50636 else
50637   gcc_cv_have_tls=no
50638 fi
50639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50640   conftest.$ac_objext conftest.beam conftest.$ac_ext
50641 fi
50642
50643           CFLAGS="$chktls_save_CFLAGS"
50644         fi
50645       fi
50646 else
50647   gcc_cv_have_tls=no
50648 fi
50649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50650   conftest.$ac_objext conftest.beam conftest.$ac_ext
50651 fi
50652
50653 fi
50654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50655 $as_echo "$gcc_cv_have_tls" >&6; }
50656   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50657
50658 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50659
50660   fi
50661
50662
50663
50664
50665
50666           am_save_CPPFLAGS="$CPPFLAGS"
50667
50668   for element in $INCICONV; do
50669     haveit=
50670     for x in $CPPFLAGS; do
50671
50672   acl_save_prefix="$prefix"
50673   prefix="$acl_final_prefix"
50674   acl_save_exec_prefix="$exec_prefix"
50675   exec_prefix="$acl_final_exec_prefix"
50676   eval x=\"$x\"
50677   exec_prefix="$acl_save_exec_prefix"
50678   prefix="$acl_save_prefix"
50679
50680       if test "X$x" = "X$element"; then
50681         haveit=yes
50682         break
50683       fi
50684     done
50685     if test -z "$haveit"; then
50686       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50687     fi
50688   done
50689
50690
50691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50692 $as_echo_n "checking for iconv... " >&6; }
50693 if test "${am_cv_func_iconv+set}" = set; then :
50694   $as_echo_n "(cached) " >&6
50695 else
50696
50697     am_cv_func_iconv="no, consider installing GNU libiconv"
50698     am_cv_lib_iconv=no
50699     if test x$gcc_no_link = xyes; then
50700   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50701 fi
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h.  */
50704 #include <stdlib.h>
50705 #include <iconv.h>
50706 int
50707 main ()
50708 {
50709 iconv_t cd = iconv_open("","");
50710        iconv(cd,NULL,NULL,NULL,NULL);
50711        iconv_close(cd);
50712   ;
50713   return 0;
50714 }
50715 _ACEOF
50716 if ac_fn_c_try_link "$LINENO"; then :
50717   am_cv_func_iconv=yes
50718 fi
50719 rm -f core conftest.err conftest.$ac_objext \
50720     conftest$ac_exeext conftest.$ac_ext
50721     if test "$am_cv_func_iconv" != yes; then
50722       am_save_LIBS="$LIBS"
50723       LIBS="$LIBS $LIBICONV"
50724       if test x$gcc_no_link = xyes; then
50725   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50726 fi
50727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50728 /* end confdefs.h.  */
50729 #include <stdlib.h>
50730 #include <iconv.h>
50731 int
50732 main ()
50733 {
50734 iconv_t cd = iconv_open("","");
50735          iconv(cd,NULL,NULL,NULL,NULL);
50736          iconv_close(cd);
50737   ;
50738   return 0;
50739 }
50740 _ACEOF
50741 if ac_fn_c_try_link "$LINENO"; then :
50742   am_cv_lib_iconv=yes
50743         am_cv_func_iconv=yes
50744 fi
50745 rm -f core conftest.err conftest.$ac_objext \
50746     conftest$ac_exeext conftest.$ac_ext
50747       LIBS="$am_save_LIBS"
50748     fi
50749
50750 fi
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50752 $as_echo "$am_cv_func_iconv" >&6; }
50753   if test "$am_cv_func_iconv" = yes; then
50754
50755 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50756
50757   fi
50758   if test "$am_cv_lib_iconv" = yes; then
50759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50760 $as_echo_n "checking how to link with libiconv... " >&6; }
50761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50762 $as_echo "$LIBICONV" >&6; }
50763   else
50764             CPPFLAGS="$am_save_CPPFLAGS"
50765     LIBICONV=
50766     LTLIBICONV=
50767   fi
50768
50769
50770
50771   if test "$am_cv_func_iconv" = yes; then
50772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50773 $as_echo_n "checking for iconv declaration... " >&6; }
50774     if test "${am_cv_proto_iconv+set}" = set; then :
50775   $as_echo_n "(cached) " >&6
50776 else
50777
50778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50779 /* end confdefs.h.  */
50780
50781 #include <stdlib.h>
50782 #include <iconv.h>
50783 extern
50784 #ifdef __cplusplus
50785 "C"
50786 #endif
50787 #if defined(__STDC__) || defined(__cplusplus)
50788 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50789 #else
50790 size_t iconv();
50791 #endif
50792
50793 int
50794 main ()
50795 {
50796
50797   ;
50798   return 0;
50799 }
50800 _ACEOF
50801 if ac_fn_c_try_compile "$LINENO"; then :
50802   am_cv_proto_iconv_arg1=""
50803 else
50804   am_cv_proto_iconv_arg1="const"
50805 fi
50806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50807       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
50808 fi
50809
50810     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50811     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50812          }$am_cv_proto_iconv" >&5
50813 $as_echo "${ac_t:-
50814          }$am_cv_proto_iconv" >&6; }
50815
50816 cat >>confdefs.h <<_ACEOF
50817 #define ICONV_CONST $am_cv_proto_iconv_arg1
50818 _ACEOF
50819
50820   fi
50821
50822     ;;
50823   *-mingw32*)
50824
50825   # If we're not using GNU ld, then there's no point in even trying these
50826   # tests.  Check for that first.  We should have already tested for gld
50827   # by now (in libtool), but require it now just to be safe...
50828   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50829   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50830
50831
50832
50833   # The name set by libtool depends on the version of libtool.  Shame on us
50834   # for depending on an impl detail, but c'est la vie.  Older versions used
50835   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50836   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50837   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50838   # set (hence we're using an older libtool), then set it.
50839   if test x${with_gnu_ld+set} != xset; then
50840     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50841       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50842       with_gnu_ld=no
50843     else
50844       with_gnu_ld=$ac_cv_prog_gnu_ld
50845     fi
50846   fi
50847
50848   # Start by getting the version number.  I think the libtool test already
50849   # does some of this, but throws away the result.
50850   glibcxx_ld_is_gold=no
50851   if test x"$with_gnu_ld" = x"yes"; then
50852     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50853 $as_echo_n "checking for ld version... " >&6; }
50854
50855     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50856       glibcxx_ld_is_gold=yes
50857     fi
50858     ldver=`$LD --version 2>/dev/null |
50859            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
50860
50861     glibcxx_gnu_ld_version=`echo $ldver | \
50862            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50864 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50865   fi
50866
50867   # Set --gc-sections.
50868   glibcxx_have_gc_sections=no
50869   if test "$glibcxx_ld_is_gold" = "yes"; then
50870     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50871       glibcxx_have_gc_sections=yes
50872     fi
50873   else
50874     glibcxx_gcsections_min_ld=21602
50875     if test x"$with_gnu_ld" = x"yes" &&
50876         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50877       glibcxx_have_gc_sections=yes
50878     fi
50879   fi
50880   if test "$glibcxx_have_gc_sections" = "yes"; then
50881     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50882     # NB: This flag only works reliably after 2.16.1. Configure tests
50883     # for this are difficult, so hard wire a value that should work.
50884
50885     ac_test_CFLAGS="${CFLAGS+set}"
50886     ac_save_CFLAGS="$CFLAGS"
50887     CFLAGS='-Wl,--gc-sections'
50888
50889     # Check for -Wl,--gc-sections
50890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50891 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50892     if test x$gcc_no_link = xyes; then
50893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50894 fi
50895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50896 /* end confdefs.h.  */
50897  int one(void) { return 1; }
50898      int two(void) { return 2; }
50899
50900 int
50901 main ()
50902 {
50903  two();
50904   ;
50905   return 0;
50906 }
50907 _ACEOF
50908 if ac_fn_c_try_link "$LINENO"; then :
50909   ac_gcsections=yes
50910 else
50911   ac_gcsections=no
50912 fi
50913 rm -f core conftest.err conftest.$ac_objext \
50914     conftest$ac_exeext conftest.$ac_ext
50915     if test "$ac_gcsections" = "yes"; then
50916       rm -f conftest.c
50917       touch conftest.c
50918       if $CC -c conftest.c; then
50919         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50920            grep "Warning: gc-sections option ignored" > /dev/null; then
50921           ac_gcsections=no
50922         fi
50923       fi
50924       rm -f conftest.c conftest.o conftest
50925     fi
50926     if test "$ac_gcsections" = "yes"; then
50927       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50928     fi
50929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50930 $as_echo "$ac_gcsections" >&6; }
50931
50932     if test "$ac_test_CFLAGS" = set; then
50933       CFLAGS="$ac_save_CFLAGS"
50934     else
50935       # this is the suspicious part
50936       CFLAGS=''
50937     fi
50938   fi
50939
50940   # Set -z,relro.
50941   # Note this is only for shared objects.
50942   ac_ld_relro=no
50943   if test x"$with_gnu_ld" = x"yes"; then
50944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50945 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50946     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50947     if test -n "$cxx_z_relo"; then
50948       OPT_LDFLAGS="-Wl,-z,relro"
50949       ac_ld_relro=yes
50950     fi
50951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50952 $as_echo "$ac_ld_relro" >&6; }
50953   fi
50954
50955   # Set linker optimization flags.
50956   if test x"$with_gnu_ld" = x"yes"; then
50957     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50958   fi
50959
50960
50961
50962
50963
50964   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50965   ac_save_CXXFLAGS="$CXXFLAGS"
50966   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50967
50968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50969 $as_echo_n "checking for sin in -lm... " >&6; }
50970 if test "${ac_cv_lib_m_sin+set}" = set; then :
50971   $as_echo_n "(cached) " >&6
50972 else
50973   ac_check_lib_save_LIBS=$LIBS
50974 LIBS="-lm  $LIBS"
50975 if test x$gcc_no_link = xyes; then
50976   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50977 fi
50978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50979 /* end confdefs.h.  */
50980
50981 /* Override any GCC internal prototype to avoid an error.
50982    Use char because int might match the return type of a GCC
50983    builtin and then its argument prototype would still apply.  */
50984 #ifdef __cplusplus
50985 extern "C"
50986 #endif
50987 char sin ();
50988 int
50989 main ()
50990 {
50991 return sin ();
50992   ;
50993   return 0;
50994 }
50995 _ACEOF
50996 if ac_fn_c_try_link "$LINENO"; then :
50997   ac_cv_lib_m_sin=yes
50998 else
50999   ac_cv_lib_m_sin=no
51000 fi
51001 rm -f core conftest.err conftest.$ac_objext \
51002     conftest$ac_exeext conftest.$ac_ext
51003 LIBS=$ac_check_lib_save_LIBS
51004 fi
51005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51006 $as_echo "$ac_cv_lib_m_sin" >&6; }
51007 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51008   libm="-lm"
51009 fi
51010
51011   ac_save_LIBS="$LIBS"
51012   LIBS="$LIBS $libm"
51013
51014
51015
51016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51017 $as_echo_n "checking for isinf declaration... " >&6; }
51018   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51019     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51020   $as_echo_n "(cached) " >&6
51021 else
51022
51023
51024       ac_ext=cpp
51025 ac_cpp='$CXXCPP $CPPFLAGS'
51026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51029
51030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51031 /* end confdefs.h.  */
51032 #include <math.h>
51033                       #ifdef HAVE_IEEEFP_H
51034                       #include <ieeefp.h>
51035                       #endif
51036
51037 int
51038 main ()
51039 {
51040  isinf(0);
51041   ;
51042   return 0;
51043 }
51044 _ACEOF
51045 if ac_fn_cxx_try_compile "$LINENO"; then :
51046   glibcxx_cv_func_isinf_use=yes
51047 else
51048   glibcxx_cv_func_isinf_use=no
51049 fi
51050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51051       ac_ext=c
51052 ac_cpp='$CPP $CPPFLAGS'
51053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51056
51057
51058 fi
51059
51060   fi
51061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51062 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51063
51064   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51065     for ac_func in isinf
51066 do :
51067   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51068 if test "x$ac_cv_func_isinf" = x""yes; then :
51069   cat >>confdefs.h <<_ACEOF
51070 #define HAVE_ISINF 1
51071 _ACEOF
51072
51073 fi
51074 done
51075
51076   else
51077
51078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51079 $as_echo_n "checking for _isinf declaration... " >&6; }
51080   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51081     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51082   $as_echo_n "(cached) " >&6
51083 else
51084
51085
51086       ac_ext=cpp
51087 ac_cpp='$CXXCPP $CPPFLAGS'
51088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091
51092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51093 /* end confdefs.h.  */
51094 #include <math.h>
51095                       #ifdef HAVE_IEEEFP_H
51096                       #include <ieeefp.h>
51097                       #endif
51098
51099 int
51100 main ()
51101 {
51102  _isinf(0);
51103   ;
51104   return 0;
51105 }
51106 _ACEOF
51107 if ac_fn_cxx_try_compile "$LINENO"; then :
51108   glibcxx_cv_func__isinf_use=yes
51109 else
51110   glibcxx_cv_func__isinf_use=no
51111 fi
51112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51113       ac_ext=c
51114 ac_cpp='$CPP $CPPFLAGS'
51115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51118
51119
51120 fi
51121
51122   fi
51123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51124 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51125
51126     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51127       for ac_func in _isinf
51128 do :
51129   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51130 if test "x$ac_cv_func__isinf" = x""yes; then :
51131   cat >>confdefs.h <<_ACEOF
51132 #define HAVE__ISINF 1
51133 _ACEOF
51134
51135 fi
51136 done
51137
51138     fi
51139   fi
51140
51141
51142
51143
51144
51145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51146 $as_echo_n "checking for isnan declaration... " >&6; }
51147   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51148     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51149   $as_echo_n "(cached) " >&6
51150 else
51151
51152
51153       ac_ext=cpp
51154 ac_cpp='$CXXCPP $CPPFLAGS'
51155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51158
51159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51160 /* end confdefs.h.  */
51161 #include <math.h>
51162                       #ifdef HAVE_IEEEFP_H
51163                       #include <ieeefp.h>
51164                       #endif
51165
51166 int
51167 main ()
51168 {
51169  isnan(0);
51170   ;
51171   return 0;
51172 }
51173 _ACEOF
51174 if ac_fn_cxx_try_compile "$LINENO"; then :
51175   glibcxx_cv_func_isnan_use=yes
51176 else
51177   glibcxx_cv_func_isnan_use=no
51178 fi
51179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51180       ac_ext=c
51181 ac_cpp='$CPP $CPPFLAGS'
51182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51185
51186
51187 fi
51188
51189   fi
51190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51191 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51192
51193   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51194     for ac_func in isnan
51195 do :
51196   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51197 if test "x$ac_cv_func_isnan" = x""yes; then :
51198   cat >>confdefs.h <<_ACEOF
51199 #define HAVE_ISNAN 1
51200 _ACEOF
51201
51202 fi
51203 done
51204
51205   else
51206
51207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51208 $as_echo_n "checking for _isnan declaration... " >&6; }
51209   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51210     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51211   $as_echo_n "(cached) " >&6
51212 else
51213
51214
51215       ac_ext=cpp
51216 ac_cpp='$CXXCPP $CPPFLAGS'
51217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51220
51221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51222 /* end confdefs.h.  */
51223 #include <math.h>
51224                       #ifdef HAVE_IEEEFP_H
51225                       #include <ieeefp.h>
51226                       #endif
51227
51228 int
51229 main ()
51230 {
51231  _isnan(0);
51232   ;
51233   return 0;
51234 }
51235 _ACEOF
51236 if ac_fn_cxx_try_compile "$LINENO"; then :
51237   glibcxx_cv_func__isnan_use=yes
51238 else
51239   glibcxx_cv_func__isnan_use=no
51240 fi
51241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51242       ac_ext=c
51243 ac_cpp='$CPP $CPPFLAGS'
51244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51247
51248
51249 fi
51250
51251   fi
51252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51253 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51254
51255     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51256       for ac_func in _isnan
51257 do :
51258   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51259 if test "x$ac_cv_func__isnan" = x""yes; then :
51260   cat >>confdefs.h <<_ACEOF
51261 #define HAVE__ISNAN 1
51262 _ACEOF
51263
51264 fi
51265 done
51266
51267     fi
51268   fi
51269
51270
51271
51272
51273
51274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51275 $as_echo_n "checking for finite declaration... " >&6; }
51276   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51277     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51278   $as_echo_n "(cached) " >&6
51279 else
51280
51281
51282       ac_ext=cpp
51283 ac_cpp='$CXXCPP $CPPFLAGS'
51284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51287
51288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51289 /* end confdefs.h.  */
51290 #include <math.h>
51291                       #ifdef HAVE_IEEEFP_H
51292                       #include <ieeefp.h>
51293                       #endif
51294
51295 int
51296 main ()
51297 {
51298  finite(0);
51299   ;
51300   return 0;
51301 }
51302 _ACEOF
51303 if ac_fn_cxx_try_compile "$LINENO"; then :
51304   glibcxx_cv_func_finite_use=yes
51305 else
51306   glibcxx_cv_func_finite_use=no
51307 fi
51308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51309       ac_ext=c
51310 ac_cpp='$CPP $CPPFLAGS'
51311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51314
51315
51316 fi
51317
51318   fi
51319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51320 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51321
51322   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51323     for ac_func in finite
51324 do :
51325   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51326 if test "x$ac_cv_func_finite" = x""yes; then :
51327   cat >>confdefs.h <<_ACEOF
51328 #define HAVE_FINITE 1
51329 _ACEOF
51330
51331 fi
51332 done
51333
51334   else
51335
51336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51337 $as_echo_n "checking for _finite declaration... " >&6; }
51338   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51339     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51340   $as_echo_n "(cached) " >&6
51341 else
51342
51343
51344       ac_ext=cpp
51345 ac_cpp='$CXXCPP $CPPFLAGS'
51346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51349
51350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51351 /* end confdefs.h.  */
51352 #include <math.h>
51353                       #ifdef HAVE_IEEEFP_H
51354                       #include <ieeefp.h>
51355                       #endif
51356
51357 int
51358 main ()
51359 {
51360  _finite(0);
51361   ;
51362   return 0;
51363 }
51364 _ACEOF
51365 if ac_fn_cxx_try_compile "$LINENO"; then :
51366   glibcxx_cv_func__finite_use=yes
51367 else
51368   glibcxx_cv_func__finite_use=no
51369 fi
51370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51371       ac_ext=c
51372 ac_cpp='$CPP $CPPFLAGS'
51373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51376
51377
51378 fi
51379
51380   fi
51381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51382 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51383
51384     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51385       for ac_func in _finite
51386 do :
51387   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51388 if test "x$ac_cv_func__finite" = x""yes; then :
51389   cat >>confdefs.h <<_ACEOF
51390 #define HAVE__FINITE 1
51391 _ACEOF
51392
51393 fi
51394 done
51395
51396     fi
51397   fi
51398
51399
51400
51401
51402
51403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51404 $as_echo_n "checking for sincos declaration... " >&6; }
51405   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51406     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51407   $as_echo_n "(cached) " >&6
51408 else
51409
51410
51411       ac_ext=cpp
51412 ac_cpp='$CXXCPP $CPPFLAGS'
51413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51416
51417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51418 /* end confdefs.h.  */
51419 #include <math.h>
51420 int
51421 main ()
51422 {
51423  sincos(0, 0, 0);
51424   ;
51425   return 0;
51426 }
51427 _ACEOF
51428 if ac_fn_cxx_try_compile "$LINENO"; then :
51429   glibcxx_cv_func_sincos_use=yes
51430 else
51431   glibcxx_cv_func_sincos_use=no
51432 fi
51433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51434       ac_ext=c
51435 ac_cpp='$CPP $CPPFLAGS'
51436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51439
51440
51441 fi
51442
51443   fi
51444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51445 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51446
51447   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51448     for ac_func in sincos
51449 do :
51450   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51451 if test "x$ac_cv_func_sincos" = x""yes; then :
51452   cat >>confdefs.h <<_ACEOF
51453 #define HAVE_SINCOS 1
51454 _ACEOF
51455
51456 fi
51457 done
51458
51459   else
51460
51461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51462 $as_echo_n "checking for _sincos declaration... " >&6; }
51463   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51464     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51465   $as_echo_n "(cached) " >&6
51466 else
51467
51468
51469       ac_ext=cpp
51470 ac_cpp='$CXXCPP $CPPFLAGS'
51471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51474
51475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51476 /* end confdefs.h.  */
51477 #include <math.h>
51478 int
51479 main ()
51480 {
51481  _sincos(0, 0, 0);
51482   ;
51483   return 0;
51484 }
51485 _ACEOF
51486 if ac_fn_cxx_try_compile "$LINENO"; then :
51487   glibcxx_cv_func__sincos_use=yes
51488 else
51489   glibcxx_cv_func__sincos_use=no
51490 fi
51491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51492       ac_ext=c
51493 ac_cpp='$CPP $CPPFLAGS'
51494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51497
51498
51499 fi
51500
51501   fi
51502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51503 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51504
51505     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51506       for ac_func in _sincos
51507 do :
51508   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51509 if test "x$ac_cv_func__sincos" = x""yes; then :
51510   cat >>confdefs.h <<_ACEOF
51511 #define HAVE__SINCOS 1
51512 _ACEOF
51513
51514 fi
51515 done
51516
51517     fi
51518   fi
51519
51520
51521
51522
51523
51524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51525 $as_echo_n "checking for fpclass declaration... " >&6; }
51526   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51527     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51528   $as_echo_n "(cached) " >&6
51529 else
51530
51531
51532       ac_ext=cpp
51533 ac_cpp='$CXXCPP $CPPFLAGS'
51534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51537
51538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51539 /* end confdefs.h.  */
51540 #include <math.h>
51541                       #ifdef HAVE_IEEEFP_H
51542                       #include <ieeefp.h>
51543                       #endif
51544
51545 int
51546 main ()
51547 {
51548  fpclass(0);
51549   ;
51550   return 0;
51551 }
51552 _ACEOF
51553 if ac_fn_cxx_try_compile "$LINENO"; then :
51554   glibcxx_cv_func_fpclass_use=yes
51555 else
51556   glibcxx_cv_func_fpclass_use=no
51557 fi
51558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51559       ac_ext=c
51560 ac_cpp='$CPP $CPPFLAGS'
51561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51564
51565
51566 fi
51567
51568   fi
51569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51570 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51571
51572   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51573     for ac_func in fpclass
51574 do :
51575   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51576 if test "x$ac_cv_func_fpclass" = x""yes; then :
51577   cat >>confdefs.h <<_ACEOF
51578 #define HAVE_FPCLASS 1
51579 _ACEOF
51580
51581 fi
51582 done
51583
51584   else
51585
51586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51587 $as_echo_n "checking for _fpclass declaration... " >&6; }
51588   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51589     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51590   $as_echo_n "(cached) " >&6
51591 else
51592
51593
51594       ac_ext=cpp
51595 ac_cpp='$CXXCPP $CPPFLAGS'
51596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51599
51600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51601 /* end confdefs.h.  */
51602 #include <math.h>
51603                       #ifdef HAVE_IEEEFP_H
51604                       #include <ieeefp.h>
51605                       #endif
51606
51607 int
51608 main ()
51609 {
51610  _fpclass(0);
51611   ;
51612   return 0;
51613 }
51614 _ACEOF
51615 if ac_fn_cxx_try_compile "$LINENO"; then :
51616   glibcxx_cv_func__fpclass_use=yes
51617 else
51618   glibcxx_cv_func__fpclass_use=no
51619 fi
51620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51621       ac_ext=c
51622 ac_cpp='$CPP $CPPFLAGS'
51623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51626
51627
51628 fi
51629
51630   fi
51631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51632 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51633
51634     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51635       for ac_func in _fpclass
51636 do :
51637   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51638 if test "x$ac_cv_func__fpclass" = x""yes; then :
51639   cat >>confdefs.h <<_ACEOF
51640 #define HAVE__FPCLASS 1
51641 _ACEOF
51642
51643 fi
51644 done
51645
51646     fi
51647   fi
51648
51649
51650
51651
51652
51653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51654 $as_echo_n "checking for qfpclass declaration... " >&6; }
51655   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51656     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51657   $as_echo_n "(cached) " >&6
51658 else
51659
51660
51661       ac_ext=cpp
51662 ac_cpp='$CXXCPP $CPPFLAGS'
51663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51666
51667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51668 /* end confdefs.h.  */
51669 #include <math.h>
51670                       #ifdef HAVE_IEEEFP_H
51671                       #include <ieeefp.h>
51672                       #endif
51673
51674 int
51675 main ()
51676 {
51677  qfpclass(0);
51678   ;
51679   return 0;
51680 }
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683   glibcxx_cv_func_qfpclass_use=yes
51684 else
51685   glibcxx_cv_func_qfpclass_use=no
51686 fi
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688       ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51693
51694
51695 fi
51696
51697   fi
51698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51699 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51700
51701   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51702     for ac_func in qfpclass
51703 do :
51704   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51705 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51706   cat >>confdefs.h <<_ACEOF
51707 #define HAVE_QFPCLASS 1
51708 _ACEOF
51709
51710 fi
51711 done
51712
51713   else
51714
51715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51716 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51717   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51718     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51719   $as_echo_n "(cached) " >&6
51720 else
51721
51722
51723       ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728
51729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h.  */
51731 #include <math.h>
51732                       #ifdef HAVE_IEEEFP_H
51733                       #include <ieeefp.h>
51734                       #endif
51735
51736 int
51737 main ()
51738 {
51739  _qfpclass(0);
51740   ;
51741   return 0;
51742 }
51743 _ACEOF
51744 if ac_fn_cxx_try_compile "$LINENO"; then :
51745   glibcxx_cv_func__qfpclass_use=yes
51746 else
51747   glibcxx_cv_func__qfpclass_use=no
51748 fi
51749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51750       ac_ext=c
51751 ac_cpp='$CPP $CPPFLAGS'
51752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51755
51756
51757 fi
51758
51759   fi
51760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51761 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51762
51763     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51764       for ac_func in _qfpclass
51765 do :
51766   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51767 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51768   cat >>confdefs.h <<_ACEOF
51769 #define HAVE__QFPCLASS 1
51770 _ACEOF
51771
51772 fi
51773 done
51774
51775     fi
51776   fi
51777
51778
51779
51780
51781
51782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51783 $as_echo_n "checking for hypot declaration... " >&6; }
51784   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51785     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51786   $as_echo_n "(cached) " >&6
51787 else
51788
51789
51790       ac_ext=cpp
51791 ac_cpp='$CXXCPP $CPPFLAGS'
51792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51795
51796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51797 /* end confdefs.h.  */
51798 #include <math.h>
51799 int
51800 main ()
51801 {
51802  hypot(0, 0);
51803   ;
51804   return 0;
51805 }
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808   glibcxx_cv_func_hypot_use=yes
51809 else
51810   glibcxx_cv_func_hypot_use=no
51811 fi
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813       ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51818
51819
51820 fi
51821
51822   fi
51823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51824 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51825
51826   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51827     for ac_func in hypot
51828 do :
51829   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51830 if test "x$ac_cv_func_hypot" = x""yes; then :
51831   cat >>confdefs.h <<_ACEOF
51832 #define HAVE_HYPOT 1
51833 _ACEOF
51834
51835 fi
51836 done
51837
51838   else
51839
51840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51841 $as_echo_n "checking for _hypot declaration... " >&6; }
51842   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51843     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51844   $as_echo_n "(cached) " >&6
51845 else
51846
51847
51848       ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853
51854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h.  */
51856 #include <math.h>
51857 int
51858 main ()
51859 {
51860  _hypot(0, 0);
51861   ;
51862   return 0;
51863 }
51864 _ACEOF
51865 if ac_fn_cxx_try_compile "$LINENO"; then :
51866   glibcxx_cv_func__hypot_use=yes
51867 else
51868   glibcxx_cv_func__hypot_use=no
51869 fi
51870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51871       ac_ext=c
51872 ac_cpp='$CPP $CPPFLAGS'
51873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51876
51877
51878 fi
51879
51880   fi
51881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51882 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51883
51884     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51885       for ac_func in _hypot
51886 do :
51887   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51888 if test "x$ac_cv_func__hypot" = x""yes; then :
51889   cat >>confdefs.h <<_ACEOF
51890 #define HAVE__HYPOT 1
51891 _ACEOF
51892
51893 fi
51894 done
51895
51896     fi
51897   fi
51898
51899
51900
51901
51902
51903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51904 $as_echo_n "checking for float trig functions... " >&6; }
51905   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51906   $as_echo_n "(cached) " >&6
51907 else
51908
51909
51910     ac_ext=cpp
51911 ac_cpp='$CXXCPP $CPPFLAGS'
51912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51915
51916     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51917 /* end confdefs.h.  */
51918 #include <math.h>
51919 int
51920 main ()
51921 {
51922 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51923   ;
51924   return 0;
51925 }
51926 _ACEOF
51927 if ac_fn_cxx_try_compile "$LINENO"; then :
51928   glibcxx_cv_func_float_trig_use=yes
51929 else
51930   glibcxx_cv_func_float_trig_use=no
51931 fi
51932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51933     ac_ext=c
51934 ac_cpp='$CPP $CPPFLAGS'
51935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51938
51939 fi
51940
51941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51942 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51943   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51944     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51945 do :
51946   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51948 eval as_val=\$$as_ac_var
51949    if test "x$as_val" = x""yes; then :
51950   cat >>confdefs.h <<_ACEOF
51951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51952 _ACEOF
51953
51954 fi
51955 done
51956
51957   else
51958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51959 $as_echo_n "checking for _float trig functions... " >&6; }
51960     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51961   $as_echo_n "(cached) " >&6
51962 else
51963
51964
51965       ac_ext=cpp
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51970
51971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51972 /* end confdefs.h.  */
51973 #include <math.h>
51974 int
51975 main ()
51976 {
51977 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51978   ;
51979   return 0;
51980 }
51981 _ACEOF
51982 if ac_fn_cxx_try_compile "$LINENO"; then :
51983   glibcxx_cv_func__float_trig_use=yes
51984 else
51985   glibcxx_cv_func__float_trig_use=no
51986 fi
51987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51988       ac_ext=c
51989 ac_cpp='$CPP $CPPFLAGS'
51990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51993
51994 fi
51995
51996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51997 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51998     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51999       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52000 do :
52001   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52003 eval as_val=\$$as_ac_var
52004    if test "x$as_val" = x""yes; then :
52005   cat >>confdefs.h <<_ACEOF
52006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52007 _ACEOF
52008
52009 fi
52010 done
52011
52012     fi
52013   fi
52014
52015
52016
52017
52018
52019     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52020 $as_echo_n "checking for float round functions... " >&6; }
52021   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52022   $as_echo_n "(cached) " >&6
52023 else
52024
52025
52026     ac_ext=cpp
52027 ac_cpp='$CXXCPP $CPPFLAGS'
52028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52031
52032     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52033 /* end confdefs.h.  */
52034 #include <math.h>
52035 int
52036 main ()
52037 {
52038 ceilf (0); floorf (0);
52039   ;
52040   return 0;
52041 }
52042 _ACEOF
52043 if ac_fn_cxx_try_compile "$LINENO"; then :
52044   glibcxx_cv_func_float_round_use=yes
52045 else
52046   glibcxx_cv_func_float_round_use=no
52047 fi
52048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52049     ac_ext=c
52050 ac_cpp='$CPP $CPPFLAGS'
52051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52054
52055 fi
52056
52057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52058 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52059   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52060     for ac_func in ceilf floorf
52061 do :
52062   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52064 eval as_val=\$$as_ac_var
52065    if test "x$as_val" = x""yes; then :
52066   cat >>confdefs.h <<_ACEOF
52067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52068 _ACEOF
52069
52070 fi
52071 done
52072
52073   else
52074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52075 $as_echo_n "checking for _float round functions... " >&6; }
52076     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52077   $as_echo_n "(cached) " >&6
52078 else
52079
52080
52081       ac_ext=cpp
52082 ac_cpp='$CXXCPP $CPPFLAGS'
52083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52086
52087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52088 /* end confdefs.h.  */
52089 #include <math.h>
52090 int
52091 main ()
52092 {
52093 _ceilf (0); _floorf (0);
52094   ;
52095   return 0;
52096 }
52097 _ACEOF
52098 if ac_fn_cxx_try_compile "$LINENO"; then :
52099   glibcxx_cv_func__float_round_use=yes
52100 else
52101   glibcxx_cv_func__float_round_use=no
52102 fi
52103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52104       ac_ext=c
52105 ac_cpp='$CPP $CPPFLAGS'
52106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52109
52110 fi
52111
52112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52113 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52114     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52115       for ac_func in _ceilf _floorf
52116 do :
52117   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52119 eval as_val=\$$as_ac_var
52120    if test "x$as_val" = x""yes; then :
52121   cat >>confdefs.h <<_ACEOF
52122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52123 _ACEOF
52124
52125 fi
52126 done
52127
52128     fi
52129   fi
52130
52131
52132
52133
52134
52135
52136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52137 $as_echo_n "checking for expf declaration... " >&6; }
52138   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52139     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52140   $as_echo_n "(cached) " >&6
52141 else
52142
52143
52144       ac_ext=cpp
52145 ac_cpp='$CXXCPP $CPPFLAGS'
52146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52149
52150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52151 /* end confdefs.h.  */
52152 #include <math.h>
52153                       #ifdef HAVE_IEEEFP_H
52154                       #include <ieeefp.h>
52155                       #endif
52156
52157 int
52158 main ()
52159 {
52160  expf(0);
52161   ;
52162   return 0;
52163 }
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166   glibcxx_cv_func_expf_use=yes
52167 else
52168   glibcxx_cv_func_expf_use=no
52169 fi
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171       ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52176
52177
52178 fi
52179
52180   fi
52181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52182 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52183
52184   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52185     for ac_func in expf
52186 do :
52187   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52188 if test "x$ac_cv_func_expf" = x""yes; then :
52189   cat >>confdefs.h <<_ACEOF
52190 #define HAVE_EXPF 1
52191 _ACEOF
52192
52193 fi
52194 done
52195
52196   else
52197
52198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52199 $as_echo_n "checking for _expf declaration... " >&6; }
52200   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52201     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52202   $as_echo_n "(cached) " >&6
52203 else
52204
52205
52206       ac_ext=cpp
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52211
52212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h.  */
52214 #include <math.h>
52215                       #ifdef HAVE_IEEEFP_H
52216                       #include <ieeefp.h>
52217                       #endif
52218
52219 int
52220 main ()
52221 {
52222  _expf(0);
52223   ;
52224   return 0;
52225 }
52226 _ACEOF
52227 if ac_fn_cxx_try_compile "$LINENO"; then :
52228   glibcxx_cv_func__expf_use=yes
52229 else
52230   glibcxx_cv_func__expf_use=no
52231 fi
52232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52233       ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52238
52239
52240 fi
52241
52242   fi
52243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52244 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52245
52246     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52247       for ac_func in _expf
52248 do :
52249   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52250 if test "x$ac_cv_func__expf" = x""yes; then :
52251   cat >>confdefs.h <<_ACEOF
52252 #define HAVE__EXPF 1
52253 _ACEOF
52254
52255 fi
52256 done
52257
52258     fi
52259   fi
52260
52261
52262
52263
52264
52265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52266 $as_echo_n "checking for isnanf declaration... " >&6; }
52267   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52268     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52269   $as_echo_n "(cached) " >&6
52270 else
52271
52272
52273       ac_ext=cpp
52274 ac_cpp='$CXXCPP $CPPFLAGS'
52275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52278
52279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52280 /* end confdefs.h.  */
52281 #include <math.h>
52282                       #ifdef HAVE_IEEEFP_H
52283                       #include <ieeefp.h>
52284                       #endif
52285
52286 int
52287 main ()
52288 {
52289  isnanf(0);
52290   ;
52291   return 0;
52292 }
52293 _ACEOF
52294 if ac_fn_cxx_try_compile "$LINENO"; then :
52295   glibcxx_cv_func_isnanf_use=yes
52296 else
52297   glibcxx_cv_func_isnanf_use=no
52298 fi
52299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52300       ac_ext=c
52301 ac_cpp='$CPP $CPPFLAGS'
52302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52305
52306
52307 fi
52308
52309   fi
52310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52311 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52312
52313   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52314     for ac_func in isnanf
52315 do :
52316   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52317 if test "x$ac_cv_func_isnanf" = x""yes; then :
52318   cat >>confdefs.h <<_ACEOF
52319 #define HAVE_ISNANF 1
52320 _ACEOF
52321
52322 fi
52323 done
52324
52325   else
52326
52327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52328 $as_echo_n "checking for _isnanf declaration... " >&6; }
52329   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52330     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52331   $as_echo_n "(cached) " >&6
52332 else
52333
52334
52335       ac_ext=cpp
52336 ac_cpp='$CXXCPP $CPPFLAGS'
52337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52340
52341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h.  */
52343 #include <math.h>
52344                       #ifdef HAVE_IEEEFP_H
52345                       #include <ieeefp.h>
52346                       #endif
52347
52348 int
52349 main ()
52350 {
52351  _isnanf(0);
52352   ;
52353   return 0;
52354 }
52355 _ACEOF
52356 if ac_fn_cxx_try_compile "$LINENO"; then :
52357   glibcxx_cv_func__isnanf_use=yes
52358 else
52359   glibcxx_cv_func__isnanf_use=no
52360 fi
52361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52362       ac_ext=c
52363 ac_cpp='$CPP $CPPFLAGS'
52364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52367
52368
52369 fi
52370
52371   fi
52372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52373 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52374
52375     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52376       for ac_func in _isnanf
52377 do :
52378   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52379 if test "x$ac_cv_func__isnanf" = x""yes; then :
52380   cat >>confdefs.h <<_ACEOF
52381 #define HAVE__ISNANF 1
52382 _ACEOF
52383
52384 fi
52385 done
52386
52387     fi
52388   fi
52389
52390
52391
52392
52393
52394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52395 $as_echo_n "checking for isinff declaration... " >&6; }
52396   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52397     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52398   $as_echo_n "(cached) " >&6
52399 else
52400
52401
52402       ac_ext=cpp
52403 ac_cpp='$CXXCPP $CPPFLAGS'
52404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52407
52408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52409 /* end confdefs.h.  */
52410 #include <math.h>
52411                       #ifdef HAVE_IEEEFP_H
52412                       #include <ieeefp.h>
52413                       #endif
52414
52415 int
52416 main ()
52417 {
52418  isinff(0);
52419   ;
52420   return 0;
52421 }
52422 _ACEOF
52423 if ac_fn_cxx_try_compile "$LINENO"; then :
52424   glibcxx_cv_func_isinff_use=yes
52425 else
52426   glibcxx_cv_func_isinff_use=no
52427 fi
52428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52429       ac_ext=c
52430 ac_cpp='$CPP $CPPFLAGS'
52431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52434
52435
52436 fi
52437
52438   fi
52439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52440 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52441
52442   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52443     for ac_func in isinff
52444 do :
52445   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52446 if test "x$ac_cv_func_isinff" = x""yes; then :
52447   cat >>confdefs.h <<_ACEOF
52448 #define HAVE_ISINFF 1
52449 _ACEOF
52450
52451 fi
52452 done
52453
52454   else
52455
52456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52457 $as_echo_n "checking for _isinff declaration... " >&6; }
52458   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52459     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52460   $as_echo_n "(cached) " >&6
52461 else
52462
52463
52464       ac_ext=cpp
52465 ac_cpp='$CXXCPP $CPPFLAGS'
52466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52469
52470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52471 /* end confdefs.h.  */
52472 #include <math.h>
52473                       #ifdef HAVE_IEEEFP_H
52474                       #include <ieeefp.h>
52475                       #endif
52476
52477 int
52478 main ()
52479 {
52480  _isinff(0);
52481   ;
52482   return 0;
52483 }
52484 _ACEOF
52485 if ac_fn_cxx_try_compile "$LINENO"; then :
52486   glibcxx_cv_func__isinff_use=yes
52487 else
52488   glibcxx_cv_func__isinff_use=no
52489 fi
52490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52491       ac_ext=c
52492 ac_cpp='$CPP $CPPFLAGS'
52493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52496
52497
52498 fi
52499
52500   fi
52501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52502 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52503
52504     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52505       for ac_func in _isinff
52506 do :
52507   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52508 if test "x$ac_cv_func__isinff" = x""yes; then :
52509   cat >>confdefs.h <<_ACEOF
52510 #define HAVE__ISINFF 1
52511 _ACEOF
52512
52513 fi
52514 done
52515
52516     fi
52517   fi
52518
52519
52520
52521
52522
52523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52524 $as_echo_n "checking for atan2f declaration... " >&6; }
52525   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52526     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52527   $as_echo_n "(cached) " >&6
52528 else
52529
52530
52531       ac_ext=cpp
52532 ac_cpp='$CXXCPP $CPPFLAGS'
52533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52536
52537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52538 /* end confdefs.h.  */
52539 #include <math.h>
52540 int
52541 main ()
52542 {
52543  atan2f(0, 0);
52544   ;
52545   return 0;
52546 }
52547 _ACEOF
52548 if ac_fn_cxx_try_compile "$LINENO"; then :
52549   glibcxx_cv_func_atan2f_use=yes
52550 else
52551   glibcxx_cv_func_atan2f_use=no
52552 fi
52553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52554       ac_ext=c
52555 ac_cpp='$CPP $CPPFLAGS'
52556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52559
52560
52561 fi
52562
52563   fi
52564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52565 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52566
52567   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52568     for ac_func in atan2f
52569 do :
52570   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52571 if test "x$ac_cv_func_atan2f" = x""yes; then :
52572   cat >>confdefs.h <<_ACEOF
52573 #define HAVE_ATAN2F 1
52574 _ACEOF
52575
52576 fi
52577 done
52578
52579   else
52580
52581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52582 $as_echo_n "checking for _atan2f declaration... " >&6; }
52583   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52584     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52585   $as_echo_n "(cached) " >&6
52586 else
52587
52588
52589       ac_ext=cpp
52590 ac_cpp='$CXXCPP $CPPFLAGS'
52591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52594
52595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52596 /* end confdefs.h.  */
52597 #include <math.h>
52598 int
52599 main ()
52600 {
52601  _atan2f(0, 0);
52602   ;
52603   return 0;
52604 }
52605 _ACEOF
52606 if ac_fn_cxx_try_compile "$LINENO"; then :
52607   glibcxx_cv_func__atan2f_use=yes
52608 else
52609   glibcxx_cv_func__atan2f_use=no
52610 fi
52611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52612       ac_ext=c
52613 ac_cpp='$CPP $CPPFLAGS'
52614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52617
52618
52619 fi
52620
52621   fi
52622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52623 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52624
52625     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52626       for ac_func in _atan2f
52627 do :
52628   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52629 if test "x$ac_cv_func__atan2f" = x""yes; then :
52630   cat >>confdefs.h <<_ACEOF
52631 #define HAVE__ATAN2F 1
52632 _ACEOF
52633
52634 fi
52635 done
52636
52637     fi
52638   fi
52639
52640
52641
52642
52643
52644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52645 $as_echo_n "checking for fabsf declaration... " >&6; }
52646   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52647     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52648   $as_echo_n "(cached) " >&6
52649 else
52650
52651
52652       ac_ext=cpp
52653 ac_cpp='$CXXCPP $CPPFLAGS'
52654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52657
52658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52659 /* end confdefs.h.  */
52660 #include <math.h>
52661                       #ifdef HAVE_IEEEFP_H
52662                       #include <ieeefp.h>
52663                       #endif
52664
52665 int
52666 main ()
52667 {
52668  fabsf(0);
52669   ;
52670   return 0;
52671 }
52672 _ACEOF
52673 if ac_fn_cxx_try_compile "$LINENO"; then :
52674   glibcxx_cv_func_fabsf_use=yes
52675 else
52676   glibcxx_cv_func_fabsf_use=no
52677 fi
52678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52679       ac_ext=c
52680 ac_cpp='$CPP $CPPFLAGS'
52681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52684
52685
52686 fi
52687
52688   fi
52689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52690 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52691
52692   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52693     for ac_func in fabsf
52694 do :
52695   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52696 if test "x$ac_cv_func_fabsf" = x""yes; then :
52697   cat >>confdefs.h <<_ACEOF
52698 #define HAVE_FABSF 1
52699 _ACEOF
52700
52701 fi
52702 done
52703
52704   else
52705
52706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52707 $as_echo_n "checking for _fabsf declaration... " >&6; }
52708   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52709     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52710   $as_echo_n "(cached) " >&6
52711 else
52712
52713
52714       ac_ext=cpp
52715 ac_cpp='$CXXCPP $CPPFLAGS'
52716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52719
52720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52721 /* end confdefs.h.  */
52722 #include <math.h>
52723                       #ifdef HAVE_IEEEFP_H
52724                       #include <ieeefp.h>
52725                       #endif
52726
52727 int
52728 main ()
52729 {
52730  _fabsf(0);
52731   ;
52732   return 0;
52733 }
52734 _ACEOF
52735 if ac_fn_cxx_try_compile "$LINENO"; then :
52736   glibcxx_cv_func__fabsf_use=yes
52737 else
52738   glibcxx_cv_func__fabsf_use=no
52739 fi
52740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52741       ac_ext=c
52742 ac_cpp='$CPP $CPPFLAGS'
52743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52746
52747
52748 fi
52749
52750   fi
52751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52752 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52753
52754     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52755       for ac_func in _fabsf
52756 do :
52757   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52758 if test "x$ac_cv_func__fabsf" = x""yes; then :
52759   cat >>confdefs.h <<_ACEOF
52760 #define HAVE__FABSF 1
52761 _ACEOF
52762
52763 fi
52764 done
52765
52766     fi
52767   fi
52768
52769
52770
52771
52772
52773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52774 $as_echo_n "checking for fmodf declaration... " >&6; }
52775   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52776     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52777   $as_echo_n "(cached) " >&6
52778 else
52779
52780
52781       ac_ext=cpp
52782 ac_cpp='$CXXCPP $CPPFLAGS'
52783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52786
52787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52788 /* end confdefs.h.  */
52789 #include <math.h>
52790 int
52791 main ()
52792 {
52793  fmodf(0, 0);
52794   ;
52795   return 0;
52796 }
52797 _ACEOF
52798 if ac_fn_cxx_try_compile "$LINENO"; then :
52799   glibcxx_cv_func_fmodf_use=yes
52800 else
52801   glibcxx_cv_func_fmodf_use=no
52802 fi
52803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52804       ac_ext=c
52805 ac_cpp='$CPP $CPPFLAGS'
52806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52809
52810
52811 fi
52812
52813   fi
52814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52815 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52816
52817   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52818     for ac_func in fmodf
52819 do :
52820   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52821 if test "x$ac_cv_func_fmodf" = x""yes; then :
52822   cat >>confdefs.h <<_ACEOF
52823 #define HAVE_FMODF 1
52824 _ACEOF
52825
52826 fi
52827 done
52828
52829   else
52830
52831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52832 $as_echo_n "checking for _fmodf declaration... " >&6; }
52833   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52834     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52835   $as_echo_n "(cached) " >&6
52836 else
52837
52838
52839       ac_ext=cpp
52840 ac_cpp='$CXXCPP $CPPFLAGS'
52841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52844
52845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52846 /* end confdefs.h.  */
52847 #include <math.h>
52848 int
52849 main ()
52850 {
52851  _fmodf(0, 0);
52852   ;
52853   return 0;
52854 }
52855 _ACEOF
52856 if ac_fn_cxx_try_compile "$LINENO"; then :
52857   glibcxx_cv_func__fmodf_use=yes
52858 else
52859   glibcxx_cv_func__fmodf_use=no
52860 fi
52861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52862       ac_ext=c
52863 ac_cpp='$CPP $CPPFLAGS'
52864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52867
52868
52869 fi
52870
52871   fi
52872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52873 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52874
52875     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52876       for ac_func in _fmodf
52877 do :
52878   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52879 if test "x$ac_cv_func__fmodf" = x""yes; then :
52880   cat >>confdefs.h <<_ACEOF
52881 #define HAVE__FMODF 1
52882 _ACEOF
52883
52884 fi
52885 done
52886
52887     fi
52888   fi
52889
52890
52891
52892
52893
52894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52895 $as_echo_n "checking for frexpf declaration... " >&6; }
52896   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52897     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52898   $as_echo_n "(cached) " >&6
52899 else
52900
52901
52902       ac_ext=cpp
52903 ac_cpp='$CXXCPP $CPPFLAGS'
52904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52907
52908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52909 /* end confdefs.h.  */
52910 #include <math.h>
52911 int
52912 main ()
52913 {
52914  frexpf(0, 0);
52915   ;
52916   return 0;
52917 }
52918 _ACEOF
52919 if ac_fn_cxx_try_compile "$LINENO"; then :
52920   glibcxx_cv_func_frexpf_use=yes
52921 else
52922   glibcxx_cv_func_frexpf_use=no
52923 fi
52924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52925       ac_ext=c
52926 ac_cpp='$CPP $CPPFLAGS'
52927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52930
52931
52932 fi
52933
52934   fi
52935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52936 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52937
52938   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52939     for ac_func in frexpf
52940 do :
52941   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52942 if test "x$ac_cv_func_frexpf" = x""yes; then :
52943   cat >>confdefs.h <<_ACEOF
52944 #define HAVE_FREXPF 1
52945 _ACEOF
52946
52947 fi
52948 done
52949
52950   else
52951
52952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52953 $as_echo_n "checking for _frexpf declaration... " >&6; }
52954   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52955     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52956   $as_echo_n "(cached) " >&6
52957 else
52958
52959
52960       ac_ext=cpp
52961 ac_cpp='$CXXCPP $CPPFLAGS'
52962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52965
52966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52967 /* end confdefs.h.  */
52968 #include <math.h>
52969 int
52970 main ()
52971 {
52972  _frexpf(0, 0);
52973   ;
52974   return 0;
52975 }
52976 _ACEOF
52977 if ac_fn_cxx_try_compile "$LINENO"; then :
52978   glibcxx_cv_func__frexpf_use=yes
52979 else
52980   glibcxx_cv_func__frexpf_use=no
52981 fi
52982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52983       ac_ext=c
52984 ac_cpp='$CPP $CPPFLAGS'
52985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52988
52989
52990 fi
52991
52992   fi
52993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52994 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52995
52996     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52997       for ac_func in _frexpf
52998 do :
52999   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53000 if test "x$ac_cv_func__frexpf" = x""yes; then :
53001   cat >>confdefs.h <<_ACEOF
53002 #define HAVE__FREXPF 1
53003 _ACEOF
53004
53005 fi
53006 done
53007
53008     fi
53009   fi
53010
53011
53012
53013
53014
53015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53016 $as_echo_n "checking for hypotf declaration... " >&6; }
53017   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53018     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53019   $as_echo_n "(cached) " >&6
53020 else
53021
53022
53023       ac_ext=cpp
53024 ac_cpp='$CXXCPP $CPPFLAGS'
53025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53028
53029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53030 /* end confdefs.h.  */
53031 #include <math.h>
53032 int
53033 main ()
53034 {
53035  hypotf(0, 0);
53036   ;
53037   return 0;
53038 }
53039 _ACEOF
53040 if ac_fn_cxx_try_compile "$LINENO"; then :
53041   glibcxx_cv_func_hypotf_use=yes
53042 else
53043   glibcxx_cv_func_hypotf_use=no
53044 fi
53045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53046       ac_ext=c
53047 ac_cpp='$CPP $CPPFLAGS'
53048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53051
53052
53053 fi
53054
53055   fi
53056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53057 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53058
53059   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53060     for ac_func in hypotf
53061 do :
53062   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53063 if test "x$ac_cv_func_hypotf" = x""yes; then :
53064   cat >>confdefs.h <<_ACEOF
53065 #define HAVE_HYPOTF 1
53066 _ACEOF
53067
53068 fi
53069 done
53070
53071   else
53072
53073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53074 $as_echo_n "checking for _hypotf declaration... " >&6; }
53075   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53076     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53077   $as_echo_n "(cached) " >&6
53078 else
53079
53080
53081       ac_ext=cpp
53082 ac_cpp='$CXXCPP $CPPFLAGS'
53083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53086
53087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53088 /* end confdefs.h.  */
53089 #include <math.h>
53090 int
53091 main ()
53092 {
53093  _hypotf(0, 0);
53094   ;
53095   return 0;
53096 }
53097 _ACEOF
53098 if ac_fn_cxx_try_compile "$LINENO"; then :
53099   glibcxx_cv_func__hypotf_use=yes
53100 else
53101   glibcxx_cv_func__hypotf_use=no
53102 fi
53103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53104       ac_ext=c
53105 ac_cpp='$CPP $CPPFLAGS'
53106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53109
53110
53111 fi
53112
53113   fi
53114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53115 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53116
53117     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53118       for ac_func in _hypotf
53119 do :
53120   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53121 if test "x$ac_cv_func__hypotf" = x""yes; then :
53122   cat >>confdefs.h <<_ACEOF
53123 #define HAVE__HYPOTF 1
53124 _ACEOF
53125
53126 fi
53127 done
53128
53129     fi
53130   fi
53131
53132
53133
53134
53135
53136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53137 $as_echo_n "checking for ldexpf declaration... " >&6; }
53138   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53139     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53140   $as_echo_n "(cached) " >&6
53141 else
53142
53143
53144       ac_ext=cpp
53145 ac_cpp='$CXXCPP $CPPFLAGS'
53146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53149
53150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53151 /* end confdefs.h.  */
53152 #include <math.h>
53153 int
53154 main ()
53155 {
53156  ldexpf(0, 0);
53157   ;
53158   return 0;
53159 }
53160 _ACEOF
53161 if ac_fn_cxx_try_compile "$LINENO"; then :
53162   glibcxx_cv_func_ldexpf_use=yes
53163 else
53164   glibcxx_cv_func_ldexpf_use=no
53165 fi
53166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53167       ac_ext=c
53168 ac_cpp='$CPP $CPPFLAGS'
53169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53172
53173
53174 fi
53175
53176   fi
53177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53178 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53179
53180   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53181     for ac_func in ldexpf
53182 do :
53183   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53184 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53185   cat >>confdefs.h <<_ACEOF
53186 #define HAVE_LDEXPF 1
53187 _ACEOF
53188
53189 fi
53190 done
53191
53192   else
53193
53194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53195 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53196   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53197     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53198   $as_echo_n "(cached) " >&6
53199 else
53200
53201
53202       ac_ext=cpp
53203 ac_cpp='$CXXCPP $CPPFLAGS'
53204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53207
53208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53209 /* end confdefs.h.  */
53210 #include <math.h>
53211 int
53212 main ()
53213 {
53214  _ldexpf(0, 0);
53215   ;
53216   return 0;
53217 }
53218 _ACEOF
53219 if ac_fn_cxx_try_compile "$LINENO"; then :
53220   glibcxx_cv_func__ldexpf_use=yes
53221 else
53222   glibcxx_cv_func__ldexpf_use=no
53223 fi
53224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53225       ac_ext=c
53226 ac_cpp='$CPP $CPPFLAGS'
53227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53230
53231
53232 fi
53233
53234   fi
53235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53236 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53237
53238     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53239       for ac_func in _ldexpf
53240 do :
53241   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53242 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53243   cat >>confdefs.h <<_ACEOF
53244 #define HAVE__LDEXPF 1
53245 _ACEOF
53246
53247 fi
53248 done
53249
53250     fi
53251   fi
53252
53253
53254
53255
53256
53257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53258 $as_echo_n "checking for logf declaration... " >&6; }
53259   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53260     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53261   $as_echo_n "(cached) " >&6
53262 else
53263
53264
53265       ac_ext=cpp
53266 ac_cpp='$CXXCPP $CPPFLAGS'
53267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53270
53271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53272 /* end confdefs.h.  */
53273 #include <math.h>
53274                       #ifdef HAVE_IEEEFP_H
53275                       #include <ieeefp.h>
53276                       #endif
53277
53278 int
53279 main ()
53280 {
53281  logf(0);
53282   ;
53283   return 0;
53284 }
53285 _ACEOF
53286 if ac_fn_cxx_try_compile "$LINENO"; then :
53287   glibcxx_cv_func_logf_use=yes
53288 else
53289   glibcxx_cv_func_logf_use=no
53290 fi
53291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53292       ac_ext=c
53293 ac_cpp='$CPP $CPPFLAGS'
53294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53297
53298
53299 fi
53300
53301   fi
53302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53303 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53304
53305   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53306     for ac_func in logf
53307 do :
53308   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53309 if test "x$ac_cv_func_logf" = x""yes; then :
53310   cat >>confdefs.h <<_ACEOF
53311 #define HAVE_LOGF 1
53312 _ACEOF
53313
53314 fi
53315 done
53316
53317   else
53318
53319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53320 $as_echo_n "checking for _logf declaration... " >&6; }
53321   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53322     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53323   $as_echo_n "(cached) " >&6
53324 else
53325
53326
53327       ac_ext=cpp
53328 ac_cpp='$CXXCPP $CPPFLAGS'
53329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332
53333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53334 /* end confdefs.h.  */
53335 #include <math.h>
53336                       #ifdef HAVE_IEEEFP_H
53337                       #include <ieeefp.h>
53338                       #endif
53339
53340 int
53341 main ()
53342 {
53343  _logf(0);
53344   ;
53345   return 0;
53346 }
53347 _ACEOF
53348 if ac_fn_cxx_try_compile "$LINENO"; then :
53349   glibcxx_cv_func__logf_use=yes
53350 else
53351   glibcxx_cv_func__logf_use=no
53352 fi
53353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53354       ac_ext=c
53355 ac_cpp='$CPP $CPPFLAGS'
53356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53359
53360
53361 fi
53362
53363   fi
53364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53365 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53366
53367     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53368       for ac_func in _logf
53369 do :
53370   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53371 if test "x$ac_cv_func__logf" = x""yes; then :
53372   cat >>confdefs.h <<_ACEOF
53373 #define HAVE__LOGF 1
53374 _ACEOF
53375
53376 fi
53377 done
53378
53379     fi
53380   fi
53381
53382
53383
53384
53385
53386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53387 $as_echo_n "checking for log10f declaration... " >&6; }
53388   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53389     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53390   $as_echo_n "(cached) " >&6
53391 else
53392
53393
53394       ac_ext=cpp
53395 ac_cpp='$CXXCPP $CPPFLAGS'
53396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53399
53400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53401 /* end confdefs.h.  */
53402 #include <math.h>
53403                       #ifdef HAVE_IEEEFP_H
53404                       #include <ieeefp.h>
53405                       #endif
53406
53407 int
53408 main ()
53409 {
53410  log10f(0);
53411   ;
53412   return 0;
53413 }
53414 _ACEOF
53415 if ac_fn_cxx_try_compile "$LINENO"; then :
53416   glibcxx_cv_func_log10f_use=yes
53417 else
53418   glibcxx_cv_func_log10f_use=no
53419 fi
53420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53421       ac_ext=c
53422 ac_cpp='$CPP $CPPFLAGS'
53423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53426
53427
53428 fi
53429
53430   fi
53431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53432 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53433
53434   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53435     for ac_func in log10f
53436 do :
53437   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53438 if test "x$ac_cv_func_log10f" = x""yes; then :
53439   cat >>confdefs.h <<_ACEOF
53440 #define HAVE_LOG10F 1
53441 _ACEOF
53442
53443 fi
53444 done
53445
53446   else
53447
53448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53449 $as_echo_n "checking for _log10f declaration... " >&6; }
53450   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53451     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53452   $as_echo_n "(cached) " >&6
53453 else
53454
53455
53456       ac_ext=cpp
53457 ac_cpp='$CXXCPP $CPPFLAGS'
53458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53461
53462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53463 /* end confdefs.h.  */
53464 #include <math.h>
53465                       #ifdef HAVE_IEEEFP_H
53466                       #include <ieeefp.h>
53467                       #endif
53468
53469 int
53470 main ()
53471 {
53472  _log10f(0);
53473   ;
53474   return 0;
53475 }
53476 _ACEOF
53477 if ac_fn_cxx_try_compile "$LINENO"; then :
53478   glibcxx_cv_func__log10f_use=yes
53479 else
53480   glibcxx_cv_func__log10f_use=no
53481 fi
53482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53483       ac_ext=c
53484 ac_cpp='$CPP $CPPFLAGS'
53485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53488
53489
53490 fi
53491
53492   fi
53493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53494 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53495
53496     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53497       for ac_func in _log10f
53498 do :
53499   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53500 if test "x$ac_cv_func__log10f" = x""yes; then :
53501   cat >>confdefs.h <<_ACEOF
53502 #define HAVE__LOG10F 1
53503 _ACEOF
53504
53505 fi
53506 done
53507
53508     fi
53509   fi
53510
53511
53512
53513
53514
53515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53516 $as_echo_n "checking for modff declaration... " >&6; }
53517   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53518     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53519   $as_echo_n "(cached) " >&6
53520 else
53521
53522
53523       ac_ext=cpp
53524 ac_cpp='$CXXCPP $CPPFLAGS'
53525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53528
53529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53530 /* end confdefs.h.  */
53531 #include <math.h>
53532 int
53533 main ()
53534 {
53535  modff(0, 0);
53536   ;
53537   return 0;
53538 }
53539 _ACEOF
53540 if ac_fn_cxx_try_compile "$LINENO"; then :
53541   glibcxx_cv_func_modff_use=yes
53542 else
53543   glibcxx_cv_func_modff_use=no
53544 fi
53545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53546       ac_ext=c
53547 ac_cpp='$CPP $CPPFLAGS'
53548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53551
53552
53553 fi
53554
53555   fi
53556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53557 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53558
53559   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53560     for ac_func in modff
53561 do :
53562   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53563 if test "x$ac_cv_func_modff" = x""yes; then :
53564   cat >>confdefs.h <<_ACEOF
53565 #define HAVE_MODFF 1
53566 _ACEOF
53567
53568 fi
53569 done
53570
53571   else
53572
53573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53574 $as_echo_n "checking for _modff declaration... " >&6; }
53575   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53576     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53577   $as_echo_n "(cached) " >&6
53578 else
53579
53580
53581       ac_ext=cpp
53582 ac_cpp='$CXXCPP $CPPFLAGS'
53583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53586
53587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53588 /* end confdefs.h.  */
53589 #include <math.h>
53590 int
53591 main ()
53592 {
53593  _modff(0, 0);
53594   ;
53595   return 0;
53596 }
53597 _ACEOF
53598 if ac_fn_cxx_try_compile "$LINENO"; then :
53599   glibcxx_cv_func__modff_use=yes
53600 else
53601   glibcxx_cv_func__modff_use=no
53602 fi
53603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53604       ac_ext=c
53605 ac_cpp='$CPP $CPPFLAGS'
53606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53609
53610
53611 fi
53612
53613   fi
53614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53615 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53616
53617     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53618       for ac_func in _modff
53619 do :
53620   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53621 if test "x$ac_cv_func__modff" = x""yes; then :
53622   cat >>confdefs.h <<_ACEOF
53623 #define HAVE__MODFF 1
53624 _ACEOF
53625
53626 fi
53627 done
53628
53629     fi
53630   fi
53631
53632
53633
53634
53635
53636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53637 $as_echo_n "checking for modf declaration... " >&6; }
53638   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53639     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53640   $as_echo_n "(cached) " >&6
53641 else
53642
53643
53644       ac_ext=cpp
53645 ac_cpp='$CXXCPP $CPPFLAGS'
53646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53649
53650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53651 /* end confdefs.h.  */
53652 #include <math.h>
53653 int
53654 main ()
53655 {
53656  modf(0, 0);
53657   ;
53658   return 0;
53659 }
53660 _ACEOF
53661 if ac_fn_cxx_try_compile "$LINENO"; then :
53662   glibcxx_cv_func_modf_use=yes
53663 else
53664   glibcxx_cv_func_modf_use=no
53665 fi
53666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53667       ac_ext=c
53668 ac_cpp='$CPP $CPPFLAGS'
53669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53672
53673
53674 fi
53675
53676   fi
53677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53678 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53679
53680   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53681     for ac_func in modf
53682 do :
53683   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53684 if test "x$ac_cv_func_modf" = x""yes; then :
53685   cat >>confdefs.h <<_ACEOF
53686 #define HAVE_MODF 1
53687 _ACEOF
53688
53689 fi
53690 done
53691
53692   else
53693
53694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53695 $as_echo_n "checking for _modf declaration... " >&6; }
53696   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53697     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53698   $as_echo_n "(cached) " >&6
53699 else
53700
53701
53702       ac_ext=cpp
53703 ac_cpp='$CXXCPP $CPPFLAGS'
53704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53707
53708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53709 /* end confdefs.h.  */
53710 #include <math.h>
53711 int
53712 main ()
53713 {
53714  _modf(0, 0);
53715   ;
53716   return 0;
53717 }
53718 _ACEOF
53719 if ac_fn_cxx_try_compile "$LINENO"; then :
53720   glibcxx_cv_func__modf_use=yes
53721 else
53722   glibcxx_cv_func__modf_use=no
53723 fi
53724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53725       ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53730
53731
53732 fi
53733
53734   fi
53735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53736 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53737
53738     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53739       for ac_func in _modf
53740 do :
53741   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53742 if test "x$ac_cv_func__modf" = x""yes; then :
53743   cat >>confdefs.h <<_ACEOF
53744 #define HAVE__MODF 1
53745 _ACEOF
53746
53747 fi
53748 done
53749
53750     fi
53751   fi
53752
53753
53754
53755
53756
53757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53758 $as_echo_n "checking for powf declaration... " >&6; }
53759   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53760     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53761   $as_echo_n "(cached) " >&6
53762 else
53763
53764
53765       ac_ext=cpp
53766 ac_cpp='$CXXCPP $CPPFLAGS'
53767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53770
53771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53772 /* end confdefs.h.  */
53773 #include <math.h>
53774 int
53775 main ()
53776 {
53777  powf(0, 0);
53778   ;
53779   return 0;
53780 }
53781 _ACEOF
53782 if ac_fn_cxx_try_compile "$LINENO"; then :
53783   glibcxx_cv_func_powf_use=yes
53784 else
53785   glibcxx_cv_func_powf_use=no
53786 fi
53787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53788       ac_ext=c
53789 ac_cpp='$CPP $CPPFLAGS'
53790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53793
53794
53795 fi
53796
53797   fi
53798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53799 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53800
53801   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53802     for ac_func in powf
53803 do :
53804   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53805 if test "x$ac_cv_func_powf" = x""yes; then :
53806   cat >>confdefs.h <<_ACEOF
53807 #define HAVE_POWF 1
53808 _ACEOF
53809
53810 fi
53811 done
53812
53813   else
53814
53815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53816 $as_echo_n "checking for _powf declaration... " >&6; }
53817   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53818     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53819   $as_echo_n "(cached) " >&6
53820 else
53821
53822
53823       ac_ext=cpp
53824 ac_cpp='$CXXCPP $CPPFLAGS'
53825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53828
53829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53830 /* end confdefs.h.  */
53831 #include <math.h>
53832 int
53833 main ()
53834 {
53835  _powf(0, 0);
53836   ;
53837   return 0;
53838 }
53839 _ACEOF
53840 if ac_fn_cxx_try_compile "$LINENO"; then :
53841   glibcxx_cv_func__powf_use=yes
53842 else
53843   glibcxx_cv_func__powf_use=no
53844 fi
53845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53846       ac_ext=c
53847 ac_cpp='$CPP $CPPFLAGS'
53848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53851
53852
53853 fi
53854
53855   fi
53856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53857 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53858
53859     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53860       for ac_func in _powf
53861 do :
53862   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53863 if test "x$ac_cv_func__powf" = x""yes; then :
53864   cat >>confdefs.h <<_ACEOF
53865 #define HAVE__POWF 1
53866 _ACEOF
53867
53868 fi
53869 done
53870
53871     fi
53872   fi
53873
53874
53875
53876
53877
53878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53879 $as_echo_n "checking for sqrtf declaration... " >&6; }
53880   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53881     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53882   $as_echo_n "(cached) " >&6
53883 else
53884
53885
53886       ac_ext=cpp
53887 ac_cpp='$CXXCPP $CPPFLAGS'
53888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53891
53892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53893 /* end confdefs.h.  */
53894 #include <math.h>
53895                       #ifdef HAVE_IEEEFP_H
53896                       #include <ieeefp.h>
53897                       #endif
53898
53899 int
53900 main ()
53901 {
53902  sqrtf(0);
53903   ;
53904   return 0;
53905 }
53906 _ACEOF
53907 if ac_fn_cxx_try_compile "$LINENO"; then :
53908   glibcxx_cv_func_sqrtf_use=yes
53909 else
53910   glibcxx_cv_func_sqrtf_use=no
53911 fi
53912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53913       ac_ext=c
53914 ac_cpp='$CPP $CPPFLAGS'
53915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53918
53919
53920 fi
53921
53922   fi
53923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53924 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53925
53926   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53927     for ac_func in sqrtf
53928 do :
53929   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53930 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53931   cat >>confdefs.h <<_ACEOF
53932 #define HAVE_SQRTF 1
53933 _ACEOF
53934
53935 fi
53936 done
53937
53938   else
53939
53940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53941 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53942   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53943     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53944   $as_echo_n "(cached) " >&6
53945 else
53946
53947
53948       ac_ext=cpp
53949 ac_cpp='$CXXCPP $CPPFLAGS'
53950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53953
53954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53955 /* end confdefs.h.  */
53956 #include <math.h>
53957                       #ifdef HAVE_IEEEFP_H
53958                       #include <ieeefp.h>
53959                       #endif
53960
53961 int
53962 main ()
53963 {
53964  _sqrtf(0);
53965   ;
53966   return 0;
53967 }
53968 _ACEOF
53969 if ac_fn_cxx_try_compile "$LINENO"; then :
53970   glibcxx_cv_func__sqrtf_use=yes
53971 else
53972   glibcxx_cv_func__sqrtf_use=no
53973 fi
53974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53975       ac_ext=c
53976 ac_cpp='$CPP $CPPFLAGS'
53977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53980
53981
53982 fi
53983
53984   fi
53985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53986 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53987
53988     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53989       for ac_func in _sqrtf
53990 do :
53991   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53992 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53993   cat >>confdefs.h <<_ACEOF
53994 #define HAVE__SQRTF 1
53995 _ACEOF
53996
53997 fi
53998 done
53999
54000     fi
54001   fi
54002
54003
54004
54005
54006
54007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54008 $as_echo_n "checking for sincosf declaration... " >&6; }
54009   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54010     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54011   $as_echo_n "(cached) " >&6
54012 else
54013
54014
54015       ac_ext=cpp
54016 ac_cpp='$CXXCPP $CPPFLAGS'
54017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54020
54021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54022 /* end confdefs.h.  */
54023 #include <math.h>
54024 int
54025 main ()
54026 {
54027  sincosf(0, 0, 0);
54028   ;
54029   return 0;
54030 }
54031 _ACEOF
54032 if ac_fn_cxx_try_compile "$LINENO"; then :
54033   glibcxx_cv_func_sincosf_use=yes
54034 else
54035   glibcxx_cv_func_sincosf_use=no
54036 fi
54037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54038       ac_ext=c
54039 ac_cpp='$CPP $CPPFLAGS'
54040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54043
54044
54045 fi
54046
54047   fi
54048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54049 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54050
54051   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54052     for ac_func in sincosf
54053 do :
54054   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54055 if test "x$ac_cv_func_sincosf" = x""yes; then :
54056   cat >>confdefs.h <<_ACEOF
54057 #define HAVE_SINCOSF 1
54058 _ACEOF
54059
54060 fi
54061 done
54062
54063   else
54064
54065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54066 $as_echo_n "checking for _sincosf declaration... " >&6; }
54067   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54068     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54069   $as_echo_n "(cached) " >&6
54070 else
54071
54072
54073       ac_ext=cpp
54074 ac_cpp='$CXXCPP $CPPFLAGS'
54075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54078
54079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54080 /* end confdefs.h.  */
54081 #include <math.h>
54082 int
54083 main ()
54084 {
54085  _sincosf(0, 0, 0);
54086   ;
54087   return 0;
54088 }
54089 _ACEOF
54090 if ac_fn_cxx_try_compile "$LINENO"; then :
54091   glibcxx_cv_func__sincosf_use=yes
54092 else
54093   glibcxx_cv_func__sincosf_use=no
54094 fi
54095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54096       ac_ext=c
54097 ac_cpp='$CPP $CPPFLAGS'
54098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54101
54102
54103 fi
54104
54105   fi
54106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54107 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54108
54109     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54110       for ac_func in _sincosf
54111 do :
54112   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54113 if test "x$ac_cv_func__sincosf" = x""yes; then :
54114   cat >>confdefs.h <<_ACEOF
54115 #define HAVE__SINCOSF 1
54116 _ACEOF
54117
54118 fi
54119 done
54120
54121     fi
54122   fi
54123
54124
54125
54126
54127
54128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54129 $as_echo_n "checking for finitef declaration... " >&6; }
54130   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54131     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54132   $as_echo_n "(cached) " >&6
54133 else
54134
54135
54136       ac_ext=cpp
54137 ac_cpp='$CXXCPP $CPPFLAGS'
54138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54141
54142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54143 /* end confdefs.h.  */
54144 #include <math.h>
54145                       #ifdef HAVE_IEEEFP_H
54146                       #include <ieeefp.h>
54147                       #endif
54148
54149 int
54150 main ()
54151 {
54152  finitef(0);
54153   ;
54154   return 0;
54155 }
54156 _ACEOF
54157 if ac_fn_cxx_try_compile "$LINENO"; then :
54158   glibcxx_cv_func_finitef_use=yes
54159 else
54160   glibcxx_cv_func_finitef_use=no
54161 fi
54162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54163       ac_ext=c
54164 ac_cpp='$CPP $CPPFLAGS'
54165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54168
54169
54170 fi
54171
54172   fi
54173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54174 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54175
54176   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54177     for ac_func in finitef
54178 do :
54179   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54180 if test "x$ac_cv_func_finitef" = x""yes; then :
54181   cat >>confdefs.h <<_ACEOF
54182 #define HAVE_FINITEF 1
54183 _ACEOF
54184
54185 fi
54186 done
54187
54188   else
54189
54190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54191 $as_echo_n "checking for _finitef declaration... " >&6; }
54192   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54193     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54194   $as_echo_n "(cached) " >&6
54195 else
54196
54197
54198       ac_ext=cpp
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203
54204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205 /* end confdefs.h.  */
54206 #include <math.h>
54207                       #ifdef HAVE_IEEEFP_H
54208                       #include <ieeefp.h>
54209                       #endif
54210
54211 int
54212 main ()
54213 {
54214  _finitef(0);
54215   ;
54216   return 0;
54217 }
54218 _ACEOF
54219 if ac_fn_cxx_try_compile "$LINENO"; then :
54220   glibcxx_cv_func__finitef_use=yes
54221 else
54222   glibcxx_cv_func__finitef_use=no
54223 fi
54224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54225       ac_ext=c
54226 ac_cpp='$CPP $CPPFLAGS'
54227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54230
54231
54232 fi
54233
54234   fi
54235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54236 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54237
54238     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54239       for ac_func in _finitef
54240 do :
54241   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54242 if test "x$ac_cv_func__finitef" = x""yes; then :
54243   cat >>confdefs.h <<_ACEOF
54244 #define HAVE__FINITEF 1
54245 _ACEOF
54246
54247 fi
54248 done
54249
54250     fi
54251   fi
54252
54253
54254
54255
54256
54257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54258 $as_echo_n "checking for long double trig functions... " >&6; }
54259   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54260   $as_echo_n "(cached) " >&6
54261 else
54262
54263
54264     ac_ext=cpp
54265 ac_cpp='$CXXCPP $CPPFLAGS'
54266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54269
54270     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54271 /* end confdefs.h.  */
54272 #include <math.h>
54273 int
54274 main ()
54275 {
54276 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54277   ;
54278   return 0;
54279 }
54280 _ACEOF
54281 if ac_fn_cxx_try_compile "$LINENO"; then :
54282   glibcxx_cv_func_long_double_trig_use=yes
54283 else
54284   glibcxx_cv_func_long_double_trig_use=no
54285 fi
54286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54287     ac_ext=c
54288 ac_cpp='$CPP $CPPFLAGS'
54289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54292
54293 fi
54294
54295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54296 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54297   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54298     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54299 do :
54300   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54302 eval as_val=\$$as_ac_var
54303    if test "x$as_val" = x""yes; then :
54304   cat >>confdefs.h <<_ACEOF
54305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311   else
54312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54313 $as_echo_n "checking for _long double trig functions... " >&6; }
54314     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54315   $as_echo_n "(cached) " >&6
54316 else
54317
54318
54319       ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324
54325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h.  */
54327 #include <math.h>
54328 int
54329 main ()
54330 {
54331 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54332   ;
54333   return 0;
54334 }
54335 _ACEOF
54336 if ac_fn_cxx_try_compile "$LINENO"; then :
54337   glibcxx_cv_func__long_double_trig_use=yes
54338 else
54339   glibcxx_cv_func__long_double_trig_use=no
54340 fi
54341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54342       ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347
54348 fi
54349
54350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54351 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54352     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54353       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54354 do :
54355   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54357 eval as_val=\$$as_ac_var
54358    if test "x$as_val" = x""yes; then :
54359   cat >>confdefs.h <<_ACEOF
54360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54361 _ACEOF
54362
54363 fi
54364 done
54365
54366     fi
54367   fi
54368
54369
54370
54371
54372
54373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54374 $as_echo_n "checking for long double round functions... " >&6; }
54375   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54376   $as_echo_n "(cached) " >&6
54377 else
54378
54379
54380     ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54385
54386     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h.  */
54388 #include <math.h>
54389 int
54390 main ()
54391 {
54392 ceill (0); floorl (0);
54393   ;
54394   return 0;
54395 }
54396 _ACEOF
54397 if ac_fn_cxx_try_compile "$LINENO"; then :
54398   glibcxx_cv_func_long_double_round_use=yes
54399 else
54400   glibcxx_cv_func_long_double_round_use=no
54401 fi
54402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54403     ac_ext=c
54404 ac_cpp='$CPP $CPPFLAGS'
54405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54408
54409 fi
54410
54411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54412 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54413   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54414     for ac_func in ceill floorl
54415 do :
54416   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54418 eval as_val=\$$as_ac_var
54419    if test "x$as_val" = x""yes; then :
54420   cat >>confdefs.h <<_ACEOF
54421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54422 _ACEOF
54423
54424 fi
54425 done
54426
54427   else
54428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54429 $as_echo_n "checking for _long double round functions... " >&6; }
54430     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54431   $as_echo_n "(cached) " >&6
54432 else
54433
54434
54435       ac_ext=cpp
54436 ac_cpp='$CXXCPP $CPPFLAGS'
54437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54440
54441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54442 /* end confdefs.h.  */
54443 #include <math.h>
54444 int
54445 main ()
54446 {
54447 _ceill (0); _floorl (0);
54448   ;
54449   return 0;
54450 }
54451 _ACEOF
54452 if ac_fn_cxx_try_compile "$LINENO"; then :
54453   glibcxx_cv_func__long_double_round_use=yes
54454 else
54455   glibcxx_cv_func__long_double_round_use=no
54456 fi
54457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54458       ac_ext=c
54459 ac_cpp='$CPP $CPPFLAGS'
54460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54463
54464 fi
54465
54466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54467 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54468     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54469       for ac_func in _ceill _floorl
54470 do :
54471   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54473 eval as_val=\$$as_ac_var
54474    if test "x$as_val" = x""yes; then :
54475   cat >>confdefs.h <<_ACEOF
54476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54477 _ACEOF
54478
54479 fi
54480 done
54481
54482     fi
54483   fi
54484
54485
54486
54487
54488
54489
54490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54491 $as_echo_n "checking for isnanl declaration... " >&6; }
54492   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54493     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54494   $as_echo_n "(cached) " >&6
54495 else
54496
54497
54498       ac_ext=cpp
54499 ac_cpp='$CXXCPP $CPPFLAGS'
54500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54503
54504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54505 /* end confdefs.h.  */
54506 #include <math.h>
54507                       #ifdef HAVE_IEEEFP_H
54508                       #include <ieeefp.h>
54509                       #endif
54510
54511 int
54512 main ()
54513 {
54514  isnanl(0);
54515   ;
54516   return 0;
54517 }
54518 _ACEOF
54519 if ac_fn_cxx_try_compile "$LINENO"; then :
54520   glibcxx_cv_func_isnanl_use=yes
54521 else
54522   glibcxx_cv_func_isnanl_use=no
54523 fi
54524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54525       ac_ext=c
54526 ac_cpp='$CPP $CPPFLAGS'
54527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54530
54531
54532 fi
54533
54534   fi
54535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54536 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54537
54538   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54539     for ac_func in isnanl
54540 do :
54541   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54542 if test "x$ac_cv_func_isnanl" = x""yes; then :
54543   cat >>confdefs.h <<_ACEOF
54544 #define HAVE_ISNANL 1
54545 _ACEOF
54546
54547 fi
54548 done
54549
54550   else
54551
54552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54553 $as_echo_n "checking for _isnanl declaration... " >&6; }
54554   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54555     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54556   $as_echo_n "(cached) " >&6
54557 else
54558
54559
54560       ac_ext=cpp
54561 ac_cpp='$CXXCPP $CPPFLAGS'
54562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54565
54566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54567 /* end confdefs.h.  */
54568 #include <math.h>
54569                       #ifdef HAVE_IEEEFP_H
54570                       #include <ieeefp.h>
54571                       #endif
54572
54573 int
54574 main ()
54575 {
54576  _isnanl(0);
54577   ;
54578   return 0;
54579 }
54580 _ACEOF
54581 if ac_fn_cxx_try_compile "$LINENO"; then :
54582   glibcxx_cv_func__isnanl_use=yes
54583 else
54584   glibcxx_cv_func__isnanl_use=no
54585 fi
54586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54587       ac_ext=c
54588 ac_cpp='$CPP $CPPFLAGS'
54589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54592
54593
54594 fi
54595
54596   fi
54597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54598 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54599
54600     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54601       for ac_func in _isnanl
54602 do :
54603   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54604 if test "x$ac_cv_func__isnanl" = x""yes; then :
54605   cat >>confdefs.h <<_ACEOF
54606 #define HAVE__ISNANL 1
54607 _ACEOF
54608
54609 fi
54610 done
54611
54612     fi
54613   fi
54614
54615
54616
54617
54618
54619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54620 $as_echo_n "checking for isinfl declaration... " >&6; }
54621   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54622     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54623   $as_echo_n "(cached) " >&6
54624 else
54625
54626
54627       ac_ext=cpp
54628 ac_cpp='$CXXCPP $CPPFLAGS'
54629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54632
54633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54634 /* end confdefs.h.  */
54635 #include <math.h>
54636                       #ifdef HAVE_IEEEFP_H
54637                       #include <ieeefp.h>
54638                       #endif
54639
54640 int
54641 main ()
54642 {
54643  isinfl(0);
54644   ;
54645   return 0;
54646 }
54647 _ACEOF
54648 if ac_fn_cxx_try_compile "$LINENO"; then :
54649   glibcxx_cv_func_isinfl_use=yes
54650 else
54651   glibcxx_cv_func_isinfl_use=no
54652 fi
54653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54654       ac_ext=c
54655 ac_cpp='$CPP $CPPFLAGS'
54656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54659
54660
54661 fi
54662
54663   fi
54664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54665 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54666
54667   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54668     for ac_func in isinfl
54669 do :
54670   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54671 if test "x$ac_cv_func_isinfl" = x""yes; then :
54672   cat >>confdefs.h <<_ACEOF
54673 #define HAVE_ISINFL 1
54674 _ACEOF
54675
54676 fi
54677 done
54678
54679   else
54680
54681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54682 $as_echo_n "checking for _isinfl declaration... " >&6; }
54683   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54684     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54685   $as_echo_n "(cached) " >&6
54686 else
54687
54688
54689       ac_ext=cpp
54690 ac_cpp='$CXXCPP $CPPFLAGS'
54691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694
54695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54696 /* end confdefs.h.  */
54697 #include <math.h>
54698                       #ifdef HAVE_IEEEFP_H
54699                       #include <ieeefp.h>
54700                       #endif
54701
54702 int
54703 main ()
54704 {
54705  _isinfl(0);
54706   ;
54707   return 0;
54708 }
54709 _ACEOF
54710 if ac_fn_cxx_try_compile "$LINENO"; then :
54711   glibcxx_cv_func__isinfl_use=yes
54712 else
54713   glibcxx_cv_func__isinfl_use=no
54714 fi
54715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54716       ac_ext=c
54717 ac_cpp='$CPP $CPPFLAGS'
54718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54721
54722
54723 fi
54724
54725   fi
54726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54727 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54728
54729     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54730       for ac_func in _isinfl
54731 do :
54732   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54733 if test "x$ac_cv_func__isinfl" = x""yes; then :
54734   cat >>confdefs.h <<_ACEOF
54735 #define HAVE__ISINFL 1
54736 _ACEOF
54737
54738 fi
54739 done
54740
54741     fi
54742   fi
54743
54744
54745
54746
54747
54748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54749 $as_echo_n "checking for atan2l declaration... " >&6; }
54750   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54751     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54752   $as_echo_n "(cached) " >&6
54753 else
54754
54755
54756       ac_ext=cpp
54757 ac_cpp='$CXXCPP $CPPFLAGS'
54758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54761
54762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54763 /* end confdefs.h.  */
54764 #include <math.h>
54765 int
54766 main ()
54767 {
54768  atan2l(0, 0);
54769   ;
54770   return 0;
54771 }
54772 _ACEOF
54773 if ac_fn_cxx_try_compile "$LINENO"; then :
54774   glibcxx_cv_func_atan2l_use=yes
54775 else
54776   glibcxx_cv_func_atan2l_use=no
54777 fi
54778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54779       ac_ext=c
54780 ac_cpp='$CPP $CPPFLAGS'
54781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54784
54785
54786 fi
54787
54788   fi
54789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54790 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54791
54792   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54793     for ac_func in atan2l
54794 do :
54795   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54796 if test "x$ac_cv_func_atan2l" = x""yes; then :
54797   cat >>confdefs.h <<_ACEOF
54798 #define HAVE_ATAN2L 1
54799 _ACEOF
54800
54801 fi
54802 done
54803
54804   else
54805
54806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54807 $as_echo_n "checking for _atan2l declaration... " >&6; }
54808   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54809     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54810   $as_echo_n "(cached) " >&6
54811 else
54812
54813
54814       ac_ext=cpp
54815 ac_cpp='$CXXCPP $CPPFLAGS'
54816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54819
54820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54821 /* end confdefs.h.  */
54822 #include <math.h>
54823 int
54824 main ()
54825 {
54826  _atan2l(0, 0);
54827   ;
54828   return 0;
54829 }
54830 _ACEOF
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832   glibcxx_cv_func__atan2l_use=yes
54833 else
54834   glibcxx_cv_func__atan2l_use=no
54835 fi
54836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54837       ac_ext=c
54838 ac_cpp='$CPP $CPPFLAGS'
54839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54842
54843
54844 fi
54845
54846   fi
54847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54848 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54849
54850     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54851       for ac_func in _atan2l
54852 do :
54853   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54854 if test "x$ac_cv_func__atan2l" = x""yes; then :
54855   cat >>confdefs.h <<_ACEOF
54856 #define HAVE__ATAN2L 1
54857 _ACEOF
54858
54859 fi
54860 done
54861
54862     fi
54863   fi
54864
54865
54866
54867
54868
54869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54870 $as_echo_n "checking for expl declaration... " >&6; }
54871   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54872     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54873   $as_echo_n "(cached) " >&6
54874 else
54875
54876
54877       ac_ext=cpp
54878 ac_cpp='$CXXCPP $CPPFLAGS'
54879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54882
54883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54884 /* end confdefs.h.  */
54885 #include <math.h>
54886                       #ifdef HAVE_IEEEFP_H
54887                       #include <ieeefp.h>
54888                       #endif
54889
54890 int
54891 main ()
54892 {
54893  expl(0);
54894   ;
54895   return 0;
54896 }
54897 _ACEOF
54898 if ac_fn_cxx_try_compile "$LINENO"; then :
54899   glibcxx_cv_func_expl_use=yes
54900 else
54901   glibcxx_cv_func_expl_use=no
54902 fi
54903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54904       ac_ext=c
54905 ac_cpp='$CPP $CPPFLAGS'
54906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54909
54910
54911 fi
54912
54913   fi
54914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54915 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54916
54917   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54918     for ac_func in expl
54919 do :
54920   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54921 if test "x$ac_cv_func_expl" = x""yes; then :
54922   cat >>confdefs.h <<_ACEOF
54923 #define HAVE_EXPL 1
54924 _ACEOF
54925
54926 fi
54927 done
54928
54929   else
54930
54931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54932 $as_echo_n "checking for _expl declaration... " >&6; }
54933   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54934     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54935   $as_echo_n "(cached) " >&6
54936 else
54937
54938
54939       ac_ext=cpp
54940 ac_cpp='$CXXCPP $CPPFLAGS'
54941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54944
54945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54946 /* end confdefs.h.  */
54947 #include <math.h>
54948                       #ifdef HAVE_IEEEFP_H
54949                       #include <ieeefp.h>
54950                       #endif
54951
54952 int
54953 main ()
54954 {
54955  _expl(0);
54956   ;
54957   return 0;
54958 }
54959 _ACEOF
54960 if ac_fn_cxx_try_compile "$LINENO"; then :
54961   glibcxx_cv_func__expl_use=yes
54962 else
54963   glibcxx_cv_func__expl_use=no
54964 fi
54965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54966       ac_ext=c
54967 ac_cpp='$CPP $CPPFLAGS'
54968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54971
54972
54973 fi
54974
54975   fi
54976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54977 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54978
54979     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54980       for ac_func in _expl
54981 do :
54982   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54983 if test "x$ac_cv_func__expl" = x""yes; then :
54984   cat >>confdefs.h <<_ACEOF
54985 #define HAVE__EXPL 1
54986 _ACEOF
54987
54988 fi
54989 done
54990
54991     fi
54992   fi
54993
54994
54995
54996
54997
54998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54999 $as_echo_n "checking for fabsl declaration... " >&6; }
55000   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55001     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55002   $as_echo_n "(cached) " >&6
55003 else
55004
55005
55006       ac_ext=cpp
55007 ac_cpp='$CXXCPP $CPPFLAGS'
55008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55011
55012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55013 /* end confdefs.h.  */
55014 #include <math.h>
55015                       #ifdef HAVE_IEEEFP_H
55016                       #include <ieeefp.h>
55017                       #endif
55018
55019 int
55020 main ()
55021 {
55022  fabsl(0);
55023   ;
55024   return 0;
55025 }
55026 _ACEOF
55027 if ac_fn_cxx_try_compile "$LINENO"; then :
55028   glibcxx_cv_func_fabsl_use=yes
55029 else
55030   glibcxx_cv_func_fabsl_use=no
55031 fi
55032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55033       ac_ext=c
55034 ac_cpp='$CPP $CPPFLAGS'
55035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55038
55039
55040 fi
55041
55042   fi
55043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55044 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55045
55046   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55047     for ac_func in fabsl
55048 do :
55049   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55050 if test "x$ac_cv_func_fabsl" = x""yes; then :
55051   cat >>confdefs.h <<_ACEOF
55052 #define HAVE_FABSL 1
55053 _ACEOF
55054
55055 fi
55056 done
55057
55058   else
55059
55060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55061 $as_echo_n "checking for _fabsl declaration... " >&6; }
55062   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55063     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55064   $as_echo_n "(cached) " >&6
55065 else
55066
55067
55068       ac_ext=cpp
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55073
55074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55075 /* end confdefs.h.  */
55076 #include <math.h>
55077                       #ifdef HAVE_IEEEFP_H
55078                       #include <ieeefp.h>
55079                       #endif
55080
55081 int
55082 main ()
55083 {
55084  _fabsl(0);
55085   ;
55086   return 0;
55087 }
55088 _ACEOF
55089 if ac_fn_cxx_try_compile "$LINENO"; then :
55090   glibcxx_cv_func__fabsl_use=yes
55091 else
55092   glibcxx_cv_func__fabsl_use=no
55093 fi
55094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095       ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55100
55101
55102 fi
55103
55104   fi
55105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55106 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55107
55108     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55109       for ac_func in _fabsl
55110 do :
55111   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55112 if test "x$ac_cv_func__fabsl" = x""yes; then :
55113   cat >>confdefs.h <<_ACEOF
55114 #define HAVE__FABSL 1
55115 _ACEOF
55116
55117 fi
55118 done
55119
55120     fi
55121   fi
55122
55123
55124
55125
55126
55127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55128 $as_echo_n "checking for fmodl declaration... " >&6; }
55129   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55130     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55131   $as_echo_n "(cached) " >&6
55132 else
55133
55134
55135       ac_ext=cpp
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55140
55141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55142 /* end confdefs.h.  */
55143 #include <math.h>
55144 int
55145 main ()
55146 {
55147  fmodl(0, 0);
55148   ;
55149   return 0;
55150 }
55151 _ACEOF
55152 if ac_fn_cxx_try_compile "$LINENO"; then :
55153   glibcxx_cv_func_fmodl_use=yes
55154 else
55155   glibcxx_cv_func_fmodl_use=no
55156 fi
55157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55158       ac_ext=c
55159 ac_cpp='$CPP $CPPFLAGS'
55160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55163
55164
55165 fi
55166
55167   fi
55168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55169 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55170
55171   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55172     for ac_func in fmodl
55173 do :
55174   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55175 if test "x$ac_cv_func_fmodl" = x""yes; then :
55176   cat >>confdefs.h <<_ACEOF
55177 #define HAVE_FMODL 1
55178 _ACEOF
55179
55180 fi
55181 done
55182
55183   else
55184
55185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55186 $as_echo_n "checking for _fmodl declaration... " >&6; }
55187   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55188     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55189   $as_echo_n "(cached) " >&6
55190 else
55191
55192
55193       ac_ext=cpp
55194 ac_cpp='$CXXCPP $CPPFLAGS'
55195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55198
55199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55200 /* end confdefs.h.  */
55201 #include <math.h>
55202 int
55203 main ()
55204 {
55205  _fmodl(0, 0);
55206   ;
55207   return 0;
55208 }
55209 _ACEOF
55210 if ac_fn_cxx_try_compile "$LINENO"; then :
55211   glibcxx_cv_func__fmodl_use=yes
55212 else
55213   glibcxx_cv_func__fmodl_use=no
55214 fi
55215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55216       ac_ext=c
55217 ac_cpp='$CPP $CPPFLAGS'
55218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55221
55222
55223 fi
55224
55225   fi
55226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55227 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55228
55229     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55230       for ac_func in _fmodl
55231 do :
55232   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55233 if test "x$ac_cv_func__fmodl" = x""yes; then :
55234   cat >>confdefs.h <<_ACEOF
55235 #define HAVE__FMODL 1
55236 _ACEOF
55237
55238 fi
55239 done
55240
55241     fi
55242   fi
55243
55244
55245
55246
55247
55248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55249 $as_echo_n "checking for frexpl declaration... " >&6; }
55250   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55251     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55252   $as_echo_n "(cached) " >&6
55253 else
55254
55255
55256       ac_ext=cpp
55257 ac_cpp='$CXXCPP $CPPFLAGS'
55258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55261
55262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55263 /* end confdefs.h.  */
55264 #include <math.h>
55265 int
55266 main ()
55267 {
55268  frexpl(0, 0);
55269   ;
55270   return 0;
55271 }
55272 _ACEOF
55273 if ac_fn_cxx_try_compile "$LINENO"; then :
55274   glibcxx_cv_func_frexpl_use=yes
55275 else
55276   glibcxx_cv_func_frexpl_use=no
55277 fi
55278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55279       ac_ext=c
55280 ac_cpp='$CPP $CPPFLAGS'
55281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55284
55285
55286 fi
55287
55288   fi
55289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55290 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55291
55292   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55293     for ac_func in frexpl
55294 do :
55295   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55296 if test "x$ac_cv_func_frexpl" = x""yes; then :
55297   cat >>confdefs.h <<_ACEOF
55298 #define HAVE_FREXPL 1
55299 _ACEOF
55300
55301 fi
55302 done
55303
55304   else
55305
55306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55307 $as_echo_n "checking for _frexpl declaration... " >&6; }
55308   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55309     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55310   $as_echo_n "(cached) " >&6
55311 else
55312
55313
55314       ac_ext=cpp
55315 ac_cpp='$CXXCPP $CPPFLAGS'
55316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55319
55320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55321 /* end confdefs.h.  */
55322 #include <math.h>
55323 int
55324 main ()
55325 {
55326  _frexpl(0, 0);
55327   ;
55328   return 0;
55329 }
55330 _ACEOF
55331 if ac_fn_cxx_try_compile "$LINENO"; then :
55332   glibcxx_cv_func__frexpl_use=yes
55333 else
55334   glibcxx_cv_func__frexpl_use=no
55335 fi
55336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55337       ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55342
55343
55344 fi
55345
55346   fi
55347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55348 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55349
55350     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55351       for ac_func in _frexpl
55352 do :
55353   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55354 if test "x$ac_cv_func__frexpl" = x""yes; then :
55355   cat >>confdefs.h <<_ACEOF
55356 #define HAVE__FREXPL 1
55357 _ACEOF
55358
55359 fi
55360 done
55361
55362     fi
55363   fi
55364
55365
55366
55367
55368
55369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55370 $as_echo_n "checking for hypotl declaration... " >&6; }
55371   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55372     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55373   $as_echo_n "(cached) " >&6
55374 else
55375
55376
55377       ac_ext=cpp
55378 ac_cpp='$CXXCPP $CPPFLAGS'
55379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55382
55383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55384 /* end confdefs.h.  */
55385 #include <math.h>
55386 int
55387 main ()
55388 {
55389  hypotl(0, 0);
55390   ;
55391   return 0;
55392 }
55393 _ACEOF
55394 if ac_fn_cxx_try_compile "$LINENO"; then :
55395   glibcxx_cv_func_hypotl_use=yes
55396 else
55397   glibcxx_cv_func_hypotl_use=no
55398 fi
55399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55400       ac_ext=c
55401 ac_cpp='$CPP $CPPFLAGS'
55402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55405
55406
55407 fi
55408
55409   fi
55410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55411 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55412
55413   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55414     for ac_func in hypotl
55415 do :
55416   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55417 if test "x$ac_cv_func_hypotl" = x""yes; then :
55418   cat >>confdefs.h <<_ACEOF
55419 #define HAVE_HYPOTL 1
55420 _ACEOF
55421
55422 fi
55423 done
55424
55425   else
55426
55427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55428 $as_echo_n "checking for _hypotl declaration... " >&6; }
55429   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55430     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55431   $as_echo_n "(cached) " >&6
55432 else
55433
55434
55435       ac_ext=cpp
55436 ac_cpp='$CXXCPP $CPPFLAGS'
55437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440
55441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55442 /* end confdefs.h.  */
55443 #include <math.h>
55444 int
55445 main ()
55446 {
55447  _hypotl(0, 0);
55448   ;
55449   return 0;
55450 }
55451 _ACEOF
55452 if ac_fn_cxx_try_compile "$LINENO"; then :
55453   glibcxx_cv_func__hypotl_use=yes
55454 else
55455   glibcxx_cv_func__hypotl_use=no
55456 fi
55457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55458       ac_ext=c
55459 ac_cpp='$CPP $CPPFLAGS'
55460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55463
55464
55465 fi
55466
55467   fi
55468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55469 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55470
55471     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55472       for ac_func in _hypotl
55473 do :
55474   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55475 if test "x$ac_cv_func__hypotl" = x""yes; then :
55476   cat >>confdefs.h <<_ACEOF
55477 #define HAVE__HYPOTL 1
55478 _ACEOF
55479
55480 fi
55481 done
55482
55483     fi
55484   fi
55485
55486
55487
55488
55489
55490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55491 $as_echo_n "checking for ldexpl declaration... " >&6; }
55492   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55493     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55494   $as_echo_n "(cached) " >&6
55495 else
55496
55497
55498       ac_ext=cpp
55499 ac_cpp='$CXXCPP $CPPFLAGS'
55500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55503
55504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55505 /* end confdefs.h.  */
55506 #include <math.h>
55507 int
55508 main ()
55509 {
55510  ldexpl(0, 0);
55511   ;
55512   return 0;
55513 }
55514 _ACEOF
55515 if ac_fn_cxx_try_compile "$LINENO"; then :
55516   glibcxx_cv_func_ldexpl_use=yes
55517 else
55518   glibcxx_cv_func_ldexpl_use=no
55519 fi
55520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55521       ac_ext=c
55522 ac_cpp='$CPP $CPPFLAGS'
55523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55526
55527
55528 fi
55529
55530   fi
55531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55532 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55533
55534   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55535     for ac_func in ldexpl
55536 do :
55537   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55538 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55539   cat >>confdefs.h <<_ACEOF
55540 #define HAVE_LDEXPL 1
55541 _ACEOF
55542
55543 fi
55544 done
55545
55546   else
55547
55548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55549 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55550   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55551     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55552   $as_echo_n "(cached) " >&6
55553 else
55554
55555
55556       ac_ext=cpp
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561
55562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55563 /* end confdefs.h.  */
55564 #include <math.h>
55565 int
55566 main ()
55567 {
55568  _ldexpl(0, 0);
55569   ;
55570   return 0;
55571 }
55572 _ACEOF
55573 if ac_fn_cxx_try_compile "$LINENO"; then :
55574   glibcxx_cv_func__ldexpl_use=yes
55575 else
55576   glibcxx_cv_func__ldexpl_use=no
55577 fi
55578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55579       ac_ext=c
55580 ac_cpp='$CPP $CPPFLAGS'
55581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55584
55585
55586 fi
55587
55588   fi
55589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55590 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55591
55592     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55593       for ac_func in _ldexpl
55594 do :
55595   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55596 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55597   cat >>confdefs.h <<_ACEOF
55598 #define HAVE__LDEXPL 1
55599 _ACEOF
55600
55601 fi
55602 done
55603
55604     fi
55605   fi
55606
55607
55608
55609
55610
55611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55612 $as_echo_n "checking for logl declaration... " >&6; }
55613   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55614     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55615   $as_echo_n "(cached) " >&6
55616 else
55617
55618
55619       ac_ext=cpp
55620 ac_cpp='$CXXCPP $CPPFLAGS'
55621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624
55625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55626 /* end confdefs.h.  */
55627 #include <math.h>
55628                       #ifdef HAVE_IEEEFP_H
55629                       #include <ieeefp.h>
55630                       #endif
55631
55632 int
55633 main ()
55634 {
55635  logl(0);
55636   ;
55637   return 0;
55638 }
55639 _ACEOF
55640 if ac_fn_cxx_try_compile "$LINENO"; then :
55641   glibcxx_cv_func_logl_use=yes
55642 else
55643   glibcxx_cv_func_logl_use=no
55644 fi
55645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55646       ac_ext=c
55647 ac_cpp='$CPP $CPPFLAGS'
55648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55651
55652
55653 fi
55654
55655   fi
55656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55657 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55658
55659   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55660     for ac_func in logl
55661 do :
55662   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55663 if test "x$ac_cv_func_logl" = x""yes; then :
55664   cat >>confdefs.h <<_ACEOF
55665 #define HAVE_LOGL 1
55666 _ACEOF
55667
55668 fi
55669 done
55670
55671   else
55672
55673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55674 $as_echo_n "checking for _logl declaration... " >&6; }
55675   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55676     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55677   $as_echo_n "(cached) " >&6
55678 else
55679
55680
55681       ac_ext=cpp
55682 ac_cpp='$CXXCPP $CPPFLAGS'
55683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55686
55687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55688 /* end confdefs.h.  */
55689 #include <math.h>
55690                       #ifdef HAVE_IEEEFP_H
55691                       #include <ieeefp.h>
55692                       #endif
55693
55694 int
55695 main ()
55696 {
55697  _logl(0);
55698   ;
55699   return 0;
55700 }
55701 _ACEOF
55702 if ac_fn_cxx_try_compile "$LINENO"; then :
55703   glibcxx_cv_func__logl_use=yes
55704 else
55705   glibcxx_cv_func__logl_use=no
55706 fi
55707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55708       ac_ext=c
55709 ac_cpp='$CPP $CPPFLAGS'
55710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55713
55714
55715 fi
55716
55717   fi
55718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55719 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55720
55721     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55722       for ac_func in _logl
55723 do :
55724   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55725 if test "x$ac_cv_func__logl" = x""yes; then :
55726   cat >>confdefs.h <<_ACEOF
55727 #define HAVE__LOGL 1
55728 _ACEOF
55729
55730 fi
55731 done
55732
55733     fi
55734   fi
55735
55736
55737
55738
55739
55740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55741 $as_echo_n "checking for log10l declaration... " >&6; }
55742   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55743     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55744   $as_echo_n "(cached) " >&6
55745 else
55746
55747
55748       ac_ext=cpp
55749 ac_cpp='$CXXCPP $CPPFLAGS'
55750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55753
55754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55755 /* end confdefs.h.  */
55756 #include <math.h>
55757                       #ifdef HAVE_IEEEFP_H
55758                       #include <ieeefp.h>
55759                       #endif
55760
55761 int
55762 main ()
55763 {
55764  log10l(0);
55765   ;
55766   return 0;
55767 }
55768 _ACEOF
55769 if ac_fn_cxx_try_compile "$LINENO"; then :
55770   glibcxx_cv_func_log10l_use=yes
55771 else
55772   glibcxx_cv_func_log10l_use=no
55773 fi
55774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55775       ac_ext=c
55776 ac_cpp='$CPP $CPPFLAGS'
55777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55780
55781
55782 fi
55783
55784   fi
55785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55786 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55787
55788   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55789     for ac_func in log10l
55790 do :
55791   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55792 if test "x$ac_cv_func_log10l" = x""yes; then :
55793   cat >>confdefs.h <<_ACEOF
55794 #define HAVE_LOG10L 1
55795 _ACEOF
55796
55797 fi
55798 done
55799
55800   else
55801
55802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55803 $as_echo_n "checking for _log10l declaration... " >&6; }
55804   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55805     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55806   $as_echo_n "(cached) " >&6
55807 else
55808
55809
55810       ac_ext=cpp
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55815
55816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55817 /* end confdefs.h.  */
55818 #include <math.h>
55819                       #ifdef HAVE_IEEEFP_H
55820                       #include <ieeefp.h>
55821                       #endif
55822
55823 int
55824 main ()
55825 {
55826  _log10l(0);
55827   ;
55828   return 0;
55829 }
55830 _ACEOF
55831 if ac_fn_cxx_try_compile "$LINENO"; then :
55832   glibcxx_cv_func__log10l_use=yes
55833 else
55834   glibcxx_cv_func__log10l_use=no
55835 fi
55836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55837       ac_ext=c
55838 ac_cpp='$CPP $CPPFLAGS'
55839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55842
55843
55844 fi
55845
55846   fi
55847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55848 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55849
55850     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55851       for ac_func in _log10l
55852 do :
55853   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55854 if test "x$ac_cv_func__log10l" = x""yes; then :
55855   cat >>confdefs.h <<_ACEOF
55856 #define HAVE__LOG10L 1
55857 _ACEOF
55858
55859 fi
55860 done
55861
55862     fi
55863   fi
55864
55865
55866
55867
55868
55869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55870 $as_echo_n "checking for modfl declaration... " >&6; }
55871   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55872     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55873   $as_echo_n "(cached) " >&6
55874 else
55875
55876
55877       ac_ext=cpp
55878 ac_cpp='$CXXCPP $CPPFLAGS'
55879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55882
55883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55884 /* end confdefs.h.  */
55885 #include <math.h>
55886 int
55887 main ()
55888 {
55889  modfl(0, 0);
55890   ;
55891   return 0;
55892 }
55893 _ACEOF
55894 if ac_fn_cxx_try_compile "$LINENO"; then :
55895   glibcxx_cv_func_modfl_use=yes
55896 else
55897   glibcxx_cv_func_modfl_use=no
55898 fi
55899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55900       ac_ext=c
55901 ac_cpp='$CPP $CPPFLAGS'
55902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55905
55906
55907 fi
55908
55909   fi
55910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55911 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55912
55913   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55914     for ac_func in modfl
55915 do :
55916   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55917 if test "x$ac_cv_func_modfl" = x""yes; then :
55918   cat >>confdefs.h <<_ACEOF
55919 #define HAVE_MODFL 1
55920 _ACEOF
55921
55922 fi
55923 done
55924
55925   else
55926
55927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55928 $as_echo_n "checking for _modfl declaration... " >&6; }
55929   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55930     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55931   $as_echo_n "(cached) " >&6
55932 else
55933
55934
55935       ac_ext=cpp
55936 ac_cpp='$CXXCPP $CPPFLAGS'
55937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55940
55941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55942 /* end confdefs.h.  */
55943 #include <math.h>
55944 int
55945 main ()
55946 {
55947  _modfl(0, 0);
55948   ;
55949   return 0;
55950 }
55951 _ACEOF
55952 if ac_fn_cxx_try_compile "$LINENO"; then :
55953   glibcxx_cv_func__modfl_use=yes
55954 else
55955   glibcxx_cv_func__modfl_use=no
55956 fi
55957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55958       ac_ext=c
55959 ac_cpp='$CPP $CPPFLAGS'
55960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55963
55964
55965 fi
55966
55967   fi
55968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55969 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55970
55971     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55972       for ac_func in _modfl
55973 do :
55974   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55975 if test "x$ac_cv_func__modfl" = x""yes; then :
55976   cat >>confdefs.h <<_ACEOF
55977 #define HAVE__MODFL 1
55978 _ACEOF
55979
55980 fi
55981 done
55982
55983     fi
55984   fi
55985
55986
55987
55988
55989
55990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55991 $as_echo_n "checking for powl declaration... " >&6; }
55992   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55993     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55994   $as_echo_n "(cached) " >&6
55995 else
55996
55997
55998       ac_ext=cpp
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003
56004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56005 /* end confdefs.h.  */
56006 #include <math.h>
56007 int
56008 main ()
56009 {
56010  powl(0, 0);
56011   ;
56012   return 0;
56013 }
56014 _ACEOF
56015 if ac_fn_cxx_try_compile "$LINENO"; then :
56016   glibcxx_cv_func_powl_use=yes
56017 else
56018   glibcxx_cv_func_powl_use=no
56019 fi
56020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56021       ac_ext=c
56022 ac_cpp='$CPP $CPPFLAGS'
56023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56026
56027
56028 fi
56029
56030   fi
56031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56032 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56033
56034   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56035     for ac_func in powl
56036 do :
56037   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56038 if test "x$ac_cv_func_powl" = x""yes; then :
56039   cat >>confdefs.h <<_ACEOF
56040 #define HAVE_POWL 1
56041 _ACEOF
56042
56043 fi
56044 done
56045
56046   else
56047
56048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56049 $as_echo_n "checking for _powl declaration... " >&6; }
56050   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56051     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56052   $as_echo_n "(cached) " >&6
56053 else
56054
56055
56056       ac_ext=cpp
56057 ac_cpp='$CXXCPP $CPPFLAGS'
56058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56061
56062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56063 /* end confdefs.h.  */
56064 #include <math.h>
56065 int
56066 main ()
56067 {
56068  _powl(0, 0);
56069   ;
56070   return 0;
56071 }
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074   glibcxx_cv_func__powl_use=yes
56075 else
56076   glibcxx_cv_func__powl_use=no
56077 fi
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079       ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56084
56085
56086 fi
56087
56088   fi
56089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56090 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56091
56092     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56093       for ac_func in _powl
56094 do :
56095   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56096 if test "x$ac_cv_func__powl" = x""yes; then :
56097   cat >>confdefs.h <<_ACEOF
56098 #define HAVE__POWL 1
56099 _ACEOF
56100
56101 fi
56102 done
56103
56104     fi
56105   fi
56106
56107
56108
56109
56110
56111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56112 $as_echo_n "checking for sqrtl declaration... " >&6; }
56113   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56114     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56115   $as_echo_n "(cached) " >&6
56116 else
56117
56118
56119       ac_ext=cpp
56120 ac_cpp='$CXXCPP $CPPFLAGS'
56121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56124
56125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56126 /* end confdefs.h.  */
56127 #include <math.h>
56128                       #ifdef HAVE_IEEEFP_H
56129                       #include <ieeefp.h>
56130                       #endif
56131
56132 int
56133 main ()
56134 {
56135  sqrtl(0);
56136   ;
56137   return 0;
56138 }
56139 _ACEOF
56140 if ac_fn_cxx_try_compile "$LINENO"; then :
56141   glibcxx_cv_func_sqrtl_use=yes
56142 else
56143   glibcxx_cv_func_sqrtl_use=no
56144 fi
56145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56146       ac_ext=c
56147 ac_cpp='$CPP $CPPFLAGS'
56148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56151
56152
56153 fi
56154
56155   fi
56156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56157 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56158
56159   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56160     for ac_func in sqrtl
56161 do :
56162   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56163 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56164   cat >>confdefs.h <<_ACEOF
56165 #define HAVE_SQRTL 1
56166 _ACEOF
56167
56168 fi
56169 done
56170
56171   else
56172
56173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56174 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56175   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56176     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56177   $as_echo_n "(cached) " >&6
56178 else
56179
56180
56181       ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56186
56187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h.  */
56189 #include <math.h>
56190                       #ifdef HAVE_IEEEFP_H
56191                       #include <ieeefp.h>
56192                       #endif
56193
56194 int
56195 main ()
56196 {
56197  _sqrtl(0);
56198   ;
56199   return 0;
56200 }
56201 _ACEOF
56202 if ac_fn_cxx_try_compile "$LINENO"; then :
56203   glibcxx_cv_func__sqrtl_use=yes
56204 else
56205   glibcxx_cv_func__sqrtl_use=no
56206 fi
56207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56208       ac_ext=c
56209 ac_cpp='$CPP $CPPFLAGS'
56210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56213
56214
56215 fi
56216
56217   fi
56218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56219 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56220
56221     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56222       for ac_func in _sqrtl
56223 do :
56224   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56225 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56226   cat >>confdefs.h <<_ACEOF
56227 #define HAVE__SQRTL 1
56228 _ACEOF
56229
56230 fi
56231 done
56232
56233     fi
56234   fi
56235
56236
56237
56238
56239
56240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56241 $as_echo_n "checking for sincosl declaration... " >&6; }
56242   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56243     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56244   $as_echo_n "(cached) " >&6
56245 else
56246
56247
56248       ac_ext=cpp
56249 ac_cpp='$CXXCPP $CPPFLAGS'
56250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56253
56254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56255 /* end confdefs.h.  */
56256 #include <math.h>
56257 int
56258 main ()
56259 {
56260  sincosl(0, 0, 0);
56261   ;
56262   return 0;
56263 }
56264 _ACEOF
56265 if ac_fn_cxx_try_compile "$LINENO"; then :
56266   glibcxx_cv_func_sincosl_use=yes
56267 else
56268   glibcxx_cv_func_sincosl_use=no
56269 fi
56270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56271       ac_ext=c
56272 ac_cpp='$CPP $CPPFLAGS'
56273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56276
56277
56278 fi
56279
56280   fi
56281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56282 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56283
56284   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56285     for ac_func in sincosl
56286 do :
56287   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56288 if test "x$ac_cv_func_sincosl" = x""yes; then :
56289   cat >>confdefs.h <<_ACEOF
56290 #define HAVE_SINCOSL 1
56291 _ACEOF
56292
56293 fi
56294 done
56295
56296   else
56297
56298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56299 $as_echo_n "checking for _sincosl declaration... " >&6; }
56300   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56301     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56302   $as_echo_n "(cached) " >&6
56303 else
56304
56305
56306       ac_ext=cpp
56307 ac_cpp='$CXXCPP $CPPFLAGS'
56308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56311
56312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56313 /* end confdefs.h.  */
56314 #include <math.h>
56315 int
56316 main ()
56317 {
56318  _sincosl(0, 0, 0);
56319   ;
56320   return 0;
56321 }
56322 _ACEOF
56323 if ac_fn_cxx_try_compile "$LINENO"; then :
56324   glibcxx_cv_func__sincosl_use=yes
56325 else
56326   glibcxx_cv_func__sincosl_use=no
56327 fi
56328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56329       ac_ext=c
56330 ac_cpp='$CPP $CPPFLAGS'
56331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56334
56335
56336 fi
56337
56338   fi
56339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56340 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56341
56342     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56343       for ac_func in _sincosl
56344 do :
56345   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56346 if test "x$ac_cv_func__sincosl" = x""yes; then :
56347   cat >>confdefs.h <<_ACEOF
56348 #define HAVE__SINCOSL 1
56349 _ACEOF
56350
56351 fi
56352 done
56353
56354     fi
56355   fi
56356
56357
56358
56359
56360
56361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56362 $as_echo_n "checking for finitel declaration... " >&6; }
56363   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56364     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56365   $as_echo_n "(cached) " >&6
56366 else
56367
56368
56369       ac_ext=cpp
56370 ac_cpp='$CXXCPP $CPPFLAGS'
56371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56374
56375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56376 /* end confdefs.h.  */
56377 #include <math.h>
56378                       #ifdef HAVE_IEEEFP_H
56379                       #include <ieeefp.h>
56380                       #endif
56381
56382 int
56383 main ()
56384 {
56385  finitel(0);
56386   ;
56387   return 0;
56388 }
56389 _ACEOF
56390 if ac_fn_cxx_try_compile "$LINENO"; then :
56391   glibcxx_cv_func_finitel_use=yes
56392 else
56393   glibcxx_cv_func_finitel_use=no
56394 fi
56395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56396       ac_ext=c
56397 ac_cpp='$CPP $CPPFLAGS'
56398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56401
56402
56403 fi
56404
56405   fi
56406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56407 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56408
56409   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56410     for ac_func in finitel
56411 do :
56412   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56413 if test "x$ac_cv_func_finitel" = x""yes; then :
56414   cat >>confdefs.h <<_ACEOF
56415 #define HAVE_FINITEL 1
56416 _ACEOF
56417
56418 fi
56419 done
56420
56421   else
56422
56423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56424 $as_echo_n "checking for _finitel declaration... " >&6; }
56425   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56426     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56427   $as_echo_n "(cached) " >&6
56428 else
56429
56430
56431       ac_ext=cpp
56432 ac_cpp='$CXXCPP $CPPFLAGS'
56433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56436
56437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56438 /* end confdefs.h.  */
56439 #include <math.h>
56440                       #ifdef HAVE_IEEEFP_H
56441                       #include <ieeefp.h>
56442                       #endif
56443
56444 int
56445 main ()
56446 {
56447  _finitel(0);
56448   ;
56449   return 0;
56450 }
56451 _ACEOF
56452 if ac_fn_cxx_try_compile "$LINENO"; then :
56453   glibcxx_cv_func__finitel_use=yes
56454 else
56455   glibcxx_cv_func__finitel_use=no
56456 fi
56457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56458       ac_ext=c
56459 ac_cpp='$CPP $CPPFLAGS'
56460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56463
56464
56465 fi
56466
56467   fi
56468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56469 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56470
56471     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56472       for ac_func in _finitel
56473 do :
56474   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56475 if test "x$ac_cv_func__finitel" = x""yes; then :
56476   cat >>confdefs.h <<_ACEOF
56477 #define HAVE__FINITEL 1
56478 _ACEOF
56479
56480 fi
56481 done
56482
56483     fi
56484   fi
56485
56486
56487
56488
56489   LIBS="$ac_save_LIBS"
56490   CXXFLAGS="$ac_save_CXXFLAGS"
56491
56492
56493   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56494   ac_save_CXXFLAGS="$CXXFLAGS"
56495   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56496
56497
56498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56499 $as_echo_n "checking for strtold declaration... " >&6; }
56500   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56501     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56502   $as_echo_n "(cached) " >&6
56503 else
56504
56505
56506       ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56511
56512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h.  */
56514 #include <stdlib.h>
56515 int
56516 main ()
56517 {
56518  strtold(0, 0);
56519   ;
56520   return 0;
56521 }
56522 _ACEOF
56523 if ac_fn_cxx_try_compile "$LINENO"; then :
56524   glibcxx_cv_func_strtold_use=yes
56525 else
56526   glibcxx_cv_func_strtold_use=no
56527 fi
56528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56529       ac_ext=c
56530 ac_cpp='$CPP $CPPFLAGS'
56531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56534
56535
56536 fi
56537
56538   fi
56539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56540 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56541   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56542     for ac_func in strtold
56543 do :
56544   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56545 if test "x$ac_cv_func_strtold" = x""yes; then :
56546   cat >>confdefs.h <<_ACEOF
56547 #define HAVE_STRTOLD 1
56548 _ACEOF
56549
56550 fi
56551 done
56552
56553   fi
56554
56555
56556
56557
56558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56559 $as_echo_n "checking for strtof declaration... " >&6; }
56560   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56561     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56562   $as_echo_n "(cached) " >&6
56563 else
56564
56565
56566       ac_ext=cpp
56567 ac_cpp='$CXXCPP $CPPFLAGS'
56568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56571
56572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56573 /* end confdefs.h.  */
56574 #include <stdlib.h>
56575 int
56576 main ()
56577 {
56578  strtof(0, 0);
56579   ;
56580   return 0;
56581 }
56582 _ACEOF
56583 if ac_fn_cxx_try_compile "$LINENO"; then :
56584   glibcxx_cv_func_strtof_use=yes
56585 else
56586   glibcxx_cv_func_strtof_use=no
56587 fi
56588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56589       ac_ext=c
56590 ac_cpp='$CPP $CPPFLAGS'
56591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56594
56595
56596 fi
56597
56598   fi
56599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56600 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56601   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56602     for ac_func in strtof
56603 do :
56604   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56605 if test "x$ac_cv_func_strtof" = x""yes; then :
56606   cat >>confdefs.h <<_ACEOF
56607 #define HAVE_STRTOF 1
56608 _ACEOF
56609
56610 fi
56611 done
56612
56613   fi
56614
56615
56616
56617
56618   CXXFLAGS="$ac_save_CXXFLAGS"
56619
56620     ;;
56621   *-netbsd*)
56622     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56623
56624
56625   # If we're not using GNU ld, then there's no point in even trying these
56626   # tests.  Check for that first.  We should have already tested for gld
56627   # by now (in libtool), but require it now just to be safe...
56628   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56629   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56630
56631
56632
56633   # The name set by libtool depends on the version of libtool.  Shame on us
56634   # for depending on an impl detail, but c'est la vie.  Older versions used
56635   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56636   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56637   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56638   # set (hence we're using an older libtool), then set it.
56639   if test x${with_gnu_ld+set} != xset; then
56640     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56641       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56642       with_gnu_ld=no
56643     else
56644       with_gnu_ld=$ac_cv_prog_gnu_ld
56645     fi
56646   fi
56647
56648   # Start by getting the version number.  I think the libtool test already
56649   # does some of this, but throws away the result.
56650   glibcxx_ld_is_gold=no
56651   if test x"$with_gnu_ld" = x"yes"; then
56652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56653 $as_echo_n "checking for ld version... " >&6; }
56654
56655     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56656       glibcxx_ld_is_gold=yes
56657     fi
56658     ldver=`$LD --version 2>/dev/null |
56659            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56660
56661     glibcxx_gnu_ld_version=`echo $ldver | \
56662            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56664 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56665   fi
56666
56667   # Set --gc-sections.
56668   glibcxx_have_gc_sections=no
56669   if test "$glibcxx_ld_is_gold" = "yes"; then
56670     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56671       glibcxx_have_gc_sections=yes
56672     fi
56673   else
56674     glibcxx_gcsections_min_ld=21602
56675     if test x"$with_gnu_ld" = x"yes" &&
56676         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56677       glibcxx_have_gc_sections=yes
56678     fi
56679   fi
56680   if test "$glibcxx_have_gc_sections" = "yes"; then
56681     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56682     # NB: This flag only works reliably after 2.16.1. Configure tests
56683     # for this are difficult, so hard wire a value that should work.
56684
56685     ac_test_CFLAGS="${CFLAGS+set}"
56686     ac_save_CFLAGS="$CFLAGS"
56687     CFLAGS='-Wl,--gc-sections'
56688
56689     # Check for -Wl,--gc-sections
56690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56691 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56692     if test x$gcc_no_link = xyes; then
56693   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56694 fi
56695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56696 /* end confdefs.h.  */
56697  int one(void) { return 1; }
56698      int two(void) { return 2; }
56699
56700 int
56701 main ()
56702 {
56703  two();
56704   ;
56705   return 0;
56706 }
56707 _ACEOF
56708 if ac_fn_c_try_link "$LINENO"; then :
56709   ac_gcsections=yes
56710 else
56711   ac_gcsections=no
56712 fi
56713 rm -f core conftest.err conftest.$ac_objext \
56714     conftest$ac_exeext conftest.$ac_ext
56715     if test "$ac_gcsections" = "yes"; then
56716       rm -f conftest.c
56717       touch conftest.c
56718       if $CC -c conftest.c; then
56719         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56720            grep "Warning: gc-sections option ignored" > /dev/null; then
56721           ac_gcsections=no
56722         fi
56723       fi
56724       rm -f conftest.c conftest.o conftest
56725     fi
56726     if test "$ac_gcsections" = "yes"; then
56727       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56728     fi
56729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56730 $as_echo "$ac_gcsections" >&6; }
56731
56732     if test "$ac_test_CFLAGS" = set; then
56733       CFLAGS="$ac_save_CFLAGS"
56734     else
56735       # this is the suspicious part
56736       CFLAGS=''
56737     fi
56738   fi
56739
56740   # Set -z,relro.
56741   # Note this is only for shared objects.
56742   ac_ld_relro=no
56743   if test x"$with_gnu_ld" = x"yes"; then
56744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56745 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56746     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56747     if test -n "$cxx_z_relo"; then
56748       OPT_LDFLAGS="-Wl,-z,relro"
56749       ac_ld_relro=yes
56750     fi
56751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56752 $as_echo "$ac_ld_relro" >&6; }
56753   fi
56754
56755   # Set linker optimization flags.
56756   if test x"$with_gnu_ld" = x"yes"; then
56757     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56758   fi
56759
56760
56761
56762
56763     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56764
56765     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56766
56767     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56768
56769     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56770
56771     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56772
56773     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56774
56775     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56776
56777     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56778
56779     if test x"long_double_math_on_this_cpu" = x"yes"; then
56780       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56781
56782       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56783
56784       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56785
56786     fi
56787     ;;
56788   *-netware)
56789     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56790
56791
56792   # If we're not using GNU ld, then there's no point in even trying these
56793   # tests.  Check for that first.  We should have already tested for gld
56794   # by now (in libtool), but require it now just to be safe...
56795   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56796   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56797
56798
56799
56800   # The name set by libtool depends on the version of libtool.  Shame on us
56801   # for depending on an impl detail, but c'est la vie.  Older versions used
56802   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56803   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56804   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56805   # set (hence we're using an older libtool), then set it.
56806   if test x${with_gnu_ld+set} != xset; then
56807     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56808       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56809       with_gnu_ld=no
56810     else
56811       with_gnu_ld=$ac_cv_prog_gnu_ld
56812     fi
56813   fi
56814
56815   # Start by getting the version number.  I think the libtool test already
56816   # does some of this, but throws away the result.
56817   glibcxx_ld_is_gold=no
56818   if test x"$with_gnu_ld" = x"yes"; then
56819     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56820 $as_echo_n "checking for ld version... " >&6; }
56821
56822     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56823       glibcxx_ld_is_gold=yes
56824     fi
56825     ldver=`$LD --version 2>/dev/null |
56826            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56827
56828     glibcxx_gnu_ld_version=`echo $ldver | \
56829            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56831 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56832   fi
56833
56834   # Set --gc-sections.
56835   glibcxx_have_gc_sections=no
56836   if test "$glibcxx_ld_is_gold" = "yes"; then
56837     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56838       glibcxx_have_gc_sections=yes
56839     fi
56840   else
56841     glibcxx_gcsections_min_ld=21602
56842     if test x"$with_gnu_ld" = x"yes" &&
56843         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56844       glibcxx_have_gc_sections=yes
56845     fi
56846   fi
56847   if test "$glibcxx_have_gc_sections" = "yes"; then
56848     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56849     # NB: This flag only works reliably after 2.16.1. Configure tests
56850     # for this are difficult, so hard wire a value that should work.
56851
56852     ac_test_CFLAGS="${CFLAGS+set}"
56853     ac_save_CFLAGS="$CFLAGS"
56854     CFLAGS='-Wl,--gc-sections'
56855
56856     # Check for -Wl,--gc-sections
56857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56858 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56859     if test x$gcc_no_link = xyes; then
56860   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56861 fi
56862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56863 /* end confdefs.h.  */
56864  int one(void) { return 1; }
56865      int two(void) { return 2; }
56866
56867 int
56868 main ()
56869 {
56870  two();
56871   ;
56872   return 0;
56873 }
56874 _ACEOF
56875 if ac_fn_c_try_link "$LINENO"; then :
56876   ac_gcsections=yes
56877 else
56878   ac_gcsections=no
56879 fi
56880 rm -f core conftest.err conftest.$ac_objext \
56881     conftest$ac_exeext conftest.$ac_ext
56882     if test "$ac_gcsections" = "yes"; then
56883       rm -f conftest.c
56884       touch conftest.c
56885       if $CC -c conftest.c; then
56886         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56887            grep "Warning: gc-sections option ignored" > /dev/null; then
56888           ac_gcsections=no
56889         fi
56890       fi
56891       rm -f conftest.c conftest.o conftest
56892     fi
56893     if test "$ac_gcsections" = "yes"; then
56894       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56895     fi
56896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56897 $as_echo "$ac_gcsections" >&6; }
56898
56899     if test "$ac_test_CFLAGS" = set; then
56900       CFLAGS="$ac_save_CFLAGS"
56901     else
56902       # this is the suspicious part
56903       CFLAGS=''
56904     fi
56905   fi
56906
56907   # Set -z,relro.
56908   # Note this is only for shared objects.
56909   ac_ld_relro=no
56910   if test x"$with_gnu_ld" = x"yes"; then
56911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56912 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56913     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56914     if test -n "$cxx_z_relo"; then
56915       OPT_LDFLAGS="-Wl,-z,relro"
56916       ac_ld_relro=yes
56917     fi
56918     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56919 $as_echo "$ac_ld_relro" >&6; }
56920   fi
56921
56922   # Set linker optimization flags.
56923   if test x"$with_gnu_ld" = x"yes"; then
56924     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56925   fi
56926
56927
56928
56929
56930     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56931
56932     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56933
56934     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56935
56936     ;;
56937   *-qnx6.1* | *-qnx6.2*)
56938     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56939
56940
56941   # If we're not using GNU ld, then there's no point in even trying these
56942   # tests.  Check for that first.  We should have already tested for gld
56943   # by now (in libtool), but require it now just to be safe...
56944   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56945   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56946
56947
56948
56949   # The name set by libtool depends on the version of libtool.  Shame on us
56950   # for depending on an impl detail, but c'est la vie.  Older versions used
56951   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56952   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56953   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56954   # set (hence we're using an older libtool), then set it.
56955   if test x${with_gnu_ld+set} != xset; then
56956     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56957       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56958       with_gnu_ld=no
56959     else
56960       with_gnu_ld=$ac_cv_prog_gnu_ld
56961     fi
56962   fi
56963
56964   # Start by getting the version number.  I think the libtool test already
56965   # does some of this, but throws away the result.
56966   glibcxx_ld_is_gold=no
56967   if test x"$with_gnu_ld" = x"yes"; then
56968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56969 $as_echo_n "checking for ld version... " >&6; }
56970
56971     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56972       glibcxx_ld_is_gold=yes
56973     fi
56974     ldver=`$LD --version 2>/dev/null |
56975            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56976
56977     glibcxx_gnu_ld_version=`echo $ldver | \
56978            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56980 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56981   fi
56982
56983   # Set --gc-sections.
56984   glibcxx_have_gc_sections=no
56985   if test "$glibcxx_ld_is_gold" = "yes"; then
56986     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56987       glibcxx_have_gc_sections=yes
56988     fi
56989   else
56990     glibcxx_gcsections_min_ld=21602
56991     if test x"$with_gnu_ld" = x"yes" &&
56992         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56993       glibcxx_have_gc_sections=yes
56994     fi
56995   fi
56996   if test "$glibcxx_have_gc_sections" = "yes"; then
56997     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56998     # NB: This flag only works reliably after 2.16.1. Configure tests
56999     # for this are difficult, so hard wire a value that should work.
57000
57001     ac_test_CFLAGS="${CFLAGS+set}"
57002     ac_save_CFLAGS="$CFLAGS"
57003     CFLAGS='-Wl,--gc-sections'
57004
57005     # Check for -Wl,--gc-sections
57006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57007 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57008     if test x$gcc_no_link = xyes; then
57009   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57010 fi
57011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57012 /* end confdefs.h.  */
57013  int one(void) { return 1; }
57014      int two(void) { return 2; }
57015
57016 int
57017 main ()
57018 {
57019  two();
57020   ;
57021   return 0;
57022 }
57023 _ACEOF
57024 if ac_fn_c_try_link "$LINENO"; then :
57025   ac_gcsections=yes
57026 else
57027   ac_gcsections=no
57028 fi
57029 rm -f core conftest.err conftest.$ac_objext \
57030     conftest$ac_exeext conftest.$ac_ext
57031     if test "$ac_gcsections" = "yes"; then
57032       rm -f conftest.c
57033       touch conftest.c
57034       if $CC -c conftest.c; then
57035         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57036            grep "Warning: gc-sections option ignored" > /dev/null; then
57037           ac_gcsections=no
57038         fi
57039       fi
57040       rm -f conftest.c conftest.o conftest
57041     fi
57042     if test "$ac_gcsections" = "yes"; then
57043       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57044     fi
57045     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57046 $as_echo "$ac_gcsections" >&6; }
57047
57048     if test "$ac_test_CFLAGS" = set; then
57049       CFLAGS="$ac_save_CFLAGS"
57050     else
57051       # this is the suspicious part
57052       CFLAGS=''
57053     fi
57054   fi
57055
57056   # Set -z,relro.
57057   # Note this is only for shared objects.
57058   ac_ld_relro=no
57059   if test x"$with_gnu_ld" = x"yes"; then
57060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57061 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57062     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57063     if test -n "$cxx_z_relo"; then
57064       OPT_LDFLAGS="-Wl,-z,relro"
57065       ac_ld_relro=yes
57066     fi
57067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57068 $as_echo "$ac_ld_relro" >&6; }
57069   fi
57070
57071   # Set linker optimization flags.
57072   if test x"$with_gnu_ld" = x"yes"; then
57073     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57074   fi
57075
57076
57077
57078
57079     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57080
57081     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57082
57083     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57084
57085     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57086
57087     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57088
57089     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57090
57091     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57092
57093     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57094
57095     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57096
57097     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57098
57099     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57100
57101     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57102
57103     ;;
57104   *-solaris*)
57105     case "$target" in
57106       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57107
57108   # If we're not using GNU ld, then there's no point in even trying these
57109   # tests.  Check for that first.  We should have already tested for gld
57110   # by now (in libtool), but require it now just to be safe...
57111   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57112   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57113
57114
57115
57116   # The name set by libtool depends on the version of libtool.  Shame on us
57117   # for depending on an impl detail, but c'est la vie.  Older versions used
57118   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57119   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57120   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57121   # set (hence we're using an older libtool), then set it.
57122   if test x${with_gnu_ld+set} != xset; then
57123     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57124       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57125       with_gnu_ld=no
57126     else
57127       with_gnu_ld=$ac_cv_prog_gnu_ld
57128     fi
57129   fi
57130
57131   # Start by getting the version number.  I think the libtool test already
57132   # does some of this, but throws away the result.
57133   glibcxx_ld_is_gold=no
57134   if test x"$with_gnu_ld" = x"yes"; then
57135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57136 $as_echo_n "checking for ld version... " >&6; }
57137
57138     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57139       glibcxx_ld_is_gold=yes
57140     fi
57141     ldver=`$LD --version 2>/dev/null |
57142            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57143
57144     glibcxx_gnu_ld_version=`echo $ldver | \
57145            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57146     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57147 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57148   fi
57149
57150   # Set --gc-sections.
57151   glibcxx_have_gc_sections=no
57152   if test "$glibcxx_ld_is_gold" = "yes"; then
57153     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57154       glibcxx_have_gc_sections=yes
57155     fi
57156   else
57157     glibcxx_gcsections_min_ld=21602
57158     if test x"$with_gnu_ld" = x"yes" &&
57159         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57160       glibcxx_have_gc_sections=yes
57161     fi
57162   fi
57163   if test "$glibcxx_have_gc_sections" = "yes"; then
57164     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57165     # NB: This flag only works reliably after 2.16.1. Configure tests
57166     # for this are difficult, so hard wire a value that should work.
57167
57168     ac_test_CFLAGS="${CFLAGS+set}"
57169     ac_save_CFLAGS="$CFLAGS"
57170     CFLAGS='-Wl,--gc-sections'
57171
57172     # Check for -Wl,--gc-sections
57173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57174 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57175     if test x$gcc_no_link = xyes; then
57176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57177 fi
57178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57179 /* end confdefs.h.  */
57180  int one(void) { return 1; }
57181      int two(void) { return 2; }
57182
57183 int
57184 main ()
57185 {
57186  two();
57187   ;
57188   return 0;
57189 }
57190 _ACEOF
57191 if ac_fn_c_try_link "$LINENO"; then :
57192   ac_gcsections=yes
57193 else
57194   ac_gcsections=no
57195 fi
57196 rm -f core conftest.err conftest.$ac_objext \
57197     conftest$ac_exeext conftest.$ac_ext
57198     if test "$ac_gcsections" = "yes"; then
57199       rm -f conftest.c
57200       touch conftest.c
57201       if $CC -c conftest.c; then
57202         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57203            grep "Warning: gc-sections option ignored" > /dev/null; then
57204           ac_gcsections=no
57205         fi
57206       fi
57207       rm -f conftest.c conftest.o conftest
57208     fi
57209     if test "$ac_gcsections" = "yes"; then
57210       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57211     fi
57212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57213 $as_echo "$ac_gcsections" >&6; }
57214
57215     if test "$ac_test_CFLAGS" = set; then
57216       CFLAGS="$ac_save_CFLAGS"
57217     else
57218       # this is the suspicious part
57219       CFLAGS=''
57220     fi
57221   fi
57222
57223   # Set -z,relro.
57224   # Note this is only for shared objects.
57225   ac_ld_relro=no
57226   if test x"$with_gnu_ld" = x"yes"; then
57227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57229     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57230     if test -n "$cxx_z_relo"; then
57231       OPT_LDFLAGS="-Wl,-z,relro"
57232       ac_ld_relro=yes
57233     fi
57234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57235 $as_echo "$ac_ld_relro" >&6; }
57236   fi
57237
57238   # Set linker optimization flags.
57239   if test x"$with_gnu_ld" = x"yes"; then
57240     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57241   fi
57242
57243
57244
57245
57246          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57247
57248          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57249
57250          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57251
57252          # All of the dependencies for wide character support are here, so
57253          # turn it on.
57254          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57255
57256         ;;
57257     esac
57258     case "$target" in
57259       *-*-solaris2.10)
57260       # These two C99 functions are present only in Solaris >= 10
57261       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57262
57263       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57264
57265      ;;
57266     esac
57267     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57268
57269     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57270
57271     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57272
57273     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57274
57275     ;;
57276   *-tpf)
57277     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57278
57279
57280   # If we're not using GNU ld, then there's no point in even trying these
57281   # tests.  Check for that first.  We should have already tested for gld
57282   # by now (in libtool), but require it now just to be safe...
57283   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57284   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57285
57286
57287
57288   # The name set by libtool depends on the version of libtool.  Shame on us
57289   # for depending on an impl detail, but c'est la vie.  Older versions used
57290   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57291   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57292   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57293   # set (hence we're using an older libtool), then set it.
57294   if test x${with_gnu_ld+set} != xset; then
57295     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57296       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57297       with_gnu_ld=no
57298     else
57299       with_gnu_ld=$ac_cv_prog_gnu_ld
57300     fi
57301   fi
57302
57303   # Start by getting the version number.  I think the libtool test already
57304   # does some of this, but throws away the result.
57305   glibcxx_ld_is_gold=no
57306   if test x"$with_gnu_ld" = x"yes"; then
57307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57308 $as_echo_n "checking for ld version... " >&6; }
57309
57310     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57311       glibcxx_ld_is_gold=yes
57312     fi
57313     ldver=`$LD --version 2>/dev/null |
57314            sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57315
57316     glibcxx_gnu_ld_version=`echo $ldver | \
57317            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57319 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57320   fi
57321
57322   # Set --gc-sections.
57323   glibcxx_have_gc_sections=no
57324   if test "$glibcxx_ld_is_gold" = "yes"; then
57325     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57326       glibcxx_have_gc_sections=yes
57327     fi
57328   else
57329     glibcxx_gcsections_min_ld=21602
57330     if test x"$with_gnu_ld" = x"yes" &&
57331         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57332       glibcxx_have_gc_sections=yes
57333     fi
57334   fi
57335   if test "$glibcxx_have_gc_sections" = "yes"; then
57336     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57337     # NB: This flag only works reliably after 2.16.1. Configure tests
57338     # for this are difficult, so hard wire a value that should work.
57339
57340     ac_test_CFLAGS="${CFLAGS+set}"
57341     ac_save_CFLAGS="$CFLAGS"
57342     CFLAGS='-Wl,--gc-sections'
57343
57344     # Check for -Wl,--gc-sections
57345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57346 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57347     if test x$gcc_no_link = xyes; then
57348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57349 fi
57350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57351 /* end confdefs.h.  */
57352  int one(void) { return 1; }
57353      int two(void) { return 2; }
57354
57355 int
57356 main ()
57357 {
57358  two();
57359   ;
57360   return 0;
57361 }
57362 _ACEOF
57363 if ac_fn_c_try_link "$LINENO"; then :
57364   ac_gcsections=yes
57365 else
57366   ac_gcsections=no
57367 fi
57368 rm -f core conftest.err conftest.$ac_objext \
57369     conftest$ac_exeext conftest.$ac_ext
57370     if test "$ac_gcsections" = "yes"; then
57371       rm -f conftest.c
57372       touch conftest.c
57373       if $CC -c conftest.c; then
57374         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57375            grep "Warning: gc-sections option ignored" > /dev/null; then
57376           ac_gcsections=no
57377         fi
57378       fi
57379       rm -f conftest.c conftest.o conftest
57380     fi
57381     if test "$ac_gcsections" = "yes"; then
57382       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57383     fi
57384     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57385 $as_echo "$ac_gcsections" >&6; }
57386
57387     if test "$ac_test_CFLAGS" = set; then
57388       CFLAGS="$ac_save_CFLAGS"
57389     else
57390       # this is the suspicious part
57391       CFLAGS=''
57392     fi
57393   fi
57394
57395   # Set -z,relro.
57396   # Note this is only for shared objects.
57397   ac_ld_relro=no
57398   if test x"$with_gnu_ld" = x"yes"; then
57399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57400 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57401     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57402     if test -n "$cxx_z_relo"; then
57403       OPT_LDFLAGS="-Wl,-z,relro"
57404       ac_ld_relro=yes
57405     fi
57406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57407 $as_echo "$ac_ld_relro" >&6; }
57408   fi
57409
57410   # Set linker optimization flags.
57411   if test x"$with_gnu_ld" = x"yes"; then
57412     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57413   fi
57414
57415
57416
57417
57418     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57419
57420     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57421
57422     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57423
57424     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57425
57426     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57427
57428     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57429
57430     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57431
57432     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57433
57434     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57435
57436     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57437
57438     if test x"long_double_math_on_this_cpu" = x"yes"; then
57439       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57440
57441       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57442
57443       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57444
57445       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57446
57447     fi
57448     ;;
57449   *-vxworks)
57450     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57451
57452     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57453
57454     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57455
57456     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57457
57458     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57459
57460     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57461
57462     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57463
57464     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57465
57466     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57467
57468     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57469
57470     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57471
57472     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57473
57474     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57475
57476     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57477
57478     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57479
57480     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57481
57482     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57483
57484     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57485
57486     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57487
57488     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57489
57490     ;;
57491   *)
57492     as_fn_error "No support for this host/target combination." "$LINENO" 5
57493    ;;
57494 esac
57495
57496   fi
57497
57498   # At some point, we should differentiate between architectures
57499   # like x86, which have long double versions, and alpha/powerpc/etc.,
57500   # which don't. For the time being, punt.
57501   if test x"long_double_math_on_this_cpu" = x"yes"; then
57502     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57503
57504     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57505
57506     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57507
57508     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57509
57510     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57511
57512     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57513
57514     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57515
57516     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57517
57518     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57519
57520     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57521
57522     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57523
57524     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57525
57526     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57527
57528     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57529
57530     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57531
57532     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57533
57534     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57535
57536     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57537
57538     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57539
57540     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57541
57542     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57543
57544     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57545
57546     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57547
57548   fi
57549 fi
57550
57551 # Check for _Unwind_GetIPInfo.
57552
57553
57554 # Check whether --with-system-libunwind was given.
57555 if test "${with_system_libunwind+set}" = set; then :
57556   withval=$with_system_libunwind;
57557 fi
57558
57559   # If system-libunwind was not specifically set, pick a default setting.
57560   if test x$with_system_libunwind = x; then
57561     case ${target} in
57562       ia64-*-hpux*) with_system_libunwind=yes ;;
57563       *) with_system_libunwind=no ;;
57564     esac
57565   fi
57566   # Based on system-libunwind and target, do we have ipinfo?
57567   if  test x$with_system_libunwind = xyes; then
57568     case ${target} in
57569       ia64-*-*) have_unwind_getipinfo=no ;;
57570       *) have_unwind_getipinfo=yes ;;
57571     esac
57572   else
57573     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57574
57575     case ${target} in
57576       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57577       *) have_unwind_getipinfo=yes ;;
57578     esac
57579
57580   fi
57581
57582   if test x$have_unwind_getipinfo = xyes; then
57583
57584 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57585
57586   fi
57587
57588
57589
57590  # Check whether --enable-linux-futex was given.
57591 if test "${enable_linux_futex+set}" = set; then :
57592   enableval=$enable_linux_futex;
57593       case "$enableval" in
57594        yes|no|default) ;;
57595        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57596                           esac
57597
57598 else
57599   enable_linux_futex=default
57600 fi
57601
57602
57603 case "$target" in
57604   *-linux*)
57605     case "$enable_linux_futex" in
57606       default)
57607         # If headers don't have gettid/futex syscalls definition, then
57608         # default to no, otherwise there will be compile time failures.
57609         # Otherwise, default to yes.  If we don't detect we are
57610         # compiled/linked against NPTL and not cross-compiling, check
57611         # if programs are run by default against NPTL and if not, issue
57612         # a warning.
57613         enable_linux_futex=no
57614         if test x$gcc_no_link = xyes; then
57615   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57616 fi
57617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57618 /* end confdefs.h.  */
57619 #include <sys/syscall.h>
57620            int lk;
57621 int
57622 main ()
57623 {
57624 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57625   ;
57626   return 0;
57627 }
57628 _ACEOF
57629 if ac_fn_c_try_link "$LINENO"; then :
57630   save_LIBS="$LIBS"
57631            LIBS="-lpthread $LIBS"
57632            if test x$gcc_no_link = xyes; then
57633   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57634 fi
57635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57636 /* end confdefs.h.  */
57637 #ifndef _GNU_SOURCE
57638              #define _GNU_SOURCE 1
57639              #endif
57640              #include <pthread.h>
57641              pthread_t th; void *status;
57642 int
57643 main ()
57644 {
57645 pthread_tryjoin_np (th, &status);
57646   ;
57647   return 0;
57648 }
57649 _ACEOF
57650 if ac_fn_c_try_link "$LINENO"; then :
57651   enable_linux_futex=yes
57652 else
57653   if test x$cross_compiling = xno; then
57654                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57655                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57656                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57657 If so, please configure with --disable-linux-futex" >&5
57658 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57659 If so, please configure with --disable-linux-futex" >&2;}
57660                fi
57661              fi
57662              enable_linux_futex=yes
57663 fi
57664 rm -f core conftest.err conftest.$ac_objext \
57665     conftest$ac_exeext conftest.$ac_ext
57666            LIBS="$save_LIBS"
57667 fi
57668 rm -f core conftest.err conftest.$ac_objext \
57669     conftest$ac_exeext conftest.$ac_ext
57670         ;;
57671       yes)
57672         if test x$gcc_no_link = xyes; then
57673   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57674 fi
57675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57676 /* end confdefs.h.  */
57677 #include <sys/syscall.h>
57678            int lk;
57679 int
57680 main ()
57681 {
57682 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57683   ;
57684   return 0;
57685 }
57686 _ACEOF
57687 if ac_fn_c_try_link "$LINENO"; then :
57688
57689 else
57690   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57691 fi
57692 rm -f core conftest.err conftest.$ac_objext \
57693     conftest$ac_exeext conftest.$ac_ext
57694         ;;
57695     esac
57696     ;;
57697   *)
57698     enable_linux_futex=no
57699     ;;
57700 esac
57701 if test x$enable_linux_futex = xyes; then
57702
57703 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57704
57705 fi
57706
57707
57708
57709
57710 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57711
57712 acx_cv_header_stdint=stddef.h
57713 acx_cv_header_stdint_kind="(already complete)"
57714 for i in stdint.h $inttype_headers; do
57715   unset ac_cv_type_uintptr_t
57716   unset ac_cv_type_uintmax_t
57717   unset ac_cv_type_int_least32_t
57718   unset ac_cv_type_int_fast32_t
57719   unset ac_cv_type_uint64_t
57720   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57721   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57722 #include <$i>
57723 "
57724 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57725   acx_cv_header_stdint=$i
57726 else
57727   continue
57728 fi
57729
57730   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57731 #include <$i>
57732 "
57733 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57734
57735 else
57736   acx_cv_header_stdint_kind="(mostly complete)"
57737 fi
57738
57739   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57740 #include <$i>
57741 "
57742 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57743
57744 else
57745   acx_cv_header_stdint_kind="(mostly complete)"
57746 fi
57747
57748   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57749 #include <$i>
57750 "
57751 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57752
57753 else
57754   acx_cv_header_stdint_kind="(mostly complete)"
57755 fi
57756
57757   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57758 #include <$i>
57759 "
57760 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57761
57762 else
57763   acx_cv_header_stdint_kind="(lacks uint64_t)"
57764 fi
57765
57766   break
57767 done
57768 if test "$acx_cv_header_stdint" = stddef.h; then
57769   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57770   for i in stdint.h $inttype_headers; do
57771     unset ac_cv_type_uintptr_t
57772     unset ac_cv_type_uint32_t
57773     unset ac_cv_type_uint64_t
57774     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57775     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57776 #include <$i>
57777 "
57778 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57779   acx_cv_header_stdint=$i
57780 else
57781   continue
57782 fi
57783
57784     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57785 #include <$i>
57786 "
57787 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57788
57789 fi
57790
57791     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57792 #include <$i>
57793 "
57794 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57795
57796 fi
57797
57798     break
57799   done
57800 fi
57801 if test "$acx_cv_header_stdint" = stddef.h; then
57802   acx_cv_header_stdint_kind="(u_intXX_t style)"
57803   for i in sys/types.h $inttype_headers; do
57804     unset ac_cv_type_u_int32_t
57805     unset ac_cv_type_u_int64_t
57806     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57807     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57808 #include <$i>
57809 "
57810 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57811   acx_cv_header_stdint=$i
57812 else
57813   continue
57814 fi
57815
57816     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57817 #include <$i>
57818 "
57819 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57820
57821 fi
57822
57823     break
57824   done
57825 fi
57826 if test "$acx_cv_header_stdint" = stddef.h; then
57827   acx_cv_header_stdint_kind="(using manual detection)"
57828 fi
57829
57830 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57831 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57832 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57833 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57834 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57835
57836 # ----------------- Summarize what we found so far
57837
57838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57839 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57840
57841 case `$as_basename -- include/gstdint.h ||
57842 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57843          Xinclude/gstdint.h : 'X\(//\)$' \| \
57844          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57845 $as_echo X/include/gstdint.h |
57846     sed '/^.*\/\([^/][^/]*\)\/*$/{
57847             s//\1/
57848             q
57849           }
57850           /^X\/\(\/\/\)$/{
57851             s//\1/
57852             q
57853           }
57854           /^X\/\(\/\).*/{
57855             s//\1/
57856             q
57857           }
57858           s/.*/./; q'` in
57859   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57860 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57861   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57862 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57863   *) ;;
57864 esac
57865
57866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57867 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57868
57869 # ----------------- done included file, check C basic types --------
57870
57871 # Lacking an uintptr_t?  Test size of void *
57872 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57873   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57876 # This bug is HP SR number 8606223364.
57877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57878 $as_echo_n "checking size of void *... " >&6; }
57879 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57880   $as_echo_n "(cached) " >&6
57881 else
57882   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57883
57884 else
57885   if test "$ac_cv_type_void_p" = yes; then
57886      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57888 { as_fn_set_status 77
57889 as_fn_error "cannot compute sizeof (void *)
57890 See \`config.log' for more details." "$LINENO" 5; }; }
57891    else
57892      ac_cv_sizeof_void_p=0
57893    fi
57894 fi
57895
57896 fi
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57898 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57899
57900
57901
57902 cat >>confdefs.h <<_ACEOF
57903 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57904 _ACEOF
57905
57906  ;;
57907 esac
57908
57909 # Lacking an uint64_t?  Test size of long
57910 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57911   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57912 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57913 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57914 # This bug is HP SR number 8606223364.
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57916 $as_echo_n "checking size of long... " >&6; }
57917 if test "${ac_cv_sizeof_long+set}" = set; then :
57918   $as_echo_n "(cached) " >&6
57919 else
57920   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57921
57922 else
57923   if test "$ac_cv_type_long" = yes; then
57924      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57926 { as_fn_set_status 77
57927 as_fn_error "cannot compute sizeof (long)
57928 See \`config.log' for more details." "$LINENO" 5; }; }
57929    else
57930      ac_cv_sizeof_long=0
57931    fi
57932 fi
57933
57934 fi
57935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57936 $as_echo "$ac_cv_sizeof_long" >&6; }
57937
57938
57939
57940 cat >>confdefs.h <<_ACEOF
57941 #define SIZEOF_LONG $ac_cv_sizeof_long
57942 _ACEOF
57943
57944  ;;
57945 esac
57946
57947 if test $acx_cv_header_stdint = stddef.h; then
57948   # Lacking a good header?  Test size of everything and deduce all types.
57949   # The cast to long int works around a bug in the HP C Compiler
57950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57952 # This bug is HP SR number 8606223364.
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57954 $as_echo_n "checking size of int... " >&6; }
57955 if test "${ac_cv_sizeof_int+set}" = set; then :
57956   $as_echo_n "(cached) " >&6
57957 else
57958   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57959
57960 else
57961   if test "$ac_cv_type_int" = yes; then
57962      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57964 { as_fn_set_status 77
57965 as_fn_error "cannot compute sizeof (int)
57966 See \`config.log' for more details." "$LINENO" 5; }; }
57967    else
57968      ac_cv_sizeof_int=0
57969    fi
57970 fi
57971
57972 fi
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57974 $as_echo "$ac_cv_sizeof_int" >&6; }
57975
57976
57977
57978 cat >>confdefs.h <<_ACEOF
57979 #define SIZEOF_INT $ac_cv_sizeof_int
57980 _ACEOF
57981
57982
57983   # The cast to long int works around a bug in the HP C Compiler
57984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57986 # This bug is HP SR number 8606223364.
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57988 $as_echo_n "checking size of short... " >&6; }
57989 if test "${ac_cv_sizeof_short+set}" = set; then :
57990   $as_echo_n "(cached) " >&6
57991 else
57992   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57993
57994 else
57995   if test "$ac_cv_type_short" = yes; then
57996      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57998 { as_fn_set_status 77
57999 as_fn_error "cannot compute sizeof (short)
58000 See \`config.log' for more details." "$LINENO" 5; }; }
58001    else
58002      ac_cv_sizeof_short=0
58003    fi
58004 fi
58005
58006 fi
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
58008 $as_echo "$ac_cv_sizeof_short" >&6; }
58009
58010
58011
58012 cat >>confdefs.h <<_ACEOF
58013 #define SIZEOF_SHORT $ac_cv_sizeof_short
58014 _ACEOF
58015
58016
58017   # The cast to long int works around a bug in the HP C Compiler
58018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58020 # This bug is HP SR number 8606223364.
58021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58022 $as_echo_n "checking size of char... " >&6; }
58023 if test "${ac_cv_sizeof_char+set}" = set; then :
58024   $as_echo_n "(cached) " >&6
58025 else
58026   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
58027
58028 else
58029   if test "$ac_cv_type_char" = yes; then
58030      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58032 { as_fn_set_status 77
58033 as_fn_error "cannot compute sizeof (char)
58034 See \`config.log' for more details." "$LINENO" 5; }; }
58035    else
58036      ac_cv_sizeof_char=0
58037    fi
58038 fi
58039
58040 fi
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58042 $as_echo "$ac_cv_sizeof_char" >&6; }
58043
58044
58045
58046 cat >>confdefs.h <<_ACEOF
58047 #define SIZEOF_CHAR $ac_cv_sizeof_char
58048 _ACEOF
58049
58050
58051
58052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58053 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58054   case "$ac_cv_sizeof_char" in
58055     1) acx_cv_type_int8_t=char ;;
58056     *) { as_fn_set_status please report a bug
58057 as_fn_error "no 8-bit type" "$LINENO" 5; }
58058   esac
58059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58060 $as_echo "$acx_cv_type_int8_t" >&6; }
58061
58062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58063 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58064   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58065     2:*) acx_cv_type_int16_t=int ;;
58066     *:2) acx_cv_type_int16_t=short ;;
58067     *) { as_fn_set_status please report a bug
58068 as_fn_error "no 16-bit type" "$LINENO" 5; }
58069   esac
58070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58071 $as_echo "$acx_cv_type_int16_t" >&6; }
58072
58073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58074 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58075   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58076     4:*) acx_cv_type_int32_t=int ;;
58077     *:4) acx_cv_type_int32_t=long ;;
58078     *) { as_fn_set_status please report a bug
58079 as_fn_error "no 32-bit type" "$LINENO" 5; }
58080   esac
58081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58082 $as_echo "$acx_cv_type_int32_t" >&6; }
58083 fi
58084
58085 # These tests are here to make the output prettier
58086
58087 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58088   case "$ac_cv_sizeof_long" in
58089     8) acx_cv_type_int64_t=long ;;
58090   esac
58091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58092 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58094 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58095 fi
58096
58097 # Now we can use the above types
58098
58099 if test "$ac_cv_type_uintptr_t" != yes; then
58100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58101 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58102   case $ac_cv_sizeof_void_p in
58103     2) acx_cv_type_intptr_t=int16_t ;;
58104     4) acx_cv_type_intptr_t=int32_t ;;
58105     8) acx_cv_type_intptr_t=int64_t ;;
58106     *) { as_fn_set_status please report a bug
58107 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58108   esac
58109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58110 $as_echo "$acx_cv_type_intptr_t" >&6; }
58111 fi
58112
58113 # ----------------- done all checks, emit header -------------
58114 ac_config_commands="$ac_config_commands include/gstdint.h"
58115
58116
58117
58118
58119 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58120
58121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
58122 $as_echo_n "checking for GNU c++filt... " >&6; }
58123 if test "${ac_cv_path_CXXFILT+set}" = set; then :
58124   $as_echo_n "(cached) " >&6
58125 else
58126   if test -z "$CXXFILT"; then
58127   ac_path_CXXFILT_found=false
58128   # Loop through the user's path and test for each of PROGNAME-LIST
58129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58130 for as_dir in $PATH
58131 do
58132   IFS=$as_save_IFS
58133   test -z "$as_dir" && as_dir=.
58134     for ac_prog in c++filt gc++filt; do
58135     for ac_exec_ext in '' $ac_executable_extensions; do
58136       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
58137       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
58138 # Check for GNU $ac_path_CXXFILT
58139 case `"$ac_path_CXXFILT" --version 2>&1` in
58140 *GNU*)
58141   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
58142 esac
58143
58144       $ac_path_CXXFILT_found && break 3
58145     done
58146   done
58147   done
58148 IFS=$as_save_IFS
58149   if test -z "$ac_cv_path_CXXFILT"; then
58150     :
58151   fi
58152 else
58153   ac_cv_path_CXXFILT=$CXXFILT
58154 fi
58155
58156 fi
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
58158 $as_echo "$ac_cv_path_CXXFILT" >&6; }
58159   CXXFILT=$ac_cv_path_CXXFILT
58160
58161
58162
58163  # Check whether --enable-symvers was given.
58164 if test "${enable_symvers+set}" = set; then :
58165   enableval=$enable_symvers;
58166       case "$enableval" in
58167        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
58168        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58169                           esac
58170
58171 else
58172   enable_symvers=yes
58173 fi
58174
58175
58176
58177 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58178 # don't know enough about $LD to do tricks...
58179
58180 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
58181 # with extern "C++" in version scripts.
58182
58183
58184 # Turn a 'yes' into a suitable default.
58185 if test x$enable_symvers = xyes ; then
58186   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58187     enable_symvers=no
58188   else
58189     if test $with_gnu_ld = yes ; then
58190       case ${target_os} in
58191         hpux*)
58192           enable_symvers=no ;;
58193         *)
58194           enable_symvers=gnu ;;
58195       esac
58196     else
58197       case ${target_os} in
58198         darwin*)
58199           enable_symvers=darwin ;;
58200         # Sun symbol versioning exists since Solaris 2.5.
58201         solaris2.[5-9]* | solaris2.1[0-9]*)
58202           # make_sunver.pl needs GNU c++filt to support extern "C++" in
58203           # version scripts, so disable symbol versioning if none can be
58204           # found.
58205           if test -z "$ac_cv_path_CXXFILT"; then
58206             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58207 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58208             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
58209 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
58210             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58211 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58212             enable_symvers=no
58213           else
58214             enable_symvers=sun
58215           fi
58216           ;;
58217         *)
58218           enable_symvers=no ;;
58219       esac
58220     fi
58221   fi
58222 fi
58223
58224 # Check to see if 'darwin' or 'darwin-export' can win.
58225 if test x$enable_symvers = xdarwin-export ; then
58226     enable_symvers=darwin
58227 fi
58228
58229 # Check if 'sun' was requested on non-Solaris 2 platforms.
58230 if test x$enable_symvers = xsun ; then
58231   case ${target_os} in
58232     solaris2*)
58233       # All fine.
58234       ;;
58235     *)
58236       # Unlikely to work.
58237       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
58238 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
58239       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
58240 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
58241       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58242 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58243       enable_symvers=no
58244       ;;
58245   esac
58246 fi
58247
58248 # Check to see if 'gnu' can win.
58249 if test $enable_symvers = gnu ||
58250   test $enable_symvers = gnu-versioned-namespace ||
58251   test $enable_symvers = sun; then
58252   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58254 $as_echo_n "checking for shared libgcc... " >&6; }
58255   ac_save_CFLAGS="$CFLAGS"
58256   CFLAGS=' -lgcc_s'
58257   if test x$gcc_no_link = xyes; then
58258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58259 fi
58260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58261 /* end confdefs.h.  */
58262
58263 int
58264 main ()
58265 {
58266 return 0;
58267   ;
58268   return 0;
58269 }
58270 _ACEOF
58271 if ac_fn_c_try_link "$LINENO"; then :
58272   glibcxx_shared_libgcc=yes
58273 else
58274   glibcxx_shared_libgcc=no
58275 fi
58276 rm -f core conftest.err conftest.$ac_objext \
58277     conftest$ac_exeext conftest.$ac_ext
58278   CFLAGS="$ac_save_CFLAGS"
58279   if test $glibcxx_shared_libgcc = no; then
58280     cat > conftest.c <<EOF
58281 int main (void) { return 0; }
58282 EOF
58283     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58284                              -shared -shared-libgcc -o conftest.so \
58285                              conftest.c -v 2>&1 >/dev/null \
58286                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58287     rm -f conftest.c conftest.so
58288     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58289       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58290       if test x$gcc_no_link = xyes; then
58291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58292 fi
58293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58294 /* end confdefs.h.  */
58295
58296 int
58297 main ()
58298 {
58299 return 0;
58300   ;
58301   return 0;
58302 }
58303 _ACEOF
58304 if ac_fn_c_try_link "$LINENO"; then :
58305   glibcxx_shared_libgcc=yes
58306 fi
58307 rm -f core conftest.err conftest.$ac_objext \
58308     conftest$ac_exeext conftest.$ac_ext
58309       CFLAGS="$ac_save_CFLAGS"
58310     fi
58311   fi
58312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58313 $as_echo "$glibcxx_shared_libgcc" >&6; }
58314
58315   # For GNU ld, we need at least this version.  The format is described in
58316   # GLIBCXX_CHECK_LINKER_FEATURES above.
58317   glibcxx_min_gnu_ld_version=21400
58318
58319   # If no shared libgcc, can't win.
58320   if test $glibcxx_shared_libgcc != yes; then
58321       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58322 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58323       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58324 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58325       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58326 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58327       enable_symvers=no
58328   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
58329     : All interesting versions of Sun ld support sun style symbol versioning.
58330   elif test $with_gnu_ld != yes ; then
58331     # just fail for now
58332     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58333 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58334     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58335 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58336     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58337 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58338     enable_symvers=no
58339   elif test $glibcxx_ld_is_gold = yes ; then
58340     : All versions of gold support symbol versioning.
58341   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58342     # The right tools, the right setup, but too old.  Fallbacks?
58343     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58344 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58345     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58346 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58348 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58349     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58350 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58351     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58352 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58353     enable_symvers=no
58354   fi
58355 fi
58356
58357 # Everything parsed; figure out what file to use.
58358 case $enable_symvers in
58359   no)
58360     SYMVER_FILE=config/abi/pre/none.ver
58361     ;;
58362   gnu)
58363     SYMVER_FILE=config/abi/pre/gnu.ver
58364
58365 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58366
58367     ;;
58368   gnu-versioned-namespace)
58369     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58370
58371 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58372
58373     ;;
58374   darwin)
58375     SYMVER_FILE=config/abi/pre/gnu.ver
58376
58377 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58378
58379     ;;
58380   sun)
58381     SYMVER_FILE=config/abi/pre/gnu.ver
58382
58383 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
58384
58385     ;;
58386 esac
58387
58388 if test x$enable_symvers != xno ; then
58389
58390 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58391
58392 fi
58393
58394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58395 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58396 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58397   $as_echo_n "(cached) " >&6
58398 else
58399
58400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58401 /* end confdefs.h.  */
58402 void foo (void); __asm (".symver foo, bar@SYMVER");
58403 int
58404 main ()
58405 {
58406
58407   ;
58408   return 0;
58409 }
58410 _ACEOF
58411 if ac_fn_c_try_compile "$LINENO"; then :
58412   glibcxx_cv_have_as_symver_directive=yes
58413 else
58414   glibcxx_cv_have_as_symver_directive=no
58415 fi
58416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58417 fi
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58419 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58420 if test $glibcxx_cv_have_as_symver_directive = yes; then
58421
58422 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58423
58424 fi
58425
58426
58427
58428
58429
58430
58431
58432
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58434 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58435
58436 if test $enable_symvers != no ; then
58437    case ${target_os} in
58438      # The Solaris 2 runtime linker doesn't support the GNU extension of
58439      # binding the same symbol to different versions
58440      solaris2*)
58441        symvers_renaming=no  ;;
58442      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
58443      *)
58444
58445 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
58446
58447        symvers_renaming=yes  ;;
58448     esac
58449 fi
58450
58451
58452 # Now, set up compatibility support, if any.
58453 # In addition, need this to deal with std::size_t mangling in
58454 # src/compatibility.cc.  In a perfect world, could use
58455 # typeid(std::size_t).name()[0] to do direct substitution.
58456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58457 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58458 ac_save_CFLAGS="$CFLAGS"
58459 CFLAGS="-Werror"
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h.  */
58462
58463 int
58464 main ()
58465 {
58466 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58467   ;
58468   return 0;
58469 }
58470 _ACEOF
58471 if ac_fn_c_try_compile "$LINENO"; then :
58472   glibcxx_size_t_is_i=yes
58473 else
58474   glibcxx_size_t_is_i=no
58475 fi
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 CFLAGS=$ac_save_CFLAGS
58478 if test "$glibcxx_size_t_is_i" = yes; then
58479
58480 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58481
58482 fi
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58484 $as_echo "$glibcxx_size_t_is_i" >&6; }
58485
58486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58487 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58488 ac_save_CFLAGS="$CFLAGS"
58489 CFLAGS="-Werror"
58490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58491 /* end confdefs.h.  */
58492
58493 int
58494 main ()
58495 {
58496 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58497   ;
58498   return 0;
58499 }
58500 _ACEOF
58501 if ac_fn_c_try_compile "$LINENO"; then :
58502   glibcxx_ptrdiff_t_is_i=yes
58503 else
58504   glibcxx_ptrdiff_t_is_i=no
58505 fi
58506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58507 CFLAGS=$ac_save_CFLAGS
58508 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58509
58510 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58511
58512 fi
58513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58514 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58515
58516
58517  # Check whether --enable-visibility was given.
58518 if test "${enable_visibility+set}" = set; then :
58519   enableval=$enable_visibility;
58520       case "$enableval" in
58521        yes|no) ;;
58522        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58523       esac
58524
58525 else
58526   enable_visibility=yes
58527 fi
58528
58529
58530
58531 if test x$enable_visibility = xyes ; then
58532       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58533 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58534 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58535   $as_echo_n "(cached) " >&6
58536 else
58537
58538   save_CFLAGS="$CFLAGS"
58539   CFLAGS="$CFLAGS -Werror"
58540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58541 /* end confdefs.h.  */
58542 void __attribute__((visibility("hidden"))) foo(void) { }
58543 int
58544 main ()
58545 {
58546
58547   ;
58548   return 0;
58549 }
58550 _ACEOF
58551 if ac_fn_c_try_compile "$LINENO"; then :
58552   glibcxx_cv_have_attribute_visibility=yes
58553 else
58554   glibcxx_cv_have_attribute_visibility=no
58555 fi
58556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58557   CFLAGS="$save_CFLAGS"
58558 fi
58559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58560 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58561   if test $glibcxx_cv_have_attribute_visibility = no; then
58562     enable_visibility=no
58563   fi
58564 fi
58565
58566
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58568 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58569
58570
58571 ac_ldbl_compat=no
58572 case "$target" in
58573   powerpc*-*-linux* | \
58574   powerpc*-*-gnu* | \
58575   sparc*-*-linux* | \
58576   s390*-*-linux* | \
58577   alpha*-*-linux*)
58578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h.  */
58580
58581 int
58582 main ()
58583 {
58584
58585 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58586 #error no need for long double compatibility
58587 #endif
58588
58589   ;
58590   return 0;
58591 }
58592 _ACEOF
58593 if ac_fn_c_try_compile "$LINENO"; then :
58594   ac_ldbl_compat=yes
58595 else
58596   ac_ldbl_compat=no
58597 fi
58598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58599   if test "$ac_ldbl_compat" = yes; then
58600
58601 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58602
58603     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58604   fi
58605 esac
58606
58607
58608 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58609
58610   if $GLIBCXX_IS_NATIVE ; then
58611     # Do checks for resource limit functions.
58612
58613   setrlimit_have_headers=yes
58614   for ac_header in unistd.h sys/time.h sys/resource.h
58615 do :
58616   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58617 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58618 eval as_val=\$$as_ac_Header
58619    if test "x$as_val" = x""yes; then :
58620   cat >>confdefs.h <<_ACEOF
58621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58622 _ACEOF
58623
58624 else
58625   setrlimit_have_headers=no
58626 fi
58627
58628 done
58629
58630   # If don't have the headers, then we can't run the tests now, and we
58631   # won't be seeing any of these during testsuite compilation.
58632   if test $setrlimit_have_headers = yes; then
58633     # Can't do these in a loop, else the resulting syntax is wrong.
58634
58635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58636 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58638 /* end confdefs.h.  */
58639 #include <unistd.h>
58640      #include <sys/time.h>
58641      #include <sys/resource.h>
58642
58643 int
58644 main ()
58645 {
58646  int f = RLIMIT_DATA ;
58647   ;
58648   return 0;
58649 }
58650 _ACEOF
58651 if ac_fn_c_try_compile "$LINENO"; then :
58652   glibcxx_mresult=1
58653 else
58654   glibcxx_mresult=0
58655 fi
58656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58657
58658 cat >>confdefs.h <<_ACEOF
58659 #define HAVE_LIMIT_DATA $glibcxx_mresult
58660 _ACEOF
58661
58662   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58664 $as_echo "$res" >&6; }
58665
58666
58667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58668 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58670 /* end confdefs.h.  */
58671 #include <unistd.h>
58672      #include <sys/time.h>
58673      #include <sys/resource.h>
58674
58675 int
58676 main ()
58677 {
58678  int f = RLIMIT_RSS ;
58679   ;
58680   return 0;
58681 }
58682 _ACEOF
58683 if ac_fn_c_try_compile "$LINENO"; then :
58684   glibcxx_mresult=1
58685 else
58686   glibcxx_mresult=0
58687 fi
58688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58689
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE_LIMIT_RSS $glibcxx_mresult
58692 _ACEOF
58693
58694   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58696 $as_echo "$res" >&6; }
58697
58698
58699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58700 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h.  */
58703 #include <unistd.h>
58704      #include <sys/time.h>
58705      #include <sys/resource.h>
58706
58707 int
58708 main ()
58709 {
58710  int f = RLIMIT_VMEM ;
58711   ;
58712   return 0;
58713 }
58714 _ACEOF
58715 if ac_fn_c_try_compile "$LINENO"; then :
58716   glibcxx_mresult=1
58717 else
58718   glibcxx_mresult=0
58719 fi
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58721
58722 cat >>confdefs.h <<_ACEOF
58723 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58724 _ACEOF
58725
58726   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58728 $as_echo "$res" >&6; }
58729
58730
58731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58732 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58734 /* end confdefs.h.  */
58735 #include <unistd.h>
58736      #include <sys/time.h>
58737      #include <sys/resource.h>
58738
58739 int
58740 main ()
58741 {
58742  int f = RLIMIT_AS ;
58743   ;
58744   return 0;
58745 }
58746 _ACEOF
58747 if ac_fn_c_try_compile "$LINENO"; then :
58748   glibcxx_mresult=1
58749 else
58750   glibcxx_mresult=0
58751 fi
58752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58753
58754 cat >>confdefs.h <<_ACEOF
58755 #define HAVE_LIMIT_AS $glibcxx_mresult
58756 _ACEOF
58757
58758   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58760 $as_echo "$res" >&6; }
58761
58762
58763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58764 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58766 /* end confdefs.h.  */
58767 #include <unistd.h>
58768      #include <sys/time.h>
58769      #include <sys/resource.h>
58770
58771 int
58772 main ()
58773 {
58774  int f = RLIMIT_FSIZE ;
58775   ;
58776   return 0;
58777 }
58778 _ACEOF
58779 if ac_fn_c_try_compile "$LINENO"; then :
58780   glibcxx_mresult=1
58781 else
58782   glibcxx_mresult=0
58783 fi
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58785
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58788 _ACEOF
58789
58790   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58792 $as_echo "$res" >&6; }
58793
58794
58795     # Check for rlimit, setrlimit.
58796     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58797   $as_echo_n "(cached) " >&6
58798 else
58799
58800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58801 /* end confdefs.h.  */
58802 #include <unistd.h>
58803          #include <sys/time.h>
58804          #include <sys/resource.h>
58805
58806 int
58807 main ()
58808 {
58809 struct rlimit r;
58810          setrlimit(0, &r);
58811   ;
58812   return 0;
58813 }
58814 _ACEOF
58815 if ac_fn_c_try_compile "$LINENO"; then :
58816   glibcxx_cv_setrlimit=yes
58817 else
58818   glibcxx_cv_setrlimit=no
58819 fi
58820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58821
58822 fi
58823
58824   fi
58825
58826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58827 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58828   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58829     ac_res_limits=yes
58830
58831 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58832
58833   else
58834     ac_res_limits=no
58835   fi
58836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58837 $as_echo "$ac_res_limits" >&6; }
58838
58839
58840     # Look for setenv, so that extended locale tests can be performed.
58841
58842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58843 $as_echo_n "checking for setenv declaration... " >&6; }
58844   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58845     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58846   $as_echo_n "(cached) " >&6
58847 else
58848
58849
58850       ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58855
58856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h.  */
58858 #include <stdlib.h>
58859 int
58860 main ()
58861 {
58862  setenv(0, 0, 0);
58863   ;
58864   return 0;
58865 }
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868   glibcxx_cv_func_setenv_use=yes
58869 else
58870   glibcxx_cv_func_setenv_use=no
58871 fi
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873       ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58878
58879
58880 fi
58881
58882   fi
58883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58884 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58885   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58886     for ac_func in setenv
58887 do :
58888   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58889 if test "x$ac_cv_func_setenv" = x""yes; then :
58890   cat >>confdefs.h <<_ACEOF
58891 #define HAVE_SETENV 1
58892 _ACEOF
58893
58894 fi
58895 done
58896
58897   fi
58898
58899   fi
58900
58901   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58902      test $enable_symvers != no; then
58903     case "$host" in
58904       *-*-cygwin*)
58905         enable_abi_check=no ;;
58906       *)
58907         enable_abi_check=yes ;;
58908     esac
58909   else
58910     # Only build this as native, since automake does not understand
58911     # CXX_FOR_BUILD.
58912     enable_abi_check=no
58913   fi
58914
58915   # Export file names for ABI checking.
58916   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58917
58918
58919
58920 # Propagate the target-specific source directories through the build chain.
58921 ATOMICITY_SRCDIR=config/${atomicity_dir}
58922 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58923 ATOMIC_FLAGS=${atomic_flags}
58924 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58925 OS_INC_SRCDIR=config/${os_include_dir}
58926 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58927 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58928
58929
58930
58931
58932
58933
58934
58935
58936
58937 # Determine cross-compile flags and AM_CONDITIONALs.
58938 #AC_SUBST(GLIBCXX_IS_NATIVE)
58939 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58940     if test $is_hosted = yes; then
58941   GLIBCXX_HOSTED_TRUE=
58942   GLIBCXX_HOSTED_FALSE='#'
58943 else
58944   GLIBCXX_HOSTED_TRUE='#'
58945   GLIBCXX_HOSTED_FALSE=
58946 fi
58947
58948
58949     if test $enable_libstdcxx_pch = yes; then
58950   GLIBCXX_BUILD_PCH_TRUE=
58951   GLIBCXX_BUILD_PCH_FALSE='#'
58952 else
58953   GLIBCXX_BUILD_PCH_TRUE='#'
58954   GLIBCXX_BUILD_PCH_FALSE=
58955 fi
58956
58957
58958     if test $enable_cheaders = c; then
58959   GLIBCXX_C_HEADERS_C_TRUE=
58960   GLIBCXX_C_HEADERS_C_FALSE='#'
58961 else
58962   GLIBCXX_C_HEADERS_C_TRUE='#'
58963   GLIBCXX_C_HEADERS_C_FALSE=
58964 fi
58965
58966
58967     if test $enable_cheaders = c_std; then
58968   GLIBCXX_C_HEADERS_C_STD_TRUE=
58969   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58970 else
58971   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58972   GLIBCXX_C_HEADERS_C_STD_FALSE=
58973 fi
58974
58975
58976     if test $enable_cheaders = c_global; then
58977   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58978   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58979 else
58980   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58981   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58982 fi
58983
58984
58985     if test $c_compatibility = yes; then
58986   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58987   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58988 else
58989   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58990   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58991 fi
58992
58993
58994     if test $c_extra = yes; then
58995   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58996   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58997 else
58998   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58999   GLIBCXX_C_HEADERS_EXTRA_FALSE=
59000 fi
59001
59002
59003     if test $enable_libstdcxx_debug = yes; then
59004   GLIBCXX_BUILD_DEBUG_TRUE=
59005   GLIBCXX_BUILD_DEBUG_FALSE='#'
59006 else
59007   GLIBCXX_BUILD_DEBUG_TRUE='#'
59008   GLIBCXX_BUILD_DEBUG_FALSE=
59009 fi
59010
59011
59012     if test $enable_parallel = yes; then
59013   ENABLE_PARALLEL_TRUE=
59014   ENABLE_PARALLEL_FALSE='#'
59015 else
59016   ENABLE_PARALLEL_TRUE='#'
59017   ENABLE_PARALLEL_FALSE=
59018 fi
59019
59020
59021     if test $enable_symvers != no; then
59022   ENABLE_SYMVERS_TRUE=
59023   ENABLE_SYMVERS_FALSE='#'
59024 else
59025   ENABLE_SYMVERS_TRUE='#'
59026   ENABLE_SYMVERS_FALSE=
59027 fi
59028
59029
59030     if test $enable_symvers = gnu; then
59031   ENABLE_SYMVERS_GNU_TRUE=
59032   ENABLE_SYMVERS_GNU_FALSE='#'
59033 else
59034   ENABLE_SYMVERS_GNU_TRUE='#'
59035   ENABLE_SYMVERS_GNU_FALSE=
59036 fi
59037
59038
59039     if test $enable_symvers = gnu-versioned-namespace; then
59040   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
59041   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
59042 else
59043   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
59044   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
59045 fi
59046
59047
59048     if test $enable_symvers = darwin; then
59049   ENABLE_SYMVERS_DARWIN_TRUE=
59050   ENABLE_SYMVERS_DARWIN_FALSE='#'
59051 else
59052   ENABLE_SYMVERS_DARWIN_TRUE='#'
59053   ENABLE_SYMVERS_DARWIN_FALSE=
59054 fi
59055
59056
59057     if test $enable_symvers = sun; then
59058   ENABLE_SYMVERS_SUN_TRUE=
59059   ENABLE_SYMVERS_SUN_FALSE='#'
59060 else
59061   ENABLE_SYMVERS_SUN_TRUE='#'
59062   ENABLE_SYMVERS_SUN_FALSE=
59063 fi
59064
59065
59066     if test $symvers_renaming = no; then
59067   ENABLE_SYMVERS_SOL2_TRUE=
59068   ENABLE_SYMVERS_SOL2_FALSE='#'
59069 else
59070   ENABLE_SYMVERS_SOL2_TRUE='#'
59071   ENABLE_SYMVERS_SOL2_FALSE=
59072 fi
59073
59074
59075     if test $enable_visibility = yes; then
59076   ENABLE_VISIBILITY_TRUE=
59077   ENABLE_VISIBILITY_FALSE='#'
59078 else
59079   ENABLE_VISIBILITY_TRUE='#'
59080   ENABLE_VISIBILITY_FALSE=
59081 fi
59082
59083
59084     if test $ac_ldbl_compat = yes; then
59085   GLIBCXX_LDBL_COMPAT_TRUE=
59086   GLIBCXX_LDBL_COMPAT_FALSE='#'
59087 else
59088   GLIBCXX_LDBL_COMPAT_TRUE='#'
59089   GLIBCXX_LDBL_COMPAT_FALSE=
59090 fi
59091
59092
59093
59094
59095 cat >confcache <<\_ACEOF
59096 # This file is a shell script that caches the results of configure
59097 # tests run on this system so they can be shared between configure
59098 # scripts and configure runs, see configure's option --config-cache.
59099 # It is not useful on other systems.  If it contains results you don't
59100 # want to keep, you may remove or edit it.
59101 #
59102 # config.status only pays attention to the cache file if you give it
59103 # the --recheck option to rerun configure.
59104 #
59105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59107 # following values.
59108
59109 _ACEOF
59110
59111 # The following way of writing the cache mishandles newlines in values,
59112 # but we know of no workaround that is simple, portable, and efficient.
59113 # So, we kill variables containing newlines.
59114 # Ultrix sh set writes to stderr and can't be redirected directly,
59115 # and sets the high bit in the cache file unless we assign to the vars.
59116 (
59117   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59118     eval ac_val=\$$ac_var
59119     case $ac_val in #(
59120     *${as_nl}*)
59121       case $ac_var in #(
59122       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59124       esac
59125       case $ac_var in #(
59126       _ | IFS | as_nl) ;; #(
59127       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59128       *) { eval $ac_var=; unset $ac_var;} ;;
59129       esac ;;
59130     esac
59131   done
59132
59133   (set) 2>&1 |
59134     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59135     *${as_nl}ac_space=\ *)
59136       # `set' does not quote correctly, so add quotes: double-quote
59137       # substitution turns \\\\ into \\, and sed turns \\ into \.
59138       sed -n \
59139         "s/'/'\\\\''/g;
59140           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59141       ;; #(
59142     *)
59143       # `set' quotes correctly as required by POSIX, so do not add quotes.
59144       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59145       ;;
59146     esac |
59147     sort
59148 ) |
59149   sed '
59150      /^ac_cv_env_/b end
59151      t clear
59152      :clear
59153      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59154      t end
59155      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59156      :end' >>confcache
59157 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59158   if test -w "$cache_file"; then
59159     test "x$cache_file" != "x/dev/null" &&
59160       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59161 $as_echo "$as_me: updating cache $cache_file" >&6;}
59162     cat confcache >$cache_file
59163   else
59164     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59165 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59166   fi
59167 fi
59168 rm -f confcache
59169
59170 if test ${multilib} = yes; then
59171   multilib_arg="--enable-multilib"
59172 else
59173   multilib_arg=
59174 fi
59175
59176 # Export all the install information.
59177
59178   glibcxx_toolexecdir=no
59179   glibcxx_toolexeclibdir=no
59180   glibcxx_prefixdir=$prefix
59181
59182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59183 $as_echo_n "checking for gxx-include-dir... " >&6; }
59184
59185 # Check whether --with-gxx-include-dir was given.
59186 if test "${with_gxx_include_dir+set}" = set; then :
59187   withval=$with_gxx_include_dir; case "$withval" in
59188       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59189       no)  gxx_include_dir=no ;;
59190       *)   gxx_include_dir=$withval ;;
59191      esac
59192 else
59193   gxx_include_dir=no
59194 fi
59195
59196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59197 $as_echo "$gxx_include_dir" >&6; }
59198
59199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59200 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59201   # Check whether --enable-version-specific-runtime-libs was given.
59202 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59203   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59204       yes) version_specific_libs=yes ;;
59205       no)  version_specific_libs=no ;;
59206       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59207      esac
59208 else
59209   version_specific_libs=no
59210 fi
59211
59212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59213 $as_echo "$version_specific_libs" >&6; }
59214
59215   # Default case for install directory for include files.
59216   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59217     gxx_include_dir='include/c++/${gcc_version}'
59218     if test -n "$with_cross_host" &&
59219        test x"$with_cross_host" != x"no"; then
59220       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59221     else
59222       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59223     fi
59224   fi
59225
59226   # Version-specific runtime libs processing.
59227   if test $version_specific_libs = yes; then
59228     # Need the gcc compiler version to know where to install libraries
59229     # and header files if --enable-version-specific-runtime-libs option
59230     # is selected.  FIXME: these variables are misnamed, there are
59231     # no executables installed in _toolexecdir or _toolexeclibdir.
59232     if test x"$gxx_include_dir" = x"no"; then
59233       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59234     fi
59235     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59236     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59237   fi
59238
59239   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59240   # Install a library built with a cross compiler in tooldir, not libdir.
59241   if test x"$glibcxx_toolexecdir" = x"no"; then
59242     if test -n "$with_cross_host" &&
59243        test x"$with_cross_host" != x"no"; then
59244       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59245       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59246     else
59247       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59248       glibcxx_toolexeclibdir='${libdir}'
59249     fi
59250     multi_os_directory=`$CXX -print-multi-os-directory`
59251     case $multi_os_directory in
59252       .) ;; # Avoid trailing /.
59253       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59254     esac
59255   fi
59256
59257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59258 $as_echo_n "checking for install location... " >&6; }
59259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59260 $as_echo "$gxx_include_dir" >&6; }
59261
59262
59263
59264
59265
59266
59267
59268 # Export all the include and flag information to Makefiles.
59269
59270   # Used for every C++ compile we perform.
59271   GLIBCXX_INCLUDES="\
59272 -I$glibcxx_builddir/include/$host_alias \
59273 -I$glibcxx_builddir/include \
59274 -I$glibcxx_srcdir/libsupc++"
59275
59276   # For Canadian crosses, pick this up too.
59277   if test $CANADIAN = yes; then
59278     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59279   fi
59280
59281   # Stuff in the actual top level.  Currently only used by libsupc++ to
59282   # get unwind* headers from the gcc dir.
59283   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59284   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59285
59286   # Now, export this to all the little Makefiles....
59287
59288
59289
59290
59291   # Optimization flags that are probably a good idea for thrill-seekers. Just
59292   # uncomment the lines below and make, everything else is ready to go...
59293   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59294   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59295
59296
59297   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59298
59299
59300
59301 if test "$enable_shared" = yes; then
59302   LIBSUPCXX_PICFLAGS="-prefer-pic"
59303 else
59304   LIBSUPCXX_PICFLAGS=
59305 fi
59306
59307
59308 ac_config_files="$ac_config_files Makefile"
59309
59310 ac_config_files="$ac_config_files scripts/testsuite_flags"
59311
59312
59313 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59314 # that multilib installs will end up installed in the correct place.
59315 # The testsuite needs it for multilib-aware ABI baseline files.
59316 # To work around this not being passed down from config-ml.in ->
59317 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59318 # append it here.  Only modify Makefiles that have just been created.
59319 #
59320 # Also, get rid of this simulated-VPATH thing that automake does.
59321 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59322
59323
59324 ac_config_commands="$ac_config_commands generate-headers"
59325
59326
59327 cat >confcache <<\_ACEOF
59328 # This file is a shell script that caches the results of configure
59329 # tests run on this system so they can be shared between configure
59330 # scripts and configure runs, see configure's option --config-cache.
59331 # It is not useful on other systems.  If it contains results you don't
59332 # want to keep, you may remove or edit it.
59333 #
59334 # config.status only pays attention to the cache file if you give it
59335 # the --recheck option to rerun configure.
59336 #
59337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59339 # following values.
59340
59341 _ACEOF
59342
59343 # The following way of writing the cache mishandles newlines in values,
59344 # but we know of no workaround that is simple, portable, and efficient.
59345 # So, we kill variables containing newlines.
59346 # Ultrix sh set writes to stderr and can't be redirected directly,
59347 # and sets the high bit in the cache file unless we assign to the vars.
59348 (
59349   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59350     eval ac_val=\$$ac_var
59351     case $ac_val in #(
59352     *${as_nl}*)
59353       case $ac_var in #(
59354       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59356       esac
59357       case $ac_var in #(
59358       _ | IFS | as_nl) ;; #(
59359       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59360       *) { eval $ac_var=; unset $ac_var;} ;;
59361       esac ;;
59362     esac
59363   done
59364
59365   (set) 2>&1 |
59366     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59367     *${as_nl}ac_space=\ *)
59368       # `set' does not quote correctly, so add quotes: double-quote
59369       # substitution turns \\\\ into \\, and sed turns \\ into \.
59370       sed -n \
59371         "s/'/'\\\\''/g;
59372           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59373       ;; #(
59374     *)
59375       # `set' quotes correctly as required by POSIX, so do not add quotes.
59376       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59377       ;;
59378     esac |
59379     sort
59380 ) |
59381   sed '
59382      /^ac_cv_env_/b end
59383      t clear
59384      :clear
59385      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59386      t end
59387      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59388      :end' >>confcache
59389 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59390   if test -w "$cache_file"; then
59391     test "x$cache_file" != "x/dev/null" &&
59392       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59393 $as_echo "$as_me: updating cache $cache_file" >&6;}
59394     cat confcache >$cache_file
59395   else
59396     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59398   fi
59399 fi
59400 rm -f confcache
59401
59402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59403 # Let make expand exec_prefix.
59404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59405
59406 DEFS=-DHAVE_CONFIG_H
59407
59408 ac_libobjs=
59409 ac_ltlibobjs=
59410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59411   # 1. Remove the extension, and $U if already installed.
59412   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59413   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59414   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59415   #    will be set to the directory where LIBOBJS objects are built.
59416   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59417   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59418 done
59419 LIBOBJS=$ac_libobjs
59420
59421 LTLIBOBJS=$ac_ltlibobjs
59422
59423
59424  if test -n "$EXEEXT"; then
59425   am__EXEEXT_TRUE=
59426   am__EXEEXT_FALSE='#'
59427 else
59428   am__EXEEXT_TRUE='#'
59429   am__EXEEXT_FALSE=
59430 fi
59431
59432 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59433   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59435 fi
59436 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59437   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59439 fi
59440 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59441   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59443 fi
59444 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59445   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59447 fi
59448 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59449   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59451 fi
59452 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59453   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59455 fi
59456 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59457   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59459 fi
59460 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59461   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59463 fi
59464 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59465   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59467 fi
59468 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59469   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59471 fi
59472 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59473   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59475 fi
59476 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59477   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59479 fi
59480 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59481   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59483 fi
59484 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59485   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59487 fi
59488 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
59489   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
59490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59491 fi
59492 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
59493   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
59494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59495 fi
59496 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59497   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59499 fi
59500 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59501   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59503 fi
59504
59505 : ${CONFIG_STATUS=./config.status}
59506 ac_write_fail=0
59507 ac_clean_files_save=$ac_clean_files
59508 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59510 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59511 as_write_fail=0
59512 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59513 #! $SHELL
59514 # Generated by $as_me.
59515 # Run this file to recreate the current configuration.
59516 # Compiler output produced by configure, useful for debugging
59517 # configure, is in config.log if it exists.
59518
59519 debug=false
59520 ac_cs_recheck=false
59521 ac_cs_silent=false
59522
59523 SHELL=\${CONFIG_SHELL-$SHELL}
59524 export SHELL
59525 _ASEOF
59526 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59527 ## -------------------- ##
59528 ## M4sh Initialization. ##
59529 ## -------------------- ##
59530
59531 # Be more Bourne compatible
59532 DUALCASE=1; export DUALCASE # for MKS sh
59533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59534   emulate sh
59535   NULLCMD=:
59536   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59537   # is contrary to our usage.  Disable this feature.
59538   alias -g '${1+"$@"}'='"$@"'
59539   setopt NO_GLOB_SUBST
59540 else
59541   case `(set -o) 2>/dev/null` in #(
59542   *posix*) :
59543     set -o posix ;; #(
59544   *) :
59545      ;;
59546 esac
59547 fi
59548
59549
59550 as_nl='
59551 '
59552 export as_nl
59553 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59554 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59557 # Prefer a ksh shell builtin over an external printf program on Solaris,
59558 # but without wasting forks for bash or zsh.
59559 if test -z "$BASH_VERSION$ZSH_VERSION" \
59560     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59561   as_echo='print -r --'
59562   as_echo_n='print -rn --'
59563 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59564   as_echo='printf %s\n'
59565   as_echo_n='printf %s'
59566 else
59567   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59568     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59569     as_echo_n='/usr/ucb/echo -n'
59570   else
59571     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59572     as_echo_n_body='eval
59573       arg=$1;
59574       case $arg in #(
59575       *"$as_nl"*)
59576         expr "X$arg" : "X\\(.*\\)$as_nl";
59577         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59578       esac;
59579       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59580     '
59581     export as_echo_n_body
59582     as_echo_n='sh -c $as_echo_n_body as_echo'
59583   fi
59584   export as_echo_body
59585   as_echo='sh -c $as_echo_body as_echo'
59586 fi
59587
59588 # The user is always right.
59589 if test "${PATH_SEPARATOR+set}" != set; then
59590   PATH_SEPARATOR=:
59591   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59592     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59593       PATH_SEPARATOR=';'
59594   }
59595 fi
59596
59597
59598 # IFS
59599 # We need space, tab and new line, in precisely that order.  Quoting is
59600 # there to prevent editors from complaining about space-tab.
59601 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59602 # splitting by setting IFS to empty value.)
59603 IFS=" ""        $as_nl"
59604
59605 # Find who we are.  Look in the path if we contain no directory separator.
59606 case $0 in #((
59607   *[\\/]* ) as_myself=$0 ;;
59608   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59609 for as_dir in $PATH
59610 do
59611   IFS=$as_save_IFS
59612   test -z "$as_dir" && as_dir=.
59613     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59614   done
59615 IFS=$as_save_IFS
59616
59617      ;;
59618 esac
59619 # We did not find ourselves, most probably we were run as `sh COMMAND'
59620 # in which case we are not to be found in the path.
59621 if test "x$as_myself" = x; then
59622   as_myself=$0
59623 fi
59624 if test ! -f "$as_myself"; then
59625   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59626   exit 1
59627 fi
59628
59629 # Unset variables that we do not need and which cause bugs (e.g. in
59630 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59631 # suppresses any "Segmentation fault" message there.  '((' could
59632 # trigger a bug in pdksh 5.2.14.
59633 for as_var in BASH_ENV ENV MAIL MAILPATH
59634 do eval test x\${$as_var+set} = xset \
59635   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59636 done
59637 PS1='$ '
59638 PS2='> '
59639 PS4='+ '
59640
59641 # NLS nuisances.
59642 LC_ALL=C
59643 export LC_ALL
59644 LANGUAGE=C
59645 export LANGUAGE
59646
59647 # CDPATH.
59648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59649
59650
59651 # as_fn_error ERROR [LINENO LOG_FD]
59652 # ---------------------------------
59653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59655 # script with status $?, using 1 if that was 0.
59656 as_fn_error ()
59657 {
59658   as_status=$?; test $as_status -eq 0 && as_status=1
59659   if test "$3"; then
59660     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59661     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59662   fi
59663   $as_echo "$as_me: error: $1" >&2
59664   as_fn_exit $as_status
59665 } # as_fn_error
59666
59667
59668 # as_fn_set_status STATUS
59669 # -----------------------
59670 # Set $? to STATUS, without forking.
59671 as_fn_set_status ()
59672 {
59673   return $1
59674 } # as_fn_set_status
59675
59676 # as_fn_exit STATUS
59677 # -----------------
59678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59679 as_fn_exit ()
59680 {
59681   set +e
59682   as_fn_set_status $1
59683   exit $1
59684 } # as_fn_exit
59685
59686 # as_fn_unset VAR
59687 # ---------------
59688 # Portably unset VAR.
59689 as_fn_unset ()
59690 {
59691   { eval $1=; unset $1;}
59692 }
59693 as_unset=as_fn_unset
59694 # as_fn_append VAR VALUE
59695 # ----------------------
59696 # Append the text in VALUE to the end of the definition contained in VAR. Take
59697 # advantage of any shell optimizations that allow amortized linear growth over
59698 # repeated appends, instead of the typical quadratic growth present in naive
59699 # implementations.
59700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59701   eval 'as_fn_append ()
59702   {
59703     eval $1+=\$2
59704   }'
59705 else
59706   as_fn_append ()
59707   {
59708     eval $1=\$$1\$2
59709   }
59710 fi # as_fn_append
59711
59712 # as_fn_arith ARG...
59713 # ------------------
59714 # Perform arithmetic evaluation on the ARGs, and store the result in the
59715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59716 # must be portable across $(()) and expr.
59717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59718   eval 'as_fn_arith ()
59719   {
59720     as_val=$(( $* ))
59721   }'
59722 else
59723   as_fn_arith ()
59724   {
59725     as_val=`expr "$@" || test $? -eq 1`
59726   }
59727 fi # as_fn_arith
59728
59729
59730 if expr a : '\(a\)' >/dev/null 2>&1 &&
59731    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59732   as_expr=expr
59733 else
59734   as_expr=false
59735 fi
59736
59737 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59738   as_basename=basename
59739 else
59740   as_basename=false
59741 fi
59742
59743 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59744   as_dirname=dirname
59745 else
59746   as_dirname=false
59747 fi
59748
59749 as_me=`$as_basename -- "$0" ||
59750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59751          X"$0" : 'X\(//\)$' \| \
59752          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59753 $as_echo X/"$0" |
59754     sed '/^.*\/\([^/][^/]*\)\/*$/{
59755             s//\1/
59756             q
59757           }
59758           /^X\/\(\/\/\)$/{
59759             s//\1/
59760             q
59761           }
59762           /^X\/\(\/\).*/{
59763             s//\1/
59764             q
59765           }
59766           s/.*/./; q'`
59767
59768 # Avoid depending upon Character Ranges.
59769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59772 as_cr_digits='0123456789'
59773 as_cr_alnum=$as_cr_Letters$as_cr_digits
59774
59775 ECHO_C= ECHO_N= ECHO_T=
59776 case `echo -n x` in #(((((
59777 -n*)
59778   case `echo 'xy\c'` in
59779   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59780   xy)  ECHO_C='\c';;
59781   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59782        ECHO_T=' ';;
59783   esac;;
59784 *)
59785   ECHO_N='-n';;
59786 esac
59787
59788 rm -f conf$$ conf$$.exe conf$$.file
59789 if test -d conf$$.dir; then
59790   rm -f conf$$.dir/conf$$.file
59791 else
59792   rm -f conf$$.dir
59793   mkdir conf$$.dir 2>/dev/null
59794 fi
59795 if (echo >conf$$.file) 2>/dev/null; then
59796   if ln -s conf$$.file conf$$ 2>/dev/null; then
59797     as_ln_s='ln -s'
59798     # ... but there are two gotchas:
59799     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59800     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59801     # In both cases, we have to default to `cp -p'.
59802     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59803       as_ln_s='cp -p'
59804   elif ln conf$$.file conf$$ 2>/dev/null; then
59805     as_ln_s=ln
59806   else
59807     as_ln_s='cp -p'
59808   fi
59809 else
59810   as_ln_s='cp -p'
59811 fi
59812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59813 rmdir conf$$.dir 2>/dev/null
59814
59815
59816 # as_fn_mkdir_p
59817 # -------------
59818 # Create "$as_dir" as a directory, including parents if necessary.
59819 as_fn_mkdir_p ()
59820 {
59821
59822   case $as_dir in #(
59823   -*) as_dir=./$as_dir;;
59824   esac
59825   test -d "$as_dir" || eval $as_mkdir_p || {
59826     as_dirs=
59827     while :; do
59828       case $as_dir in #(
59829       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59830       *) as_qdir=$as_dir;;
59831       esac
59832       as_dirs="'$as_qdir' $as_dirs"
59833       as_dir=`$as_dirname -- "$as_dir" ||
59834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59835          X"$as_dir" : 'X\(//\)[^/]' \| \
59836          X"$as_dir" : 'X\(//\)$' \| \
59837          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59838 $as_echo X"$as_dir" |
59839     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59840             s//\1/
59841             q
59842           }
59843           /^X\(\/\/\)[^/].*/{
59844             s//\1/
59845             q
59846           }
59847           /^X\(\/\/\)$/{
59848             s//\1/
59849             q
59850           }
59851           /^X\(\/\).*/{
59852             s//\1/
59853             q
59854           }
59855           s/.*/./; q'`
59856       test -d "$as_dir" && break
59857     done
59858     test -z "$as_dirs" || eval "mkdir $as_dirs"
59859   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59860
59861
59862 } # as_fn_mkdir_p
59863 if mkdir -p . 2>/dev/null; then
59864   as_mkdir_p='mkdir -p "$as_dir"'
59865 else
59866   test -d ./-p && rmdir ./-p
59867   as_mkdir_p=false
59868 fi
59869
59870 if test -x / >/dev/null 2>&1; then
59871   as_test_x='test -x'
59872 else
59873   if ls -dL / >/dev/null 2>&1; then
59874     as_ls_L_option=L
59875   else
59876     as_ls_L_option=
59877   fi
59878   as_test_x='
59879     eval sh -c '\''
59880       if test -d "$1"; then
59881         test -d "$1/.";
59882       else
59883         case $1 in #(
59884         -*)set "./$1";;
59885         esac;
59886         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59887         ???[sx]*):;;*)false;;esac;fi
59888     '\'' sh
59889   '
59890 fi
59891 as_executable_p=$as_test_x
59892
59893 # Sed expression to map a string onto a valid CPP name.
59894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59895
59896 # Sed expression to map a string onto a valid variable name.
59897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59898
59899
59900 exec 6>&1
59901 ## ----------------------------------- ##
59902 ## Main body of $CONFIG_STATUS script. ##
59903 ## ----------------------------------- ##
59904 _ASEOF
59905 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59906
59907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59908 # Save the log message, to keep $0 and so on meaningful, and to
59909 # report actual input values of CONFIG_FILES etc. instead of their
59910 # values after options handling.
59911 ac_log="
59912 This file was extended by package-unused $as_me version-unused, which was
59913 generated by GNU Autoconf 2.64.  Invocation command line was
59914
59915   CONFIG_FILES    = $CONFIG_FILES
59916   CONFIG_HEADERS  = $CONFIG_HEADERS
59917   CONFIG_LINKS    = $CONFIG_LINKS
59918   CONFIG_COMMANDS = $CONFIG_COMMANDS
59919   $ $0 $@
59920
59921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59922 "
59923
59924 _ACEOF
59925
59926 case $ac_config_files in *"
59927 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59928 esac
59929
59930 case $ac_config_headers in *"
59931 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59932 esac
59933
59934
59935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59936 # Files that config.status was made for.
59937 config_files="$ac_config_files"
59938 config_headers="$ac_config_headers"
59939 config_commands="$ac_config_commands"
59940
59941 _ACEOF
59942
59943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59944 ac_cs_usage="\
59945 \`$as_me' instantiates files and other configuration actions
59946 from templates according to the current configuration.  Unless the files
59947 and actions are specified as TAGs, all are instantiated by default.
59948
59949 Usage: $0 [OPTION]... [TAG]...
59950
59951   -h, --help       print this help, then exit
59952   -V, --version    print version number and configuration settings, then exit
59953   -q, --quiet, --silent
59954                    do not print progress messages
59955   -d, --debug      don't remove temporary files
59956       --recheck    update $as_me by reconfiguring in the same conditions
59957       --file=FILE[:TEMPLATE]
59958                    instantiate the configuration file FILE
59959       --header=FILE[:TEMPLATE]
59960                    instantiate the configuration header FILE
59961
59962 Configuration files:
59963 $config_files
59964
59965 Configuration headers:
59966 $config_headers
59967
59968 Configuration commands:
59969 $config_commands
59970
59971 Report bugs to the package provider."
59972
59973 _ACEOF
59974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59975 ac_cs_version="\\
59976 package-unused config.status version-unused
59977 configured by $0, generated by GNU Autoconf 2.64,
59978   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59979
59980 Copyright (C) 2009 Free Software Foundation, Inc.
59981 This config.status script is free software; the Free Software Foundation
59982 gives unlimited permission to copy, distribute and modify it."
59983
59984 ac_pwd='$ac_pwd'
59985 srcdir='$srcdir'
59986 INSTALL='$INSTALL'
59987 MKDIR_P='$MKDIR_P'
59988 AWK='$AWK'
59989 test -n "\$AWK" || AWK=awk
59990 _ACEOF
59991
59992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59993 # The default lists apply if the user does not specify any file.
59994 ac_need_defaults=:
59995 while test $# != 0
59996 do
59997   case $1 in
59998   --*=*)
59999     ac_option=`expr "X$1" : 'X\([^=]*\)='`
60000     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60001     ac_shift=:
60002     ;;
60003   *)
60004     ac_option=$1
60005     ac_optarg=$2
60006     ac_shift=shift
60007     ;;
60008   esac
60009
60010   case $ac_option in
60011   # Handling of the options.
60012   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60013     ac_cs_recheck=: ;;
60014   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60015     $as_echo "$ac_cs_version"; exit ;;
60016   --debug | --debu | --deb | --de | --d | -d )
60017     debug=: ;;
60018   --file | --fil | --fi | --f )
60019     $ac_shift
60020     case $ac_optarg in
60021     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60022     esac
60023     as_fn_append CONFIG_FILES " '$ac_optarg'"
60024     ac_need_defaults=false;;
60025   --header | --heade | --head | --hea )
60026     $ac_shift
60027     case $ac_optarg in
60028     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60029     esac
60030     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60031     ac_need_defaults=false;;
60032   --he | --h)
60033     # Conflict between --help and --header
60034     as_fn_error "ambiguous option: \`$1'
60035 Try \`$0 --help' for more information.";;
60036   --help | --hel | -h )
60037     $as_echo "$ac_cs_usage"; exit ;;
60038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60039   | -silent | --silent | --silen | --sile | --sil | --si | --s)
60040     ac_cs_silent=: ;;
60041
60042   # This is an error.
60043   -*) as_fn_error "unrecognized option: \`$1'
60044 Try \`$0 --help' for more information." ;;
60045
60046   *) as_fn_append ac_config_targets " $1"
60047      ac_need_defaults=false ;;
60048
60049   esac
60050   shift
60051 done
60052
60053 ac_configure_extra_args=
60054
60055 if $ac_cs_silent; then
60056   exec 6>/dev/null
60057   ac_configure_extra_args="$ac_configure_extra_args --silent"
60058 fi
60059
60060 _ACEOF
60061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60062 if \$ac_cs_recheck; then
60063   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60064   shift
60065   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60066   CONFIG_SHELL='$SHELL'
60067   export CONFIG_SHELL
60068   exec "\$@"
60069 fi
60070
60071 _ACEOF
60072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60073 exec 5>>config.log
60074 {
60075   echo
60076   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
60077 ## Running $as_me. ##
60078 _ASBOX
60079   $as_echo "$ac_log"
60080 } >&5
60081
60082 _ACEOF
60083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60084 #
60085 # INIT-COMMANDS
60086 #
60087
60088 srcdir="$srcdir"
60089 host="$host"
60090 target="$target"
60091 with_multisubdir="$with_multisubdir"
60092 with_multisrctop="$with_multisrctop"
60093 with_target_subdir="$with_target_subdir"
60094 ac_configure_args="${multilib_arg} ${ac_configure_args}"
60095 multi_basedir="$multi_basedir"
60096 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
60097 CC="$CC"
60098 CXX="$CXX"
60099 GFORTRAN="$GFORTRAN"
60100 GCJ="$GCJ"
60101
60102
60103 # The HP-UX ksh and POSIX shell print the target directory to stdout
60104 # if CDPATH is set.
60105 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60106
60107 sed_quote_subst='$sed_quote_subst'
60108 double_quote_subst='$double_quote_subst'
60109 delay_variable_subst='$delay_variable_subst'
60110 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
60111 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
60112 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
60113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
60114 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
60115 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
60116 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
60117 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
60118 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
60119 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
60120 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
60121 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
60122 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
60123 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
60124 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
60125 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
60126 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
60127 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
60128 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
60129 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
60130 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
60131 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
60132 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
60133 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
60134 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
60135 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
60136 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
60137 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
60138 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
60139 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
60140 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
60141 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
60142 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
60143 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
60144 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
60145 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
60146 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
60147 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60148 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60149 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60150 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60151 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60152 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60153 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60154 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60155 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60156 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60157 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60158 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
60159 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60160 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60161 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60162 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60163 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60164 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60165 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60166 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60167 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60168 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60169 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60170 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60171 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60172 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60173 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60174 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60175 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60176 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60177 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60178 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60179 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60180 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60181 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60182 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60183 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60184 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60185 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60186 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60187 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60188 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60189 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60190 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60191 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60192 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60193 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60194 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60195 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60196 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60197 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60198 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60199 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60200 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60201 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60202 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60203 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60204 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60205 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60206 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60207 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60208 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60209 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60210 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60211 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60212 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60213 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60214 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60215 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60216 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60217 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60218 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60219 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60220 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60221 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60222 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60223 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60224 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60225 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60226 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60227 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60228 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60229 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60230 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60231 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60232 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60233 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60234 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60235 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60236 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60237 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60238 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60239 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60240 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60241 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60242 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60243 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60244 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60245 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60246 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60247 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60248 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60249 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60250 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60251 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60252 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60253 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60254 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60255 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60256 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60257 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60258 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60259 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60260 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60261 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60262 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60263 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60264 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60265 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60266 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60267 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60268 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60269 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60270 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60271 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60272 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60273 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60274 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60275 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60276 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60277 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60278 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60279 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60280 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60281 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60282 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60283 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60284 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60285
60286 LTCC='$LTCC'
60287 LTCFLAGS='$LTCFLAGS'
60288 compiler='$compiler_DEFAULT'
60289
60290 # A function that is used when there is no print builtin or printf.
60291 func_fallback_echo ()
60292 {
60293   eval 'cat <<_LTECHO_EOF
60294 \$1
60295 _LTECHO_EOF'
60296 }
60297
60298 # Quote evaled strings.
60299 for var in SHELL \
60300 ECHO \
60301 SED \
60302 GREP \
60303 EGREP \
60304 FGREP \
60305 LD \
60306 NM \
60307 LN_S \
60308 lt_SP2NL \
60309 lt_NL2SP \
60310 reload_flag \
60311 OBJDUMP \
60312 deplibs_check_method \
60313 file_magic_cmd \
60314 AR \
60315 AR_FLAGS \
60316 STRIP \
60317 RANLIB \
60318 CC \
60319 CFLAGS \
60320 compiler \
60321 lt_cv_sys_global_symbol_pipe \
60322 lt_cv_sys_global_symbol_to_cdecl \
60323 lt_cv_sys_global_symbol_to_c_name_address \
60324 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60325 lt_prog_compiler_no_builtin_flag \
60326 lt_prog_compiler_wl \
60327 lt_prog_compiler_pic \
60328 lt_prog_compiler_static \
60329 lt_cv_prog_compiler_c_o \
60330 need_locks \
60331 DSYMUTIL \
60332 NMEDIT \
60333 LIPO \
60334 OTOOL \
60335 OTOOL64 \
60336 shrext_cmds \
60337 export_dynamic_flag_spec \
60338 whole_archive_flag_spec \
60339 compiler_needs_object \
60340 with_gnu_ld \
60341 allow_undefined_flag \
60342 no_undefined_flag \
60343 hardcode_libdir_flag_spec \
60344 hardcode_libdir_flag_spec_ld \
60345 hardcode_libdir_separator \
60346 fix_srcfile_path \
60347 exclude_expsyms \
60348 include_expsyms \
60349 file_list_spec \
60350 variables_saved_for_relink \
60351 libname_spec \
60352 library_names_spec \
60353 soname_spec \
60354 install_override_mode \
60355 finish_eval \
60356 old_striplib \
60357 striplib \
60358 compiler_lib_search_dirs \
60359 predep_objects \
60360 postdep_objects \
60361 predeps \
60362 postdeps \
60363 compiler_lib_search_path \
60364 LD_CXX \
60365 reload_flag_CXX \
60366 compiler_CXX \
60367 lt_prog_compiler_no_builtin_flag_CXX \
60368 lt_prog_compiler_wl_CXX \
60369 lt_prog_compiler_pic_CXX \
60370 lt_prog_compiler_static_CXX \
60371 lt_cv_prog_compiler_c_o_CXX \
60372 export_dynamic_flag_spec_CXX \
60373 whole_archive_flag_spec_CXX \
60374 compiler_needs_object_CXX \
60375 with_gnu_ld_CXX \
60376 allow_undefined_flag_CXX \
60377 no_undefined_flag_CXX \
60378 hardcode_libdir_flag_spec_CXX \
60379 hardcode_libdir_flag_spec_ld_CXX \
60380 hardcode_libdir_separator_CXX \
60381 fix_srcfile_path_CXX \
60382 exclude_expsyms_CXX \
60383 include_expsyms_CXX \
60384 file_list_spec_CXX \
60385 compiler_lib_search_dirs_CXX \
60386 predep_objects_CXX \
60387 postdep_objects_CXX \
60388 predeps_CXX \
60389 postdeps_CXX \
60390 compiler_lib_search_path_CXX; do
60391     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60392     *[\\\\\\\`\\"\\\$]*)
60393       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60394       ;;
60395     *)
60396       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60397       ;;
60398     esac
60399 done
60400
60401 # Double-quote double-evaled strings.
60402 for var in reload_cmds \
60403 old_postinstall_cmds \
60404 old_postuninstall_cmds \
60405 old_archive_cmds \
60406 extract_expsyms_cmds \
60407 old_archive_from_new_cmds \
60408 old_archive_from_expsyms_cmds \
60409 archive_cmds \
60410 archive_expsym_cmds \
60411 module_cmds \
60412 module_expsym_cmds \
60413 export_symbols_cmds \
60414 prelink_cmds \
60415 postinstall_cmds \
60416 postuninstall_cmds \
60417 finish_cmds \
60418 sys_lib_search_path_spec \
60419 sys_lib_dlsearch_path_spec \
60420 reload_cmds_CXX \
60421 old_archive_cmds_CXX \
60422 old_archive_from_new_cmds_CXX \
60423 old_archive_from_expsyms_cmds_CXX \
60424 archive_cmds_CXX \
60425 archive_expsym_cmds_CXX \
60426 module_cmds_CXX \
60427 module_expsym_cmds_CXX \
60428 export_symbols_cmds_CXX \
60429 prelink_cmds_CXX; do
60430     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60431     *[\\\\\\\`\\"\\\$]*)
60432       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60433       ;;
60434     *)
60435       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60436       ;;
60437     esac
60438 done
60439
60440 ac_aux_dir='$ac_aux_dir'
60441 xsi_shell='$xsi_shell'
60442 lt_shell_append='$lt_shell_append'
60443
60444 # See if we are running on zsh, and set the options which allow our
60445 # commands through without removal of \ escapes INIT.
60446 if test -n "\${ZSH_VERSION+set}" ; then
60447    setopt NO_GLOB_SUBST
60448 fi
60449
60450
60451     PACKAGE='$PACKAGE'
60452     VERSION='$VERSION'
60453     TIMESTAMP='$TIMESTAMP'
60454     RM='$RM'
60455     ofile='$ofile'
60456
60457
60458
60459
60460
60461
60462 GCC="$GCC"
60463 CC="$CC"
60464 acx_cv_header_stdint="$acx_cv_header_stdint"
60465 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60466 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60467 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60468 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60469 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60470 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60471 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60472 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60473 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60474 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60475 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60476 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60477 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60478
60479
60480 _ACEOF
60481
60482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60483
60484 # Handling of arguments.
60485 for ac_config_target in $ac_config_targets
60486 do
60487   case $ac_config_target in
60488     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60489     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60490     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60491     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60492     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60493     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60494     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60495     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60496     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60497     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60498     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60499     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60500     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60501     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60502
60503   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60504   esac
60505 done
60506
60507
60508 # If the user did not use the arguments to specify the items to instantiate,
60509 # then the envvar interface is used.  Set only those that are not.
60510 # We use the long form for the default assignment because of an extremely
60511 # bizarre bug on SunOS 4.1.3.
60512 if $ac_need_defaults; then
60513   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60514   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60515   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60516 fi
60517
60518 # Have a temporary directory for convenience.  Make it in the build tree
60519 # simply because there is no reason against having it here, and in addition,
60520 # creating and moving files from /tmp can sometimes cause problems.
60521 # Hook for its removal unless debugging.
60522 # Note that there is a small window in which the directory will not be cleaned:
60523 # after its creation but before its name has been assigned to `$tmp'.
60524 $debug ||
60525 {
60526   tmp=
60527   trap 'exit_status=$?
60528   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60529 ' 0
60530   trap 'as_fn_exit 1' 1 2 13 15
60531 }
60532 # Create a (secure) tmp directory for tmp files.
60533
60534 {
60535   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60536   test -n "$tmp" && test -d "$tmp"
60537 }  ||
60538 {
60539   tmp=./conf$$-$RANDOM
60540   (umask 077 && mkdir "$tmp")
60541 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60542
60543 # Set up the scripts for CONFIG_FILES section.
60544 # No need to generate them if there are no CONFIG_FILES.
60545 # This happens for instance with `./config.status config.h'.
60546 if test -n "$CONFIG_FILES"; then
60547
60548
60549 ac_cr=`echo X | tr X '\015'`
60550 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60551 # But we know of no other shell where ac_cr would be empty at this
60552 # point, so we can use a bashism as a fallback.
60553 if test "x$ac_cr" = x; then
60554   eval ac_cr=\$\'\\r\'
60555 fi
60556 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60557 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60558   ac_cs_awk_cr='\r'
60559 else
60560   ac_cs_awk_cr=$ac_cr
60561 fi
60562
60563 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60564 _ACEOF
60565
60566
60567 {
60568   echo "cat >conf$$subs.awk <<_ACEOF" &&
60569   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60570   echo "_ACEOF"
60571 } >conf$$subs.sh ||
60572   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60573 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60574 ac_delim='%!_!# '
60575 for ac_last_try in false false false false false :; do
60576   . ./conf$$subs.sh ||
60577     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60578
60579   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60580   if test $ac_delim_n = $ac_delim_num; then
60581     break
60582   elif $ac_last_try; then
60583     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60584   else
60585     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60586   fi
60587 done
60588 rm -f conf$$subs.sh
60589
60590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60591 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60592 _ACEOF
60593 sed -n '
60594 h
60595 s/^/S["/; s/!.*/"]=/
60596 p
60597 g
60598 s/^[^!]*!//
60599 :repl
60600 t repl
60601 s/'"$ac_delim"'$//
60602 t delim
60603 :nl
60604 h
60605 s/\(.\{148\}\).*/\1/
60606 t more1
60607 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60608 p
60609 n
60610 b repl
60611 :more1
60612 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60613 p
60614 g
60615 s/.\{148\}//
60616 t nl
60617 :delim
60618 h
60619 s/\(.\{148\}\).*/\1/
60620 t more2
60621 s/["\\]/\\&/g; s/^/"/; s/$/"/
60622 p
60623 b
60624 :more2
60625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60626 p
60627 g
60628 s/.\{148\}//
60629 t delim
60630 ' <conf$$subs.awk | sed '
60631 /^[^""]/{
60632   N
60633   s/\n//
60634 }
60635 ' >>$CONFIG_STATUS || ac_write_fail=1
60636 rm -f conf$$subs.awk
60637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60638 _ACAWK
60639 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60640   for (key in S) S_is_set[key] = 1
60641   FS = "\a"
60642
60643 }
60644 {
60645   line = $ 0
60646   nfields = split(line, field, "@")
60647   substed = 0
60648   len = length(field[1])
60649   for (i = 2; i < nfields; i++) {
60650     key = field[i]
60651     keylen = length(key)
60652     if (S_is_set[key]) {
60653       value = S[key]
60654       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60655       len += length(value) + length(field[++i])
60656       substed = 1
60657     } else
60658       len += 1 + keylen
60659   }
60660
60661   print line
60662 }
60663
60664 _ACAWK
60665 _ACEOF
60666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60667 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60668   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60669 else
60670   cat
60671 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60672   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60673 _ACEOF
60674
60675 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60676 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60677 # trailing colons and then remove the whole line if VPATH becomes empty
60678 # (actually we leave an empty line to preserve line numbers).
60679 if test "x$srcdir" = x.; then
60680   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60681 s/:*\$(srcdir):*/:/
60682 s/:*\${srcdir}:*/:/
60683 s/:*@srcdir@:*/:/
60684 s/^\([^=]*=[     ]*\):*/\1/
60685 s/:*$//
60686 s/^[^=]*=[       ]*$//
60687 }'
60688 fi
60689
60690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60691 fi # test -n "$CONFIG_FILES"
60692
60693 # Set up the scripts for CONFIG_HEADERS section.
60694 # No need to generate them if there are no CONFIG_HEADERS.
60695 # This happens for instance with `./config.status Makefile'.
60696 if test -n "$CONFIG_HEADERS"; then
60697 cat >"$tmp/defines.awk" <<\_ACAWK ||
60698 BEGIN {
60699 _ACEOF
60700
60701 # Transform confdefs.h into an awk script `defines.awk', embedded as
60702 # here-document in config.status, that substitutes the proper values into
60703 # config.h.in to produce config.h.
60704
60705 # Create a delimiter string that does not exist in confdefs.h, to ease
60706 # handling of long lines.
60707 ac_delim='%!_!# '
60708 for ac_last_try in false false :; do
60709   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60710   if test -z "$ac_t"; then
60711     break
60712   elif $ac_last_try; then
60713     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60714   else
60715     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60716   fi
60717 done
60718
60719 # For the awk script, D is an array of macro values keyed by name,
60720 # likewise P contains macro parameters if any.  Preserve backslash
60721 # newline sequences.
60722
60723 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60724 sed -n '
60725 s/.\{148\}/&'"$ac_delim"'/g
60726 t rset
60727 :rset
60728 s/^[     ]*#[    ]*define[       ][      ]*/ /
60729 t def
60730 d
60731 :def
60732 s/\\$//
60733 t bsnl
60734 s/["\\]/\\&/g
60735 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60736 D["\1"]=" \3"/p
60737 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60738 d
60739 :bsnl
60740 s/["\\]/\\&/g
60741 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60742 D["\1"]=" \3\\\\\\n"\\/p
60743 t cont
60744 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60745 t cont
60746 d
60747 :cont
60748 n
60749 s/.\{148\}/&'"$ac_delim"'/g
60750 t clear
60751 :clear
60752 s/\\$//
60753 t bsnlc
60754 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60755 d
60756 :bsnlc
60757 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60758 b cont
60759 ' <confdefs.h | sed '
60760 s/'"$ac_delim"'/"\\\
60761 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60762
60763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60764   for (key in D) D_is_set[key] = 1
60765   FS = "\a"
60766 }
60767 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60768   line = \$ 0
60769   split(line, arg, " ")
60770   if (arg[1] == "#") {
60771     defundef = arg[2]
60772     mac1 = arg[3]
60773   } else {
60774     defundef = substr(arg[1], 2)
60775     mac1 = arg[2]
60776   }
60777   split(mac1, mac2, "(") #)
60778   macro = mac2[1]
60779   prefix = substr(line, 1, index(line, defundef) - 1)
60780   if (D_is_set[macro]) {
60781     # Preserve the white space surrounding the "#".
60782     print prefix "define", macro P[macro] D[macro]
60783     next
60784   } else {
60785     # Replace #undef with comments.  This is necessary, for example,
60786     # in the case of _POSIX_SOURCE, which is predefined and required
60787     # on some systems where configure will not decide to define it.
60788     if (defundef == "undef") {
60789       print "/*", prefix defundef, macro, "*/"
60790       next
60791     }
60792   }
60793 }
60794 { print }
60795 _ACAWK
60796 _ACEOF
60797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60798   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60799 fi # test -n "$CONFIG_HEADERS"
60800
60801
60802 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60803 shift
60804 for ac_tag
60805 do
60806   case $ac_tag in
60807   :[FHLC]) ac_mode=$ac_tag; continue;;
60808   esac
60809   case $ac_mode$ac_tag in
60810   :[FHL]*:*);;
60811   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60812   :[FH]-) ac_tag=-:-;;
60813   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60814   esac
60815   ac_save_IFS=$IFS
60816   IFS=:
60817   set x $ac_tag
60818   IFS=$ac_save_IFS
60819   shift
60820   ac_file=$1
60821   shift
60822
60823   case $ac_mode in
60824   :L) ac_source=$1;;
60825   :[FH])
60826     ac_file_inputs=
60827     for ac_f
60828     do
60829       case $ac_f in
60830       -) ac_f="$tmp/stdin";;
60831       *) # Look for the file first in the build tree, then in the source tree
60832          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60833          # because $ac_f cannot contain `:'.
60834          test -f "$ac_f" ||
60835            case $ac_f in
60836            [\\/$]*) false;;
60837            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60838            esac ||
60839            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60840       esac
60841       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60842       as_fn_append ac_file_inputs " '$ac_f'"
60843     done
60844
60845     # Let's still pretend it is `configure' which instantiates (i.e., don't
60846     # use $as_me), people would be surprised to read:
60847     #    /* config.h.  Generated by config.status.  */
60848     configure_input='Generated from '`
60849           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60850         `' by configure.'
60851     if test x"$ac_file" != x-; then
60852       configure_input="$ac_file.  $configure_input"
60853       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60854 $as_echo "$as_me: creating $ac_file" >&6;}
60855     fi
60856     # Neutralize special characters interpreted by sed in replacement strings.
60857     case $configure_input in #(
60858     *\&* | *\|* | *\\* )
60859        ac_sed_conf_input=`$as_echo "$configure_input" |
60860        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60861     *) ac_sed_conf_input=$configure_input;;
60862     esac
60863
60864     case $ac_tag in
60865     *:-:* | *:-) cat >"$tmp/stdin" \
60866       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60867     esac
60868     ;;
60869   esac
60870
60871   ac_dir=`$as_dirname -- "$ac_file" ||
60872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60873          X"$ac_file" : 'X\(//\)[^/]' \| \
60874          X"$ac_file" : 'X\(//\)$' \| \
60875          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60876 $as_echo X"$ac_file" |
60877     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60878             s//\1/
60879             q
60880           }
60881           /^X\(\/\/\)[^/].*/{
60882             s//\1/
60883             q
60884           }
60885           /^X\(\/\/\)$/{
60886             s//\1/
60887             q
60888           }
60889           /^X\(\/\).*/{
60890             s//\1/
60891             q
60892           }
60893           s/.*/./; q'`
60894   as_dir="$ac_dir"; as_fn_mkdir_p
60895   ac_builddir=.
60896
60897 case "$ac_dir" in
60898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60899 *)
60900   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60901   # A ".." for each directory in $ac_dir_suffix.
60902   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60903   case $ac_top_builddir_sub in
60904   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60905   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60906   esac ;;
60907 esac
60908 ac_abs_top_builddir=$ac_pwd
60909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60910 # for backward compatibility:
60911 ac_top_builddir=$ac_top_build_prefix
60912
60913 case $srcdir in
60914   .)  # We are building in place.
60915     ac_srcdir=.
60916     ac_top_srcdir=$ac_top_builddir_sub
60917     ac_abs_top_srcdir=$ac_pwd ;;
60918   [\\/]* | ?:[\\/]* )  # Absolute name.
60919     ac_srcdir=$srcdir$ac_dir_suffix;
60920     ac_top_srcdir=$srcdir
60921     ac_abs_top_srcdir=$srcdir ;;
60922   *) # Relative name.
60923     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60924     ac_top_srcdir=$ac_top_build_prefix$srcdir
60925     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60926 esac
60927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60928
60929
60930   case $ac_mode in
60931   :F)
60932   #
60933   # CONFIG_FILE
60934   #
60935
60936   case $INSTALL in
60937   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60938   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60939   esac
60940   ac_MKDIR_P=$MKDIR_P
60941   case $MKDIR_P in
60942   [\\/$]* | ?:[\\/]* ) ;;
60943   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60944   esac
60945 _ACEOF
60946
60947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60948 # If the template does not know about datarootdir, expand it.
60949 # FIXME: This hack should be removed a few years after 2.60.
60950 ac_datarootdir_hack=; ac_datarootdir_seen=
60951 ac_sed_dataroot='
60952 /datarootdir/ {
60953   p
60954   q
60955 }
60956 /@datadir@/p
60957 /@docdir@/p
60958 /@infodir@/p
60959 /@localedir@/p
60960 /@mandir@/p'
60961 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60962 *datarootdir*) ac_datarootdir_seen=yes;;
60963 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60964   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60965 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60966 _ACEOF
60967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60968   ac_datarootdir_hack='
60969   s&@datadir@&$datadir&g
60970   s&@docdir@&$docdir&g
60971   s&@infodir@&$infodir&g
60972   s&@localedir@&$localedir&g
60973   s&@mandir@&$mandir&g
60974   s&\\\${datarootdir}&$datarootdir&g' ;;
60975 esac
60976 _ACEOF
60977
60978 # Neutralize VPATH when `$srcdir' = `.'.
60979 # Shell code in configure.ac might set extrasub.
60980 # FIXME: do we really want to maintain this feature?
60981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60982 ac_sed_extra="$ac_vpsub
60983 $extrasub
60984 _ACEOF
60985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60986 :t
60987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60988 s|@configure_input@|$ac_sed_conf_input|;t t
60989 s&@top_builddir@&$ac_top_builddir_sub&;t t
60990 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60991 s&@srcdir@&$ac_srcdir&;t t
60992 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60993 s&@top_srcdir@&$ac_top_srcdir&;t t
60994 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60995 s&@builddir@&$ac_builddir&;t t
60996 s&@abs_builddir@&$ac_abs_builddir&;t t
60997 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60998 s&@INSTALL@&$ac_INSTALL&;t t
60999 s&@MKDIR_P@&$ac_MKDIR_P&;t t
61000 $ac_datarootdir_hack
61001 "
61002 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
61003   || as_fn_error "could not create $ac_file" "$LINENO" 5
61004
61005 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61006   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
61007   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
61008   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61009 which seems to be undefined.  Please make sure it is defined." >&5
61010 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61011 which seems to be undefined.  Please make sure it is defined." >&2;}
61012
61013   rm -f "$tmp/stdin"
61014   case $ac_file in
61015   -) cat "$tmp/out" && rm -f "$tmp/out";;
61016   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
61017   esac \
61018   || as_fn_error "could not create $ac_file" "$LINENO" 5
61019  ;;
61020   :H)
61021   #
61022   # CONFIG_HEADER
61023   #
61024   if test x"$ac_file" != x-; then
61025     {
61026       $as_echo "/* $configure_input  */" \
61027       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
61028     } >"$tmp/config.h" \
61029       || as_fn_error "could not create $ac_file" "$LINENO" 5
61030     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
61031       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61032 $as_echo "$as_me: $ac_file is unchanged" >&6;}
61033     else
61034       rm -f "$ac_file"
61035       mv "$tmp/config.h" "$ac_file" \
61036         || as_fn_error "could not create $ac_file" "$LINENO" 5
61037     fi
61038   else
61039     $as_echo "/* $configure_input  */" \
61040       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
61041       || as_fn_error "could not create -" "$LINENO" 5
61042   fi
61043 # Compute "$ac_file"'s index in $config_headers.
61044 _am_arg="$ac_file"
61045 _am_stamp_count=1
61046 for _am_header in $config_headers :; do
61047   case $_am_header in
61048     $_am_arg | $_am_arg:* )
61049       break ;;
61050     * )
61051       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61052   esac
61053 done
61054 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61055 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61056          X"$_am_arg" : 'X\(//\)[^/]' \| \
61057          X"$_am_arg" : 'X\(//\)$' \| \
61058          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61059 $as_echo X"$_am_arg" |
61060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61061             s//\1/
61062             q
61063           }
61064           /^X\(\/\/\)[^/].*/{
61065             s//\1/
61066             q
61067           }
61068           /^X\(\/\/\)$/{
61069             s//\1/
61070             q
61071           }
61072           /^X\(\/\).*/{
61073             s//\1/
61074             q
61075           }
61076           s/.*/./; q'`/stamp-h$_am_stamp_count
61077  ;;
61078
61079   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61080 $as_echo "$as_me: executing $ac_file commands" >&6;}
61081  ;;
61082   esac
61083
61084
61085   case $ac_file$ac_mode in
61086     "default-1":C)
61087 # Only add multilib support code if we just rebuilt the top-level
61088 # Makefile.
61089 case " $CONFIG_FILES " in
61090  *" Makefile "*)
61091    ac_file=Makefile . ${multi_basedir}/config-ml.in
61092    ;;
61093 esac ;;
61094     "libtool":C)
61095
61096     # See if we are running on zsh, and set the options which allow our
61097     # commands through without removal of \ escapes.
61098     if test -n "${ZSH_VERSION+set}" ; then
61099       setopt NO_GLOB_SUBST
61100     fi
61101
61102     cfgfile="${ofile}T"
61103     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
61104     $RM "$cfgfile"
61105
61106     cat <<_LT_EOF >> "$cfgfile"
61107 #! $SHELL
61108
61109 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
61110 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
61111 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
61112 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
61113 #
61114 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
61115 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
61116 #   Written by Gordon Matzigkeit, 1996
61117 #
61118 #   This file is part of GNU Libtool.
61119 #
61120 # GNU Libtool is free software; you can redistribute it and/or
61121 # modify it under the terms of the GNU General Public License as
61122 # published by the Free Software Foundation; either version 2 of
61123 # the License, or (at your option) any later version.
61124 #
61125 # As a special exception to the GNU General Public License,
61126 # if you distribute this file as part of a program or library that
61127 # is built using GNU Libtool, you may include this file under the
61128 # same distribution terms that you use for the rest of that program.
61129 #
61130 # GNU Libtool is distributed in the hope that it will be useful,
61131 # but WITHOUT ANY WARRANTY; without even the implied warranty of
61132 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61133 # GNU General Public License for more details.
61134 #
61135 # You should have received a copy of the GNU General Public License
61136 # along with GNU Libtool; see the file COPYING.  If not, a copy
61137 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
61138 # obtained by writing to the Free Software Foundation, Inc.,
61139 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
61140
61141
61142 # The names of the tagged configurations supported by this script.
61143 available_tags="CXX "
61144
61145 # ### BEGIN LIBTOOL CONFIG
61146
61147 # Which release of libtool.m4 was used?
61148 macro_version=$macro_version
61149 macro_revision=$macro_revision
61150
61151 # Whether or not to build shared libraries.
61152 build_libtool_libs=$enable_shared
61153
61154 # Whether or not to build static libraries.
61155 build_old_libs=$enable_static
61156
61157 # What type of objects to build.
61158 pic_mode=$pic_mode
61159
61160 # Whether or not to optimize for fast installation.
61161 fast_install=$enable_fast_install
61162
61163 # Shell to use when invoking shell scripts.
61164 SHELL=$lt_SHELL
61165
61166 # An echo program that protects backslashes.
61167 ECHO=$lt_ECHO
61168
61169 # The host system.
61170 host_alias=$host_alias
61171 host=$host
61172 host_os=$host_os
61173
61174 # The build system.
61175 build_alias=$build_alias
61176 build=$build
61177 build_os=$build_os
61178
61179 # A sed program that does not truncate output.
61180 SED=$lt_SED
61181
61182 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61183 Xsed="\$SED -e 1s/^X//"
61184
61185 # A grep program that handles long lines.
61186 GREP=$lt_GREP
61187
61188 # An ERE matcher.
61189 EGREP=$lt_EGREP
61190
61191 # A literal string matcher.
61192 FGREP=$lt_FGREP
61193
61194 # A BSD- or MS-compatible name lister.
61195 NM=$lt_NM
61196
61197 # Whether we need soft or hard links.
61198 LN_S=$lt_LN_S
61199
61200 # What is the maximum length of a command?
61201 max_cmd_len=$max_cmd_len
61202
61203 # Object file suffix (normally "o").
61204 objext=$ac_objext
61205
61206 # Executable file suffix (normally "").
61207 exeext=$exeext
61208
61209 # whether the shell understands "unset".
61210 lt_unset=$lt_unset
61211
61212 # turn spaces into newlines.
61213 SP2NL=$lt_lt_SP2NL
61214
61215 # turn newlines into spaces.
61216 NL2SP=$lt_lt_NL2SP
61217
61218 # An object symbol dumper.
61219 OBJDUMP=$lt_OBJDUMP
61220
61221 # Method to check whether dependent libraries are shared objects.
61222 deplibs_check_method=$lt_deplibs_check_method
61223
61224 # Command to use when deplibs_check_method == "file_magic".
61225 file_magic_cmd=$lt_file_magic_cmd
61226
61227 # The archiver.
61228 AR=$lt_AR
61229 AR_FLAGS=$lt_AR_FLAGS
61230
61231 # A symbol stripping program.
61232 STRIP=$lt_STRIP
61233
61234 # Commands used to install an old-style archive.
61235 RANLIB=$lt_RANLIB
61236 old_postinstall_cmds=$lt_old_postinstall_cmds
61237 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61238
61239 # Whether to use a lock for old archive extraction.
61240 lock_old_archive_extraction=$lock_old_archive_extraction
61241
61242 # A C compiler.
61243 LTCC=$lt_CC
61244
61245 # LTCC compiler flags.
61246 LTCFLAGS=$lt_CFLAGS
61247
61248 # Take the output of nm and produce a listing of raw symbols and C names.
61249 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61250
61251 # Transform the output of nm in a proper C declaration.
61252 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61253
61254 # Transform the output of nm in a C name address pair.
61255 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61256
61257 # Transform the output of nm in a C name address pair when lib prefix is needed.
61258 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61259
61260 # The name of the directory that contains temporary libtool files.
61261 objdir=$objdir
61262
61263 # Used to examine libraries when file_magic_cmd begins with "file".
61264 MAGIC_CMD=$MAGIC_CMD
61265
61266 # Must we lock files when doing compilation?
61267 need_locks=$lt_need_locks
61268
61269 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61270 DSYMUTIL=$lt_DSYMUTIL
61271
61272 # Tool to change global to local symbols on Mac OS X.
61273 NMEDIT=$lt_NMEDIT
61274
61275 # Tool to manipulate fat objects and archives on Mac OS X.
61276 LIPO=$lt_LIPO
61277
61278 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61279 OTOOL=$lt_OTOOL
61280
61281 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61282 OTOOL64=$lt_OTOOL64
61283
61284 # Old archive suffix (normally "a").
61285 libext=$libext
61286
61287 # Shared library suffix (normally ".so").
61288 shrext_cmds=$lt_shrext_cmds
61289
61290 # The commands to extract the exported symbol list from a shared archive.
61291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61292
61293 # Variables whose values should be saved in libtool wrapper scripts and
61294 # restored at link time.
61295 variables_saved_for_relink=$lt_variables_saved_for_relink
61296
61297 # Do we need the "lib" prefix for modules?
61298 need_lib_prefix=$need_lib_prefix
61299
61300 # Do we need a version for libraries?
61301 need_version=$need_version
61302
61303 # Library versioning type.
61304 version_type=$version_type
61305
61306 # Shared library runtime path variable.
61307 runpath_var=$runpath_var
61308
61309 # Shared library path variable.
61310 shlibpath_var=$shlibpath_var
61311
61312 # Is shlibpath searched before the hard-coded library search path?
61313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61314
61315 # Format of library name prefix.
61316 libname_spec=$lt_libname_spec
61317
61318 # List of archive names.  First name is the real one, the rest are links.
61319 # The last name is the one that the linker finds with -lNAME
61320 library_names_spec=$lt_library_names_spec
61321
61322 # The coded name of the library, if different from the real name.
61323 soname_spec=$lt_soname_spec
61324
61325 # Permission mode override for installation of shared libraries.
61326 install_override_mode=$lt_install_override_mode
61327
61328 # Command to use after installation of a shared archive.
61329 postinstall_cmds=$lt_postinstall_cmds
61330
61331 # Command to use after uninstallation of a shared archive.
61332 postuninstall_cmds=$lt_postuninstall_cmds
61333
61334 # Commands used to finish a libtool library installation in a directory.
61335 finish_cmds=$lt_finish_cmds
61336
61337 # As "finish_cmds", except a single script fragment to be evaled but
61338 # not shown.
61339 finish_eval=$lt_finish_eval
61340
61341 # Whether we should hardcode library paths into libraries.
61342 hardcode_into_libs=$hardcode_into_libs
61343
61344 # Compile-time system search path for libraries.
61345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61346
61347 # Run-time system search path for libraries.
61348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61349
61350 # Whether dlopen is supported.
61351 dlopen_support=$enable_dlopen
61352
61353 # Whether dlopen of programs is supported.
61354 dlopen_self=$enable_dlopen_self
61355
61356 # Whether dlopen of statically linked programs is supported.
61357 dlopen_self_static=$enable_dlopen_self_static
61358
61359 # Commands to strip libraries.
61360 old_striplib=$lt_old_striplib
61361 striplib=$lt_striplib
61362
61363
61364 # The linker used to build libraries.
61365 LD=$lt_LD
61366
61367 # How to create reloadable object files.
61368 reload_flag=$lt_reload_flag
61369 reload_cmds=$lt_reload_cmds
61370
61371 # Commands used to build an old-style archive.
61372 old_archive_cmds=$lt_old_archive_cmds
61373
61374 # A language specific compiler.
61375 CC=$lt_compiler
61376
61377 # Is the compiler the GNU compiler?
61378 with_gcc=$GCC
61379
61380 # Compiler flag to turn off builtin functions.
61381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61382
61383 # How to pass a linker flag through the compiler.
61384 wl=$lt_lt_prog_compiler_wl
61385
61386 # Additional compiler flags for building library objects.
61387 pic_flag=$lt_lt_prog_compiler_pic
61388
61389 # Compiler flag to prevent dynamic linking.
61390 link_static_flag=$lt_lt_prog_compiler_static
61391
61392 # Does compiler simultaneously support -c and -o options?
61393 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61394
61395 # Whether or not to add -lc for building shared libraries.
61396 build_libtool_need_lc=$archive_cmds_need_lc
61397
61398 # Whether or not to disallow shared libs when runtime libs are static.
61399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61400
61401 # Compiler flag to allow reflexive dlopens.
61402 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61403
61404 # Compiler flag to generate shared objects directly from archives.
61405 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61406
61407 # Whether the compiler copes with passing no objects directly.
61408 compiler_needs_object=$lt_compiler_needs_object
61409
61410 # Create an old-style archive from a shared archive.
61411 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61412
61413 # Create a temporary old-style archive to link instead of a shared archive.
61414 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61415
61416 # Commands used to build a shared archive.
61417 archive_cmds=$lt_archive_cmds
61418 archive_expsym_cmds=$lt_archive_expsym_cmds
61419
61420 # Commands used to build a loadable module if different from building
61421 # a shared archive.
61422 module_cmds=$lt_module_cmds
61423 module_expsym_cmds=$lt_module_expsym_cmds
61424
61425 # Whether we are building with GNU ld or not.
61426 with_gnu_ld=$lt_with_gnu_ld
61427
61428 # Flag that allows shared libraries with undefined symbols to be built.
61429 allow_undefined_flag=$lt_allow_undefined_flag
61430
61431 # Flag that enforces no undefined symbols.
61432 no_undefined_flag=$lt_no_undefined_flag
61433
61434 # Flag to hardcode \$libdir into a binary during linking.
61435 # This must work even if \$libdir does not exist
61436 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61437
61438 # If ld is used when linking, flag to hardcode \$libdir into a binary
61439 # during linking.  This must work even if \$libdir does not exist.
61440 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61441
61442 # Whether we need a single "-rpath" flag with a separated argument.
61443 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61444
61445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61446 # DIR into the resulting binary.
61447 hardcode_direct=$hardcode_direct
61448
61449 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61450 # DIR into the resulting binary and the resulting library dependency is
61451 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61452 # library is relocated.
61453 hardcode_direct_absolute=$hardcode_direct_absolute
61454
61455 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61456 # into the resulting binary.
61457 hardcode_minus_L=$hardcode_minus_L
61458
61459 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61460 # into the resulting binary.
61461 hardcode_shlibpath_var=$hardcode_shlibpath_var
61462
61463 # Set to "yes" if building a shared library automatically hardcodes DIR
61464 # into the library and all subsequent libraries and executables linked
61465 # against it.
61466 hardcode_automatic=$hardcode_automatic
61467
61468 # Set to yes if linker adds runtime paths of dependent libraries
61469 # to runtime path list.
61470 inherit_rpath=$inherit_rpath
61471
61472 # Whether libtool must link a program against all its dependency libraries.
61473 link_all_deplibs=$link_all_deplibs
61474
61475 # Fix the shell variable \$srcfile for the compiler.
61476 fix_srcfile_path=$lt_fix_srcfile_path
61477
61478 # Set to "yes" if exported symbols are required.
61479 always_export_symbols=$always_export_symbols
61480
61481 # The commands to list exported symbols.
61482 export_symbols_cmds=$lt_export_symbols_cmds
61483
61484 # Symbols that should not be listed in the preloaded symbols.
61485 exclude_expsyms=$lt_exclude_expsyms
61486
61487 # Symbols that must always be exported.
61488 include_expsyms=$lt_include_expsyms
61489
61490 # Commands necessary for linking programs (against libraries) with templates.
61491 prelink_cmds=$lt_prelink_cmds
61492
61493 # Specify filename containing input files.
61494 file_list_spec=$lt_file_list_spec
61495
61496 # How to hardcode a shared library path into an executable.
61497 hardcode_action=$hardcode_action
61498
61499 # The directories searched by this compiler when creating a shared library.
61500 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61501
61502 # Dependencies to place before and after the objects being linked to
61503 # create a shared library.
61504 predep_objects=$lt_predep_objects
61505 postdep_objects=$lt_postdep_objects
61506 predeps=$lt_predeps
61507 postdeps=$lt_postdeps
61508
61509 # The library search path used internally by the compiler when linking
61510 # a shared library.
61511 compiler_lib_search_path=$lt_compiler_lib_search_path
61512
61513 # ### END LIBTOOL CONFIG
61514
61515 _LT_EOF
61516
61517   case $host_os in
61518   aix3*)
61519     cat <<\_LT_EOF >> "$cfgfile"
61520 # AIX sometimes has problems with the GCC collect2 program.  For some
61521 # reason, if we set the COLLECT_NAMES environment variable, the problems
61522 # vanish in a puff of smoke.
61523 if test "X${COLLECT_NAMES+set}" != Xset; then
61524   COLLECT_NAMES=
61525   export COLLECT_NAMES
61526 fi
61527 _LT_EOF
61528     ;;
61529   esac
61530
61531
61532 ltmain="$ac_aux_dir/ltmain.sh"
61533
61534
61535   # We use sed instead of cat because bash on DJGPP gets confused if
61536   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61537   # text mode, it properly converts lines to CR/LF.  This bash problem
61538   # is reportedly fixed, but why not run on old versions too?
61539   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61540     || (rm -f "$cfgfile"; exit 1)
61541
61542   case $xsi_shell in
61543   yes)
61544     cat << \_LT_EOF >> "$cfgfile"
61545
61546 # func_dirname file append nondir_replacement
61547 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61548 # otherwise set result to NONDIR_REPLACEMENT.
61549 func_dirname ()
61550 {
61551   case ${1} in
61552     */*) func_dirname_result="${1%/*}${2}" ;;
61553     *  ) func_dirname_result="${3}" ;;
61554   esac
61555 }
61556
61557 # func_basename file
61558 func_basename ()
61559 {
61560   func_basename_result="${1##*/}"
61561 }
61562
61563 # func_dirname_and_basename file append nondir_replacement
61564 # perform func_basename and func_dirname in a single function
61565 # call:
61566 #   dirname:  Compute the dirname of FILE.  If nonempty,
61567 #             add APPEND to the result, otherwise set result
61568 #             to NONDIR_REPLACEMENT.
61569 #             value returned in "$func_dirname_result"
61570 #   basename: Compute filename of FILE.
61571 #             value retuned in "$func_basename_result"
61572 # Implementation must be kept synchronized with func_dirname
61573 # and func_basename. For efficiency, we do not delegate to
61574 # those functions but instead duplicate the functionality here.
61575 func_dirname_and_basename ()
61576 {
61577   case ${1} in
61578     */*) func_dirname_result="${1%/*}${2}" ;;
61579     *  ) func_dirname_result="${3}" ;;
61580   esac
61581   func_basename_result="${1##*/}"
61582 }
61583
61584 # func_stripname prefix suffix name
61585 # strip PREFIX and SUFFIX off of NAME.
61586 # PREFIX and SUFFIX must not contain globbing or regex special
61587 # characters, hashes, percent signs, but SUFFIX may contain a leading
61588 # dot (in which case that matches only a dot).
61589 func_stripname ()
61590 {
61591   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61592   # positional parameters, so assign one to ordinary parameter first.
61593   func_stripname_result=${3}
61594   func_stripname_result=${func_stripname_result#"${1}"}
61595   func_stripname_result=${func_stripname_result%"${2}"}
61596 }
61597
61598 # func_opt_split
61599 func_opt_split ()
61600 {
61601   func_opt_split_opt=${1%%=*}
61602   func_opt_split_arg=${1#*=}
61603 }
61604
61605 # func_lo2o object
61606 func_lo2o ()
61607 {
61608   case ${1} in
61609     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61610     *)    func_lo2o_result=${1} ;;
61611   esac
61612 }
61613
61614 # func_xform libobj-or-source
61615 func_xform ()
61616 {
61617   func_xform_result=${1%.*}.lo
61618 }
61619
61620 # func_arith arithmetic-term...
61621 func_arith ()
61622 {
61623   func_arith_result=$(( $* ))
61624 }
61625
61626 # func_len string
61627 # STRING may not start with a hyphen.
61628 func_len ()
61629 {
61630   func_len_result=${#1}
61631 }
61632
61633 _LT_EOF
61634     ;;
61635   *) # Bourne compatible functions.
61636     cat << \_LT_EOF >> "$cfgfile"
61637
61638 # func_dirname file append nondir_replacement
61639 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61640 # otherwise set result to NONDIR_REPLACEMENT.
61641 func_dirname ()
61642 {
61643   # Extract subdirectory from the argument.
61644   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61645   if test "X$func_dirname_result" = "X${1}"; then
61646     func_dirname_result="${3}"
61647   else
61648     func_dirname_result="$func_dirname_result${2}"
61649   fi
61650 }
61651
61652 # func_basename file
61653 func_basename ()
61654 {
61655   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61656 }
61657
61658
61659 # func_stripname prefix suffix name
61660 # strip PREFIX and SUFFIX off of NAME.
61661 # PREFIX and SUFFIX must not contain globbing or regex special
61662 # characters, hashes, percent signs, but SUFFIX may contain a leading
61663 # dot (in which case that matches only a dot).
61664 # func_strip_suffix prefix name
61665 func_stripname ()
61666 {
61667   case ${2} in
61668     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61669     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61670   esac
61671 }
61672
61673 # sed scripts:
61674 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61675 my_sed_long_arg='1s/^-[^=]*=//'
61676
61677 # func_opt_split
61678 func_opt_split ()
61679 {
61680   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61681   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61682 }
61683
61684 # func_lo2o object
61685 func_lo2o ()
61686 {
61687   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61688 }
61689
61690 # func_xform libobj-or-source
61691 func_xform ()
61692 {
61693   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61694 }
61695
61696 # func_arith arithmetic-term...
61697 func_arith ()
61698 {
61699   func_arith_result=`expr "$@"`
61700 }
61701
61702 # func_len string
61703 # STRING may not start with a hyphen.
61704 func_len ()
61705 {
61706   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61707 }
61708
61709 _LT_EOF
61710 esac
61711
61712 case $lt_shell_append in
61713   yes)
61714     cat << \_LT_EOF >> "$cfgfile"
61715
61716 # func_append var value
61717 # Append VALUE to the end of shell variable VAR.
61718 func_append ()
61719 {
61720   eval "$1+=\$2"
61721 }
61722 _LT_EOF
61723     ;;
61724   *)
61725     cat << \_LT_EOF >> "$cfgfile"
61726
61727 # func_append var value
61728 # Append VALUE to the end of shell variable VAR.
61729 func_append ()
61730 {
61731   eval "$1=\$$1\$2"
61732 }
61733
61734 _LT_EOF
61735     ;;
61736   esac
61737
61738
61739   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61740     || (rm -f "$cfgfile"; exit 1)
61741
61742   mv -f "$cfgfile" "$ofile" ||
61743     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61744   chmod +x "$ofile"
61745
61746
61747     cat <<_LT_EOF >> "$ofile"
61748
61749 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61750
61751 # The linker used to build libraries.
61752 LD=$lt_LD_CXX
61753
61754 # How to create reloadable object files.
61755 reload_flag=$lt_reload_flag_CXX
61756 reload_cmds=$lt_reload_cmds_CXX
61757
61758 # Commands used to build an old-style archive.
61759 old_archive_cmds=$lt_old_archive_cmds_CXX
61760
61761 # A language specific compiler.
61762 CC=$lt_compiler_CXX
61763
61764 # Is the compiler the GNU compiler?
61765 with_gcc=$GCC_CXX
61766
61767 # Compiler flag to turn off builtin functions.
61768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61769
61770 # How to pass a linker flag through the compiler.
61771 wl=$lt_lt_prog_compiler_wl_CXX
61772
61773 # Additional compiler flags for building library objects.
61774 pic_flag=$lt_lt_prog_compiler_pic_CXX
61775
61776 # Compiler flag to prevent dynamic linking.
61777 link_static_flag=$lt_lt_prog_compiler_static_CXX
61778
61779 # Does compiler simultaneously support -c and -o options?
61780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61781
61782 # Whether or not to add -lc for building shared libraries.
61783 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61784
61785 # Whether or not to disallow shared libs when runtime libs are static.
61786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61787
61788 # Compiler flag to allow reflexive dlopens.
61789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61790
61791 # Compiler flag to generate shared objects directly from archives.
61792 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61793
61794 # Whether the compiler copes with passing no objects directly.
61795 compiler_needs_object=$lt_compiler_needs_object_CXX
61796
61797 # Create an old-style archive from a shared archive.
61798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61799
61800 # Create a temporary old-style archive to link instead of a shared archive.
61801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61802
61803 # Commands used to build a shared archive.
61804 archive_cmds=$lt_archive_cmds_CXX
61805 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61806
61807 # Commands used to build a loadable module if different from building
61808 # a shared archive.
61809 module_cmds=$lt_module_cmds_CXX
61810 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61811
61812 # Whether we are building with GNU ld or not.
61813 with_gnu_ld=$lt_with_gnu_ld_CXX
61814
61815 # Flag that allows shared libraries with undefined symbols to be built.
61816 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61817
61818 # Flag that enforces no undefined symbols.
61819 no_undefined_flag=$lt_no_undefined_flag_CXX
61820
61821 # Flag to hardcode \$libdir into a binary during linking.
61822 # This must work even if \$libdir does not exist
61823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61824
61825 # If ld is used when linking, flag to hardcode \$libdir into a binary
61826 # during linking.  This must work even if \$libdir does not exist.
61827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61828
61829 # Whether we need a single "-rpath" flag with a separated argument.
61830 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61831
61832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61833 # DIR into the resulting binary.
61834 hardcode_direct=$hardcode_direct_CXX
61835
61836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61837 # DIR into the resulting binary and the resulting library dependency is
61838 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61839 # library is relocated.
61840 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61841
61842 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61843 # into the resulting binary.
61844 hardcode_minus_L=$hardcode_minus_L_CXX
61845
61846 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61847 # into the resulting binary.
61848 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61849
61850 # Set to "yes" if building a shared library automatically hardcodes DIR
61851 # into the library and all subsequent libraries and executables linked
61852 # against it.
61853 hardcode_automatic=$hardcode_automatic_CXX
61854
61855 # Set to yes if linker adds runtime paths of dependent libraries
61856 # to runtime path list.
61857 inherit_rpath=$inherit_rpath_CXX
61858
61859 # Whether libtool must link a program against all its dependency libraries.
61860 link_all_deplibs=$link_all_deplibs_CXX
61861
61862 # Fix the shell variable \$srcfile for the compiler.
61863 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61864
61865 # Set to "yes" if exported symbols are required.
61866 always_export_symbols=$always_export_symbols_CXX
61867
61868 # The commands to list exported symbols.
61869 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61870
61871 # Symbols that should not be listed in the preloaded symbols.
61872 exclude_expsyms=$lt_exclude_expsyms_CXX
61873
61874 # Symbols that must always be exported.
61875 include_expsyms=$lt_include_expsyms_CXX
61876
61877 # Commands necessary for linking programs (against libraries) with templates.
61878 prelink_cmds=$lt_prelink_cmds_CXX
61879
61880 # Specify filename containing input files.
61881 file_list_spec=$lt_file_list_spec_CXX
61882
61883 # How to hardcode a shared library path into an executable.
61884 hardcode_action=$hardcode_action_CXX
61885
61886 # The directories searched by this compiler when creating a shared library.
61887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61888
61889 # Dependencies to place before and after the objects being linked to
61890 # create a shared library.
61891 predep_objects=$lt_predep_objects_CXX
61892 postdep_objects=$lt_postdep_objects_CXX
61893 predeps=$lt_predeps_CXX
61894 postdeps=$lt_postdeps_CXX
61895
61896 # The library search path used internally by the compiler when linking
61897 # a shared library.
61898 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61899
61900 # ### END LIBTOOL TAG CONFIG: CXX
61901 _LT_EOF
61902
61903  ;;
61904     "include/gstdint.h":C)
61905 if test "$GCC" = yes; then
61906   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61907 else
61908   echo "/* generated for $CC */" > tmp-stdint.h
61909 fi
61910
61911 sed 's/^ *//' >> tmp-stdint.h <<EOF
61912
61913   #ifndef GCC_GENERATED_STDINT_H
61914   #define GCC_GENERATED_STDINT_H 1
61915
61916   #include <sys/types.h>
61917 EOF
61918
61919 if test "$acx_cv_header_stdint" != stdint.h; then
61920   echo "#include <stddef.h>" >> tmp-stdint.h
61921 fi
61922 if test "$acx_cv_header_stdint" != stddef.h; then
61923   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61924 fi
61925
61926 sed 's/^ *//' >> tmp-stdint.h <<EOF
61927   /* glibc uses these symbols as guards to prevent redefinitions.  */
61928   #ifdef __int8_t_defined
61929   #define _INT8_T
61930   #define _INT16_T
61931   #define _INT32_T
61932   #endif
61933   #ifdef __uint32_t_defined
61934   #define _UINT32_T
61935   #endif
61936
61937 EOF
61938
61939 # ----------------- done header, emit basic int types -------------
61940 if test "$acx_cv_header_stdint" = stddef.h; then
61941   sed 's/^ *//' >> tmp-stdint.h <<EOF
61942
61943     #ifndef _UINT8_T
61944     #define _UINT8_T
61945     #ifndef __uint8_t_defined
61946     #define __uint8_t_defined
61947     #ifndef uint8_t
61948     typedef unsigned $acx_cv_type_int8_t uint8_t;
61949     #endif
61950     #endif
61951     #endif
61952
61953     #ifndef _UINT16_T
61954     #define _UINT16_T
61955     #ifndef __uint16_t_defined
61956     #define __uint16_t_defined
61957     #ifndef uint16_t
61958     typedef unsigned $acx_cv_type_int16_t uint16_t;
61959     #endif
61960     #endif
61961     #endif
61962
61963     #ifndef _UINT32_T
61964     #define _UINT32_T
61965     #ifndef __uint32_t_defined
61966     #define __uint32_t_defined
61967     #ifndef uint32_t
61968     typedef unsigned $acx_cv_type_int32_t uint32_t;
61969     #endif
61970     #endif
61971     #endif
61972
61973     #ifndef _INT8_T
61974     #define _INT8_T
61975     #ifndef __int8_t_defined
61976     #define __int8_t_defined
61977     #ifndef int8_t
61978     typedef $acx_cv_type_int8_t int8_t;
61979     #endif
61980     #endif
61981     #endif
61982
61983     #ifndef _INT16_T
61984     #define _INT16_T
61985     #ifndef __int16_t_defined
61986     #define __int16_t_defined
61987     #ifndef int16_t
61988     typedef $acx_cv_type_int16_t int16_t;
61989     #endif
61990     #endif
61991     #endif
61992
61993     #ifndef _INT32_T
61994     #define _INT32_T
61995     #ifndef __int32_t_defined
61996     #define __int32_t_defined
61997     #ifndef int32_t
61998     typedef $acx_cv_type_int32_t int32_t;
61999     #endif
62000     #endif
62001     #endif
62002 EOF
62003 elif test "$ac_cv_type_u_int32_t" = yes; then
62004   sed 's/^ *//' >> tmp-stdint.h <<EOF
62005
62006     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
62007     #ifndef _INT8_T
62008     #define _INT8_T
62009     #endif
62010     #ifndef _INT16_T
62011     #define _INT16_T
62012     #endif
62013     #ifndef _INT32_T
62014     #define _INT32_T
62015     #endif
62016
62017     #ifndef _UINT8_T
62018     #define _UINT8_T
62019     #ifndef __uint8_t_defined
62020     #define __uint8_t_defined
62021     #ifndef uint8_t
62022     typedef u_int8_t uint8_t;
62023     #endif
62024     #endif
62025     #endif
62026
62027     #ifndef _UINT16_T
62028     #define _UINT16_T
62029     #ifndef __uint16_t_defined
62030     #define __uint16_t_defined
62031     #ifndef uint16_t
62032     typedef u_int16_t uint16_t;
62033     #endif
62034     #endif
62035     #endif
62036
62037     #ifndef _UINT32_T
62038     #define _UINT32_T
62039     #ifndef __uint32_t_defined
62040     #define __uint32_t_defined
62041     #ifndef uint32_t
62042     typedef u_int32_t uint32_t;
62043     #endif
62044     #endif
62045     #endif
62046 EOF
62047 else
62048   sed 's/^ *//' >> tmp-stdint.h <<EOF
62049
62050     /* Some systems have guard macros to prevent redefinitions, define them.  */
62051     #ifndef _INT8_T
62052     #define _INT8_T
62053     #endif
62054     #ifndef _INT16_T
62055     #define _INT16_T
62056     #endif
62057     #ifndef _INT32_T
62058     #define _INT32_T
62059     #endif
62060     #ifndef _UINT8_T
62061     #define _UINT8_T
62062     #endif
62063     #ifndef _UINT16_T
62064     #define _UINT16_T
62065     #endif
62066     #ifndef _UINT32_T
62067     #define _UINT32_T
62068     #endif
62069 EOF
62070 fi
62071
62072 # ------------- done basic int types, emit int64_t types ------------
62073 if test "$ac_cv_type_uint64_t" = yes; then
62074   sed 's/^ *//' >> tmp-stdint.h <<EOF
62075
62076     /* system headers have good uint64_t and int64_t */
62077     #ifndef _INT64_T
62078     #define _INT64_T
62079     #endif
62080     #ifndef _UINT64_T
62081     #define _UINT64_T
62082     #endif
62083 EOF
62084 elif test "$ac_cv_type_u_int64_t" = yes; then
62085   sed 's/^ *//' >> tmp-stdint.h <<EOF
62086
62087     /* system headers have an u_int64_t (and int64_t) */
62088     #ifndef _INT64_T
62089     #define _INT64_T
62090     #endif
62091     #ifndef _UINT64_T
62092     #define _UINT64_T
62093     #ifndef __uint64_t_defined
62094     #define __uint64_t_defined
62095     #ifndef uint64_t
62096     typedef u_int64_t uint64_t;
62097     #endif
62098     #endif
62099     #endif
62100 EOF
62101 elif test -n "$acx_cv_type_int64_t"; then
62102   sed 's/^ *//' >> tmp-stdint.h <<EOF
62103
62104     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
62105     #ifndef _INT64_T
62106     #define _INT64_T
62107     #ifndef int64_t
62108     typedef $acx_cv_type_int64_t int64_t;
62109     #endif
62110     #endif
62111     #ifndef _UINT64_T
62112     #define _UINT64_T
62113     #ifndef __uint64_t_defined
62114     #define __uint64_t_defined
62115     #ifndef uint64_t
62116     typedef unsigned $acx_cv_type_int64_t uint64_t;
62117     #endif
62118     #endif
62119     #endif
62120 EOF
62121 else
62122   sed 's/^ *//' >> tmp-stdint.h <<EOF
62123
62124     /* some common heuristics for int64_t, using compiler-specific tests */
62125     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
62126     #ifndef _INT64_T
62127     #define _INT64_T
62128     #ifndef __int64_t_defined
62129     #ifndef int64_t
62130     typedef long long int64_t;
62131     #endif
62132     #endif
62133     #endif
62134     #ifndef _UINT64_T
62135     #define _UINT64_T
62136     #ifndef uint64_t
62137     typedef unsigned long long uint64_t;
62138     #endif
62139     #endif
62140
62141     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
62142     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
62143        does not implement __extension__.  But that compiler doesn't define
62144        __GNUC_MINOR__.  */
62145     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
62146     # define __extension__
62147     # endif
62148
62149     # ifndef _INT64_T
62150     # define _INT64_T
62151     # ifndef int64_t
62152     __extension__ typedef long long int64_t;
62153     # endif
62154     # endif
62155     # ifndef _UINT64_T
62156     # define _UINT64_T
62157     # ifndef uint64_t
62158     __extension__ typedef unsigned long long uint64_t;
62159     # endif
62160     # endif
62161
62162     #elif !defined __STRICT_ANSI__
62163     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62164
62165     #  ifndef _INT64_T
62166     #  define _INT64_T
62167     #  ifndef int64_t
62168     typedef __int64 int64_t;
62169     #  endif
62170     #  endif
62171     #  ifndef _UINT64_T
62172     #  define _UINT64_T
62173     #  ifndef uint64_t
62174     typedef unsigned __int64 uint64_t;
62175     #  endif
62176     #  endif
62177     # endif /* compiler */
62178
62179     #endif /* ANSI version */
62180 EOF
62181 fi
62182
62183 # ------------- done int64_t types, emit intptr types ------------
62184 if test "$ac_cv_type_uintptr_t" != yes; then
62185   sed 's/^ *//' >> tmp-stdint.h <<EOF
62186
62187     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62188     #ifndef __uintptr_t_defined
62189     #ifndef uintptr_t
62190     typedef u$acx_cv_type_intptr_t uintptr_t;
62191     #endif
62192     #endif
62193     #ifndef __intptr_t_defined
62194     #ifndef intptr_t
62195     typedef $acx_cv_type_intptr_t  intptr_t;
62196     #endif
62197     #endif
62198 EOF
62199 fi
62200
62201 # ------------- done intptr types, emit int_least types ------------
62202 if test "$ac_cv_type_int_least32_t" != yes; then
62203   sed 's/^ *//' >> tmp-stdint.h <<EOF
62204
62205     /* Define int_least types */
62206     typedef int8_t     int_least8_t;
62207     typedef int16_t    int_least16_t;
62208     typedef int32_t    int_least32_t;
62209     #ifdef _INT64_T
62210     typedef int64_t    int_least64_t;
62211     #endif
62212
62213     typedef uint8_t    uint_least8_t;
62214     typedef uint16_t   uint_least16_t;
62215     typedef uint32_t   uint_least32_t;
62216     #ifdef _UINT64_T
62217     typedef uint64_t   uint_least64_t;
62218     #endif
62219 EOF
62220 fi
62221
62222 # ------------- done intptr types, emit int_fast types ------------
62223 if test "$ac_cv_type_int_fast32_t" != yes; then
62224       sed 's/^ *//' >> tmp-stdint.h <<EOF
62225
62226     /* Define int_fast types.  short is often slow */
62227     typedef int8_t       int_fast8_t;
62228     typedef int          int_fast16_t;
62229     typedef int32_t      int_fast32_t;
62230     #ifdef _INT64_T
62231     typedef int64_t      int_fast64_t;
62232     #endif
62233
62234     typedef uint8_t      uint_fast8_t;
62235     typedef unsigned int uint_fast16_t;
62236     typedef uint32_t     uint_fast32_t;
62237     #ifdef _UINT64_T
62238     typedef uint64_t     uint_fast64_t;
62239     #endif
62240 EOF
62241 fi
62242
62243 if test "$ac_cv_type_uintmax_t" != yes; then
62244   sed 's/^ *//' >> tmp-stdint.h <<EOF
62245
62246     /* Define intmax based on what we found */
62247     #ifndef intmax_t
62248     #ifdef _INT64_T
62249     typedef int64_t       intmax_t;
62250     #else
62251     typedef long          intmax_t;
62252     #endif
62253     #endif
62254     #ifndef uintmax_t
62255     #ifdef _UINT64_T
62256     typedef uint64_t      uintmax_t;
62257     #else
62258     typedef unsigned long uintmax_t;
62259     #endif
62260     #endif
62261 EOF
62262 fi
62263
62264 sed 's/^ *//' >> tmp-stdint.h <<EOF
62265
62266   #endif /* GCC_GENERATED_STDINT_H */
62267 EOF
62268
62269 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62270   rm -f tmp-stdint.h
62271 else
62272   mv -f tmp-stdint.h include/gstdint.h
62273 fi
62274
62275  ;;
62276     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62277     "include/Makefile":F) cat > vpsed$$ << \_EOF
62278 s!`test -f '$<' || echo '$(srcdir)/'`!!
62279 _EOF
62280    sed -f vpsed$$ $ac_file > tmp$$
62281    mv tmp$$ $ac_file
62282    rm vpsed$$
62283    echo 'MULTISUBDIR =' >> $ac_file
62284    ml_norecursion=yes
62285    . ${multi_basedir}/config-ml.in
62286    { ml_norecursion=; unset ml_norecursion;}
62287  ;;
62288     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62289 s!`test -f '$<' || echo '$(srcdir)/'`!!
62290 _EOF
62291    sed -f vpsed$$ $ac_file > tmp$$
62292    mv tmp$$ $ac_file
62293    rm vpsed$$
62294    echo 'MULTISUBDIR =' >> $ac_file
62295    ml_norecursion=yes
62296    . ${multi_basedir}/config-ml.in
62297    { ml_norecursion=; unset ml_norecursion;}
62298  ;;
62299     "python/Makefile":F) cat > vpsed$$ << \_EOF
62300 s!`test -f '$<' || echo '$(srcdir)/'`!!
62301 _EOF
62302    sed -f vpsed$$ $ac_file > tmp$$
62303    mv tmp$$ $ac_file
62304    rm vpsed$$
62305    echo 'MULTISUBDIR =' >> $ac_file
62306    ml_norecursion=yes
62307    . ${multi_basedir}/config-ml.in
62308    { ml_norecursion=; unset ml_norecursion;}
62309  ;;
62310     "src/Makefile":F) cat > vpsed$$ << \_EOF
62311 s!`test -f '$<' || echo '$(srcdir)/'`!!
62312 _EOF
62313    sed -f vpsed$$ $ac_file > tmp$$
62314    mv tmp$$ $ac_file
62315    rm vpsed$$
62316    echo 'MULTISUBDIR =' >> $ac_file
62317    ml_norecursion=yes
62318    . ${multi_basedir}/config-ml.in
62319    { ml_norecursion=; unset ml_norecursion;}
62320  ;;
62321     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62322 s!`test -f '$<' || echo '$(srcdir)/'`!!
62323 _EOF
62324    sed -f vpsed$$ $ac_file > tmp$$
62325    mv tmp$$ $ac_file
62326    rm vpsed$$
62327    echo 'MULTISUBDIR =' >> $ac_file
62328    ml_norecursion=yes
62329    . ${multi_basedir}/config-ml.in
62330    { ml_norecursion=; unset ml_norecursion;}
62331  ;;
62332     "po/Makefile":F) cat > vpsed$$ << \_EOF
62333 s!`test -f '$<' || echo '$(srcdir)/'`!!
62334 _EOF
62335    sed -f vpsed$$ $ac_file > tmp$$
62336    mv tmp$$ $ac_file
62337    rm vpsed$$
62338    echo 'MULTISUBDIR =' >> $ac_file
62339    ml_norecursion=yes
62340    . ${multi_basedir}/config-ml.in
62341    { ml_norecursion=; unset ml_norecursion;}
62342  ;;
62343     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62344 s!`test -f '$<' || echo '$(srcdir)/'`!!
62345 _EOF
62346    sed -f vpsed$$ $ac_file > tmp$$
62347    mv tmp$$ $ac_file
62348    rm vpsed$$
62349    echo 'MULTISUBDIR =' >> $ac_file
62350    ml_norecursion=yes
62351    . ${multi_basedir}/config-ml.in
62352    { ml_norecursion=; unset ml_norecursion;}
62353  ;;
62354     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62355
62356   esac
62357 done # for ac_tag
62358
62359
62360 as_fn_exit 0
62361 _ACEOF
62362 ac_clean_files=$ac_clean_files_save
62363
62364 test $ac_write_fail = 0 ||
62365   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62366
62367
62368 # configure is writing to config.log, and then calls config.status.
62369 # config.status does its own redirection, appending to config.log.
62370 # Unfortunately, on DOS this fails, as config.log is still kept open
62371 # by configure, so config.status won't be able to write to it; its
62372 # output is simply discarded.  So we exec the FD to /dev/null,
62373 # effectively closing config.log, so it can be properly (re)opened and
62374 # appended to by config.status.  When coming back to configure, we
62375 # need to make the FD available again.
62376 if test "$no_create" != yes; then
62377   ac_cs_success=:
62378   ac_config_status_args=
62379   test "$silent" = yes &&
62380     ac_config_status_args="$ac_config_status_args --quiet"
62381   exec 5>/dev/null
62382   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62383   exec 5>>config.log
62384   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62385   # would make configure fail if this is the last instruction.
62386   $ac_cs_success || as_fn_exit $?
62387 fi
62388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62389   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62391 fi
62392