]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/libstdc++-v3/contrib/libstdc++-v3-5/configure
Update
[l4.git] / l4 / pkg / l4re-core / libstdc++-v3 / contrib / libstdc++-v3-5 / 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/shared/hashtable-aux.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 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 glibcxx_cxx98_abi
649 ENABLE_DUAL_ABI_FALSE
650 ENABLE_DUAL_ABI_TRUE
651 ENABLE_VISIBILITY_FALSE
652 ENABLE_VISIBILITY_TRUE
653 libtool_VERSION
654 ENABLE_SYMVERS_SUN_FALSE
655 ENABLE_SYMVERS_SUN_TRUE
656 ENABLE_SYMVERS_DARWIN_FALSE
657 ENABLE_SYMVERS_DARWIN_TRUE
658 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
659 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
660 ENABLE_SYMVERS_GNU_FALSE
661 ENABLE_SYMVERS_GNU_TRUE
662 ENABLE_SYMVERS_FALSE
663 ENABLE_SYMVERS_TRUE
664 port_specific_symbol_files
665 SYMVER_FILE
666 CXXFILT
667 LTLIBICONV
668 LIBICONV
669 OPT_LDFLAGS
670 SECTION_LDFLAGS
671 GLIBCXX_LIBS
672 ENABLE_VTABLE_VERIFY_FALSE
673 ENABLE_VTABLE_VERIFY_TRUE
674 VTV_CYGMIN_FALSE
675 VTV_CYGMIN_TRUE
676 VTV_CXXLINKFLAGS
677 VTV_PCH_CXXFLAGS
678 VTV_CXXFLAGS
679 ENABLE_WERROR_FALSE
680 ENABLE_WERROR_TRUE
681 ENABLE_PYTHONDIR_FALSE
682 ENABLE_PYTHONDIR_TRUE
683 python_mod_dir
684 ENABLE_EXTERN_TEMPLATE_FALSE
685 ENABLE_EXTERN_TEMPLATE_TRUE
686 EXTRA_CXX_FLAGS
687 GLIBCXX_BUILD_DEBUG_FALSE
688 GLIBCXX_BUILD_DEBUG_TRUE
689 DEBUG_FLAGS
690 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
692 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
693 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
694 GLIBCXX_C_HEADERS_C_STD_FALSE
695 GLIBCXX_C_HEADERS_C_STD_TRUE
696 GLIBCXX_C_HEADERS_C_FALSE
697 GLIBCXX_C_HEADERS_C_TRUE
698 C_INCLUDE_DIR
699 ALLOCATOR_NAME
700 ALLOCATOR_H
701 CLOCALE_INTERNAL_H
702 CLOCALE_CC
703 CTIME_CC
704 CTIME_H
705 CNUMERIC_CC
706 CMONEY_CC
707 CMESSAGES_CC
708 CCTYPE_CC
709 CCOLLATE_CC
710 CCODECVT_CC
711 CMESSAGES_H
712 CLOCALE_H
713 USE_NLS
714 glibcxx_localedir
715 glibcxx_POFILES
716 glibcxx_MOFILES
717 check_msgfmt
718 BASIC_FILE_CC
719 BASIC_FILE_H
720 CSTDIO_H
721 SECTION_FLAGS
722 WERROR
723 thread_header
724 glibcxx_PCHFLAGS
725 GLIBCXX_BUILD_PCH_FALSE
726 GLIBCXX_BUILD_PCH_TRUE
727 GLIBCXX_HOSTED_FALSE
728 GLIBCXX_HOSTED_TRUE
729 glibcxx_compiler_shared_flag
730 glibcxx_compiler_pic_flag
731 glibcxx_lt_pic_flag
732 enable_static
733 enable_shared
734 lt_host_flags
735 CXXCPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 OBJDUMP
742 NM
743 ac_ct_DUMPBIN
744 DUMPBIN
745 LD
746 FGREP
747 SED
748 LIBTOOL
749 EGREP
750 GREP
751 CPP
752 MAINT
753 MAINTAINER_MODE_FALSE
754 MAINTAINER_MODE_TRUE
755 RANLIB
756 AR
757 AS
758 LN_S
759 toplevel_srcdir
760 toplevel_builddir
761 glibcxx_srcdir
762 glibcxx_builddir
763 ac_ct_CXX
764 CXXFLAGS
765 CXX
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
772 CC
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
778 AWK
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_os
797 target_vendor
798 target_cpu
799 target
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 multi_basedir
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_multilib
851 with_target_subdir
852 with_cross_host
853 with_newlib
854 enable_maintainer_mode
855 enable_shared
856 enable_static
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 enable_libtool_lock
861 enable_hosted_libstdcxx
862 enable_libstdcxx_verbose
863 enable_sjlj_exceptions
864 enable_libstdcxx_pch
865 enable_cstdio
866 enable_clocale
867 enable_nls
868 enable_libstdcxx_allocator
869 enable_cheaders
870 enable_long_long
871 enable_wchar_t
872 enable_c99
873 enable_concept_checks
874 enable_libstdcxx_debug_flags
875 enable_libstdcxx_debug
876 enable_cxx_flags
877 enable_fully_dynamic_string
878 enable_extern_template
879 with_python_dir
880 enable_werror
881 enable_vtable_verify
882 enable_libstdcxx_time
883 enable_tls
884 enable_rpath
885 with_libiconv_prefix
886 with_system_libunwind
887 enable_linux_futex
888 enable_symvers
889 enable_libstdcxx_visibility
890 enable_libstdcxx_dual_abi
891 with_default_libstdcxx_abi
892 enable_libstdcxx_threads
893 with_gxx_include_dir
894 enable_version_specific_runtime_libs
895 '
896       ac_precious_vars='build_alias
897 host_alias
898 target_alias
899 CC
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
904 CXX
905 CXXFLAGS
906 CCC
907 CPP
908 CXXCPP
909 CXXFILT'
910
911
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
933
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
959
960 ac_prev=
961 ac_dashdash=
962 for ac_option
963 do
964   # If the previous option needs an argument, assign it.
965   if test -n "$ac_prev"; then
966     eval $ac_prev=\$ac_option
967     ac_prev=
968     continue
969   fi
970
971   case $ac_option in
972   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973   *)    ac_optarg=yes ;;
974   esac
975
976   # Accept the important Cygnus configure options, so we can diagnose typos.
977
978   case $ac_dashdash$ac_option in
979   --)
980     ac_dashdash=yes ;;
981
982   -bindir | --bindir | --bindi | --bind | --bin | --bi)
983     ac_prev=bindir ;;
984   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985     bindir=$ac_optarg ;;
986
987   -build | --build | --buil | --bui | --bu)
988     ac_prev=build_alias ;;
989   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990     build_alias=$ac_optarg ;;
991
992   -cache-file | --cache-file | --cache-fil | --cache-fi \
993   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994     ac_prev=cache_file ;;
995   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997     cache_file=$ac_optarg ;;
998
999   --config-cache | -C)
1000     cache_file=config.cache ;;
1001
1002   -datadir | --datadir | --datadi | --datad)
1003     ac_prev=datadir ;;
1004   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005     datadir=$ac_optarg ;;
1006
1007   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008   | --dataroo | --dataro | --datar)
1009     ac_prev=datarootdir ;;
1010   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012     datarootdir=$ac_optarg ;;
1013
1014   -disable-* | --disable-*)
1015     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016     # Reject names that are not valid shell variable names.
1017     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018       as_fn_error "invalid feature name: $ac_useropt"
1019     ac_useropt_orig=$ac_useropt
1020     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021     case $ac_user_opts in
1022       *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026          ac_unrecognized_sep=', ';;
1027     esac
1028     eval enable_$ac_useropt=no ;;
1029
1030   -docdir | --docdir | --docdi | --doc | --do)
1031     ac_prev=docdir ;;
1032   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033     docdir=$ac_optarg ;;
1034
1035   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036     ac_prev=dvidir ;;
1037   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038     dvidir=$ac_optarg ;;
1039
1040   -enable-* | --enable-*)
1041     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042     # Reject names that are not valid shell variable names.
1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044       as_fn_error "invalid feature name: $ac_useropt"
1045     ac_useropt_orig=$ac_useropt
1046     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047     case $ac_user_opts in
1048       *"
1049 "enable_$ac_useropt"
1050 "*) ;;
1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052          ac_unrecognized_sep=', ';;
1053     esac
1054     eval enable_$ac_useropt=\$ac_optarg ;;
1055
1056   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058   | --exec | --exe | --ex)
1059     ac_prev=exec_prefix ;;
1060   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062   | --exec=* | --exe=* | --ex=*)
1063     exec_prefix=$ac_optarg ;;
1064
1065   -gas | --gas | --ga | --g)
1066     # Obsolete; use --with-gas.
1067     with_gas=yes ;;
1068
1069   -help | --help | --hel | --he | -h)
1070     ac_init_help=long ;;
1071   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072     ac_init_help=recursive ;;
1073   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074     ac_init_help=short ;;
1075
1076   -host | --host | --hos | --ho)
1077     ac_prev=host_alias ;;
1078   -host=* | --host=* | --hos=* | --ho=*)
1079     host_alias=$ac_optarg ;;
1080
1081   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082     ac_prev=htmldir ;;
1083   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084   | --ht=*)
1085     htmldir=$ac_optarg ;;
1086
1087   -includedir | --includedir | --includedi | --included | --include \
1088   | --includ | --inclu | --incl | --inc)
1089     ac_prev=includedir ;;
1090   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091   | --includ=* | --inclu=* | --incl=* | --inc=*)
1092     includedir=$ac_optarg ;;
1093
1094   -infodir | --infodir | --infodi | --infod | --info | --inf)
1095     ac_prev=infodir ;;
1096   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097     infodir=$ac_optarg ;;
1098
1099   -libdir | --libdir | --libdi | --libd)
1100     ac_prev=libdir ;;
1101   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102     libdir=$ac_optarg ;;
1103
1104   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105   | --libexe | --libex | --libe)
1106     ac_prev=libexecdir ;;
1107   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108   | --libexe=* | --libex=* | --libe=*)
1109     libexecdir=$ac_optarg ;;
1110
1111   -localedir | --localedir | --localedi | --localed | --locale)
1112     ac_prev=localedir ;;
1113   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114     localedir=$ac_optarg ;;
1115
1116   -localstatedir | --localstatedir | --localstatedi | --localstated \
1117   | --localstate | --localstat | --localsta | --localst | --locals)
1118     ac_prev=localstatedir ;;
1119   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121     localstatedir=$ac_optarg ;;
1122
1123   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124     ac_prev=mandir ;;
1125   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126     mandir=$ac_optarg ;;
1127
1128   -nfp | --nfp | --nf)
1129     # Obsolete; use --without-fp.
1130     with_fp=no ;;
1131
1132   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133   | --no-cr | --no-c | -n)
1134     no_create=yes ;;
1135
1136   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138     no_recursion=yes ;;
1139
1140   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142   | --oldin | --oldi | --old | --ol | --o)
1143     ac_prev=oldincludedir ;;
1144   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147     oldincludedir=$ac_optarg ;;
1148
1149   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150     ac_prev=prefix ;;
1151   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152     prefix=$ac_optarg ;;
1153
1154   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155   | --program-pre | --program-pr | --program-p)
1156     ac_prev=program_prefix ;;
1157   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159     program_prefix=$ac_optarg ;;
1160
1161   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162   | --program-suf | --program-su | --program-s)
1163     ac_prev=program_suffix ;;
1164   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166     program_suffix=$ac_optarg ;;
1167
1168   -program-transform-name | --program-transform-name \
1169   | --program-transform-nam | --program-transform-na \
1170   | --program-transform-n | --program-transform- \
1171   | --program-transform | --program-transfor \
1172   | --program-transfo | --program-transf \
1173   | --program-trans | --program-tran \
1174   | --progr-tra | --program-tr | --program-t)
1175     ac_prev=program_transform_name ;;
1176   -program-transform-name=* | --program-transform-name=* \
1177   | --program-transform-nam=* | --program-transform-na=* \
1178   | --program-transform-n=* | --program-transform-=* \
1179   | --program-transform=* | --program-transfor=* \
1180   | --program-transfo=* | --program-transf=* \
1181   | --program-trans=* | --program-tran=* \
1182   | --progr-tra=* | --program-tr=* | --program-t=*)
1183     program_transform_name=$ac_optarg ;;
1184
1185   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186     ac_prev=pdfdir ;;
1187   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188     pdfdir=$ac_optarg ;;
1189
1190   -psdir | --psdir | --psdi | --psd | --ps)
1191     ac_prev=psdir ;;
1192   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193     psdir=$ac_optarg ;;
1194
1195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196   | -silent | --silent | --silen | --sile | --sil)
1197     silent=yes ;;
1198
1199   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200     ac_prev=sbindir ;;
1201   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202   | --sbi=* | --sb=*)
1203     sbindir=$ac_optarg ;;
1204
1205   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207   | --sharedst | --shareds | --shared | --share | --shar \
1208   | --sha | --sh)
1209     ac_prev=sharedstatedir ;;
1210   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213   | --sha=* | --sh=*)
1214     sharedstatedir=$ac_optarg ;;
1215
1216   -site | --site | --sit)
1217     ac_prev=site ;;
1218   -site=* | --site=* | --sit=*)
1219     site=$ac_optarg ;;
1220
1221   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222     ac_prev=srcdir ;;
1223   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224     srcdir=$ac_optarg ;;
1225
1226   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227   | --syscon | --sysco | --sysc | --sys | --sy)
1228     ac_prev=sysconfdir ;;
1229   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231     sysconfdir=$ac_optarg ;;
1232
1233   -target | --target | --targe | --targ | --tar | --ta | --t)
1234     ac_prev=target_alias ;;
1235   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236     target_alias=$ac_optarg ;;
1237
1238   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239     verbose=yes ;;
1240
1241   -version | --version | --versio | --versi | --vers | -V)
1242     ac_init_version=: ;;
1243
1244   -with-* | --with-*)
1245     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246     # Reject names that are not valid shell variable names.
1247     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248       as_fn_error "invalid package name: $ac_useropt"
1249     ac_useropt_orig=$ac_useropt
1250     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251     case $ac_user_opts in
1252       *"
1253 "with_$ac_useropt"
1254 "*) ;;
1255       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256          ac_unrecognized_sep=', ';;
1257     esac
1258     eval with_$ac_useropt=\$ac_optarg ;;
1259
1260   -without-* | --without-*)
1261     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262     # Reject names that are not valid shell variable names.
1263     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264       as_fn_error "invalid package name: $ac_useropt"
1265     ac_useropt_orig=$ac_useropt
1266     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267     case $ac_user_opts in
1268       *"
1269 "with_$ac_useropt"
1270 "*) ;;
1271       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272          ac_unrecognized_sep=', ';;
1273     esac
1274     eval with_$ac_useropt=no ;;
1275
1276   --x)
1277     # Obsolete; use --with-x.
1278     with_x=yes ;;
1279
1280   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281   | --x-incl | --x-inc | --x-in | --x-i)
1282     ac_prev=x_includes ;;
1283   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285     x_includes=$ac_optarg ;;
1286
1287   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289     ac_prev=x_libraries ;;
1290   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292     x_libraries=$ac_optarg ;;
1293
1294   -*) as_fn_error "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information."
1296     ;;
1297
1298   *=*)
1299     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300     # Reject names that are not valid shell variable names.
1301     case $ac_envvar in #(
1302       '' | [0-9]* | *[!_$as_cr_alnum]* )
1303       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1304     esac
1305     eval $ac_envvar=\$ac_optarg
1306     export $ac_envvar ;;
1307
1308   *)
1309     # FIXME: should be removed in autoconf 3.0.
1310     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314     ;;
1315
1316   esac
1317 done
1318
1319 if test -n "$ac_prev"; then
1320   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321   as_fn_error "missing argument to $ac_option"
1322 fi
1323
1324 if test -n "$ac_unrecognized_opts"; then
1325   case $enable_option_checking in
1326     no) ;;
1327     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1328     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329   esac
1330 fi
1331
1332 # Check all directory arguments for consistency.
1333 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334                 datadir sysconfdir sharedstatedir localstatedir includedir \
1335                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336                 libdir localedir mandir
1337 do
1338   eval ac_val=\$$ac_var
1339   # Remove trailing slashes.
1340   case $ac_val in
1341     */ )
1342       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343       eval $ac_var=\$ac_val;;
1344   esac
1345   # Be sure to have absolute directory names.
1346   case $ac_val in
1347     [\\/$]* | ?:[\\/]* )  continue;;
1348     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349   esac
1350   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1352
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1359
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362   if test "x$build_alias" = x; then
1363     cross_compiling=maybe
1364     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365     If a cross compiler is detected then cross compile mode will be used." >&2
1366   elif test "x$build_alias" != "x$host_alias"; then
1367     cross_compiling=yes
1368   fi
1369 fi
1370
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1373
1374 test "$silent" = yes && exec 6>/dev/null
1375
1376
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380   as_fn_error "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382   as_fn_error "pwd does not report name of working directory"
1383
1384
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387   ac_srcdir_defaulted=yes
1388   # Try the directory containing this script, then the parent directory.
1389   ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391          X"$as_myself" : 'X\(//\)[^/]' \| \
1392          X"$as_myself" : 'X\(//\)$' \| \
1393          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396             s//\1/
1397             q
1398           }
1399           /^X\(\/\/\)[^/].*/{
1400             s//\1/
1401             q
1402           }
1403           /^X\(\/\/\)$/{
1404             s//\1/
1405             q
1406           }
1407           /^X\(\/\).*/{
1408             s//\1/
1409             q
1410           }
1411           s/.*/./; q'`
1412   srcdir=$ac_confdir
1413   if test ! -r "$srcdir/$ac_unique_file"; then
1414     srcdir=..
1415   fi
1416 else
1417   ac_srcdir_defaulted=no
1418 fi
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1422 fi
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426         pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429   srcdir=.
1430 fi
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439   eval ac_env_${ac_var}_value=\$${ac_var}
1440   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1443
1444 #
1445 # Report the --help message.
1446 #
1447 if test "$ac_init_help" = "long"; then
1448   # Omit some internal or obsolete options to make the list less imposing.
1449   # This message is too long to be a string in the A/UX 3.1 sh.
1450   cat <<_ACEOF
1451 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1452
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1454
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE.  See below for descriptions of some of the useful variables.
1457
1458 Defaults for the options are specified in brackets.
1459
1460 Configuration:
1461   -h, --help              display this help and exit
1462       --help=short        display options specific to this package
1463       --help=recursive    display the short help of all the included packages
1464   -V, --version           display version information and exit
1465   -q, --quiet, --silent   do not print \`checking...' messages
1466       --cache-file=FILE   cache test results in FILE [disabled]
1467   -C, --config-cache      alias for \`--cache-file=config.cache'
1468   -n, --no-create         do not create output files
1469       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1470
1471 Installation directories:
1472   --prefix=PREFIX         install architecture-independent files in PREFIX
1473                           [$ac_default_prefix]
1474   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1475                           [PREFIX]
1476
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1481
1482 For better control, use the options below.
1483
1484 Fine tuning of the installation directories:
1485   --bindir=DIR            user executables [EPREFIX/bin]
1486   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1487   --libexecdir=DIR        program executables [EPREFIX/libexec]
1488   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1489   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1490   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1491   --libdir=DIR            object code libraries [EPREFIX/lib]
1492   --includedir=DIR        C header files [PREFIX/include]
1493   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1494   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1495   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1496   --infodir=DIR           info documentation [DATAROOTDIR/info]
1497   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1498   --mandir=DIR            man documentation [DATAROOTDIR/man]
1499   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1500   --htmldir=DIR           html documentation [DOCDIR]
1501   --dvidir=DIR            dvi documentation [DOCDIR]
1502   --pdfdir=DIR            pdf documentation [DOCDIR]
1503   --psdir=DIR             ps documentation [DOCDIR]
1504 _ACEOF
1505
1506   cat <<\_ACEOF
1507
1508 Program names:
1509   --program-prefix=PREFIX            prepend PREFIX to installed program names
1510   --program-suffix=SUFFIX            append SUFFIX to installed program names
1511   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1512
1513 System types:
1514   --build=BUILD     configure for building on BUILD [guessed]
1515   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1516   --target=TARGET   configure for building compilers for TARGET [HOST]
1517 _ACEOF
1518 fi
1519
1520 if test -n "$ac_init_help"; then
1521   case $ac_init_help in
1522      short | recursive ) echo "Configuration of package-unused version-unused:";;
1523    esac
1524   cat <<\_ACEOF
1525
1526 Optional Features:
1527   --disable-option-checking  ignore unrecognized --enable/--with options
1528   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1529   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1530   --enable-multilib       build many library versions (default)
1531   --enable-maintainer-mode  enable make rules and dependencies not useful
1532                           (and sometimes confusing) to the casual installer
1533   --enable-shared[=PKGS]  build shared libraries [default=yes]
1534   --enable-static[=PKGS]  build static libraries [default=yes]
1535   --enable-fast-install[=PKGS]
1536                           optimize for fast installation [default=yes]
1537   --disable-libtool-lock  avoid locking (might break parallel builds)
1538   --disable-hosted-libstdcxx
1539                           only build freestanding C++ runtime support
1540   --disable-libstdcxx-verbose
1541                           disable termination messages to standard error
1542   --enable-sjlj-exceptions
1543                           force use of builtin_setjmp for exceptions
1544                           [default=auto]
1545   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1546                           [default=$is_hosted]
1547   --enable-cstdio[=PACKAGE]
1548                           use target-specific I/O package [default=stdio]
1549   --enable-clocale[=MODEL]
1550                           use MODEL for target locale package [default=auto]
1551   --enable-nls            use Native Language Support (default)
1552   --enable-libstdcxx-allocator[=KIND]
1553                           use KIND for target std::allocator base
1554                           [default=auto]
1555   --enable-cheaders[=KIND]
1556                           construct "C" headers for g++ [default=$c_model]
1557   --enable-long-long      enable template specializations for 'long long'
1558                           [default=yes]
1559   --enable-wchar_t        enable template specializations for 'wchar_t'
1560                           [default=yes]
1561   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1562   --enable-concept-checks use Boost-derived template checks [default=no]
1563   --enable-libstdcxx-debug-flags=FLAGS
1564                           pass compiler FLAGS when building debug library
1565                           [default="-gdwarf-4 -g3 -O0"]
1566   --enable-libstdcxx-debug
1567                           build extra debug library [default=no]
1568   --enable-cxx-flags=FLAGS
1569                           pass compiler FLAGS when building library [default=]
1570   --enable-fully-dynamic-string
1571                           do not put empty strings in per-process static
1572                           memory [default=no]
1573   --enable-extern-template
1574                           enable extern template [default=yes]
1575   --enable-werror         turns on -Werror [default=yes]
1576   --enable-vtable-verify  enable vtable verify [default=no]
1577   --enable-libstdcxx-time[=KIND]
1578                           use KIND for check type [default=auto]
1579   --enable-tls            Use thread-local storage [default=yes]
1580   --disable-rpath         do not hardcode runtime library paths
1581   --enable-linux-futex    use the Linux futex system call [default=default]
1582   --enable-symvers[=STYLE]
1583                           enables symbol versioning of the shared library
1584                           [default=yes]
1585   --enable-libstdcxx-visibility
1586                           enables visibility safe usage [default=yes]
1587   --enable-libstdcxx-dual-abi
1588                           support two versions of std::string [default=yes]
1589   --enable-libstdcxx-threads
1590                           enable C++11 threads support [default=auto]
1591   --enable-version-specific-runtime-libs
1592                           Specify that runtime libraries should be installed
1593                           in a compiler-specific directory
1594
1595 Optional Packages:
1596   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1597   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1598   --with-target-subdir=SUBDIR
1599                           configuring in a subdirectory
1600   --with-cross-host=HOST  configuring with a cross compiler
1601   --with-newlib           assume newlib as a system C library
1602   --with-pic              try to use only PIC/non-PIC objects [default=use
1603                           both]
1604   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1605   --with-python-dir       the location to install Python modules. This path is
1606                           relative starting from the prefix.
1607   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1608   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1609   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1610   --with-system-libunwind use installed libunwind
1611   --with-default-libstdcxx-abi
1612                           set the std::string ABI to use by default
1613   --with-gxx-include-dir=DIR
1614                           installation directory for include files
1615
1616 Some influential environment variables:
1617   CC          C compiler command
1618   CFLAGS      C compiler flags
1619   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1620               nonstandard directory <lib dir>
1621   LIBS        libraries to pass to the linker, e.g. -l<library>
1622   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623               you have headers in a nonstandard directory <include dir>
1624   CXX         C++ compiler command
1625   CXXFLAGS    C++ compiler flags
1626   CPP         C preprocessor
1627   CXXCPP      C++ preprocessor
1628   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1629               `c++filt', `gc++filt' on PATH.
1630
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1633
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1637 fi
1638
1639 if test "$ac_init_help" = "recursive"; then
1640   # If there are subdirs, report their specific --help.
1641   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642     test -d "$ac_dir" ||
1643       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644       continue
1645     ac_builddir=.
1646
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *)
1650   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651   # A ".." for each directory in $ac_dir_suffix.
1652   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653   case $ac_top_builddir_sub in
1654   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656   esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1662
1663 case $srcdir in
1664   .)  # We are building in place.
1665     ac_srcdir=.
1666     ac_top_srcdir=$ac_top_builddir_sub
1667     ac_abs_top_srcdir=$ac_pwd ;;
1668   [\\/]* | ?:[\\/]* )  # Absolute name.
1669     ac_srcdir=$srcdir$ac_dir_suffix;
1670     ac_top_srcdir=$srcdir
1671     ac_abs_top_srcdir=$srcdir ;;
1672   *) # Relative name.
1673     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674     ac_top_srcdir=$ac_top_build_prefix$srcdir
1675     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678
1679     cd "$ac_dir" || { ac_status=$?; continue; }
1680     # Check for guested configure.
1681     if test -f "$ac_srcdir/configure.gnu"; then
1682       echo &&
1683       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684     elif test -f "$ac_srcdir/configure"; then
1685       echo &&
1686       $SHELL "$ac_srcdir/configure" --help=recursive
1687     else
1688       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689     fi || ac_status=$?
1690     cd "$ac_pwd" || { ac_status=$?; break; }
1691   done
1692 fi
1693
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696   cat <<\_ACEOF
1697 package-unused configure version-unused
1698 generated by GNU Autoconf 2.64
1699
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704   exit
1705 fi
1706
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1710
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   rm -f conftest.$ac_objext
1718   if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721   *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725   (eval "$ac_compile") 2>conftest.err
1726   ac_status=$?
1727   if test -s conftest.err; then
1728     grep -v '^ *+' conftest.err >conftest.er1
1729     cat conftest.er1 >&5
1730     mv -f conftest.er1 conftest.err
1731   fi
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } && {
1734          test -z "$ac_c_werror_flag" ||
1735          test ! -s conftest.err
1736        } && test -s conftest.$ac_objext; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742         ac_retval=1
1743 fi
1744   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745   return $ac_retval
1746
1747 } # ac_fn_c_try_compile
1748
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   rm -f conftest.$ac_objext
1756   if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_compile") 2>conftest.err
1764   ac_status=$?
1765   if test -s conftest.err; then
1766     grep -v '^ *+' conftest.err >conftest.er1
1767     cat conftest.er1 >&5
1768     mv -f conftest.er1 conftest.err
1769   fi
1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771   test $ac_status = 0; } && {
1772          test -z "$ac_cxx_werror_flag" ||
1773          test ! -s conftest.err
1774        } && test -s conftest.$ac_objext; then :
1775   ac_retval=0
1776 else
1777   $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780         ac_retval=1
1781 fi
1782   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783   return $ac_retval
1784
1785 } # ac_fn_cxx_try_compile
1786
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796   *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801   ac_status=$?
1802   if test -s conftest.err; then
1803     grep -v '^ *+' conftest.err >conftest.er1
1804     cat conftest.er1 >&5
1805     mv -f conftest.er1 conftest.err
1806   fi
1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808   test $ac_status = 0; } >/dev/null && {
1809          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810          test ! -s conftest.err
1811        }; then :
1812   ac_retval=0
1813 else
1814   $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817     ac_retval=1
1818 fi
1819   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820   return $ac_retval
1821
1822 } # ac_fn_c_try_cpp
1823
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_c_try_link ()
1828 {
1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830   rm -f conftest.$ac_objext conftest$ac_exeext
1831   if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834   *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838   (eval "$ac_link") 2>conftest.err
1839   ac_status=$?
1840   if test -s conftest.err; then
1841     grep -v '^ *+' conftest.err >conftest.er1
1842     cat conftest.er1 >&5
1843     mv -f conftest.er1 conftest.err
1844   fi
1845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; } && {
1847          test -z "$ac_c_werror_flag" ||
1848          test ! -s conftest.err
1849        } && test -s conftest$ac_exeext && {
1850          test "$cross_compiling" = yes ||
1851          $as_test_x conftest$ac_exeext
1852        }; then :
1853   ac_retval=0
1854 else
1855   $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858         ac_retval=1
1859 fi
1860   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862   # interfere with the next link command; also delete a directory that is
1863   # left behind by Apple's compiler.  We do this before executing the actions.
1864   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866   return $ac_retval
1867
1868 } # ac_fn_c_try_link
1869
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1875 {
1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880   $as_echo_n "(cached) " >&6
1881 else
1882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h.  */
1884 $4
1885 #include <$2>
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888   eval "$3=yes"
1889 else
1890   eval "$3=no"
1891 fi
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 fi
1894 eval ac_res=\$$3
1895                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898
1899 } # ac_fn_c_check_header_compile
1900
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1905 ac_fn_c_try_run ()
1906 {
1907   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908   if { { ac_try="$ac_link"
1909 case "(($ac_try" in
1910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911   *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915   (eval "$ac_link") 2>&5
1916   ac_status=$?
1917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919   { { case "(($ac_try" in
1920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921   *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925   (eval "$ac_try") 2>&5
1926   ac_status=$?
1927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928   test $ac_status = 0; }; }; then :
1929   ac_retval=0
1930 else
1931   $as_echo "$as_me: program exited with status $ac_status" >&5
1932        $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1934
1935        ac_retval=$ac_status
1936 fi
1937   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939   return $ac_retval
1940
1941 } # ac_fn_c_try_run
1942
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1947 {
1948   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952   $as_echo_n "(cached) " >&6
1953 else
1954   if test x$gcc_no_link = xyes; then
1955   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1956 fi
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h.  */
1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1961 #define $2 innocuous_$2
1962
1963 /* System header to define __stub macros and hopefully few prototypes,
1964     which can conflict with char $2 (); below.
1965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966     <limits.h> exists even on freestanding compilers.  */
1967
1968 #ifdef __STDC__
1969 # include <limits.h>
1970 #else
1971 # include <assert.h>
1972 #endif
1973
1974 #undef $2
1975
1976 /* Override any GCC internal prototype to avoid an error.
1977    Use char because int might match the return type of a GCC
1978    builtin and then its argument prototype would still apply.  */
1979 #ifdef __cplusplus
1980 extern "C"
1981 #endif
1982 char $2 ();
1983 /* The GNU C library defines this for functions which it implements
1984     to always fail with ENOSYS.  Some functions are actually named
1985     something starting with __ and the normal name is an alias.  */
1986 #if defined __stub_$2 || defined __stub___$2
1987 choke me
1988 #endif
1989
1990 int
1991 main ()
1992 {
1993 return $2 ();
1994   ;
1995   return 0;
1996 }
1997 _ACEOF
1998 if ac_fn_c_try_link "$LINENO"; then :
1999   eval "$3=yes"
2000 else
2001   eval "$3=no"
2002 fi
2003 rm -f core conftest.err conftest.$ac_objext \
2004     conftest$ac_exeext conftest.$ac_ext
2005 fi
2006 eval ac_res=\$$3
2007                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010
2011 } # ac_fn_c_check_func
2012
2013 # ac_fn_cxx_try_cpp LINENO
2014 # ------------------------
2015 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_cpp ()
2017 {
2018   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019   if { { ac_try="$ac_cpp conftest.$ac_ext"
2020 case "(($ac_try" in
2021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022   *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2027   ac_status=$?
2028   if test -s conftest.err; then
2029     grep -v '^ *+' conftest.err >conftest.er1
2030     cat conftest.er1 >&5
2031     mv -f conftest.er1 conftest.err
2032   fi
2033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034   test $ac_status = 0; } >/dev/null && {
2035          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2036          test ! -s conftest.err
2037        }; then :
2038   ac_retval=0
2039 else
2040   $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2042
2043     ac_retval=1
2044 fi
2045   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046   return $ac_retval
2047
2048 } # ac_fn_cxx_try_cpp
2049
2050 # ac_fn_cxx_try_link LINENO
2051 # -------------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_link ()
2054 {
2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056   rm -f conftest.$ac_objext conftest$ac_exeext
2057   if { { ac_try="$ac_link"
2058 case "(($ac_try" in
2059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060   *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064   (eval "$ac_link") 2>conftest.err
2065   ac_status=$?
2066   if test -s conftest.err; then
2067     grep -v '^ *+' conftest.err >conftest.er1
2068     cat conftest.er1 >&5
2069     mv -f conftest.er1 conftest.err
2070   fi
2071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072   test $ac_status = 0; } && {
2073          test -z "$ac_cxx_werror_flag" ||
2074          test ! -s conftest.err
2075        } && test -s conftest$ac_exeext && {
2076          test "$cross_compiling" = yes ||
2077          $as_test_x conftest$ac_exeext
2078        }; then :
2079   ac_retval=0
2080 else
2081   $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2083
2084         ac_retval=1
2085 fi
2086   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088   # interfere with the next link command; also delete a directory that is
2089   # left behind by Apple's compiler.  We do this before executing the actions.
2090   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092   return $ac_retval
2093
2094 } # ac_fn_cxx_try_link
2095
2096 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099 # the include files in INCLUDES and setting the cache variable VAR
2100 # accordingly.
2101 ac_fn_c_check_header_mongrel ()
2102 {
2103   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108   $as_echo_n "(cached) " >&6
2109 fi
2110 eval ac_res=\$$3
2111                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 else
2114   # Is the header compilable?
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116 $as_echo_n "checking $2 usability... " >&6; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h.  */
2119 $4
2120 #include <$2>
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123   ac_header_compiler=yes
2124 else
2125   ac_header_compiler=no
2126 fi
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129 $as_echo "$ac_header_compiler" >&6; }
2130
2131 # Is the header present?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133 $as_echo_n "checking $2 presence... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h.  */
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_cpp "$LINENO"; then :
2139   ac_header_preproc=yes
2140 else
2141   ac_header_preproc=no
2142 fi
2143 rm -f conftest.err conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145 $as_echo "$ac_header_preproc" >&6; }
2146
2147 # So?  What about this header?
2148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149   yes:no: )
2150     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154     ;;
2155   no:yes:* )
2156     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2159 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2163 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2164     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2166     ;;
2167 esac
2168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171   $as_echo_n "(cached) " >&6
2172 else
2173   eval "$3=\$ac_header_compiler"
2174 fi
2175 eval ac_res=\$$3
2176                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2178 fi
2179   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2180
2181 } # ac_fn_c_check_header_mongrel
2182
2183 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # ---------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_cxx_check_header_mongrel ()
2189 {
2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195   $as_echo_n "(cached) " >&6
2196 fi
2197 eval ac_res=\$$3
2198                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201   # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h.  */
2206 $4
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_cxx_try_compile "$LINENO"; then :
2210   ac_header_compiler=yes
2211 else
2212   ac_header_compiler=no
2213 fi
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2217
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h.  */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_cxx_try_cpp "$LINENO"; then :
2226   ac_header_preproc=yes
2227 else
2228   ac_header_preproc=no
2229 fi
2230 rm -f conftest.err conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2233
2234 # So?  What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2236   yes:no: )
2237     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241     ;;
2242   no:yes:* )
2243     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2251     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253     ;;
2254 esac
2255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2258   $as_echo_n "(cached) " >&6
2259 else
2260   eval "$3=\$ac_header_compiler"
2261 fi
2262 eval ac_res=\$$3
2263                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2265 fi
2266   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2267
2268 } # ac_fn_cxx_check_header_mongrel
2269
2270 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2271 # --------------------------------------------
2272 # Tries to find the compile-time value of EXPR in a program that includes
2273 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2274 # computed
2275 ac_fn_c_compute_int ()
2276 {
2277   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278   if test "$cross_compiling" = yes; then
2279     # Depending upon the size, compute the lo and hi bounds.
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h.  */
2282 $4
2283 int
2284 main ()
2285 {
2286 static int test_array [1 - 2 * !(($2) >= 0)];
2287 test_array [0] = 0
2288
2289   ;
2290   return 0;
2291 }
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294   ac_lo=0 ac_mid=0
2295   while :; do
2296     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h.  */
2298 $4
2299 int
2300 main ()
2301 {
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2303 test_array [0] = 0
2304
2305   ;
2306   return 0;
2307 }
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310   ac_hi=$ac_mid; break
2311 else
2312   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2313                         if test $ac_lo -le $ac_mid; then
2314                           ac_lo= ac_hi=
2315                           break
2316                         fi
2317                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2318 fi
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320   done
2321 else
2322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h.  */
2324 $4
2325 int
2326 main ()
2327 {
2328 static int test_array [1 - 2 * !(($2) < 0)];
2329 test_array [0] = 0
2330
2331   ;
2332   return 0;
2333 }
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"; then :
2336   ac_hi=-1 ac_mid=-1
2337   while :; do
2338     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h.  */
2340 $4
2341 int
2342 main ()
2343 {
2344 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2345 test_array [0] = 0
2346
2347   ;
2348   return 0;
2349 }
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352   ac_lo=$ac_mid; break
2353 else
2354   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2355                         if test $ac_mid -le $ac_hi; then
2356                           ac_lo= ac_hi=
2357                           break
2358                         fi
2359                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2360 fi
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362   done
2363 else
2364   ac_lo= ac_hi=
2365 fi
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 fi
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 # Binary search between lo and hi bounds.
2370 while test "x$ac_lo" != "x$ac_hi"; do
2371   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h.  */
2374 $4
2375 int
2376 main ()
2377 {
2378 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2379 test_array [0] = 0
2380
2381   ;
2382   return 0;
2383 }
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386   ac_hi=$ac_mid
2387 else
2388   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2389 fi
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2391 done
2392 case $ac_lo in #((
2393 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2394 '') ac_retval=1 ;;
2395 esac
2396   else
2397     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h.  */
2399 $4
2400 static long int longval () { return $2; }
2401 static unsigned long int ulongval () { return $2; }
2402 #include <stdio.h>
2403 #include <stdlib.h>
2404 int
2405 main ()
2406 {
2407
2408   FILE *f = fopen ("conftest.val", "w");
2409   if (! f)
2410     return 1;
2411   if (($2) < 0)
2412     {
2413       long int i = longval ();
2414       if (i != ($2))
2415         return 1;
2416       fprintf (f, "%ld", i);
2417     }
2418   else
2419     {
2420       unsigned long int i = ulongval ();
2421       if (i != ($2))
2422         return 1;
2423       fprintf (f, "%lu", i);
2424     }
2425   /* Do not output a trailing newline, as this causes \r\n confusion
2426      on some platforms.  */
2427   return ferror (f) || fclose (f) != 0;
2428
2429   ;
2430   return 0;
2431 }
2432 _ACEOF
2433 if ac_fn_c_try_run "$LINENO"; then :
2434   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2435 else
2436   ac_retval=1
2437 fi
2438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2439   conftest.$ac_objext conftest.beam conftest.$ac_ext
2440 rm -f conftest.val
2441
2442   fi
2443   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2444   return $ac_retval
2445
2446 } # ac_fn_c_compute_int
2447
2448 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2449 # -------------------------------------------
2450 # Tests whether TYPE exists after having included INCLUDES, setting cache
2451 # variable VAR accordingly.
2452 ac_fn_c_check_type ()
2453 {
2454   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2458   $as_echo_n "(cached) " >&6
2459 else
2460   eval "$3=no"
2461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h.  */
2463 $4
2464 int
2465 main ()
2466 {
2467 if (sizeof ($2))
2468          return 0;
2469   ;
2470   return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h.  */
2476 $4
2477 int
2478 main ()
2479 {
2480 if (sizeof (($2)))
2481             return 0;
2482   ;
2483   return 0;
2484 }
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2487
2488 else
2489   eval "$3=yes"
2490 fi
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 fi
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 fi
2495 eval ac_res=\$$3
2496                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2499
2500 } # ac_fn_c_check_type
2501
2502 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2503 # ---------------------------------------------
2504 # Tests whether TYPE exists after having included INCLUDES, setting cache
2505 # variable VAR accordingly.
2506 ac_fn_cxx_check_type ()
2507 {
2508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2512   $as_echo_n "(cached) " >&6
2513 else
2514   eval "$3=no"
2515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h.  */
2517 $4
2518 int
2519 main ()
2520 {
2521 if (sizeof ($2))
2522          return 0;
2523   ;
2524   return 0;
2525 }
2526 _ACEOF
2527 if ac_fn_cxx_try_compile "$LINENO"; then :
2528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h.  */
2530 $4
2531 int
2532 main ()
2533 {
2534 if (sizeof (($2)))
2535             return 0;
2536   ;
2537   return 0;
2538 }
2539 _ACEOF
2540 if ac_fn_cxx_try_compile "$LINENO"; then :
2541
2542 else
2543   eval "$3=yes"
2544 fi
2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546 fi
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 fi
2549 eval ac_res=\$$3
2550                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2553
2554 } # ac_fn_cxx_check_type
2555 cat >config.log <<_ACEOF
2556 This file contains any messages produced by compilers while
2557 running configure, to aid debugging if configure makes a mistake.
2558
2559 It was created by package-unused $as_me version-unused, which was
2560 generated by GNU Autoconf 2.64.  Invocation command line was
2561
2562   $ $0 $@
2563
2564 _ACEOF
2565 exec 5>>config.log
2566 {
2567 cat <<_ASUNAME
2568 ## --------- ##
2569 ## Platform. ##
2570 ## --------- ##
2571
2572 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2573 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2574 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2575 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2576 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2577
2578 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2579 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2580
2581 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2582 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2583 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2584 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2585 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2586 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2587 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2588
2589 _ASUNAME
2590
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2593 do
2594   IFS=$as_save_IFS
2595   test -z "$as_dir" && as_dir=.
2596     $as_echo "PATH: $as_dir"
2597   done
2598 IFS=$as_save_IFS
2599
2600 } >&5
2601
2602 cat >&5 <<_ACEOF
2603
2604
2605 ## ----------- ##
2606 ## Core tests. ##
2607 ## ----------- ##
2608
2609 _ACEOF
2610
2611
2612 # Keep a trace of the command line.
2613 # Strip out --no-create and --no-recursion so they do not pile up.
2614 # Strip out --silent because we don't want to record it for future runs.
2615 # Also quote any args containing shell meta-characters.
2616 # Make two passes to allow for proper duplicate-argument suppression.
2617 ac_configure_args=
2618 ac_configure_args0=
2619 ac_configure_args1=
2620 ac_must_keep_next=false
2621 for ac_pass in 1 2
2622 do
2623   for ac_arg
2624   do
2625     case $ac_arg in
2626     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2627     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2628     | -silent | --silent | --silen | --sile | --sil)
2629       continue ;;
2630     *\'*)
2631       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2632     esac
2633     case $ac_pass in
2634     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2635     2)
2636       as_fn_append ac_configure_args1 " '$ac_arg'"
2637       if test $ac_must_keep_next = true; then
2638         ac_must_keep_next=false # Got value, back to normal.
2639       else
2640         case $ac_arg in
2641           *=* | --config-cache | -C | -disable-* | --disable-* \
2642           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2643           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2644           | -with-* | --with-* | -without-* | --without-* | --x)
2645             case "$ac_configure_args0 " in
2646               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2647             esac
2648             ;;
2649           -* ) ac_must_keep_next=true ;;
2650         esac
2651       fi
2652       as_fn_append ac_configure_args " '$ac_arg'"
2653       ;;
2654     esac
2655   done
2656 done
2657 { ac_configure_args0=; unset ac_configure_args0;}
2658 { ac_configure_args1=; unset ac_configure_args1;}
2659
2660 # When interrupted or exit'd, cleanup temporary files, and complete
2661 # config.log.  We remove comments because anyway the quotes in there
2662 # would cause problems or look ugly.
2663 # WARNING: Use '\'' to represent an apostrophe within the trap.
2664 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2665 trap 'exit_status=$?
2666   # Save into config.log some information that might help in debugging.
2667   {
2668     echo
2669
2670     cat <<\_ASBOX
2671 ## ---------------- ##
2672 ## Cache variables. ##
2673 ## ---------------- ##
2674 _ASBOX
2675     echo
2676     # The following way of writing the cache mishandles newlines in values,
2677 (
2678   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2679     eval ac_val=\$$ac_var
2680     case $ac_val in #(
2681     *${as_nl}*)
2682       case $ac_var in #(
2683       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2684 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2685       esac
2686       case $ac_var in #(
2687       _ | IFS | as_nl) ;; #(
2688       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2689       *) { eval $ac_var=; unset $ac_var;} ;;
2690       esac ;;
2691     esac
2692   done
2693   (set) 2>&1 |
2694     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2695     *${as_nl}ac_space=\ *)
2696       sed -n \
2697         "s/'\''/'\''\\\\'\'''\''/g;
2698           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2699       ;; #(
2700     *)
2701       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2702       ;;
2703     esac |
2704     sort
2705 )
2706     echo
2707
2708     cat <<\_ASBOX
2709 ## ----------------- ##
2710 ## Output variables. ##
2711 ## ----------------- ##
2712 _ASBOX
2713     echo
2714     for ac_var in $ac_subst_vars
2715     do
2716       eval ac_val=\$$ac_var
2717       case $ac_val in
2718       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2719       esac
2720       $as_echo "$ac_var='\''$ac_val'\''"
2721     done | sort
2722     echo
2723
2724     if test -n "$ac_subst_files"; then
2725       cat <<\_ASBOX
2726 ## ------------------- ##
2727 ## File substitutions. ##
2728 ## ------------------- ##
2729 _ASBOX
2730       echo
2731       for ac_var in $ac_subst_files
2732       do
2733         eval ac_val=\$$ac_var
2734         case $ac_val in
2735         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2736         esac
2737         $as_echo "$ac_var='\''$ac_val'\''"
2738       done | sort
2739       echo
2740     fi
2741
2742     if test -s confdefs.h; then
2743       cat <<\_ASBOX
2744 ## ----------- ##
2745 ## confdefs.h. ##
2746 ## ----------- ##
2747 _ASBOX
2748       echo
2749       cat confdefs.h
2750       echo
2751     fi
2752     test "$ac_signal" != 0 &&
2753       $as_echo "$as_me: caught signal $ac_signal"
2754     $as_echo "$as_me: exit $exit_status"
2755   } >&5
2756   rm -f core *.core core.conftest.* &&
2757     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2758     exit $exit_status
2759 ' 0
2760 for ac_signal in 1 2 13 15; do
2761   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2762 done
2763 ac_signal=0
2764
2765 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2766 rm -f -r conftest* confdefs.h
2767
2768 $as_echo "/* confdefs.h */" > confdefs.h
2769
2770 # Predefined preprocessor variables.
2771
2772 cat >>confdefs.h <<_ACEOF
2773 #define PACKAGE_NAME "$PACKAGE_NAME"
2774 _ACEOF
2775
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2778 _ACEOF
2779
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2782 _ACEOF
2783
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_STRING "$PACKAGE_STRING"
2786 _ACEOF
2787
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2790 _ACEOF
2791
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_URL "$PACKAGE_URL"
2794 _ACEOF
2795
2796
2797 # Let the site file select an alternate cache file if it wants to.
2798 # Prefer an explicitly selected file to automatically selected ones.
2799 ac_site_file1=NONE
2800 ac_site_file2=NONE
2801 if test -n "$CONFIG_SITE"; then
2802   ac_site_file1=$CONFIG_SITE
2803 elif test "x$prefix" != xNONE; then
2804   ac_site_file1=$prefix/share/config.site
2805   ac_site_file2=$prefix/etc/config.site
2806 else
2807   ac_site_file1=$ac_default_prefix/share/config.site
2808   ac_site_file2=$ac_default_prefix/etc/config.site
2809 fi
2810 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2811 do
2812   test "x$ac_site_file" = xNONE && continue
2813   if test -r "$ac_site_file"; then
2814     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2815 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2816     sed 's/^/| /' "$ac_site_file" >&5
2817     . "$ac_site_file"
2818   fi
2819 done
2820
2821 if test -r "$cache_file"; then
2822   # Some versions of bash will fail to source /dev/null (special
2823   # files actually), so we avoid doing that.
2824   if test -f "$cache_file"; then
2825     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2826 $as_echo "$as_me: loading cache $cache_file" >&6;}
2827     case $cache_file in
2828       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2829       *)                      . "./$cache_file";;
2830     esac
2831   fi
2832 else
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2834 $as_echo "$as_me: creating cache $cache_file" >&6;}
2835   >$cache_file
2836 fi
2837
2838 # Check that the precious variables saved in the cache have kept the same
2839 # value.
2840 ac_cache_corrupted=false
2841 for ac_var in $ac_precious_vars; do
2842   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2843   eval ac_new_set=\$ac_env_${ac_var}_set
2844   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2845   eval ac_new_val=\$ac_env_${ac_var}_value
2846   case $ac_old_set,$ac_new_set in
2847     set,)
2848       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2849 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2850       ac_cache_corrupted=: ;;
2851     ,set)
2852       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2854       ac_cache_corrupted=: ;;
2855     ,);;
2856     *)
2857       if test "x$ac_old_val" != "x$ac_new_val"; then
2858         # differences in whitespace do not lead to failure.
2859         ac_old_val_w=`echo x $ac_old_val`
2860         ac_new_val_w=`echo x $ac_new_val`
2861         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2862           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2863 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2864           ac_cache_corrupted=:
2865         else
2866           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2867 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2868           eval $ac_var=\$ac_old_val
2869         fi
2870         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2871 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2872         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2873 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2874       fi;;
2875   esac
2876   # Pass precious variables to config.status.
2877   if test "$ac_new_set" = set; then
2878     case $ac_new_val in
2879     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2880     *) ac_arg=$ac_var=$ac_new_val ;;
2881     esac
2882     case " $ac_configure_args " in
2883       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2884       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2885     esac
2886   fi
2887 done
2888 if $ac_cache_corrupted; then
2889   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2892 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2893   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2894 fi
2895 ## -------------------- ##
2896 ## Main body of script. ##
2897 ## -------------------- ##
2898
2899 ac_ext=c
2900 ac_cpp='$CPP $CPPFLAGS'
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904
2905
2906
2907
2908
2909
2910 ac_config_headers="$ac_config_headers config.h"
2911
2912
2913 # This works around the fact that libtool configuration may change LD
2914 # for this particular configuration, but some shells, instead of
2915 # keeping the changes in LD private, export them just because LD is
2916 # exported.  Only used at the end of this file.
2917 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2918
2919 # Find the rest of the source tree framework.
2920 # Default to --enable-multilib
2921 # Check whether --enable-multilib was given.
2922 if test "${enable_multilib+set}" = set; then :
2923   enableval=$enable_multilib; case "$enableval" in
2924   yes) multilib=yes ;;
2925   no)  multilib=no ;;
2926   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2927  esac
2928 else
2929   multilib=yes
2930 fi
2931
2932
2933 # We may get other options which we leave undocumented:
2934 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2935 # See config-ml.in if you want the gory details.
2936
2937 if test "$srcdir" = "."; then
2938   if test "$with_target_subdir" != "."; then
2939     multi_basedir="$srcdir/$with_multisrctop../.."
2940   else
2941     multi_basedir="$srcdir/$with_multisrctop.."
2942   fi
2943 else
2944   multi_basedir="$srcdir/.."
2945 fi
2946
2947
2948 # Even if the default multilib is not a cross compilation,
2949 # it may be that some of the other multilibs are.
2950 if test $cross_compiling = no && test $multilib = yes \
2951    && test "x${with_multisubdir}" != x ; then
2952    cross_compiling=maybe
2953 fi
2954
2955 ac_config_commands="$ac_config_commands default-1"
2956
2957
2958 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2959 #
2960 # You will slowly go insane if you do not grok the following fact:  when
2961 # building v3 as part of the compiler, the top-level /target/ becomes the
2962 # library's /host/.  configure then causes --target to default to --host,
2963 # exactly like any other package using autoconf.  Therefore, 'target' and
2964 # 'host' will always be the same.  This makes sense both for native and
2965 # cross compilers, just think about it for a little while.  :-)
2966 #
2967 # Also, if v3 is being configured as part of a cross compiler, the top-level
2968 # configure script will pass the "real" host as $with_cross_host.
2969 #
2970 # Do not delete or change the following two lines.  For why, see
2971 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2972 ac_aux_dir=
2973 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2974   for ac_t in install-sh install.sh shtool; do
2975     if test -f "$ac_dir/$ac_t"; then
2976       ac_aux_dir=$ac_dir
2977       ac_install_sh="$ac_aux_dir/$ac_t -c"
2978       break 2
2979     fi
2980   done
2981 done
2982 if test -z "$ac_aux_dir"; then
2983   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2984 fi
2985
2986 # These three variables are undocumented and unsupported,
2987 # and are intended to be withdrawn in a future Autoconf release.
2988 # They can cause serious problems if a builder's source tree is in a directory
2989 # whose full name contains unusual characters.
2990 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2991 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2992 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2993
2994
2995 # Make sure we can run config.sub.
2996 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2997   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2998
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3000 $as_echo_n "checking build system type... " >&6; }
3001 if test "${ac_cv_build+set}" = set; then :
3002   $as_echo_n "(cached) " >&6
3003 else
3004   ac_build_alias=$build_alias
3005 test "x$ac_build_alias" = x &&
3006   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3007 test "x$ac_build_alias" = x &&
3008   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3009 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3010   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3011
3012 fi
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3014 $as_echo "$ac_cv_build" >&6; }
3015 case $ac_cv_build in
3016 *-*-*) ;;
3017 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3018 esac
3019 build=$ac_cv_build
3020 ac_save_IFS=$IFS; IFS='-'
3021 set x $ac_cv_build
3022 shift
3023 build_cpu=$1
3024 build_vendor=$2
3025 shift; shift
3026 # Remember, the first character of IFS is used to create $*,
3027 # except with old shells:
3028 build_os=$*
3029 IFS=$ac_save_IFS
3030 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3031
3032
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3034 $as_echo_n "checking host system type... " >&6; }
3035 if test "${ac_cv_host+set}" = set; then :
3036   $as_echo_n "(cached) " >&6
3037 else
3038   if test "x$host_alias" = x; then
3039   ac_cv_host=$ac_cv_build
3040 else
3041   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3042     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3043 fi
3044
3045 fi
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3047 $as_echo "$ac_cv_host" >&6; }
3048 case $ac_cv_host in
3049 *-*-*) ;;
3050 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3051 esac
3052 host=$ac_cv_host
3053 ac_save_IFS=$IFS; IFS='-'
3054 set x $ac_cv_host
3055 shift
3056 host_cpu=$1
3057 host_vendor=$2
3058 shift; shift
3059 # Remember, the first character of IFS is used to create $*,
3060 # except with old shells:
3061 host_os=$*
3062 IFS=$ac_save_IFS
3063 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3064
3065
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3067 $as_echo_n "checking target system type... " >&6; }
3068 if test "${ac_cv_target+set}" = set; then :
3069   $as_echo_n "(cached) " >&6
3070 else
3071   if test "x$target_alias" = x; then
3072   ac_cv_target=$ac_cv_host
3073 else
3074   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3075     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3076 fi
3077
3078 fi
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3080 $as_echo "$ac_cv_target" >&6; }
3081 case $ac_cv_target in
3082 *-*-*) ;;
3083 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3084 esac
3085 target=$ac_cv_target
3086 ac_save_IFS=$IFS; IFS='-'
3087 set x $ac_cv_target
3088 shift
3089 target_cpu=$1
3090 target_vendor=$2
3091 shift; shift
3092 # Remember, the first character of IFS is used to create $*,
3093 # except with old shells:
3094 target_os=$*
3095 IFS=$ac_save_IFS
3096 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3097
3098
3099 # The aliases save the names the user supplied, while $host etc.
3100 # will get canonicalized.
3101 test -n "$target_alias" &&
3102   test "$program_prefix$program_suffix$program_transform_name" = \
3103     NONENONEs,x,x, &&
3104   program_prefix=${target_alias}-
3105
3106 target_alias=${target_alias-$host_alias}
3107
3108 # Handy for debugging:
3109 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3110
3111 if test "$build" != "$host"; then
3112   # We are being configured with some form of cross compiler.
3113   GLIBCXX_IS_NATIVE=false
3114   case "$host","$target" in
3115     # Darwin crosses can use the host system's libraries and headers,
3116     # because of the fat library support.  Of course, it must be the
3117     # same version of Darwin on both sides.  Allow the user to
3118     # just say --target=foo-darwin without a version number to mean
3119     # "the version on this system".
3120       *-*-darwin*,*-*-darwin*)
3121         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3122         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3123         if test $hostos = $targetos -o $targetos = darwin ; then
3124           GLIBCXX_IS_NATIVE=true
3125         fi
3126         ;;
3127
3128       *)
3129
3130         ;;
3131   esac
3132 else
3133   GLIBCXX_IS_NATIVE=true
3134 fi
3135
3136 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3137 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3138 #  1.x:  minimum required version
3139 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3140 #              of other PACKAGE_* variables will, however, and there's nothing
3141 #              we can do about that; they come from AC_INIT).
3142 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3143 #            file in the top srcdir, etc, etc), so stop complaining.
3144 #  no-dependencies:  turns off auto dependency generation (just for now)
3145 #  no-dist:  we don't want 'dist' and related rules.
3146 #  -Wall:  turns on all automake warnings...
3147 #  -Wno-portability:  ...except this one, since GNU make is now required.
3148 am__api_version='1.11'
3149
3150 # Find a good install program.  We prefer a C program (faster),
3151 # so one script is as good as another.  But avoid the broken or
3152 # incompatible versions:
3153 # SysV /etc/install, /usr/sbin/install
3154 # SunOS /usr/etc/install
3155 # IRIX /sbin/install
3156 # AIX /bin/install
3157 # AmigaOS /C/install, which installs bootblocks on floppy discs
3158 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3159 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3160 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3161 # OS/2's system install, which has a completely different semantic
3162 # ./install, which can be erroneously created by make from ./install.sh.
3163 # Reject install programs that cannot install multiple files.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3165 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3166 if test -z "$INSTALL"; then
3167 if test "${ac_cv_path_install+set}" = set; then :
3168   $as_echo_n "(cached) " >&6
3169 else
3170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH
3172 do
3173   IFS=$as_save_IFS
3174   test -z "$as_dir" && as_dir=.
3175     # Account for people who put trailing slashes in PATH elements.
3176 case $as_dir/ in #((
3177   ./ | .// | /[cC]/* | \
3178   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3179   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3180   /usr/ucb/* ) ;;
3181   *)
3182     # OSF1 and SCO ODT 3.0 have their own names for install.
3183     # Don't use installbsd from OSF since it installs stuff as root
3184     # by default.
3185     for ac_prog in ginstall scoinst install; do
3186       for ac_exec_ext in '' $ac_executable_extensions; do
3187         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3188           if test $ac_prog = install &&
3189             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3190             # AIX install.  It has an incompatible calling convention.
3191             :
3192           elif test $ac_prog = install &&
3193             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194             # program-specific install script used by HP pwplus--don't use.
3195             :
3196           else
3197             rm -rf conftest.one conftest.two conftest.dir
3198             echo one > conftest.one
3199             echo two > conftest.two
3200             mkdir conftest.dir
3201             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3202               test -s conftest.one && test -s conftest.two &&
3203               test -s conftest.dir/conftest.one &&
3204               test -s conftest.dir/conftest.two
3205             then
3206               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3207               break 3
3208             fi
3209           fi
3210         fi
3211       done
3212     done
3213     ;;
3214 esac
3215
3216   done
3217 IFS=$as_save_IFS
3218
3219 rm -rf conftest.one conftest.two conftest.dir
3220
3221 fi
3222   if test "${ac_cv_path_install+set}" = set; then
3223     INSTALL=$ac_cv_path_install
3224   else
3225     # As a last resort, use the slow shell script.  Don't cache a
3226     # value for INSTALL within a source directory, because that will
3227     # break other packages using the cache if that directory is
3228     # removed, or if the value is a relative name.
3229     INSTALL=$ac_install_sh
3230   fi
3231 fi
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3233 $as_echo "$INSTALL" >&6; }
3234
3235 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3236 # It thinks the first close brace ends the variable substitution.
3237 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3238
3239 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3240
3241 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3242
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3244 $as_echo_n "checking whether build environment is sane... " >&6; }
3245 # Just in case
3246 sleep 1
3247 echo timestamp > conftest.file
3248 # Reject unsafe characters in $srcdir or the absolute working directory
3249 # name.  Accept space and tab only in the latter.
3250 am_lf='
3251 '
3252 case `pwd` in
3253   *[\\\"\#\$\&\'\`$am_lf]*)
3254     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3255 esac
3256 case $srcdir in
3257   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3258     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3259 esac
3260
3261 # Do `set' in a subshell so we don't clobber the current shell's
3262 # arguments.  Must try -L first in case configure is actually a
3263 # symlink; some systems play weird games with the mod time of symlinks
3264 # (eg FreeBSD returns the mod time of the symlink's containing
3265 # directory).
3266 if (
3267    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3268    if test "$*" = "X"; then
3269       # -L didn't work.
3270       set X `ls -t "$srcdir/configure" conftest.file`
3271    fi
3272    rm -f conftest.file
3273    if test "$*" != "X $srcdir/configure conftest.file" \
3274       && test "$*" != "X conftest.file $srcdir/configure"; then
3275
3276       # If neither matched, then we have a broken ls.  This can happen
3277       # if, for instance, CONFIG_SHELL is bash and it inherits a
3278       # broken ls alias from the environment.  This has actually
3279       # happened.  Such a system could not be considered "sane".
3280       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3281 alias in your environment" "$LINENO" 5
3282    fi
3283
3284    test "$2" = conftest.file
3285    )
3286 then
3287    # Ok.
3288    :
3289 else
3290    as_fn_error "newly created file is older than distributed files!
3291 Check your system clock" "$LINENO" 5
3292 fi
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3294 $as_echo "yes" >&6; }
3295 test "$program_prefix" != NONE &&
3296   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3297 # Use a double $ so make ignores it.
3298 test "$program_suffix" != NONE &&
3299   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3300 # Double any \ or $.
3301 # By default was `s,x,x', remove it if useless.
3302 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3303 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3304
3305 # expand $ac_aux_dir to an absolute path
3306 am_aux_dir=`cd $ac_aux_dir && pwd`
3307
3308 if test x"${MISSING+set}" != xset; then
3309   case $am_aux_dir in
3310   *\ * | *\     *)
3311     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3312   *)
3313     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3314   esac
3315 fi
3316 # Use eval to expand $SHELL
3317 if eval "$MISSING --run true"; then
3318   am_missing_run="$MISSING --run "
3319 else
3320   am_missing_run=
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3322 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3323 fi
3324
3325 if test x"${install_sh}" != xset; then
3326   case $am_aux_dir in
3327   *\ * | *\     *)
3328     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3329   *)
3330     install_sh="\${SHELL} $am_aux_dir/install-sh"
3331   esac
3332 fi
3333
3334 # Installed binaries are usually stripped using `strip' when the user
3335 # run `make install-strip'.  However `strip' might not be the right
3336 # tool to use in cross-compilation environments, therefore Automake
3337 # will honor the `STRIP' environment variable to overrule this program.
3338 if test "$cross_compiling" != no; then
3339   if test -n "$ac_tool_prefix"; then
3340   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3341 set dummy ${ac_tool_prefix}strip; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if test "${ac_cv_prog_STRIP+set}" = set; then :
3345   $as_echo_n "(cached) " >&6
3346 else
3347   if test -n "$STRIP"; then
3348   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH
3352 do
3353   IFS=$as_save_IFS
3354   test -z "$as_dir" && as_dir=.
3355     for ac_exec_ext in '' $ac_executable_extensions; do
3356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359     break 2
3360   fi
3361 done
3362   done
3363 IFS=$as_save_IFS
3364
3365 fi
3366 fi
3367 STRIP=$ac_cv_prog_STRIP
3368 if test -n "$STRIP"; then
3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3370 $as_echo "$STRIP" >&6; }
3371 else
3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3374 fi
3375
3376
3377 fi
3378 if test -z "$ac_cv_prog_STRIP"; then
3379   ac_ct_STRIP=$STRIP
3380   # Extract the first word of "strip", so it can be a program name with args.
3381 set dummy strip; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3385   $as_echo_n "(cached) " >&6
3386 else
3387   if test -n "$ac_ct_STRIP"; then
3388   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3389 else
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3392 do
3393   IFS=$as_save_IFS
3394   test -z "$as_dir" && as_dir=.
3395     for ac_exec_ext in '' $ac_executable_extensions; do
3396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397     ac_cv_prog_ac_ct_STRIP="strip"
3398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399     break 2
3400   fi
3401 done
3402   done
3403 IFS=$as_save_IFS
3404
3405 fi
3406 fi
3407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3408 if test -n "$ac_ct_STRIP"; then
3409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3410 $as_echo "$ac_ct_STRIP" >&6; }
3411 else
3412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3414 fi
3415
3416   if test "x$ac_ct_STRIP" = x; then
3417     STRIP=":"
3418   else
3419     case $cross_compiling:$ac_tool_warned in
3420 yes:)
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3423 ac_tool_warned=yes ;;
3424 esac
3425     STRIP=$ac_ct_STRIP
3426   fi
3427 else
3428   STRIP="$ac_cv_prog_STRIP"
3429 fi
3430
3431 fi
3432 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3433
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3435 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3436 if test -z "$MKDIR_P"; then
3437   if test "${ac_cv_path_mkdir+set}" = set; then :
3438   $as_echo_n "(cached) " >&6
3439 else
3440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3442 do
3443   IFS=$as_save_IFS
3444   test -z "$as_dir" && as_dir=.
3445     for ac_prog in mkdir gmkdir; do
3446          for ac_exec_ext in '' $ac_executable_extensions; do
3447            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3448            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3449              'mkdir (GNU coreutils) '* | \
3450              'mkdir (coreutils) '* | \
3451              'mkdir (fileutils) '4.1*)
3452                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3453                break 3;;
3454            esac
3455          done
3456        done
3457   done
3458 IFS=$as_save_IFS
3459
3460 fi
3461
3462   if test "${ac_cv_path_mkdir+set}" = set; then
3463     MKDIR_P="$ac_cv_path_mkdir -p"
3464   else
3465     # As a last resort, use the slow shell script.  Don't cache a
3466     # value for MKDIR_P within a source directory, because that will
3467     # break other packages using the cache if that directory is
3468     # removed, or if the value is a relative name.
3469     test -d ./--version && rmdir ./--version
3470     MKDIR_P="$ac_install_sh -d"
3471   fi
3472 fi
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3474 $as_echo "$MKDIR_P" >&6; }
3475
3476 mkdir_p="$MKDIR_P"
3477 case $mkdir_p in
3478   [\\/$]* | ?:[\\/]*) ;;
3479   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3480 esac
3481
3482 for ac_prog in gawk mawk nawk awk
3483 do
3484   # Extract the first word of "$ac_prog", so it can be a program name with args.
3485 set dummy $ac_prog; ac_word=$2
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3487 $as_echo_n "checking for $ac_word... " >&6; }
3488 if test "${ac_cv_prog_AWK+set}" = set; then :
3489   $as_echo_n "(cached) " >&6
3490 else
3491   if test -n "$AWK"; then
3492   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3493 else
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH
3496 do
3497   IFS=$as_save_IFS
3498   test -z "$as_dir" && as_dir=.
3499     for ac_exec_ext in '' $ac_executable_extensions; do
3500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3501     ac_cv_prog_AWK="$ac_prog"
3502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3503     break 2
3504   fi
3505 done
3506   done
3507 IFS=$as_save_IFS
3508
3509 fi
3510 fi
3511 AWK=$ac_cv_prog_AWK
3512 if test -n "$AWK"; then
3513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3514 $as_echo "$AWK" >&6; }
3515 else
3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3517 $as_echo "no" >&6; }
3518 fi
3519
3520
3521   test -n "$AWK" && break
3522 done
3523
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3526 set x ${MAKE-make}
3527 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3528 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3529   $as_echo_n "(cached) " >&6
3530 else
3531   cat >conftest.make <<\_ACEOF
3532 SHELL = /bin/sh
3533 all:
3534         @echo '@@@%%%=$(MAKE)=@@@%%%'
3535 _ACEOF
3536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3538   *@@@%%%=?*=@@@%%%*)
3539     eval ac_cv_prog_make_${ac_make}_set=yes;;
3540   *)
3541     eval ac_cv_prog_make_${ac_make}_set=no;;
3542 esac
3543 rm -f conftest.make
3544 fi
3545 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3548   SET_MAKE=
3549 else
3550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552   SET_MAKE="MAKE=${MAKE-make}"
3553 fi
3554
3555 rm -rf .tst 2>/dev/null
3556 mkdir .tst 2>/dev/null
3557 if test -d .tst; then
3558   am__leading_dot=.
3559 else
3560   am__leading_dot=_
3561 fi
3562 rmdir .tst 2>/dev/null
3563
3564 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3565   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3566   # is not polluted with repeated "-I."
3567   am__isrc=' -I$(srcdir)'
3568   # test to see if srcdir already configured
3569   if test -f $srcdir/config.status; then
3570     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3571   fi
3572 fi
3573
3574 # test whether we have cygpath
3575 if test -z "$CYGPATH_W"; then
3576   if (cygpath --version) >/dev/null 2>/dev/null; then
3577     CYGPATH_W='cygpath -w'
3578   else
3579     CYGPATH_W=echo
3580   fi
3581 fi
3582
3583
3584 # Define the identity of the package.
3585  PACKAGE='libstdc++'
3586  VERSION='version-unused'
3587
3588
3589 # Some tools Automake needs.
3590
3591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3592
3593
3594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3595
3596
3597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3598
3599
3600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3601
3602
3603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3604
3605 # We need awk for the "check" target.  The system "awk" is bad on
3606 # some platforms.
3607 # Always define AMTAR for backward compatibility.
3608
3609 AMTAR=${AMTAR-"${am_missing_run}tar"}
3610
3611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3612
3613
3614
3615
3616
3617
3618
3619
3620 # -fno-builtin must be present here so that a non-conflicting form of
3621 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3622
3623 save_CXXFLAGS="$CXXFLAGS"
3624 CXXFLAGS="$CXXFLAGS -fno-builtin"
3625 ac_ext=c
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 if test -n "$ac_tool_prefix"; then
3631   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3632 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if test "${ac_cv_prog_CC+set}" = set; then :
3636   $as_echo_n "(cached) " >&6
3637 else
3638   if test -n "$CC"; then
3639   ac_cv_prog_CC="$CC" # Let the user override the test.
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3643 do
3644   IFS=$as_save_IFS
3645   test -z "$as_dir" && as_dir=.
3646     for ac_exec_ext in '' $ac_executable_extensions; do
3647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3648     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650     break 2
3651   fi
3652 done
3653   done
3654 IFS=$as_save_IFS
3655
3656 fi
3657 fi
3658 CC=$ac_cv_prog_CC
3659 if test -n "$CC"; then
3660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3661 $as_echo "$CC" >&6; }
3662 else
3663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3665 fi
3666
3667
3668 fi
3669 if test -z "$ac_cv_prog_CC"; then
3670   ac_ct_CC=$CC
3671   # Extract the first word of "gcc", so it can be a program name with args.
3672 set dummy gcc; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3676   $as_echo_n "(cached) " >&6
3677 else
3678   if test -n "$ac_ct_CC"; then
3679   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3683 do
3684   IFS=$as_save_IFS
3685   test -z "$as_dir" && as_dir=.
3686     for ac_exec_ext in '' $ac_executable_extensions; do
3687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688     ac_cv_prog_ac_ct_CC="gcc"
3689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690     break 2
3691   fi
3692 done
3693   done
3694 IFS=$as_save_IFS
3695
3696 fi
3697 fi
3698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3699 if test -n "$ac_ct_CC"; then
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3701 $as_echo "$ac_ct_CC" >&6; }
3702 else
3703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3705 fi
3706
3707   if test "x$ac_ct_CC" = x; then
3708     CC=""
3709   else
3710     case $cross_compiling:$ac_tool_warned in
3711 yes:)
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3714 ac_tool_warned=yes ;;
3715 esac
3716     CC=$ac_ct_CC
3717   fi
3718 else
3719   CC="$ac_cv_prog_CC"
3720 fi
3721
3722 if test -z "$CC"; then
3723           if test -n "$ac_tool_prefix"; then
3724     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3725 set dummy ${ac_tool_prefix}cc; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if test "${ac_cv_prog_CC+set}" = set; then :
3729   $as_echo_n "(cached) " >&6
3730 else
3731   if test -n "$CC"; then
3732   ac_cv_prog_CC="$CC" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3736 do
3737   IFS=$as_save_IFS
3738   test -z "$as_dir" && as_dir=.
3739     for ac_exec_ext in '' $ac_executable_extensions; do
3740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3741     ac_cv_prog_CC="${ac_tool_prefix}cc"
3742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743     break 2
3744   fi
3745 done
3746   done
3747 IFS=$as_save_IFS
3748
3749 fi
3750 fi
3751 CC=$ac_cv_prog_CC
3752 if test -n "$CC"; then
3753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3755 else
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3758 fi
3759
3760
3761   fi
3762 fi
3763 if test -z "$CC"; then
3764   # Extract the first word of "cc", so it can be a program name with args.
3765 set dummy cc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_prog_CC+set}" = set; then :
3769   $as_echo_n "(cached) " >&6
3770 else
3771   if test -n "$CC"; then
3772   ac_cv_prog_CC="$CC" # Let the user override the test.
3773 else
3774   ac_prog_rejected=no
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3777 do
3778   IFS=$as_save_IFS
3779   test -z "$as_dir" && as_dir=.
3780     for ac_exec_ext in '' $ac_executable_extensions; do
3781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3782     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3783        ac_prog_rejected=yes
3784        continue
3785      fi
3786     ac_cv_prog_CC="cc"
3787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788     break 2
3789   fi
3790 done
3791   done
3792 IFS=$as_save_IFS
3793
3794 if test $ac_prog_rejected = yes; then
3795   # We found a bogon in the path, so make sure we never use it.
3796   set dummy $ac_cv_prog_CC
3797   shift
3798   if test $# != 0; then
3799     # We chose a different compiler from the bogus one.
3800     # However, it has the same basename, so the bogon will be chosen
3801     # first if we set CC to just the basename; use the full file name.
3802     shift
3803     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3804   fi
3805 fi
3806 fi
3807 fi
3808 CC=$ac_cv_prog_CC
3809 if test -n "$CC"; then
3810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3811 $as_echo "$CC" >&6; }
3812 else
3813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3815 fi
3816
3817
3818 fi
3819 if test -z "$CC"; then
3820   if test -n "$ac_tool_prefix"; then
3821   for ac_prog in cl.exe
3822   do
3823     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if test "${ac_cv_prog_CC+set}" = set; then :
3828   $as_echo_n "(cached) " >&6
3829 else
3830   if test -n "$CC"; then
3831   ac_cv_prog_CC="$CC" # Let the user override the test.
3832 else
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH
3835 do
3836   IFS=$as_save_IFS
3837   test -z "$as_dir" && as_dir=.
3838     for ac_exec_ext in '' $ac_executable_extensions; do
3839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842     break 2
3843   fi
3844 done
3845   done
3846 IFS=$as_save_IFS
3847
3848 fi
3849 fi
3850 CC=$ac_cv_prog_CC
3851 if test -n "$CC"; then
3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3853 $as_echo "$CC" >&6; }
3854 else
3855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3857 fi
3858
3859
3860     test -n "$CC" && break
3861   done
3862 fi
3863 if test -z "$CC"; then
3864   ac_ct_CC=$CC
3865   for ac_prog in cl.exe
3866 do
3867   # Extract the first word of "$ac_prog", so it can be a program name with args.
3868 set dummy $ac_prog; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3872   $as_echo_n "(cached) " >&6
3873 else
3874   if test -n "$ac_ct_CC"; then
3875   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3876 else
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH
3879 do
3880   IFS=$as_save_IFS
3881   test -z "$as_dir" && as_dir=.
3882     for ac_exec_ext in '' $ac_executable_extensions; do
3883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3884     ac_cv_prog_ac_ct_CC="$ac_prog"
3885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886     break 2
3887   fi
3888 done
3889   done
3890 IFS=$as_save_IFS
3891
3892 fi
3893 fi
3894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3895 if test -n "$ac_ct_CC"; then
3896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3897 $as_echo "$ac_ct_CC" >&6; }
3898 else
3899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3901 fi
3902
3903
3904   test -n "$ac_ct_CC" && break
3905 done
3906
3907   if test "x$ac_ct_CC" = x; then
3908     CC=""
3909   else
3910     case $cross_compiling:$ac_tool_warned in
3911 yes:)
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3914 ac_tool_warned=yes ;;
3915 esac
3916     CC=$ac_ct_CC
3917   fi
3918 fi
3919
3920 fi
3921
3922
3923 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3925 as_fn_error "no acceptable C compiler found in \$PATH
3926 See \`config.log' for more details." "$LINENO" 5; }
3927
3928 # Provide some information about the compiler.
3929 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3930 set X $ac_compile
3931 ac_compiler=$2
3932 for ac_option in --version -v -V -qversion; do
3933   { { ac_try="$ac_compiler $ac_option >&5"
3934 case "(($ac_try" in
3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936   *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3941   ac_status=$?
3942   if test -s conftest.err; then
3943     sed '10a\
3944 ... rest of stderr output deleted ...
3945          10q' conftest.err >conftest.er1
3946     cat conftest.er1 >&5
3947     rm -f conftest.er1 conftest.err
3948   fi
3949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950   test $ac_status = 0; }
3951 done
3952
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h.  */
3955
3956 int
3957 main ()
3958 {
3959
3960   ;
3961   return 0;
3962 }
3963 _ACEOF
3964 # FIXME: Cleanup?
3965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3966   (eval $ac_link) 2>&5
3967   ac_status=$?
3968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969   test $ac_status = 0; }; then :
3970   gcc_no_link=no
3971 else
3972   gcc_no_link=yes
3973 fi
3974 if test x$gcc_no_link = xyes; then
3975   # Setting cross_compile will disable run tests; it will
3976   # also disable AC_CHECK_FILE but that's generally
3977   # correct if we can't link.
3978   cross_compiling=yes
3979   EXEEXT=
3980 else
3981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h.  */
3983
3984 int
3985 main ()
3986 {
3987
3988   ;
3989   return 0;
3990 }
3991 _ACEOF
3992 ac_clean_files_save=$ac_clean_files
3993 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3994 # Try to create an executable without -o first, disregard a.out.
3995 # It will help us diagnose broken compilers, and finding out an intuition
3996 # of exeext.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3998 $as_echo_n "checking for C compiler default output file name... " >&6; }
3999 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4000
4001 # The possible output files:
4002 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4003
4004 ac_rmfiles=
4005 for ac_file in $ac_files
4006 do
4007   case $ac_file in
4008     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4009     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4010   esac
4011 done
4012 rm -f $ac_rmfiles
4013
4014 if { { ac_try="$ac_link_default"
4015 case "(($ac_try" in
4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017   *) ac_try_echo=$ac_try;;
4018 esac
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021   (eval "$ac_link_default") 2>&5
4022   ac_status=$?
4023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024   test $ac_status = 0; }; then :
4025   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4026 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4027 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4028 # so that the user can short-circuit this test for compilers unknown to
4029 # Autoconf.
4030 for ac_file in $ac_files ''
4031 do
4032   test -f "$ac_file" || continue
4033   case $ac_file in
4034     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4035         ;;
4036     [ab].out )
4037         # We found the default executable, but exeext='' is most
4038         # certainly right.
4039         break;;
4040     *.* )
4041         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4042         then :; else
4043            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4044         fi
4045         # We set ac_cv_exeext here because the later test for it is not
4046         # safe: cross compilers may not add the suffix if given an `-o'
4047         # argument, so we may need to know it at that point already.
4048         # Even if this section looks crufty: it has the advantage of
4049         # actually working.
4050         break;;
4051     * )
4052         break;;
4053   esac
4054 done
4055 test "$ac_cv_exeext" = no && ac_cv_exeext=
4056
4057 else
4058   ac_file=''
4059 fi
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4061 $as_echo "$ac_file" >&6; }
4062 if test -z "$ac_file"; then :
4063   $as_echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4065
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 { as_fn_set_status 77
4069 as_fn_error "C compiler cannot create executables
4070 See \`config.log' for more details." "$LINENO" 5; }; }
4071 fi
4072 ac_exeext=$ac_cv_exeext
4073
4074 # Check that the compiler produces executables we can run.  If not, either
4075 # the compiler is broken, or we cross compile.
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4077 $as_echo_n "checking whether the C compiler works... " >&6; }
4078 # If not cross compiling, check that we can run a simple program.
4079 if test "$cross_compiling" != yes; then
4080   if { ac_try='./$ac_file'
4081   { { case "(($ac_try" in
4082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083   *) ac_try_echo=$ac_try;;
4084 esac
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087   (eval "$ac_try") 2>&5
4088   ac_status=$?
4089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090   test $ac_status = 0; }; }; then
4091     cross_compiling=no
4092   else
4093     if test "$cross_compiling" = maybe; then
4094         cross_compiling=yes
4095     else
4096         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 as_fn_error "cannot run C compiled programs.
4099 If you meant to cross compile, use \`--host'.
4100 See \`config.log' for more details." "$LINENO" 5; }
4101     fi
4102   fi
4103 fi
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4105 $as_echo "yes" >&6; }
4106
4107 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4108 ac_clean_files=$ac_clean_files_save
4109 # Check that the compiler produces executables we can run.  If not, either
4110 # the compiler is broken, or we cross compile.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4112 $as_echo_n "checking whether we are cross compiling... " >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4114 $as_echo "$cross_compiling" >&6; }
4115
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4117 $as_echo_n "checking for suffix of executables... " >&6; }
4118 if { { ac_try="$ac_link"
4119 case "(($ac_try" in
4120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121   *) ac_try_echo=$ac_try;;
4122 esac
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125   (eval "$ac_link") 2>&5
4126   ac_status=$?
4127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128   test $ac_status = 0; }; then :
4129   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4130 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4131 # work properly (i.e., refer to `conftest.exe'), while it won't with
4132 # `rm'.
4133 for ac_file in conftest.exe conftest conftest.*; do
4134   test -f "$ac_file" || continue
4135   case $ac_file in
4136     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4137     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4138           break;;
4139     * ) break;;
4140   esac
4141 done
4142 else
4143   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error "cannot compute suffix of executables: cannot compile and link
4146 See \`config.log' for more details." "$LINENO" 5; }
4147 fi
4148 rm -f conftest$ac_cv_exeext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4150 $as_echo "$ac_cv_exeext" >&6; }
4151
4152 rm -f conftest.$ac_ext
4153 EXEEXT=$ac_cv_exeext
4154 ac_exeext=$EXEEXT
4155 fi
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4157 $as_echo_n "checking for suffix of object files... " >&6; }
4158 if test "${ac_cv_objext+set}" = set; then :
4159   $as_echo_n "(cached) " >&6
4160 else
4161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h.  */
4163
4164 int
4165 main ()
4166 {
4167
4168   ;
4169   return 0;
4170 }
4171 _ACEOF
4172 rm -f conftest.o conftest.obj
4173 if { { ac_try="$ac_compile"
4174 case "(($ac_try" in
4175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176   *) ac_try_echo=$ac_try;;
4177 esac
4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4179 $as_echo "$ac_try_echo"; } >&5
4180   (eval "$ac_compile") 2>&5
4181   ac_status=$?
4182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4183   test $ac_status = 0; }; then :
4184   for ac_file in conftest.o conftest.obj conftest.*; do
4185   test -f "$ac_file" || continue;
4186   case $ac_file in
4187     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4188     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4189        break;;
4190   esac
4191 done
4192 else
4193   $as_echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.$ac_ext >&5
4195
4196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error "cannot compute suffix of object files: cannot compile
4199 See \`config.log' for more details." "$LINENO" 5; }
4200 fi
4201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4202 fi
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4204 $as_echo "$ac_cv_objext" >&6; }
4205 OBJEXT=$ac_cv_objext
4206 ac_objext=$OBJEXT
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4209 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4210   $as_echo_n "(cached) " >&6
4211 else
4212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h.  */
4214
4215 int
4216 main ()
4217 {
4218 #ifndef __GNUC__
4219        choke me
4220 #endif
4221
4222   ;
4223   return 0;
4224 }
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227   ac_compiler_gnu=yes
4228 else
4229   ac_compiler_gnu=no
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4233
4234 fi
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4237 if test $ac_compiler_gnu = yes; then
4238   GCC=yes
4239 else
4240   GCC=
4241 fi
4242 ac_test_CFLAGS=${CFLAGS+set}
4243 ac_save_CFLAGS=$CFLAGS
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4246 if test "${ac_cv_prog_cc_g+set}" = set; then :
4247   $as_echo_n "(cached) " >&6
4248 else
4249   ac_save_c_werror_flag=$ac_c_werror_flag
4250    ac_c_werror_flag=yes
4251    ac_cv_prog_cc_g=no
4252    CFLAGS="-g"
4253    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h.  */
4255
4256 int
4257 main ()
4258 {
4259
4260   ;
4261   return 0;
4262 }
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265   ac_cv_prog_cc_g=yes
4266 else
4267   CFLAGS=""
4268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h.  */
4270
4271 int
4272 main ()
4273 {
4274
4275   ;
4276   return 0;
4277 }
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280
4281 else
4282   ac_c_werror_flag=$ac_save_c_werror_flag
4283          CFLAGS="-g"
4284          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h.  */
4286
4287 int
4288 main ()
4289 {
4290
4291   ;
4292   return 0;
4293 }
4294 _ACEOF
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296   ac_cv_prog_cc_g=yes
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 fi
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 fi
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303    ac_c_werror_flag=$ac_save_c_werror_flag
4304 fi
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4306 $as_echo "$ac_cv_prog_cc_g" >&6; }
4307 if test "$ac_test_CFLAGS" = set; then
4308   CFLAGS=$ac_save_CFLAGS
4309 elif test $ac_cv_prog_cc_g = yes; then
4310   if test "$GCC" = yes; then
4311     CFLAGS="-g -O2"
4312   else
4313     CFLAGS="-g"
4314   fi
4315 else
4316   if test "$GCC" = yes; then
4317     CFLAGS="-O2"
4318   else
4319     CFLAGS=
4320   fi
4321 fi
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4324 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4325   $as_echo_n "(cached) " >&6
4326 else
4327   ac_cv_prog_cc_c89=no
4328 ac_save_CC=$CC
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h.  */
4331 #include <stdarg.h>
4332 #include <stdio.h>
4333 #include <sys/types.h>
4334 #include <sys/stat.h>
4335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4336 struct buf { int x; };
4337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4338 static char *e (p, i)
4339      char **p;
4340      int i;
4341 {
4342   return p[i];
4343 }
4344 static char *f (char * (*g) (char **, int), char **p, ...)
4345 {
4346   char *s;
4347   va_list v;
4348   va_start (v,p);
4349   s = g (p, va_arg (v,int));
4350   va_end (v);
4351   return s;
4352 }
4353
4354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4355    function prototypes and stuff, but not '\xHH' hex character constants.
4356    These don't provoke an error unfortunately, instead are silently treated
4357    as 'x'.  The following induces an error, until -std is added to get
4358    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4359    array size at least.  It's necessary to write '\x00'==0 to get something
4360    that's true only with -std.  */
4361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4362
4363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4364    inside strings and character constants.  */
4365 #define FOO(x) 'x'
4366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4367
4368 int test (int i, double x);
4369 struct s1 {int (*f) (int a);};
4370 struct s2 {int (*f) (double a);};
4371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4372 int argc;
4373 char **argv;
4374 int
4375 main ()
4376 {
4377 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4378   ;
4379   return 0;
4380 }
4381 _ACEOF
4382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4383         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4384 do
4385   CC="$ac_save_CC $ac_arg"
4386   if ac_fn_c_try_compile "$LINENO"; then :
4387   ac_cv_prog_cc_c89=$ac_arg
4388 fi
4389 rm -f core conftest.err conftest.$ac_objext
4390   test "x$ac_cv_prog_cc_c89" != "xno" && break
4391 done
4392 rm -f conftest.$ac_ext
4393 CC=$ac_save_CC
4394
4395 fi
4396 # AC_CACHE_VAL
4397 case "x$ac_cv_prog_cc_c89" in
4398   x)
4399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4400 $as_echo "none needed" >&6; } ;;
4401   xno)
4402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4403 $as_echo "unsupported" >&6; } ;;
4404   *)
4405     CC="$CC $ac_cv_prog_cc_c89"
4406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4408 esac
4409 if test "x$ac_cv_prog_cc_c89" != xno; then :
4410
4411 fi
4412
4413 ac_ext=c
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418
4419 ac_ext=cpp
4420 ac_cpp='$CXXCPP $CPPFLAGS'
4421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4424 if test -z "$CXX"; then
4425   if test -n "$CCC"; then
4426     CXX=$CCC
4427   else
4428     if test -n "$ac_tool_prefix"; then
4429   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4430   do
4431     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if test "${ac_cv_prog_CXX+set}" = set; then :
4436   $as_echo_n "(cached) " >&6
4437 else
4438   if test -n "$CXX"; then
4439   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4443 do
4444   IFS=$as_save_IFS
4445   test -z "$as_dir" && as_dir=.
4446     for ac_exec_ext in '' $ac_executable_extensions; do
4447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4448     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450     break 2
4451   fi
4452 done
4453   done
4454 IFS=$as_save_IFS
4455
4456 fi
4457 fi
4458 CXX=$ac_cv_prog_CXX
4459 if test -n "$CXX"; then
4460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4461 $as_echo "$CXX" >&6; }
4462 else
4463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4465 fi
4466
4467
4468     test -n "$CXX" && break
4469   done
4470 fi
4471 if test -z "$CXX"; then
4472   ac_ct_CXX=$CXX
4473   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4474 do
4475   # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4480   $as_echo_n "(cached) " >&6
4481 else
4482   if test -n "$ac_ct_CXX"; then
4483   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4487 do
4488   IFS=$as_save_IFS
4489   test -z "$as_dir" && as_dir=.
4490     for ac_exec_ext in '' $ac_executable_extensions; do
4491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492     ac_cv_prog_ac_ct_CXX="$ac_prog"
4493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494     break 2
4495   fi
4496 done
4497   done
4498 IFS=$as_save_IFS
4499
4500 fi
4501 fi
4502 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4503 if test -n "$ac_ct_CXX"; then
4504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4505 $as_echo "$ac_ct_CXX" >&6; }
4506 else
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4509 fi
4510
4511
4512   test -n "$ac_ct_CXX" && break
4513 done
4514
4515   if test "x$ac_ct_CXX" = x; then
4516     CXX="g++"
4517   else
4518     case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524     CXX=$ac_ct_CXX
4525   fi
4526 fi
4527
4528   fi
4529 fi
4530 # Provide some information about the compiler.
4531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4532 set X $ac_compile
4533 ac_compiler=$2
4534 for ac_option in --version -v -V -qversion; do
4535   { { ac_try="$ac_compiler $ac_option >&5"
4536 case "(($ac_try" in
4537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538   *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4543   ac_status=$?
4544   if test -s conftest.err; then
4545     sed '10a\
4546 ... rest of stderr output deleted ...
4547          10q' conftest.err >conftest.er1
4548     cat conftest.er1 >&5
4549     rm -f conftest.er1 conftest.err
4550   fi
4551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552   test $ac_status = 0; }
4553 done
4554
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4556 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4557 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4558   $as_echo_n "(cached) " >&6
4559 else
4560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h.  */
4562
4563 int
4564 main ()
4565 {
4566 #ifndef __GNUC__
4567        choke me
4568 #endif
4569
4570   ;
4571   return 0;
4572 }
4573 _ACEOF
4574 if ac_fn_cxx_try_compile "$LINENO"; then :
4575   ac_compiler_gnu=yes
4576 else
4577   ac_compiler_gnu=no
4578 fi
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4581
4582 fi
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4584 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4585 if test $ac_compiler_gnu = yes; then
4586   GXX=yes
4587 else
4588   GXX=
4589 fi
4590 ac_test_CXXFLAGS=${CXXFLAGS+set}
4591 ac_save_CXXFLAGS=$CXXFLAGS
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4593 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4594 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4595   $as_echo_n "(cached) " >&6
4596 else
4597   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4598    ac_cxx_werror_flag=yes
4599    ac_cv_prog_cxx_g=no
4600    CXXFLAGS="-g"
4601    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h.  */
4603
4604 int
4605 main ()
4606 {
4607
4608   ;
4609   return 0;
4610 }
4611 _ACEOF
4612 if ac_fn_cxx_try_compile "$LINENO"; then :
4613   ac_cv_prog_cxx_g=yes
4614 else
4615   CXXFLAGS=""
4616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h.  */
4618
4619 int
4620 main ()
4621 {
4622
4623   ;
4624   return 0;
4625 }
4626 _ACEOF
4627 if ac_fn_cxx_try_compile "$LINENO"; then :
4628
4629 else
4630   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4631          CXXFLAGS="-g"
4632          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h.  */
4634
4635 int
4636 main ()
4637 {
4638
4639   ;
4640   return 0;
4641 }
4642 _ACEOF
4643 if ac_fn_cxx_try_compile "$LINENO"; then :
4644   ac_cv_prog_cxx_g=yes
4645 fi
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 fi
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 fi
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4652 fi
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4654 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4655 if test "$ac_test_CXXFLAGS" = set; then
4656   CXXFLAGS=$ac_save_CXXFLAGS
4657 elif test $ac_cv_prog_cxx_g = yes; then
4658   if test "$GXX" = yes; then
4659     CXXFLAGS="-g -O2"
4660   else
4661     CXXFLAGS="-g"
4662   fi
4663 else
4664   if test "$GXX" = yes; then
4665     CXXFLAGS="-O2"
4666   else
4667     CXXFLAGS=
4668   fi
4669 fi
4670 ac_ext=c
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675
4676 CXXFLAGS="$save_CXXFLAGS"
4677
4678 # Runs configure.host, and assorted other critical bits.  Sets
4679 # up critical shell variables.
4680
4681 ac_ext=c
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4687 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4688 # On Suns, sometimes $CPP names a directory.
4689 if test -n "$CPP" && test -d "$CPP"; then
4690   CPP=
4691 fi
4692 if test -z "$CPP"; then
4693   if test "${ac_cv_prog_CPP+set}" = set; then :
4694   $as_echo_n "(cached) " >&6
4695 else
4696       # Double quotes because CPP needs to be expanded
4697     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4698     do
4699       ac_preproc_ok=false
4700 for ac_c_preproc_warn_flag in '' yes
4701 do
4702   # Use a header file that comes with gcc, so configuring glibc
4703   # with a fresh cross-compiler works.
4704   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4705   # <limits.h> exists even on freestanding compilers.
4706   # On the NeXT, cc -E runs the code through the compiler's parser,
4707   # not just through cpp. "Syntax error" is here to catch this case.
4708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h.  */
4710 #ifdef __STDC__
4711 # include <limits.h>
4712 #else
4713 # include <assert.h>
4714 #endif
4715                      Syntax error
4716 _ACEOF
4717 if ac_fn_c_try_cpp "$LINENO"; then :
4718
4719 else
4720   # Broken: fails on valid input.
4721 continue
4722 fi
4723 rm -f conftest.err conftest.$ac_ext
4724
4725   # OK, works on sane cases.  Now check whether nonexistent headers
4726   # can be detected and how.
4727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h.  */
4729 #include <ac_nonexistent.h>
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4732   # Broken: success on invalid input.
4733 continue
4734 else
4735   # Passes both tests.
4736 ac_preproc_ok=:
4737 break
4738 fi
4739 rm -f conftest.err conftest.$ac_ext
4740
4741 done
4742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4743 rm -f conftest.err conftest.$ac_ext
4744 if $ac_preproc_ok; then :
4745   break
4746 fi
4747
4748     done
4749     ac_cv_prog_CPP=$CPP
4750
4751 fi
4752   CPP=$ac_cv_prog_CPP
4753 else
4754   ac_cv_prog_CPP=$CPP
4755 fi
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4757 $as_echo "$CPP" >&6; }
4758 ac_preproc_ok=false
4759 for ac_c_preproc_warn_flag in '' yes
4760 do
4761   # Use a header file that comes with gcc, so configuring glibc
4762   # with a fresh cross-compiler works.
4763   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4764   # <limits.h> exists even on freestanding compilers.
4765   # On the NeXT, cc -E runs the code through the compiler's parser,
4766   # not just through cpp. "Syntax error" is here to catch this case.
4767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h.  */
4769 #ifdef __STDC__
4770 # include <limits.h>
4771 #else
4772 # include <assert.h>
4773 #endif
4774                      Syntax error
4775 _ACEOF
4776 if ac_fn_c_try_cpp "$LINENO"; then :
4777
4778 else
4779   # Broken: fails on valid input.
4780 continue
4781 fi
4782 rm -f conftest.err conftest.$ac_ext
4783
4784   # OK, works on sane cases.  Now check whether nonexistent headers
4785   # can be detected and how.
4786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h.  */
4788 #include <ac_nonexistent.h>
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4791   # Broken: success on invalid input.
4792 continue
4793 else
4794   # Passes both tests.
4795 ac_preproc_ok=:
4796 break
4797 fi
4798 rm -f conftest.err conftest.$ac_ext
4799
4800 done
4801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4802 rm -f conftest.err conftest.$ac_ext
4803 if $ac_preproc_ok; then :
4804
4805 else
4806   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4808 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4809 See \`config.log' for more details." "$LINENO" 5; }
4810 fi
4811
4812 ac_ext=c
4813 ac_cpp='$CPP $CPPFLAGS'
4814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4817
4818
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4820 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4821 if test "${ac_cv_path_GREP+set}" = set; then :
4822   $as_echo_n "(cached) " >&6
4823 else
4824   if test -z "$GREP"; then
4825   ac_path_GREP_found=false
4826   # Loop through the user's path and test for each of PROGNAME-LIST
4827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 do
4830   IFS=$as_save_IFS
4831   test -z "$as_dir" && as_dir=.
4832     for ac_prog in grep ggrep; do
4833     for ac_exec_ext in '' $ac_executable_extensions; do
4834       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4835       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4836 # Check for GNU ac_path_GREP and select it if it is found.
4837   # Check for GNU $ac_path_GREP
4838 case `"$ac_path_GREP" --version 2>&1` in
4839 *GNU*)
4840   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4841 *)
4842   ac_count=0
4843   $as_echo_n 0123456789 >"conftest.in"
4844   while :
4845   do
4846     cat "conftest.in" "conftest.in" >"conftest.tmp"
4847     mv "conftest.tmp" "conftest.in"
4848     cp "conftest.in" "conftest.nl"
4849     $as_echo 'GREP' >> "conftest.nl"
4850     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4851     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4852     as_fn_arith $ac_count + 1 && ac_count=$as_val
4853     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4854       # Best one so far, save it but keep looking for a better one
4855       ac_cv_path_GREP="$ac_path_GREP"
4856       ac_path_GREP_max=$ac_count
4857     fi
4858     # 10*(2^10) chars as input seems more than enough
4859     test $ac_count -gt 10 && break
4860   done
4861   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4862 esac
4863
4864       $ac_path_GREP_found && break 3
4865     done
4866   done
4867   done
4868 IFS=$as_save_IFS
4869   if test -z "$ac_cv_path_GREP"; then
4870     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871   fi
4872 else
4873   ac_cv_path_GREP=$GREP
4874 fi
4875
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4878 $as_echo "$ac_cv_path_GREP" >&6; }
4879  GREP="$ac_cv_path_GREP"
4880
4881
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4883 $as_echo_n "checking for egrep... " >&6; }
4884 if test "${ac_cv_path_EGREP+set}" = set; then :
4885   $as_echo_n "(cached) " >&6
4886 else
4887   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4888    then ac_cv_path_EGREP="$GREP -E"
4889    else
4890      if test -z "$EGREP"; then
4891   ac_path_EGREP_found=false
4892   # Loop through the user's path and test for each of PROGNAME-LIST
4893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4895 do
4896   IFS=$as_save_IFS
4897   test -z "$as_dir" && as_dir=.
4898     for ac_prog in egrep; do
4899     for ac_exec_ext in '' $ac_executable_extensions; do
4900       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4901       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4902 # Check for GNU ac_path_EGREP and select it if it is found.
4903   # Check for GNU $ac_path_EGREP
4904 case `"$ac_path_EGREP" --version 2>&1` in
4905 *GNU*)
4906   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4907 *)
4908   ac_count=0
4909   $as_echo_n 0123456789 >"conftest.in"
4910   while :
4911   do
4912     cat "conftest.in" "conftest.in" >"conftest.tmp"
4913     mv "conftest.tmp" "conftest.in"
4914     cp "conftest.in" "conftest.nl"
4915     $as_echo 'EGREP' >> "conftest.nl"
4916     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4917     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4918     as_fn_arith $ac_count + 1 && ac_count=$as_val
4919     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4920       # Best one so far, save it but keep looking for a better one
4921       ac_cv_path_EGREP="$ac_path_EGREP"
4922       ac_path_EGREP_max=$ac_count
4923     fi
4924     # 10*(2^10) chars as input seems more than enough
4925     test $ac_count -gt 10 && break
4926   done
4927   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4928 esac
4929
4930       $ac_path_EGREP_found && break 3
4931     done
4932   done
4933   done
4934 IFS=$as_save_IFS
4935   if test -z "$ac_cv_path_EGREP"; then
4936     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4937   fi
4938 else
4939   ac_cv_path_EGREP=$EGREP
4940 fi
4941
4942    fi
4943 fi
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4945 $as_echo "$ac_cv_path_EGREP" >&6; }
4946  EGREP="$ac_cv_path_EGREP"
4947
4948
4949
4950   # Keep these sync'd with the list in Makefile.am.  The first provides an
4951   # expandable list at autoconf time; the second provides an expandable list
4952   # (i.e., shell variable) at configure time.
4953
4954   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4955
4956   # These need to be absolute paths, yet at the same time need to
4957   # canonicalize only relative paths, because then amd will not unmount
4958   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4959   glibcxx_builddir=`${PWDCMD-pwd}`
4960   case $srcdir in
4961     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4962     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4963   esac
4964   toplevel_builddir=${glibcxx_builddir}/..
4965   toplevel_srcdir=${glibcxx_srcdir}/..
4966
4967
4968
4969
4970
4971   # We use these options to decide which functions to include.  They are
4972   # set from the top level.
4973
4974 # Check whether --with-target-subdir was given.
4975 if test "${with_target_subdir+set}" = set; then :
4976   withval=$with_target_subdir;
4977 fi
4978
4979
4980
4981 # Check whether --with-cross-host was given.
4982 if test "${with_cross_host+set}" = set; then :
4983   withval=$with_cross_host;
4984 fi
4985
4986
4987
4988 # Check whether --with-newlib was given.
4989 if test "${with_newlib+set}" = set; then :
4990   withval=$with_newlib;
4991 fi
4992
4993
4994   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4995   # available).  Uncomment the next line to force a particular method.
4996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4997 $as_echo_n "checking whether ln -s works... " >&6; }
4998 LN_S=$as_ln_s
4999 if test "$LN_S" = "ln -s"; then
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5001 $as_echo "yes" >&6; }
5002 else
5003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5004 $as_echo "no, using $LN_S" >&6; }
5005 fi
5006
5007   #LN_S='cp -p'
5008
5009   if test -n "$ac_tool_prefix"; then
5010   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}as; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_AS+set}" = set; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017   if test -n "$AS"; then
5018   ac_cv_prog_AS="$AS" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5022 do
5023   IFS=$as_save_IFS
5024   test -z "$as_dir" && as_dir=.
5025     for ac_exec_ext in '' $ac_executable_extensions; do
5026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027     ac_cv_prog_AS="${ac_tool_prefix}as"
5028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029     break 2
5030   fi
5031 done
5032   done
5033 IFS=$as_save_IFS
5034
5035 fi
5036 fi
5037 AS=$ac_cv_prog_AS
5038 if test -n "$AS"; then
5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5040 $as_echo "$AS" >&6; }
5041 else
5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 fi
5045
5046
5047 fi
5048 if test -z "$ac_cv_prog_AS"; then
5049   ac_ct_AS=$AS
5050   # Extract the first word of "as", so it can be a program name with args.
5051 set dummy as; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5055   $as_echo_n "(cached) " >&6
5056 else
5057   if test -n "$ac_ct_AS"; then
5058   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5062 do
5063   IFS=$as_save_IFS
5064   test -z "$as_dir" && as_dir=.
5065     for ac_exec_ext in '' $ac_executable_extensions; do
5066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067     ac_cv_prog_ac_ct_AS="as"
5068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069     break 2
5070   fi
5071 done
5072   done
5073 IFS=$as_save_IFS
5074
5075 fi
5076 fi
5077 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5078 if test -n "$ac_ct_AS"; then
5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5080 $as_echo "$ac_ct_AS" >&6; }
5081 else
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 fi
5085
5086   if test "x$ac_ct_AS" = x; then
5087     AS=""
5088   else
5089     case $cross_compiling:$ac_tool_warned in
5090 yes:)
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5094 esac
5095     AS=$ac_ct_AS
5096   fi
5097 else
5098   AS="$ac_cv_prog_AS"
5099 fi
5100
5101   if test -n "$ac_tool_prefix"; then
5102   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5103 set dummy ${ac_tool_prefix}ar; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_AR+set}" = set; then :
5107   $as_echo_n "(cached) " >&6
5108 else
5109   if test -n "$AR"; then
5110   ac_cv_prog_AR="$AR" # Let the user override the test.
5111 else
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $PATH
5114 do
5115   IFS=$as_save_IFS
5116   test -z "$as_dir" && as_dir=.
5117     for ac_exec_ext in '' $ac_executable_extensions; do
5118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119     ac_cv_prog_AR="${ac_tool_prefix}ar"
5120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121     break 2
5122   fi
5123 done
5124   done
5125 IFS=$as_save_IFS
5126
5127 fi
5128 fi
5129 AR=$ac_cv_prog_AR
5130 if test -n "$AR"; then
5131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5132 $as_echo "$AR" >&6; }
5133 else
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 fi
5137
5138
5139 fi
5140 if test -z "$ac_cv_prog_AR"; then
5141   ac_ct_AR=$AR
5142   # Extract the first word of "ar", so it can be a program name with args.
5143 set dummy ar; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5147   $as_echo_n "(cached) " >&6
5148 else
5149   if test -n "$ac_ct_AR"; then
5150   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5154 do
5155   IFS=$as_save_IFS
5156   test -z "$as_dir" && as_dir=.
5157     for ac_exec_ext in '' $ac_executable_extensions; do
5158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159     ac_cv_prog_ac_ct_AR="ar"
5160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161     break 2
5162   fi
5163 done
5164   done
5165 IFS=$as_save_IFS
5166
5167 fi
5168 fi
5169 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5170 if test -n "$ac_ct_AR"; then
5171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5172 $as_echo "$ac_ct_AR" >&6; }
5173 else
5174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5176 fi
5177
5178   if test "x$ac_ct_AR" = x; then
5179     AR=""
5180   else
5181     case $cross_compiling:$ac_tool_warned in
5182 yes:)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5186 esac
5187     AR=$ac_ct_AR
5188   fi
5189 else
5190   AR="$ac_cv_prog_AR"
5191 fi
5192
5193   if test -n "$ac_tool_prefix"; then
5194   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5199   $as_echo_n "(cached) " >&6
5200 else
5201   if test -n "$RANLIB"; then
5202   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5206 do
5207   IFS=$as_save_IFS
5208   test -z "$as_dir" && as_dir=.
5209     for ac_exec_ext in '' $ac_executable_extensions; do
5210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213     break 2
5214   fi
5215 done
5216   done
5217 IFS=$as_save_IFS
5218
5219 fi
5220 fi
5221 RANLIB=$ac_cv_prog_RANLIB
5222 if test -n "$RANLIB"; then
5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5224 $as_echo "$RANLIB" >&6; }
5225 else
5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 fi
5229
5230
5231 fi
5232 if test -z "$ac_cv_prog_RANLIB"; then
5233   ac_ct_RANLIB=$RANLIB
5234   # Extract the first word of "ranlib", so it can be a program name with args.
5235 set dummy ranlib; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5239   $as_echo_n "(cached) " >&6
5240 else
5241   if test -n "$ac_ct_RANLIB"; then
5242   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5246 do
5247   IFS=$as_save_IFS
5248   test -z "$as_dir" && as_dir=.
5249     for ac_exec_ext in '' $ac_executable_extensions; do
5250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5251     ac_cv_prog_ac_ct_RANLIB="ranlib"
5252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253     break 2
5254   fi
5255 done
5256   done
5257 IFS=$as_save_IFS
5258
5259 fi
5260 fi
5261 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5262 if test -n "$ac_ct_RANLIB"; then
5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5264 $as_echo "$ac_ct_RANLIB" >&6; }
5265 else
5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5268 fi
5269
5270   if test "x$ac_ct_RANLIB" = x; then
5271     RANLIB="ranlib-not-found-in-path-error"
5272   else
5273     case $cross_compiling:$ac_tool_warned in
5274 yes:)
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277 ac_tool_warned=yes ;;
5278 esac
5279     RANLIB=$ac_ct_RANLIB
5280   fi
5281 else
5282   RANLIB="$ac_cv_prog_RANLIB"
5283 fi
5284
5285
5286
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5288 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5289     # Check whether --enable-maintainer-mode was given.
5290 if test "${enable_maintainer_mode+set}" = set; then :
5291   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5292 else
5293   USE_MAINTAINER_MODE=no
5294 fi
5295
5296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5297 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5298    if test $USE_MAINTAINER_MODE = yes; then
5299   MAINTAINER_MODE_TRUE=
5300   MAINTAINER_MODE_FALSE='#'
5301 else
5302   MAINTAINER_MODE_TRUE='#'
5303   MAINTAINER_MODE_FALSE=
5304 fi
5305
5306   MAINT=$MAINTAINER_MODE_TRUE
5307
5308
5309
5310   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5311   # which are themselves conditionally expanded.
5312   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5313   ## other macros from doing the same.  This should be automated.)  -pme
5314
5315   # Check for C library flavor since GNU/Linux platforms use different
5316   # configuration directories depending on the C library in use.
5317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h.  */
5319
5320   #include <stdio.h>
5321   #if __UCLIBC__
5322     _using_uclibc
5323   #endif
5324
5325 _ACEOF
5326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5327   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5328   uclibc=yes
5329 else
5330   uclibc=no
5331 fi
5332 rm -f conftest*
5333
5334
5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h.  */
5337
5338   #include <stdio.h>
5339   #if __BIONIC__
5340     _using_bionic
5341   #endif
5342
5343 _ACEOF
5344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5345   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5346   bionic=yes
5347 else
5348   bionic=no
5349 fi
5350 rm -f conftest*
5351
5352
5353   # Find platform-specific directories containing configuration info.
5354   # Also possibly modify flags used elsewhere, as needed by the platform.
5355
5356   . $glibcxx_srcdir/configure.host
5357   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5358 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5360 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5361
5362
5363
5364 # Libtool setup.
5365 if test "x${with_newlib}" != "xyes"; then
5366   enable_dlopen=yes
5367
5368
5369
5370 fi
5371 case `pwd` in
5372   *\ * | *\     *)
5373     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5374 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5375 esac
5376
5377
5378
5379 macro_version='2.2.7a'
5380 macro_revision='1.3134'
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394 ltmain="$ac_aux_dir/ltmain.sh"
5395
5396 # Backslashify metacharacters that are still active within
5397 # double-quoted strings.
5398 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5399
5400 # Same as above, but do not quote variable references.
5401 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5402
5403 # Sed substitution to delay expansion of an escaped shell variable in a
5404 # double_quote_subst'ed string.
5405 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5406
5407 # Sed substitution to delay expansion of an escaped single quote.
5408 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5409
5410 # Sed substitution to avoid accidental globbing in evaled expressions
5411 no_glob_subst='s/\*/\\\*/g'
5412
5413 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5416
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5418 $as_echo_n "checking how to print strings... " >&6; }
5419 # Test print first, because it will be a builtin if present.
5420 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5421    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5422   ECHO='print -r --'
5423 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5424   ECHO='printf %s\n'
5425 else
5426   # Use this function as a fallback that always works.
5427   func_fallback_echo ()
5428   {
5429     eval 'cat <<_LTECHO_EOF
5430 $1
5431 _LTECHO_EOF'
5432   }
5433   ECHO='func_fallback_echo'
5434 fi
5435
5436 # func_echo_all arg...
5437 # Invoke $ECHO with all args, space-separated.
5438 func_echo_all ()
5439 {
5440     $ECHO ""
5441 }
5442
5443 case "$ECHO" in
5444   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5445 $as_echo "printf" >&6; } ;;
5446   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5447 $as_echo "print -r" >&6; } ;;
5448   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5449 $as_echo "cat" >&6; } ;;
5450 esac
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5466 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5467 if test "${ac_cv_path_SED+set}" = set; then :
5468   $as_echo_n "(cached) " >&6
5469 else
5470             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5471      for ac_i in 1 2 3 4 5 6 7; do
5472        ac_script="$ac_script$as_nl$ac_script"
5473      done
5474      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5475      { ac_script=; unset ac_script;}
5476      if test -z "$SED"; then
5477   ac_path_SED_found=false
5478   # Loop through the user's path and test for each of PROGNAME-LIST
5479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5481 do
5482   IFS=$as_save_IFS
5483   test -z "$as_dir" && as_dir=.
5484     for ac_prog in sed gsed; do
5485     for ac_exec_ext in '' $ac_executable_extensions; do
5486       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5487       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5488 # Check for GNU ac_path_SED and select it if it is found.
5489   # Check for GNU $ac_path_SED
5490 case `"$ac_path_SED" --version 2>&1` in
5491 *GNU*)
5492   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5493 *)
5494   ac_count=0
5495   $as_echo_n 0123456789 >"conftest.in"
5496   while :
5497   do
5498     cat "conftest.in" "conftest.in" >"conftest.tmp"
5499     mv "conftest.tmp" "conftest.in"
5500     cp "conftest.in" "conftest.nl"
5501     $as_echo '' >> "conftest.nl"
5502     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504     as_fn_arith $ac_count + 1 && ac_count=$as_val
5505     if test $ac_count -gt ${ac_path_SED_max-0}; then
5506       # Best one so far, save it but keep looking for a better one
5507       ac_cv_path_SED="$ac_path_SED"
5508       ac_path_SED_max=$ac_count
5509     fi
5510     # 10*(2^10) chars as input seems more than enough
5511     test $ac_count -gt 10 && break
5512   done
5513   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5515
5516       $ac_path_SED_found && break 3
5517     done
5518   done
5519   done
5520 IFS=$as_save_IFS
5521   if test -z "$ac_cv_path_SED"; then
5522     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5523   fi
5524 else
5525   ac_cv_path_SED=$SED
5526 fi
5527
5528 fi
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5530 $as_echo "$ac_cv_path_SED" >&6; }
5531  SED="$ac_cv_path_SED"
5532   rm -f conftest.sed
5533
5534 test -z "$SED" && SED=sed
5535 Xsed="$SED -e 1s/^X//"
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5548 $as_echo_n "checking for fgrep... " >&6; }
5549 if test "${ac_cv_path_FGREP+set}" = set; then :
5550   $as_echo_n "(cached) " >&6
5551 else
5552   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5553    then ac_cv_path_FGREP="$GREP -F"
5554    else
5555      if test -z "$FGREP"; then
5556   ac_path_FGREP_found=false
5557   # Loop through the user's path and test for each of PROGNAME-LIST
5558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5560 do
5561   IFS=$as_save_IFS
5562   test -z "$as_dir" && as_dir=.
5563     for ac_prog in fgrep; do
5564     for ac_exec_ext in '' $ac_executable_extensions; do
5565       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5566       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5567 # Check for GNU ac_path_FGREP and select it if it is found.
5568   # Check for GNU $ac_path_FGREP
5569 case `"$ac_path_FGREP" --version 2>&1` in
5570 *GNU*)
5571   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5572 *)
5573   ac_count=0
5574   $as_echo_n 0123456789 >"conftest.in"
5575   while :
5576   do
5577     cat "conftest.in" "conftest.in" >"conftest.tmp"
5578     mv "conftest.tmp" "conftest.in"
5579     cp "conftest.in" "conftest.nl"
5580     $as_echo 'FGREP' >> "conftest.nl"
5581     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5582     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5583     as_fn_arith $ac_count + 1 && ac_count=$as_val
5584     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5585       # Best one so far, save it but keep looking for a better one
5586       ac_cv_path_FGREP="$ac_path_FGREP"
5587       ac_path_FGREP_max=$ac_count
5588     fi
5589     # 10*(2^10) chars as input seems more than enough
5590     test $ac_count -gt 10 && break
5591   done
5592   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5593 esac
5594
5595       $ac_path_FGREP_found && break 3
5596     done
5597   done
5598   done
5599 IFS=$as_save_IFS
5600   if test -z "$ac_cv_path_FGREP"; then
5601     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5602   fi
5603 else
5604   ac_cv_path_FGREP=$FGREP
5605 fi
5606
5607    fi
5608 fi
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5610 $as_echo "$ac_cv_path_FGREP" >&6; }
5611  FGREP="$ac_cv_path_FGREP"
5612
5613
5614 test -z "$GREP" && GREP=grep
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634 # Check whether --with-gnu-ld was given.
5635 if test "${with_gnu_ld+set}" = set; then :
5636   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5637 else
5638   with_gnu_ld=no
5639 fi
5640
5641 ac_prog=ld
5642 if test "$GCC" = yes; then
5643   # Check if gcc -print-prog-name=ld gives a path.
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5645 $as_echo_n "checking for ld used by $CC... " >&6; }
5646   case $host in
5647   *-*-mingw*)
5648     # gcc leaves a trailing carriage return which upsets mingw
5649     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5650   *)
5651     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5652   esac
5653   case $ac_prog in
5654     # Accept absolute paths.
5655     [\\/]* | ?:[\\/]*)
5656       re_direlt='/[^/][^/]*/\.\./'
5657       # Canonicalize the pathname of ld
5658       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5659       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5660         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5661       done
5662       test -z "$LD" && LD="$ac_prog"
5663       ;;
5664   "")
5665     # If it fails, then pretend we aren't using GCC.
5666     ac_prog=ld
5667     ;;
5668   *)
5669     # If it is relative, then search for the first ld in PATH.
5670     with_gnu_ld=unknown
5671     ;;
5672   esac
5673 elif test "$with_gnu_ld" = yes; then
5674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5675 $as_echo_n "checking for GNU ld... " >&6; }
5676 else
5677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5678 $as_echo_n "checking for non-GNU ld... " >&6; }
5679 fi
5680 if test "${lt_cv_path_LD+set}" = set; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -z "$LD"; then
5684   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685   for ac_dir in $PATH; do
5686     IFS="$lt_save_ifs"
5687     test -z "$ac_dir" && ac_dir=.
5688     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5689       lt_cv_path_LD="$ac_dir/$ac_prog"
5690       # Check to see if the program is GNU ld.  I'd rather use --version,
5691       # but apparently some variants of GNU ld only accept -v.
5692       # Break only if it was the GNU/non-GNU ld that we prefer.
5693       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5694       *GNU* | *'with BFD'*)
5695         test "$with_gnu_ld" != no && break
5696         ;;
5697       *)
5698         test "$with_gnu_ld" != yes && break
5699         ;;
5700       esac
5701     fi
5702   done
5703   IFS="$lt_save_ifs"
5704 else
5705   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5706 fi
5707 fi
5708
5709 LD="$lt_cv_path_LD"
5710 if test -n "$LD"; then
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5712 $as_echo "$LD" >&6; }
5713 else
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 fi
5717 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5719 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5720 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5721   $as_echo_n "(cached) " >&6
5722 else
5723   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5724 case `$LD -v 2>&1 </dev/null` in
5725 *GNU* | *'with BFD'*)
5726   lt_cv_prog_gnu_ld=yes
5727   ;;
5728 *)
5729   lt_cv_prog_gnu_ld=no
5730   ;;
5731 esac
5732 fi
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5734 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5735 with_gnu_ld=$lt_cv_prog_gnu_ld
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5746 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5747 if test "${lt_cv_path_NM+set}" = set; then :
5748   $as_echo_n "(cached) " >&6
5749 else
5750   if test -n "$NM"; then
5751   # Let the user override the test.
5752   lt_cv_path_NM="$NM"
5753 else
5754   lt_nm_to_check="${ac_tool_prefix}nm"
5755   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5756     lt_nm_to_check="$lt_nm_to_check nm"
5757   fi
5758   for lt_tmp_nm in $lt_nm_to_check; do
5759     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5760     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5761       IFS="$lt_save_ifs"
5762       test -z "$ac_dir" && ac_dir=.
5763       tmp_nm="$ac_dir/$lt_tmp_nm"
5764       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5765         # Check to see if the nm accepts a BSD-compat flag.
5766         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5767         #   nm: unknown option "B" ignored
5768         # Tru64's nm complains that /dev/null is an invalid object file
5769         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5770         */dev/null* | *'Invalid file or object type'*)
5771           lt_cv_path_NM="$tmp_nm -B"
5772           break
5773           ;;
5774         *)
5775           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5776           */dev/null*)
5777             lt_cv_path_NM="$tmp_nm -p"
5778             break
5779             ;;
5780           *)
5781             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5782             continue # so that we can try to find one that supports BSD flags
5783             ;;
5784           esac
5785           ;;
5786         esac
5787       fi
5788     done
5789     IFS="$lt_save_ifs"
5790   done
5791   : ${lt_cv_path_NM=no}
5792 fi
5793 fi
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5795 $as_echo "$lt_cv_path_NM" >&6; }
5796 if test "$lt_cv_path_NM" != "no"; then
5797   NM="$lt_cv_path_NM"
5798 else
5799   # Didn't find any BSD compatible name lister, look for dumpbin.
5800   if test -n "$DUMPBIN"; then :
5801     # Let the user override the test.
5802   else
5803     if test -n "$ac_tool_prefix"; then
5804   for ac_prog in dumpbin "link -dump"
5805   do
5806     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5811   $as_echo_n "(cached) " >&6
5812 else
5813   if test -n "$DUMPBIN"; then
5814   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5818 do
5819   IFS=$as_save_IFS
5820   test -z "$as_dir" && as_dir=.
5821     for ac_exec_ext in '' $ac_executable_extensions; do
5822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825     break 2
5826   fi
5827 done
5828   done
5829 IFS=$as_save_IFS
5830
5831 fi
5832 fi
5833 DUMPBIN=$ac_cv_prog_DUMPBIN
5834 if test -n "$DUMPBIN"; then
5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5836 $as_echo "$DUMPBIN" >&6; }
5837 else
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5840 fi
5841
5842
5843     test -n "$DUMPBIN" && break
5844   done
5845 fi
5846 if test -z "$DUMPBIN"; then
5847   ac_ct_DUMPBIN=$DUMPBIN
5848   for ac_prog in dumpbin "link -dump"
5849 do
5850   # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5855   $as_echo_n "(cached) " >&6
5856 else
5857   if test -n "$ac_ct_DUMPBIN"; then
5858   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5862 do
5863   IFS=$as_save_IFS
5864   test -z "$as_dir" && as_dir=.
5865     for ac_exec_ext in '' $ac_executable_extensions; do
5866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869     break 2
5870   fi
5871 done
5872   done
5873 IFS=$as_save_IFS
5874
5875 fi
5876 fi
5877 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5878 if test -n "$ac_ct_DUMPBIN"; then
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5880 $as_echo "$ac_ct_DUMPBIN" >&6; }
5881 else
5882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5884 fi
5885
5886
5887   test -n "$ac_ct_DUMPBIN" && break
5888 done
5889
5890   if test "x$ac_ct_DUMPBIN" = x; then
5891     DUMPBIN=":"
5892   else
5893     case $cross_compiling:$ac_tool_warned in
5894 yes:)
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899     DUMPBIN=$ac_ct_DUMPBIN
5900   fi
5901 fi
5902
5903     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5904     *COFF*)
5905       DUMPBIN="$DUMPBIN -symbols"
5906       ;;
5907     *)
5908       DUMPBIN=:
5909       ;;
5910     esac
5911   fi
5912
5913   if test "$DUMPBIN" != ":"; then
5914     NM="$DUMPBIN"
5915   fi
5916 fi
5917 test -z "$NM" && NM=nm
5918
5919
5920
5921
5922
5923
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5925 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5926 if test "${lt_cv_nm_interface+set}" = set; then :
5927   $as_echo_n "(cached) " >&6
5928 else
5929   lt_cv_nm_interface="BSD nm"
5930   echo "int some_variable = 0;" > conftest.$ac_ext
5931   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5932   (eval "$ac_compile" 2>conftest.err)
5933   cat conftest.err >&5
5934   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5935   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5936   cat conftest.err >&5
5937   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5938   cat conftest.out >&5
5939   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5940     lt_cv_nm_interface="MS dumpbin"
5941   fi
5942   rm -f conftest*
5943 fi
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5945 $as_echo "$lt_cv_nm_interface" >&6; }
5946
5947 # find the maximum length of command line arguments
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5949 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5950 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5951   $as_echo_n "(cached) " >&6
5952 else
5953     i=0
5954   teststring="ABCD"
5955
5956   case $build_os in
5957   msdosdjgpp*)
5958     # On DJGPP, this test can blow up pretty badly due to problems in libc
5959     # (any single argument exceeding 2000 bytes causes a buffer overrun
5960     # during glob expansion).  Even if it were fixed, the result of this
5961     # check would be larger than it should be.
5962     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5963     ;;
5964
5965   gnu*)
5966     # Under GNU Hurd, this test is not required because there is
5967     # no limit to the length of command line arguments.
5968     # Libtool will interpret -1 as no limit whatsoever
5969     lt_cv_sys_max_cmd_len=-1;
5970     ;;
5971
5972   cygwin* | mingw* | cegcc*)
5973     # On Win9x/ME, this test blows up -- it succeeds, but takes
5974     # about 5 minutes as the teststring grows exponentially.
5975     # Worse, since 9x/ME are not pre-emptively multitasking,
5976     # you end up with a "frozen" computer, even though with patience
5977     # the test eventually succeeds (with a max line length of 256k).
5978     # Instead, let's just punt: use the minimum linelength reported by
5979     # all of the supported platforms: 8192 (on NT/2K/XP).
5980     lt_cv_sys_max_cmd_len=8192;
5981     ;;
5982
5983   mint*)
5984     # On MiNT this can take a long time and run out of memory.
5985     lt_cv_sys_max_cmd_len=8192;
5986     ;;
5987
5988   amigaos*)
5989     # On AmigaOS with pdksh, this test takes hours, literally.
5990     # So we just punt and use a minimum line length of 8192.
5991     lt_cv_sys_max_cmd_len=8192;
5992     ;;
5993
5994   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5995     # This has been around since 386BSD, at least.  Likely further.
5996     if test -x /sbin/sysctl; then
5997       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5998     elif test -x /usr/sbin/sysctl; then
5999       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6000     else
6001       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6002     fi
6003     # And add a safety zone
6004     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6005     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6006     ;;
6007
6008   interix*)
6009     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6010     lt_cv_sys_max_cmd_len=196608
6011     ;;
6012
6013   osf*)
6014     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6015     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6016     # nice to cause kernel panics so lets avoid the loop below.
6017     # First set a reasonable default.
6018     lt_cv_sys_max_cmd_len=16384
6019     #
6020     if test -x /sbin/sysconfig; then
6021       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6022         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6023       esac
6024     fi
6025     ;;
6026   sco3.2v5*)
6027     lt_cv_sys_max_cmd_len=102400
6028     ;;
6029   sysv5* | sco5v6* | sysv4.2uw2*)
6030     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6031     if test -n "$kargmax"; then
6032       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6033     else
6034       lt_cv_sys_max_cmd_len=32768
6035     fi
6036     ;;
6037   *)
6038     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6039     if test -n "$lt_cv_sys_max_cmd_len"; then
6040       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6041       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6042     else
6043       # Make teststring a little bigger before we do anything with it.
6044       # a 1K string should be a reasonable start.
6045       for i in 1 2 3 4 5 6 7 8 ; do
6046         teststring=$teststring$teststring
6047       done
6048       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6049       # If test is not a shell built-in, we'll probably end up computing a
6050       # maximum length that is only half of the actual maximum length, but
6051       # we can't tell.
6052       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6053                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6054               test $i != 17 # 1/2 MB should be enough
6055       do
6056         i=`expr $i + 1`
6057         teststring=$teststring$teststring
6058       done
6059       # Only check the string length outside the loop.
6060       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6061       teststring=
6062       # Add a significant safety factor because C++ compilers can tack on
6063       # massive amounts of additional arguments before passing them to the
6064       # linker.  It appears as though 1/2 is a usable value.
6065       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6066     fi
6067     ;;
6068   esac
6069
6070 fi
6071
6072 if test -n $lt_cv_sys_max_cmd_len ; then
6073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6075 else
6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6077 $as_echo "none" >&6; }
6078 fi
6079 max_cmd_len=$lt_cv_sys_max_cmd_len
6080
6081
6082
6083
6084
6085
6086 : ${CP="cp -f"}
6087 : ${MV="mv -f"}
6088 : ${RM="rm -f"}
6089
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6091 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6092 # Try some XSI features
6093 xsi_shell=no
6094 ( _lt_dummy="a/b/c"
6095   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6096       = c,a/b,, \
6097     && eval 'test $(( 1 + 1 )) -eq 2 \
6098     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6099   && xsi_shell=yes
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6101 $as_echo "$xsi_shell" >&6; }
6102
6103
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6105 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6106 lt_shell_append=no
6107 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6108     >/dev/null 2>&1 \
6109   && lt_shell_append=yes
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6111 $as_echo "$lt_shell_append" >&6; }
6112
6113
6114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6115   lt_unset=unset
6116 else
6117   lt_unset=false
6118 fi
6119
6120
6121
6122
6123
6124 # test EBCDIC or ASCII
6125 case `echo X|tr X '\101'` in
6126  A) # ASCII based system
6127     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6128   lt_SP2NL='tr \040 \012'
6129   lt_NL2SP='tr \015\012 \040\040'
6130   ;;
6131  *) # EBCDIC based system
6132   lt_SP2NL='tr \100 \n'
6133   lt_NL2SP='tr \r\n \100\100'
6134   ;;
6135 esac
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6146 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6147 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6148   $as_echo_n "(cached) " >&6
6149 else
6150   lt_cv_ld_reload_flag='-r'
6151 fi
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6153 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6154 reload_flag=$lt_cv_ld_reload_flag
6155 case $reload_flag in
6156 "" | " "*) ;;
6157 *) reload_flag=" $reload_flag" ;;
6158 esac
6159 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6160 case $host_os in
6161   darwin*)
6162     if test "$GCC" = yes; then
6163       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6164     else
6165       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6166     fi
6167     ;;
6168 esac
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178 if test -n "$ac_tool_prefix"; then
6179   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6184   $as_echo_n "(cached) " >&6
6185 else
6186   if test -n "$OBJDUMP"; then
6187   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6191 do
6192   IFS=$as_save_IFS
6193   test -z "$as_dir" && as_dir=.
6194     for ac_exec_ext in '' $ac_executable_extensions; do
6195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198     break 2
6199   fi
6200 done
6201   done
6202 IFS=$as_save_IFS
6203
6204 fi
6205 fi
6206 OBJDUMP=$ac_cv_prog_OBJDUMP
6207 if test -n "$OBJDUMP"; then
6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6209 $as_echo "$OBJDUMP" >&6; }
6210 else
6211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6213 fi
6214
6215
6216 fi
6217 if test -z "$ac_cv_prog_OBJDUMP"; then
6218   ac_ct_OBJDUMP=$OBJDUMP
6219   # Extract the first word of "objdump", so it can be a program name with args.
6220 set dummy objdump; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6224   $as_echo_n "(cached) " >&6
6225 else
6226   if test -n "$ac_ct_OBJDUMP"; then
6227   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6228 else
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in $PATH
6231 do
6232   IFS=$as_save_IFS
6233   test -z "$as_dir" && as_dir=.
6234     for ac_exec_ext in '' $ac_executable_extensions; do
6235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238     break 2
6239   fi
6240 done
6241   done
6242 IFS=$as_save_IFS
6243
6244 fi
6245 fi
6246 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6247 if test -n "$ac_ct_OBJDUMP"; then
6248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6249 $as_echo "$ac_ct_OBJDUMP" >&6; }
6250 else
6251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6253 fi
6254
6255   if test "x$ac_ct_OBJDUMP" = x; then
6256     OBJDUMP="false"
6257   else
6258     case $cross_compiling:$ac_tool_warned in
6259 yes:)
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6262 ac_tool_warned=yes ;;
6263 esac
6264     OBJDUMP=$ac_ct_OBJDUMP
6265   fi
6266 else
6267   OBJDUMP="$ac_cv_prog_OBJDUMP"
6268 fi
6269
6270 test -z "$OBJDUMP" && OBJDUMP=objdump
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6281 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6282 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6283   $as_echo_n "(cached) " >&6
6284 else
6285   lt_cv_file_magic_cmd='$MAGIC_CMD'
6286 lt_cv_file_magic_test_file=
6287 lt_cv_deplibs_check_method='unknown'
6288 # Need to set the preceding variable on all platforms that support
6289 # interlibrary dependencies.
6290 # 'none' -- dependencies not supported.
6291 # `unknown' -- same as none, but documents that we really don't know.
6292 # 'pass_all' -- all dependencies passed with no checks.
6293 # 'test_compile' -- check by making test program.
6294 # 'file_magic [[regex]]' -- check by looking for files in library path
6295 # which responds to the $file_magic_cmd with a given extended regex.
6296 # If you have `file' or equivalent on your system and you're not sure
6297 # whether `pass_all' will *always* work, you probably want this one.
6298
6299 case $host_os in
6300 aix[4-9]*)
6301   lt_cv_deplibs_check_method=pass_all
6302   ;;
6303
6304 beos*)
6305   lt_cv_deplibs_check_method=pass_all
6306   ;;
6307
6308 bsdi[45]*)
6309   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6310   lt_cv_file_magic_cmd='/usr/bin/file -L'
6311   lt_cv_file_magic_test_file=/shlib/libc.so
6312   ;;
6313
6314 cygwin*)
6315   # func_win32_libid is a shell function defined in ltmain.sh
6316   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6317   lt_cv_file_magic_cmd='func_win32_libid'
6318   ;;
6319
6320 mingw* | pw32*)
6321   # Base MSYS/MinGW do not provide the 'file' command needed by
6322   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6323   # unless we find 'file', for example because we are cross-compiling.
6324   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6325   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6326     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6327     lt_cv_file_magic_cmd='func_win32_libid'
6328   else
6329     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6330     lt_cv_file_magic_cmd='$OBJDUMP -f'
6331   fi
6332   ;;
6333
6334 cegcc*)
6335   # use the weaker test based on 'objdump'. See mingw*.
6336   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6337   lt_cv_file_magic_cmd='$OBJDUMP -f'
6338   ;;
6339
6340 darwin* | rhapsody*)
6341   lt_cv_deplibs_check_method=pass_all
6342   ;;
6343
6344 freebsd* | dragonfly*)
6345   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346     case $host_cpu in
6347     i*86 )
6348       # Not sure whether the presence of OpenBSD here was a mistake.
6349       # Let's accept both of them until this is cleared up.
6350       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6351       lt_cv_file_magic_cmd=/usr/bin/file
6352       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6353       ;;
6354     esac
6355   else
6356     lt_cv_deplibs_check_method=pass_all
6357   fi
6358   ;;
6359
6360 gnu*)
6361   lt_cv_deplibs_check_method=pass_all
6362   ;;
6363
6364 haiku*)
6365   lt_cv_deplibs_check_method=pass_all
6366   ;;
6367
6368 hpux10.20* | hpux11*)
6369   lt_cv_file_magic_cmd=/usr/bin/file
6370   case $host_cpu in
6371   ia64*)
6372     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6373     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6374     ;;
6375   hppa*64*)
6376     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]'
6377     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6378     ;;
6379   *)
6380     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6381     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6382     ;;
6383   esac
6384   ;;
6385
6386 interix[3-9]*)
6387   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6388   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6389   ;;
6390
6391 irix5* | irix6* | nonstopux*)
6392   case $LD in
6393   *-32|*"-32 ") libmagic=32-bit;;
6394   *-n32|*"-n32 ") libmagic=N32;;
6395   *-64|*"-64 ") libmagic=64-bit;;
6396   *) libmagic=never-match;;
6397   esac
6398   lt_cv_deplibs_check_method=pass_all
6399   ;;
6400
6401 # This must be Linux ELF.
6402 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6403   lt_cv_deplibs_check_method=pass_all
6404   ;;
6405
6406 netbsd*)
6407   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6409   else
6410     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6411   fi
6412   ;;
6413
6414 newos6*)
6415   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6416   lt_cv_file_magic_cmd=/usr/bin/file
6417   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6418   ;;
6419
6420 *nto* | *qnx*)
6421   lt_cv_deplibs_check_method=pass_all
6422   ;;
6423
6424 openbsd*)
6425   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6426     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6427   else
6428     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6429   fi
6430   ;;
6431
6432 osf3* | osf4* | osf5*)
6433   lt_cv_deplibs_check_method=pass_all
6434   ;;
6435
6436 rdos*)
6437   lt_cv_deplibs_check_method=pass_all
6438   ;;
6439
6440 solaris*)
6441   lt_cv_deplibs_check_method=pass_all
6442   ;;
6443
6444 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6445   lt_cv_deplibs_check_method=pass_all
6446   ;;
6447
6448 sysv4 | sysv4.3*)
6449   case $host_vendor in
6450   motorola)
6451     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]'
6452     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6453     ;;
6454   ncr)
6455     lt_cv_deplibs_check_method=pass_all
6456     ;;
6457   sequent)
6458     lt_cv_file_magic_cmd='/bin/file'
6459     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6460     ;;
6461   sni)
6462     lt_cv_file_magic_cmd='/bin/file'
6463     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6464     lt_cv_file_magic_test_file=/lib/libc.so
6465     ;;
6466   siemens)
6467     lt_cv_deplibs_check_method=pass_all
6468     ;;
6469   pc)
6470     lt_cv_deplibs_check_method=pass_all
6471     ;;
6472   esac
6473   ;;
6474
6475 tpf*)
6476   lt_cv_deplibs_check_method=pass_all
6477   ;;
6478 esac
6479
6480 fi
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6482 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6483 file_magic_cmd=$lt_cv_file_magic_cmd
6484 deplibs_check_method=$lt_cv_deplibs_check_method
6485 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498 if test -n "$ac_tool_prefix"; then
6499   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}ar; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_AR+set}" = set; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -n "$AR"; then
6507   ac_cv_prog_AR="$AR" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516     ac_cv_prog_AR="${ac_tool_prefix}ar"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done
6522 IFS=$as_save_IFS
6523
6524 fi
6525 fi
6526 AR=$ac_cv_prog_AR
6527 if test -n "$AR"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6529 $as_echo "$AR" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 fi
6534
6535
6536 fi
6537 if test -z "$ac_cv_prog_AR"; then
6538   ac_ct_AR=$AR
6539   # Extract the first word of "ar", so it can be a program name with args.
6540 set dummy ar; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6544   $as_echo_n "(cached) " >&6
6545 else
6546   if test -n "$ac_ct_AR"; then
6547   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6551 do
6552   IFS=$as_save_IFS
6553   test -z "$as_dir" && as_dir=.
6554     for ac_exec_ext in '' $ac_executable_extensions; do
6555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556     ac_cv_prog_ac_ct_AR="ar"
6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558     break 2
6559   fi
6560 done
6561   done
6562 IFS=$as_save_IFS
6563
6564 fi
6565 fi
6566 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6567 if test -n "$ac_ct_AR"; then
6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6569 $as_echo "$ac_ct_AR" >&6; }
6570 else
6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6573 fi
6574
6575   if test "x$ac_ct_AR" = x; then
6576     AR="false"
6577   else
6578     case $cross_compiling:$ac_tool_warned in
6579 yes:)
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582 ac_tool_warned=yes ;;
6583 esac
6584     AR=$ac_ct_AR
6585   fi
6586 else
6587   AR="$ac_cv_prog_AR"
6588 fi
6589
6590 test -z "$AR" && AR=ar
6591 test -z "$AR_FLAGS" && AR_FLAGS=cru
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603 if test -n "$ac_tool_prefix"; then
6604   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6605 set dummy ${ac_tool_prefix}strip; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if test "${ac_cv_prog_STRIP+set}" = set; then :
6609   $as_echo_n "(cached) " >&6
6610 else
6611   if test -n "$STRIP"; then
6612   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6616 do
6617   IFS=$as_save_IFS
6618   test -z "$as_dir" && as_dir=.
6619     for ac_exec_ext in '' $ac_executable_extensions; do
6620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623     break 2
6624   fi
6625 done
6626   done
6627 IFS=$as_save_IFS
6628
6629 fi
6630 fi
6631 STRIP=$ac_cv_prog_STRIP
6632 if test -n "$STRIP"; then
6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6634 $as_echo "$STRIP" >&6; }
6635 else
6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6638 fi
6639
6640
6641 fi
6642 if test -z "$ac_cv_prog_STRIP"; then
6643   ac_ct_STRIP=$STRIP
6644   # Extract the first word of "strip", so it can be a program name with args.
6645 set dummy strip; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6649   $as_echo_n "(cached) " >&6
6650 else
6651   if test -n "$ac_ct_STRIP"; then
6652   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6656 do
6657   IFS=$as_save_IFS
6658   test -z "$as_dir" && as_dir=.
6659     for ac_exec_ext in '' $ac_executable_extensions; do
6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661     ac_cv_prog_ac_ct_STRIP="strip"
6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663     break 2
6664   fi
6665 done
6666   done
6667 IFS=$as_save_IFS
6668
6669 fi
6670 fi
6671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6672 if test -n "$ac_ct_STRIP"; then
6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6674 $as_echo "$ac_ct_STRIP" >&6; }
6675 else
6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6678 fi
6679
6680   if test "x$ac_ct_STRIP" = x; then
6681     STRIP=":"
6682   else
6683     case $cross_compiling:$ac_tool_warned in
6684 yes:)
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6687 ac_tool_warned=yes ;;
6688 esac
6689     STRIP=$ac_ct_STRIP
6690   fi
6691 else
6692   STRIP="$ac_cv_prog_STRIP"
6693 fi
6694
6695 test -z "$STRIP" && STRIP=:
6696
6697
6698
6699
6700
6701
6702 if test -n "$ac_tool_prefix"; then
6703   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6708   $as_echo_n "(cached) " >&6
6709 else
6710   if test -n "$RANLIB"; then
6711   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6712 else
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 for as_dir in $PATH
6715 do
6716   IFS=$as_save_IFS
6717   test -z "$as_dir" && as_dir=.
6718     for ac_exec_ext in '' $ac_executable_extensions; do
6719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722     break 2
6723   fi
6724 done
6725   done
6726 IFS=$as_save_IFS
6727
6728 fi
6729 fi
6730 RANLIB=$ac_cv_prog_RANLIB
6731 if test -n "$RANLIB"; then
6732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6733 $as_echo "$RANLIB" >&6; }
6734 else
6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6737 fi
6738
6739
6740 fi
6741 if test -z "$ac_cv_prog_RANLIB"; then
6742   ac_ct_RANLIB=$RANLIB
6743   # Extract the first word of "ranlib", so it can be a program name with args.
6744 set dummy ranlib; ac_word=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746 $as_echo_n "checking for $ac_word... " >&6; }
6747 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6748   $as_echo_n "(cached) " >&6
6749 else
6750   if test -n "$ac_ct_RANLIB"; then
6751   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6752 else
6753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 for as_dir in $PATH
6755 do
6756   IFS=$as_save_IFS
6757   test -z "$as_dir" && as_dir=.
6758     for ac_exec_ext in '' $ac_executable_extensions; do
6759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760     ac_cv_prog_ac_ct_RANLIB="ranlib"
6761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762     break 2
6763   fi
6764 done
6765   done
6766 IFS=$as_save_IFS
6767
6768 fi
6769 fi
6770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6771 if test -n "$ac_ct_RANLIB"; then
6772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6773 $as_echo "$ac_ct_RANLIB" >&6; }
6774 else
6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 $as_echo "no" >&6; }
6777 fi
6778
6779   if test "x$ac_ct_RANLIB" = x; then
6780     RANLIB=":"
6781   else
6782     case $cross_compiling:$ac_tool_warned in
6783 yes:)
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned=yes ;;
6787 esac
6788     RANLIB=$ac_ct_RANLIB
6789   fi
6790 else
6791   RANLIB="$ac_cv_prog_RANLIB"
6792 fi
6793
6794 test -z "$RANLIB" && RANLIB=:
6795
6796
6797
6798
6799
6800
6801 # Determine commands to create old-style static archives.
6802 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6803 old_postinstall_cmds='chmod 644 $oldlib'
6804 old_postuninstall_cmds=
6805
6806 if test -n "$RANLIB"; then
6807   case $host_os in
6808   openbsd*)
6809     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6810     ;;
6811   *)
6812     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6813     ;;
6814   esac
6815   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6816 fi
6817
6818 case $host_os in
6819   darwin*)
6820     lock_old_archive_extraction=yes ;;
6821   *)
6822     lock_old_archive_extraction=no ;;
6823 esac
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863 # If no C compiler was specified, use CC.
6864 LTCC=${LTCC-"$CC"}
6865
6866 # If no C compiler flags were specified, use CFLAGS.
6867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6868
6869 # Allow CC to be a program name with arguments.
6870 compiler=$CC
6871
6872
6873 # Check for command to grab the raw symbol name followed by C symbol from nm.
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6875 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6876 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879
6880 # These are sane defaults that work on at least a few old systems.
6881 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6882
6883 # Character class describing NM global symbol codes.
6884 symcode='[BCDEGRST]'
6885
6886 # Regexp to match symbols that can be accessed directly from C.
6887 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6888
6889 # Define system-specific variables.
6890 case $host_os in
6891 aix*)
6892   symcode='[BCDT]'
6893   ;;
6894 cygwin* | mingw* | pw32* | cegcc*)
6895   symcode='[ABCDGISTW]'
6896   ;;
6897 hpux*)
6898   if test "$host_cpu" = ia64; then
6899     symcode='[ABCDEGRST]'
6900   fi
6901   ;;
6902 irix* | nonstopux*)
6903   symcode='[BCDEGRST]'
6904   ;;
6905 osf*)
6906   symcode='[BCDEGQRST]'
6907   ;;
6908 solaris*)
6909   symcode='[BDRT]'
6910   ;;
6911 sco3.2v5*)
6912   symcode='[DT]'
6913   ;;
6914 sysv4.2uw2*)
6915   symcode='[DT]'
6916   ;;
6917 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6918   symcode='[ABDT]'
6919   ;;
6920 sysv4)
6921   symcode='[DFNSTU]'
6922   ;;
6923 esac
6924
6925 # If we're using GNU nm, then use its standard symbol codes.
6926 case `$NM -V 2>&1` in
6927 *GNU* | *'with BFD'*)
6928   symcode='[ABCDGIRSTW]' ;;
6929 esac
6930
6931 # Transform an extracted symbol line into a proper C declaration.
6932 # Some systems (esp. on ia64) link data and code symbols differently,
6933 # so use this general approach.
6934 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6935
6936 # Transform an extracted symbol line into symbol name and symbol address
6937 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6938 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'"
6939
6940 # Handle CRLF in mingw tool chain
6941 opt_cr=
6942 case $build_os in
6943 mingw*)
6944   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6945   ;;
6946 esac
6947
6948 # Try without a prefix underscore, then with it.
6949 for ac_symprfx in "" "_"; do
6950
6951   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6952   symxfrm="\\1 $ac_symprfx\\2 \\2"
6953
6954   # Write the raw and C identifiers.
6955   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6956     # Fake it for dumpbin and say T for any non-static function
6957     # and D for any global variable.
6958     # Also find C++ and __fastcall symbols from MSVC++,
6959     # which start with @ or ?.
6960     lt_cv_sys_global_symbol_pipe="$AWK '"\
6961 "     {last_section=section; section=\$ 3};"\
6962 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6963 "     \$ 0!~/External *\|/{next};"\
6964 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6965 "     {if(hide[section]) next};"\
6966 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6967 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6968 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6969 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6970 "     ' prfx=^$ac_symprfx"
6971   else
6972     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6973   fi
6974
6975   # Check to see that the pipe works correctly.
6976   pipe_works=no
6977
6978   rm -f conftest*
6979   cat > conftest.$ac_ext <<_LT_EOF
6980 #ifdef __cplusplus
6981 extern "C" {
6982 #endif
6983 char nm_test_var;
6984 void nm_test_func(void);
6985 void nm_test_func(void){}
6986 #ifdef __cplusplus
6987 }
6988 #endif
6989 int main(){nm_test_var='a';nm_test_func();return(0);}
6990 _LT_EOF
6991
6992   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6993   (eval $ac_compile) 2>&5
6994   ac_status=$?
6995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6996   test $ac_status = 0; }; then
6997     # Now try to grab the symbols.
6998     nlist=conftest.nm
6999     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7000   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7001   ac_status=$?
7002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7003   test $ac_status = 0; } && test -s "$nlist"; then
7004       # Try sorting and uniquifying the output.
7005       if sort "$nlist" | uniq > "$nlist"T; then
7006         mv -f "$nlist"T "$nlist"
7007       else
7008         rm -f "$nlist"T
7009       fi
7010
7011       # Make sure that we snagged all the symbols we need.
7012       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7013         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7014           cat <<_LT_EOF > conftest.$ac_ext
7015 #ifdef __cplusplus
7016 extern "C" {
7017 #endif
7018
7019 _LT_EOF
7020           # Now generate the symbol file.
7021           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7022
7023           cat <<_LT_EOF >> conftest.$ac_ext
7024
7025 /* The mapping between symbol names and symbols.  */
7026 const struct {
7027   const char *name;
7028   void       *address;
7029 }
7030 lt__PROGRAM__LTX_preloaded_symbols[] =
7031 {
7032   { "@PROGRAM@", (void *) 0 },
7033 _LT_EOF
7034           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7035           cat <<\_LT_EOF >> conftest.$ac_ext
7036   {0, (void *) 0}
7037 };
7038
7039 /* This works around a problem in FreeBSD linker */
7040 #ifdef FREEBSD_WORKAROUND
7041 static const void *lt_preloaded_setup() {
7042   return lt__PROGRAM__LTX_preloaded_symbols;
7043 }
7044 #endif
7045
7046 #ifdef __cplusplus
7047 }
7048 #endif
7049 _LT_EOF
7050           # Now try linking the two files.
7051           mv conftest.$ac_objext conftstm.$ac_objext
7052           lt_save_LIBS="$LIBS"
7053           lt_save_CFLAGS="$CFLAGS"
7054           LIBS="conftstm.$ac_objext"
7055           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7056           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7057   (eval $ac_link) 2>&5
7058   ac_status=$?
7059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7061             pipe_works=yes
7062           fi
7063           LIBS="$lt_save_LIBS"
7064           CFLAGS="$lt_save_CFLAGS"
7065         else
7066           echo "cannot find nm_test_func in $nlist" >&5
7067         fi
7068       else
7069         echo "cannot find nm_test_var in $nlist" >&5
7070       fi
7071     else
7072       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7073     fi
7074   else
7075     echo "$progname: failed program was:" >&5
7076     cat conftest.$ac_ext >&5
7077   fi
7078   rm -rf conftest* conftst*
7079
7080   # Do not use the global_symbol_pipe unless it works.
7081   if test "$pipe_works" = yes; then
7082     break
7083   else
7084     lt_cv_sys_global_symbol_pipe=
7085   fi
7086 done
7087
7088 fi
7089
7090 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7091   lt_cv_sys_global_symbol_to_cdecl=
7092 fi
7093 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7095 $as_echo "failed" >&6; }
7096 else
7097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7098 $as_echo "ok" >&6; }
7099 fi
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122 # Check whether --enable-libtool-lock was given.
7123 if test "${enable_libtool_lock+set}" = set; then :
7124   enableval=$enable_libtool_lock;
7125 fi
7126
7127 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7128
7129 # Some flags need to be propagated to the compiler or linker for good
7130 # libtool support.
7131 case $host in
7132 ia64-*-hpux*)
7133   # Find out which ABI we are using.
7134   echo 'int i;' > conftest.$ac_ext
7135   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7136   (eval $ac_compile) 2>&5
7137   ac_status=$?
7138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7139   test $ac_status = 0; }; then
7140     case `/usr/bin/file conftest.$ac_objext` in
7141       *ELF-32*)
7142         HPUX_IA64_MODE="32"
7143         ;;
7144       *ELF-64*)
7145         HPUX_IA64_MODE="64"
7146         ;;
7147     esac
7148   fi
7149   rm -rf conftest*
7150   ;;
7151 *-*-irix6*)
7152   # Find out which ABI we are using.
7153   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7154   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7155   (eval $ac_compile) 2>&5
7156   ac_status=$?
7157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158   test $ac_status = 0; }; then
7159     if test "$lt_cv_prog_gnu_ld" = yes; then
7160       case `/usr/bin/file conftest.$ac_objext` in
7161         *32-bit*)
7162           LD="${LD-ld} -melf32bsmip"
7163           ;;
7164         *N32*)
7165           LD="${LD-ld} -melf32bmipn32"
7166           ;;
7167         *64-bit*)
7168           LD="${LD-ld} -melf64bmip"
7169         ;;
7170       esac
7171     else
7172       case `/usr/bin/file conftest.$ac_objext` in
7173         *32-bit*)
7174           LD="${LD-ld} -32"
7175           ;;
7176         *N32*)
7177           LD="${LD-ld} -n32"
7178           ;;
7179         *64-bit*)
7180           LD="${LD-ld} -64"
7181           ;;
7182       esac
7183     fi
7184   fi
7185   rm -rf conftest*
7186   ;;
7187
7188 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7189 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7190   # Find out which ABI we are using.
7191   echo 'int i;' > conftest.$ac_ext
7192   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7193   (eval $ac_compile) 2>&5
7194   ac_status=$?
7195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7196   test $ac_status = 0; }; then
7197     case `/usr/bin/file conftest.o` in
7198       *32-bit*)
7199         case $host in
7200           x86_64-*kfreebsd*-gnu)
7201             LD="${LD-ld} -m elf_i386_fbsd"
7202             ;;
7203           x86_64-*linux*)
7204             case `/usr/bin/file conftest.o` in
7205               *x86-64*)
7206                 LD="${LD-ld} -m elf32_x86_64"
7207                 ;;
7208               *)
7209                 LD="${LD-ld} -m elf_i386"
7210                 ;;
7211             esac
7212             ;;
7213           powerpc64le-*linux*)
7214             LD="${LD-ld} -m elf32lppclinux"
7215             ;;
7216           powerpc64-*linux*)
7217             LD="${LD-ld} -m elf32ppclinux"
7218             ;;
7219           s390x-*linux*)
7220             LD="${LD-ld} -m elf_s390"
7221             ;;
7222           sparc64-*linux*)
7223             LD="${LD-ld} -m elf32_sparc"
7224             ;;
7225         esac
7226         ;;
7227       *64-bit*)
7228         case $host in
7229           x86_64-*kfreebsd*-gnu)
7230             LD="${LD-ld} -m elf_x86_64_fbsd"
7231             ;;
7232           x86_64-*linux*)
7233             LD="${LD-ld} -m elf_x86_64"
7234             ;;
7235           powerpcle-*linux*)
7236             LD="${LD-ld} -m elf64lppc"
7237             ;;
7238           powerpc-*linux*)
7239             LD="${LD-ld} -m elf64ppc"
7240             ;;
7241           s390*-*linux*|s390*-*tpf*)
7242             LD="${LD-ld} -m elf64_s390"
7243             ;;
7244           sparc*-*linux*)
7245             LD="${LD-ld} -m elf64_sparc"
7246             ;;
7247         esac
7248         ;;
7249     esac
7250   fi
7251   rm -rf conftest*
7252   ;;
7253
7254 *-*-sco3.2v5*)
7255   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7256   SAVE_CFLAGS="$CFLAGS"
7257   CFLAGS="$CFLAGS -belf"
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7259 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7260 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7261   $as_echo_n "(cached) " >&6
7262 else
7263   ac_ext=c
7264 ac_cpp='$CPP $CPPFLAGS'
7265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7268
7269      if test x$gcc_no_link = xyes; then
7270   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7271 fi
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h.  */
7274
7275 int
7276 main ()
7277 {
7278
7279   ;
7280   return 0;
7281 }
7282 _ACEOF
7283 if ac_fn_c_try_link "$LINENO"; then :
7284   lt_cv_cc_needs_belf=yes
7285 else
7286   lt_cv_cc_needs_belf=no
7287 fi
7288 rm -f core conftest.err conftest.$ac_objext \
7289     conftest$ac_exeext conftest.$ac_ext
7290      ac_ext=c
7291 ac_cpp='$CPP $CPPFLAGS'
7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7295
7296 fi
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7298 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7299   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7300     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7301     CFLAGS="$SAVE_CFLAGS"
7302   fi
7303   ;;
7304 sparc*-*solaris*)
7305   # Find out which ABI we are using.
7306   echo 'int i;' > conftest.$ac_ext
7307   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7308   (eval $ac_compile) 2>&5
7309   ac_status=$?
7310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7311   test $ac_status = 0; }; then
7312     case `/usr/bin/file conftest.o` in
7313     *64-bit*)
7314       case $lt_cv_prog_gnu_ld in
7315       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7316       *)
7317         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7318           LD="${LD-ld} -64"
7319         fi
7320         ;;
7321       esac
7322       ;;
7323     esac
7324   fi
7325   rm -rf conftest*
7326   ;;
7327 esac
7328
7329 need_locks="$enable_libtool_lock"
7330
7331
7332   case $host_os in
7333     rhapsody* | darwin*)
7334     if test -n "$ac_tool_prefix"; then
7335   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+set}" = set; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$DSYMUTIL"; then
7343   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
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 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7363 if test -n "$DSYMUTIL"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7365 $as_echo "$DSYMUTIL" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370
7371
7372 fi
7373 if test -z "$ac_cv_prog_DSYMUTIL"; then
7374   ac_ct_DSYMUTIL=$DSYMUTIL
7375   # Extract the first word of "dsymutil", so it can be a program name with args.
7376 set dummy dsymutil; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7380   $as_echo_n "(cached) " >&6
7381 else
7382   if test -n "$ac_ct_DSYMUTIL"; then
7383   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7387 do
7388   IFS=$as_save_IFS
7389   test -z "$as_dir" && as_dir=.
7390     for ac_exec_ext in '' $ac_executable_extensions; do
7391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394     break 2
7395   fi
7396 done
7397   done
7398 IFS=$as_save_IFS
7399
7400 fi
7401 fi
7402 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7403 if test -n "$ac_ct_DSYMUTIL"; then
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7405 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7406 else
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7409 fi
7410
7411   if test "x$ac_ct_DSYMUTIL" = x; then
7412     DSYMUTIL=":"
7413   else
7414     case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420     DSYMUTIL=$ac_ct_DSYMUTIL
7421   fi
7422 else
7423   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7424 fi
7425
7426     if test -n "$ac_tool_prefix"; then
7427   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+set}" = set; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   if test -n "$NMEDIT"; then
7435   ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
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 NMEDIT=$ac_cv_prog_NMEDIT
7455 if test -n "$NMEDIT"; then
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7457 $as_echo "$NMEDIT" >&6; }
7458 else
7459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7461 fi
7462
7463
7464 fi
7465 if test -z "$ac_cv_prog_NMEDIT"; then
7466   ac_ct_NMEDIT=$NMEDIT
7467   # Extract the first word of "nmedit", so it can be a program name with args.
7468 set dummy nmedit; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7472   $as_echo_n "(cached) " >&6
7473 else
7474   if test -n "$ac_ct_NMEDIT"; then
7475   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7479 do
7480   IFS=$as_save_IFS
7481   test -z "$as_dir" && as_dir=.
7482     for ac_exec_ext in '' $ac_executable_extensions; do
7483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7484     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486     break 2
7487   fi
7488 done
7489   done
7490 IFS=$as_save_IFS
7491
7492 fi
7493 fi
7494 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7495 if test -n "$ac_ct_NMEDIT"; then
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7497 $as_echo "$ac_ct_NMEDIT" >&6; }
7498 else
7499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7501 fi
7502
7503   if test "x$ac_ct_NMEDIT" = x; then
7504     NMEDIT=":"
7505   else
7506     case $cross_compiling:$ac_tool_warned in
7507 yes:)
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7511 esac
7512     NMEDIT=$ac_ct_NMEDIT
7513   fi
7514 else
7515   NMEDIT="$ac_cv_prog_NMEDIT"
7516 fi
7517
7518     if test -n "$ac_tool_prefix"; then
7519   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7520 set dummy ${ac_tool_prefix}lipo; 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_LIPO+set}" = set; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526   if test -n "$LIPO"; then
7527   ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
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 LIPO=$ac_cv_prog_LIPO
7547 if test -n "$LIPO"; then
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7549 $as_echo "$LIPO" >&6; }
7550 else
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7553 fi
7554
7555
7556 fi
7557 if test -z "$ac_cv_prog_LIPO"; then
7558   ac_ct_LIPO=$LIPO
7559   # Extract the first word of "lipo", so it can be a program name with args.
7560 set dummy lipo; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 $as_echo_n "checking for $ac_word... " >&6; }
7563 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   if test -n "$ac_ct_LIPO"; then
7567   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7568 else
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 for as_dir in $PATH
7571 do
7572   IFS=$as_save_IFS
7573   test -z "$as_dir" && as_dir=.
7574     for ac_exec_ext in '' $ac_executable_extensions; do
7575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7576     ac_cv_prog_ac_ct_LIPO="lipo"
7577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578     break 2
7579   fi
7580 done
7581   done
7582 IFS=$as_save_IFS
7583
7584 fi
7585 fi
7586 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7587 if test -n "$ac_ct_LIPO"; then
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7589 $as_echo "$ac_ct_LIPO" >&6; }
7590 else
7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7593 fi
7594
7595   if test "x$ac_ct_LIPO" = x; then
7596     LIPO=":"
7597   else
7598     case $cross_compiling:$ac_tool_warned in
7599 yes:)
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7602 ac_tool_warned=yes ;;
7603 esac
7604     LIPO=$ac_ct_LIPO
7605   fi
7606 else
7607   LIPO="$ac_cv_prog_LIPO"
7608 fi
7609
7610     if test -n "$ac_tool_prefix"; then
7611   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7612 set dummy ${ac_tool_prefix}otool; 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_OTOOL+set}" = set; then :
7616   $as_echo_n "(cached) " >&6
7617 else
7618   if test -n "$OTOOL"; then
7619   ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
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 OTOOL=$ac_cv_prog_OTOOL
7639 if test -n "$OTOOL"; then
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7641 $as_echo "$OTOOL" >&6; }
7642 else
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7645 fi
7646
7647
7648 fi
7649 if test -z "$ac_cv_prog_OTOOL"; then
7650   ac_ct_OTOOL=$OTOOL
7651   # Extract the first word of "otool", so it can be a program name with args.
7652 set dummy otool; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7654 $as_echo_n "checking for $ac_word... " >&6; }
7655 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7656   $as_echo_n "(cached) " >&6
7657 else
7658   if test -n "$ac_ct_OTOOL"; then
7659   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7660 else
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 for as_dir in $PATH
7663 do
7664   IFS=$as_save_IFS
7665   test -z "$as_dir" && as_dir=.
7666     for ac_exec_ext in '' $ac_executable_extensions; do
7667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7668     ac_cv_prog_ac_ct_OTOOL="otool"
7669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670     break 2
7671   fi
7672 done
7673   done
7674 IFS=$as_save_IFS
7675
7676 fi
7677 fi
7678 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7679 if test -n "$ac_ct_OTOOL"; then
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7681 $as_echo "$ac_ct_OTOOL" >&6; }
7682 else
7683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7684 $as_echo "no" >&6; }
7685 fi
7686
7687   if test "x$ac_ct_OTOOL" = x; then
7688     OTOOL=":"
7689   else
7690     case $cross_compiling:$ac_tool_warned in
7691 yes:)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7694 ac_tool_warned=yes ;;
7695 esac
7696     OTOOL=$ac_ct_OTOOL
7697   fi
7698 else
7699   OTOOL="$ac_cv_prog_OTOOL"
7700 fi
7701
7702     if test -n "$ac_tool_prefix"; then
7703   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7704 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706 $as_echo_n "checking for $ac_word... " >&6; }
7707 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7708   $as_echo_n "(cached) " >&6
7709 else
7710   if test -n "$OTOOL64"; then
7711   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7712 else
7713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714 for as_dir in $PATH
7715 do
7716   IFS=$as_save_IFS
7717   test -z "$as_dir" && as_dir=.
7718     for ac_exec_ext in '' $ac_executable_extensions; do
7719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7720     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722     break 2
7723   fi
7724 done
7725   done
7726 IFS=$as_save_IFS
7727
7728 fi
7729 fi
7730 OTOOL64=$ac_cv_prog_OTOOL64
7731 if test -n "$OTOOL64"; then
7732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7733 $as_echo "$OTOOL64" >&6; }
7734 else
7735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7737 fi
7738
7739
7740 fi
7741 if test -z "$ac_cv_prog_OTOOL64"; then
7742   ac_ct_OTOOL64=$OTOOL64
7743   # Extract the first word of "otool64", so it can be a program name with args.
7744 set dummy otool64; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7746 $as_echo_n "checking for $ac_word... " >&6; }
7747 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7748   $as_echo_n "(cached) " >&6
7749 else
7750   if test -n "$ac_ct_OTOOL64"; then
7751   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7752 else
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 for as_dir in $PATH
7755 do
7756   IFS=$as_save_IFS
7757   test -z "$as_dir" && as_dir=.
7758     for ac_exec_ext in '' $ac_executable_extensions; do
7759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760     ac_cv_prog_ac_ct_OTOOL64="otool64"
7761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7762     break 2
7763   fi
7764 done
7765   done
7766 IFS=$as_save_IFS
7767
7768 fi
7769 fi
7770 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7771 if test -n "$ac_ct_OTOOL64"; then
7772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7773 $as_echo "$ac_ct_OTOOL64" >&6; }
7774 else
7775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7777 fi
7778
7779   if test "x$ac_ct_OTOOL64" = x; then
7780     OTOOL64=":"
7781   else
7782     case $cross_compiling:$ac_tool_warned in
7783 yes:)
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7786 ac_tool_warned=yes ;;
7787 esac
7788     OTOOL64=$ac_ct_OTOOL64
7789   fi
7790 else
7791   OTOOL64="$ac_cv_prog_OTOOL64"
7792 fi
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7821 $as_echo_n "checking for -single_module linker flag... " >&6; }
7822 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7823   $as_echo_n "(cached) " >&6
7824 else
7825   lt_cv_apple_cc_single_mod=no
7826       if test -z "${LT_MULTI_MODULE}"; then
7827         # By default we will add the -single_module flag. You can override
7828         # by either setting the environment variable LT_MULTI_MODULE
7829         # non-empty at configure time, or by adding -multi_module to the
7830         # link flags.
7831         rm -rf libconftest.dylib*
7832         echo "int foo(void){return 1;}" > conftest.c
7833         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7834 -dynamiclib -Wl,-single_module conftest.c" >&5
7835         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7836           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7837         _lt_result=$?
7838         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7839           lt_cv_apple_cc_single_mod=yes
7840         else
7841           cat conftest.err >&5
7842         fi
7843         rm -rf libconftest.dylib*
7844         rm -f conftest.*
7845       fi
7846 fi
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7848 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7850 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7851 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7852   $as_echo_n "(cached) " >&6
7853 else
7854   lt_cv_ld_exported_symbols_list=no
7855       save_LDFLAGS=$LDFLAGS
7856       echo "_main" > conftest.sym
7857       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7858       if test x$gcc_no_link = xyes; then
7859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7860 fi
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h.  */
7863
7864 int
7865 main ()
7866 {
7867
7868   ;
7869   return 0;
7870 }
7871 _ACEOF
7872 if ac_fn_c_try_link "$LINENO"; then :
7873   lt_cv_ld_exported_symbols_list=yes
7874 else
7875   lt_cv_ld_exported_symbols_list=no
7876 fi
7877 rm -f core conftest.err conftest.$ac_objext \
7878     conftest$ac_exeext conftest.$ac_ext
7879         LDFLAGS="$save_LDFLAGS"
7880
7881 fi
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7883 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7885 $as_echo_n "checking for -force_load linker flag... " >&6; }
7886 if test "${lt_cv_ld_force_load+set}" = set; then :
7887   $as_echo_n "(cached) " >&6
7888 else
7889   lt_cv_ld_force_load=no
7890       cat > conftest.c << _LT_EOF
7891 int forced_loaded() { return 2;}
7892 _LT_EOF
7893       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7894       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7895       echo "$AR cru libconftest.a conftest.o" >&5
7896       $AR cru libconftest.a conftest.o 2>&5
7897       cat > conftest.c << _LT_EOF
7898 int main() { return 0;}
7899 _LT_EOF
7900       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7901       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7902       _lt_result=$?
7903       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7904         lt_cv_ld_force_load=yes
7905       else
7906         cat conftest.err >&5
7907       fi
7908         rm -f conftest.err libconftest.a conftest conftest.c
7909         rm -rf conftest.dSYM
7910
7911 fi
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7913 $as_echo "$lt_cv_ld_force_load" >&6; }
7914     case $host_os in
7915     rhapsody* | darwin1.[012])
7916       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7917     darwin1.*)
7918       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7919     darwin*) # darwin 5.x on
7920       # if running on 10.5 or later, the deployment target defaults
7921       # to the OS version, if on x86, and 10.4, the deployment
7922       # target defaults to 10.4. Don't you love it?
7923       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7924         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7925           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7926         10.[012][,.]*)
7927           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7928         10.*)
7929           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930       esac
7931     ;;
7932   esac
7933     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7934       _lt_dar_single_mod='$single_module'
7935     fi
7936     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7937       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7938     else
7939       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7940     fi
7941     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7942       _lt_dsymutil='~$DSYMUTIL $lib || :'
7943     else
7944       _lt_dsymutil=
7945     fi
7946     ;;
7947   esac
7948
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7950 $as_echo_n "checking for ANSI C header files... " >&6; }
7951 if test "${ac_cv_header_stdc+set}" = set; then :
7952   $as_echo_n "(cached) " >&6
7953 else
7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h.  */
7956 #include <stdlib.h>
7957 #include <stdarg.h>
7958 #include <string.h>
7959 #include <float.h>
7960
7961 int
7962 main ()
7963 {
7964
7965   ;
7966   return 0;
7967 }
7968 _ACEOF
7969 if ac_fn_c_try_compile "$LINENO"; then :
7970   ac_cv_header_stdc=yes
7971 else
7972   ac_cv_header_stdc=no
7973 fi
7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7975
7976 if test $ac_cv_header_stdc = yes; then
7977   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h.  */
7980 #include <string.h>
7981
7982 _ACEOF
7983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7984   $EGREP "memchr" >/dev/null 2>&1; then :
7985
7986 else
7987   ac_cv_header_stdc=no
7988 fi
7989 rm -f conftest*
7990
7991 fi
7992
7993 if test $ac_cv_header_stdc = yes; then
7994   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h.  */
7997 #include <stdlib.h>
7998
7999 _ACEOF
8000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8001   $EGREP "free" >/dev/null 2>&1; then :
8002
8003 else
8004   ac_cv_header_stdc=no
8005 fi
8006 rm -f conftest*
8007
8008 fi
8009
8010 if test $ac_cv_header_stdc = yes; then
8011   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8012   if test "$cross_compiling" = yes; then :
8013   :
8014 else
8015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h.  */
8017 #include <ctype.h>
8018 #include <stdlib.h>
8019 #if ((' ' & 0x0FF) == 0x020)
8020 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8021 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8022 #else
8023 # define ISLOWER(c) \
8024                    (('a' <= (c) && (c) <= 'i') \
8025                      || ('j' <= (c) && (c) <= 'r') \
8026                      || ('s' <= (c) && (c) <= 'z'))
8027 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8028 #endif
8029
8030 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8031 int
8032 main ()
8033 {
8034   int i;
8035   for (i = 0; i < 256; i++)
8036     if (XOR (islower (i), ISLOWER (i))
8037         || toupper (i) != TOUPPER (i))
8038       return 2;
8039   return 0;
8040 }
8041 _ACEOF
8042 if ac_fn_c_try_run "$LINENO"; then :
8043
8044 else
8045   ac_cv_header_stdc=no
8046 fi
8047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8048   conftest.$ac_objext conftest.beam conftest.$ac_ext
8049 fi
8050
8051 fi
8052 fi
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8054 $as_echo "$ac_cv_header_stdc" >&6; }
8055 if test $ac_cv_header_stdc = yes; then
8056
8057 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8058
8059 fi
8060
8061 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8062 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8063                   inttypes.h stdint.h unistd.h
8064 do :
8065   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8066 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8067 "
8068 eval as_val=\$$as_ac_Header
8069    if test "x$as_val" = x""yes; then :
8070   cat >>confdefs.h <<_ACEOF
8071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8072 _ACEOF
8073
8074 fi
8075
8076 done
8077
8078
8079 for ac_header in dlfcn.h
8080 do :
8081   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8082 "
8083 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8084   cat >>confdefs.h <<_ACEOF
8085 #define HAVE_DLFCN_H 1
8086 _ACEOF
8087
8088 fi
8089
8090 done
8091
8092
8093
8094
8095
8096
8097 # Set options
8098
8099
8100
8101
8102   enable_win32_dll=no
8103
8104
8105             # Check whether --enable-shared was given.
8106 if test "${enable_shared+set}" = set; then :
8107   enableval=$enable_shared; p=${PACKAGE-default}
8108     case $enableval in
8109     yes) enable_shared=yes ;;
8110     no) enable_shared=no ;;
8111     *)
8112       enable_shared=no
8113       # Look at the argument we got.  We use all the common list separators.
8114       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115       for pkg in $enableval; do
8116         IFS="$lt_save_ifs"
8117         if test "X$pkg" = "X$p"; then
8118           enable_shared=yes
8119         fi
8120       done
8121       IFS="$lt_save_ifs"
8122       ;;
8123     esac
8124 else
8125   enable_shared=yes
8126 fi
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136   # Check whether --enable-static was given.
8137 if test "${enable_static+set}" = set; then :
8138   enableval=$enable_static; p=${PACKAGE-default}
8139     case $enableval in
8140     yes) enable_static=yes ;;
8141     no) enable_static=no ;;
8142     *)
8143      enable_static=no
8144       # Look at the argument we got.  We use all the common list separators.
8145       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8146       for pkg in $enableval; do
8147         IFS="$lt_save_ifs"
8148         if test "X$pkg" = "X$p"; then
8149           enable_static=yes
8150         fi
8151       done
8152       IFS="$lt_save_ifs"
8153       ;;
8154     esac
8155 else
8156   enable_static=yes
8157 fi
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 # Check whether --with-pic was given.
8169 if test "${with_pic+set}" = set; then :
8170   withval=$with_pic; pic_mode="$withval"
8171 else
8172   pic_mode=default
8173 fi
8174
8175
8176 test -z "$pic_mode" && pic_mode=default
8177
8178
8179
8180
8181
8182
8183
8184   # Check whether --enable-fast-install was given.
8185 if test "${enable_fast_install+set}" = set; then :
8186   enableval=$enable_fast_install; p=${PACKAGE-default}
8187     case $enableval in
8188     yes) enable_fast_install=yes ;;
8189     no) enable_fast_install=no ;;
8190     *)
8191       enable_fast_install=no
8192       # Look at the argument we got.  We use all the common list separators.
8193       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8194       for pkg in $enableval; do
8195         IFS="$lt_save_ifs"
8196         if test "X$pkg" = "X$p"; then
8197           enable_fast_install=yes
8198         fi
8199       done
8200       IFS="$lt_save_ifs"
8201       ;;
8202     esac
8203 else
8204   enable_fast_install=yes
8205 fi
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217 # This can be used to rebuild libtool when needed
8218 LIBTOOL_DEPS="$ltmain"
8219
8220 # Always use our own libtool.
8221 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248 test -z "$LN_S" && LN_S="ln -s"
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263 if test -n "${ZSH_VERSION+set}" ; then
8264    setopt NO_GLOB_SUBST
8265 fi
8266
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8268 $as_echo_n "checking for objdir... " >&6; }
8269 if test "${lt_cv_objdir+set}" = set; then :
8270   $as_echo_n "(cached) " >&6
8271 else
8272   rm -f .libs 2>/dev/null
8273 mkdir .libs 2>/dev/null
8274 if test -d .libs; then
8275   lt_cv_objdir=.libs
8276 else
8277   # MS-DOS does not allow filenames that begin with a dot.
8278   lt_cv_objdir=_libs
8279 fi
8280 rmdir .libs 2>/dev/null
8281 fi
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8283 $as_echo "$lt_cv_objdir" >&6; }
8284 objdir=$lt_cv_objdir
8285
8286
8287
8288
8289
8290 cat >>confdefs.h <<_ACEOF
8291 #define LT_OBJDIR "$lt_cv_objdir/"
8292 _ACEOF
8293
8294
8295
8296
8297 case $host_os in
8298 aix3*)
8299   # AIX sometimes has problems with the GCC collect2 program.  For some
8300   # reason, if we set the COLLECT_NAMES environment variable, the problems
8301   # vanish in a puff of smoke.
8302   if test "X${COLLECT_NAMES+set}" != Xset; then
8303     COLLECT_NAMES=
8304     export COLLECT_NAMES
8305   fi
8306   ;;
8307 esac
8308
8309 # Global variables:
8310 ofile=libtool
8311 can_build_shared=yes
8312
8313 # All known linkers require a `.a' archive for static linking (except MSVC,
8314 # which needs '.lib').
8315 libext=a
8316
8317 with_gnu_ld="$lt_cv_prog_gnu_ld"
8318
8319 old_CC="$CC"
8320 old_CFLAGS="$CFLAGS"
8321
8322 # Set sane defaults for various variables
8323 test -z "$CC" && CC=cc
8324 test -z "$LTCC" && LTCC=$CC
8325 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8326 test -z "$LD" && LD=ld
8327 test -z "$ac_objext" && ac_objext=o
8328
8329 for cc_temp in $compiler""; do
8330   case $cc_temp in
8331     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8332     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8333     \-*) ;;
8334     *) break;;
8335   esac
8336 done
8337 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8338
8339
8340 # Only perform the check for file, if the check method requires it
8341 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8342 case $deplibs_check_method in
8343 file_magic*)
8344   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8346 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8347 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8348   $as_echo_n "(cached) " >&6
8349 else
8350   case $MAGIC_CMD in
8351 [\\/*] |  ?:[\\/]*)
8352   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8353   ;;
8354 *)
8355   lt_save_MAGIC_CMD="$MAGIC_CMD"
8356   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8357   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8358   for ac_dir in $ac_dummy; do
8359     IFS="$lt_save_ifs"
8360     test -z "$ac_dir" && ac_dir=.
8361     if test -f $ac_dir/${ac_tool_prefix}file; then
8362       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8363       if test -n "$file_magic_test_file"; then
8364         case $deplibs_check_method in
8365         "file_magic "*)
8366           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8367           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8369             $EGREP "$file_magic_regex" > /dev/null; then
8370             :
8371           else
8372             cat <<_LT_EOF 1>&2
8373
8374 *** Warning: the command libtool uses to detect shared libraries,
8375 *** $file_magic_cmd, produces output that libtool cannot recognize.
8376 *** The result is that libtool may fail to recognize shared libraries
8377 *** as such.  This will affect the creation of libtool libraries that
8378 *** depend on shared libraries, but programs linked with such libtool
8379 *** libraries will work regardless of this problem.  Nevertheless, you
8380 *** may want to report the problem to your system manager and/or to
8381 *** bug-libtool@gnu.org
8382
8383 _LT_EOF
8384           fi ;;
8385         esac
8386       fi
8387       break
8388     fi
8389   done
8390   IFS="$lt_save_ifs"
8391   MAGIC_CMD="$lt_save_MAGIC_CMD"
8392   ;;
8393 esac
8394 fi
8395
8396 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8397 if test -n "$MAGIC_CMD"; then
8398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8399 $as_echo "$MAGIC_CMD" >&6; }
8400 else
8401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8403 fi
8404
8405
8406
8407
8408
8409 if test -z "$lt_cv_path_MAGIC_CMD"; then
8410   if test -n "$ac_tool_prefix"; then
8411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8412 $as_echo_n "checking for file... " >&6; }
8413 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8414   $as_echo_n "(cached) " >&6
8415 else
8416   case $MAGIC_CMD in
8417 [\\/*] |  ?:[\\/]*)
8418   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8419   ;;
8420 *)
8421   lt_save_MAGIC_CMD="$MAGIC_CMD"
8422   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8423   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8424   for ac_dir in $ac_dummy; do
8425     IFS="$lt_save_ifs"
8426     test -z "$ac_dir" && ac_dir=.
8427     if test -f $ac_dir/file; then
8428       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8429       if test -n "$file_magic_test_file"; then
8430         case $deplibs_check_method in
8431         "file_magic "*)
8432           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8433           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8434           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8435             $EGREP "$file_magic_regex" > /dev/null; then
8436             :
8437           else
8438             cat <<_LT_EOF 1>&2
8439
8440 *** Warning: the command libtool uses to detect shared libraries,
8441 *** $file_magic_cmd, produces output that libtool cannot recognize.
8442 *** The result is that libtool may fail to recognize shared libraries
8443 *** as such.  This will affect the creation of libtool libraries that
8444 *** depend on shared libraries, but programs linked with such libtool
8445 *** libraries will work regardless of this problem.  Nevertheless, you
8446 *** may want to report the problem to your system manager and/or to
8447 *** bug-libtool@gnu.org
8448
8449 _LT_EOF
8450           fi ;;
8451         esac
8452       fi
8453       break
8454     fi
8455   done
8456   IFS="$lt_save_ifs"
8457   MAGIC_CMD="$lt_save_MAGIC_CMD"
8458   ;;
8459 esac
8460 fi
8461
8462 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8463 if test -n "$MAGIC_CMD"; then
8464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8465 $as_echo "$MAGIC_CMD" >&6; }
8466 else
8467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8468 $as_echo "no" >&6; }
8469 fi
8470
8471
8472   else
8473     MAGIC_CMD=:
8474   fi
8475 fi
8476
8477   fi
8478   ;;
8479 esac
8480
8481 # Use C for the default configuration in the libtool script
8482
8483 lt_save_CC="$CC"
8484 ac_ext=c
8485 ac_cpp='$CPP $CPPFLAGS'
8486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8489
8490
8491 # Source file extension for C test sources.
8492 ac_ext=c
8493
8494 # Object file extension for compiled C test sources.
8495 objext=o
8496 objext=$objext
8497
8498 # Code to be used in simple compile tests
8499 lt_simple_compile_test_code="int some_variable = 0;"
8500
8501 # Code to be used in simple link tests
8502 lt_simple_link_test_code='int main(){return(0);}'
8503
8504
8505
8506
8507
8508
8509
8510 # If no C compiler was specified, use CC.
8511 LTCC=${LTCC-"$CC"}
8512
8513 # If no C compiler flags were specified, use CFLAGS.
8514 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8515
8516 # Allow CC to be a program name with arguments.
8517 compiler=$CC
8518
8519 # Save the default compiler, since it gets overwritten when the other
8520 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8521 compiler_DEFAULT=$CC
8522
8523 # save warnings/boilerplate of simple test code
8524 ac_outfile=conftest.$ac_objext
8525 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8526 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8527 _lt_compiler_boilerplate=`cat conftest.err`
8528 $RM conftest*
8529
8530 ac_outfile=conftest.$ac_objext
8531 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8532 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8533 _lt_linker_boilerplate=`cat conftest.err`
8534 $RM -r conftest*
8535
8536
8537 ## CAVEAT EMPTOR:
8538 ## There is no encapsulation within the following macros, do not change
8539 ## the running order or otherwise move them around unless you know exactly
8540 ## what you are doing...
8541 if test -n "$compiler"; then
8542
8543 lt_prog_compiler_no_builtin_flag=
8544
8545 if test "$GCC" = yes; then
8546   case $cc_basename in
8547   nvcc*)
8548     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8549   *)
8550     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8551   esac
8552
8553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8554 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8555 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8556   $as_echo_n "(cached) " >&6
8557 else
8558   lt_cv_prog_compiler_rtti_exceptions=no
8559    ac_outfile=conftest.$ac_objext
8560    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8561    lt_compiler_flag="-fno-rtti -fno-exceptions"
8562    # Insert the option either (1) after the last *FLAGS variable, or
8563    # (2) before a word containing "conftest.", or (3) at the end.
8564    # Note that $ac_compile itself does not contain backslashes and begins
8565    # with a dollar sign (not a hyphen), so the echo should work correctly.
8566    # The option is referenced via a variable to avoid confusing sed.
8567    lt_compile=`echo "$ac_compile" | $SED \
8568    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8569    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8570    -e 's:$: $lt_compiler_flag:'`
8571    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8572    (eval "$lt_compile" 2>conftest.err)
8573    ac_status=$?
8574    cat conftest.err >&5
8575    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576    if (exit $ac_status) && test -s "$ac_outfile"; then
8577      # The compiler can only warn and ignore the option if not recognized
8578      # So say no if there are warnings other than the usual output.
8579      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8580      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8581      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8582        lt_cv_prog_compiler_rtti_exceptions=yes
8583      fi
8584    fi
8585    $RM conftest*
8586
8587 fi
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8589 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8590
8591 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8592     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8593 else
8594     :
8595 fi
8596
8597 fi
8598
8599
8600
8601
8602
8603
8604   lt_prog_compiler_wl=
8605 lt_prog_compiler_pic=
8606 lt_prog_compiler_static=
8607
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8609 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8610
8611   if test "$GCC" = yes; then
8612     lt_prog_compiler_wl='-Wl,'
8613     lt_prog_compiler_static='-static'
8614
8615     case $host_os in
8616       aix*)
8617       # All AIX code is PIC.
8618       if test "$host_cpu" = ia64; then
8619         # AIX 5 now supports IA64 processor
8620         lt_prog_compiler_static='-Bstatic'
8621       fi
8622       lt_prog_compiler_pic='-fPIC'
8623       ;;
8624
8625     amigaos*)
8626       case $host_cpu in
8627       powerpc)
8628             # see comment about AmigaOS4 .so support
8629             lt_prog_compiler_pic='-fPIC'
8630         ;;
8631       m68k)
8632             # FIXME: we need at least 68020 code to build shared libraries, but
8633             # adding the `-m68020' flag to GCC prevents building anything better,
8634             # like `-m68040'.
8635             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8636         ;;
8637       esac
8638       ;;
8639
8640     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8641       # PIC is the default for these OSes.
8642       ;;
8643
8644     mingw* | cygwin* | pw32* | os2* | cegcc*)
8645       # This hack is so that the source file can tell whether it is being
8646       # built for inclusion in a dll (and should export symbols for example).
8647       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8648       # (--disable-auto-import) libraries
8649       lt_prog_compiler_pic='-DDLL_EXPORT'
8650       ;;
8651
8652     darwin* | rhapsody*)
8653       # PIC is the default on this platform
8654       # Common symbols not allowed in MH_DYLIB files
8655       lt_prog_compiler_pic='-fno-common'
8656       ;;
8657
8658     haiku*)
8659       # PIC is the default for Haiku.
8660       # The "-static" flag exists, but is broken.
8661       lt_prog_compiler_static=
8662       ;;
8663
8664     hpux*)
8665       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8666       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8667       # sets the default TLS model and affects inlining.
8668       case $host_cpu in
8669       hppa*64*)
8670         # +Z the default
8671         ;;
8672       *)
8673         lt_prog_compiler_pic='-fPIC'
8674         ;;
8675       esac
8676       ;;
8677
8678     interix[3-9]*)
8679       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8680       # Instead, we relocate shared libraries at runtime.
8681       ;;
8682
8683     msdosdjgpp*)
8684       # Just because we use GCC doesn't mean we suddenly get shared libraries
8685       # on systems that don't support them.
8686       lt_prog_compiler_can_build_shared=no
8687       enable_shared=no
8688       ;;
8689
8690     *nto* | *qnx*)
8691       # QNX uses GNU C++, but need to define -shared option too, otherwise
8692       # it will coredump.
8693       lt_prog_compiler_pic='-fPIC -shared'
8694       ;;
8695
8696     sysv4*MP*)
8697       if test -d /usr/nec; then
8698         lt_prog_compiler_pic=-Kconform_pic
8699       fi
8700       ;;
8701
8702     *)
8703       lt_prog_compiler_pic='-fPIC'
8704       ;;
8705     esac
8706
8707     case $cc_basename in
8708     nvcc*) # Cuda Compiler Driver 2.2
8709       lt_prog_compiler_wl='-Xlinker '
8710       lt_prog_compiler_pic='-Xcompiler -fPIC'
8711       ;;
8712     esac
8713   else
8714     # PORTME Check for flag to pass linker flags through the system compiler.
8715     case $host_os in
8716     aix*)
8717       lt_prog_compiler_wl='-Wl,'
8718       if test "$host_cpu" = ia64; then
8719         # AIX 5 now supports IA64 processor
8720         lt_prog_compiler_static='-Bstatic'
8721       else
8722         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8723       fi
8724       ;;
8725
8726     mingw* | cygwin* | pw32* | os2* | cegcc*)
8727       # This hack is so that the source file can tell whether it is being
8728       # built for inclusion in a dll (and should export symbols for example).
8729       lt_prog_compiler_pic='-DDLL_EXPORT'
8730       ;;
8731
8732     hpux9* | hpux10* | hpux11*)
8733       lt_prog_compiler_wl='-Wl,'
8734       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8735       # not for PA HP-UX.
8736       case $host_cpu in
8737       hppa*64*|ia64*)
8738         # +Z the default
8739         ;;
8740       *)
8741         lt_prog_compiler_pic='+Z'
8742         ;;
8743       esac
8744       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8745       lt_prog_compiler_static='${wl}-a ${wl}archive'
8746       ;;
8747
8748     irix5* | irix6* | nonstopux*)
8749       lt_prog_compiler_wl='-Wl,'
8750       # PIC (with -KPIC) is the default.
8751       lt_prog_compiler_static='-non_shared'
8752       ;;
8753
8754     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8755       case $cc_basename in
8756       # old Intel for x86_64 which still supported -KPIC.
8757       ecc*)
8758         lt_prog_compiler_wl='-Wl,'
8759         lt_prog_compiler_pic='-KPIC'
8760         lt_prog_compiler_static='-static'
8761         ;;
8762       # icc used to be incompatible with GCC.
8763       # ICC 10 doesn't accept -KPIC any more.
8764       icc* | ifort*)
8765         lt_prog_compiler_wl='-Wl,'
8766         lt_prog_compiler_pic='-fPIC'
8767         lt_prog_compiler_static='-static'
8768         ;;
8769       # Lahey Fortran 8.1.
8770       lf95*)
8771         lt_prog_compiler_wl='-Wl,'
8772         lt_prog_compiler_pic='--shared'
8773         lt_prog_compiler_static='--static'
8774         ;;
8775       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8776         # Portland Group compilers (*not* the Pentium gcc compiler,
8777         # which looks to be a dead project)
8778         lt_prog_compiler_wl='-Wl,'
8779         lt_prog_compiler_pic='-fpic'
8780         lt_prog_compiler_static='-Bstatic'
8781         ;;
8782       ccc*)
8783         lt_prog_compiler_wl='-Wl,'
8784         # All Alpha code is PIC.
8785         lt_prog_compiler_static='-non_shared'
8786         ;;
8787       xl* | bgxl* | bgf* | mpixl*)
8788         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8789         lt_prog_compiler_wl='-Wl,'
8790         lt_prog_compiler_pic='-qpic'
8791         lt_prog_compiler_static='-qstaticlink'
8792         ;;
8793       *)
8794         case `$CC -V 2>&1 | sed 5q` in
8795         *Sun\ F* | *Sun*Fortran*)
8796           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8797           lt_prog_compiler_pic='-KPIC'
8798           lt_prog_compiler_static='-Bstatic'
8799           lt_prog_compiler_wl=''
8800           ;;
8801         *Sun\ C*)
8802           # Sun C 5.9
8803           lt_prog_compiler_pic='-KPIC'
8804           lt_prog_compiler_static='-Bstatic'
8805           lt_prog_compiler_wl='-Wl,'
8806           ;;
8807         esac
8808         ;;
8809       esac
8810       ;;
8811
8812     newsos6)
8813       lt_prog_compiler_pic='-KPIC'
8814       lt_prog_compiler_static='-Bstatic'
8815       ;;
8816
8817     *nto* | *qnx*)
8818       # QNX uses GNU C++, but need to define -shared option too, otherwise
8819       # it will coredump.
8820       lt_prog_compiler_pic='-fPIC -shared'
8821       ;;
8822
8823     osf3* | osf4* | osf5*)
8824       lt_prog_compiler_wl='-Wl,'
8825       # All OSF/1 code is PIC.
8826       lt_prog_compiler_static='-non_shared'
8827       ;;
8828
8829     rdos*)
8830       lt_prog_compiler_static='-non_shared'
8831       ;;
8832
8833     solaris*)
8834       lt_prog_compiler_pic='-KPIC'
8835       lt_prog_compiler_static='-Bstatic'
8836       case $cc_basename in
8837       f77* | f90* | f95*)
8838         lt_prog_compiler_wl='-Qoption ld ';;
8839       *)
8840         lt_prog_compiler_wl='-Wl,';;
8841       esac
8842       ;;
8843
8844     sunos4*)
8845       lt_prog_compiler_wl='-Qoption ld '
8846       lt_prog_compiler_pic='-PIC'
8847       lt_prog_compiler_static='-Bstatic'
8848       ;;
8849
8850     sysv4 | sysv4.2uw2* | sysv4.3*)
8851       lt_prog_compiler_wl='-Wl,'
8852       lt_prog_compiler_pic='-KPIC'
8853       lt_prog_compiler_static='-Bstatic'
8854       ;;
8855
8856     sysv4*MP*)
8857       if test -d /usr/nec ;then
8858         lt_prog_compiler_pic='-Kconform_pic'
8859         lt_prog_compiler_static='-Bstatic'
8860       fi
8861       ;;
8862
8863     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8864       lt_prog_compiler_wl='-Wl,'
8865       lt_prog_compiler_pic='-KPIC'
8866       lt_prog_compiler_static='-Bstatic'
8867       ;;
8868
8869     unicos*)
8870       lt_prog_compiler_wl='-Wl,'
8871       lt_prog_compiler_can_build_shared=no
8872       ;;
8873
8874     uts4*)
8875       lt_prog_compiler_pic='-pic'
8876       lt_prog_compiler_static='-Bstatic'
8877       ;;
8878
8879     *)
8880       lt_prog_compiler_can_build_shared=no
8881       ;;
8882     esac
8883   fi
8884
8885 case $host_os in
8886   # For platforms which do not support PIC, -DPIC is meaningless:
8887   *djgpp*)
8888     lt_prog_compiler_pic=
8889     ;;
8890   *)
8891     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8892     ;;
8893 esac
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8895 $as_echo "$lt_prog_compiler_pic" >&6; }
8896
8897
8898
8899
8900
8901
8902 #
8903 # Check to make sure the PIC flag actually works.
8904 #
8905 if test -n "$lt_prog_compiler_pic"; then
8906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8907 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8908 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8909   $as_echo_n "(cached) " >&6
8910 else
8911   lt_cv_prog_compiler_pic_works=no
8912    ac_outfile=conftest.$ac_objext
8913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8915    # Insert the option either (1) after the last *FLAGS variable, or
8916    # (2) before a word containing "conftest.", or (3) at the end.
8917    # Note that $ac_compile itself does not contain backslashes and begins
8918    # with a dollar sign (not a hyphen), so the echo should work correctly.
8919    # The option is referenced via a variable to avoid confusing sed.
8920    lt_compile=`echo "$ac_compile" | $SED \
8921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923    -e 's:$: $lt_compiler_flag:'`
8924    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925    (eval "$lt_compile" 2>conftest.err)
8926    ac_status=$?
8927    cat conftest.err >&5
8928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929    if (exit $ac_status) && test -s "$ac_outfile"; then
8930      # The compiler can only warn and ignore the option if not recognized
8931      # So say no if there are warnings other than the usual output.
8932      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8933      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8934      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8935        lt_cv_prog_compiler_pic_works=yes
8936      fi
8937    fi
8938    $RM conftest*
8939
8940 fi
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8942 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8943
8944 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8945     case $lt_prog_compiler_pic in
8946      "" | " "*) ;;
8947      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8948      esac
8949 else
8950     lt_prog_compiler_pic=
8951      lt_prog_compiler_can_build_shared=no
8952 fi
8953
8954 fi
8955
8956
8957
8958
8959
8960
8961 #
8962 # Check to make sure the static flag actually works.
8963 #
8964 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8966 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8967 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8968   $as_echo_n "(cached) " >&6
8969 else
8970   lt_cv_prog_compiler_static_works=no
8971    save_LDFLAGS="$LDFLAGS"
8972    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8973    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8974    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8975      # The linker can only warn and ignore the option if not recognized
8976      # So say no if there are warnings
8977      if test -s conftest.err; then
8978        # Append any errors to the config.log.
8979        cat conftest.err 1>&5
8980        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8981        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8982        if diff conftest.exp conftest.er2 >/dev/null; then
8983          lt_cv_prog_compiler_static_works=yes
8984        fi
8985      else
8986        lt_cv_prog_compiler_static_works=yes
8987      fi
8988    fi
8989    $RM -r conftest*
8990    LDFLAGS="$save_LDFLAGS"
8991
8992 fi
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8994 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8995
8996 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8997     :
8998 else
8999     lt_prog_compiler_static=
9000 fi
9001
9002
9003
9004
9005
9006
9007
9008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9009 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9010 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9011   $as_echo_n "(cached) " >&6
9012 else
9013   lt_cv_prog_compiler_c_o=no
9014    $RM -r conftest 2>/dev/null
9015    mkdir conftest
9016    cd conftest
9017    mkdir out
9018    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9019
9020    lt_compiler_flag="-o out/conftest2.$ac_objext"
9021    # Insert the option either (1) after the last *FLAGS variable, or
9022    # (2) before a word containing "conftest.", or (3) at the end.
9023    # Note that $ac_compile itself does not contain backslashes and begins
9024    # with a dollar sign (not a hyphen), so the echo should work correctly.
9025    lt_compile=`echo "$ac_compile" | $SED \
9026    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9027    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9028    -e 's:$: $lt_compiler_flag:'`
9029    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9030    (eval "$lt_compile" 2>out/conftest.err)
9031    ac_status=$?
9032    cat out/conftest.err >&5
9033    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9035    then
9036      # The compiler can only warn and ignore the option if not recognized
9037      # So say no if there are warnings
9038      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9039      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9040      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9041        lt_cv_prog_compiler_c_o=yes
9042      fi
9043    fi
9044    chmod u+w . 2>&5
9045    $RM conftest*
9046    # SGI C++ compiler will create directory out/ii_files/ for
9047    # template instantiation
9048    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9049    $RM out/* && rmdir out
9050    cd ..
9051    $RM -r conftest
9052    $RM conftest*
9053
9054 fi
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9056 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9057
9058
9059
9060
9061
9062
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9064 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9065 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9066   $as_echo_n "(cached) " >&6
9067 else
9068   lt_cv_prog_compiler_c_o=no
9069    $RM -r conftest 2>/dev/null
9070    mkdir conftest
9071    cd conftest
9072    mkdir out
9073    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9074
9075    lt_compiler_flag="-o out/conftest2.$ac_objext"
9076    # Insert the option either (1) after the last *FLAGS variable, or
9077    # (2) before a word containing "conftest.", or (3) at the end.
9078    # Note that $ac_compile itself does not contain backslashes and begins
9079    # with a dollar sign (not a hyphen), so the echo should work correctly.
9080    lt_compile=`echo "$ac_compile" | $SED \
9081    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083    -e 's:$: $lt_compiler_flag:'`
9084    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9085    (eval "$lt_compile" 2>out/conftest.err)
9086    ac_status=$?
9087    cat out/conftest.err >&5
9088    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9090    then
9091      # The compiler can only warn and ignore the option if not recognized
9092      # So say no if there are warnings
9093      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9094      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9095      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9096        lt_cv_prog_compiler_c_o=yes
9097      fi
9098    fi
9099    chmod u+w . 2>&5
9100    $RM conftest*
9101    # SGI C++ compiler will create directory out/ii_files/ for
9102    # template instantiation
9103    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9104    $RM out/* && rmdir out
9105    cd ..
9106    $RM -r conftest
9107    $RM conftest*
9108
9109 fi
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9111 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9112
9113
9114
9115
9116 hard_links="nottested"
9117 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9118   # do not overwrite the value of need_locks provided by the user
9119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9120 $as_echo_n "checking if we can lock with hard links... " >&6; }
9121   hard_links=yes
9122   $RM conftest*
9123   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9124   touch conftest.a
9125   ln conftest.a conftest.b 2>&5 || hard_links=no
9126   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9128 $as_echo "$hard_links" >&6; }
9129   if test "$hard_links" = no; then
9130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9131 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9132     need_locks=warn
9133   fi
9134 else
9135   need_locks=no
9136 fi
9137
9138
9139
9140
9141
9142
9143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9144 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9145
9146   runpath_var=
9147   allow_undefined_flag=
9148   always_export_symbols=no
9149   archive_cmds=
9150   archive_expsym_cmds=
9151   compiler_needs_object=no
9152   enable_shared_with_static_runtimes=no
9153   export_dynamic_flag_spec=
9154   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9155   hardcode_automatic=no
9156   hardcode_direct=no
9157   hardcode_direct_absolute=no
9158   hardcode_libdir_flag_spec=
9159   hardcode_libdir_flag_spec_ld=
9160   hardcode_libdir_separator=
9161   hardcode_minus_L=no
9162   hardcode_shlibpath_var=unsupported
9163   inherit_rpath=no
9164   link_all_deplibs=unknown
9165   module_cmds=
9166   module_expsym_cmds=
9167   old_archive_from_new_cmds=
9168   old_archive_from_expsyms_cmds=
9169   thread_safe_flag_spec=
9170   whole_archive_flag_spec=
9171   # include_expsyms should be a list of space-separated symbols to be *always*
9172   # included in the symbol list
9173   include_expsyms=
9174   # exclude_expsyms can be an extended regexp of symbols to exclude
9175   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9176   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9177   # as well as any symbol that contains `d'.
9178   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9179   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9180   # platforms (ab)use it in PIC code, but their linkers get confused if
9181   # the symbol is explicitly referenced.  Since portable code cannot
9182   # rely on this symbol name, it's probably fine to never include it in
9183   # preloaded symbol tables.
9184   # Exclude shared library initialization/finalization symbols.
9185   extract_expsyms_cmds=
9186
9187   case $host_os in
9188   cygwin* | mingw* | pw32* | cegcc*)
9189     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9190     # When not using gcc, we currently assume that we are using
9191     # Microsoft Visual C++.
9192     if test "$GCC" != yes; then
9193       with_gnu_ld=no
9194     fi
9195     ;;
9196   interix*)
9197     # we just hope/assume this is gcc and not c89 (= MSVC++)
9198     with_gnu_ld=yes
9199     ;;
9200   openbsd*)
9201     with_gnu_ld=no
9202     ;;
9203   esac
9204
9205   ld_shlibs=yes
9206
9207   # On some targets, GNU ld is compatible enough with the native linker
9208   # that we're better off using the native interface for both.
9209   lt_use_gnu_ld_interface=no
9210   if test "$with_gnu_ld" = yes; then
9211     case $host_os in
9212       aix*)
9213         # The AIX port of GNU ld has always aspired to compatibility
9214         # with the native linker.  However, as the warning in the GNU ld
9215         # block says, versions before 2.19.5* couldn't really create working
9216         # shared libraries, regardless of the interface used.
9217         case `$LD -v 2>&1` in
9218           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9219           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9220           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9221           *)
9222             lt_use_gnu_ld_interface=yes
9223             ;;
9224         esac
9225         ;;
9226       *)
9227         lt_use_gnu_ld_interface=yes
9228         ;;
9229     esac
9230   fi
9231
9232   if test "$lt_use_gnu_ld_interface" = yes; then
9233     # If archive_cmds runs LD, not CC, wlarc should be empty
9234     wlarc='${wl}'
9235
9236     # Set some defaults for GNU ld with shared library support. These
9237     # are reset later if shared libraries are not supported. Putting them
9238     # here allows them to be overridden if necessary.
9239     runpath_var=LD_RUN_PATH
9240     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241     export_dynamic_flag_spec='${wl}--export-dynamic'
9242     # ancient GNU ld didn't support --whole-archive et. al.
9243     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9244       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9245     else
9246       whole_archive_flag_spec=
9247     fi
9248     supports_anon_versioning=no
9249     case `$LD -v 2>&1` in
9250       *GNU\ gold*) supports_anon_versioning=yes ;;
9251       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9252       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9253       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9254       *\ 2.11.*) ;; # other 2.11 versions
9255       *) supports_anon_versioning=yes ;;
9256     esac
9257
9258     # See if GNU ld supports shared libraries.
9259     case $host_os in
9260     aix[3-9]*)
9261       # On AIX/PPC, the GNU linker is very broken
9262       if test "$host_cpu" != ia64; then
9263         ld_shlibs=no
9264         cat <<_LT_EOF 1>&2
9265
9266 *** Warning: the GNU linker, at least up to release 2.19, is reported
9267 *** to be unable to reliably create shared libraries on AIX.
9268 *** Therefore, libtool is disabling shared libraries support.  If you
9269 *** really care for shared libraries, you may want to install binutils
9270 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9271 *** You will then need to restart the configuration process.
9272
9273 _LT_EOF
9274       fi
9275       ;;
9276
9277     amigaos*)
9278       case $host_cpu in
9279       powerpc)
9280             # see comment about AmigaOS4 .so support
9281             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282             archive_expsym_cmds=''
9283         ;;
9284       m68k)
9285             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)'
9286             hardcode_libdir_flag_spec='-L$libdir'
9287             hardcode_minus_L=yes
9288         ;;
9289       esac
9290       ;;
9291
9292     beos*)
9293       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9294         allow_undefined_flag=unsupported
9295         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9296         # support --undefined.  This deserves some investigation.  FIXME
9297         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9298       else
9299         ld_shlibs=no
9300       fi
9301       ;;
9302
9303     cygwin* | mingw* | pw32* | cegcc*)
9304       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9305       # as there is no search path for DLLs.
9306       hardcode_libdir_flag_spec='-L$libdir'
9307       export_dynamic_flag_spec='${wl}--export-all-symbols'
9308       allow_undefined_flag=unsupported
9309       always_export_symbols=no
9310       enable_shared_with_static_runtimes=yes
9311       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9312
9313       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9314         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9315         # If the export-symbols file already is a .def file (1st line
9316         # is EXPORTS), use it as is; otherwise, prepend...
9317         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9318           cp $export_symbols $output_objdir/$soname.def;
9319         else
9320           echo EXPORTS > $output_objdir/$soname.def;
9321           cat $export_symbols >> $output_objdir/$soname.def;
9322         fi~
9323         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9324       else
9325         ld_shlibs=no
9326       fi
9327       ;;
9328
9329     haiku*)
9330       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331       link_all_deplibs=yes
9332       ;;
9333
9334     interix[3-9]*)
9335       hardcode_direct=no
9336       hardcode_shlibpath_var=no
9337       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9338       export_dynamic_flag_spec='${wl}-E'
9339       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9340       # Instead, shared libraries are loaded at an image base (0x10000000 by
9341       # default) and relocated if they conflict, which is a slow very memory
9342       # consuming and fragmenting process.  To avoid this, we pick a random,
9343       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9344       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9345       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9346       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'
9347       ;;
9348
9349     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9350       tmp_diet=no
9351       if test "$host_os" = linux-dietlibc; then
9352         case $cc_basename in
9353           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9354         esac
9355       fi
9356       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9357          && test "$tmp_diet" = no
9358       then
9359         tmp_addflag=' $pic_flag'
9360         tmp_sharedflag='-shared'
9361         case $cc_basename,$host_cpu in
9362         pgcc*)                          # Portland Group C compiler
9363           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'
9364           tmp_addflag=' $pic_flag'
9365           ;;
9366         pgf77* | pgf90* | pgf95* | pgfortran*)
9367                                         # Portland Group f77 and f90 compilers
9368           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'
9369           tmp_addflag=' $pic_flag -Mnomain' ;;
9370         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9371           tmp_addflag=' -i_dynamic' ;;
9372         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9373           tmp_addflag=' -i_dynamic -nofor_main' ;;
9374         ifc* | ifort*)                  # Intel Fortran compiler
9375           tmp_addflag=' -nofor_main' ;;
9376         lf95*)                          # Lahey Fortran 8.1
9377           whole_archive_flag_spec=
9378           tmp_sharedflag='--shared' ;;
9379         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9380           tmp_sharedflag='-qmkshrobj'
9381           tmp_addflag= ;;
9382         nvcc*)  # Cuda Compiler Driver 2.2
9383           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'
9384           compiler_needs_object=yes
9385           ;;
9386         esac
9387         case `$CC -V 2>&1 | sed 5q` in
9388         *Sun\ C*)                       # Sun C 5.9
9389           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'
9390           compiler_needs_object=yes
9391           tmp_sharedflag='-G' ;;
9392         *Sun\ F*)                       # Sun Fortran 8.3
9393           tmp_sharedflag='-G' ;;
9394         esac
9395         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396
9397         if test "x$supports_anon_versioning" = xyes; then
9398           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9399             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9400             echo "local: *; };" >> $output_objdir/$libname.ver~
9401             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9402         fi
9403
9404         case $cc_basename in
9405         xlf* | bgf* | bgxlf* | mpixlf*)
9406           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9407           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9408           hardcode_libdir_flag_spec=
9409           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9410           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9411           if test "x$supports_anon_versioning" = xyes; then
9412             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414               echo "local: *; };" >> $output_objdir/$libname.ver~
9415               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9416           fi
9417           ;;
9418         esac
9419       else
9420         ld_shlibs=no
9421       fi
9422       ;;
9423
9424     netbsd*)
9425       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9426         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9427         wlarc=
9428       else
9429         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9431       fi
9432       ;;
9433
9434     solaris*)
9435       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9436         ld_shlibs=no
9437         cat <<_LT_EOF 1>&2
9438
9439 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9440 *** create shared libraries on Solaris systems.  Therefore, libtool
9441 *** is disabling shared libraries support.  We urge you to upgrade GNU
9442 *** binutils to release 2.9.1 or newer.  Another option is to modify
9443 *** your PATH or compiler configuration so that the native linker is
9444 *** used, and then restart.
9445
9446 _LT_EOF
9447       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9448         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9449         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9450       else
9451         ld_shlibs=no
9452       fi
9453       ;;
9454
9455     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9456       case `$LD -v 2>&1` in
9457         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9458         ld_shlibs=no
9459         cat <<_LT_EOF 1>&2
9460
9461 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9462 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9463 *** is disabling shared libraries support.  We urge you to upgrade GNU
9464 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9465 *** your PATH or compiler configuration so that the native linker is
9466 *** used, and then restart.
9467
9468 _LT_EOF
9469         ;;
9470         *)
9471           # For security reasons, it is highly recommended that you always
9472           # use absolute paths for naming shared libraries, and exclude the
9473           # DT_RUNPATH tag from executables and libraries.  But doing so
9474           # requires that you compile everything twice, which is a pain.
9475           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9476             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479           else
9480             ld_shlibs=no
9481           fi
9482         ;;
9483       esac
9484       ;;
9485
9486     sunos4*)
9487       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488       wlarc=
9489       hardcode_direct=yes
9490       hardcode_shlibpath_var=no
9491       ;;
9492
9493     *)
9494       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9495         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9497       else
9498         ld_shlibs=no
9499       fi
9500       ;;
9501     esac
9502
9503     if test "$ld_shlibs" = no; then
9504       runpath_var=
9505       hardcode_libdir_flag_spec=
9506       export_dynamic_flag_spec=
9507       whole_archive_flag_spec=
9508     fi
9509   else
9510     # PORTME fill in a description of your system's linker (not GNU ld)
9511     case $host_os in
9512     aix3*)
9513       allow_undefined_flag=unsupported
9514       always_export_symbols=yes
9515       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'
9516       # Note: this linker hardcodes the directories in LIBPATH if there
9517       # are no directories specified by -L.
9518       hardcode_minus_L=yes
9519       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9520         # Neither direct hardcoding nor static linking is supported with a
9521         # broken collect2.
9522         hardcode_direct=unsupported
9523       fi
9524       ;;
9525
9526     aix[4-9]*)
9527       if test "$host_cpu" = ia64; then
9528         # On IA64, the linker does run time linking by default, so we don't
9529         # have to do anything special.
9530         aix_use_runtimelinking=no
9531         exp_sym_flag='-Bexport'
9532         no_entry_flag=""
9533       else
9534         # If we're using GNU nm, then we don't want the "-C" option.
9535         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9536         # Also, AIX nm treats weak defined symbols like other global
9537         # defined symbols, whereas GNU nm marks them as "W".
9538         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9539           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'
9540         else
9541           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'
9542         fi
9543         aix_use_runtimelinking=no
9544
9545         # Test if we are trying to use run time linking or normal
9546         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9547         # need to do runtime linking.
9548         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9549           for ld_flag in $LDFLAGS; do
9550           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9551             aix_use_runtimelinking=yes
9552             break
9553           fi
9554           done
9555           ;;
9556         esac
9557
9558         exp_sym_flag='-bexport'
9559         no_entry_flag='-bnoentry'
9560       fi
9561
9562       # When large executables or shared objects are built, AIX ld can
9563       # have problems creating the table of contents.  If linking a library
9564       # or program results in "error TOC overflow" add -mminimal-toc to
9565       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9566       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9567
9568       archive_cmds=''
9569       hardcode_direct=yes
9570       hardcode_direct_absolute=yes
9571       hardcode_libdir_separator=':'
9572       link_all_deplibs=yes
9573       file_list_spec='${wl}-f,'
9574
9575       if test "$GCC" = yes; then
9576         case $host_os in aix4.[012]|aix4.[012].*)
9577         # We only want to do this on AIX 4.2 and lower, the check
9578         # below for broken collect2 doesn't work under 4.3+
9579           collect2name=`${CC} -print-prog-name=collect2`
9580           if test -f "$collect2name" &&
9581            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9582           then
9583           # We have reworked collect2
9584           :
9585           else
9586           # We have old collect2
9587           hardcode_direct=unsupported
9588           # It fails to find uninstalled libraries when the uninstalled
9589           # path is not listed in the libpath.  Setting hardcode_minus_L
9590           # to unsupported forces relinking
9591           hardcode_minus_L=yes
9592           hardcode_libdir_flag_spec='-L$libdir'
9593           hardcode_libdir_separator=
9594           fi
9595           ;;
9596         esac
9597         shared_flag='-shared'
9598         if test "$aix_use_runtimelinking" = yes; then
9599           shared_flag="$shared_flag "'${wl}-G'
9600         fi
9601       else
9602         # not using gcc
9603         if test "$host_cpu" = ia64; then
9604         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9605         # chokes on -Wl,-G. The following line is correct:
9606           shared_flag='-G'
9607         else
9608           if test "$aix_use_runtimelinking" = yes; then
9609             shared_flag='${wl}-G'
9610           else
9611             shared_flag='${wl}-bM:SRE'
9612           fi
9613         fi
9614       fi
9615
9616       export_dynamic_flag_spec='${wl}-bexpall'
9617       # It seems that -bexpall does not export symbols beginning with
9618       # underscore (_), so it is better to generate a list of symbols to export.
9619       always_export_symbols=yes
9620       if test "$aix_use_runtimelinking" = yes; then
9621         # Warning - without using the other runtime loading flags (-brtl),
9622         # -berok will link without error, but may produce a broken library.
9623         allow_undefined_flag='-berok'
9624         # Determine the default libpath from the value encoded in an
9625         # empty executable.
9626         if test x$gcc_no_link = xyes; then
9627   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9628 fi
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h.  */
9631
9632 int
9633 main ()
9634 {
9635
9636   ;
9637   return 0;
9638 }
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641
9642 lt_aix_libpath_sed='
9643     /Import File Strings/,/^$/ {
9644         /^0/ {
9645             s/^0  *\(.*\)$/\1/
9646             p
9647         }
9648     }'
9649 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 # Check for a 64-bit object if we didn't find anything.
9651 if test -z "$aix_libpath"; then
9652   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 fi
9654 fi
9655 rm -f core conftest.err conftest.$ac_objext \
9656     conftest$ac_exeext conftest.$ac_ext
9657 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9658
9659         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9660         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"
9661       else
9662         if test "$host_cpu" = ia64; then
9663           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9664           allow_undefined_flag="-z nodefs"
9665           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"
9666         else
9667          # Determine the default libpath from the value encoded in an
9668          # empty executable.
9669          if test x$gcc_no_link = xyes; then
9670   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9671 fi
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h.  */
9674
9675 int
9676 main ()
9677 {
9678
9679   ;
9680   return 0;
9681 }
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684
9685 lt_aix_libpath_sed='
9686     /Import File Strings/,/^$/ {
9687         /^0/ {
9688             s/^0  *\(.*\)$/\1/
9689             p
9690         }
9691     }'
9692 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9693 # Check for a 64-bit object if we didn't find anything.
9694 if test -z "$aix_libpath"; then
9695   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 fi
9697 fi
9698 rm -f core conftest.err conftest.$ac_objext \
9699     conftest$ac_exeext conftest.$ac_ext
9700 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9701
9702          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9703           # Warning - without using the other run time loading flags,
9704           # -berok will link without error, but may produce a broken library.
9705           no_undefined_flag=' ${wl}-bernotok'
9706           allow_undefined_flag=' ${wl}-berok'
9707           if test "$with_gnu_ld" = yes; then
9708             # We only use this code for GNU lds that support --whole-archive.
9709             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9710           else
9711             # Exported symbols can be pulled into shared objects from archives
9712             whole_archive_flag_spec='$convenience'
9713           fi
9714           archive_cmds_need_lc=yes
9715           # This is similar to how AIX traditionally builds its shared libraries.
9716           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'
9717         fi
9718       fi
9719       ;;
9720
9721     amigaos*)
9722       case $host_cpu in
9723       powerpc)
9724             # see comment about AmigaOS4 .so support
9725             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726             archive_expsym_cmds=''
9727         ;;
9728       m68k)
9729             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)'
9730             hardcode_libdir_flag_spec='-L$libdir'
9731             hardcode_minus_L=yes
9732         ;;
9733       esac
9734       ;;
9735
9736     bsdi[45]*)
9737       export_dynamic_flag_spec=-rdynamic
9738       ;;
9739
9740     cygwin* | mingw* | pw32* | cegcc*)
9741       # When not using gcc, we currently assume that we are using
9742       # Microsoft Visual C++.
9743       # hardcode_libdir_flag_spec is actually meaningless, as there is
9744       # no search path for DLLs.
9745       hardcode_libdir_flag_spec=' '
9746       allow_undefined_flag=unsupported
9747       # Tell ltmain to make .lib files, not .a files.
9748       libext=lib
9749       # Tell ltmain to make .dll files, not .so files.
9750       shrext_cmds=".dll"
9751       # FIXME: Setting linknames here is a bad hack.
9752       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9753       # The linker will automatically build a .lib file if we build a DLL.
9754       old_archive_from_new_cmds='true'
9755       # FIXME: Should let the user specify the lib program.
9756       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9757       fix_srcfile_path='`cygpath -w "$srcfile"`'
9758       enable_shared_with_static_runtimes=yes
9759       ;;
9760
9761     darwin* | rhapsody*)
9762
9763
9764   archive_cmds_need_lc=no
9765   hardcode_direct=no
9766   hardcode_automatic=yes
9767   hardcode_shlibpath_var=unsupported
9768   if test "$lt_cv_ld_force_load" = "yes"; then
9769     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\"`'
9770   else
9771     whole_archive_flag_spec=''
9772   fi
9773   link_all_deplibs=yes
9774   allow_undefined_flag="$_lt_dar_allow_undefined"
9775   case $cc_basename in
9776      ifort*) _lt_dar_can_shared=yes ;;
9777      *) _lt_dar_can_shared=$GCC ;;
9778   esac
9779   if test "$_lt_dar_can_shared" = "yes"; then
9780     output_verbose_link_cmd=func_echo_all
9781     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9782     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9783     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}"
9784     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}"
9785
9786   else
9787   ld_shlibs=no
9788   fi
9789
9790       ;;
9791
9792     dgux*)
9793       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794       hardcode_libdir_flag_spec='-L$libdir'
9795       hardcode_shlibpath_var=no
9796       ;;
9797
9798     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9799     # support.  Future versions do this automatically, but an explicit c++rt0.o
9800     # does not break anything, and helps significantly (at the cost of a little
9801     # extra space).
9802     freebsd2.2*)
9803       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9804       hardcode_libdir_flag_spec='-R$libdir'
9805       hardcode_direct=yes
9806       hardcode_shlibpath_var=no
9807       ;;
9808
9809     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9810     freebsd2.*)
9811       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9812       hardcode_direct=yes
9813       hardcode_minus_L=yes
9814       hardcode_shlibpath_var=no
9815       ;;
9816
9817     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9818     freebsd* | dragonfly*)
9819       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9820       hardcode_libdir_flag_spec='-R$libdir'
9821       hardcode_direct=yes
9822       hardcode_shlibpath_var=no
9823       ;;
9824
9825     hpux9*)
9826       if test "$GCC" = yes; then
9827         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'
9828       else
9829         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'
9830       fi
9831       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9832       hardcode_libdir_separator=:
9833       hardcode_direct=yes
9834
9835       # hardcode_minus_L: Not really in the search PATH,
9836       # but as the default location of the library.
9837       hardcode_minus_L=yes
9838       export_dynamic_flag_spec='${wl}-E'
9839       ;;
9840
9841     hpux10*)
9842       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9843         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844       else
9845         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9846       fi
9847       if test "$with_gnu_ld" = no; then
9848         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9849         hardcode_libdir_flag_spec_ld='+b $libdir'
9850         hardcode_libdir_separator=:
9851         hardcode_direct=yes
9852         hardcode_direct_absolute=yes
9853         export_dynamic_flag_spec='${wl}-E'
9854         # hardcode_minus_L: Not really in the search PATH,
9855         # but as the default location of the library.
9856         hardcode_minus_L=yes
9857       fi
9858       ;;
9859
9860     hpux11*)
9861       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9862         case $host_cpu in
9863         hppa*64*)
9864           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865           ;;
9866         ia64*)
9867           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9868           ;;
9869         *)
9870           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9871           ;;
9872         esac
9873       else
9874         case $host_cpu in
9875         hppa*64*)
9876           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877           ;;
9878         ia64*)
9879           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9880           ;;
9881         *)
9882
9883           # Older versions of the 11.00 compiler do not understand -b yet
9884           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9888   $as_echo_n "(cached) " >&6
9889 else
9890   lt_cv_prog_compiler__b=no
9891    save_LDFLAGS="$LDFLAGS"
9892    LDFLAGS="$LDFLAGS -b"
9893    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9894    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9895      # The linker can only warn and ignore the option if not recognized
9896      # So say no if there are warnings
9897      if test -s conftest.err; then
9898        # Append any errors to the config.log.
9899        cat conftest.err 1>&5
9900        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9901        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9902        if diff conftest.exp conftest.er2 >/dev/null; then
9903          lt_cv_prog_compiler__b=yes
9904        fi
9905      else
9906        lt_cv_prog_compiler__b=yes
9907      fi
9908    fi
9909    $RM -r conftest*
9910    LDFLAGS="$save_LDFLAGS"
9911
9912 fi
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9915
9916 if test x"$lt_cv_prog_compiler__b" = xyes; then
9917     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9918 else
9919     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9920 fi
9921
9922           ;;
9923         esac
9924       fi
9925       if test "$with_gnu_ld" = no; then
9926         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927         hardcode_libdir_separator=:
9928
9929         case $host_cpu in
9930         hppa*64*|ia64*)
9931           hardcode_direct=no
9932           hardcode_shlibpath_var=no
9933           ;;
9934         *)
9935           hardcode_direct=yes
9936           hardcode_direct_absolute=yes
9937           export_dynamic_flag_spec='${wl}-E'
9938
9939           # hardcode_minus_L: Not really in the search PATH,
9940           # but as the default location of the library.
9941           hardcode_minus_L=yes
9942           ;;
9943         esac
9944       fi
9945       ;;
9946
9947     irix5* | irix6* | nonstopux*)
9948       if test "$GCC" = yes; then
9949         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'
9950         # Try to use the -exported_symbol ld option, if it does not
9951         # work, assume that -exports_file does not work either and
9952         # implicitly export all symbols.
9953         save_LDFLAGS="$LDFLAGS"
9954         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9955         if test x$gcc_no_link = xyes; then
9956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9957 fi
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h.  */
9960 int foo(void) {}
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963   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'
9964
9965 fi
9966 rm -f core conftest.err conftest.$ac_objext \
9967     conftest$ac_exeext conftest.$ac_ext
9968         LDFLAGS="$save_LDFLAGS"
9969       else
9970         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'
9971         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'
9972       fi
9973       archive_cmds_need_lc='no'
9974       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975       hardcode_libdir_separator=:
9976       inherit_rpath=yes
9977       link_all_deplibs=yes
9978       ;;
9979
9980     netbsd*)
9981       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9982         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9983       else
9984         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9985       fi
9986       hardcode_libdir_flag_spec='-R$libdir'
9987       hardcode_direct=yes
9988       hardcode_shlibpath_var=no
9989       ;;
9990
9991     newsos6)
9992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993       hardcode_direct=yes
9994       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9995       hardcode_libdir_separator=:
9996       hardcode_shlibpath_var=no
9997       ;;
9998
9999     *nto* | *qnx*)
10000       ;;
10001
10002     openbsd*)
10003       if test -f /usr/libexec/ld.so; then
10004         hardcode_direct=yes
10005         hardcode_shlibpath_var=no
10006         hardcode_direct_absolute=yes
10007         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10008           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10009           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10010           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10011           export_dynamic_flag_spec='${wl}-E'
10012         else
10013           case $host_os in
10014            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10015              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10016              hardcode_libdir_flag_spec='-R$libdir'
10017              ;;
10018            *)
10019              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10020              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021              ;;
10022           esac
10023         fi
10024       else
10025         ld_shlibs=no
10026       fi
10027       ;;
10028
10029     os2*)
10030       hardcode_libdir_flag_spec='-L$libdir'
10031       hardcode_minus_L=yes
10032       allow_undefined_flag=unsupported
10033       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'
10034       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10035       ;;
10036
10037     osf3*)
10038       if test "$GCC" = yes; then
10039         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10040         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'
10041       else
10042         allow_undefined_flag=' -expect_unresolved \*'
10043         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'
10044       fi
10045       archive_cmds_need_lc='no'
10046       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10047       hardcode_libdir_separator=:
10048       ;;
10049
10050     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10051       if test "$GCC" = yes; then
10052         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10053         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'
10054         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10055       else
10056         allow_undefined_flag=' -expect_unresolved \*'
10057         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'
10058         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~
10059         $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'
10060
10061         # Both c and cxx compiler support -rpath directly
10062         hardcode_libdir_flag_spec='-rpath $libdir'
10063       fi
10064       archive_cmds_need_lc='no'
10065       hardcode_libdir_separator=:
10066       ;;
10067
10068     solaris*)
10069       no_undefined_flag=' -z defs'
10070       if test "$GCC" = yes; then
10071         wlarc='${wl}'
10072         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10073         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10074           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10075       else
10076         case `$CC -V 2>&1` in
10077         *"Compilers 5.0"*)
10078           wlarc=''
10079           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10081           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10082           ;;
10083         *)
10084           wlarc='${wl}'
10085           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10086           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10087           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10088           ;;
10089         esac
10090       fi
10091       hardcode_libdir_flag_spec='-R$libdir'
10092       hardcode_shlibpath_var=no
10093       case $host_os in
10094       solaris2.[0-5] | solaris2.[0-5].*) ;;
10095       *)
10096         # The compiler driver will combine and reorder linker options,
10097         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10098         # but is careful enough not to reorder.
10099         # Supported since Solaris 2.6 (maybe 2.5.1?)
10100         if test "$GCC" = yes; then
10101           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10102         else
10103           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10104         fi
10105         ;;
10106       esac
10107       link_all_deplibs=yes
10108       ;;
10109
10110     sunos4*)
10111       if test "x$host_vendor" = xsequent; then
10112         # Use $CC to link under sequent, because it throws in some extra .o
10113         # files that make .init and .fini sections work.
10114         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10115       else
10116         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10117       fi
10118       hardcode_libdir_flag_spec='-L$libdir'
10119       hardcode_direct=yes
10120       hardcode_minus_L=yes
10121       hardcode_shlibpath_var=no
10122       ;;
10123
10124     sysv4)
10125       case $host_vendor in
10126         sni)
10127           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128           hardcode_direct=yes # is this really true???
10129         ;;
10130         siemens)
10131           ## LD is ld it makes a PLAMLIB
10132           ## CC just makes a GrossModule.
10133           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10134           reload_cmds='$CC -r -o $output$reload_objs'
10135           hardcode_direct=no
10136         ;;
10137         motorola)
10138           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10140         ;;
10141       esac
10142       runpath_var='LD_RUN_PATH'
10143       hardcode_shlibpath_var=no
10144       ;;
10145
10146     sysv4.3*)
10147       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10148       hardcode_shlibpath_var=no
10149       export_dynamic_flag_spec='-Bexport'
10150       ;;
10151
10152     sysv4*MP*)
10153       if test -d /usr/nec; then
10154         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10155         hardcode_shlibpath_var=no
10156         runpath_var=LD_RUN_PATH
10157         hardcode_runpath_var=yes
10158         ld_shlibs=yes
10159       fi
10160       ;;
10161
10162     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10163       no_undefined_flag='${wl}-z,text'
10164       archive_cmds_need_lc=no
10165       hardcode_shlibpath_var=no
10166       runpath_var='LD_RUN_PATH'
10167
10168       if test "$GCC" = yes; then
10169         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171       else
10172         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174       fi
10175       ;;
10176
10177     sysv5* | sco3.2v5* | sco5v6*)
10178       # Note: We can NOT use -z defs as we might desire, because we do not
10179       # link with -lc, and that would cause any symbols used from libc to
10180       # always be unresolved, which means just about no library would
10181       # ever link correctly.  If we're not using GNU ld we use -z text
10182       # though, which does catch some bad symbols but isn't as heavy-handed
10183       # as -z defs.
10184       no_undefined_flag='${wl}-z,text'
10185       allow_undefined_flag='${wl}-z,nodefs'
10186       archive_cmds_need_lc=no
10187       hardcode_shlibpath_var=no
10188       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10189       hardcode_libdir_separator=':'
10190       link_all_deplibs=yes
10191       export_dynamic_flag_spec='${wl}-Bexport'
10192       runpath_var='LD_RUN_PATH'
10193
10194       if test "$GCC" = yes; then
10195         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197       else
10198         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200       fi
10201       ;;
10202
10203     uts4*)
10204       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205       hardcode_libdir_flag_spec='-L$libdir'
10206       hardcode_shlibpath_var=no
10207       ;;
10208
10209     *)
10210       ld_shlibs=no
10211       ;;
10212     esac
10213
10214     if test x$host_vendor = xsni; then
10215       case $host in
10216       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10217         export_dynamic_flag_spec='${wl}-Blargedynsym'
10218         ;;
10219       esac
10220     fi
10221   fi
10222
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10224 $as_echo "$ld_shlibs" >&6; }
10225 test "$ld_shlibs" = no && can_build_shared=no
10226
10227 with_gnu_ld=$with_gnu_ld
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243 #
10244 # Do we need to explicitly link libc?
10245 #
10246 case "x$archive_cmds_need_lc" in
10247 x|xyes)
10248   # Assume -lc should be added
10249   archive_cmds_need_lc=yes
10250
10251   if test "$enable_shared" = yes && test "$GCC" = yes; then
10252     case $archive_cmds in
10253     *'~'*)
10254       # FIXME: we may have to deal with multi-command sequences.
10255       ;;
10256     '$CC '*)
10257       # Test whether the compiler implicitly links with -lc since on some
10258       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10259       # to ld, don't add -lc before -lgcc.
10260       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10261 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10262 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10263   $as_echo_n "(cached) " >&6
10264 else
10265   $RM conftest*
10266         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10267
10268         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10269   (eval $ac_compile) 2>&5
10270   ac_status=$?
10271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10272   test $ac_status = 0; } 2>conftest.err; then
10273           soname=conftest
10274           lib=conftest
10275           libobjs=conftest.$ac_objext
10276           deplibs=
10277           wl=$lt_prog_compiler_wl
10278           pic_flag=$lt_prog_compiler_pic
10279           compiler_flags=-v
10280           linker_flags=-v
10281           verstring=
10282           output_objdir=.
10283           libname=conftest
10284           lt_save_allow_undefined_flag=$allow_undefined_flag
10285           allow_undefined_flag=
10286           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10287   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10288   ac_status=$?
10289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10290   test $ac_status = 0; }
10291           then
10292             lt_cv_archive_cmds_need_lc=no
10293           else
10294             lt_cv_archive_cmds_need_lc=yes
10295           fi
10296           allow_undefined_flag=$lt_save_allow_undefined_flag
10297         else
10298           cat conftest.err 1>&5
10299         fi
10300         $RM conftest*
10301
10302 fi
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10304 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10305       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10306       ;;
10307     esac
10308   fi
10309   ;;
10310 esac
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
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10469 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10470
10471 if test "$GCC" = yes; then
10472   case $host_os in
10473     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10474     *) lt_awk_arg="/^libraries:/" ;;
10475   esac
10476   case $host_os in
10477     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10478     *) lt_sed_strip_eq="s,=/,/,g" ;;
10479   esac
10480   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10481   case $lt_search_path_spec in
10482   *\;*)
10483     # if the path contains ";" then we assume it to be the separator
10484     # otherwise default to the standard path separator (i.e. ":") - it is
10485     # assumed that no part of a normal pathname contains ";" but that should
10486     # okay in the real world where ";" in dirpaths is itself problematic.
10487     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10488     ;;
10489   *)
10490     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10491     ;;
10492   esac
10493   # Ok, now we have the path, separated by spaces, we can step through it
10494   # and add multilib dir if necessary.
10495   lt_tmp_lt_search_path_spec=
10496   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10497   for lt_sys_path in $lt_search_path_spec; do
10498     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10499       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10500     else
10501       test -d "$lt_sys_path" && \
10502         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10503     fi
10504   done
10505   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10506 BEGIN {RS=" "; FS="/|\n";} {
10507   lt_foo="";
10508   lt_count=0;
10509   for (lt_i = NF; lt_i > 0; lt_i--) {
10510     if ($lt_i != "" && $lt_i != ".") {
10511       if ($lt_i == "..") {
10512         lt_count++;
10513       } else {
10514         if (lt_count == 0) {
10515           lt_foo="/" $lt_i lt_foo;
10516         } else {
10517           lt_count--;
10518         }
10519       }
10520     }
10521   }
10522   if (lt_foo != "") { lt_freq[lt_foo]++; }
10523   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10524 }'`
10525   # AWK program above erroneously prepends '/' to C:/dos/paths
10526   # for these hosts.
10527   case $host_os in
10528     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10529       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10530   esac
10531   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10532 else
10533   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10534 fi
10535 library_names_spec=
10536 libname_spec='lib$name'
10537 soname_spec=
10538 shrext_cmds=".so"
10539 postinstall_cmds=
10540 postuninstall_cmds=
10541 finish_cmds=
10542 finish_eval=
10543 shlibpath_var=
10544 shlibpath_overrides_runpath=unknown
10545 version_type=none
10546 dynamic_linker="$host_os ld.so"
10547 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10548 need_lib_prefix=unknown
10549 hardcode_into_libs=no
10550
10551 # when you set need_version to no, make sure it does not cause -set_version
10552 # flags to be left without arguments
10553 need_version=unknown
10554
10555 case $host_os in
10556 aix3*)
10557   version_type=linux
10558   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10559   shlibpath_var=LIBPATH
10560
10561   # AIX 3 has no versioning support, so we append a major version to the name.
10562   soname_spec='${libname}${release}${shared_ext}$major'
10563   ;;
10564
10565 aix[4-9]*)
10566   version_type=linux
10567   need_lib_prefix=no
10568   need_version=no
10569   hardcode_into_libs=yes
10570   if test "$host_cpu" = ia64; then
10571     # AIX 5 supports IA64
10572     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10573     shlibpath_var=LD_LIBRARY_PATH
10574   else
10575     # With GCC up to 2.95.x, collect2 would create an import file
10576     # for dependence libraries.  The import file would start with
10577     # the line `#! .'.  This would cause the generated library to
10578     # depend on `.', always an invalid library.  This was fixed in
10579     # development snapshots of GCC prior to 3.0.
10580     case $host_os in
10581       aix4 | aix4.[01] | aix4.[01].*)
10582       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10583            echo ' yes '
10584            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10585         :
10586       else
10587         can_build_shared=no
10588       fi
10589       ;;
10590     esac
10591     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10592     # soname into executable. Probably we can add versioning support to
10593     # collect2, so additional links can be useful in future.
10594     if test "$aix_use_runtimelinking" = yes; then
10595       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10596       # instead of lib<name>.a to let people know that these are not
10597       # typical AIX shared libraries.
10598       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10599     else
10600       # We preserve .a as extension for shared libraries through AIX4.2
10601       # and later when we are not doing run time linking.
10602       library_names_spec='${libname}${release}.a $libname.a'
10603       soname_spec='${libname}${release}${shared_ext}$major'
10604     fi
10605     shlibpath_var=LIBPATH
10606   fi
10607   ;;
10608
10609 amigaos*)
10610   case $host_cpu in
10611   powerpc)
10612     # Since July 2007 AmigaOS4 officially supports .so libraries.
10613     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615     ;;
10616   m68k)
10617     library_names_spec='$libname.ixlibrary $libname.a'
10618     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10619     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'
10620     ;;
10621   esac
10622   ;;
10623
10624 beos*)
10625   library_names_spec='${libname}${shared_ext}'
10626   dynamic_linker="$host_os ld.so"
10627   shlibpath_var=LIBRARY_PATH
10628   ;;
10629
10630 bsdi[45]*)
10631   version_type=linux
10632   need_version=no
10633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10634   soname_spec='${libname}${release}${shared_ext}$major'
10635   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10636   shlibpath_var=LD_LIBRARY_PATH
10637   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10638   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10639   # the default ld.so.conf also contains /usr/contrib/lib and
10640   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10641   # libtool to hard-code these into programs
10642   ;;
10643
10644 cygwin* | mingw* | pw32* | cegcc*)
10645   version_type=windows
10646   shrext_cmds=".dll"
10647   need_version=no
10648   need_lib_prefix=no
10649
10650   case $GCC,$host_os in
10651   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10652     library_names_spec='$libname.dll.a'
10653     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10654     postinstall_cmds='base_file=`basename \${file}`~
10655       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10656       dldir=$destdir/`dirname \$dlpath`~
10657       test -d \$dldir || mkdir -p \$dldir~
10658       $install_prog $dir/$dlname \$dldir/$dlname~
10659       chmod a+x \$dldir/$dlname~
10660       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10661         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10662       fi'
10663     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10664       dlpath=$dir/\$dldll~
10665        $RM \$dlpath'
10666     shlibpath_overrides_runpath=yes
10667
10668     case $host_os in
10669     cygwin*)
10670       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10671       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10672
10673       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10674       ;;
10675     mingw* | cegcc*)
10676       # MinGW DLLs use traditional 'lib' prefix
10677       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10678       ;;
10679     pw32*)
10680       # pw32 DLLs use 'pw' prefix rather than 'lib'
10681       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682       ;;
10683     esac
10684     ;;
10685
10686   *)
10687     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10688     ;;
10689   esac
10690   dynamic_linker='Win32 ld.exe'
10691   # FIXME: first we should search . and the directory the executable is in
10692   shlibpath_var=PATH
10693   ;;
10694
10695 darwin* | rhapsody*)
10696   dynamic_linker="$host_os dyld"
10697   version_type=darwin
10698   need_lib_prefix=no
10699   need_version=no
10700   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10701   soname_spec='${libname}${release}${major}$shared_ext'
10702   shlibpath_overrides_runpath=yes
10703   shlibpath_var=DYLD_LIBRARY_PATH
10704   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10705
10706   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10707   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10708   ;;
10709
10710 dgux*)
10711   version_type=linux
10712   need_lib_prefix=no
10713   need_version=no
10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   ;;
10718
10719 freebsd* | dragonfly*)
10720   # DragonFly does not have aout.  When/if they implement a new
10721   # versioning mechanism, adjust this.
10722   if test -x /usr/bin/objformat; then
10723     objformat=`/usr/bin/objformat`
10724   else
10725     case $host_os in
10726     freebsd[23].*) objformat=aout ;;
10727     *) objformat=elf ;;
10728     esac
10729   fi
10730   version_type=freebsd-$objformat
10731   case $version_type in
10732     freebsd-elf*)
10733       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10734       need_version=no
10735       need_lib_prefix=no
10736       ;;
10737     freebsd-*)
10738       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10739       need_version=yes
10740       ;;
10741   esac
10742   shlibpath_var=LD_LIBRARY_PATH
10743   case $host_os in
10744   freebsd2.*)
10745     shlibpath_overrides_runpath=yes
10746     ;;
10747   freebsd3.[01]* | freebsdelf3.[01]*)
10748     shlibpath_overrides_runpath=yes
10749     hardcode_into_libs=yes
10750     ;;
10751   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10752   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10753     shlibpath_overrides_runpath=no
10754     hardcode_into_libs=yes
10755     ;;
10756   *) # from 4.6 on, and DragonFly
10757     shlibpath_overrides_runpath=yes
10758     hardcode_into_libs=yes
10759     ;;
10760   esac
10761   ;;
10762
10763 gnu*)
10764   version_type=linux
10765   need_lib_prefix=no
10766   need_version=no
10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10768   soname_spec='${libname}${release}${shared_ext}$major'
10769   shlibpath_var=LD_LIBRARY_PATH
10770   hardcode_into_libs=yes
10771   ;;
10772
10773 haiku*)
10774   version_type=linux
10775   need_lib_prefix=no
10776   need_version=no
10777   dynamic_linker="$host_os runtime_loader"
10778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10779   soname_spec='${libname}${release}${shared_ext}$major'
10780   shlibpath_var=LIBRARY_PATH
10781   shlibpath_overrides_runpath=yes
10782   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10783   hardcode_into_libs=yes
10784   ;;
10785
10786 hpux9* | hpux10* | hpux11*)
10787   # Give a soname corresponding to the major version so that dld.sl refuses to
10788   # link against other versions.
10789   version_type=sunos
10790   need_lib_prefix=no
10791   need_version=no
10792   case $host_cpu in
10793   ia64*)
10794     shrext_cmds='.so'
10795     hardcode_into_libs=yes
10796     dynamic_linker="$host_os dld.so"
10797     shlibpath_var=LD_LIBRARY_PATH
10798     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10799     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800     soname_spec='${libname}${release}${shared_ext}$major'
10801     if test "X$HPUX_IA64_MODE" = X32; then
10802       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10803     else
10804       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10805     fi
10806     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10807     ;;
10808   hppa*64*)
10809     shrext_cmds='.sl'
10810     hardcode_into_libs=yes
10811     dynamic_linker="$host_os dld.sl"
10812     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10813     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10814     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815     soname_spec='${libname}${release}${shared_ext}$major'
10816     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10817     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10818     ;;
10819   *)
10820     shrext_cmds='.sl'
10821     dynamic_linker="$host_os dld.sl"
10822     shlibpath_var=SHLIB_PATH
10823     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825     soname_spec='${libname}${release}${shared_ext}$major'
10826     ;;
10827   esac
10828   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10829   postinstall_cmds='chmod 555 $lib'
10830   # or fails outright, so override atomically:
10831   install_override_mode=555
10832   ;;
10833
10834 interix[3-9]*)
10835   version_type=linux
10836   need_lib_prefix=no
10837   need_version=no
10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839   soname_spec='${libname}${release}${shared_ext}$major'
10840   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10841   shlibpath_var=LD_LIBRARY_PATH
10842   shlibpath_overrides_runpath=no
10843   hardcode_into_libs=yes
10844   ;;
10845
10846 irix5* | irix6* | nonstopux*)
10847   case $host_os in
10848     nonstopux*) version_type=nonstopux ;;
10849     *)
10850         if test "$lt_cv_prog_gnu_ld" = yes; then
10851                 version_type=linux
10852         else
10853                 version_type=irix
10854         fi ;;
10855   esac
10856   need_lib_prefix=no
10857   need_version=no
10858   soname_spec='${libname}${release}${shared_ext}$major'
10859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10860   case $host_os in
10861   irix5* | nonstopux*)
10862     libsuff= shlibsuff=
10863     ;;
10864   *)
10865     case $LD in # libtool.m4 will add one of these switches to LD
10866     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10867       libsuff= shlibsuff= libmagic=32-bit;;
10868     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10869       libsuff=32 shlibsuff=N32 libmagic=N32;;
10870     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10871       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10872     *) libsuff= shlibsuff= libmagic=never-match;;
10873     esac
10874     ;;
10875   esac
10876   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10877   shlibpath_overrides_runpath=no
10878   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10879   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10880   hardcode_into_libs=yes
10881   ;;
10882
10883 # No shared lib support for Linux oldld, aout, or coff.
10884 linux*oldld* | linux*aout* | linux*coff*)
10885   dynamic_linker=no
10886   ;;
10887
10888 # This must be Linux ELF.
10889 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10890   version_type=linux
10891   need_lib_prefix=no
10892   need_version=no
10893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894   soname_spec='${libname}${release}${shared_ext}$major'
10895   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10896   shlibpath_var=LD_LIBRARY_PATH
10897   shlibpath_overrides_runpath=no
10898
10899   # Some binutils ld are patched to set DT_RUNPATH
10900   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10901   $as_echo_n "(cached) " >&6
10902 else
10903   lt_cv_shlibpath_overrides_runpath=no
10904     save_LDFLAGS=$LDFLAGS
10905     save_libdir=$libdir
10906     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10907          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10908     if test x$gcc_no_link = xyes; then
10909   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10910 fi
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h.  */
10913
10914 int
10915 main ()
10916 {
10917
10918   ;
10919   return 0;
10920 }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10924   lt_cv_shlibpath_overrides_runpath=yes
10925 fi
10926 fi
10927 rm -f core conftest.err conftest.$ac_objext \
10928     conftest$ac_exeext conftest.$ac_ext
10929     LDFLAGS=$save_LDFLAGS
10930     libdir=$save_libdir
10931
10932 fi
10933
10934   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10935
10936   # This implies no fast_install, which is unacceptable.
10937   # Some rework will be needed to allow for fast_install
10938   # before this can be enabled.
10939   hardcode_into_libs=yes
10940
10941   # Append ld.so.conf contents to the search path
10942   if test -f /etc/ld.so.conf; then
10943     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' ' '`
10944     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10945   fi
10946
10947   # We used to test for /lib/ld.so.1 and disable shared libraries on
10948   # powerpc, because MkLinux only supported shared libraries with the
10949   # GNU dynamic linker.  Since this was broken with cross compilers,
10950   # most powerpc-linux boxes support dynamic linking these days and
10951   # people can always --disable-shared, the test was removed, and we
10952   # assume the GNU/Linux dynamic linker is in use.
10953   dynamic_linker='GNU/Linux ld.so'
10954   ;;
10955
10956 netbsd*)
10957   version_type=sunos
10958   need_lib_prefix=no
10959   need_version=no
10960   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10962     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10963     dynamic_linker='NetBSD (a.out) ld.so'
10964   else
10965     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10966     soname_spec='${libname}${release}${shared_ext}$major'
10967     dynamic_linker='NetBSD ld.elf_so'
10968   fi
10969   shlibpath_var=LD_LIBRARY_PATH
10970   shlibpath_overrides_runpath=yes
10971   hardcode_into_libs=yes
10972   ;;
10973
10974 newsos6)
10975   version_type=linux
10976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977   shlibpath_var=LD_LIBRARY_PATH
10978   shlibpath_overrides_runpath=yes
10979   ;;
10980
10981 *nto* | *qnx*)
10982   version_type=qnx
10983   need_lib_prefix=no
10984   need_version=no
10985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986   soname_spec='${libname}${release}${shared_ext}$major'
10987   shlibpath_var=LD_LIBRARY_PATH
10988   shlibpath_overrides_runpath=no
10989   hardcode_into_libs=yes
10990   dynamic_linker='ldqnx.so'
10991   ;;
10992
10993 openbsd*)
10994   version_type=sunos
10995   sys_lib_dlsearch_path_spec="/usr/lib"
10996   need_lib_prefix=no
10997   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10998   case $host_os in
10999     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11000     *)                          need_version=no  ;;
11001   esac
11002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11003   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11004   shlibpath_var=LD_LIBRARY_PATH
11005   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11006     case $host_os in
11007       openbsd2.[89] | openbsd2.[89].*)
11008         shlibpath_overrides_runpath=no
11009         ;;
11010       *)
11011         shlibpath_overrides_runpath=yes
11012         ;;
11013       esac
11014   else
11015     shlibpath_overrides_runpath=yes
11016   fi
11017   ;;
11018
11019 os2*)
11020   libname_spec='$name'
11021   shrext_cmds=".dll"
11022   need_lib_prefix=no
11023   library_names_spec='$libname${shared_ext} $libname.a'
11024   dynamic_linker='OS/2 ld.exe'
11025   shlibpath_var=LIBPATH
11026   ;;
11027
11028 osf3* | osf4* | osf5*)
11029   version_type=osf
11030   need_lib_prefix=no
11031   need_version=no
11032   soname_spec='${libname}${release}${shared_ext}$major'
11033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034   shlibpath_var=LD_LIBRARY_PATH
11035   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11036   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11037   ;;
11038
11039 rdos*)
11040   dynamic_linker=no
11041   ;;
11042
11043 solaris*)
11044   version_type=linux
11045   need_lib_prefix=no
11046   need_version=no
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048   soname_spec='${libname}${release}${shared_ext}$major'
11049   shlibpath_var=LD_LIBRARY_PATH
11050   shlibpath_overrides_runpath=yes
11051   hardcode_into_libs=yes
11052   # ldd complains unless libraries are executable
11053   postinstall_cmds='chmod +x $lib'
11054   ;;
11055
11056 sunos4*)
11057   version_type=sunos
11058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11059   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11060   shlibpath_var=LD_LIBRARY_PATH
11061   shlibpath_overrides_runpath=yes
11062   if test "$with_gnu_ld" = yes; then
11063     need_lib_prefix=no
11064   fi
11065   need_version=yes
11066   ;;
11067
11068 sysv4 | sysv4.3*)
11069   version_type=linux
11070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071   soname_spec='${libname}${release}${shared_ext}$major'
11072   shlibpath_var=LD_LIBRARY_PATH
11073   case $host_vendor in
11074     sni)
11075       shlibpath_overrides_runpath=no
11076       need_lib_prefix=no
11077       runpath_var=LD_RUN_PATH
11078       ;;
11079     siemens)
11080       need_lib_prefix=no
11081       ;;
11082     motorola)
11083       need_lib_prefix=no
11084       need_version=no
11085       shlibpath_overrides_runpath=no
11086       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11087       ;;
11088   esac
11089   ;;
11090
11091 sysv4*MP*)
11092   if test -d /usr/nec ;then
11093     version_type=linux
11094     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11095     soname_spec='$libname${shared_ext}.$major'
11096     shlibpath_var=LD_LIBRARY_PATH
11097   fi
11098   ;;
11099
11100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11101   version_type=freebsd-elf
11102   need_lib_prefix=no
11103   need_version=no
11104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11105   soname_spec='${libname}${release}${shared_ext}$major'
11106   shlibpath_var=LD_LIBRARY_PATH
11107   shlibpath_overrides_runpath=yes
11108   hardcode_into_libs=yes
11109   if test "$with_gnu_ld" = yes; then
11110     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11111   else
11112     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11113     case $host_os in
11114       sco3.2v5*)
11115         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11116         ;;
11117     esac
11118   fi
11119   sys_lib_dlsearch_path_spec='/usr/lib'
11120   ;;
11121
11122 tpf*)
11123   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11124   version_type=linux
11125   need_lib_prefix=no
11126   need_version=no
11127   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128   shlibpath_var=LD_LIBRARY_PATH
11129   shlibpath_overrides_runpath=no
11130   hardcode_into_libs=yes
11131   ;;
11132
11133 uts4*)
11134   version_type=linux
11135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136   soname_spec='${libname}${release}${shared_ext}$major'
11137   shlibpath_var=LD_LIBRARY_PATH
11138   ;;
11139
11140 *)
11141   dynamic_linker=no
11142   ;;
11143 esac
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11145 $as_echo "$dynamic_linker" >&6; }
11146 test "$dynamic_linker" = no && can_build_shared=no
11147
11148 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11149 if test "$GCC" = yes; then
11150   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11151 fi
11152
11153 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11154   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11155 fi
11156 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11157   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11158 fi
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11252 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11253 hardcode_action=
11254 if test -n "$hardcode_libdir_flag_spec" ||
11255    test -n "$runpath_var" ||
11256    test "X$hardcode_automatic" = "Xyes" ; then
11257
11258   # We can hardcode non-existent directories.
11259   if test "$hardcode_direct" != no &&
11260      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11261      # have to relink, otherwise we might link with an installed library
11262      # when we should be linking with a yet-to-be-installed one
11263      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11264      test "$hardcode_minus_L" != no; then
11265     # Linking always hardcodes the temporary library directory.
11266     hardcode_action=relink
11267   else
11268     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11269     hardcode_action=immediate
11270   fi
11271 else
11272   # We cannot hardcode anything, or else we can only hardcode existing
11273   # directories.
11274   hardcode_action=unsupported
11275 fi
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11277 $as_echo "$hardcode_action" >&6; }
11278
11279 if test "$hardcode_action" = relink ||
11280    test "$inherit_rpath" = yes; then
11281   # Fast installation is not supported
11282   enable_fast_install=no
11283 elif test "$shlibpath_overrides_runpath" = yes ||
11284      test "$enable_shared" = no; then
11285   # Fast installation is not necessary
11286   enable_fast_install=needless
11287 fi
11288
11289
11290
11291
11292
11293
11294   if test "x$enable_dlopen" != xyes; then
11295   enable_dlopen=unknown
11296   enable_dlopen_self=unknown
11297   enable_dlopen_self_static=unknown
11298 else
11299   lt_cv_dlopen=no
11300   lt_cv_dlopen_libs=
11301
11302   case $host_os in
11303   beos*)
11304     lt_cv_dlopen="load_add_on"
11305     lt_cv_dlopen_libs=
11306     lt_cv_dlopen_self=yes
11307     ;;
11308
11309   mingw* | pw32* | cegcc*)
11310     lt_cv_dlopen="LoadLibrary"
11311     lt_cv_dlopen_libs=
11312     ;;
11313
11314   cygwin*)
11315     lt_cv_dlopen="dlopen"
11316     lt_cv_dlopen_libs=
11317     ;;
11318
11319   darwin*)
11320   # if libdl is installed we need to link against it
11321     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11322 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11323 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11324   $as_echo_n "(cached) " >&6
11325 else
11326   ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-ldl  $LIBS"
11328 if test x$gcc_no_link = xyes; then
11329   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11330 fi
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h.  */
11333
11334 /* Override any GCC internal prototype to avoid an error.
11335    Use char because int might match the return type of a GCC
11336    builtin and then its argument prototype would still apply.  */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char dlopen ();
11341 int
11342 main ()
11343 {
11344 return dlopen ();
11345   ;
11346   return 0;
11347 }
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350   ac_cv_lib_dl_dlopen=yes
11351 else
11352   ac_cv_lib_dl_dlopen=no
11353 fi
11354 rm -f core conftest.err conftest.$ac_objext \
11355     conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11357 fi
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11359 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11360 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11361   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11362 else
11363
11364     lt_cv_dlopen="dyld"
11365     lt_cv_dlopen_libs=
11366     lt_cv_dlopen_self=yes
11367
11368 fi
11369
11370     ;;
11371
11372   *)
11373     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11374 if test "x$ac_cv_func_shl_load" = x""yes; then :
11375   lt_cv_dlopen="shl_load"
11376 else
11377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11378 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11379 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11380   $as_echo_n "(cached) " >&6
11381 else
11382   ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-ldld  $LIBS"
11384 if test x$gcc_no_link = xyes; then
11385   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11386 fi
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h.  */
11389
11390 /* Override any GCC internal prototype to avoid an error.
11391    Use char because int might match the return type of a GCC
11392    builtin and then its argument prototype would still apply.  */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char shl_load ();
11397 int
11398 main ()
11399 {
11400 return shl_load ();
11401   ;
11402   return 0;
11403 }
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406   ac_cv_lib_dld_shl_load=yes
11407 else
11408   ac_cv_lib_dld_shl_load=no
11409 fi
11410 rm -f core conftest.err conftest.$ac_objext \
11411     conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_lib_save_LIBS
11413 fi
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11415 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11416 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11417   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11418 else
11419   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11420 if test "x$ac_cv_func_dlopen" = x""yes; then :
11421   lt_cv_dlopen="dlopen"
11422 else
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11424 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11426   $as_echo_n "(cached) " >&6
11427 else
11428   ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ldl  $LIBS"
11430 if test x$gcc_no_link = xyes; then
11431   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11432 fi
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h.  */
11435
11436 /* Override any GCC internal prototype to avoid an error.
11437    Use char because int might match the return type of a GCC
11438    builtin and then its argument prototype would still apply.  */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char dlopen ();
11443 int
11444 main ()
11445 {
11446 return dlopen ();
11447   ;
11448   return 0;
11449 }
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452   ac_cv_lib_dl_dlopen=yes
11453 else
11454   ac_cv_lib_dl_dlopen=no
11455 fi
11456 rm -f core conftest.err conftest.$ac_objext \
11457     conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11459 fi
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11461 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11462 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11463   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11464 else
11465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11466 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11467 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11468   $as_echo_n "(cached) " >&6
11469 else
11470   ac_check_lib_save_LIBS=$LIBS
11471 LIBS="-lsvld  $LIBS"
11472 if test x$gcc_no_link = xyes; then
11473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11474 fi
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h.  */
11477
11478 /* Override any GCC internal prototype to avoid an error.
11479    Use char because int might match the return type of a GCC
11480    builtin and then its argument prototype would still apply.  */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char dlopen ();
11485 int
11486 main ()
11487 {
11488 return dlopen ();
11489   ;
11490   return 0;
11491 }
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494   ac_cv_lib_svld_dlopen=yes
11495 else
11496   ac_cv_lib_svld_dlopen=no
11497 fi
11498 rm -f core conftest.err conftest.$ac_objext \
11499     conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11501 fi
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11503 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11504 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11505   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11506 else
11507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11508 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11509 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11510   $as_echo_n "(cached) " >&6
11511 else
11512   ac_check_lib_save_LIBS=$LIBS
11513 LIBS="-ldld  $LIBS"
11514 if test x$gcc_no_link = xyes; then
11515   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11516 fi
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h.  */
11519
11520 /* Override any GCC internal prototype to avoid an error.
11521    Use char because int might match the return type of a GCC
11522    builtin and then its argument prototype would still apply.  */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char dld_link ();
11527 int
11528 main ()
11529 {
11530 return dld_link ();
11531   ;
11532   return 0;
11533 }
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536   ac_cv_lib_dld_dld_link=yes
11537 else
11538   ac_cv_lib_dld_dld_link=no
11539 fi
11540 rm -f core conftest.err conftest.$ac_objext \
11541     conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_lib_save_LIBS
11543 fi
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11545 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11546 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11547   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11548 fi
11549
11550
11551 fi
11552
11553
11554 fi
11555
11556
11557 fi
11558
11559
11560 fi
11561
11562
11563 fi
11564
11565     ;;
11566   esac
11567
11568   if test "x$lt_cv_dlopen" != xno; then
11569     enable_dlopen=yes
11570   else
11571     enable_dlopen=no
11572   fi
11573
11574   case $lt_cv_dlopen in
11575   dlopen)
11576     save_CPPFLAGS="$CPPFLAGS"
11577     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11578
11579     save_LDFLAGS="$LDFLAGS"
11580     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11581
11582     save_LIBS="$LIBS"
11583     LIBS="$lt_cv_dlopen_libs $LIBS"
11584
11585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11586 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11587 if test "${lt_cv_dlopen_self+set}" = set; then :
11588   $as_echo_n "(cached) " >&6
11589 else
11590           if test "$cross_compiling" = yes; then :
11591   lt_cv_dlopen_self=cross
11592 else
11593   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594   lt_status=$lt_dlunknown
11595   cat > conftest.$ac_ext <<_LT_EOF
11596 #line 11596 "configure"
11597 #include "confdefs.h"
11598
11599 #if HAVE_DLFCN_H
11600 #include <dlfcn.h>
11601 #endif
11602
11603 #include <stdio.h>
11604
11605 #ifdef RTLD_GLOBAL
11606 #  define LT_DLGLOBAL           RTLD_GLOBAL
11607 #else
11608 #  ifdef DL_GLOBAL
11609 #    define LT_DLGLOBAL         DL_GLOBAL
11610 #  else
11611 #    define LT_DLGLOBAL         0
11612 #  endif
11613 #endif
11614
11615 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11616    find out it does not work in some platform. */
11617 #ifndef LT_DLLAZY_OR_NOW
11618 #  ifdef RTLD_LAZY
11619 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11620 #  else
11621 #    ifdef DL_LAZY
11622 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11623 #    else
11624 #      ifdef RTLD_NOW
11625 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11626 #      else
11627 #        ifdef DL_NOW
11628 #          define LT_DLLAZY_OR_NOW      DL_NOW
11629 #        else
11630 #          define LT_DLLAZY_OR_NOW      0
11631 #        endif
11632 #      endif
11633 #    endif
11634 #  endif
11635 #endif
11636
11637 /* When -fvisbility=hidden is used, assume the code has been annotated
11638    correspondingly for the symbols needed.  */
11639 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 void fnord () __attribute__((visibility("default")));
11641 #endif
11642
11643 void fnord () { int i=42; }
11644 int main ()
11645 {
11646   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11647   int status = $lt_dlunknown;
11648
11649   if (self)
11650     {
11651       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11652       else
11653         {
11654           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11655           else puts (dlerror ());
11656         }
11657       /* dlclose (self); */
11658     }
11659   else
11660     puts (dlerror ());
11661
11662   return status;
11663 }
11664 _LT_EOF
11665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11666   (eval $ac_link) 2>&5
11667   ac_status=$?
11668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11670     (./conftest; exit; ) >&5 2>/dev/null
11671     lt_status=$?
11672     case x$lt_status in
11673       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11674       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11675       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11676     esac
11677   else :
11678     # compilation failed
11679     lt_cv_dlopen_self=no
11680   fi
11681 fi
11682 rm -fr conftest*
11683
11684
11685 fi
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11687 $as_echo "$lt_cv_dlopen_self" >&6; }
11688
11689     if test "x$lt_cv_dlopen_self" = xyes; then
11690       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11691       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11692 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11693 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11694   $as_echo_n "(cached) " >&6
11695 else
11696           if test "$cross_compiling" = yes; then :
11697   lt_cv_dlopen_self_static=cross
11698 else
11699   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11700   lt_status=$lt_dlunknown
11701   cat > conftest.$ac_ext <<_LT_EOF
11702 #line 11702 "configure"
11703 #include "confdefs.h"
11704
11705 #if HAVE_DLFCN_H
11706 #include <dlfcn.h>
11707 #endif
11708
11709 #include <stdio.h>
11710
11711 #ifdef RTLD_GLOBAL
11712 #  define LT_DLGLOBAL           RTLD_GLOBAL
11713 #else
11714 #  ifdef DL_GLOBAL
11715 #    define LT_DLGLOBAL         DL_GLOBAL
11716 #  else
11717 #    define LT_DLGLOBAL         0
11718 #  endif
11719 #endif
11720
11721 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11722    find out it does not work in some platform. */
11723 #ifndef LT_DLLAZY_OR_NOW
11724 #  ifdef RTLD_LAZY
11725 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11726 #  else
11727 #    ifdef DL_LAZY
11728 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11729 #    else
11730 #      ifdef RTLD_NOW
11731 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11732 #      else
11733 #        ifdef DL_NOW
11734 #          define LT_DLLAZY_OR_NOW      DL_NOW
11735 #        else
11736 #          define LT_DLLAZY_OR_NOW      0
11737 #        endif
11738 #      endif
11739 #    endif
11740 #  endif
11741 #endif
11742
11743 /* When -fvisbility=hidden is used, assume the code has been annotated
11744    correspondingly for the symbols needed.  */
11745 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11746 void fnord () __attribute__((visibility("default")));
11747 #endif
11748
11749 void fnord () { int i=42; }
11750 int main ()
11751 {
11752   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11753   int status = $lt_dlunknown;
11754
11755   if (self)
11756     {
11757       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11758       else
11759         {
11760           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11761           else puts (dlerror ());
11762         }
11763       /* dlclose (self); */
11764     }
11765   else
11766     puts (dlerror ());
11767
11768   return status;
11769 }
11770 _LT_EOF
11771   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11772   (eval $ac_link) 2>&5
11773   ac_status=$?
11774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11775   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11776     (./conftest; exit; ) >&5 2>/dev/null
11777     lt_status=$?
11778     case x$lt_status in
11779       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11780       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11781       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11782     esac
11783   else :
11784     # compilation failed
11785     lt_cv_dlopen_self_static=no
11786   fi
11787 fi
11788 rm -fr conftest*
11789
11790
11791 fi
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11793 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11794     fi
11795
11796     CPPFLAGS="$save_CPPFLAGS"
11797     LDFLAGS="$save_LDFLAGS"
11798     LIBS="$save_LIBS"
11799     ;;
11800   esac
11801
11802   case $lt_cv_dlopen_self in
11803   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11804   *) enable_dlopen_self=unknown ;;
11805   esac
11806
11807   case $lt_cv_dlopen_self_static in
11808   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11809   *) enable_dlopen_self_static=unknown ;;
11810   esac
11811 fi
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829 striplib=
11830 old_striplib=
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11832 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11833 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11834   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11835   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11837 $as_echo "yes" >&6; }
11838 else
11839 # FIXME - insert some real tests, host_os isn't really good enough
11840   case $host_os in
11841   darwin*)
11842     if test -n "$STRIP" ; then
11843       striplib="$STRIP -x"
11844       old_striplib="$STRIP -S"
11845       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11846 $as_echo "yes" >&6; }
11847     else
11848       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11850     fi
11851     ;;
11852   *)
11853     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11855     ;;
11856   esac
11857 fi
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870   # Report which library types will actually be built
11871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11872 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11874 $as_echo "$can_build_shared" >&6; }
11875
11876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11877 $as_echo_n "checking whether to build shared libraries... " >&6; }
11878   test "$can_build_shared" = "no" && enable_shared=no
11879
11880   # On AIX, shared libraries and static libraries use the same namespace, and
11881   # are all built from PIC.
11882   case $host_os in
11883   aix3*)
11884     test "$enable_shared" = yes && enable_static=no
11885     if test -n "$RANLIB"; then
11886       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11887       postinstall_cmds='$RANLIB $lib'
11888     fi
11889     ;;
11890
11891   aix[4-9]*)
11892     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11893       test "$enable_shared" = yes && enable_static=no
11894     fi
11895     ;;
11896   esac
11897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11898 $as_echo "$enable_shared" >&6; }
11899
11900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11901 $as_echo_n "checking whether to build static libraries... " >&6; }
11902   # Make sure either enable_shared or enable_static is yes.
11903   test "$enable_shared" = yes || enable_static=yes
11904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11905 $as_echo "$enable_static" >&6; }
11906
11907
11908
11909
11910 fi
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916
11917 CC="$lt_save_CC"
11918
11919       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11920     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11921     (test "X$CXX" != "Xg++"))) ; then
11922   ac_ext=cpp
11923 ac_cpp='$CXXCPP $CPPFLAGS'
11924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11928 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11929 if test -z "$CXXCPP"; then
11930   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11931   $as_echo_n "(cached) " >&6
11932 else
11933       # Double quotes because CXXCPP needs to be expanded
11934     for CXXCPP in "$CXX -E" "/lib/cpp"
11935     do
11936       ac_preproc_ok=false
11937 for ac_cxx_preproc_warn_flag in '' yes
11938 do
11939   # Use a header file that comes with gcc, so configuring glibc
11940   # with a fresh cross-compiler works.
11941   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11942   # <limits.h> exists even on freestanding compilers.
11943   # On the NeXT, cc -E runs the code through the compiler's parser,
11944   # not just through cpp. "Syntax error" is here to catch this case.
11945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h.  */
11947 #ifdef __STDC__
11948 # include <limits.h>
11949 #else
11950 # include <assert.h>
11951 #endif
11952                      Syntax error
11953 _ACEOF
11954 if ac_fn_cxx_try_cpp "$LINENO"; then :
11955
11956 else
11957   # Broken: fails on valid input.
11958 continue
11959 fi
11960 rm -f conftest.err conftest.$ac_ext
11961
11962   # OK, works on sane cases.  Now check whether nonexistent headers
11963   # can be detected and how.
11964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h.  */
11966 #include <ac_nonexistent.h>
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969   # Broken: success on invalid input.
11970 continue
11971 else
11972   # Passes both tests.
11973 ac_preproc_ok=:
11974 break
11975 fi
11976 rm -f conftest.err conftest.$ac_ext
11977
11978 done
11979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11980 rm -f conftest.err conftest.$ac_ext
11981 if $ac_preproc_ok; then :
11982   break
11983 fi
11984
11985     done
11986     ac_cv_prog_CXXCPP=$CXXCPP
11987
11988 fi
11989   CXXCPP=$ac_cv_prog_CXXCPP
11990 else
11991   ac_cv_prog_CXXCPP=$CXXCPP
11992 fi
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11994 $as_echo "$CXXCPP" >&6; }
11995 ac_preproc_ok=false
11996 for ac_cxx_preproc_warn_flag in '' yes
11997 do
11998   # Use a header file that comes with gcc, so configuring glibc
11999   # with a fresh cross-compiler works.
12000   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12001   # <limits.h> exists even on freestanding compilers.
12002   # On the NeXT, cc -E runs the code through the compiler's parser,
12003   # not just through cpp. "Syntax error" is here to catch this case.
12004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h.  */
12006 #ifdef __STDC__
12007 # include <limits.h>
12008 #else
12009 # include <assert.h>
12010 #endif
12011                      Syntax error
12012 _ACEOF
12013 if ac_fn_cxx_try_cpp "$LINENO"; then :
12014
12015 else
12016   # Broken: fails on valid input.
12017 continue
12018 fi
12019 rm -f conftest.err conftest.$ac_ext
12020
12021   # OK, works on sane cases.  Now check whether nonexistent headers
12022   # can be detected and how.
12023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h.  */
12025 #include <ac_nonexistent.h>
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028   # Broken: success on invalid input.
12029 continue
12030 else
12031   # Passes both tests.
12032 ac_preproc_ok=:
12033 break
12034 fi
12035 rm -f conftest.err conftest.$ac_ext
12036
12037 done
12038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12039 rm -f conftest.err conftest.$ac_ext
12040 if $ac_preproc_ok; then :
12041
12042 else
12043   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12045 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12046 See \`config.log' for more details." "$LINENO" 5; }
12047 fi
12048
12049 ac_ext=c
12050 ac_cpp='$CPP $CPPFLAGS'
12051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12054
12055 else
12056   _lt_caught_CXX_error=yes
12057 fi
12058
12059 ac_ext=cpp
12060 ac_cpp='$CXXCPP $CPPFLAGS'
12061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12064
12065 archive_cmds_need_lc_CXX=no
12066 allow_undefined_flag_CXX=
12067 always_export_symbols_CXX=no
12068 archive_expsym_cmds_CXX=
12069 compiler_needs_object_CXX=no
12070 export_dynamic_flag_spec_CXX=
12071 hardcode_direct_CXX=no
12072 hardcode_direct_absolute_CXX=no
12073 hardcode_libdir_flag_spec_CXX=
12074 hardcode_libdir_flag_spec_ld_CXX=
12075 hardcode_libdir_separator_CXX=
12076 hardcode_minus_L_CXX=no
12077 hardcode_shlibpath_var_CXX=unsupported
12078 hardcode_automatic_CXX=no
12079 inherit_rpath_CXX=no
12080 module_cmds_CXX=
12081 module_expsym_cmds_CXX=
12082 link_all_deplibs_CXX=unknown
12083 old_archive_cmds_CXX=$old_archive_cmds
12084 reload_flag_CXX=$reload_flag
12085 reload_cmds_CXX=$reload_cmds
12086 no_undefined_flag_CXX=
12087 whole_archive_flag_spec_CXX=
12088 enable_shared_with_static_runtimes_CXX=no
12089
12090 # Source file extension for C++ test sources.
12091 ac_ext=cpp
12092
12093 # Object file extension for compiled C++ test sources.
12094 objext=o
12095 objext_CXX=$objext
12096
12097 # No sense in running all these tests if we already determined that
12098 # the CXX compiler isn't working.  Some variables (like enable_shared)
12099 # are currently assumed to apply to all compilers on this platform,
12100 # and will be corrupted by setting them based on a non-working compiler.
12101 if test "$_lt_caught_CXX_error" != yes; then
12102   # Code to be used in simple compile tests
12103   lt_simple_compile_test_code="int some_variable = 0;"
12104
12105   # Code to be used in simple link tests
12106   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12107
12108   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12109
12110
12111
12112
12113
12114
12115 # If no C compiler was specified, use CC.
12116 LTCC=${LTCC-"$CC"}
12117
12118 # If no C compiler flags were specified, use CFLAGS.
12119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12120
12121 # Allow CC to be a program name with arguments.
12122 compiler=$CC
12123
12124
12125   # save warnings/boilerplate of simple test code
12126   ac_outfile=conftest.$ac_objext
12127 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12128 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12129 _lt_compiler_boilerplate=`cat conftest.err`
12130 $RM conftest*
12131
12132   ac_outfile=conftest.$ac_objext
12133 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12134 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12135 _lt_linker_boilerplate=`cat conftest.err`
12136 $RM -r conftest*
12137
12138
12139   # Allow CC to be a program name with arguments.
12140   lt_save_CC=$CC
12141   lt_save_LD=$LD
12142   lt_save_GCC=$GCC
12143   GCC=$GXX
12144   lt_save_with_gnu_ld=$with_gnu_ld
12145   lt_save_path_LD=$lt_cv_path_LD
12146   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12147     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12148   else
12149     $as_unset lt_cv_prog_gnu_ld
12150   fi
12151   if test -n "${lt_cv_path_LDCXX+set}"; then
12152     lt_cv_path_LD=$lt_cv_path_LDCXX
12153   else
12154     $as_unset lt_cv_path_LD
12155   fi
12156   test -z "${LDCXX+set}" || LD=$LDCXX
12157   CC=${CXX-"c++"}
12158   compiler=$CC
12159   compiler_CXX=$CC
12160   for cc_temp in $compiler""; do
12161   case $cc_temp in
12162     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12163     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12164     \-*) ;;
12165     *) break;;
12166   esac
12167 done
12168 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12169
12170
12171   if test -n "$compiler"; then
12172     # We don't want -fno-exception when compiling C++ code, so set the
12173     # no_builtin_flag separately
12174     if test "$GXX" = yes; then
12175       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12176     else
12177       lt_prog_compiler_no_builtin_flag_CXX=
12178     fi
12179
12180     if test "$GXX" = yes; then
12181       # Set up default GNU C++ configuration
12182
12183
12184
12185 # Check whether --with-gnu-ld was given.
12186 if test "${with_gnu_ld+set}" = set; then :
12187   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12188 else
12189   with_gnu_ld=no
12190 fi
12191
12192 ac_prog=ld
12193 if test "$GCC" = yes; then
12194   # Check if gcc -print-prog-name=ld gives a path.
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12196 $as_echo_n "checking for ld used by $CC... " >&6; }
12197   case $host in
12198   *-*-mingw*)
12199     # gcc leaves a trailing carriage return which upsets mingw
12200     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12201   *)
12202     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12203   esac
12204   case $ac_prog in
12205     # Accept absolute paths.
12206     [\\/]* | ?:[\\/]*)
12207       re_direlt='/[^/][^/]*/\.\./'
12208       # Canonicalize the pathname of ld
12209       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12210       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12211         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12212       done
12213       test -z "$LD" && LD="$ac_prog"
12214       ;;
12215   "")
12216     # If it fails, then pretend we aren't using GCC.
12217     ac_prog=ld
12218     ;;
12219   *)
12220     # If it is relative, then search for the first ld in PATH.
12221     with_gnu_ld=unknown
12222     ;;
12223   esac
12224 elif test "$with_gnu_ld" = yes; then
12225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12226 $as_echo_n "checking for GNU ld... " >&6; }
12227 else
12228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12229 $as_echo_n "checking for non-GNU ld... " >&6; }
12230 fi
12231 if test "${lt_cv_path_LD+set}" = set; then :
12232   $as_echo_n "(cached) " >&6
12233 else
12234   if test -z "$LD"; then
12235   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12236   for ac_dir in $PATH; do
12237     IFS="$lt_save_ifs"
12238     test -z "$ac_dir" && ac_dir=.
12239     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12240       lt_cv_path_LD="$ac_dir/$ac_prog"
12241       # Check to see if the program is GNU ld.  I'd rather use --version,
12242       # but apparently some variants of GNU ld only accept -v.
12243       # Break only if it was the GNU/non-GNU ld that we prefer.
12244       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12245       *GNU* | *'with BFD'*)
12246         test "$with_gnu_ld" != no && break
12247         ;;
12248       *)
12249         test "$with_gnu_ld" != yes && break
12250         ;;
12251       esac
12252     fi
12253   done
12254   IFS="$lt_save_ifs"
12255 else
12256   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12257 fi
12258 fi
12259
12260 LD="$lt_cv_path_LD"
12261 if test -n "$LD"; then
12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12263 $as_echo "$LD" >&6; }
12264 else
12265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12267 fi
12268 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12270 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12271 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12272   $as_echo_n "(cached) " >&6
12273 else
12274   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12275 case `$LD -v 2>&1 </dev/null` in
12276 *GNU* | *'with BFD'*)
12277   lt_cv_prog_gnu_ld=yes
12278   ;;
12279 *)
12280   lt_cv_prog_gnu_ld=no
12281   ;;
12282 esac
12283 fi
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12285 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12286 with_gnu_ld=$lt_cv_prog_gnu_ld
12287
12288
12289
12290
12291
12292
12293
12294       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12295       # archiving commands below assume that GNU ld is being used.
12296       if test "$with_gnu_ld" = yes; then
12297         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12298         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12299
12300         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12301         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12302
12303         # If archive_cmds runs LD, not CC, wlarc should be empty
12304         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12305         #     investigate it a little bit more. (MM)
12306         wlarc='${wl}'
12307
12308         # ancient GNU ld didn't support --whole-archive et. al.
12309         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12310           $GREP 'no-whole-archive' > /dev/null; then
12311           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12312         else
12313           whole_archive_flag_spec_CXX=
12314         fi
12315       else
12316         with_gnu_ld=no
12317         wlarc=
12318
12319         # A generic and very simple default shared library creation
12320         # command for GNU C++ for the case where it uses the native
12321         # linker, instead of GNU ld.  If possible, this setting should
12322         # overridden to take advantage of the native linker features on
12323         # the platform it is being used on.
12324         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12325       fi
12326
12327       # Commands to make compiler produce verbose output that lists
12328       # what "hidden" libraries, object files and flags are used when
12329       # linking a shared library.
12330       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12331
12332     else
12333       GXX=no
12334       with_gnu_ld=no
12335       wlarc=
12336     fi
12337
12338     # PORTME: fill in a description of your system's C++ link characteristics
12339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12340 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12341     ld_shlibs_CXX=yes
12342     case $host_os in
12343       aix3*)
12344         # FIXME: insert proper C++ library support
12345         ld_shlibs_CXX=no
12346         ;;
12347       aix[4-9]*)
12348         if test "$host_cpu" = ia64; then
12349           # On IA64, the linker does run time linking by default, so we don't
12350           # have to do anything special.
12351           aix_use_runtimelinking=no
12352           exp_sym_flag='-Bexport'
12353           no_entry_flag=""
12354         else
12355           aix_use_runtimelinking=no
12356
12357           # Test if we are trying to use run time linking or normal
12358           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12359           # need to do runtime linking.
12360           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12361             for ld_flag in $LDFLAGS; do
12362               case $ld_flag in
12363               *-brtl*)
12364                 aix_use_runtimelinking=yes
12365                 break
12366                 ;;
12367               esac
12368             done
12369             ;;
12370           esac
12371
12372           exp_sym_flag='-bexport'
12373           no_entry_flag='-bnoentry'
12374         fi
12375
12376         # When large executables or shared objects are built, AIX ld can
12377         # have problems creating the table of contents.  If linking a library
12378         # or program results in "error TOC overflow" add -mminimal-toc to
12379         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12380         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12381
12382         archive_cmds_CXX=''
12383         hardcode_direct_CXX=yes
12384         hardcode_direct_absolute_CXX=yes
12385         hardcode_libdir_separator_CXX=':'
12386         link_all_deplibs_CXX=yes
12387         file_list_spec_CXX='${wl}-f,'
12388
12389         if test "$GXX" = yes; then
12390           case $host_os in aix4.[012]|aix4.[012].*)
12391           # We only want to do this on AIX 4.2 and lower, the check
12392           # below for broken collect2 doesn't work under 4.3+
12393           collect2name=`${CC} -print-prog-name=collect2`
12394           if test -f "$collect2name" &&
12395              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12396           then
12397             # We have reworked collect2
12398             :
12399           else
12400             # We have old collect2
12401             hardcode_direct_CXX=unsupported
12402             # It fails to find uninstalled libraries when the uninstalled
12403             # path is not listed in the libpath.  Setting hardcode_minus_L
12404             # to unsupported forces relinking
12405             hardcode_minus_L_CXX=yes
12406             hardcode_libdir_flag_spec_CXX='-L$libdir'
12407             hardcode_libdir_separator_CXX=
12408           fi
12409           esac
12410           shared_flag='-shared'
12411           if test "$aix_use_runtimelinking" = yes; then
12412             shared_flag="$shared_flag "'${wl}-G'
12413           fi
12414         else
12415           # not using gcc
12416           if test "$host_cpu" = ia64; then
12417           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12418           # chokes on -Wl,-G. The following line is correct:
12419           shared_flag='-G'
12420           else
12421             if test "$aix_use_runtimelinking" = yes; then
12422               shared_flag='${wl}-G'
12423             else
12424               shared_flag='${wl}-bM:SRE'
12425             fi
12426           fi
12427         fi
12428
12429         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12430         # It seems that -bexpall does not export symbols beginning with
12431         # underscore (_), so it is better to generate a list of symbols to
12432         # export.
12433         always_export_symbols_CXX=yes
12434         if test "$aix_use_runtimelinking" = yes; then
12435           # Warning - without using the other runtime loading flags (-brtl),
12436           # -berok will link without error, but may produce a broken library.
12437           allow_undefined_flag_CXX='-berok'
12438           # Determine the default libpath from the value encoded in an empty
12439           # executable.
12440           if test x$gcc_no_link = xyes; then
12441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12442 fi
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h.  */
12445
12446 int
12447 main ()
12448 {
12449
12450   ;
12451   return 0;
12452 }
12453 _ACEOF
12454 if ac_fn_cxx_try_link "$LINENO"; then :
12455
12456 lt_aix_libpath_sed='
12457     /Import File Strings/,/^$/ {
12458         /^0/ {
12459             s/^0  *\(.*\)$/\1/
12460             p
12461         }
12462     }'
12463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12464 # Check for a 64-bit object if we didn't find anything.
12465 if test -z "$aix_libpath"; then
12466   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 fi
12468 fi
12469 rm -f core conftest.err conftest.$ac_objext \
12470     conftest$ac_exeext conftest.$ac_ext
12471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12472
12473           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12474
12475           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"
12476         else
12477           if test "$host_cpu" = ia64; then
12478             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12479             allow_undefined_flag_CXX="-z nodefs"
12480             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"
12481           else
12482             # Determine the default libpath from the value encoded in an
12483             # empty executable.
12484             if test x$gcc_no_link = xyes; then
12485   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12486 fi
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h.  */
12489
12490 int
12491 main ()
12492 {
12493
12494   ;
12495   return 0;
12496 }
12497 _ACEOF
12498 if ac_fn_cxx_try_link "$LINENO"; then :
12499
12500 lt_aix_libpath_sed='
12501     /Import File Strings/,/^$/ {
12502         /^0/ {
12503             s/^0  *\(.*\)$/\1/
12504             p
12505         }
12506     }'
12507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12508 # Check for a 64-bit object if we didn't find anything.
12509 if test -z "$aix_libpath"; then
12510   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 fi
12512 fi
12513 rm -f core conftest.err conftest.$ac_objext \
12514     conftest$ac_exeext conftest.$ac_ext
12515 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12516
12517             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12518             # Warning - without using the other run time loading flags,
12519             # -berok will link without error, but may produce a broken library.
12520             no_undefined_flag_CXX=' ${wl}-bernotok'
12521             allow_undefined_flag_CXX=' ${wl}-berok'
12522             if test "$with_gnu_ld" = yes; then
12523               # We only use this code for GNU lds that support --whole-archive.
12524               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12525             else
12526               # Exported symbols can be pulled into shared objects from archives
12527               whole_archive_flag_spec_CXX='$convenience'
12528             fi
12529             archive_cmds_need_lc_CXX=yes
12530             # This is similar to how AIX traditionally builds its shared
12531             # libraries.
12532             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'
12533           fi
12534         fi
12535         ;;
12536
12537       beos*)
12538         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12539           allow_undefined_flag_CXX=unsupported
12540           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12541           # support --undefined.  This deserves some investigation.  FIXME
12542           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12543         else
12544           ld_shlibs_CXX=no
12545         fi
12546         ;;
12547
12548       chorus*)
12549         case $cc_basename in
12550           *)
12551           # FIXME: insert proper C++ library support
12552           ld_shlibs_CXX=no
12553           ;;
12554         esac
12555         ;;
12556
12557       cygwin* | mingw* | pw32* | cegcc*)
12558         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12559         # as there is no search path for DLLs.
12560         hardcode_libdir_flag_spec_CXX='-L$libdir'
12561         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12562         allow_undefined_flag_CXX=unsupported
12563         always_export_symbols_CXX=no
12564         enable_shared_with_static_runtimes_CXX=yes
12565
12566         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12567           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'
12568           # If the export-symbols file already is a .def file (1st line
12569           # is EXPORTS), use it as is; otherwise, prepend...
12570           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12571             cp $export_symbols $output_objdir/$soname.def;
12572           else
12573             echo EXPORTS > $output_objdir/$soname.def;
12574             cat $export_symbols >> $output_objdir/$soname.def;
12575           fi~
12576           $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'
12577         else
12578           ld_shlibs_CXX=no
12579         fi
12580         ;;
12581       darwin* | rhapsody*)
12582
12583
12584   archive_cmds_need_lc_CXX=no
12585   hardcode_direct_CXX=no
12586   hardcode_automatic_CXX=yes
12587   hardcode_shlibpath_var_CXX=unsupported
12588   if test "$lt_cv_ld_force_load" = "yes"; then
12589     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\"`'
12590   else
12591     whole_archive_flag_spec_CXX=''
12592   fi
12593   link_all_deplibs_CXX=yes
12594   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12595   case $cc_basename in
12596      ifort*) _lt_dar_can_shared=yes ;;
12597      *) _lt_dar_can_shared=$GCC ;;
12598   esac
12599   if test "$_lt_dar_can_shared" = "yes"; then
12600     output_verbose_link_cmd=func_echo_all
12601     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}"
12602     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12603     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}"
12604     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}"
12605        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12606       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}"
12607       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}"
12608     fi
12609
12610   else
12611   ld_shlibs_CXX=no
12612   fi
12613
12614         ;;
12615
12616       dgux*)
12617         case $cc_basename in
12618           ec++*)
12619             # FIXME: insert proper C++ library support
12620             ld_shlibs_CXX=no
12621             ;;
12622           ghcx*)
12623             # Green Hills C++ Compiler
12624             # FIXME: insert proper C++ library support
12625             ld_shlibs_CXX=no
12626             ;;
12627           *)
12628             # FIXME: insert proper C++ library support
12629             ld_shlibs_CXX=no
12630             ;;
12631         esac
12632         ;;
12633
12634       freebsd2.*)
12635         # C++ shared libraries reported to be fairly broken before
12636         # switch to ELF
12637         ld_shlibs_CXX=no
12638         ;;
12639
12640       freebsd-elf*)
12641         archive_cmds_need_lc_CXX=no
12642         ;;
12643
12644       freebsd* | dragonfly*)
12645         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12646         # conventions
12647         ld_shlibs_CXX=yes
12648         ;;
12649
12650       gnu*)
12651         ;;
12652
12653       haiku*)
12654         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12655         link_all_deplibs_CXX=yes
12656         ;;
12657
12658       hpux9*)
12659         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12660         hardcode_libdir_separator_CXX=:
12661         export_dynamic_flag_spec_CXX='${wl}-E'
12662         hardcode_direct_CXX=yes
12663         hardcode_minus_L_CXX=yes # Not in the search PATH,
12664                                              # but as the default
12665                                              # location of the library.
12666
12667         case $cc_basename in
12668           CC*)
12669             # FIXME: insert proper C++ library support
12670             ld_shlibs_CXX=no
12671             ;;
12672           aCC*)
12673             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'
12674             # Commands to make compiler produce verbose output that lists
12675             # what "hidden" libraries, object files and flags are used when
12676             # linking a shared library.
12677             #
12678             # There doesn't appear to be a way to prevent this compiler from
12679             # explicitly linking system object files so we need to strip them
12680             # from the output so that they don't get included in the library
12681             # dependencies.
12682             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"'
12683             ;;
12684           *)
12685             if test "$GXX" = yes; then
12686               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'
12687             else
12688               # FIXME: insert proper C++ library support
12689               ld_shlibs_CXX=no
12690             fi
12691             ;;
12692         esac
12693         ;;
12694
12695       hpux10*|hpux11*)
12696         if test $with_gnu_ld = no; then
12697           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12698           hardcode_libdir_separator_CXX=:
12699
12700           case $host_cpu in
12701             hppa*64*|ia64*)
12702               ;;
12703             *)
12704               export_dynamic_flag_spec_CXX='${wl}-E'
12705               ;;
12706           esac
12707         fi
12708         case $host_cpu in
12709           hppa*64*|ia64*)
12710             hardcode_direct_CXX=no
12711             hardcode_shlibpath_var_CXX=no
12712             ;;
12713           *)
12714             hardcode_direct_CXX=yes
12715             hardcode_direct_absolute_CXX=yes
12716             hardcode_minus_L_CXX=yes # Not in the search PATH,
12717                                                  # but as the default
12718                                                  # location of the library.
12719             ;;
12720         esac
12721
12722         case $cc_basename in
12723           CC*)
12724             # FIXME: insert proper C++ library support
12725             ld_shlibs_CXX=no
12726             ;;
12727           aCC*)
12728             case $host_cpu in
12729               hppa*64*)
12730                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12731                 ;;
12732               ia64*)
12733                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12734                 ;;
12735               *)
12736                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12737                 ;;
12738             esac
12739             # Commands to make compiler produce verbose output that lists
12740             # what "hidden" libraries, object files and flags are used when
12741             # linking a shared library.
12742             #
12743             # There doesn't appear to be a way to prevent this compiler from
12744             # explicitly linking system object files so we need to strip them
12745             # from the output so that they don't get included in the library
12746             # dependencies.
12747             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"'
12748             ;;
12749           *)
12750             if test "$GXX" = yes; then
12751               if test $with_gnu_ld = no; then
12752                 case $host_cpu in
12753                   hppa*64*)
12754                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12755                     ;;
12756                   ia64*)
12757                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12758                     ;;
12759                   *)
12760                     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'
12761                     ;;
12762                 esac
12763               fi
12764             else
12765               # FIXME: insert proper C++ library support
12766               ld_shlibs_CXX=no
12767             fi
12768             ;;
12769         esac
12770         ;;
12771
12772       interix[3-9]*)
12773         hardcode_direct_CXX=no
12774         hardcode_shlibpath_var_CXX=no
12775         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12776         export_dynamic_flag_spec_CXX='${wl}-E'
12777         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12778         # Instead, shared libraries are loaded at an image base (0x10000000 by
12779         # default) and relocated if they conflict, which is a slow very memory
12780         # consuming and fragmenting process.  To avoid this, we pick a random,
12781         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12782         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12783         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'
12784         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'
12785         ;;
12786       irix5* | irix6*)
12787         case $cc_basename in
12788           CC*)
12789             # SGI C++
12790             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'
12791
12792             # Archives containing C++ object files must be created using
12793             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12794             # necessary to make sure instantiated templates are included
12795             # in the archive.
12796             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12797             ;;
12798           *)
12799             if test "$GXX" = yes; then
12800               if test "$with_gnu_ld" = no; then
12801                 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'
12802               else
12803                 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'
12804               fi
12805             fi
12806             link_all_deplibs_CXX=yes
12807             ;;
12808         esac
12809         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12810         hardcode_libdir_separator_CXX=:
12811         inherit_rpath_CXX=yes
12812         ;;
12813
12814       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12815         case $cc_basename in
12816           KCC*)
12817             # Kuck and Associates, Inc. (KAI) C++ Compiler
12818
12819             # KCC will only create a shared library if the output file
12820             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12821             # to its proper name (with version) after linking.
12822             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'
12823             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'
12824             # Commands to make compiler produce verbose output that lists
12825             # what "hidden" libraries, object files and flags are used when
12826             # linking a shared library.
12827             #
12828             # There doesn't appear to be a way to prevent this compiler from
12829             # explicitly linking system object files so we need to strip them
12830             # from the output so that they don't get included in the library
12831             # dependencies.
12832             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"'
12833
12834             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12835             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12836
12837             # Archives containing C++ object files must be created using
12838             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12839             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12840             ;;
12841           icpc* | ecpc* )
12842             # Intel C++
12843             with_gnu_ld=yes
12844             # version 8.0 and above of icpc choke on multiply defined symbols
12845             # if we add $predep_objects and $postdep_objects, however 7.1 and
12846             # earlier do not add the objects themselves.
12847             case `$CC -V 2>&1` in
12848               *"Version 7."*)
12849                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12850                 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'
12851                 ;;
12852               *)  # Version 8.0 or newer
12853                 tmp_idyn=
12854                 case $host_cpu in
12855                   ia64*) tmp_idyn=' -i_dynamic';;
12856                 esac
12857                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12858                 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'
12859                 ;;
12860             esac
12861             archive_cmds_need_lc_CXX=no
12862             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12863             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12864             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12865             ;;
12866           pgCC* | pgcpp*)
12867             # Portland Group C++ compiler
12868             case `$CC -V` in
12869             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12870               prelink_cmds_CXX='tpldir=Template.dir~
12871                 rm -rf $tpldir~
12872                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12873                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12874               old_archive_cmds_CXX='tpldir=Template.dir~
12875                 rm -rf $tpldir~
12876                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12877                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12878                 $RANLIB $oldlib'
12879               archive_cmds_CXX='tpldir=Template.dir~
12880                 rm -rf $tpldir~
12881                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12882                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12883               archive_expsym_cmds_CXX='tpldir=Template.dir~
12884                 rm -rf $tpldir~
12885                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12886                 $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'
12887               ;;
12888             *) # Version 6 and above use weak symbols
12889               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12890               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'
12891               ;;
12892             esac
12893
12894             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12895             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12896             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'
12897             ;;
12898           cxx*)
12899             # Compaq C++
12900             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12901             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'
12902
12903             runpath_var=LD_RUN_PATH
12904             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12905             hardcode_libdir_separator_CXX=:
12906
12907             # Commands to make compiler produce verbose output that lists
12908             # what "hidden" libraries, object files and flags are used when
12909             # linking a shared library.
12910             #
12911             # There doesn't appear to be a way to prevent this compiler from
12912             # explicitly linking system object files so we need to strip them
12913             # from the output so that they don't get included in the library
12914             # dependencies.
12915             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'
12916             ;;
12917           xl* | mpixl* | bgxl*)
12918             # IBM XL 8.0 on PPC, with GNU ld
12919             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12920             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12921             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12922             if test "x$supports_anon_versioning" = xyes; then
12923               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12924                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12925                 echo "local: *; };" >> $output_objdir/$libname.ver~
12926                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12927             fi
12928             ;;
12929           *)
12930             case `$CC -V 2>&1 | sed 5q` in
12931             *Sun\ C*)
12932               # Sun C++ 5.9
12933               no_undefined_flag_CXX=' -zdefs'
12934               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12935               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'
12936               hardcode_libdir_flag_spec_CXX='-R$libdir'
12937               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'
12938               compiler_needs_object_CXX=yes
12939
12940               # Not sure whether something based on
12941               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12942               # would be better.
12943               output_verbose_link_cmd='func_echo_all'
12944
12945               # Archives containing C++ object files must be created using
12946               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12947               # necessary to make sure instantiated templates are included
12948               # in the archive.
12949               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12950               ;;
12951             esac
12952             ;;
12953         esac
12954         ;;
12955
12956       lynxos*)
12957         # FIXME: insert proper C++ library support
12958         ld_shlibs_CXX=no
12959         ;;
12960
12961       m88k*)
12962         # FIXME: insert proper C++ library support
12963         ld_shlibs_CXX=no
12964         ;;
12965
12966       mvs*)
12967         case $cc_basename in
12968           cxx*)
12969             # FIXME: insert proper C++ library support
12970             ld_shlibs_CXX=no
12971             ;;
12972           *)
12973             # FIXME: insert proper C++ library support
12974             ld_shlibs_CXX=no
12975             ;;
12976         esac
12977         ;;
12978
12979       netbsd*)
12980         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12981           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12982           wlarc=
12983           hardcode_libdir_flag_spec_CXX='-R$libdir'
12984           hardcode_direct_CXX=yes
12985           hardcode_shlibpath_var_CXX=no
12986         fi
12987         # Workaround some broken pre-1.5 toolchains
12988         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12989         ;;
12990
12991       *nto* | *qnx*)
12992         ld_shlibs_CXX=yes
12993         ;;
12994
12995       openbsd2*)
12996         # C++ shared libraries are fairly broken
12997         ld_shlibs_CXX=no
12998         ;;
12999
13000       openbsd*)
13001         if test -f /usr/libexec/ld.so; then
13002           hardcode_direct_CXX=yes
13003           hardcode_shlibpath_var_CXX=no
13004           hardcode_direct_absolute_CXX=yes
13005           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13006           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13007           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13008             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13009             export_dynamic_flag_spec_CXX='${wl}-E'
13010             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13011           fi
13012           output_verbose_link_cmd=func_echo_all
13013         else
13014           ld_shlibs_CXX=no
13015         fi
13016         ;;
13017
13018       osf3* | osf4* | osf5*)
13019         case $cc_basename in
13020           KCC*)
13021             # Kuck and Associates, Inc. (KAI) C++ Compiler
13022
13023             # KCC will only create a shared library if the output file
13024             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13025             # to its proper name (with version) after linking.
13026             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'
13027
13028             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13029             hardcode_libdir_separator_CXX=:
13030
13031             # Archives containing C++ object files must be created using
13032             # the KAI C++ compiler.
13033             case $host in
13034               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13035               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13036             esac
13037             ;;
13038           RCC*)
13039             # Rational C++ 2.4.1
13040             # FIXME: insert proper C++ library support
13041             ld_shlibs_CXX=no
13042             ;;
13043           cxx*)
13044             case $host in
13045               osf3*)
13046                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13047                 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'
13048                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13049                 ;;
13050               *)
13051                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13052                 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'
13053                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13054                   echo "-hidden">> $lib.exp~
13055                   $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~
13056                   $RM $lib.exp'
13057                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13058                 ;;
13059             esac
13060
13061             hardcode_libdir_separator_CXX=:
13062
13063             # Commands to make compiler produce verbose output that lists
13064             # what "hidden" libraries, object files and flags are used when
13065             # linking a shared library.
13066             #
13067             # There doesn't appear to be a way to prevent this compiler from
13068             # explicitly linking system object files so we need to strip them
13069             # from the output so that they don't get included in the library
13070             # dependencies.
13071             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"'
13072             ;;
13073           *)
13074             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13075               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13076               case $host in
13077                 osf3*)
13078                   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'
13079                   ;;
13080                 *)
13081                   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'
13082                   ;;
13083               esac
13084
13085               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13086               hardcode_libdir_separator_CXX=:
13087
13088               # Commands to make compiler produce verbose output that lists
13089               # what "hidden" libraries, object files and flags are used when
13090               # linking a shared library.
13091               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13092
13093             else
13094               # FIXME: insert proper C++ library support
13095               ld_shlibs_CXX=no
13096             fi
13097             ;;
13098         esac
13099         ;;
13100
13101       psos*)
13102         # FIXME: insert proper C++ library support
13103         ld_shlibs_CXX=no
13104         ;;
13105
13106       sunos4*)
13107         case $cc_basename in
13108           CC*)
13109             # Sun C++ 4.x
13110             # FIXME: insert proper C++ library support
13111             ld_shlibs_CXX=no
13112             ;;
13113           lcc*)
13114             # Lucid
13115             # FIXME: insert proper C++ library support
13116             ld_shlibs_CXX=no
13117             ;;
13118           *)
13119             # FIXME: insert proper C++ library support
13120             ld_shlibs_CXX=no
13121             ;;
13122         esac
13123         ;;
13124
13125       solaris*)
13126         case $cc_basename in
13127           CC*)
13128             # Sun C++ 4.2, 5.x and Centerline C++
13129             archive_cmds_need_lc_CXX=yes
13130             no_undefined_flag_CXX=' -zdefs'
13131             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13133               $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'
13134
13135             hardcode_libdir_flag_spec_CXX='-R$libdir'
13136             hardcode_shlibpath_var_CXX=no
13137             case $host_os in
13138               solaris2.[0-5] | solaris2.[0-5].*) ;;
13139               *)
13140                 # The compiler driver will combine and reorder linker options,
13141                 # but understands `-z linker_flag'.
13142                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13143                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13144                 ;;
13145             esac
13146             link_all_deplibs_CXX=yes
13147
13148             output_verbose_link_cmd='func_echo_all'
13149
13150             # Archives containing C++ object files must be created using
13151             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13152             # necessary to make sure instantiated templates are included
13153             # in the archive.
13154             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13155             ;;
13156           gcx*)
13157             # Green Hills C++ Compiler
13158             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13159
13160             # The C++ compiler must be used to create the archive.
13161             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13162             ;;
13163           *)
13164             # GNU C++ compiler with Solaris linker
13165             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13166               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13167               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13168                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13169                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13170                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13171
13172                 # Commands to make compiler produce verbose output that lists
13173                 # what "hidden" libraries, object files and flags are used when
13174                 # linking a shared library.
13175                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13176               else
13177                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13178                 # platform.
13179                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13180                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13181                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13182
13183                 # Commands to make compiler produce verbose output that lists
13184                 # what "hidden" libraries, object files and flags are used when
13185                 # linking a shared library.
13186                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13187               fi
13188
13189               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13190               case $host_os in
13191                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13192                 *)
13193                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13194                   ;;
13195               esac
13196             fi
13197             ;;
13198         esac
13199         ;;
13200
13201     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13202       no_undefined_flag_CXX='${wl}-z,text'
13203       archive_cmds_need_lc_CXX=no
13204       hardcode_shlibpath_var_CXX=no
13205       runpath_var='LD_RUN_PATH'
13206
13207       case $cc_basename in
13208         CC*)
13209           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13210           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211           ;;
13212         *)
13213           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215           ;;
13216       esac
13217       ;;
13218
13219       sysv5* | sco3.2v5* | sco5v6*)
13220         # Note: We can NOT use -z defs as we might desire, because we do not
13221         # link with -lc, and that would cause any symbols used from libc to
13222         # always be unresolved, which means just about no library would
13223         # ever link correctly.  If we're not using GNU ld we use -z text
13224         # though, which does catch some bad symbols but isn't as heavy-handed
13225         # as -z defs.
13226         no_undefined_flag_CXX='${wl}-z,text'
13227         allow_undefined_flag_CXX='${wl}-z,nodefs'
13228         archive_cmds_need_lc_CXX=no
13229         hardcode_shlibpath_var_CXX=no
13230         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13231         hardcode_libdir_separator_CXX=':'
13232         link_all_deplibs_CXX=yes
13233         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13234         runpath_var='LD_RUN_PATH'
13235
13236         case $cc_basename in
13237           CC*)
13238             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13241               '"$old_archive_cmds_CXX"
13242             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13243               '"$reload_cmds_CXX"
13244             ;;
13245           *)
13246             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13247             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248             ;;
13249         esac
13250       ;;
13251
13252       tandem*)
13253         case $cc_basename in
13254           NCC*)
13255             # NonStop-UX NCC 3.20
13256             # FIXME: insert proper C++ library support
13257             ld_shlibs_CXX=no
13258             ;;
13259           *)
13260             # FIXME: insert proper C++ library support
13261             ld_shlibs_CXX=no
13262             ;;
13263         esac
13264         ;;
13265
13266       vxworks*)
13267         # FIXME: insert proper C++ library support
13268         ld_shlibs_CXX=no
13269         ;;
13270
13271       *)
13272         # FIXME: insert proper C++ library support
13273         ld_shlibs_CXX=no
13274         ;;
13275     esac
13276
13277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13278 $as_echo "$ld_shlibs_CXX" >&6; }
13279     test "$ld_shlibs_CXX" = no && can_build_shared=no
13280
13281     GCC_CXX="$GXX"
13282     LD_CXX="$LD"
13283
13284     ## CAVEAT EMPTOR:
13285     ## There is no encapsulation within the following macros, do not change
13286     ## the running order or otherwise move them around unless you know exactly
13287     ## what you are doing...
13288     # Dependencies to place before and after the object being linked:
13289 predep_objects_CXX=
13290 postdep_objects_CXX=
13291 predeps_CXX=
13292 postdeps_CXX=
13293 compiler_lib_search_path_CXX=
13294
13295 cat > conftest.$ac_ext <<_LT_EOF
13296 class Foo
13297 {
13298 public:
13299   Foo (void) { a = 0; }
13300 private:
13301   int a;
13302 };
13303 _LT_EOF
13304
13305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13306   (eval $ac_compile) 2>&5
13307   ac_status=$?
13308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13309   test $ac_status = 0; }; then
13310   # Parse the compiler output and extract the necessary
13311   # objects, libraries and library flags.
13312
13313   # Sentinel used to keep track of whether or not we are before
13314   # the conftest object file.
13315   pre_test_object_deps_done=no
13316
13317   for p in `eval "$output_verbose_link_cmd"`; do
13318     case $p in
13319
13320     -L* | -R* | -l*)
13321        # Some compilers place space between "-{L,R}" and the path.
13322        # Remove the space.
13323        if test $p = "-L" ||
13324           test $p = "-R"; then
13325          prev=$p
13326          continue
13327        else
13328          prev=
13329        fi
13330
13331        if test "$pre_test_object_deps_done" = no; then
13332          case $p in
13333          -L* | -R*)
13334            # Internal compiler library paths should come after those
13335            # provided the user.  The postdeps already come after the
13336            # user supplied libs so there is no need to process them.
13337            if test -z "$compiler_lib_search_path_CXX"; then
13338              compiler_lib_search_path_CXX="${prev}${p}"
13339            else
13340              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13341            fi
13342            ;;
13343          # The "-l" case would never come before the object being
13344          # linked, so don't bother handling this case.
13345          esac
13346        else
13347          if test -z "$postdeps_CXX"; then
13348            postdeps_CXX="${prev}${p}"
13349          else
13350            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13351          fi
13352        fi
13353        ;;
13354
13355     *.$objext)
13356        # This assumes that the test object file only shows up
13357        # once in the compiler output.
13358        if test "$p" = "conftest.$objext"; then
13359          pre_test_object_deps_done=yes
13360          continue
13361        fi
13362
13363        if test "$pre_test_object_deps_done" = no; then
13364          if test -z "$predep_objects_CXX"; then
13365            predep_objects_CXX="$p"
13366          else
13367            predep_objects_CXX="$predep_objects_CXX $p"
13368          fi
13369        else
13370          if test -z "$postdep_objects_CXX"; then
13371            postdep_objects_CXX="$p"
13372          else
13373            postdep_objects_CXX="$postdep_objects_CXX $p"
13374          fi
13375        fi
13376        ;;
13377
13378     *) ;; # Ignore the rest.
13379
13380     esac
13381   done
13382
13383   # Clean up.
13384   rm -f a.out a.exe
13385 else
13386   echo "libtool.m4: error: problem compiling CXX test program"
13387 fi
13388
13389 $RM -f confest.$objext
13390
13391 # PORTME: override above test on systems where it is broken
13392 case $host_os in
13393 interix[3-9]*)
13394   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13395   # hack all around it, let's just trust "g++" to DTRT.
13396   predep_objects_CXX=
13397   postdep_objects_CXX=
13398   postdeps_CXX=
13399   ;;
13400
13401 linux*)
13402   case `$CC -V 2>&1 | sed 5q` in
13403   *Sun\ C*)
13404     # Sun C++ 5.9
13405
13406     # The more standards-conforming stlport4 library is
13407     # incompatible with the Cstd library. Avoid specifying
13408     # it if it's in CXXFLAGS. Ignore libCrun as
13409     # -library=stlport4 depends on it.
13410     case " $CXX $CXXFLAGS " in
13411     *" -library=stlport4 "*)
13412       solaris_use_stlport4=yes
13413       ;;
13414     esac
13415
13416     if test "$solaris_use_stlport4" != yes; then
13417       postdeps_CXX='-library=Cstd -library=Crun'
13418     fi
13419     ;;
13420   esac
13421   ;;
13422
13423 solaris*)
13424   case $cc_basename in
13425   CC*)
13426     # The more standards-conforming stlport4 library is
13427     # incompatible with the Cstd library. Avoid specifying
13428     # it if it's in CXXFLAGS. Ignore libCrun as
13429     # -library=stlport4 depends on it.
13430     case " $CXX $CXXFLAGS " in
13431     *" -library=stlport4 "*)
13432       solaris_use_stlport4=yes
13433       ;;
13434     esac
13435
13436     # Adding this requires a known-good setup of shared libraries for
13437     # Sun compiler versions before 5.6, else PIC objects from an old
13438     # archive will be linked into the output, leading to subtle bugs.
13439     if test "$solaris_use_stlport4" != yes; then
13440       postdeps_CXX='-library=Cstd -library=Crun'
13441     fi
13442     ;;
13443   esac
13444   ;;
13445 esac
13446
13447
13448 case " $postdeps_CXX " in
13449 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13450 esac
13451  compiler_lib_search_dirs_CXX=
13452 if test -n "${compiler_lib_search_path_CXX}"; then
13453  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13454 fi
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486     lt_prog_compiler_wl_CXX=
13487 lt_prog_compiler_pic_CXX=
13488 lt_prog_compiler_static_CXX=
13489
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13491 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13492
13493   # C++ specific cases for pic, static, wl, etc.
13494   if test "$GXX" = yes; then
13495     lt_prog_compiler_wl_CXX='-Wl,'
13496     lt_prog_compiler_static_CXX='-static'
13497
13498     case $host_os in
13499     aix*)
13500       # All AIX code is PIC.
13501       if test "$host_cpu" = ia64; then
13502         # AIX 5 now supports IA64 processor
13503         lt_prog_compiler_static_CXX='-Bstatic'
13504       fi
13505       lt_prog_compiler_pic_CXX='-fPIC'
13506       ;;
13507
13508     amigaos*)
13509       case $host_cpu in
13510       powerpc)
13511             # see comment about AmigaOS4 .so support
13512             lt_prog_compiler_pic_CXX='-fPIC'
13513         ;;
13514       m68k)
13515             # FIXME: we need at least 68020 code to build shared libraries, but
13516             # adding the `-m68020' flag to GCC prevents building anything better,
13517             # like `-m68040'.
13518             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13519         ;;
13520       esac
13521       ;;
13522
13523     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13524       # PIC is the default for these OSes.
13525       ;;
13526     mingw* | cygwin* | os2* | pw32* | cegcc*)
13527       # This hack is so that the source file can tell whether it is being
13528       # built for inclusion in a dll (and should export symbols for example).
13529       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13530       # (--disable-auto-import) libraries
13531       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13532       ;;
13533     darwin* | rhapsody*)
13534       # PIC is the default on this platform
13535       # Common symbols not allowed in MH_DYLIB files
13536       lt_prog_compiler_pic_CXX='-fno-common'
13537       ;;
13538     *djgpp*)
13539       # DJGPP does not support shared libraries at all
13540       lt_prog_compiler_pic_CXX=
13541       ;;
13542     haiku*)
13543       # PIC is the default for Haiku.
13544       # The "-static" flag exists, but is broken.
13545       lt_prog_compiler_static_CXX=
13546       ;;
13547     interix[3-9]*)
13548       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13549       # Instead, we relocate shared libraries at runtime.
13550       ;;
13551     sysv4*MP*)
13552       if test -d /usr/nec; then
13553         lt_prog_compiler_pic_CXX=-Kconform_pic
13554       fi
13555       ;;
13556     hpux*)
13557       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13558       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13559       # sets the default TLS model and affects inlining.
13560       case $host_cpu in
13561       hppa*64*)
13562         ;;
13563       *)
13564         lt_prog_compiler_pic_CXX='-fPIC'
13565         ;;
13566       esac
13567       ;;
13568     *qnx* | *nto*)
13569       # QNX uses GNU C++, but need to define -shared option too, otherwise
13570       # it will coredump.
13571       lt_prog_compiler_pic_CXX='-fPIC -shared'
13572       ;;
13573     *)
13574       lt_prog_compiler_pic_CXX='-fPIC'
13575       ;;
13576     esac
13577   else
13578     case $host_os in
13579       aix[4-9]*)
13580         # All AIX code is PIC.
13581         if test "$host_cpu" = ia64; then
13582           # AIX 5 now supports IA64 processor
13583           lt_prog_compiler_static_CXX='-Bstatic'
13584         else
13585           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13586         fi
13587         ;;
13588       chorus*)
13589         case $cc_basename in
13590         cxch68*)
13591           # Green Hills C++ Compiler
13592           # _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"
13593           ;;
13594         esac
13595         ;;
13596       dgux*)
13597         case $cc_basename in
13598           ec++*)
13599             lt_prog_compiler_pic_CXX='-KPIC'
13600             ;;
13601           ghcx*)
13602             # Green Hills C++ Compiler
13603             lt_prog_compiler_pic_CXX='-pic'
13604             ;;
13605           *)
13606             ;;
13607         esac
13608         ;;
13609       freebsd* | dragonfly*)
13610         # FreeBSD uses GNU C++
13611         ;;
13612       hpux9* | hpux10* | hpux11*)
13613         case $cc_basename in
13614           CC*)
13615             lt_prog_compiler_wl_CXX='-Wl,'
13616             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13617             if test "$host_cpu" != ia64; then
13618               lt_prog_compiler_pic_CXX='+Z'
13619             fi
13620             ;;
13621           aCC*)
13622             lt_prog_compiler_wl_CXX='-Wl,'
13623             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13624             case $host_cpu in
13625             hppa*64*|ia64*)
13626               # +Z the default
13627               ;;
13628             *)
13629               lt_prog_compiler_pic_CXX='+Z'
13630               ;;
13631             esac
13632             ;;
13633           *)
13634             ;;
13635         esac
13636         ;;
13637       interix*)
13638         # This is c89, which is MS Visual C++ (no shared libs)
13639         # Anyone wants to do a port?
13640         ;;
13641       irix5* | irix6* | nonstopux*)
13642         case $cc_basename in
13643           CC*)
13644             lt_prog_compiler_wl_CXX='-Wl,'
13645             lt_prog_compiler_static_CXX='-non_shared'
13646             # CC pic flag -KPIC is the default.
13647             ;;
13648           *)
13649             ;;
13650         esac
13651         ;;
13652       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13653         case $cc_basename in
13654           KCC*)
13655             # KAI C++ Compiler
13656             lt_prog_compiler_wl_CXX='--backend -Wl,'
13657             lt_prog_compiler_pic_CXX='-fPIC'
13658             ;;
13659           ecpc* )
13660             # old Intel C++ for x86_64 which still supported -KPIC.
13661             lt_prog_compiler_wl_CXX='-Wl,'
13662             lt_prog_compiler_pic_CXX='-KPIC'
13663             lt_prog_compiler_static_CXX='-static'
13664             ;;
13665           icpc* )
13666             # Intel C++, used to be incompatible with GCC.
13667             # ICC 10 doesn't accept -KPIC any more.
13668             lt_prog_compiler_wl_CXX='-Wl,'
13669             lt_prog_compiler_pic_CXX='-fPIC'
13670             lt_prog_compiler_static_CXX='-static'
13671             ;;
13672           pgCC* | pgcpp*)
13673             # Portland Group C++ compiler
13674             lt_prog_compiler_wl_CXX='-Wl,'
13675             lt_prog_compiler_pic_CXX='-fpic'
13676             lt_prog_compiler_static_CXX='-Bstatic'
13677             ;;
13678           cxx*)
13679             # Compaq C++
13680             # Make sure the PIC flag is empty.  It appears that all Alpha
13681             # Linux and Compaq Tru64 Unix objects are PIC.
13682             lt_prog_compiler_pic_CXX=
13683             lt_prog_compiler_static_CXX='-non_shared'
13684             ;;
13685           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13686             # IBM XL 8.0, 9.0 on PPC and BlueGene
13687             lt_prog_compiler_wl_CXX='-Wl,'
13688             lt_prog_compiler_pic_CXX='-qpic'
13689             lt_prog_compiler_static_CXX='-qstaticlink'
13690             ;;
13691           *)
13692             case `$CC -V 2>&1 | sed 5q` in
13693             *Sun\ C*)
13694               # Sun C++ 5.9
13695               lt_prog_compiler_pic_CXX='-KPIC'
13696               lt_prog_compiler_static_CXX='-Bstatic'
13697               lt_prog_compiler_wl_CXX='-Qoption ld '
13698               ;;
13699             esac
13700             ;;
13701         esac
13702         ;;
13703       lynxos*)
13704         ;;
13705       m88k*)
13706         ;;
13707       mvs*)
13708         case $cc_basename in
13709           cxx*)
13710             lt_prog_compiler_pic_CXX='-W c,exportall'
13711             ;;
13712           *)
13713             ;;
13714         esac
13715         ;;
13716       netbsd*)
13717         ;;
13718       *qnx* | *nto*)
13719         # QNX uses GNU C++, but need to define -shared option too, otherwise
13720         # it will coredump.
13721         lt_prog_compiler_pic_CXX='-fPIC -shared'
13722         ;;
13723       osf3* | osf4* | osf5*)
13724         case $cc_basename in
13725           KCC*)
13726             lt_prog_compiler_wl_CXX='--backend -Wl,'
13727             ;;
13728           RCC*)
13729             # Rational C++ 2.4.1
13730             lt_prog_compiler_pic_CXX='-pic'
13731             ;;
13732           cxx*)
13733             # Digital/Compaq C++
13734             lt_prog_compiler_wl_CXX='-Wl,'
13735             # Make sure the PIC flag is empty.  It appears that all Alpha
13736             # Linux and Compaq Tru64 Unix objects are PIC.
13737             lt_prog_compiler_pic_CXX=
13738             lt_prog_compiler_static_CXX='-non_shared'
13739             ;;
13740           *)
13741             ;;
13742         esac
13743         ;;
13744       psos*)
13745         ;;
13746       solaris*)
13747         case $cc_basename in
13748           CC*)
13749             # Sun C++ 4.2, 5.x and Centerline C++
13750             lt_prog_compiler_pic_CXX='-KPIC'
13751             lt_prog_compiler_static_CXX='-Bstatic'
13752             lt_prog_compiler_wl_CXX='-Qoption ld '
13753             ;;
13754           gcx*)
13755             # Green Hills C++ Compiler
13756             lt_prog_compiler_pic_CXX='-PIC'
13757             ;;
13758           *)
13759             ;;
13760         esac
13761         ;;
13762       sunos4*)
13763         case $cc_basename in
13764           CC*)
13765             # Sun C++ 4.x
13766             lt_prog_compiler_pic_CXX='-pic'
13767             lt_prog_compiler_static_CXX='-Bstatic'
13768             ;;
13769           lcc*)
13770             # Lucid
13771             lt_prog_compiler_pic_CXX='-pic'
13772             ;;
13773           *)
13774             ;;
13775         esac
13776         ;;
13777       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13778         case $cc_basename in
13779           CC*)
13780             lt_prog_compiler_wl_CXX='-Wl,'
13781             lt_prog_compiler_pic_CXX='-KPIC'
13782             lt_prog_compiler_static_CXX='-Bstatic'
13783             ;;
13784         esac
13785         ;;
13786       tandem*)
13787         case $cc_basename in
13788           NCC*)
13789             # NonStop-UX NCC 3.20
13790             lt_prog_compiler_pic_CXX='-KPIC'
13791             ;;
13792           *)
13793             ;;
13794         esac
13795         ;;
13796       vxworks*)
13797         ;;
13798       *)
13799         lt_prog_compiler_can_build_shared_CXX=no
13800         ;;
13801     esac
13802   fi
13803
13804 case $host_os in
13805   # For platforms which do not support PIC, -DPIC is meaningless:
13806   *djgpp*)
13807     lt_prog_compiler_pic_CXX=
13808     ;;
13809   *)
13810     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13811     ;;
13812 esac
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13814 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13815
13816
13817
13818 #
13819 # Check to make sure the PIC flag actually works.
13820 #
13821 if test -n "$lt_prog_compiler_pic_CXX"; then
13822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13823 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13824 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13825   $as_echo_n "(cached) " >&6
13826 else
13827   lt_cv_prog_compiler_pic_works_CXX=no
13828    ac_outfile=conftest.$ac_objext
13829    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13830    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13831    # Insert the option either (1) after the last *FLAGS variable, or
13832    # (2) before a word containing "conftest.", or (3) at the end.
13833    # Note that $ac_compile itself does not contain backslashes and begins
13834    # with a dollar sign (not a hyphen), so the echo should work correctly.
13835    # The option is referenced via a variable to avoid confusing sed.
13836    lt_compile=`echo "$ac_compile" | $SED \
13837    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13838    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13839    -e 's:$: $lt_compiler_flag:'`
13840    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13841    (eval "$lt_compile" 2>conftest.err)
13842    ac_status=$?
13843    cat conftest.err >&5
13844    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845    if (exit $ac_status) && test -s "$ac_outfile"; then
13846      # The compiler can only warn and ignore the option if not recognized
13847      # So say no if there are warnings other than the usual output.
13848      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13849      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13850      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13851        lt_cv_prog_compiler_pic_works_CXX=yes
13852      fi
13853    fi
13854    $RM conftest*
13855
13856 fi
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13858 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13859
13860 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13861     case $lt_prog_compiler_pic_CXX in
13862      "" | " "*) ;;
13863      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13864      esac
13865 else
13866     lt_prog_compiler_pic_CXX=
13867      lt_prog_compiler_can_build_shared_CXX=no
13868 fi
13869
13870 fi
13871
13872
13873
13874 #
13875 # Check to make sure the static flag actually works.
13876 #
13877 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13879 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13880 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13881   $as_echo_n "(cached) " >&6
13882 else
13883   lt_cv_prog_compiler_static_works_CXX=no
13884    save_LDFLAGS="$LDFLAGS"
13885    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13886    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13887    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13888      # The linker can only warn and ignore the option if not recognized
13889      # So say no if there are warnings
13890      if test -s conftest.err; then
13891        # Append any errors to the config.log.
13892        cat conftest.err 1>&5
13893        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13894        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13895        if diff conftest.exp conftest.er2 >/dev/null; then
13896          lt_cv_prog_compiler_static_works_CXX=yes
13897        fi
13898      else
13899        lt_cv_prog_compiler_static_works_CXX=yes
13900      fi
13901    fi
13902    $RM -r conftest*
13903    LDFLAGS="$save_LDFLAGS"
13904
13905 fi
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13907 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13908
13909 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13910     :
13911 else
13912     lt_prog_compiler_static_CXX=
13913 fi
13914
13915
13916
13917
13918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13919 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13920 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13921   $as_echo_n "(cached) " >&6
13922 else
13923   lt_cv_prog_compiler_c_o_CXX=no
13924    $RM -r conftest 2>/dev/null
13925    mkdir conftest
13926    cd conftest
13927    mkdir out
13928    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13929
13930    lt_compiler_flag="-o out/conftest2.$ac_objext"
13931    # Insert the option either (1) after the last *FLAGS variable, or
13932    # (2) before a word containing "conftest.", or (3) at the end.
13933    # Note that $ac_compile itself does not contain backslashes and begins
13934    # with a dollar sign (not a hyphen), so the echo should work correctly.
13935    lt_compile=`echo "$ac_compile" | $SED \
13936    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13937    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13938    -e 's:$: $lt_compiler_flag:'`
13939    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13940    (eval "$lt_compile" 2>out/conftest.err)
13941    ac_status=$?
13942    cat out/conftest.err >&5
13943    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13945    then
13946      # The compiler can only warn and ignore the option if not recognized
13947      # So say no if there are warnings
13948      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13949      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13950      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13951        lt_cv_prog_compiler_c_o_CXX=yes
13952      fi
13953    fi
13954    chmod u+w . 2>&5
13955    $RM conftest*
13956    # SGI C++ compiler will create directory out/ii_files/ for
13957    # template instantiation
13958    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13959    $RM out/* && rmdir out
13960    cd ..
13961    $RM -r conftest
13962    $RM conftest*
13963
13964 fi
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13966 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13967
13968
13969
13970     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13971 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13972 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13973   $as_echo_n "(cached) " >&6
13974 else
13975   lt_cv_prog_compiler_c_o_CXX=no
13976    $RM -r conftest 2>/dev/null
13977    mkdir conftest
13978    cd conftest
13979    mkdir out
13980    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13981
13982    lt_compiler_flag="-o out/conftest2.$ac_objext"
13983    # Insert the option either (1) after the last *FLAGS variable, or
13984    # (2) before a word containing "conftest.", or (3) at the end.
13985    # Note that $ac_compile itself does not contain backslashes and begins
13986    # with a dollar sign (not a hyphen), so the echo should work correctly.
13987    lt_compile=`echo "$ac_compile" | $SED \
13988    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13989    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13990    -e 's:$: $lt_compiler_flag:'`
13991    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13992    (eval "$lt_compile" 2>out/conftest.err)
13993    ac_status=$?
13994    cat out/conftest.err >&5
13995    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13997    then
13998      # The compiler can only warn and ignore the option if not recognized
13999      # So say no if there are warnings
14000      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14001      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14002      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14003        lt_cv_prog_compiler_c_o_CXX=yes
14004      fi
14005    fi
14006    chmod u+w . 2>&5
14007    $RM conftest*
14008    # SGI C++ compiler will create directory out/ii_files/ for
14009    # template instantiation
14010    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14011    $RM out/* && rmdir out
14012    cd ..
14013    $RM -r conftest
14014    $RM conftest*
14015
14016 fi
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14018 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14019
14020
14021
14022
14023 hard_links="nottested"
14024 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14025   # do not overwrite the value of need_locks provided by the user
14026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14027 $as_echo_n "checking if we can lock with hard links... " >&6; }
14028   hard_links=yes
14029   $RM conftest*
14030   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14031   touch conftest.a
14032   ln conftest.a conftest.b 2>&5 || hard_links=no
14033   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14035 $as_echo "$hard_links" >&6; }
14036   if test "$hard_links" = no; then
14037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14038 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14039     need_locks=warn
14040   fi
14041 else
14042   need_locks=no
14043 fi
14044
14045
14046
14047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14049
14050   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14051   case $host_os in
14052   aix[4-9]*)
14053     # If we're using GNU nm, then we don't want the "-C" option.
14054     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14055     # Also, AIX nm treats weak defined symbols like other global defined
14056     # symbols, whereas GNU nm marks them as "W".
14057     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14058       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'
14059     else
14060       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'
14061     fi
14062     ;;
14063   pw32*)
14064     export_symbols_cmds_CXX="$ltdll_cmds"
14065   ;;
14066   cygwin* | mingw* | cegcc*)
14067     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'
14068   ;;
14069   *)
14070     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14071   ;;
14072   esac
14073   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14074
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14076 $as_echo "$ld_shlibs_CXX" >&6; }
14077 test "$ld_shlibs_CXX" = no && can_build_shared=no
14078
14079 with_gnu_ld_CXX=$with_gnu_ld
14080
14081
14082
14083
14084
14085
14086 #
14087 # Do we need to explicitly link libc?
14088 #
14089 case "x$archive_cmds_need_lc_CXX" in
14090 x|xyes)
14091   # Assume -lc should be added
14092   archive_cmds_need_lc_CXX=yes
14093
14094   if test "$enable_shared" = yes && test "$GCC" = yes; then
14095     case $archive_cmds_CXX in
14096     *'~'*)
14097       # FIXME: we may have to deal with multi-command sequences.
14098       ;;
14099     '$CC '*)
14100       # Test whether the compiler implicitly links with -lc since on some
14101       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14102       # to ld, don't add -lc before -lgcc.
14103       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14104 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14105 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14106   $as_echo_n "(cached) " >&6
14107 else
14108   $RM conftest*
14109         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14110
14111         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14112   (eval $ac_compile) 2>&5
14113   ac_status=$?
14114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14115   test $ac_status = 0; } 2>conftest.err; then
14116           soname=conftest
14117           lib=conftest
14118           libobjs=conftest.$ac_objext
14119           deplibs=
14120           wl=$lt_prog_compiler_wl_CXX
14121           pic_flag=$lt_prog_compiler_pic_CXX
14122           compiler_flags=-v
14123           linker_flags=-v
14124           verstring=
14125           output_objdir=.
14126           libname=conftest
14127           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14128           allow_undefined_flag_CXX=
14129           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14130   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14131   ac_status=$?
14132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14133   test $ac_status = 0; }
14134           then
14135             lt_cv_archive_cmds_need_lc_CXX=no
14136           else
14137             lt_cv_archive_cmds_need_lc_CXX=yes
14138           fi
14139           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14140         else
14141           cat conftest.err 1>&5
14142         fi
14143         $RM conftest*
14144
14145 fi
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14147 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14148       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14149       ;;
14150     esac
14151   fi
14152   ;;
14153 esac
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14219 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14220
14221 library_names_spec=
14222 libname_spec='lib$name'
14223 soname_spec=
14224 shrext_cmds=".so"
14225 postinstall_cmds=
14226 postuninstall_cmds=
14227 finish_cmds=
14228 finish_eval=
14229 shlibpath_var=
14230 shlibpath_overrides_runpath=unknown
14231 version_type=none
14232 dynamic_linker="$host_os ld.so"
14233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14234 need_lib_prefix=unknown
14235 hardcode_into_libs=no
14236
14237 # when you set need_version to no, make sure it does not cause -set_version
14238 # flags to be left without arguments
14239 need_version=unknown
14240
14241 case $host_os in
14242 aix3*)
14243   version_type=linux
14244   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14245   shlibpath_var=LIBPATH
14246
14247   # AIX 3 has no versioning support, so we append a major version to the name.
14248   soname_spec='${libname}${release}${shared_ext}$major'
14249   ;;
14250
14251 aix[4-9]*)
14252   version_type=linux
14253   need_lib_prefix=no
14254   need_version=no
14255   hardcode_into_libs=yes
14256   if test "$host_cpu" = ia64; then
14257     # AIX 5 supports IA64
14258     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14259     shlibpath_var=LD_LIBRARY_PATH
14260   else
14261     # With GCC up to 2.95.x, collect2 would create an import file
14262     # for dependence libraries.  The import file would start with
14263     # the line `#! .'.  This would cause the generated library to
14264     # depend on `.', always an invalid library.  This was fixed in
14265     # development snapshots of GCC prior to 3.0.
14266     case $host_os in
14267       aix4 | aix4.[01] | aix4.[01].*)
14268       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14269            echo ' yes '
14270            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14271         :
14272       else
14273         can_build_shared=no
14274       fi
14275       ;;
14276     esac
14277     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14278     # soname into executable. Probably we can add versioning support to
14279     # collect2, so additional links can be useful in future.
14280     if test "$aix_use_runtimelinking" = yes; then
14281       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14282       # instead of lib<name>.a to let people know that these are not
14283       # typical AIX shared libraries.
14284       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14285     else
14286       # We preserve .a as extension for shared libraries through AIX4.2
14287       # and later when we are not doing run time linking.
14288       library_names_spec='${libname}${release}.a $libname.a'
14289       soname_spec='${libname}${release}${shared_ext}$major'
14290     fi
14291     shlibpath_var=LIBPATH
14292   fi
14293   ;;
14294
14295 amigaos*)
14296   case $host_cpu in
14297   powerpc)
14298     # Since July 2007 AmigaOS4 officially supports .so libraries.
14299     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14300     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14301     ;;
14302   m68k)
14303     library_names_spec='$libname.ixlibrary $libname.a'
14304     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14305     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'
14306     ;;
14307   esac
14308   ;;
14309
14310 beos*)
14311   library_names_spec='${libname}${shared_ext}'
14312   dynamic_linker="$host_os ld.so"
14313   shlibpath_var=LIBRARY_PATH
14314   ;;
14315
14316 bsdi[45]*)
14317   version_type=linux
14318   need_version=no
14319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320   soname_spec='${libname}${release}${shared_ext}$major'
14321   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14322   shlibpath_var=LD_LIBRARY_PATH
14323   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14324   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14325   # the default ld.so.conf also contains /usr/contrib/lib and
14326   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14327   # libtool to hard-code these into programs
14328   ;;
14329
14330 cygwin* | mingw* | pw32* | cegcc*)
14331   version_type=windows
14332   shrext_cmds=".dll"
14333   need_version=no
14334   need_lib_prefix=no
14335
14336   case $GCC,$host_os in
14337   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14338     library_names_spec='$libname.dll.a'
14339     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14340     postinstall_cmds='base_file=`basename \${file}`~
14341       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14342       dldir=$destdir/`dirname \$dlpath`~
14343       test -d \$dldir || mkdir -p \$dldir~
14344       $install_prog $dir/$dlname \$dldir/$dlname~
14345       chmod a+x \$dldir/$dlname~
14346       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14347         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14348       fi'
14349     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14350       dlpath=$dir/\$dldll~
14351        $RM \$dlpath'
14352     shlibpath_overrides_runpath=yes
14353
14354     case $host_os in
14355     cygwin*)
14356       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14357       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14358
14359       ;;
14360     mingw* | cegcc*)
14361       # MinGW DLLs use traditional 'lib' prefix
14362       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363       ;;
14364     pw32*)
14365       # pw32 DLLs use 'pw' prefix rather than 'lib'
14366       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367       ;;
14368     esac
14369     ;;
14370
14371   *)
14372     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14373     ;;
14374   esac
14375   dynamic_linker='Win32 ld.exe'
14376   # FIXME: first we should search . and the directory the executable is in
14377   shlibpath_var=PATH
14378   ;;
14379
14380 darwin* | rhapsody*)
14381   dynamic_linker="$host_os dyld"
14382   version_type=darwin
14383   need_lib_prefix=no
14384   need_version=no
14385   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14386   soname_spec='${libname}${release}${major}$shared_ext'
14387   shlibpath_overrides_runpath=yes
14388   shlibpath_var=DYLD_LIBRARY_PATH
14389   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14390
14391   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14392   ;;
14393
14394 dgux*)
14395   version_type=linux
14396   need_lib_prefix=no
14397   need_version=no
14398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14399   soname_spec='${libname}${release}${shared_ext}$major'
14400   shlibpath_var=LD_LIBRARY_PATH
14401   ;;
14402
14403 freebsd* | dragonfly*)
14404   # DragonFly does not have aout.  When/if they implement a new
14405   # versioning mechanism, adjust this.
14406   if test -x /usr/bin/objformat; then
14407     objformat=`/usr/bin/objformat`
14408   else
14409     case $host_os in
14410     freebsd[23].*) objformat=aout ;;
14411     *) objformat=elf ;;
14412     esac
14413   fi
14414   version_type=freebsd-$objformat
14415   case $version_type in
14416     freebsd-elf*)
14417       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14418       need_version=no
14419       need_lib_prefix=no
14420       ;;
14421     freebsd-*)
14422       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14423       need_version=yes
14424       ;;
14425   esac
14426   shlibpath_var=LD_LIBRARY_PATH
14427   case $host_os in
14428   freebsd2.*)
14429     shlibpath_overrides_runpath=yes
14430     ;;
14431   freebsd3.[01]* | freebsdelf3.[01]*)
14432     shlibpath_overrides_runpath=yes
14433     hardcode_into_libs=yes
14434     ;;
14435   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14436   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14437     shlibpath_overrides_runpath=no
14438     hardcode_into_libs=yes
14439     ;;
14440   *) # from 4.6 on, and DragonFly
14441     shlibpath_overrides_runpath=yes
14442     hardcode_into_libs=yes
14443     ;;
14444   esac
14445   ;;
14446
14447 gnu*)
14448   version_type=linux
14449   need_lib_prefix=no
14450   need_version=no
14451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14452   soname_spec='${libname}${release}${shared_ext}$major'
14453   shlibpath_var=LD_LIBRARY_PATH
14454   hardcode_into_libs=yes
14455   ;;
14456
14457 haiku*)
14458   version_type=linux
14459   need_lib_prefix=no
14460   need_version=no
14461   dynamic_linker="$host_os runtime_loader"
14462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14463   soname_spec='${libname}${release}${shared_ext}$major'
14464   shlibpath_var=LIBRARY_PATH
14465   shlibpath_overrides_runpath=yes
14466   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14467   hardcode_into_libs=yes
14468   ;;
14469
14470 hpux9* | hpux10* | hpux11*)
14471   # Give a soname corresponding to the major version so that dld.sl refuses to
14472   # link against other versions.
14473   version_type=sunos
14474   need_lib_prefix=no
14475   need_version=no
14476   case $host_cpu in
14477   ia64*)
14478     shrext_cmds='.so'
14479     hardcode_into_libs=yes
14480     dynamic_linker="$host_os dld.so"
14481     shlibpath_var=LD_LIBRARY_PATH
14482     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484     soname_spec='${libname}${release}${shared_ext}$major'
14485     if test "X$HPUX_IA64_MODE" = X32; then
14486       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14487     else
14488       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14489     fi
14490     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14491     ;;
14492   hppa*64*)
14493     shrext_cmds='.sl'
14494     hardcode_into_libs=yes
14495     dynamic_linker="$host_os dld.sl"
14496     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14497     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499     soname_spec='${libname}${release}${shared_ext}$major'
14500     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14501     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14502     ;;
14503   *)
14504     shrext_cmds='.sl'
14505     dynamic_linker="$host_os dld.sl"
14506     shlibpath_var=SHLIB_PATH
14507     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14509     soname_spec='${libname}${release}${shared_ext}$major'
14510     ;;
14511   esac
14512   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14513   postinstall_cmds='chmod 555 $lib'
14514   # or fails outright, so override atomically:
14515   install_override_mode=555
14516   ;;
14517
14518 interix[3-9]*)
14519   version_type=linux
14520   need_lib_prefix=no
14521   need_version=no
14522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14523   soname_spec='${libname}${release}${shared_ext}$major'
14524   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14525   shlibpath_var=LD_LIBRARY_PATH
14526   shlibpath_overrides_runpath=no
14527   hardcode_into_libs=yes
14528   ;;
14529
14530 irix5* | irix6* | nonstopux*)
14531   case $host_os in
14532     nonstopux*) version_type=nonstopux ;;
14533     *)
14534         if test "$lt_cv_prog_gnu_ld" = yes; then
14535                 version_type=linux
14536         else
14537                 version_type=irix
14538         fi ;;
14539   esac
14540   need_lib_prefix=no
14541   need_version=no
14542   soname_spec='${libname}${release}${shared_ext}$major'
14543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14544   case $host_os in
14545   irix5* | nonstopux*)
14546     libsuff= shlibsuff=
14547     ;;
14548   *)
14549     case $LD in # libtool.m4 will add one of these switches to LD
14550     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14551       libsuff= shlibsuff= libmagic=32-bit;;
14552     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14553       libsuff=32 shlibsuff=N32 libmagic=N32;;
14554     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14555       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14556     *) libsuff= shlibsuff= libmagic=never-match;;
14557     esac
14558     ;;
14559   esac
14560   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14561   shlibpath_overrides_runpath=no
14562   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14563   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14564   hardcode_into_libs=yes
14565   ;;
14566
14567 # No shared lib support for Linux oldld, aout, or coff.
14568 linux*oldld* | linux*aout* | linux*coff*)
14569   dynamic_linker=no
14570   ;;
14571
14572 # This must be Linux ELF.
14573 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14574   version_type=linux
14575   need_lib_prefix=no
14576   need_version=no
14577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14578   soname_spec='${libname}${release}${shared_ext}$major'
14579   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14580   shlibpath_var=LD_LIBRARY_PATH
14581   shlibpath_overrides_runpath=no
14582
14583   # Some binutils ld are patched to set DT_RUNPATH
14584   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14585   $as_echo_n "(cached) " >&6
14586 else
14587   lt_cv_shlibpath_overrides_runpath=no
14588     save_LDFLAGS=$LDFLAGS
14589     save_libdir=$libdir
14590     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14591          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14592     if test x$gcc_no_link = xyes; then
14593   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14594 fi
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h.  */
14597
14598 int
14599 main ()
14600 {
14601
14602   ;
14603   return 0;
14604 }
14605 _ACEOF
14606 if ac_fn_cxx_try_link "$LINENO"; then :
14607   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14608   lt_cv_shlibpath_overrides_runpath=yes
14609 fi
14610 fi
14611 rm -f core conftest.err conftest.$ac_objext \
14612     conftest$ac_exeext conftest.$ac_ext
14613     LDFLAGS=$save_LDFLAGS
14614     libdir=$save_libdir
14615
14616 fi
14617
14618   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14619
14620   # This implies no fast_install, which is unacceptable.
14621   # Some rework will be needed to allow for fast_install
14622   # before this can be enabled.
14623   hardcode_into_libs=yes
14624
14625   # Append ld.so.conf contents to the search path
14626   if test -f /etc/ld.so.conf; then
14627     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' ' '`
14628     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14629   fi
14630
14631   # We used to test for /lib/ld.so.1 and disable shared libraries on
14632   # powerpc, because MkLinux only supported shared libraries with the
14633   # GNU dynamic linker.  Since this was broken with cross compilers,
14634   # most powerpc-linux boxes support dynamic linking these days and
14635   # people can always --disable-shared, the test was removed, and we
14636   # assume the GNU/Linux dynamic linker is in use.
14637   dynamic_linker='GNU/Linux ld.so'
14638   ;;
14639
14640 netbsd*)
14641   version_type=sunos
14642   need_lib_prefix=no
14643   need_version=no
14644   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14647     dynamic_linker='NetBSD (a.out) ld.so'
14648   else
14649     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14650     soname_spec='${libname}${release}${shared_ext}$major'
14651     dynamic_linker='NetBSD ld.elf_so'
14652   fi
14653   shlibpath_var=LD_LIBRARY_PATH
14654   shlibpath_overrides_runpath=yes
14655   hardcode_into_libs=yes
14656   ;;
14657
14658 newsos6)
14659   version_type=linux
14660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661   shlibpath_var=LD_LIBRARY_PATH
14662   shlibpath_overrides_runpath=yes
14663   ;;
14664
14665 *nto* | *qnx*)
14666   version_type=qnx
14667   need_lib_prefix=no
14668   need_version=no
14669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670   soname_spec='${libname}${release}${shared_ext}$major'
14671   shlibpath_var=LD_LIBRARY_PATH
14672   shlibpath_overrides_runpath=no
14673   hardcode_into_libs=yes
14674   dynamic_linker='ldqnx.so'
14675   ;;
14676
14677 openbsd*)
14678   version_type=sunos
14679   sys_lib_dlsearch_path_spec="/usr/lib"
14680   need_lib_prefix=no
14681   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14682   case $host_os in
14683     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14684     *)                          need_version=no  ;;
14685   esac
14686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14687   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14688   shlibpath_var=LD_LIBRARY_PATH
14689   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14690     case $host_os in
14691       openbsd2.[89] | openbsd2.[89].*)
14692         shlibpath_overrides_runpath=no
14693         ;;
14694       *)
14695         shlibpath_overrides_runpath=yes
14696         ;;
14697       esac
14698   else
14699     shlibpath_overrides_runpath=yes
14700   fi
14701   ;;
14702
14703 os2*)
14704   libname_spec='$name'
14705   shrext_cmds=".dll"
14706   need_lib_prefix=no
14707   library_names_spec='$libname${shared_ext} $libname.a'
14708   dynamic_linker='OS/2 ld.exe'
14709   shlibpath_var=LIBPATH
14710   ;;
14711
14712 osf3* | osf4* | osf5*)
14713   version_type=osf
14714   need_lib_prefix=no
14715   need_version=no
14716   soname_spec='${libname}${release}${shared_ext}$major'
14717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14718   shlibpath_var=LD_LIBRARY_PATH
14719   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14720   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14721   ;;
14722
14723 rdos*)
14724   dynamic_linker=no
14725   ;;
14726
14727 solaris*)
14728   version_type=linux
14729   need_lib_prefix=no
14730   need_version=no
14731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732   soname_spec='${libname}${release}${shared_ext}$major'
14733   shlibpath_var=LD_LIBRARY_PATH
14734   shlibpath_overrides_runpath=yes
14735   hardcode_into_libs=yes
14736   # ldd complains unless libraries are executable
14737   postinstall_cmds='chmod +x $lib'
14738   ;;
14739
14740 sunos4*)
14741   version_type=sunos
14742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14743   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14744   shlibpath_var=LD_LIBRARY_PATH
14745   shlibpath_overrides_runpath=yes
14746   if test "$with_gnu_ld" = yes; then
14747     need_lib_prefix=no
14748   fi
14749   need_version=yes
14750   ;;
14751
14752 sysv4 | sysv4.3*)
14753   version_type=linux
14754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14755   soname_spec='${libname}${release}${shared_ext}$major'
14756   shlibpath_var=LD_LIBRARY_PATH
14757   case $host_vendor in
14758     sni)
14759       shlibpath_overrides_runpath=no
14760       need_lib_prefix=no
14761       runpath_var=LD_RUN_PATH
14762       ;;
14763     siemens)
14764       need_lib_prefix=no
14765       ;;
14766     motorola)
14767       need_lib_prefix=no
14768       need_version=no
14769       shlibpath_overrides_runpath=no
14770       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14771       ;;
14772   esac
14773   ;;
14774
14775 sysv4*MP*)
14776   if test -d /usr/nec ;then
14777     version_type=linux
14778     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14779     soname_spec='$libname${shared_ext}.$major'
14780     shlibpath_var=LD_LIBRARY_PATH
14781   fi
14782   ;;
14783
14784 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14785   version_type=freebsd-elf
14786   need_lib_prefix=no
14787   need_version=no
14788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14789   soname_spec='${libname}${release}${shared_ext}$major'
14790   shlibpath_var=LD_LIBRARY_PATH
14791   shlibpath_overrides_runpath=yes
14792   hardcode_into_libs=yes
14793   if test "$with_gnu_ld" = yes; then
14794     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14795   else
14796     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14797     case $host_os in
14798       sco3.2v5*)
14799         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14800         ;;
14801     esac
14802   fi
14803   sys_lib_dlsearch_path_spec='/usr/lib'
14804   ;;
14805
14806 tpf*)
14807   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14808   version_type=linux
14809   need_lib_prefix=no
14810   need_version=no
14811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812   shlibpath_var=LD_LIBRARY_PATH
14813   shlibpath_overrides_runpath=no
14814   hardcode_into_libs=yes
14815   ;;
14816
14817 uts4*)
14818   version_type=linux
14819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14820   soname_spec='${libname}${release}${shared_ext}$major'
14821   shlibpath_var=LD_LIBRARY_PATH
14822   ;;
14823
14824 *)
14825   dynamic_linker=no
14826   ;;
14827 esac
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14829 $as_echo "$dynamic_linker" >&6; }
14830 test "$dynamic_linker" = no && can_build_shared=no
14831
14832 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14833 if test "$GCC" = yes; then
14834   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14835 fi
14836
14837 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14838   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14839 fi
14840 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14841   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14842 fi
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14882 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14883 hardcode_action_CXX=
14884 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14885    test -n "$runpath_var_CXX" ||
14886    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14887
14888   # We can hardcode non-existent directories.
14889   if test "$hardcode_direct_CXX" != no &&
14890      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14891      # have to relink, otherwise we might link with an installed library
14892      # when we should be linking with a yet-to-be-installed one
14893      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14894      test "$hardcode_minus_L_CXX" != no; then
14895     # Linking always hardcodes the temporary library directory.
14896     hardcode_action_CXX=relink
14897   else
14898     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14899     hardcode_action_CXX=immediate
14900   fi
14901 else
14902   # We cannot hardcode anything, or else we can only hardcode existing
14903   # directories.
14904   hardcode_action_CXX=unsupported
14905 fi
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14907 $as_echo "$hardcode_action_CXX" >&6; }
14908
14909 if test "$hardcode_action_CXX" = relink ||
14910    test "$inherit_rpath_CXX" = yes; then
14911   # Fast installation is not supported
14912   enable_fast_install=no
14913 elif test "$shlibpath_overrides_runpath" = yes ||
14914      test "$enable_shared" = no; then
14915   # Fast installation is not necessary
14916   enable_fast_install=needless
14917 fi
14918
14919
14920
14921
14922
14923
14924
14925   fi # test -n "$compiler"
14926
14927   CC=$lt_save_CC
14928   LDCXX=$LD
14929   LD=$lt_save_LD
14930   GCC=$lt_save_GCC
14931   with_gnu_ld=$lt_save_with_gnu_ld
14932   lt_cv_path_LDCXX=$lt_cv_path_LD
14933   lt_cv_path_LD=$lt_save_path_LD
14934   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14935   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14936 fi # test "$_lt_caught_CXX_error" != yes
14937
14938 ac_ext=c
14939 ac_cpp='$CPP $CPPFLAGS'
14940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956         ac_config_commands="$ac_config_commands libtool"
14957
14958
14959
14960
14961 # Only expand once:
14962
14963
14964
14965
14966
14967 case $host in
14968   *-cygwin* | *-mingw*)
14969     # 'host' will be top-level target in the case of a target lib,
14970     # we must compare to with_cross_host to decide if this is a native
14971     # or cross-compiler and select where to install dlls appropriately.
14972     if test -n "$with_cross_host" &&
14973         test x"$with_cross_host" != x"no"; then
14974       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14975     else
14976       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14977     fi
14978     ;;
14979   *)
14980     lt_host_flags=
14981     ;;
14982 esac
14983
14984
14985
14986
14987
14988
14989 if test "$enable_vtable_verify" = yes; then
14990   predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14991   postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14992 fi
14993
14994
14995 # libtool variables for C++ shared and position-independent compiles.
14996 #
14997 # Use glibcxx_lt_pic_flag to designate the automake variable
14998 # used to encapsulate the default libtool approach to creating objects
14999 # with position-independent code. Default: -prefer-pic.
15000 #
15001 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15002 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15003 #
15004 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15005 # creating position-independent objects. This varies with the target
15006 # hardware and operating system, but is often: -DPIC -fPIC.
15007 if test "$enable_shared" = yes; then
15008   glibcxx_lt_pic_flag="-prefer-pic"
15009   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15010   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15011
15012 else
15013   glibcxx_lt_pic_flag=
15014   glibcxx_compiler_pic_flag=
15015   glibcxx_compiler_shared_flag=
15016 fi
15017
15018
15019
15020
15021 # Override the libtool's pic_flag and pic_mode.
15022 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15023 # NB: this impacts --with-pic and --without-pic.
15024 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15025 pic_mode='default'
15026
15027 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15028 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15029
15030 # Possibly disable most of the library.
15031 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15032 ## than just ignoring the results.  Faster /and/ more correct, win win.
15033
15034   # Check whether --enable-hosted-libstdcxx was given.
15035 if test "${enable_hosted_libstdcxx+set}" = set; then :
15036   enableval=$enable_hosted_libstdcxx;
15037 else
15038   case "$host" in
15039         arm*-*-symbianelf*)
15040             enable_hosted_libstdcxx=no
15041             ;;
15042         *)
15043             enable_hosted_libstdcxx=yes
15044             ;;
15045      esac
15046 fi
15047
15048   if test "$enable_hosted_libstdcxx" = no; then
15049     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15050 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15051     is_hosted=no
15052     hosted_define=0
15053     enable_abi_check=no
15054     enable_libstdcxx_pch=no
15055   else
15056     is_hosted=yes
15057     hosted_define=1
15058   fi
15059
15060
15061 cat >>confdefs.h <<_ACEOF
15062 #define _GLIBCXX_HOSTED $hosted_define
15063 _ACEOF
15064
15065
15066
15067 # Enable descriptive messages to standard output on termination.
15068
15069   # Check whether --enable-libstdcxx-verbose was given.
15070 if test "${enable_libstdcxx_verbose+set}" = set; then :
15071   enableval=$enable_libstdcxx_verbose;
15072 else
15073   enable_libstdcxx_verbose=yes
15074 fi
15075
15076   if test x"$enable_libstdcxx_verbose" = xyes; then
15077     verbose_define=1
15078   else
15079     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15080 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15081     verbose_define=0
15082   fi
15083
15084 cat >>confdefs.h <<_ACEOF
15085 #define _GLIBCXX_VERBOSE $verbose_define
15086 _ACEOF
15087
15088
15089
15090 # Enable compiler support that doesn't require linking.
15091
15092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15093 $as_echo_n "checking for exception model to use... " >&6; }
15094
15095   ac_ext=cpp
15096 ac_cpp='$CXXCPP $CPPFLAGS'
15097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15100
15101    # Check whether --enable-sjlj-exceptions was given.
15102 if test "${enable_sjlj_exceptions+set}" = set; then :
15103   enableval=$enable_sjlj_exceptions;
15104       case "$enableval" in
15105        yes|no|auto) ;;
15106        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15107                         esac
15108
15109 else
15110   enable_sjlj_exceptions=auto
15111 fi
15112
15113
15114
15115   if test $enable_sjlj_exceptions = auto; then
15116     # Botheration.  Now we've got to detect the exception model.  Link tests
15117     # against libgcc.a are problematic since we've not been given proper -L
15118     # bits for single-tree newlib and libgloss.
15119     #
15120     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
15121     cat > conftest.$ac_ext << EOF
15122 #line 15122 "configure"
15123 struct S { ~S(); };
15124 void bar();
15125 void foo()
15126 {
15127   S s;
15128   bar();
15129 }
15130 EOF
15131     old_CXXFLAGS="$CXXFLAGS"
15132     CXXFLAGS=-S
15133     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15134   (eval $ac_compile) 2>&5
15135   ac_status=$?
15136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15137   test $ac_status = 0; }; then
15138       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15139         enable_sjlj_exceptions=yes
15140       elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15141         enable_sjlj_exceptions=yes
15142       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15143         enable_sjlj_exceptions=no
15144       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15145         enable_sjlj_exceptions=no
15146       fi
15147     fi
15148     CXXFLAGS="$old_CXXFLAGS"
15149     rm -f conftest*
15150   fi
15151
15152   # This is a tad weird, for hysterical raisins.  We have to map
15153   # enable/disable to two different models.
15154   case $enable_sjlj_exceptions in
15155     yes)
15156
15157 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15158
15159       ac_exception_model_name=sjlj
15160       ;;
15161     no)
15162       ac_exception_model_name="call frame"
15163       ;;
15164     *)
15165       as_fn_error "unable to detect exception model" "$LINENO" 5
15166       ;;
15167   esac
15168  ac_ext=c
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15173
15174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15175 $as_echo "$ac_exception_model_name" >&6; }
15176
15177
15178    # Check whether --enable-libstdcxx-pch was given.
15179 if test "${enable_libstdcxx_pch+set}" = set; then :
15180   enableval=$enable_libstdcxx_pch;
15181       case "$enableval" in
15182        yes|no) ;;
15183        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15184       esac
15185
15186 else
15187   enable_libstdcxx_pch=$is_hosted
15188 fi
15189
15190
15191   if test $enable_libstdcxx_pch = yes; then
15192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15193 $as_echo_n "checking for compiler with PCH support... " >&6; }
15194 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15195   $as_echo_n "(cached) " >&6
15196 else
15197   ac_save_CXXFLAGS="$CXXFLAGS"
15198        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15199
15200        ac_ext=cpp
15201 ac_cpp='$CXXCPP $CPPFLAGS'
15202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15205
15206        echo '#include <math.h>' > conftest.h
15207        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15208                           -o conftest.h.gch 1>&5 2>&1 &&
15209                 echo '#error "pch failed"' > conftest.h &&
15210           echo '#include "conftest.h"' > conftest.cc &&
15211                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15212        then
15213          glibcxx_cv_prog_CXX_pch=yes
15214        else
15215          glibcxx_cv_prog_CXX_pch=no
15216        fi
15217        rm -f conftest*
15218        CXXFLAGS=$ac_save_CXXFLAGS
15219        ac_ext=c
15220 ac_cpp='$CPP $CPPFLAGS'
15221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15224
15225
15226 fi
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15228 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15229     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15230   fi
15231
15232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15233 $as_echo_n "checking for enabled PCH... " >&6; }
15234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15235 $as_echo "$enable_libstdcxx_pch" >&6; }
15236
15237
15238   if test $enable_libstdcxx_pch = yes; then
15239     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15240   else
15241     glibcxx_PCHFLAGS=""
15242   fi
15243
15244
15245
15246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15247 $as_echo_n "checking for thread model used by GCC... " >&6; }
15248   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15250 $as_echo "$target_thread_file" >&6; }
15251
15252 case $target_thread_file in
15253     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15254     dce)        thread_header=config/pa/gthr-dce.h ;;
15255     lynx)       thread_header=config/gthr-lynx.h ;;
15256     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15257     posix)      thread_header=gthr-posix.h ;;
15258     rtems)      thread_header=config/gthr-rtems.h ;;
15259     single)     thread_header=gthr-single.h ;;
15260     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15261     vxworks)    thread_header=config/gthr-vxworks.h ;;
15262     win32)      thread_header=config/i386/gthr-win32.h ;;
15263 esac
15264
15265
15266
15267
15268
15269   ac_ext=cpp
15270 ac_cpp='$CXXCPP $CPPFLAGS'
15271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15274
15275   old_CXXFLAGS="$CXXFLAGS"
15276
15277   # Do link tests if possible, instead asm tests, limited to some platforms
15278   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15279   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15280   atomic_builtins_link_tests=no
15281   if test x$gcc_no_link != xyes; then
15282     # Can do link tests. Limit to some tested platforms
15283     case "$host" in
15284       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15285         atomic_builtins_link_tests=yes
15286         ;;
15287     esac
15288   fi
15289
15290   if test x$atomic_builtins_link_tests = xyes; then
15291
15292   # Do link tests.
15293
15294   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15295
15296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15297 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15298   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15299   $as_echo_n "(cached) " >&6
15300 else
15301
15302     if test x$gcc_no_link = xyes; then
15303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15304 fi
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h.  */
15307
15308 int
15309 main ()
15310 {
15311 typedef bool atomic_type;
15312        atomic_type c1;
15313        atomic_type c2;
15314        atomic_type c3(0);
15315        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15316        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15317                                    __ATOMIC_RELAXED);
15318        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15319        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15320
15321   ;
15322   return 0;
15323 }
15324 _ACEOF
15325 if ac_fn_cxx_try_link "$LINENO"; then :
15326   glibcxx_cv_atomic_bool=yes
15327 else
15328   glibcxx_cv_atomic_bool=no
15329 fi
15330 rm -f core conftest.err conftest.$ac_objext \
15331     conftest$ac_exeext conftest.$ac_ext
15332
15333 fi
15334
15335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15336 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
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 test "${glibcxx_cv_atomic_short+set}" = set; then :
15341   $as_echo_n "(cached) " >&6
15342 else
15343
15344     if test x$gcc_no_link = xyes; then
15345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15346 fi
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h.  */
15349
15350 int
15351 main ()
15352 {
15353 typedef short atomic_type;
15354        atomic_type c1;
15355        atomic_type c2;
15356        atomic_type c3(0);
15357        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15358        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15359                                    __ATOMIC_RELAXED);
15360        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15361        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15362
15363   ;
15364   return 0;
15365 }
15366 _ACEOF
15367 if ac_fn_cxx_try_link "$LINENO"; then :
15368   glibcxx_cv_atomic_short=yes
15369 else
15370   glibcxx_cv_atomic_short=no
15371 fi
15372 rm -f core conftest.err conftest.$ac_objext \
15373     conftest$ac_exeext conftest.$ac_ext
15374
15375 fi
15376
15377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15378 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15379
15380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15381 $as_echo_n "checking for atomic builtins for int... " >&6; }
15382   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15383   $as_echo_n "(cached) " >&6
15384 else
15385
15386     if test x$gcc_no_link = xyes; then
15387   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15388 fi
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h.  */
15391
15392 int
15393 main ()
15394 {
15395 typedef int atomic_type;
15396        atomic_type c1;
15397        atomic_type c2;
15398        atomic_type c3(0);
15399        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15400        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401                                    __ATOMIC_RELAXED);
15402        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404
15405   ;
15406   return 0;
15407 }
15408 _ACEOF
15409 if ac_fn_cxx_try_link "$LINENO"; then :
15410   glibcxx_cv_atomic_int=yes
15411 else
15412   glibcxx_cv_atomic_int=no
15413 fi
15414 rm -f core conftest.err conftest.$ac_objext \
15415     conftest$ac_exeext conftest.$ac_ext
15416
15417 fi
15418
15419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15420 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15421
15422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15425   $as_echo_n "(cached) " >&6
15426 else
15427
15428     if test x$gcc_no_link = xyes; then
15429   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15430 fi
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h.  */
15433
15434 int
15435 main ()
15436 {
15437 typedef long long atomic_type;
15438        atomic_type c1;
15439        atomic_type c2;
15440        atomic_type c3(0);
15441        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15442        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15443                                    __ATOMIC_RELAXED);
15444        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15445        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15446
15447   ;
15448   return 0;
15449 }
15450 _ACEOF
15451 if ac_fn_cxx_try_link "$LINENO"; then :
15452   glibcxx_cv_atomic_long_long=yes
15453 else
15454   glibcxx_cv_atomic_long_long=no
15455 fi
15456 rm -f core conftest.err conftest.$ac_objext \
15457     conftest$ac_exeext conftest.$ac_ext
15458
15459 fi
15460
15461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15462 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15463
15464   else
15465
15466   # Do asm tests.
15467
15468   # Compile unoptimized.
15469   CXXFLAGS='-O0 -S'
15470
15471   # Fake what AC_TRY_COMPILE does.
15472
15473     cat > conftest.$ac_ext << EOF
15474 #line 15474 "configure"
15475 int main()
15476 {
15477   typedef bool atomic_type;
15478   atomic_type c1;
15479   atomic_type c2;
15480   atomic_type c3(0);
15481   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15482   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483                               __ATOMIC_RELAXED);
15484   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486
15487   return 0;
15488 }
15489 EOF
15490
15491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15492 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15493     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15494   (eval $ac_compile) 2>&5
15495   ac_status=$?
15496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15497   test $ac_status = 0; }; then
15498       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15499         glibcxx_cv_atomic_bool=no
15500       else
15501         glibcxx_cv_atomic_bool=yes
15502       fi
15503     fi
15504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15505 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15506     rm -f conftest*
15507
15508     cat > conftest.$ac_ext << EOF
15509 #line 15509 "configure"
15510 int main()
15511 {
15512   typedef short atomic_type;
15513   atomic_type c1;
15514   atomic_type c2;
15515   atomic_type c3(0);
15516   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15517   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15518                               __ATOMIC_RELAXED);
15519   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15520   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15521
15522   return 0;
15523 }
15524 EOF
15525
15526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15527 $as_echo_n "checking for atomic builtins for short... " >&6; }
15528     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529   (eval $ac_compile) 2>&5
15530   ac_status=$?
15531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532   test $ac_status = 0; }; then
15533       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15534         glibcxx_cv_atomic_short=no
15535       else
15536         glibcxx_cv_atomic_short=yes
15537       fi
15538     fi
15539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15540 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15541     rm -f conftest*
15542
15543     cat > conftest.$ac_ext << EOF
15544 #line 15544 "configure"
15545 int main()
15546 {
15547   // NB: _Atomic_word not necessarily int.
15548   typedef int atomic_type;
15549   atomic_type c1;
15550   atomic_type c2;
15551   atomic_type c3(0);
15552   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15553   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15554                               __ATOMIC_RELAXED);
15555   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15556   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15557
15558   return 0;
15559 }
15560 EOF
15561
15562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15563 $as_echo_n "checking for atomic builtins for int... " >&6; }
15564     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15565   (eval $ac_compile) 2>&5
15566   ac_status=$?
15567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15568   test $ac_status = 0; }; then
15569       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15570         glibcxx_cv_atomic_int=no
15571       else
15572         glibcxx_cv_atomic_int=yes
15573       fi
15574     fi
15575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15576 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15577     rm -f conftest*
15578
15579     cat > conftest.$ac_ext << EOF
15580 #line 15580 "configure"
15581 int main()
15582 {
15583   typedef long long atomic_type;
15584   atomic_type c1;
15585   atomic_type c2;
15586   atomic_type c3(0);
15587   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15588   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15589                               __ATOMIC_RELAXED);
15590   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15591   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15592
15593   return 0;
15594 }
15595 EOF
15596
15597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15598 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15599     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15600   (eval $ac_compile) 2>&5
15601   ac_status=$?
15602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15603   test $ac_status = 0; }; then
15604       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15605         glibcxx_cv_atomic_long_long=no
15606       else
15607         glibcxx_cv_atomic_long_long=yes
15608       fi
15609     fi
15610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15611 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15612     rm -f conftest*
15613
15614   fi
15615
15616   CXXFLAGS="$old_CXXFLAGS"
15617   ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15622
15623
15624   # Set atomicity_dir to builtins if all but the long long test above passes.
15625   if test $glibcxx_cv_atomic_bool = yes \
15626      && test $glibcxx_cv_atomic_short = yes \
15627      && test $glibcxx_cv_atomic_int = yes; then
15628
15629 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15630
15631     atomicity_dir=cpu/generic/atomicity_builtins
15632   fi
15633
15634   # If still generic, set to mutex.
15635   if test $atomicity_dir = "cpu/generic" ; then
15636     atomicity_dir=cpu/generic/atomicity_mutex
15637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15638 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15639       if test "x$target_thread_file" = xsingle; then
15640         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15641 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15642         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15643 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15644       else
15645         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15646 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15647         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15648 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15649       fi
15650   fi
15651
15652
15653
15654
15655   # Fake what AC_TRY_COMPILE does, without linking as this is
15656   # unnecessary for this test.
15657
15658     cat > conftest.$ac_ext << EOF
15659 #line 15659 "configure"
15660 int main()
15661 {
15662   _Decimal32 d1;
15663   _Decimal64 d2;
15664   _Decimal128 d3;
15665   return 0;
15666 }
15667 EOF
15668
15669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15670 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15671     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15672   (eval $ac_compile) 2>&5
15673   ac_status=$?
15674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675   test $ac_status = 0; }; then
15676
15677 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15678
15679       enable_dfp=yes
15680     else
15681       enable_dfp=no
15682     fi
15683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15684 $as_echo "$enable_dfp" >&6; }
15685     rm -f conftest*
15686
15687
15688
15689
15690   ac_ext=cpp
15691 ac_cpp='$CXXCPP $CPPFLAGS'
15692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15695
15696
15697   # Fake what AC_TRY_COMPILE does, without linking as this is
15698   # unnecessary for this test.
15699
15700     cat > conftest.$ac_ext << EOF
15701 #line 15701 "configure"
15702 template<typename T1, typename T2>
15703   struct same
15704   { typedef T2 type; };
15705
15706 template<typename T>
15707   struct same<T, T>;
15708
15709 int main()
15710 {
15711   typename same<long, __int128>::type                i1;
15712   typename same<long long, __int128>::type           i2;
15713 }
15714 EOF
15715
15716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15717 $as_echo_n "checking for __int128... " >&6; }
15718     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15719   (eval $ac_compile) 2>&5
15720   ac_status=$?
15721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15722   test $ac_status = 0; }; then
15723
15724 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15725
15726       enable_int128=yes
15727     else
15728       enable_int128=no
15729     fi
15730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15731 $as_echo "$enable_int128" >&6; }
15732     rm -f conftest*
15733
15734     cat > conftest.$ac_ext << EOF
15735 #line 15735 "configure"
15736 template<typename T1, typename T2>
15737   struct same
15738   { typedef T2 type; };
15739
15740 template<typename T>
15741   struct same<T, T>;
15742
15743 int main()
15744 {
15745   typename same<double, __float128>::type      f1;
15746   typename same<long double, __float128>::type f2;
15747 }
15748 EOF
15749
15750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15751 $as_echo_n "checking for __float128... " >&6; }
15752     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15753   (eval $ac_compile) 2>&5
15754   ac_status=$?
15755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15756   test $ac_status = 0; }; then
15757
15758 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15759
15760       enable_float128=yes
15761     else
15762       enable_float128=no
15763     fi
15764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15765 $as_echo "$enable_float128" >&6; }
15766     rm -f conftest*
15767
15768   ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773
15774
15775 if test "$enable_float128" = yes; then
15776   port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15777 fi
15778
15779 # Checks for compiler support that doesn't require linking.
15780
15781   # All these tests are for C++; save the language and the compiler flags.
15782   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15783   # found in GLIBCXX_CONFIGURE.
15784
15785   ac_ext=cpp
15786 ac_cpp='$CXXCPP $CPPFLAGS'
15787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15790
15791   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15792   ac_save_CXXFLAGS="$CXXFLAGS"
15793
15794   # Check for maintainer-mode bits.
15795   if test x"$USE_MAINTAINER_MODE" = xno; then
15796     WERROR=''
15797   else
15798     WERROR='-Werror'
15799   fi
15800
15801   # Check for -ffunction-sections -fdata-sections
15802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15803 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15804   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h.  */
15807 int foo; void bar() { };
15808 int
15809 main ()
15810 {
15811
15812   ;
15813   return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_cxx_try_compile "$LINENO"; then :
15817   ac_fdsections=yes
15818 else
15819   ac_fdsections=no
15820 fi
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822   if test "$ac_test_CXXFLAGS" = set; then
15823     CXXFLAGS="$ac_save_CXXFLAGS"
15824   else
15825     # this is the suspicious part
15826     CXXFLAGS=''
15827   fi
15828   if test x"$ac_fdsections" = x"yes"; then
15829     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15830   fi
15831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15832 $as_echo "$ac_fdsections" >&6; }
15833
15834   ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839
15840
15841
15842
15843
15844 # Enable all the variable C++ runtime options that don't require linking.
15845
15846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15847 $as_echo_n "checking for underlying I/O to use... " >&6; }
15848    # Check whether --enable-cstdio was given.
15849 if test "${enable_cstdio+set}" = set; then :
15850   enableval=$enable_cstdio;
15851       case "$enableval" in
15852        stdio) ;;
15853        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15854                         esac
15855
15856 else
15857   enable_cstdio=stdio
15858 fi
15859
15860
15861
15862   # Now that libio has been removed, you can have any color you want as long
15863   # as it's black.  This is one big no-op until other packages are added, but
15864   # showing the framework never hurts.
15865   case ${enable_cstdio} in
15866     stdio)
15867       CSTDIO_H=config/io/c_io_stdio.h
15868       BASIC_FILE_H=config/io/basic_file_stdio.h
15869       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15870       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15871 $as_echo "stdio" >&6; }
15872       ;;
15873   esac
15874
15875
15876
15877
15878
15879
15880    # Check whether --enable-clocale was given.
15881 if test "${enable_clocale+set}" = set; then :
15882   enableval=$enable_clocale;
15883       case "$enableval" in
15884        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15885        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15886                         esac
15887
15888 else
15889   enable_clocale=auto
15890 fi
15891
15892
15893
15894   # Deal with gettext issues.  Default to not using it (=no) until we detect
15895   # support for it later.  Let the user turn it off via --e/d, but let that
15896   # default to on for easier handling.
15897   USE_NLS=no
15898   # Check whether --enable-nls was given.
15899 if test "${enable_nls+set}" = set; then :
15900   enableval=$enable_nls;
15901 else
15902   enable_nls=yes
15903 fi
15904
15905
15906   # Either a known package, or "auto"
15907   if test $enable_clocale = no || test $enable_clocale = yes; then
15908      enable_clocale=auto
15909   fi
15910   enable_clocale_flag=$enable_clocale
15911
15912   # Probe for locale model to use if none specified.
15913   # Default to "generic".
15914   if test $enable_clocale_flag = auto; then
15915     case ${target_os} in
15916       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15917         enable_clocale_flag=gnu
15918         ;;
15919       darwin* | freebsd*)
15920         enable_clocale_flag=darwin
15921         ;;
15922       dragonfly*)
15923         enable_clocale_flag=dragonfly
15924         ;;
15925       openbsd*)
15926         enable_clocale_flag=newlib
15927         ;;
15928       *)
15929         if test x"$with_newlib" = x"yes"; then
15930           enable_clocale_flag=newlib
15931         else
15932           enable_clocale_flag=generic
15933         fi
15934         ;;
15935     esac
15936   fi
15937
15938   # Sanity check model, and test for special functionality.
15939   if test $enable_clocale_flag = gnu; then
15940     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h.  */
15942
15943     #include <features.h>
15944     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15945       _GLIBCXX_ok
15946     #endif
15947
15948 _ACEOF
15949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15950   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15951   enable_clocale_flag=gnu
15952 else
15953   enable_clocale_flag=generic
15954 fi
15955 rm -f conftest*
15956
15957
15958     # Set it to scream when it hurts.
15959     ac_save_CFLAGS="$CFLAGS"
15960     CFLAGS="-Wimplicit-function-declaration -Werror"
15961
15962     # Use strxfrm_l if available.
15963     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h.  */
15965 #define _GNU_SOURCE 1
15966                     #include <string.h>
15967                     #include <locale.h>
15968 int
15969 main ()
15970 {
15971 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15972   ;
15973   return 0;
15974 }
15975 _ACEOF
15976 if ac_fn_c_try_compile "$LINENO"; then :
15977
15978 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15979
15980 fi
15981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15982
15983     # Use strerror_l if available.
15984     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h.  */
15986 #define _GNU_SOURCE 1
15987                     #include <string.h>
15988                     #include <locale.h>
15989 int
15990 main ()
15991 {
15992 __locale_t loc; strerror_l(5, loc);
15993   ;
15994   return 0;
15995 }
15996 _ACEOF
15997 if ac_fn_c_try_compile "$LINENO"; then :
15998
15999 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16000
16001 fi
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16003
16004     CFLAGS="$ac_save_CFLAGS"
16005   fi
16006
16007   # Perhaps use strerror_r if available, and strerror_l isn't.
16008   ac_save_CFLAGS="$CFLAGS"
16009   CFLAGS="-Wimplicit-function-declaration -Werror"
16010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h.  */
16012 #define _GNU_SOURCE 1
16013                   #include <string.h>
16014                   #include <locale.h>
16015 int
16016 main ()
16017 {
16018 char s[128]; strerror_r(5, s, 128);
16019   ;
16020   return 0;
16021 }
16022 _ACEOF
16023 if ac_fn_c_try_compile "$LINENO"; then :
16024
16025 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16026
16027 fi
16028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16029   CFLAGS="$ac_save_CFLAGS"
16030
16031   # Set configure bits for specified locale package
16032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16033 $as_echo_n "checking for C locale to use... " >&6; }
16034   case ${enable_clocale_flag} in
16035     generic)
16036       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16037 $as_echo "generic" >&6; }
16038
16039       CLOCALE_H=config/locale/generic/c_locale.h
16040       CLOCALE_CC=config/locale/generic/c_locale.cc
16041       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16042       CCOLLATE_CC=config/locale/generic/collate_members.cc
16043       CCTYPE_CC=config/locale/generic/ctype_members.cc
16044       CMESSAGES_H=config/locale/generic/messages_members.h
16045       CMESSAGES_CC=config/locale/generic/messages_members.cc
16046       CMONEY_CC=config/locale/generic/monetary_members.cc
16047       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16048       CTIME_H=config/locale/generic/time_members.h
16049       CTIME_CC=config/locale/generic/time_members.cc
16050       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16051       ;;
16052     darwin)
16053       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16054 $as_echo "darwin or freebsd" >&6; }
16055
16056       CLOCALE_H=config/locale/generic/c_locale.h
16057       CLOCALE_CC=config/locale/generic/c_locale.cc
16058       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16059       CCOLLATE_CC=config/locale/generic/collate_members.cc
16060       CCTYPE_CC=config/locale/darwin/ctype_members.cc
16061       CMESSAGES_H=config/locale/generic/messages_members.h
16062       CMESSAGES_CC=config/locale/generic/messages_members.cc
16063       CMONEY_CC=config/locale/generic/monetary_members.cc
16064       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16065       CTIME_H=config/locale/generic/time_members.h
16066       CTIME_CC=config/locale/generic/time_members.cc
16067       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16068       ;;
16069
16070     dragonfly)
16071       { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16072 $as_echo "dragonfly" >&6; }
16073
16074       CLOCALE_H=config/locale/generic/c_locale.h
16075       CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16076       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16077       CCOLLATE_CC=config/locale/generic/collate_members.cc
16078       CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16079       CMESSAGES_H=config/locale/generic/messages_members.h
16080       CMESSAGES_CC=config/locale/generic/messages_members.cc
16081       CMONEY_CC=config/locale/generic/monetary_members.cc
16082       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16083       CTIME_H=config/locale/generic/time_members.h
16084       CTIME_CC=config/locale/generic/time_members.cc
16085       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086       ;;
16087
16088     gnu)
16089       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16090 $as_echo "gnu" >&6; }
16091
16092       # Declare intention to use gettext, and add support for specific
16093       # languages.
16094       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16095       ALL_LINGUAS="de fr"
16096
16097       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16098       # Extract the first word of "msgfmt", so it can be a program name with args.
16099 set dummy msgfmt; ac_word=$2
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16101 $as_echo_n "checking for $ac_word... " >&6; }
16102 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16103   $as_echo_n "(cached) " >&6
16104 else
16105   if test -n "$check_msgfmt"; then
16106   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16107 else
16108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16109 for as_dir in $PATH
16110 do
16111   IFS=$as_save_IFS
16112   test -z "$as_dir" && as_dir=.
16113     for ac_exec_ext in '' $ac_executable_extensions; do
16114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16115     ac_cv_prog_check_msgfmt="yes"
16116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16117     break 2
16118   fi
16119 done
16120   done
16121 IFS=$as_save_IFS
16122
16123   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16124 fi
16125 fi
16126 check_msgfmt=$ac_cv_prog_check_msgfmt
16127 if test -n "$check_msgfmt"; then
16128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16129 $as_echo "$check_msgfmt" >&6; }
16130 else
16131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16132 $as_echo "no" >&6; }
16133 fi
16134
16135
16136       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16137         USE_NLS=yes
16138       fi
16139       # Export the build objects.
16140       for ling in $ALL_LINGUAS; do \
16141         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16142         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16143       done
16144
16145
16146
16147       CLOCALE_H=config/locale/gnu/c_locale.h
16148       CLOCALE_CC=config/locale/gnu/c_locale.cc
16149       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16150       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16151       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16152       CMESSAGES_H=config/locale/gnu/messages_members.h
16153       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16154       CMONEY_CC=config/locale/gnu/monetary_members.cc
16155       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16156       CTIME_H=config/locale/gnu/time_members.h
16157       CTIME_CC=config/locale/gnu/time_members.cc
16158       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16159       ;;
16160     ieee_1003.1-2001)
16161       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16162 $as_echo "IEEE 1003.1" >&6; }
16163
16164       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16165       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16166       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16167       CCOLLATE_CC=config/locale/generic/collate_members.cc
16168       CCTYPE_CC=config/locale/generic/ctype_members.cc
16169       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16170       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16171       CMONEY_CC=config/locale/generic/monetary_members.cc
16172       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16173       CTIME_H=config/locale/generic/time_members.h
16174       CTIME_CC=config/locale/generic/time_members.cc
16175       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16176       ;;
16177     newlib)
16178       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16179 $as_echo "newlib" >&6; }
16180
16181       CLOCALE_H=config/locale/generic/c_locale.h
16182       CLOCALE_CC=config/locale/generic/c_locale.cc
16183       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16184       CCOLLATE_CC=config/locale/generic/collate_members.cc
16185       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16186       CMESSAGES_H=config/locale/generic/messages_members.h
16187       CMESSAGES_CC=config/locale/generic/messages_members.cc
16188       CMONEY_CC=config/locale/generic/monetary_members.cc
16189       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16190       CTIME_H=config/locale/generic/time_members.h
16191       CTIME_CC=config/locale/generic/time_members.cc
16192       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16193       ;;
16194   esac
16195
16196   # This is where the testsuite looks for locale catalogs, using the
16197   # -DLOCALEDIR define during testsuite compilation.
16198   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16199
16200
16201   # A standalone libintl (e.g., GNU libintl) may be in use.
16202   if test $USE_NLS = yes; then
16203     for ac_header in libintl.h
16204 do :
16205   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16207   cat >>confdefs.h <<_ACEOF
16208 #define HAVE_LIBINTL_H 1
16209 _ACEOF
16210
16211 else
16212   USE_NLS=no
16213 fi
16214
16215 done
16216
16217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16218 $as_echo_n "checking for library containing gettext... " >&6; }
16219 if test "${ac_cv_search_gettext+set}" = set; then :
16220   $as_echo_n "(cached) " >&6
16221 else
16222   ac_func_search_save_LIBS=$LIBS
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h.  */
16225
16226 /* Override any GCC internal prototype to avoid an error.
16227    Use char because int might match the return type of a GCC
16228    builtin and then its argument prototype would still apply.  */
16229 #ifdef __cplusplus
16230 extern "C"
16231 #endif
16232 char gettext ();
16233 int
16234 main ()
16235 {
16236 return gettext ();
16237   ;
16238   return 0;
16239 }
16240 _ACEOF
16241 for ac_lib in '' intl; do
16242   if test -z "$ac_lib"; then
16243     ac_res="none required"
16244   else
16245     ac_res=-l$ac_lib
16246     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16247   fi
16248   if test x$gcc_no_link = xyes; then
16249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16250 fi
16251 if ac_fn_c_try_link "$LINENO"; then :
16252   ac_cv_search_gettext=$ac_res
16253 fi
16254 rm -f core conftest.err conftest.$ac_objext \
16255     conftest$ac_exeext
16256   if test "${ac_cv_search_gettext+set}" = set; then :
16257   break
16258 fi
16259 done
16260 if test "${ac_cv_search_gettext+set}" = set; then :
16261
16262 else
16263   ac_cv_search_gettext=no
16264 fi
16265 rm conftest.$ac_ext
16266 LIBS=$ac_func_search_save_LIBS
16267 fi
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16269 $as_echo "$ac_cv_search_gettext" >&6; }
16270 ac_res=$ac_cv_search_gettext
16271 if test "$ac_res" != no; then :
16272   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16273
16274 else
16275   USE_NLS=no
16276 fi
16277
16278   fi
16279   if test $USE_NLS = yes; then
16280
16281 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16282
16283   fi
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16301 $as_echo_n "checking for std::allocator base class... " >&6; }
16302    # Check whether --enable-libstdcxx-allocator was given.
16303 if test "${enable_libstdcxx_allocator+set}" = set; then :
16304   enableval=$enable_libstdcxx_allocator;
16305       case "$enableval" in
16306        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16307        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16308                         esac
16309
16310 else
16311   enable_libstdcxx_allocator=auto
16312 fi
16313
16314
16315
16316   # If they didn't use this option switch, or if they specified --enable
16317   # with no specific model, we'll have to look for one.  If they
16318   # specified --disable (???), do likewise.
16319   if test $enable_libstdcxx_allocator = no ||
16320      test $enable_libstdcxx_allocator = yes;
16321   then
16322      enable_libstdcxx_allocator=auto
16323   fi
16324
16325   # Either a known package, or "auto". Auto implies the default choice
16326   # for a particular platform.
16327   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16328
16329   # Probe for host-specific support if no specific model is specified.
16330   # Default to "new".
16331   if test $enable_libstdcxx_allocator_flag = auto; then
16332     case ${target_os} in
16333       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16334         enable_libstdcxx_allocator_flag=new
16335         ;;
16336       *)
16337         enable_libstdcxx_allocator_flag=new
16338         ;;
16339     esac
16340   fi
16341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16342 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16343
16344
16345   # Set configure bits for specified locale package
16346   case ${enable_libstdcxx_allocator_flag} in
16347     bitmap)
16348       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16349       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16350       ;;
16351     malloc)
16352       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16353       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16354       ;;
16355     mt)
16356       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16357       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16358       ;;
16359     new)
16360       ALLOCATOR_H=config/allocator/new_allocator_base.h
16361       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16362       ;;
16363     pool)
16364       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16365       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16366       ;;
16367   esac
16368
16369
16370
16371
16372
16373    # Check whether --enable-cheaders was given.
16374 if test "${enable_cheaders+set}" = set; then :
16375   enableval=$enable_cheaders;
16376       case "$enableval" in
16377        c|c_std|c_global) ;;
16378        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16379                         esac
16380
16381 else
16382   enable_cheaders=$c_model
16383 fi
16384
16385
16386   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16387 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16388
16389   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16390
16391   # Allow overrides to configure.host here.
16392   if test $enable_cheaders = c_global; then
16393      c_compatibility=yes
16394   fi
16395
16396
16397
16398
16399
16400
16401
16402    # Check whether --enable-long-long was given.
16403 if test "${enable_long_long+set}" = set; then :
16404   enableval=$enable_long_long;
16405       case "$enableval" in
16406        yes|no) ;;
16407        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16408       esac
16409
16410 else
16411   enable_long_long=yes
16412 fi
16413
16414
16415   if test $enable_long_long = yes; then
16416
16417 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16418
16419   fi
16420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16421 $as_echo_n "checking for enabled long long specializations... " >&6; }
16422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16423 $as_echo "$enable_long_long" >&6; }
16424
16425
16426    # Check whether --enable-wchar_t was given.
16427 if test "${enable_wchar_t+set}" = set; then :
16428   enableval=$enable_wchar_t;
16429       case "$enableval" in
16430        yes|no) ;;
16431        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16432       esac
16433
16434 else
16435   enable_wchar_t=yes
16436 fi
16437
16438
16439
16440   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16441   for ac_header in wchar.h
16442 do :
16443   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16444 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16445   cat >>confdefs.h <<_ACEOF
16446 #define HAVE_WCHAR_H 1
16447 _ACEOF
16448  ac_has_wchar_h=yes
16449 else
16450   ac_has_wchar_h=no
16451 fi
16452
16453 done
16454
16455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16456 $as_echo_n "checking for mbstate_t... " >&6; }
16457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h.  */
16459 #include <wchar.h>
16460 int
16461 main ()
16462 {
16463 mbstate_t teststate;
16464   ;
16465   return 0;
16466 }
16467 _ACEOF
16468 if ac_fn_c_try_compile "$LINENO"; then :
16469   have_mbstate_t=yes
16470 else
16471   have_mbstate_t=no
16472 fi
16473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16475 $as_echo "$have_mbstate_t" >&6; }
16476   if test x"$have_mbstate_t" = xyes; then
16477
16478 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16479
16480   fi
16481
16482   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16483   # ac_has_wchar_h.
16484   for ac_header in wctype.h
16485 do :
16486   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16487 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16488   cat >>confdefs.h <<_ACEOF
16489 #define HAVE_WCTYPE_H 1
16490 _ACEOF
16491  ac_has_wctype_h=yes
16492 else
16493   ac_has_wctype_h=no
16494 fi
16495
16496 done
16497
16498
16499   if test x"$enable_wchar_t" = x"yes"; then
16500
16501
16502     ac_ext=cpp
16503 ac_cpp='$CXXCPP $CPPFLAGS'
16504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16507
16508
16509     if test x"$ac_has_wchar_h" = xyes &&
16510        test x"$ac_has_wctype_h" = xyes; then
16511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h.  */
16513 #include <wchar.h>
16514                       #include <stddef.h>
16515                       wint_t i;
16516                       long l = WEOF;
16517                       long j = WCHAR_MIN;
16518                       long k = WCHAR_MAX;
16519                       namespace test
16520                       {
16521                         using ::btowc;
16522                         using ::fgetwc;
16523                         using ::fgetws;
16524                         using ::fputwc;
16525                         using ::fputws;
16526                         using ::fwide;
16527                         using ::fwprintf;
16528                         using ::fwscanf;
16529                         using ::getwc;
16530                         using ::getwchar;
16531                         using ::mbrlen;
16532                         using ::mbrtowc;
16533                         using ::mbsinit;
16534                         using ::mbsrtowcs;
16535                         using ::putwc;
16536                         using ::putwchar;
16537                         using ::swprintf;
16538                         using ::swscanf;
16539                         using ::ungetwc;
16540                         using ::vfwprintf;
16541                         using ::vswprintf;
16542                         using ::vwprintf;
16543                         using ::wcrtomb;
16544                         using ::wcscat;
16545                         using ::wcschr;
16546                         using ::wcscmp;
16547                         using ::wcscoll;
16548                         using ::wcscpy;
16549                         using ::wcscspn;
16550                         using ::wcsftime;
16551                         using ::wcslen;
16552                         using ::wcsncat;
16553                         using ::wcsncmp;
16554                         using ::wcsncpy;
16555                         using ::wcspbrk;
16556                         using ::wcsrchr;
16557                         using ::wcsrtombs;
16558                         using ::wcsspn;
16559                         using ::wcsstr;
16560                         using ::wcstod;
16561                         using ::wcstok;
16562                         using ::wcstol;
16563                         using ::wcstoul;
16564                         using ::wcsxfrm;
16565                         using ::wctob;
16566                         using ::wmemchr;
16567                         using ::wmemcmp;
16568                         using ::wmemcpy;
16569                         using ::wmemmove;
16570                         using ::wmemset;
16571                         using ::wprintf;
16572                         using ::wscanf;
16573                       }
16574
16575 int
16576 main ()
16577 {
16578
16579   ;
16580   return 0;
16581 }
16582 _ACEOF
16583 if ac_fn_cxx_try_compile "$LINENO"; then :
16584
16585 else
16586   enable_wchar_t=no
16587 fi
16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589     else
16590       enable_wchar_t=no
16591     fi
16592
16593     ac_ext=c
16594 ac_cpp='$CPP $CPPFLAGS'
16595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598
16599   fi
16600
16601   if test x"$enable_wchar_t" = x"yes"; then
16602
16603 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16604
16605   fi
16606
16607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16608 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16610 $as_echo "$enable_wchar_t" >&6; }
16611
16612
16613
16614    # Check whether --enable-c99 was given.
16615 if test "${enable_c99+set}" = set; then :
16616   enableval=$enable_c99;
16617       case "$enableval" in
16618        yes|no) ;;
16619        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16620       esac
16621
16622 else
16623   enable_c99=yes
16624 fi
16625
16626
16627
16628   if test x"$enable_c99" = x"yes"; then
16629
16630
16631   ac_ext=cpp
16632 ac_cpp='$CXXCPP $CPPFLAGS'
16633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16636
16637
16638   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16639   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16640   # spuriously enabled.
16641   # Long term, -std=c++0x could be even better, could manage to explicitly
16642   # request C99 facilities to the underlying C headers.
16643   ac_save_CXXFLAGS="$CXXFLAGS"
16644   CXXFLAGS="$CXXFLAGS -std=c++98"
16645   ac_save_LIBS="$LIBS"
16646   ac_save_gcc_no_link="$gcc_no_link"
16647
16648   if test x$gcc_no_link != xyes; then
16649     # Use -fno-exceptions to that the C driver can link these tests without
16650     # hitting undefined references to personality routines.
16651     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16653 $as_echo_n "checking for sin in -lm... " >&6; }
16654 if test "${ac_cv_lib_m_sin+set}" = set; then :
16655   $as_echo_n "(cached) " >&6
16656 else
16657   ac_check_lib_save_LIBS=$LIBS
16658 LIBS="-lm  $LIBS"
16659 if test x$gcc_no_link = xyes; then
16660   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16661 fi
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h.  */
16664
16665 /* Override any GCC internal prototype to avoid an error.
16666    Use char because int might match the return type of a GCC
16667    builtin and then its argument prototype would still apply.  */
16668 #ifdef __cplusplus
16669 extern "C"
16670 #endif
16671 char sin ();
16672 int
16673 main ()
16674 {
16675 return sin ();
16676   ;
16677   return 0;
16678 }
16679 _ACEOF
16680 if ac_fn_cxx_try_link "$LINENO"; then :
16681   ac_cv_lib_m_sin=yes
16682 else
16683   ac_cv_lib_m_sin=no
16684 fi
16685 rm -f core conftest.err conftest.$ac_objext \
16686     conftest$ac_exeext conftest.$ac_ext
16687 LIBS=$ac_check_lib_save_LIBS
16688 fi
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16690 $as_echo "$ac_cv_lib_m_sin" >&6; }
16691 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16692
16693       LIBS="$LIBS -lm"
16694
16695 else
16696
16697       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16698       gcc_no_link=yes
16699
16700 fi
16701
16702   fi
16703
16704   # Check for the existence of <math.h> functions used if C99 is enabled.
16705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16706 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16707   if test "${glibcxx_cv_c99_math+set}" = set; then :
16708   $as_echo_n "(cached) " >&6
16709 else
16710
16711   if test x$gcc_no_link = xyes; then
16712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h.  */
16714 #include <math.h>
16715       volatile double d1, d2;
16716       volatile int i;
16717 int
16718 main ()
16719 {
16720 i = fpclassify(d1);
16721       i = isfinite(d1);
16722       i = isinf(d1);
16723       i = isnan(d1);
16724       i = isnormal(d1);
16725       i = signbit(d1);
16726       i = isgreater(d1, d2);
16727       i = isgreaterequal(d1, d2);
16728       i = isless(d1, d2);
16729       i = islessequal(d1, d2);
16730       i = islessgreater(d1, d2);
16731       i = islessgreater(d1, d2);
16732       i = isunordered(d1, d2);
16733
16734   ;
16735   return 0;
16736 }
16737 _ACEOF
16738 if ac_fn_cxx_try_compile "$LINENO"; then :
16739   glibcxx_cv_c99_math=yes
16740 else
16741   glibcxx_cv_c99_math=no
16742 fi
16743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16744 else
16745   if test x$gcc_no_link = xyes; then
16746   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16747 fi
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h.  */
16750 #include <math.h>
16751       volatile double d1, d2;
16752       volatile int i;
16753 int
16754 main ()
16755 {
16756 i = fpclassify(d1);
16757       i = isfinite(d1);
16758       i = isinf(d1);
16759       i = isnan(d1);
16760       i = isnormal(d1);
16761       i = signbit(d1);
16762       i = isgreater(d1, d2);
16763       i = isgreaterequal(d1, d2);
16764       i = isless(d1, d2);
16765       i = islessequal(d1, d2);
16766       i = islessgreater(d1, d2);
16767       i = islessgreater(d1, d2);
16768       i = isunordered(d1, d2);
16769
16770   ;
16771   return 0;
16772 }
16773 _ACEOF
16774 if ac_fn_cxx_try_link "$LINENO"; then :
16775   glibcxx_cv_c99_math=yes
16776 else
16777   glibcxx_cv_c99_math=no
16778 fi
16779 rm -f core conftest.err conftest.$ac_objext \
16780     conftest$ac_exeext conftest.$ac_ext
16781 fi
16782
16783 fi
16784
16785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16786 $as_echo "$glibcxx_cv_c99_math" >&6; }
16787   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16788
16789 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16790
16791   fi
16792
16793   # Check for the existence of <complex.h> complex math functions.
16794   # This is necessary even though libstdc++ uses the builtin versions
16795   # of these functions, because if the builtin cannot be used, a reference
16796   # to the library function is emitted.
16797   for ac_header in tgmath.h
16798 do :
16799   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16800 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16801   cat >>confdefs.h <<_ACEOF
16802 #define HAVE_TGMATH_H 1
16803 _ACEOF
16804  ac_has_tgmath_h=yes
16805 else
16806   ac_has_tgmath_h=no
16807 fi
16808
16809 done
16810
16811   for ac_header in complex.h
16812 do :
16813   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_complex_h" = x""yes; then :
16815   cat >>confdefs.h <<_ACEOF
16816 #define HAVE_COMPLEX_H 1
16817 _ACEOF
16818  ac_has_complex_h=yes
16819 else
16820   ac_has_complex_h=no
16821 fi
16822
16823 done
16824
16825   glibcxx_cv_c99_complex=no;
16826   if test x"$ac_has_complex_h" = x"yes"; then
16827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16828 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16829     if test x$gcc_no_link = xyes; then
16830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h.  */
16832 #include <complex.h>
16833         typedef __complex__ float float_type;
16834         typedef __complex__ double double_type;
16835         typedef __complex__ long double ld_type;
16836         volatile float_type tmpf;
16837         volatile double_type tmpd;
16838         volatile ld_type tmpld;
16839         volatile float f;
16840         volatile double d;
16841         volatile long double ld;
16842 int
16843 main ()
16844 {
16845 f = cabsf(tmpf);
16846         f = cargf(tmpf);
16847         tmpf = ccosf(tmpf);
16848         tmpf = ccoshf(tmpf);
16849         tmpf = cexpf(tmpf);
16850         tmpf = clogf(tmpf);
16851         tmpf = csinf(tmpf);
16852         tmpf = csinhf(tmpf);
16853         tmpf = csqrtf(tmpf);
16854         tmpf = ctanf(tmpf);
16855         tmpf = ctanhf(tmpf);
16856         tmpf = cpowf(tmpf, tmpf);
16857         tmpf = cprojf(tmpf);
16858         d = cabs(tmpd);
16859         d = carg(tmpd);
16860         tmpd = ccos(tmpd);
16861         tmpd = ccosh(tmpd);
16862         tmpd = cexp(tmpd);
16863         tmpd = clog(tmpd);
16864         tmpd = csin(tmpd);
16865         tmpd = csinh(tmpd);
16866         tmpd = csqrt(tmpd);
16867         tmpd = ctan(tmpd);
16868         tmpd = ctanh(tmpd);
16869         tmpd = cpow(tmpd, tmpd);
16870         tmpd = cproj(tmpd);
16871         ld = cabsl(tmpld);
16872         ld = cargl(tmpld);
16873         tmpld = ccosl(tmpld);
16874         tmpld = ccoshl(tmpld);
16875         tmpld = cexpl(tmpld);
16876         tmpld = clogl(tmpld);
16877         tmpld = csinl(tmpld);
16878         tmpld = csinhl(tmpld);
16879         tmpld = csqrtl(tmpld);
16880         tmpld = ctanl(tmpld);
16881         tmpld = ctanhl(tmpld);
16882         tmpld = cpowl(tmpld, tmpld);
16883         tmpld = cprojl(tmpld);
16884
16885   ;
16886   return 0;
16887 }
16888 _ACEOF
16889 if ac_fn_cxx_try_compile "$LINENO"; then :
16890   glibcxx_cv_c99_complex=yes
16891 else
16892   glibcxx_cv_c99_complex=no
16893 fi
16894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 else
16896   if test x$gcc_no_link = xyes; then
16897   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16898 fi
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h.  */
16901 #include <complex.h>
16902         typedef __complex__ float float_type;
16903         typedef __complex__ double double_type;
16904         typedef __complex__ long double ld_type;
16905         volatile float_type tmpf;
16906         volatile double_type tmpd;
16907         volatile ld_type tmpld;
16908         volatile float f;
16909         volatile double d;
16910         volatile long double ld;
16911 int
16912 main ()
16913 {
16914 f = cabsf(tmpf);
16915         f = cargf(tmpf);
16916         tmpf = ccosf(tmpf);
16917         tmpf = ccoshf(tmpf);
16918         tmpf = cexpf(tmpf);
16919         tmpf = clogf(tmpf);
16920         tmpf = csinf(tmpf);
16921         tmpf = csinhf(tmpf);
16922         tmpf = csqrtf(tmpf);
16923         tmpf = ctanf(tmpf);
16924         tmpf = ctanhf(tmpf);
16925         tmpf = cpowf(tmpf, tmpf);
16926         tmpf = cprojf(tmpf);
16927         d = cabs(tmpd);
16928         d = carg(tmpd);
16929         tmpd = ccos(tmpd);
16930         tmpd = ccosh(tmpd);
16931         tmpd = cexp(tmpd);
16932         tmpd = clog(tmpd);
16933         tmpd = csin(tmpd);
16934         tmpd = csinh(tmpd);
16935         tmpd = csqrt(tmpd);
16936         tmpd = ctan(tmpd);
16937         tmpd = ctanh(tmpd);
16938         tmpd = cpow(tmpd, tmpd);
16939         tmpd = cproj(tmpd);
16940         ld = cabsl(tmpld);
16941         ld = cargl(tmpld);
16942         tmpld = ccosl(tmpld);
16943         tmpld = ccoshl(tmpld);
16944         tmpld = cexpl(tmpld);
16945         tmpld = clogl(tmpld);
16946         tmpld = csinl(tmpld);
16947         tmpld = csinhl(tmpld);
16948         tmpld = csqrtl(tmpld);
16949         tmpld = ctanl(tmpld);
16950         tmpld = ctanhl(tmpld);
16951         tmpld = cpowl(tmpld, tmpld);
16952         tmpld = cprojl(tmpld);
16953
16954   ;
16955   return 0;
16956 }
16957 _ACEOF
16958 if ac_fn_cxx_try_link "$LINENO"; then :
16959   glibcxx_cv_c99_complex=yes
16960 else
16961   glibcxx_cv_c99_complex=no
16962 fi
16963 rm -f core conftest.err conftest.$ac_objext \
16964     conftest$ac_exeext conftest.$ac_ext
16965 fi
16966   fi
16967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16968 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16969   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16970
16971 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16972
16973   fi
16974
16975   # Check for the existence in <stdio.h> of vscanf, et. al.
16976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16977 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16978   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16979   $as_echo_n "(cached) " >&6
16980 else
16981
16982   if test x$gcc_no_link = xyes; then
16983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h.  */
16985 #include <stdio.h>
16986       #include <stdarg.h>
16987       void foo(char* fmt, ...)
16988       {
16989         va_list args; va_start(args, fmt);
16990         vfscanf(stderr, "%i", args);
16991         vscanf("%i", args);
16992         vsnprintf(fmt, 0, "%i", args);
16993         vsscanf(fmt, "%i", args);
16994         snprintf(fmt, 0, "%i");
16995       }
16996 int
16997 main ()
16998 {
16999
17000   ;
17001   return 0;
17002 }
17003 _ACEOF
17004 if ac_fn_cxx_try_compile "$LINENO"; then :
17005   glibcxx_cv_c99_stdio=yes
17006 else
17007   glibcxx_cv_c99_stdio=no
17008 fi
17009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 else
17011   if test x$gcc_no_link = xyes; then
17012   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17013 fi
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h.  */
17016 #include <stdio.h>
17017       #include <stdarg.h>
17018       void foo(char* fmt, ...)
17019       {
17020         va_list args; va_start(args, fmt);
17021         vfscanf(stderr, "%i", args);
17022         vscanf("%i", args);
17023         vsnprintf(fmt, 0, "%i", args);
17024         vsscanf(fmt, "%i", args);
17025         snprintf(fmt, 0, "%i");
17026       }
17027 int
17028 main ()
17029 {
17030
17031   ;
17032   return 0;
17033 }
17034 _ACEOF
17035 if ac_fn_cxx_try_link "$LINENO"; then :
17036   glibcxx_cv_c99_stdio=yes
17037 else
17038   glibcxx_cv_c99_stdio=no
17039 fi
17040 rm -f core conftest.err conftest.$ac_objext \
17041     conftest$ac_exeext conftest.$ac_ext
17042 fi
17043
17044 fi
17045
17046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
17047 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
17048
17049   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
17051 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
17052   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
17053   $as_echo_n "(cached) " >&6
17054 else
17055
17056   if test x$gcc_no_link = xyes; then
17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h.  */
17059 #include <stdlib.h>
17060       volatile float f;
17061       volatile long double ld;
17062       volatile unsigned long long ll;
17063       lldiv_t mydivt;
17064 int
17065 main ()
17066 {
17067 char* tmp;
17068       f = strtof("gnu", &tmp);
17069       ld = strtold("gnu", &tmp);
17070       ll = strtoll("gnu", &tmp, 10);
17071       ll = strtoull("gnu", &tmp, 10);
17072       ll = llabs(10);
17073       mydivt = lldiv(10,1);
17074       ll = mydivt.quot;
17075       ll = mydivt.rem;
17076       ll = atoll("10");
17077       _Exit(0);
17078
17079   ;
17080   return 0;
17081 }
17082 _ACEOF
17083 if ac_fn_cxx_try_compile "$LINENO"; then :
17084   glibcxx_cv_c99_stdlib=yes
17085 else
17086   glibcxx_cv_c99_stdlib=no
17087 fi
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 else
17090   if test x$gcc_no_link = xyes; then
17091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17092 fi
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h.  */
17095 #include <stdlib.h>
17096       volatile float f;
17097       volatile long double ld;
17098       volatile unsigned long long ll;
17099       lldiv_t mydivt;
17100 int
17101 main ()
17102 {
17103 char* tmp;
17104       f = strtof("gnu", &tmp);
17105       ld = strtold("gnu", &tmp);
17106       ll = strtoll("gnu", &tmp, 10);
17107       ll = strtoull("gnu", &tmp, 10);
17108       ll = llabs(10);
17109       mydivt = lldiv(10,1);
17110       ll = mydivt.quot;
17111       ll = mydivt.rem;
17112       ll = atoll("10");
17113       _Exit(0);
17114
17115   ;
17116   return 0;
17117 }
17118 _ACEOF
17119 if ac_fn_cxx_try_link "$LINENO"; then :
17120   glibcxx_cv_c99_stdlib=yes
17121 else
17122   glibcxx_cv_c99_stdlib=no
17123 fi
17124 rm -f core conftest.err conftest.$ac_objext \
17125     conftest$ac_exeext conftest.$ac_ext
17126 fi
17127
17128 fi
17129
17130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17131 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17132
17133   # Check for the existence in <wchar.h> of wcstold, etc.
17134   glibcxx_cv_c99_wchar=no;
17135   if test x"$ac_has_wchar_h" = xyes &&
17136      test x"$ac_has_wctype_h" = xyes; then
17137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17138 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17139     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h.  */
17141 #include <wchar.h>
17142                     namespace test
17143                     {
17144                       using ::wcstold;
17145                       using ::wcstoll;
17146                       using ::wcstoull;
17147                     }
17148
17149 int
17150 main ()
17151 {
17152
17153   ;
17154   return 0;
17155 }
17156 _ACEOF
17157 if ac_fn_cxx_try_compile "$LINENO"; then :
17158   glibcxx_cv_c99_wchar=yes
17159 else
17160   glibcxx_cv_c99_wchar=no
17161 fi
17162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163
17164     # Checks for wide character functions that may not be present.
17165     # Injection of these is wrapped with guard macros.
17166     # NB: only put functions here, instead of immediately above, if
17167     # absolutely necessary.
17168     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h.  */
17170 #include <wchar.h>
17171                     namespace test { using ::vfwscanf; }
17172 int
17173 main ()
17174 {
17175
17176   ;
17177   return 0;
17178 }
17179 _ACEOF
17180 if ac_fn_cxx_try_compile "$LINENO"; then :
17181
17182 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17183
17184 fi
17185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186
17187     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h.  */
17189 #include <wchar.h>
17190                     namespace test { using ::vswscanf; }
17191 int
17192 main ()
17193 {
17194
17195   ;
17196   return 0;
17197 }
17198 _ACEOF
17199 if ac_fn_cxx_try_compile "$LINENO"; then :
17200
17201 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17202
17203 fi
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17205
17206     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h.  */
17208 #include <wchar.h>
17209                     namespace test { using ::vwscanf; }
17210 int
17211 main ()
17212 {
17213
17214   ;
17215   return 0;
17216 }
17217 _ACEOF
17218 if ac_fn_cxx_try_compile "$LINENO"; then :
17219
17220 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17221
17222 fi
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17224
17225     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h.  */
17227 #include <wchar.h>
17228                     namespace test { using ::wcstof; }
17229 int
17230 main ()
17231 {
17232
17233   ;
17234   return 0;
17235 }
17236 _ACEOF
17237 if ac_fn_cxx_try_compile "$LINENO"; then :
17238
17239 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17240
17241 fi
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243
17244     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h.  */
17246 #include <wctype.h>
17247 int
17248 main ()
17249 {
17250  wint_t t; int i = iswblank(t);
17251   ;
17252   return 0;
17253 }
17254 _ACEOF
17255 if ac_fn_cxx_try_compile "$LINENO"; then :
17256
17257 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17258
17259 fi
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261
17262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17263 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17264   fi
17265
17266   # Option parsed, now set things appropriately.
17267   if test x"$glibcxx_cv_c99_math" = x"no" ||
17268      test x"$glibcxx_cv_c99_complex" = x"no" ||
17269      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17270      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17271      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17272     enable_c99=no;
17273   else
17274
17275 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17276
17277   fi
17278
17279   gcc_no_link="$ac_save_gcc_no_link"
17280   LIBS="$ac_save_LIBS"
17281   CXXFLAGS="$ac_save_CXXFLAGS"
17282   ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17287
17288   fi
17289
17290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17291 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17293 $as_echo "$enable_c99" >&6; }
17294
17295
17296    # Check whether --enable-concept-checks was given.
17297 if test "${enable_concept_checks+set}" = set; then :
17298   enableval=$enable_concept_checks;
17299       case "$enableval" in
17300        yes|no) ;;
17301        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17302       esac
17303
17304 else
17305   enable_concept_checks=no
17306 fi
17307
17308
17309   if test $enable_concept_checks = yes; then
17310
17311 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17312
17313   fi
17314
17315
17316    # Check whether --enable-libstdcxx-debug-flags was given.
17317 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17318   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17319       xno | x)    enable_libstdcxx_debug_flags= ;;
17320       x-*)        ;;
17321       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17322      esac
17323 else
17324   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17325 fi
17326
17327
17328
17329   # Option parsed, now set things appropriately
17330   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17331
17332
17333   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17334 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17335
17336
17337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17338 $as_echo_n "checking for additional debug build... " >&6; }
17339    # Check whether --enable-libstdcxx-debug was given.
17340 if test "${enable_libstdcxx_debug+set}" = set; then :
17341   enableval=$enable_libstdcxx_debug;
17342       case "$enableval" in
17343        yes|no) ;;
17344        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17345       esac
17346
17347 else
17348   enable_libstdcxx_debug=no
17349 fi
17350
17351
17352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17353 $as_echo "$enable_libstdcxx_debug" >&6; }
17354
17355
17356
17357
17358   enable_parallel=no;
17359
17360   # See if configured libgomp/omp.h exists. (libgomp may be in
17361   # noconfigdirs but not explicitly disabled.)
17362   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17363     enable_parallel=yes;
17364   else
17365     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17366 $as_echo "$as_me: target-libgomp not built" >&6;}
17367   fi
17368
17369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17370 $as_echo_n "checking for parallel mode support... " >&6; }
17371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17372 $as_echo "$enable_parallel" >&6; }
17373
17374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17375 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17376    # Check whether --enable-cxx-flags was given.
17377 if test "${enable_cxx_flags+set}" = set; then :
17378   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17379       xno | x)   enable_cxx_flags= ;;
17380       x-*)       ;;
17381       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17382      esac
17383 else
17384   enable_cxx_flags=
17385 fi
17386
17387
17388
17389   # Run through flags (either default or command-line) and set anything
17390   # extra (e.g., #defines) that must accompany particular g++ options.
17391   if test -n "$enable_cxx_flags"; then
17392     for f in $enable_cxx_flags; do
17393       case "$f" in
17394         -fhonor-std)  ;;
17395         -*)  ;;
17396         *)   # and we're trying to pass /what/ exactly?
17397              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17398       esac
17399     done
17400   fi
17401
17402   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17404 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17405
17406
17407
17408    # Check whether --enable-fully-dynamic-string was given.
17409 if test "${enable_fully_dynamic_string+set}" = set; then :
17410   enableval=$enable_fully_dynamic_string;
17411       case "$enableval" in
17412        yes|no) ;;
17413        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17414       esac
17415
17416 else
17417   enable_fully_dynamic_string=no
17418 fi
17419
17420
17421   if test $enable_fully_dynamic_string = yes; then
17422     enable_fully_dynamic_string_def=1
17423   else
17424     enable_fully_dynamic_string_def=0
17425   fi
17426
17427 cat >>confdefs.h <<_ACEOF
17428 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17429 _ACEOF
17430
17431
17432
17433
17434    # Check whether --enable-extern-template was given.
17435 if test "${enable_extern_template+set}" = set; then :
17436   enableval=$enable_extern_template;
17437       case "$enableval" in
17438        yes|no) ;;
17439        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17440       esac
17441
17442 else
17443   enable_extern_template=yes
17444 fi
17445
17446
17447
17448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17449 $as_echo_n "checking for extern template support... " >&6; }
17450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17451 $as_echo "$enable_extern_template" >&6; }
17452
17453
17454
17455
17456
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17458 $as_echo_n "checking for custom python install directory... " >&6; }
17459
17460 # Check whether --with-python-dir was given.
17461 if test "${with_python_dir+set}" = set; then :
17462   withval=$with_python_dir; with_python_dir=$withval
17463 else
17464   with_python_dir="no"
17465 fi
17466
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17468 $as_echo "${with_python_dir}" >&6; }
17469
17470 # Needed for installing Python modules during make install.
17471 python_mod_dir="${with_python_dir}"
17472
17473
17474
17475
17476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17477 $as_echo_n "checking for -Werror... " >&6; }
17478    # Check whether --enable-werror was given.
17479 if test "${enable_werror+set}" = set; then :
17480   enableval=$enable_werror;
17481       case "$enableval" in
17482        yes|no) ;;
17483        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17484       esac
17485
17486 else
17487   enable_werror=yes
17488 fi
17489
17490
17491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17492 $as_echo "$enable_werror" >&6; }
17493
17494
17495
17496
17497    # Check whether --enable-vtable-verify was given.
17498 if test "${enable_vtable_verify+set}" = set; then :
17499   enableval=$enable_vtable_verify;
17500       case "$enableval" in
17501        yes|no) ;;
17502        *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17503       esac
17504
17505 else
17506   enable_vtable_verify=no
17507 fi
17508
17509
17510
17511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17512 $as_echo_n "checking for vtable verify support... " >&6; }
17513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17514 $as_echo "$enable_vtable_verify" >&6; }
17515
17516   vtv_cygmin=no
17517   if test $enable_vtable_verify = yes; then
17518     case ${target_os} in
17519       cygwin*|mingw32*)
17520         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17521         vtv_cygmin=yes
17522         ;;
17523       *)
17524         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17525         ;;
17526     esac
17527     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17528     VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17529   else
17530     VTV_CXXFLAGS=
17531     VTV_PCH_CXXFLAGS=
17532     VTV_CXXLINKFLAGS=
17533   fi
17534
17535
17536
17537
17538    if test x$vtv_cygmin = xyes; then
17539   VTV_CYGMIN_TRUE=
17540   VTV_CYGMIN_FALSE='#'
17541 else
17542   VTV_CYGMIN_TRUE='#'
17543   VTV_CYGMIN_FALSE=
17544 fi
17545
17546
17547
17548
17549 # Checks for operating systems support that doesn't require linking.
17550
17551
17552
17553   ac_ext=cpp
17554 ac_cpp='$CXXCPP $CPPFLAGS'
17555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17558
17559
17560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17561 $as_echo_n "checking for gets declaration... " >&6; }
17562   if test "${glibcxx_cv_gets+set}" = set; then :
17563   $as_echo_n "(cached) " >&6
17564 else
17565
17566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h.  */
17568 #include <stdio.h>
17569            namespace test
17570            {
17571               using ::gets;
17572            }
17573
17574 _ACEOF
17575 if ac_fn_cxx_try_compile "$LINENO"; then :
17576   glibcxx_cv_gets=yes
17577 else
17578   glibcxx_cv_gets=no
17579
17580 fi
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 fi
17583
17584
17585   if test $glibcxx_cv_gets = yes; then
17586
17587 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17588
17589   fi
17590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17591 $as_echo "$glibcxx_cv_gets" >&6; }
17592
17593   ac_ext=c
17594 ac_cpp='$CPP $CPPFLAGS'
17595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17598
17599
17600
17601
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17603 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17604 if test "${glibcxx_cv_system_error1+set}" = set; then :
17605   $as_echo_n "(cached) " >&6
17606 else
17607
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h.  */
17610 #include <errno.h>
17611 int
17612 main ()
17613 {
17614 int i = EOWNERDEAD;
17615   ;
17616   return 0;
17617 }
17618 _ACEOF
17619 if ac_fn_c_try_compile "$LINENO"; then :
17620   glibcxx_cv_system_error1=yes
17621 else
17622   glibcxx_cv_system_error1=no
17623 fi
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625
17626 fi
17627
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17629 $as_echo "$glibcxx_cv_system_error1" >&6; }
17630 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17631
17632 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17633
17634 fi
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17636 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17637 if test "${glibcxx_cv_system_error2+set}" = set; then :
17638   $as_echo_n "(cached) " >&6
17639 else
17640
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h.  */
17643 #include <errno.h>
17644 int
17645 main ()
17646 {
17647 int i = ENOTRECOVERABLE;
17648   ;
17649   return 0;
17650 }
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653   glibcxx_cv_system_error2=yes
17654 else
17655   glibcxx_cv_system_error2=no
17656 fi
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658
17659 fi
17660
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17662 $as_echo "$glibcxx_cv_system_error2" >&6; }
17663 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17664
17665 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17666
17667 fi
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17669 $as_echo_n "checking for ENOLINK... " >&6; }
17670 if test "${glibcxx_cv_system_error3+set}" = set; then :
17671   $as_echo_n "(cached) " >&6
17672 else
17673
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h.  */
17676 #include <errno.h>
17677 int
17678 main ()
17679 {
17680 int i = ENOLINK;
17681   ;
17682   return 0;
17683 }
17684 _ACEOF
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686   glibcxx_cv_system_error3=yes
17687 else
17688   glibcxx_cv_system_error3=no
17689 fi
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691
17692 fi
17693
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17695 $as_echo "$glibcxx_cv_system_error3" >&6; }
17696 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17697
17698 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17699
17700 fi
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17702 $as_echo_n "checking for EPROTO... " >&6; }
17703 if test "${glibcxx_cv_system_error4+set}" = set; then :
17704   $as_echo_n "(cached) " >&6
17705 else
17706
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h.  */
17709 #include <errno.h>
17710 int
17711 main ()
17712 {
17713 int i = EPROTO;
17714   ;
17715   return 0;
17716 }
17717 _ACEOF
17718 if ac_fn_c_try_compile "$LINENO"; then :
17719   glibcxx_cv_system_error4=yes
17720 else
17721   glibcxx_cv_system_error4=no
17722 fi
17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724
17725 fi
17726
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17728 $as_echo "$glibcxx_cv_system_error4" >&6; }
17729 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17730
17731 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17732
17733 fi
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17735 $as_echo_n "checking for ENODATA... " >&6; }
17736 if test "${glibcxx_cv_system_error5+set}" = set; then :
17737   $as_echo_n "(cached) " >&6
17738 else
17739
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h.  */
17742 #include <errno.h>
17743 int
17744 main ()
17745 {
17746 int i = ENODATA;
17747   ;
17748   return 0;
17749 }
17750 _ACEOF
17751 if ac_fn_c_try_compile "$LINENO"; then :
17752   glibcxx_cv_system_error5=yes
17753 else
17754   glibcxx_cv_system_error5=no
17755 fi
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757
17758 fi
17759
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17761 $as_echo "$glibcxx_cv_system_error5" >&6; }
17762 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17763
17764 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17765
17766 fi
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17768 $as_echo_n "checking for ENOSR... " >&6; }
17769 if test "${glibcxx_cv_system_error6+set}" = set; then :
17770   $as_echo_n "(cached) " >&6
17771 else
17772
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775 #include <errno.h>
17776 int
17777 main ()
17778 {
17779 int i = ENOSR;
17780   ;
17781   return 0;
17782 }
17783 _ACEOF
17784 if ac_fn_c_try_compile "$LINENO"; then :
17785   glibcxx_cv_system_error6=yes
17786 else
17787   glibcxx_cv_system_error6=no
17788 fi
17789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17790
17791 fi
17792
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17794 $as_echo "$glibcxx_cv_system_error6" >&6; }
17795 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17796
17797 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17798
17799 fi
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17801 $as_echo_n "checking for ENOSTR... " >&6; }
17802 if test "${glibcxx_cv_system_error7+set}" = set; then :
17803   $as_echo_n "(cached) " >&6
17804 else
17805
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h.  */
17808 #include <errno.h>
17809 int
17810 main ()
17811 {
17812 int i = ENOSTR;
17813   ;
17814   return 0;
17815 }
17816 _ACEOF
17817 if ac_fn_c_try_compile "$LINENO"; then :
17818   glibcxx_cv_system_error7=yes
17819 else
17820   glibcxx_cv_system_error7=no
17821 fi
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823
17824 fi
17825
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17827 $as_echo "$glibcxx_cv_system_error7" >&6; }
17828 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17829
17830 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17831
17832 fi
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17834 $as_echo_n "checking for ETIME... " >&6; }
17835 if test "${glibcxx_cv_system_error8+set}" = set; then :
17836   $as_echo_n "(cached) " >&6
17837 else
17838
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h.  */
17841 #include <errno.h>
17842 int
17843 main ()
17844 {
17845 int i = ETIME;
17846   ;
17847   return 0;
17848 }
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851   glibcxx_cv_system_error8=yes
17852 else
17853   glibcxx_cv_system_error8=no
17854 fi
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856
17857 fi
17858
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17860 $as_echo "$glibcxx_cv_system_error8" >&6; }
17861 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17862
17863 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17864
17865 fi
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17867 $as_echo_n "checking for EBADMSG... " >&6; }
17868 if test "${glibcxx_cv_system_error9+set}" = set; then :
17869   $as_echo_n "(cached) " >&6
17870 else
17871
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h.  */
17874 #include <errno.h>
17875 int
17876 main ()
17877 {
17878 int i = EBADMSG;
17879   ;
17880   return 0;
17881 }
17882 _ACEOF
17883 if ac_fn_c_try_compile "$LINENO"; then :
17884   glibcxx_cv_system_error9=yes
17885 else
17886   glibcxx_cv_system_error9=no
17887 fi
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889
17890 fi
17891
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17893 $as_echo "$glibcxx_cv_system_error9" >&6; }
17894 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17895
17896 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17897
17898 fi
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17900 $as_echo_n "checking for ECANCELED... " >&6; }
17901 if test "${glibcxx_cv_system_error10+set}" = set; then :
17902   $as_echo_n "(cached) " >&6
17903 else
17904
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h.  */
17907 #include <errno.h>
17908 int
17909 main ()
17910 {
17911 int i = ECANCELED;
17912   ;
17913   return 0;
17914 }
17915 _ACEOF
17916 if ac_fn_c_try_compile "$LINENO"; then :
17917   glibcxx_cv_system_error10=yes
17918 else
17919   glibcxx_cv_system_error10=no
17920 fi
17921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922
17923 fi
17924
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17926 $as_echo "$glibcxx_cv_system_error10" >&6; }
17927 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17928
17929 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17930
17931 fi
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17933 $as_echo_n "checking for EOVERFLOW... " >&6; }
17934 if test "${glibcxx_cv_system_error11+set}" = set; then :
17935   $as_echo_n "(cached) " >&6
17936 else
17937
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h.  */
17940 #include <errno.h>
17941 int
17942 main ()
17943 {
17944 int i = EOVERFLOW;
17945   ;
17946   return 0;
17947 }
17948 _ACEOF
17949 if ac_fn_c_try_compile "$LINENO"; then :
17950   glibcxx_cv_system_error11=yes
17951 else
17952   glibcxx_cv_system_error11=no
17953 fi
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955
17956 fi
17957
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17959 $as_echo "$glibcxx_cv_system_error11" >&6; }
17960 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17961
17962 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17963
17964 fi
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17966 $as_echo_n "checking for ENOTSUP... " >&6; }
17967 if test "${glibcxx_cv_system_error12+set}" = set; then :
17968   $as_echo_n "(cached) " >&6
17969 else
17970
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h.  */
17973 #include <errno.h>
17974 int
17975 main ()
17976 {
17977 int i = ENOTSUP;
17978   ;
17979   return 0;
17980 }
17981 _ACEOF
17982 if ac_fn_c_try_compile "$LINENO"; then :
17983   glibcxx_cv_system_error12=yes
17984 else
17985   glibcxx_cv_system_error12=no
17986 fi
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988
17989 fi
17990
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17992 $as_echo "$glibcxx_cv_system_error12" >&6; }
17993 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17994
17995 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17996
17997 fi
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17999 $as_echo_n "checking for EIDRM... " >&6; }
18000 if test "${glibcxx_cv_system_error13+set}" = set; then :
18001   $as_echo_n "(cached) " >&6
18002 else
18003
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h.  */
18006 #include <errno.h>
18007 int
18008 main ()
18009 {
18010 int i = EIDRM;
18011   ;
18012   return 0;
18013 }
18014 _ACEOF
18015 if ac_fn_c_try_compile "$LINENO"; then :
18016   glibcxx_cv_system_error13=yes
18017 else
18018   glibcxx_cv_system_error13=no
18019 fi
18020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021
18022 fi
18023
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18025 $as_echo "$glibcxx_cv_system_error13" >&6; }
18026 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18027
18028 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18029
18030 fi
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18032 $as_echo_n "checking for ETXTBSY... " >&6; }
18033 if test "${glibcxx_cv_system_error14+set}" = set; then :
18034   $as_echo_n "(cached) " >&6
18035 else
18036
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h.  */
18039 #include <errno.h>
18040 int
18041 main ()
18042 {
18043 int i = ETXTBSY;
18044   ;
18045   return 0;
18046 }
18047 _ACEOF
18048 if ac_fn_c_try_compile "$LINENO"; then :
18049   glibcxx_cv_system_error14=yes
18050 else
18051   glibcxx_cv_system_error14=no
18052 fi
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054
18055 fi
18056
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18058 $as_echo "$glibcxx_cv_system_error14" >&6; }
18059 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18060
18061 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18062
18063 fi
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18065 $as_echo_n "checking for ECHILD... " >&6; }
18066 if test "${glibcxx_cv_system_error15+set}" = set; then :
18067   $as_echo_n "(cached) " >&6
18068 else
18069
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h.  */
18072 #include <errno.h>
18073 int
18074 main ()
18075 {
18076 int i = ECHILD;
18077   ;
18078   return 0;
18079 }
18080 _ACEOF
18081 if ac_fn_c_try_compile "$LINENO"; then :
18082   glibcxx_cv_system_error15=yes
18083 else
18084   glibcxx_cv_system_error15=no
18085 fi
18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18087
18088 fi
18089
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18091 $as_echo "$glibcxx_cv_system_error15" >&6; }
18092 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18093
18094 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18095
18096 fi
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18098 $as_echo_n "checking for ENOSPC... " >&6; }
18099 if test "${glibcxx_cv_system_error16+set}" = set; then :
18100   $as_echo_n "(cached) " >&6
18101 else
18102
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h.  */
18105 #include <errno.h>
18106 int
18107 main ()
18108 {
18109 int i = ENOSPC;
18110   ;
18111   return 0;
18112 }
18113 _ACEOF
18114 if ac_fn_c_try_compile "$LINENO"; then :
18115   glibcxx_cv_system_error16=yes
18116 else
18117   glibcxx_cv_system_error16=no
18118 fi
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18120
18121 fi
18122
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18124 $as_echo "$glibcxx_cv_system_error16" >&6; }
18125 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18126
18127 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18128
18129 fi
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18131 $as_echo_n "checking for EPERM... " >&6; }
18132 if test "${glibcxx_cv_system_error17+set}" = set; then :
18133   $as_echo_n "(cached) " >&6
18134 else
18135
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h.  */
18138 #include <errno.h>
18139 int
18140 main ()
18141 {
18142 int i = EPERM;
18143   ;
18144   return 0;
18145 }
18146 _ACEOF
18147 if ac_fn_c_try_compile "$LINENO"; then :
18148   glibcxx_cv_system_error17=yes
18149 else
18150   glibcxx_cv_system_error17=no
18151 fi
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153
18154 fi
18155
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18157 $as_echo "$glibcxx_cv_system_error17" >&6; }
18158 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18159
18160 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18161
18162 fi
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18164 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18165 if test "${glibcxx_cv_system_error18+set}" = set; then :
18166   $as_echo_n "(cached) " >&6
18167 else
18168
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h.  */
18171 #include <errno.h>
18172 int
18173 main ()
18174 {
18175 int i = ETIMEDOUT;
18176   ;
18177   return 0;
18178 }
18179 _ACEOF
18180 if ac_fn_c_try_compile "$LINENO"; then :
18181   glibcxx_cv_system_error18=yes
18182 else
18183   glibcxx_cv_system_error18=no
18184 fi
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18186
18187 fi
18188
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18190 $as_echo "$glibcxx_cv_system_error18" >&6; }
18191 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18192
18193 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18194
18195 fi
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18197 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18198 if test "${glibcxx_cv_system_error19+set}" = set; then :
18199   $as_echo_n "(cached) " >&6
18200 else
18201
18202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18203 /* end confdefs.h.  */
18204 #include <errno.h>
18205 int
18206 main ()
18207 {
18208 int i = EWOULDBLOCK;
18209   ;
18210   return 0;
18211 }
18212 _ACEOF
18213 if ac_fn_c_try_compile "$LINENO"; then :
18214   glibcxx_cv_system_error19=yes
18215 else
18216   glibcxx_cv_system_error19=no
18217 fi
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219
18220 fi
18221
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18223 $as_echo "$glibcxx_cv_system_error19" >&6; }
18224 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18225
18226 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18227
18228 fi
18229
18230
18231
18232 # For the streamoff typedef.
18233
18234
18235
18236   ac_ext=cpp
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18241
18242
18243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18244 $as_echo_n "checking for int64_t... " >&6; }
18245   if test "${glibcxx_cv_INT64_T+set}" = set; then :
18246   $as_echo_n "(cached) " >&6
18247 else
18248
18249     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h.  */
18251 #include <stdint.h>
18252 int
18253 main ()
18254 {
18255 int64_t var;
18256   ;
18257   return 0;
18258 }
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261   glibcxx_cv_INT64_T=yes
18262 else
18263   glibcxx_cv_INT64_T=no
18264 fi
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266
18267 fi
18268
18269
18270   if test $glibcxx_cv_INT64_T = yes; then
18271
18272 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18273
18274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18275 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18276
18277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18278 $as_echo_n "checking for int64_t as long... " >&6; }
18279     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18280   $as_echo_n "(cached) " >&6
18281 else
18282
18283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h.  */
18285 #include <stdint.h>
18286         template<typename, typename> struct same { enum { value = -1 }; };
18287         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18288         int array[same<int64_t, long>::value];
18289 int
18290 main ()
18291 {
18292
18293   ;
18294   return 0;
18295 }
18296 _ACEOF
18297 if ac_fn_cxx_try_compile "$LINENO"; then :
18298   glibcxx_cv_int64_t_long=yes
18299 else
18300   glibcxx_cv_int64_t_long=no
18301 fi
18302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18303
18304 fi
18305
18306
18307     if test $glibcxx_cv_int64_t_long = yes; then
18308
18309 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18310
18311       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18312 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18313     fi
18314
18315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18316 $as_echo_n "checking for int64_t as long long... " >&6; }
18317     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18318   $as_echo_n "(cached) " >&6
18319 else
18320
18321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h.  */
18323 #include <stdint.h>
18324         template<typename, typename> struct same { enum { value = -1 }; };
18325         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18326         int array[same<int64_t, long long>::value];
18327 int
18328 main ()
18329 {
18330
18331   ;
18332   return 0;
18333 }
18334 _ACEOF
18335 if ac_fn_cxx_try_compile "$LINENO"; then :
18336   glibcxx_cv_int64_t_long_long=yes
18337 else
18338   glibcxx_cv_int64_t_long_long=no
18339 fi
18340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18341
18342 fi
18343
18344
18345     if test $glibcxx_cv_int64_t_long_long = yes; then
18346
18347 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18348
18349       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18350 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18351     fi
18352   fi
18353
18354   ac_ext=c
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359
18360
18361
18362 # For LFS support.
18363
18364
18365   ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18370
18371   ac_save_CXXFLAGS="$CXXFLAGS"
18372   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18374 $as_echo_n "checking for LFS support... " >&6; }
18375   if test "${glibcxx_cv_LFS+set}" = set; then :
18376   $as_echo_n "(cached) " >&6
18377 else
18378
18379     if test x$gcc_no_link = xyes; then
18380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h.  */
18382 #include <unistd.h>
18383        #include <stdio.h>
18384        #include <sys/stat.h>
18385
18386 int
18387 main ()
18388 {
18389 FILE* fp;
18390        fopen64("t", "w");
18391        fseeko64(fp, 0, SEEK_CUR);
18392        ftello64(fp);
18393        lseek64(1, 0, SEEK_CUR);
18394        struct stat64 buf;
18395        fstat64(1, &buf);
18396   ;
18397   return 0;
18398 }
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401   glibcxx_cv_LFS=yes
18402 else
18403   glibcxx_cv_LFS=no
18404 fi
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 else
18407   if test x$gcc_no_link = xyes; then
18408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18409 fi
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h.  */
18412 #include <unistd.h>
18413        #include <stdio.h>
18414        #include <sys/stat.h>
18415
18416 int
18417 main ()
18418 {
18419 FILE* fp;
18420        fopen64("t", "w");
18421        fseeko64(fp, 0, SEEK_CUR);
18422        ftello64(fp);
18423        lseek64(1, 0, SEEK_CUR);
18424        struct stat64 buf;
18425        fstat64(1, &buf);
18426   ;
18427   return 0;
18428 }
18429 _ACEOF
18430 if ac_fn_cxx_try_link "$LINENO"; then :
18431   glibcxx_cv_LFS=yes
18432 else
18433   glibcxx_cv_LFS=no
18434 fi
18435 rm -f core conftest.err conftest.$ac_objext \
18436     conftest$ac_exeext conftest.$ac_ext
18437 fi
18438
18439 fi
18440
18441   if test $glibcxx_cv_LFS = yes; then
18442
18443 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18444
18445   fi
18446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18447 $as_echo "$glibcxx_cv_LFS" >&6; }
18448   CXXFLAGS="$ac_save_CXXFLAGS"
18449   ac_ext=c
18450 ac_cpp='$CPP $CPPFLAGS'
18451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18454
18455
18456
18457 # For showmanyc_helper().
18458 for ac_header in sys/ioctl.h sys/filio.h
18459 do :
18460   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18461 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18462 eval as_val=\$$as_ac_Header
18463    if test "x$as_val" = x""yes; then :
18464   cat >>confdefs.h <<_ACEOF
18465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18466 _ACEOF
18467
18468 fi
18469
18470 done
18471
18472
18473
18474
18475   ac_ext=cpp
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18480
18481   ac_save_CXXFLAGS="$CXXFLAGS"
18482   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18483
18484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18485 $as_echo_n "checking for poll... " >&6; }
18486   if test "${glibcxx_cv_POLL+set}" = set; then :
18487   $as_echo_n "(cached) " >&6
18488 else
18489
18490     if test x$gcc_no_link = xyes; then
18491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h.  */
18493 #include <poll.h>
18494 int
18495 main ()
18496 {
18497 struct pollfd pfd[1];
18498        pfd[0].events = POLLIN;
18499        poll(pfd, 1, 0);
18500   ;
18501   return 0;
18502 }
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505   glibcxx_cv_POLL=yes
18506 else
18507   glibcxx_cv_POLL=no
18508 fi
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 else
18511   if test x$gcc_no_link = xyes; then
18512   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 fi
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h.  */
18516 #include <poll.h>
18517 int
18518 main ()
18519 {
18520 struct pollfd pfd[1];
18521        pfd[0].events = POLLIN;
18522        poll(pfd, 1, 0);
18523   ;
18524   return 0;
18525 }
18526 _ACEOF
18527 if ac_fn_cxx_try_link "$LINENO"; then :
18528   glibcxx_cv_POLL=yes
18529 else
18530   glibcxx_cv_POLL=no
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext \
18533     conftest$ac_exeext conftest.$ac_ext
18534 fi
18535
18536 fi
18537
18538   if test $glibcxx_cv_POLL = yes; then
18539
18540 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18541
18542   fi
18543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18544 $as_echo "$glibcxx_cv_POLL" >&6; }
18545
18546   CXXFLAGS="$ac_save_CXXFLAGS"
18547   ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552
18553
18554
18555
18556
18557   ac_ext=cpp
18558 ac_cpp='$CXXCPP $CPPFLAGS'
18559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18562
18563   ac_save_CXXFLAGS="$CXXFLAGS"
18564   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18565
18566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18567 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18568   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18569   $as_echo_n "(cached) " >&6
18570 else
18571
18572     if test x$gcc_no_link = xyes; then
18573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h.  */
18575 #include <sys/stat.h>
18576 int
18577 main ()
18578 {
18579 struct stat buffer;
18580        fstat(0, &buffer);
18581        S_ISREG(buffer.st_mode);
18582   ;
18583   return 0;
18584 }
18585 _ACEOF
18586 if ac_fn_cxx_try_compile "$LINENO"; then :
18587   glibcxx_cv_S_ISREG=yes
18588 else
18589   glibcxx_cv_S_ISREG=no
18590 fi
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 else
18593   if test x$gcc_no_link = xyes; then
18594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18595 fi
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h.  */
18598 #include <sys/stat.h>
18599 int
18600 main ()
18601 {
18602 struct stat buffer;
18603        fstat(0, &buffer);
18604        S_ISREG(buffer.st_mode);
18605   ;
18606   return 0;
18607 }
18608 _ACEOF
18609 if ac_fn_cxx_try_link "$LINENO"; then :
18610   glibcxx_cv_S_ISREG=yes
18611 else
18612   glibcxx_cv_S_ISREG=no
18613 fi
18614 rm -f core conftest.err conftest.$ac_objext \
18615     conftest$ac_exeext conftest.$ac_ext
18616 fi
18617
18618 fi
18619
18620   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18621   $as_echo_n "(cached) " >&6
18622 else
18623
18624     if test x$gcc_no_link = xyes; then
18625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h.  */
18627 #include <sys/stat.h>
18628 int
18629 main ()
18630 {
18631 struct stat buffer;
18632        fstat(0, &buffer);
18633        S_IFREG & buffer.st_mode;
18634   ;
18635   return 0;
18636 }
18637 _ACEOF
18638 if ac_fn_cxx_try_compile "$LINENO"; then :
18639   glibcxx_cv_S_IFREG=yes
18640 else
18641   glibcxx_cv_S_IFREG=no
18642 fi
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 else
18645   if test x$gcc_no_link = xyes; then
18646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18647 fi
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h.  */
18650 #include <sys/stat.h>
18651 int
18652 main ()
18653 {
18654 struct stat buffer;
18655        fstat(0, &buffer);
18656        S_IFREG & buffer.st_mode;
18657   ;
18658   return 0;
18659 }
18660 _ACEOF
18661 if ac_fn_cxx_try_link "$LINENO"; then :
18662   glibcxx_cv_S_IFREG=yes
18663 else
18664   glibcxx_cv_S_IFREG=no
18665 fi
18666 rm -f core conftest.err conftest.$ac_objext \
18667     conftest$ac_exeext conftest.$ac_ext
18668 fi
18669
18670 fi
18671
18672   res=no
18673   if test $glibcxx_cv_S_ISREG = yes; then
18674
18675 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18676
18677     res=S_ISREG
18678   elif test $glibcxx_cv_S_IFREG = yes; then
18679
18680 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18681
18682     res=S_IFREG
18683   fi
18684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18685 $as_echo "$res" >&6; }
18686
18687   CXXFLAGS="$ac_save_CXXFLAGS"
18688   ac_ext=c
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18693
18694
18695
18696 # For xsputn_2().
18697 for ac_header in sys/uio.h
18698 do :
18699   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18700 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18701   cat >>confdefs.h <<_ACEOF
18702 #define HAVE_SYS_UIO_H 1
18703 _ACEOF
18704
18705 fi
18706
18707 done
18708
18709
18710
18711
18712   ac_ext=cpp
18713 ac_cpp='$CXXCPP $CPPFLAGS'
18714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18717
18718   ac_save_CXXFLAGS="$CXXFLAGS"
18719   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18720
18721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18722 $as_echo_n "checking for writev... " >&6; }
18723   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18724   $as_echo_n "(cached) " >&6
18725 else
18726
18727     if test x$gcc_no_link = xyes; then
18728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h.  */
18730 #include <sys/uio.h>
18731 int
18732 main ()
18733 {
18734 struct iovec iov[2];
18735        writev(0, iov, 0);
18736   ;
18737   return 0;
18738 }
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741   glibcxx_cv_WRITEV=yes
18742 else
18743   glibcxx_cv_WRITEV=no
18744 fi
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 else
18747   if test x$gcc_no_link = xyes; then
18748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18749 fi
18750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h.  */
18752 #include <sys/uio.h>
18753 int
18754 main ()
18755 {
18756 struct iovec iov[2];
18757        writev(0, iov, 0);
18758   ;
18759   return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_cxx_try_link "$LINENO"; then :
18763   glibcxx_cv_WRITEV=yes
18764 else
18765   glibcxx_cv_WRITEV=no
18766 fi
18767 rm -f core conftest.err conftest.$ac_objext \
18768     conftest$ac_exeext conftest.$ac_ext
18769 fi
18770
18771 fi
18772
18773   if test $glibcxx_cv_WRITEV = yes; then
18774
18775 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18776
18777   fi
18778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18779 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18780
18781   CXXFLAGS="$ac_save_CXXFLAGS"
18782   ac_ext=c
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18787
18788
18789
18790 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18791 # so that the check is done with the C compiler (not C++).
18792 # Checking with C++ can break a canadian cross build if either
18793 # file does not exist in C but does in C++.
18794 for ac_header in fenv.h complex.h
18795 do :
18796   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18798 eval as_val=\$$as_ac_Header
18799    if test "x$as_val" = x""yes; then :
18800   cat >>confdefs.h <<_ACEOF
18801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18802 _ACEOF
18803
18804 fi
18805
18806 done
18807
18808
18809 # For C99 support to TR1.
18810
18811
18812
18813   ac_ext=cpp
18814 ac_cpp='$CXXCPP $CPPFLAGS'
18815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18818
18819
18820   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18821   # undefined and fake C99 facilities may be spuriously enabled.
18822   ac_save_CXXFLAGS="$CXXFLAGS"
18823   CXXFLAGS="$CXXFLAGS -std=c++98"
18824
18825   # Check for the existence of <complex.h> complex math functions used
18826   # by tr1/complex.
18827   for ac_header in complex.h
18828 do :
18829   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18830 if test "x$ac_cv_header_complex_h" = x""yes; then :
18831   cat >>confdefs.h <<_ACEOF
18832 #define HAVE_COMPLEX_H 1
18833 _ACEOF
18834  ac_has_complex_h=yes
18835 else
18836   ac_has_complex_h=no
18837 fi
18838
18839 done
18840
18841   ac_c99_complex_tr1=no;
18842   if test x"$ac_has_complex_h" = x"yes"; then
18843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18844 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h.  */
18847 #include <complex.h>
18848 int
18849 main ()
18850 {
18851 typedef __complex__ float float_type; float_type tmpf;
18852                     cacosf(tmpf);
18853                     casinf(tmpf);
18854                     catanf(tmpf);
18855                     cacoshf(tmpf);
18856                     casinhf(tmpf);
18857                     catanhf(tmpf);
18858                     typedef __complex__ double double_type; double_type tmpd;
18859                     cacos(tmpd);
18860                     casin(tmpd);
18861                     catan(tmpd);
18862                     cacosh(tmpd);
18863                     casinh(tmpd);
18864                     catanh(tmpd);
18865                     typedef __complex__ long double ld_type; ld_type tmpld;
18866                     cacosl(tmpld);
18867                     casinl(tmpld);
18868                     catanl(tmpld);
18869                     cacoshl(tmpld);
18870                     casinhl(tmpld);
18871                     catanhl(tmpld);
18872
18873   ;
18874   return 0;
18875 }
18876 _ACEOF
18877 if ac_fn_cxx_try_compile "$LINENO"; then :
18878   ac_c99_complex_tr1=yes
18879 else
18880   ac_c99_complex_tr1=no
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883   fi
18884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18885 $as_echo "$ac_c99_complex_tr1" >&6; }
18886   if test x"$ac_c99_complex_tr1" = x"yes"; then
18887
18888 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18889
18890   fi
18891
18892   # Check for the existence of <ctype.h> functions.
18893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18894 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18895   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18896   $as_echo_n "(cached) " >&6
18897 else
18898
18899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h.  */
18901 #include <ctype.h>
18902 int
18903 main ()
18904 {
18905 int ch;
18906                   int ret;
18907                   ret = isblank(ch);
18908
18909   ;
18910   return 0;
18911 }
18912 _ACEOF
18913 if ac_fn_cxx_try_compile "$LINENO"; then :
18914   glibcxx_cv_c99_ctype_tr1=yes
18915 else
18916   glibcxx_cv_c99_ctype_tr1=no
18917 fi
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18919
18920 fi
18921
18922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18923 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18924   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18925
18926 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18927
18928   fi
18929
18930   # Check for the existence of <fenv.h> functions.
18931   for ac_header in fenv.h
18932 do :
18933   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18934 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18935   cat >>confdefs.h <<_ACEOF
18936 #define HAVE_FENV_H 1
18937 _ACEOF
18938  ac_has_fenv_h=yes
18939 else
18940   ac_has_fenv_h=no
18941 fi
18942
18943 done
18944
18945   ac_c99_fenv_tr1=no;
18946   if test x"$ac_has_fenv_h" = x"yes"; then
18947     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18948 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18949     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h.  */
18951 #include <fenv.h>
18952 int
18953 main ()
18954 {
18955 int except, mode;
18956                     fexcept_t* pflag;
18957                     fenv_t* penv;
18958                     int ret;
18959                     ret = feclearexcept(except);
18960                     ret = fegetexceptflag(pflag, except);
18961                     ret = feraiseexcept(except);
18962                     ret = fesetexceptflag(pflag, except);
18963                     ret = fetestexcept(except);
18964                     ret = fegetround();
18965                     ret = fesetround(mode);
18966                     ret = fegetenv(penv);
18967                     ret = feholdexcept(penv);
18968                     ret = fesetenv(penv);
18969                     ret = feupdateenv(penv);
18970
18971   ;
18972   return 0;
18973 }
18974 _ACEOF
18975 if ac_fn_cxx_try_compile "$LINENO"; then :
18976   ac_c99_fenv_tr1=yes
18977 else
18978   ac_c99_fenv_tr1=no
18979 fi
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981   fi
18982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18983 $as_echo "$ac_c99_fenv_tr1" >&6; }
18984   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18985
18986 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18987
18988   fi
18989
18990   # Check for the existence of <stdint.h> types.
18991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18992 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18993   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18994   $as_echo_n "(cached) " >&6
18995 else
18996
18997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h.  */
18999 #define __STDC_LIMIT_MACROS
19000                   #define __STDC_CONSTANT_MACROS
19001                   #include <stdint.h>
19002 int
19003 main ()
19004 {
19005 typedef int8_t          my_int8_t;
19006                   my_int8_t               i8 = INT8_MIN;
19007                   i8 = INT8_MAX;
19008                   typedef int16_t         my_int16_t;
19009                   my_int16_t              i16 = INT16_MIN;
19010                   i16 = INT16_MAX;
19011                   typedef int32_t         my_int32_t;
19012                   my_int32_t              i32 = INT32_MIN;
19013                   i32 = INT32_MAX;
19014                   typedef int64_t         my_int64_t;
19015                   my_int64_t              i64 = INT64_MIN;
19016                   i64 = INT64_MAX;
19017                   typedef int_fast8_t     my_int_fast8_t;
19018                   my_int_fast8_t          if8 = INT_FAST8_MIN;
19019                   if8 = INT_FAST8_MAX;
19020                   typedef int_fast16_t    my_int_fast16_t;
19021                   my_int_fast16_t         if16 = INT_FAST16_MIN;
19022                   if16 = INT_FAST16_MAX;
19023                   typedef int_fast32_t    my_int_fast32_t;
19024                   my_int_fast32_t         if32 = INT_FAST32_MIN;
19025                   if32 = INT_FAST32_MAX;
19026                   typedef int_fast64_t    my_int_fast64_t;
19027                   my_int_fast64_t         if64 = INT_FAST64_MIN;
19028                   if64 = INT_FAST64_MAX;
19029                   typedef int_least8_t    my_int_least8_t;
19030                   my_int_least8_t         il8 = INT_LEAST8_MIN;
19031                   il8 = INT_LEAST8_MAX;
19032                   typedef int_least16_t   my_int_least16_t;
19033                   my_int_least16_t        il16 = INT_LEAST16_MIN;
19034                   il16 = INT_LEAST16_MAX;
19035                   typedef int_least32_t   my_int_least32_t;
19036                   my_int_least32_t        il32 = INT_LEAST32_MIN;
19037                   il32 = INT_LEAST32_MAX;
19038                   typedef int_least64_t   my_int_least64_t;
19039                   my_int_least64_t        il64 = INT_LEAST64_MIN;
19040                   il64 = INT_LEAST64_MAX;
19041                   typedef intmax_t        my_intmax_t;
19042                   my_intmax_t             im = INTMAX_MAX;
19043                   im = INTMAX_MIN;
19044                   typedef intptr_t        my_intptr_t;
19045                   my_intptr_t             ip = INTPTR_MAX;
19046                   ip = INTPTR_MIN;
19047                   typedef uint8_t         my_uint8_t;
19048                   my_uint8_t              ui8 = UINT8_MAX;
19049                   ui8 = UINT8_MAX;
19050                   typedef uint16_t        my_uint16_t;
19051                   my_uint16_t             ui16 = UINT16_MAX;
19052                   ui16 = UINT16_MAX;
19053                   typedef uint32_t        my_uint32_t;
19054                   my_uint32_t             ui32 = UINT32_MAX;
19055                   ui32 = UINT32_MAX;
19056                   typedef uint64_t        my_uint64_t;
19057                   my_uint64_t             ui64 = UINT64_MAX;
19058                   ui64 = UINT64_MAX;
19059                   typedef uint_fast8_t    my_uint_fast8_t;
19060                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
19061                   uif8 = UINT_FAST8_MAX;
19062                   typedef uint_fast16_t   my_uint_fast16_t;
19063                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
19064                   uif16 = UINT_FAST16_MAX;
19065                   typedef uint_fast32_t   my_uint_fast32_t;
19066                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
19067                   uif32 = UINT_FAST32_MAX;
19068                   typedef uint_fast64_t   my_uint_fast64_t;
19069                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
19070                   uif64 = UINT_FAST64_MAX;
19071                   typedef uint_least8_t   my_uint_least8_t;
19072                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
19073                   uil8 = UINT_LEAST8_MAX;
19074                   typedef uint_least16_t  my_uint_least16_t;
19075                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
19076                   uil16 = UINT_LEAST16_MAX;
19077                   typedef uint_least32_t  my_uint_least32_t;
19078                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
19079                   uil32 = UINT_LEAST32_MAX;
19080                   typedef uint_least64_t  my_uint_least64_t;
19081                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
19082                   uil64 = UINT_LEAST64_MAX;
19083                   typedef uintmax_t       my_uintmax_t;
19084                   my_uintmax_t            uim = UINTMAX_MAX;
19085                   uim = UINTMAX_MAX;
19086                   typedef uintptr_t       my_uintptr_t;
19087                   my_uintptr_t            uip = UINTPTR_MAX;
19088                   uip = UINTPTR_MAX;
19089
19090   ;
19091   return 0;
19092 }
19093 _ACEOF
19094 if ac_fn_cxx_try_compile "$LINENO"; then :
19095   glibcxx_cv_c99_stdint_tr1=yes
19096 else
19097   glibcxx_cv_c99_stdint_tr1=no
19098 fi
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100
19101 fi
19102
19103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19104 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19105   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19106
19107 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19108
19109   fi
19110
19111   # Check for the existence of <math.h> functions.
19112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19113 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19114   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19115   $as_echo_n "(cached) " >&6
19116 else
19117
19118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h.  */
19120 #include <math.h>
19121 int
19122 main ()
19123 {
19124 typedef double_t  my_double_t;
19125                   typedef float_t   my_float_t;
19126                   acosh(0.0);
19127                   acoshf(0.0f);
19128                   acoshl(0.0l);
19129                   asinh(0.0);
19130                   asinhf(0.0f);
19131                   asinhl(0.0l);
19132                   atanh(0.0);
19133                   atanhf(0.0f);
19134                   atanhl(0.0l);
19135                   cbrt(0.0);
19136                   cbrtf(0.0f);
19137                   cbrtl(0.0l);
19138                   copysign(0.0, 0.0);
19139                   copysignf(0.0f, 0.0f);
19140                   copysignl(0.0l, 0.0l);
19141                   erf(0.0);
19142                   erff(0.0f);
19143                   erfl(0.0l);
19144                   erfc(0.0);
19145                   erfcf(0.0f);
19146                   erfcl(0.0l);
19147                   exp2(0.0);
19148                   exp2f(0.0f);
19149                   exp2l(0.0l);
19150                   expm1(0.0);
19151                   expm1f(0.0f);
19152                   expm1l(0.0l);
19153                   fdim(0.0, 0.0);
19154                   fdimf(0.0f, 0.0f);
19155                   fdiml(0.0l, 0.0l);
19156                   fma(0.0, 0.0, 0.0);
19157                   fmaf(0.0f, 0.0f, 0.0f);
19158                   fmal(0.0l, 0.0l, 0.0l);
19159                   fmax(0.0, 0.0);
19160                   fmaxf(0.0f, 0.0f);
19161                   fmaxl(0.0l, 0.0l);
19162                   fmin(0.0, 0.0);
19163                   fminf(0.0f, 0.0f);
19164                   fminl(0.0l, 0.0l);
19165                   hypot(0.0, 0.0);
19166                   hypotf(0.0f, 0.0f);
19167                   hypotl(0.0l, 0.0l);
19168                   ilogb(0.0);
19169                   ilogbf(0.0f);
19170                   ilogbl(0.0l);
19171                   lgamma(0.0);
19172                   lgammaf(0.0f);
19173                   lgammal(0.0l);
19174                   llrint(0.0);
19175                   llrintf(0.0f);
19176                   llrintl(0.0l);
19177                   llround(0.0);
19178                   llroundf(0.0f);
19179                   llroundl(0.0l);
19180                   log1p(0.0);
19181                   log1pf(0.0f);
19182                   log1pl(0.0l);
19183                   log2(0.0);
19184                   log2f(0.0f);
19185                   log2l(0.0l);
19186                   logb(0.0);
19187                   logbf(0.0f);
19188                   logbl(0.0l);
19189                   lrint(0.0);
19190                   lrintf(0.0f);
19191                   lrintl(0.0l);
19192                   lround(0.0);
19193                   lroundf(0.0f);
19194                   lroundl(0.0l);
19195                   nan(0);
19196                   nanf(0);
19197                   nanl(0);
19198                   nearbyint(0.0);
19199                   nearbyintf(0.0f);
19200                   nearbyintl(0.0l);
19201                   nextafter(0.0, 0.0);
19202                   nextafterf(0.0f, 0.0f);
19203                   nextafterl(0.0l, 0.0l);
19204                   nexttoward(0.0, 0.0);
19205                   nexttowardf(0.0f, 0.0f);
19206                   nexttowardl(0.0l, 0.0l);
19207                   remainder(0.0, 0.0);
19208                   remainderf(0.0f, 0.0f);
19209                   remainderl(0.0l, 0.0l);
19210                   remquo(0.0, 0.0, 0);
19211                   remquof(0.0f, 0.0f, 0);
19212                   remquol(0.0l, 0.0l, 0);
19213                   rint(0.0);
19214                   rintf(0.0f);
19215                   rintl(0.0l);
19216                   round(0.0);
19217                   roundf(0.0f);
19218                   roundl(0.0l);
19219                   scalbln(0.0, 0l);
19220                   scalblnf(0.0f, 0l);
19221                   scalblnl(0.0l, 0l);
19222                   scalbn(0.0, 0);
19223                   scalbnf(0.0f, 0);
19224                   scalbnl(0.0l, 0);
19225                   tgamma(0.0);
19226                   tgammaf(0.0f);
19227                   tgammal(0.0l);
19228                   trunc(0.0);
19229                   truncf(0.0f);
19230                   truncl(0.0l);
19231
19232   ;
19233   return 0;
19234 }
19235 _ACEOF
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237   glibcxx_cv_c99_math_tr1=yes
19238 else
19239   glibcxx_cv_c99_math_tr1=no
19240 fi
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242
19243 fi
19244
19245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19246 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19247   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19248
19249 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19250
19251   fi
19252
19253   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19254   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19255   ac_c99_inttypes_tr1=no;
19256   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19258 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19259     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h.  */
19261 #include <inttypes.h>
19262 int
19263 main ()
19264 {
19265 intmax_t i, numer, denom, base;
19266                     const char* s;
19267                     char** endptr;
19268                     intmax_t ret = imaxabs(i);
19269                     imaxdiv_t dret = imaxdiv(numer, denom);
19270                     ret = strtoimax(s, endptr, base);
19271                     uintmax_t uret = strtoumax(s, endptr, base);
19272
19273   ;
19274   return 0;
19275 }
19276 _ACEOF
19277 if ac_fn_cxx_try_compile "$LINENO"; then :
19278   ac_c99_inttypes_tr1=yes
19279 else
19280   ac_c99_inttypes_tr1=no
19281 fi
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283   fi
19284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19285 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19286   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19287
19288 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19289
19290   fi
19291
19292   # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19293   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19294   ac_c99_inttypes_wchar_t_tr1=no;
19295   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19297 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19298     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h.  */
19300 #include <inttypes.h>
19301 int
19302 main ()
19303 {
19304 intmax_t base;
19305                     const wchar_t* s;
19306                     wchar_t** endptr;
19307                     intmax_t ret = wcstoimax(s, endptr, base);
19308                     uintmax_t uret = wcstoumax(s, endptr, base);
19309
19310   ;
19311   return 0;
19312 }
19313 _ACEOF
19314 if ac_fn_cxx_try_compile "$LINENO"; then :
19315   ac_c99_inttypes_wchar_t_tr1=yes
19316 else
19317   ac_c99_inttypes_wchar_t_tr1=no
19318 fi
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320   fi
19321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19322 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19323   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19324
19325 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19326
19327   fi
19328
19329   # Check for the existence of the <stdbool.h> header.
19330   for ac_header in stdbool.h
19331 do :
19332   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19333 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19334   cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STDBOOL_H 1
19336 _ACEOF
19337
19338 fi
19339
19340 done
19341
19342
19343   # Check for the existence of the <stdalign.h> header.
19344   for ac_header in stdalign.h
19345 do :
19346   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19347 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19348   cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STDALIGN_H 1
19350 _ACEOF
19351
19352 fi
19353
19354 done
19355
19356
19357   CXXFLAGS="$ac_save_CXXFLAGS"
19358   ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19363
19364
19365
19366 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19367
19368
19369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19370 $as_echo_n "checking for the value of EOF... " >&6; }
19371 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19372   $as_echo_n "(cached) " >&6
19373 else
19374
19375   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19376
19377 else
19378   as_fn_error "computing EOF failed" "$LINENO" 5
19379 fi
19380
19381
19382 fi
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19384 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19385
19386 cat >>confdefs.h <<_ACEOF
19387 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19388 _ACEOF
19389
19390
19391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19392 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19393 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19394   $as_echo_n "(cached) " >&6
19395 else
19396
19397   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19398
19399 else
19400   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19401 fi
19402
19403
19404 fi
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19406 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19407
19408 cat >>confdefs.h <<_ACEOF
19409 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19410 _ACEOF
19411
19412
19413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19414 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19415 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19416   $as_echo_n "(cached) " >&6
19417 else
19418
19419   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19420
19421 else
19422   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19423 fi
19424
19425
19426 fi
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19428 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19429
19430 cat >>confdefs.h <<_ACEOF
19431 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19432 _ACEOF
19433
19434
19435
19436 # For gettimeofday support.
19437
19438
19439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19440 $as_echo_n "checking for gettimeofday... " >&6; }
19441
19442
19443   ac_ext=cpp
19444 ac_cpp='$CXXCPP $CPPFLAGS'
19445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19448
19449   ac_save_CXXFLAGS="$CXXFLAGS"
19450   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19451
19452   ac_has_gettimeofday=no;
19453   for ac_header in sys/time.h
19454 do :
19455   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19456 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19457   cat >>confdefs.h <<_ACEOF
19458 #define HAVE_SYS_TIME_H 1
19459 _ACEOF
19460  ac_has_sys_time_h=yes
19461 else
19462   ac_has_sys_time_h=no
19463 fi
19464
19465 done
19466
19467   if test x"$ac_has_sys_time_h" = x"yes"; then
19468     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19469 $as_echo_n "checking for gettimeofday... " >&6; }
19470     if test x$gcc_no_link = xyes; then
19471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h.  */
19473 #include <sys/time.h>
19474 int
19475 main ()
19476 {
19477 timeval tv; gettimeofday(&tv, 0);
19478   ;
19479   return 0;
19480 }
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483   ac_has_gettimeofday=yes
19484 else
19485   ac_has_gettimeofday=no
19486 fi
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 else
19489   if test x$gcc_no_link = xyes; then
19490   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19491 fi
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h.  */
19494 #include <sys/time.h>
19495 int
19496 main ()
19497 {
19498 timeval tv; gettimeofday(&tv, 0);
19499   ;
19500   return 0;
19501 }
19502 _ACEOF
19503 if ac_fn_cxx_try_link "$LINENO"; then :
19504   ac_has_gettimeofday=yes
19505 else
19506   ac_has_gettimeofday=no
19507 fi
19508 rm -f core conftest.err conftest.$ac_objext \
19509     conftest$ac_exeext conftest.$ac_ext
19510 fi
19511
19512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19513 $as_echo "$ac_has_gettimeofday" >&6; }
19514   fi
19515
19516   if test x"$ac_has_gettimeofday" = x"yes"; then
19517
19518 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19519
19520   fi
19521
19522   CXXFLAGS="$ac_save_CXXFLAGS"
19523   ac_ext=c
19524 ac_cpp='$CPP $CPPFLAGS'
19525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19528
19529
19530
19531 # For clock_gettime, nanosleep and sched_yield support.
19532
19533
19534    # Check whether --enable-libstdcxx-time was given.
19535 if test "${enable_libstdcxx_time+set}" = set; then :
19536   enableval=$enable_libstdcxx_time;
19537       case "$enableval" in
19538        yes|no|rt) ;;
19539        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19540                         esac
19541
19542 else
19543   enable_libstdcxx_time=auto
19544 fi
19545
19546
19547
19548
19549   ac_ext=cpp
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19554
19555   ac_save_CXXFLAGS="$CXXFLAGS"
19556   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19557   ac_save_LIBS="$LIBS"
19558
19559   ac_has_clock_monotonic=no
19560   ac_has_clock_realtime=no
19561   ac_has_nanosleep=no
19562   ac_has_sched_yield=no
19563
19564   if test x"$enable_libstdcxx_time" = x"auto"; then
19565
19566     case "${target_os}" in
19567       cygwin*)
19568         ac_has_nanosleep=yes
19569         ;;
19570       darwin*)
19571         ac_has_nanosleep=yes
19572         ac_has_sched_yield=yes
19573         ;;
19574       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19575         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19576 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19577         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h.  */
19579 #include <features.h>
19580 int
19581 main ()
19582 {
19583
19584           #if ! __GLIBC_PREREQ(2, 17)
19585           #error
19586           #endif
19587
19588   ;
19589   return 0;
19590 }
19591 _ACEOF
19592 if ac_fn_cxx_try_compile "$LINENO"; then :
19593   glibcxx_glibc217=yes
19594 else
19595   glibcxx_glibc217=no
19596 fi
19597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19599 $as_echo "$glibcxx_glibc217" >&6; }
19600
19601         if test x"$glibcxx_glibc217" = x"yes"; then
19602           ac_has_clock_monotonic=yes
19603           ac_has_clock_realtime=yes
19604         fi
19605         ac_has_nanosleep=yes
19606         ac_has_sched_yield=yes
19607         ;;
19608       freebsd*|netbsd*|dragonfly*)
19609         ac_has_clock_monotonic=yes
19610         ac_has_clock_realtime=yes
19611         ac_has_nanosleep=yes
19612         ac_has_sched_yield=yes
19613         ;;
19614       openbsd*)
19615         ac_has_clock_monotonic=yes
19616         ac_has_clock_realtime=yes
19617         ac_has_nanosleep=yes
19618         ;;
19619       solaris*)
19620         GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19621         ac_has_clock_monotonic=yes
19622         ac_has_clock_realtime=yes
19623         ac_has_nanosleep=yes
19624         ac_has_sched_yield=yes
19625         ;;
19626     esac
19627
19628   elif test x"$enable_libstdcxx_time" != x"no"; then
19629
19630     if test x"$enable_libstdcxx_time" = x"rt"; then
19631       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19632 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19634   $as_echo_n "(cached) " >&6
19635 else
19636   ac_func_search_save_LIBS=$LIBS
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h.  */
19639
19640 /* Override any GCC internal prototype to avoid an error.
19641    Use char because int might match the return type of a GCC
19642    builtin and then its argument prototype would still apply.  */
19643 #ifdef __cplusplus
19644 extern "C"
19645 #endif
19646 char clock_gettime ();
19647 int
19648 main ()
19649 {
19650 return clock_gettime ();
19651   ;
19652   return 0;
19653 }
19654 _ACEOF
19655 for ac_lib in '' rt posix4; do
19656   if test -z "$ac_lib"; then
19657     ac_res="none required"
19658   else
19659     ac_res=-l$ac_lib
19660     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19661   fi
19662   if test x$gcc_no_link = xyes; then
19663   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19664 fi
19665 if ac_fn_cxx_try_link "$LINENO"; then :
19666   ac_cv_search_clock_gettime=$ac_res
19667 fi
19668 rm -f core conftest.err conftest.$ac_objext \
19669     conftest$ac_exeext
19670   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19671   break
19672 fi
19673 done
19674 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19675
19676 else
19677   ac_cv_search_clock_gettime=no
19678 fi
19679 rm conftest.$ac_ext
19680 LIBS=$ac_func_search_save_LIBS
19681 fi
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19683 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19684 ac_res=$ac_cv_search_clock_gettime
19685 if test "$ac_res" != no; then :
19686   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19687
19688 fi
19689
19690       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19691 $as_echo_n "checking for library containing nanosleep... " >&6; }
19692 if test "${ac_cv_search_nanosleep+set}" = set; then :
19693   $as_echo_n "(cached) " >&6
19694 else
19695   ac_func_search_save_LIBS=$LIBS
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h.  */
19698
19699 /* Override any GCC internal prototype to avoid an error.
19700    Use char because int might match the return type of a GCC
19701    builtin and then its argument prototype would still apply.  */
19702 #ifdef __cplusplus
19703 extern "C"
19704 #endif
19705 char nanosleep ();
19706 int
19707 main ()
19708 {
19709 return nanosleep ();
19710   ;
19711   return 0;
19712 }
19713 _ACEOF
19714 for ac_lib in '' rt posix4; do
19715   if test -z "$ac_lib"; then
19716     ac_res="none required"
19717   else
19718     ac_res=-l$ac_lib
19719     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19720   fi
19721   if test x$gcc_no_link = xyes; then
19722   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19723 fi
19724 if ac_fn_cxx_try_link "$LINENO"; then :
19725   ac_cv_search_nanosleep=$ac_res
19726 fi
19727 rm -f core conftest.err conftest.$ac_objext \
19728     conftest$ac_exeext
19729   if test "${ac_cv_search_nanosleep+set}" = set; then :
19730   break
19731 fi
19732 done
19733 if test "${ac_cv_search_nanosleep+set}" = set; then :
19734
19735 else
19736   ac_cv_search_nanosleep=no
19737 fi
19738 rm conftest.$ac_ext
19739 LIBS=$ac_func_search_save_LIBS
19740 fi
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19742 $as_echo "$ac_cv_search_nanosleep" >&6; }
19743 ac_res=$ac_cv_search_nanosleep
19744 if test "$ac_res" != no; then :
19745   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19746
19747 fi
19748
19749     else
19750       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19751 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19752 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19753   $as_echo_n "(cached) " >&6
19754 else
19755   ac_func_search_save_LIBS=$LIBS
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h.  */
19758
19759 /* Override any GCC internal prototype to avoid an error.
19760    Use char because int might match the return type of a GCC
19761    builtin and then its argument prototype would still apply.  */
19762 #ifdef __cplusplus
19763 extern "C"
19764 #endif
19765 char clock_gettime ();
19766 int
19767 main ()
19768 {
19769 return clock_gettime ();
19770   ;
19771   return 0;
19772 }
19773 _ACEOF
19774 for ac_lib in '' posix4; do
19775   if test -z "$ac_lib"; then
19776     ac_res="none required"
19777   else
19778     ac_res=-l$ac_lib
19779     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19780   fi
19781   if test x$gcc_no_link = xyes; then
19782   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19783 fi
19784 if ac_fn_cxx_try_link "$LINENO"; then :
19785   ac_cv_search_clock_gettime=$ac_res
19786 fi
19787 rm -f core conftest.err conftest.$ac_objext \
19788     conftest$ac_exeext
19789   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19790   break
19791 fi
19792 done
19793 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19794
19795 else
19796   ac_cv_search_clock_gettime=no
19797 fi
19798 rm conftest.$ac_ext
19799 LIBS=$ac_func_search_save_LIBS
19800 fi
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19802 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19803 ac_res=$ac_cv_search_clock_gettime
19804 if test "$ac_res" != no; then :
19805   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19806
19807 fi
19808
19809       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19810 $as_echo_n "checking for library containing nanosleep... " >&6; }
19811 if test "${ac_cv_search_nanosleep+set}" = set; then :
19812   $as_echo_n "(cached) " >&6
19813 else
19814   ac_func_search_save_LIBS=$LIBS
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h.  */
19817
19818 /* Override any GCC internal prototype to avoid an error.
19819    Use char because int might match the return type of a GCC
19820    builtin and then its argument prototype would still apply.  */
19821 #ifdef __cplusplus
19822 extern "C"
19823 #endif
19824 char nanosleep ();
19825 int
19826 main ()
19827 {
19828 return nanosleep ();
19829   ;
19830   return 0;
19831 }
19832 _ACEOF
19833 for ac_lib in '' posix4; do
19834   if test -z "$ac_lib"; then
19835     ac_res="none required"
19836   else
19837     ac_res=-l$ac_lib
19838     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19839   fi
19840   if test x$gcc_no_link = xyes; then
19841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19842 fi
19843 if ac_fn_cxx_try_link "$LINENO"; then :
19844   ac_cv_search_nanosleep=$ac_res
19845 fi
19846 rm -f core conftest.err conftest.$ac_objext \
19847     conftest$ac_exeext
19848   if test "${ac_cv_search_nanosleep+set}" = set; then :
19849   break
19850 fi
19851 done
19852 if test "${ac_cv_search_nanosleep+set}" = set; then :
19853
19854 else
19855   ac_cv_search_nanosleep=no
19856 fi
19857 rm conftest.$ac_ext
19858 LIBS=$ac_func_search_save_LIBS
19859 fi
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19861 $as_echo "$ac_cv_search_nanosleep" >&6; }
19862 ac_res=$ac_cv_search_nanosleep
19863 if test "$ac_res" != no; then :
19864   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19865
19866 fi
19867
19868     fi
19869
19870     case "$ac_cv_search_clock_gettime" in
19871       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19872       ;;
19873     esac
19874     case "$ac_cv_search_nanosleep" in
19875       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19876       ;;
19877     esac
19878
19879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19880 $as_echo_n "checking for library containing sched_yield... " >&6; }
19881 if test "${ac_cv_search_sched_yield+set}" = set; then :
19882   $as_echo_n "(cached) " >&6
19883 else
19884   ac_func_search_save_LIBS=$LIBS
19885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19886 /* end confdefs.h.  */
19887
19888 /* Override any GCC internal prototype to avoid an error.
19889    Use char because int might match the return type of a GCC
19890    builtin and then its argument prototype would still apply.  */
19891 #ifdef __cplusplus
19892 extern "C"
19893 #endif
19894 char sched_yield ();
19895 int
19896 main ()
19897 {
19898 return sched_yield ();
19899   ;
19900   return 0;
19901 }
19902 _ACEOF
19903 for ac_lib in '' rt posix4; do
19904   if test -z "$ac_lib"; then
19905     ac_res="none required"
19906   else
19907     ac_res=-l$ac_lib
19908     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19909   fi
19910   if test x$gcc_no_link = xyes; then
19911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 fi
19913 if ac_fn_cxx_try_link "$LINENO"; then :
19914   ac_cv_search_sched_yield=$ac_res
19915 fi
19916 rm -f core conftest.err conftest.$ac_objext \
19917     conftest$ac_exeext
19918   if test "${ac_cv_search_sched_yield+set}" = set; then :
19919   break
19920 fi
19921 done
19922 if test "${ac_cv_search_sched_yield+set}" = set; then :
19923
19924 else
19925   ac_cv_search_sched_yield=no
19926 fi
19927 rm conftest.$ac_ext
19928 LIBS=$ac_func_search_save_LIBS
19929 fi
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19931 $as_echo "$ac_cv_search_sched_yield" >&6; }
19932 ac_res=$ac_cv_search_sched_yield
19933 if test "$ac_res" != no; then :
19934   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19935
19936 fi
19937
19938
19939     case "$ac_cv_search_sched_yield" in
19940       -lposix4*)
19941       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19942       ac_has_sched_yield=yes
19943       ;;
19944       -lrt*)
19945       if test x"$enable_libstdcxx_time" = x"rt"; then
19946         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19947         ac_has_sched_yield=yes
19948       fi
19949       ;;
19950       *)
19951       ac_has_sched_yield=yes
19952       ;;
19953     esac
19954
19955     for ac_header in unistd.h
19956 do :
19957   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19958 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19959   cat >>confdefs.h <<_ACEOF
19960 #define HAVE_UNISTD_H 1
19961 _ACEOF
19962  ac_has_unistd_h=yes
19963 else
19964   ac_has_unistd_h=no
19965 fi
19966
19967 done
19968
19969
19970     if test x"$ac_has_unistd_h" = x"yes"; then
19971       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19972 $as_echo_n "checking for monotonic clock... " >&6; }
19973       if test x$gcc_no_link = xyes; then
19974   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19975 fi
19976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h.  */
19978 #include <unistd.h>
19979          #include <time.h>
19980
19981 int
19982 main ()
19983 {
19984 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19985           timespec tp;
19986          #endif
19987           clock_gettime(CLOCK_MONOTONIC, &tp);
19988
19989   ;
19990   return 0;
19991 }
19992 _ACEOF
19993 if ac_fn_cxx_try_link "$LINENO"; then :
19994   ac_has_clock_monotonic=yes
19995 else
19996   ac_has_clock_monotonic=no
19997 fi
19998 rm -f core conftest.err conftest.$ac_objext \
19999     conftest$ac_exeext conftest.$ac_ext
20000
20001       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20002 $as_echo "$ac_has_clock_monotonic" >&6; }
20003
20004       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20005 $as_echo_n "checking for realtime clock... " >&6; }
20006       if test x$gcc_no_link = xyes; then
20007   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 fi
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h.  */
20011 #include <unistd.h>
20012          #include <time.h>
20013
20014 int
20015 main ()
20016 {
20017 #if _POSIX_TIMERS > 0
20018           timespec tp;
20019          #endif
20020           clock_gettime(CLOCK_REALTIME, &tp);
20021
20022   ;
20023   return 0;
20024 }
20025 _ACEOF
20026 if ac_fn_cxx_try_link "$LINENO"; then :
20027   ac_has_clock_realtime=yes
20028 else
20029   ac_has_clock_realtime=no
20030 fi
20031 rm -f core conftest.err conftest.$ac_objext \
20032     conftest$ac_exeext conftest.$ac_ext
20033
20034       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20035 $as_echo "$ac_has_clock_realtime" >&6; }
20036
20037       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20038 $as_echo_n "checking for nanosleep... " >&6; }
20039       if test x$gcc_no_link = xyes; then
20040   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20041 fi
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h.  */
20044 #include <unistd.h>
20045          #include <time.h>
20046
20047 int
20048 main ()
20049 {
20050 #if _POSIX_TIMERS > 0
20051           timespec tp;
20052          #endif
20053           nanosleep(&tp, 0);
20054
20055   ;
20056   return 0;
20057 }
20058 _ACEOF
20059 if ac_fn_cxx_try_link "$LINENO"; then :
20060   ac_has_nanosleep=yes
20061 else
20062   ac_has_nanosleep=no
20063 fi
20064 rm -f core conftest.err conftest.$ac_objext \
20065     conftest$ac_exeext conftest.$ac_ext
20066
20067       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20068 $as_echo "$ac_has_nanosleep" >&6; }
20069     fi
20070   fi
20071
20072   if test x"$ac_has_clock_monotonic" != x"yes"; then
20073     case ${target_os} in
20074       linux*)
20075         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20076 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20077         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h.  */
20079 #include <unistd.h>
20080            #include <time.h>
20081            #include <sys/syscall.h>
20082
20083 int
20084 main ()
20085 {
20086 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20087             timespec tp;
20088            #endif
20089            syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20090            syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20091
20092   ;
20093   return 0;
20094 }
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097   ac_has_clock_monotonic_syscall=yes
20098 else
20099   ac_has_clock_monotonic_syscall=no
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20103 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20104         if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20105
20106 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20107
20108           ac_has_clock_monotonic=yes
20109           ac_has_clock_realtime=yes
20110         fi;;
20111     esac
20112   fi
20113
20114   if test x"$ac_has_clock_monotonic" = x"yes"; then
20115
20116 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20117
20118   fi
20119
20120   if test x"$ac_has_clock_realtime" = x"yes"; then
20121
20122 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20123
20124   fi
20125
20126   if test x"$ac_has_sched_yield" = x"yes"; then
20127
20128 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20129
20130   fi
20131
20132   if test x"$ac_has_nanosleep" = x"yes"; then
20133
20134 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20135
20136   else
20137       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20138 $as_echo_n "checking for sleep... " >&6; }
20139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h.  */
20141 #include <unistd.h>
20142 int
20143 main ()
20144 {
20145 sleep(1)
20146   ;
20147   return 0;
20148 }
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151   ac_has_sleep=yes
20152 else
20153   ac_has_sleep=no
20154 fi
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156       if test x"$ac_has_sleep" = x"yes"; then
20157
20158 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20159
20160       fi
20161       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20162 $as_echo "$ac_has_sleep" >&6; }
20163       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20164 $as_echo_n "checking for usleep... " >&6; }
20165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h.  */
20167 #include <unistd.h>
20168 int
20169 main ()
20170 {
20171 sleep(1);
20172                       usleep(100);
20173   ;
20174   return 0;
20175 }
20176 _ACEOF
20177 if ac_fn_cxx_try_compile "$LINENO"; then :
20178   ac_has_usleep=yes
20179 else
20180   ac_has_usleep=no
20181 fi
20182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20183       if test x"$ac_has_usleep" = x"yes"; then
20184
20185 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20186
20187       fi
20188       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20189 $as_echo "$ac_has_usleep" >&6; }
20190   fi
20191
20192   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20193       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20194 $as_echo_n "checking for Sleep... " >&6; }
20195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h.  */
20197 #include <windows.h>
20198 int
20199 main ()
20200 {
20201 Sleep(1)
20202   ;
20203   return 0;
20204 }
20205 _ACEOF
20206 if ac_fn_cxx_try_compile "$LINENO"; then :
20207   ac_has_win32_sleep=yes
20208 else
20209   ac_has_win32_sleep=no
20210 fi
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212       if test x"$ac_has_win32_sleep" = x"yes"; then
20213
20214 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20215
20216       fi
20217       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20218 $as_echo "$ac_has_win32_sleep" >&6; }
20219   fi
20220
20221
20222
20223   CXXFLAGS="$ac_save_CXXFLAGS"
20224   LIBS="$ac_save_LIBS"
20225   ac_ext=c
20226 ac_cpp='$CPP $CPPFLAGS'
20227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20230
20231
20232
20233 # Check for tmpnam which is obsolescent in POSIX.1-2008
20234
20235   ac_ext=cpp
20236 ac_cpp='$CXXCPP $CPPFLAGS'
20237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20240
20241   ac_save_CXXFLAGS="$CXXFLAGS"
20242   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20244 $as_echo_n "checking for tmpnam... " >&6; }
20245   if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20246   $as_echo_n "(cached) " >&6
20247 else
20248       if test x$gcc_no_link = xyes; then
20249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20250 /* end confdefs.h.  */
20251 #include <stdio.h>
20252 int
20253 main ()
20254 {
20255 char *tmp = tmpnam(NULL);
20256   ;
20257   return 0;
20258 }
20259 _ACEOF
20260 if ac_fn_cxx_try_compile "$LINENO"; then :
20261   glibcxx_cv_TMPNAM=yes
20262 else
20263   glibcxx_cv_TMPNAM=no
20264 fi
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 else
20267   if test x$gcc_no_link = xyes; then
20268   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 fi
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h.  */
20272 #include <stdio.h>
20273 int
20274 main ()
20275 {
20276 char *tmp = tmpnam(NULL);
20277   ;
20278   return 0;
20279 }
20280 _ACEOF
20281 if ac_fn_cxx_try_link "$LINENO"; then :
20282   glibcxx_cv_TMPNAM=yes
20283 else
20284   glibcxx_cv_TMPNAM=no
20285 fi
20286 rm -f core conftest.err conftest.$ac_objext \
20287     conftest$ac_exeext conftest.$ac_ext
20288 fi
20289
20290 fi
20291
20292   if test $glibcxx_cv_TMPNAM = yes; then
20293
20294 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20295
20296   fi
20297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20298 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20299   CXXFLAGS="$ac_save_CXXFLAGS"
20300   ac_ext=c
20301 ac_cpp='$CPP $CPPFLAGS'
20302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20305
20306
20307
20308
20309   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20310 if test "x$ac_cv_header_locale_h" = x""yes; then :
20311
20312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20313 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20314 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20315   $as_echo_n "(cached) " >&6
20316 else
20317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h.  */
20319 #include <locale.h>
20320 int
20321 main ()
20322 {
20323 return LC_MESSAGES
20324   ;
20325   return 0;
20326 }
20327 _ACEOF
20328 if ac_fn_c_try_compile "$LINENO"; then :
20329   ac_cv_val_LC_MESSAGES=yes
20330 else
20331   ac_cv_val_LC_MESSAGES=no
20332 fi
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 fi
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20336 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20337     if test $ac_cv_val_LC_MESSAGES = yes; then
20338
20339 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20340
20341     fi
20342
20343 fi
20344
20345
20346
20347
20348 # For hardware_concurrency
20349 for ac_header in sys/sysinfo.h
20350 do :
20351   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20352 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20353   cat >>confdefs.h <<_ACEOF
20354 #define HAVE_SYS_SYSINFO_H 1
20355 _ACEOF
20356
20357 fi
20358
20359 done
20360
20361
20362
20363
20364   ac_ext=cpp
20365 ac_cpp='$CXXCPP $CPPFLAGS'
20366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20369
20370   ac_save_CXXFLAGS="$CXXFLAGS"
20371   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20372
20373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20374 $as_echo_n "checking for get_nprocs... " >&6; }
20375   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20376   $as_echo_n "(cached) " >&6
20377 else
20378
20379     if test x$gcc_no_link = xyes; then
20380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20381 /* end confdefs.h.  */
20382 #include <sys/sysinfo.h>
20383 int
20384 main ()
20385 {
20386 int n = get_nprocs();
20387   ;
20388   return 0;
20389 }
20390 _ACEOF
20391 if ac_fn_cxx_try_compile "$LINENO"; then :
20392   glibcxx_cv_GET_NPROCS=yes
20393 else
20394   glibcxx_cv_GET_NPROCS=no
20395 fi
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 else
20398   if test x$gcc_no_link = xyes; then
20399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20400 fi
20401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h.  */
20403 #include <sys/sysinfo.h>
20404 int
20405 main ()
20406 {
20407 int n = get_nprocs();
20408   ;
20409   return 0;
20410 }
20411 _ACEOF
20412 if ac_fn_cxx_try_link "$LINENO"; then :
20413   glibcxx_cv_GET_NPROCS=yes
20414 else
20415   glibcxx_cv_GET_NPROCS=no
20416 fi
20417 rm -f core conftest.err conftest.$ac_objext \
20418     conftest$ac_exeext conftest.$ac_ext
20419 fi
20420
20421 fi
20422
20423   if test $glibcxx_cv_GET_NPROCS = yes; then
20424
20425 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20426
20427   fi
20428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20429 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20430
20431   CXXFLAGS="$ac_save_CXXFLAGS"
20432   ac_ext=c
20433 ac_cpp='$CPP $CPPFLAGS'
20434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20437
20438
20439 for ac_header in unistd.h
20440 do :
20441   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20442 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20443   cat >>confdefs.h <<_ACEOF
20444 #define HAVE_UNISTD_H 1
20445 _ACEOF
20446
20447 fi
20448
20449 done
20450
20451
20452
20453
20454   ac_ext=cpp
20455 ac_cpp='$CXXCPP $CPPFLAGS'
20456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20459
20460   ac_save_CXXFLAGS="$CXXFLAGS"
20461   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20462
20463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20464 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20465   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20466   $as_echo_n "(cached) " >&6
20467 else
20468
20469     if test x$gcc_no_link = xyes; then
20470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20471 /* end confdefs.h.  */
20472 #include <unistd.h>
20473 int
20474 main ()
20475 {
20476 int n = sysconf(_SC_NPROCESSORS_ONLN);
20477   ;
20478   return 0;
20479 }
20480 _ACEOF
20481 if ac_fn_cxx_try_compile "$LINENO"; then :
20482   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20483 else
20484   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20485 fi
20486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 else
20488   if test x$gcc_no_link = xyes; then
20489   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20490 fi
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h.  */
20493 #include <unistd.h>
20494 int
20495 main ()
20496 {
20497 int n = sysconf(_SC_NPROCESSORS_ONLN);
20498   ;
20499   return 0;
20500 }
20501 _ACEOF
20502 if ac_fn_cxx_try_link "$LINENO"; then :
20503   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20504 else
20505   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20506 fi
20507 rm -f core conftest.err conftest.$ac_objext \
20508     conftest$ac_exeext conftest.$ac_ext
20509 fi
20510
20511 fi
20512
20513   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20514
20515 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20516
20517   fi
20518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20519 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20520
20521   CXXFLAGS="$ac_save_CXXFLAGS"
20522   ac_ext=c
20523 ac_cpp='$CPP $CPPFLAGS'
20524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20527
20528
20529
20530
20531
20532   ac_ext=cpp
20533 ac_cpp='$CXXCPP $CPPFLAGS'
20534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20537
20538   ac_save_CXXFLAGS="$CXXFLAGS"
20539   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20540
20541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20542 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20543   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20544   $as_echo_n "(cached) " >&6
20545 else
20546
20547     if test x$gcc_no_link = xyes; then
20548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h.  */
20550 #include <unistd.h>
20551 int
20552 main ()
20553 {
20554 int n = sysconf(_SC_NPROC_ONLN);
20555   ;
20556   return 0;
20557 }
20558 _ACEOF
20559 if ac_fn_cxx_try_compile "$LINENO"; then :
20560   glibcxx_cv_SC_NPROC_ONLN=yes
20561 else
20562   glibcxx_cv_SC_NPROC_ONLN=no
20563 fi
20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20565 else
20566   if test x$gcc_no_link = xyes; then
20567   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20568 fi
20569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20570 /* end confdefs.h.  */
20571 #include <unistd.h>
20572 int
20573 main ()
20574 {
20575 int n = sysconf(_SC_NPROC_ONLN);
20576   ;
20577   return 0;
20578 }
20579 _ACEOF
20580 if ac_fn_cxx_try_link "$LINENO"; then :
20581   glibcxx_cv_SC_NPROC_ONLN=yes
20582 else
20583   glibcxx_cv_SC_NPROC_ONLN=no
20584 fi
20585 rm -f core conftest.err conftest.$ac_objext \
20586     conftest$ac_exeext conftest.$ac_ext
20587 fi
20588
20589 fi
20590
20591   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20592
20593 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20594
20595   fi
20596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20597 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20598
20599   CXXFLAGS="$ac_save_CXXFLAGS"
20600   ac_ext=c
20601 ac_cpp='$CPP $CPPFLAGS'
20602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20605
20606
20607
20608
20609
20610   ac_ext=cpp
20611 ac_cpp='$CXXCPP $CPPFLAGS'
20612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615
20616   ac_save_CXXFLAGS="$CXXFLAGS"
20617   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20618
20619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20620 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20621   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20622   $as_echo_n "(cached) " >&6
20623 else
20624
20625     if test x$gcc_no_link = xyes; then
20626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h.  */
20628 #include <pthread.h>
20629 int
20630 main ()
20631 {
20632 int n = pthread_num_processors_np();
20633   ;
20634   return 0;
20635 }
20636 _ACEOF
20637 if ac_fn_cxx_try_compile "$LINENO"; then :
20638   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20639 else
20640   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20641 fi
20642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20643 else
20644   if test x$gcc_no_link = xyes; then
20645   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20646 fi
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h.  */
20649 #include <pthread.h>
20650 int
20651 main ()
20652 {
20653 int n = pthread_num_processors_np();
20654   ;
20655   return 0;
20656 }
20657 _ACEOF
20658 if ac_fn_cxx_try_link "$LINENO"; then :
20659   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20660 else
20661   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20662 fi
20663 rm -f core conftest.err conftest.$ac_objext \
20664     conftest$ac_exeext conftest.$ac_ext
20665 fi
20666
20667 fi
20668
20669   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20670
20671 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20672
20673   fi
20674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20675 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20676
20677   CXXFLAGS="$ac_save_CXXFLAGS"
20678   ac_ext=c
20679 ac_cpp='$CPP $CPPFLAGS'
20680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20683
20684
20685
20686
20687
20688   ac_ext=cpp
20689 ac_cpp='$CXXCPP $CPPFLAGS'
20690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20693
20694   ac_save_CXXFLAGS="$CXXFLAGS"
20695   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20696
20697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20698 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20699   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20700   $as_echo_n "(cached) " >&6
20701 else
20702
20703     if test x$gcc_no_link = xyes; then
20704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h.  */
20706
20707        #include <stddef.h>
20708        #include <sys/sysctl.h>
20709
20710 int
20711 main ()
20712 {
20713
20714        int count;
20715        size_t size = sizeof(count);
20716        int mib[] = { CTL_HW, HW_NCPU };
20717        sysctl(mib, 2, &count, &size, NULL, 0);
20718
20719   ;
20720   return 0;
20721 }
20722 _ACEOF
20723 if ac_fn_cxx_try_compile "$LINENO"; then :
20724   glibcxx_cv_SYSCTL_HW_NCPU=yes
20725 else
20726   glibcxx_cv_SYSCTL_HW_NCPU=no
20727 fi
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 else
20730   if test x$gcc_no_link = xyes; then
20731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20732 fi
20733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734 /* end confdefs.h.  */
20735
20736        #include <stddef.h>
20737        #include <sys/sysctl.h>
20738
20739 int
20740 main ()
20741 {
20742
20743        int count;
20744        size_t size = sizeof(count);
20745        int mib[] = { CTL_HW, HW_NCPU };
20746        sysctl(mib, 2, &count, &size, NULL, 0);
20747
20748   ;
20749   return 0;
20750 }
20751 _ACEOF
20752 if ac_fn_cxx_try_link "$LINENO"; then :
20753   glibcxx_cv_SYSCTL_HW_NCPU=yes
20754 else
20755   glibcxx_cv_SYSCTL_HW_NCPU=no
20756 fi
20757 rm -f core conftest.err conftest.$ac_objext \
20758     conftest$ac_exeext conftest.$ac_ext
20759 fi
20760
20761 fi
20762
20763   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20764
20765 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20766
20767   fi
20768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20769 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20770
20771   CXXFLAGS="$ac_save_CXXFLAGS"
20772   ac_ext=c
20773 ac_cpp='$CPP $CPPFLAGS'
20774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20777
20778
20779
20780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20781 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20782   # Note that this test has to be run with the C language.
20783   # Otherwise, sdt.h will try to include some headers from
20784   # libstdc++ itself.
20785
20786   ac_ext=c
20787 ac_cpp='$CPP $CPPFLAGS'
20788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20791
20792   if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20793   $as_echo_n "(cached) " >&6
20794 else
20795
20796     # Because we have to run the test in C, we use grep rather
20797     # than the compiler to check for the bug.  The bug is that
20798     # were strings without trailing whitespace, causing g++
20799     # to look for operator"".  The pattern searches for the fixed
20800     # output.
20801     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h.  */
20803
20804       #include <sys/sdt.h>
20805       int f() { STAP_PROBE(hi, bob); }
20806
20807 _ACEOF
20808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20809   $EGREP " \",\" " >/dev/null 2>&1; then :
20810   glibcxx_cv_sys_sdt_h=yes
20811 else
20812   glibcxx_cv_sys_sdt_h=no
20813 fi
20814 rm -f conftest*
20815
20816
20817 fi
20818
20819   ac_ext=c
20820 ac_cpp='$CPP $CPPFLAGS'
20821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20824
20825   if test $glibcxx_cv_sys_sdt_h = yes; then
20826
20827 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20828
20829   fi
20830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20831 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20832
20833
20834 # Check for available headers.
20835 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20836 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20837 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20838 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20839 wchar.h wctype.h
20840 do :
20841   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20842 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20843 eval as_val=\$$as_ac_Header
20844    if test "x$as_val" = x""yes; then :
20845   cat >>confdefs.h <<_ACEOF
20846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20847 _ACEOF
20848
20849 fi
20850
20851 done
20852
20853
20854 # Only do link tests if native. Else, hardcode.
20855 if $GLIBCXX_IS_NATIVE; then
20856
20857   # We can do more elaborate tests that assume a working linker.
20858   CANADIAN=no
20859
20860
20861
20862 # Check whether --with-gnu-ld was given.
20863 if test "${with_gnu_ld+set}" = set; then :
20864   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20865 else
20866   with_gnu_ld=no
20867 fi
20868
20869 ac_prog=ld
20870 if test "$GCC" = yes; then
20871   # Check if gcc -print-prog-name=ld gives a path.
20872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20873 $as_echo_n "checking for ld used by $CC... " >&6; }
20874   case $host in
20875   *-*-mingw*)
20876     # gcc leaves a trailing carriage return which upsets mingw
20877     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20878   *)
20879     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20880   esac
20881   case $ac_prog in
20882     # Accept absolute paths.
20883     [\\/]* | ?:[\\/]*)
20884       re_direlt='/[^/][^/]*/\.\./'
20885       # Canonicalize the pathname of ld
20886       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20887       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20888         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20889       done
20890       test -z "$LD" && LD="$ac_prog"
20891       ;;
20892   "")
20893     # If it fails, then pretend we aren't using GCC.
20894     ac_prog=ld
20895     ;;
20896   *)
20897     # If it is relative, then search for the first ld in PATH.
20898     with_gnu_ld=unknown
20899     ;;
20900   esac
20901 elif test "$with_gnu_ld" = yes; then
20902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20903 $as_echo_n "checking for GNU ld... " >&6; }
20904 else
20905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20906 $as_echo_n "checking for non-GNU ld... " >&6; }
20907 fi
20908 if test "${lt_cv_path_LD+set}" = set; then :
20909   $as_echo_n "(cached) " >&6
20910 else
20911   if test -z "$LD"; then
20912   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20913   for ac_dir in $PATH; do
20914     IFS="$lt_save_ifs"
20915     test -z "$ac_dir" && ac_dir=.
20916     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20917       lt_cv_path_LD="$ac_dir/$ac_prog"
20918       # Check to see if the program is GNU ld.  I'd rather use --version,
20919       # but apparently some variants of GNU ld only accept -v.
20920       # Break only if it was the GNU/non-GNU ld that we prefer.
20921       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20922       *GNU* | *'with BFD'*)
20923         test "$with_gnu_ld" != no && break
20924         ;;
20925       *)
20926         test "$with_gnu_ld" != yes && break
20927         ;;
20928       esac
20929     fi
20930   done
20931   IFS="$lt_save_ifs"
20932 else
20933   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20934 fi
20935 fi
20936
20937 LD="$lt_cv_path_LD"
20938 if test -n "$LD"; then
20939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20940 $as_echo "$LD" >&6; }
20941 else
20942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20943 $as_echo "no" >&6; }
20944 fi
20945 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20948 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20949   $as_echo_n "(cached) " >&6
20950 else
20951   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20952 case `$LD -v 2>&1 </dev/null` in
20953 *GNU* | *'with BFD'*)
20954   lt_cv_prog_gnu_ld=yes
20955   ;;
20956 *)
20957   lt_cv_prog_gnu_ld=no
20958   ;;
20959 esac
20960 fi
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20962 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20963 with_gnu_ld=$lt_cv_prog_gnu_ld
20964
20965
20966
20967
20968
20969
20970
20971   # If we're not using GNU ld, then there's no point in even trying these
20972   # tests.  Check for that first.  We should have already tested for gld
20973   # by now (in libtool), but require it now just to be safe...
20974   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20975   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20976
20977
20978
20979   # The name set by libtool depends on the version of libtool.  Shame on us
20980   # for depending on an impl detail, but c'est la vie.  Older versions used
20981   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20982   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20983   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20984   # set (hence we're using an older libtool), then set it.
20985   if test x${with_gnu_ld+set} != xset; then
20986     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20987       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20988       with_gnu_ld=no
20989     else
20990       with_gnu_ld=$ac_cv_prog_gnu_ld
20991     fi
20992   fi
20993
20994   # Start by getting the version number.  I think the libtool test already
20995   # does some of this, but throws away the result.
20996   glibcxx_ld_is_gold=no
20997   if test x"$with_gnu_ld" = x"yes"; then
20998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20999 $as_echo_n "checking for ld version... " >&6; }
21000
21001     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21002       glibcxx_ld_is_gold=yes
21003     fi
21004     ldver=`$LD --version 2>/dev/null |
21005            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'`
21006
21007     glibcxx_gnu_ld_version=`echo $ldver | \
21008            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21010 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21011   fi
21012
21013   # Set --gc-sections.
21014   glibcxx_have_gc_sections=no
21015   if test "$glibcxx_ld_is_gold" = "yes"; then
21016     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21017       glibcxx_have_gc_sections=yes
21018     fi
21019   else
21020     glibcxx_gcsections_min_ld=21602
21021     if test x"$with_gnu_ld" = x"yes" &&
21022         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21023       glibcxx_have_gc_sections=yes
21024     fi
21025   fi
21026   if test "$glibcxx_have_gc_sections" = "yes"; then
21027     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
21028     # NB: This flag only works reliably after 2.16.1. Configure tests
21029     # for this are difficult, so hard wire a value that should work.
21030
21031     ac_test_CFLAGS="${CFLAGS+set}"
21032     ac_save_CFLAGS="$CFLAGS"
21033     CFLAGS='-Wl,--gc-sections'
21034
21035     # Check for -Wl,--gc-sections
21036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21037 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21038     if test x$gcc_no_link = xyes; then
21039   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21040 fi
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h.  */
21043  int one(void) { return 1; }
21044      int two(void) { return 2; }
21045
21046 int
21047 main ()
21048 {
21049  two();
21050   ;
21051   return 0;
21052 }
21053 _ACEOF
21054 if ac_fn_c_try_link "$LINENO"; then :
21055   ac_gcsections=yes
21056 else
21057   ac_gcsections=no
21058 fi
21059 rm -f core conftest.err conftest.$ac_objext \
21060     conftest$ac_exeext conftest.$ac_ext
21061     if test "$ac_gcsections" = "yes"; then
21062       rm -f conftest.c
21063       touch conftest.c
21064       if $CC -c conftest.c; then
21065         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21066            grep "Warning: gc-sections option ignored" > /dev/null; then
21067           ac_gcsections=no
21068         fi
21069       fi
21070       rm -f conftest.c conftest.o conftest
21071     fi
21072     if test "$ac_gcsections" = "yes"; then
21073       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21074     fi
21075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21076 $as_echo "$ac_gcsections" >&6; }
21077
21078     if test "$ac_test_CFLAGS" = set; then
21079       CFLAGS="$ac_save_CFLAGS"
21080     else
21081       # this is the suspicious part
21082       CFLAGS=''
21083     fi
21084   fi
21085
21086   # Set -z,relro.
21087   # Note this is only for shared objects.
21088   ac_ld_relro=no
21089   if test x"$with_gnu_ld" = x"yes"; then
21090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21091 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21092     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21093     if test -n "$cxx_z_relo"; then
21094       OPT_LDFLAGS="-Wl,-z,relro"
21095       ac_ld_relro=yes
21096     fi
21097     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21098 $as_echo "$ac_ld_relro" >&6; }
21099   fi
21100
21101   # Set linker optimization flags.
21102   if test x"$with_gnu_ld" = x"yes"; then
21103     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21104   fi
21105
21106
21107
21108
21109
21110   ac_test_CXXFLAGS="${CXXFLAGS+set}"
21111   ac_save_CXXFLAGS="$CXXFLAGS"
21112   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21113
21114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21115 $as_echo_n "checking for sin in -lm... " >&6; }
21116 if test "${ac_cv_lib_m_sin+set}" = set; then :
21117   $as_echo_n "(cached) " >&6
21118 else
21119   ac_check_lib_save_LIBS=$LIBS
21120 LIBS="-lm  $LIBS"
21121 if test x$gcc_no_link = xyes; then
21122   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21123 fi
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h.  */
21126
21127 /* Override any GCC internal prototype to avoid an error.
21128    Use char because int might match the return type of a GCC
21129    builtin and then its argument prototype would still apply.  */
21130 #ifdef __cplusplus
21131 extern "C"
21132 #endif
21133 char sin ();
21134 int
21135 main ()
21136 {
21137 return sin ();
21138   ;
21139   return 0;
21140 }
21141 _ACEOF
21142 if ac_fn_c_try_link "$LINENO"; then :
21143   ac_cv_lib_m_sin=yes
21144 else
21145   ac_cv_lib_m_sin=no
21146 fi
21147 rm -f core conftest.err conftest.$ac_objext \
21148     conftest$ac_exeext conftest.$ac_ext
21149 LIBS=$ac_check_lib_save_LIBS
21150 fi
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21152 $as_echo "$ac_cv_lib_m_sin" >&6; }
21153 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21154   libm="-lm"
21155 fi
21156
21157   ac_save_LIBS="$LIBS"
21158   LIBS="$LIBS $libm"
21159
21160
21161
21162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21163 $as_echo_n "checking for isinf declaration... " >&6; }
21164   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21165     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21166   $as_echo_n "(cached) " >&6
21167 else
21168
21169
21170       ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21175
21176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h.  */
21178 #include <math.h>
21179                       #ifdef HAVE_IEEEFP_H
21180                       #include <ieeefp.h>
21181                       #endif
21182
21183 int
21184 main ()
21185 {
21186  isinf(0);
21187   ;
21188   return 0;
21189 }
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192   glibcxx_cv_func_isinf_use=yes
21193 else
21194   glibcxx_cv_func_isinf_use=no
21195 fi
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197       ac_ext=c
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21202
21203
21204 fi
21205
21206   fi
21207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21208 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21209
21210   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21211     for ac_func in isinf
21212 do :
21213   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21214 if test "x$ac_cv_func_isinf" = x""yes; then :
21215   cat >>confdefs.h <<_ACEOF
21216 #define HAVE_ISINF 1
21217 _ACEOF
21218
21219 fi
21220 done
21221
21222   else
21223
21224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21225 $as_echo_n "checking for _isinf declaration... " >&6; }
21226   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21227     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21228   $as_echo_n "(cached) " >&6
21229 else
21230
21231
21232       ac_ext=cpp
21233 ac_cpp='$CXXCPP $CPPFLAGS'
21234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237
21238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h.  */
21240 #include <math.h>
21241                       #ifdef HAVE_IEEEFP_H
21242                       #include <ieeefp.h>
21243                       #endif
21244
21245 int
21246 main ()
21247 {
21248  _isinf(0);
21249   ;
21250   return 0;
21251 }
21252 _ACEOF
21253 if ac_fn_cxx_try_compile "$LINENO"; then :
21254   glibcxx_cv_func__isinf_use=yes
21255 else
21256   glibcxx_cv_func__isinf_use=no
21257 fi
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259       ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
21265
21266 fi
21267
21268   fi
21269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21270 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21271
21272     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21273       for ac_func in _isinf
21274 do :
21275   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21276 if test "x$ac_cv_func__isinf" = x""yes; then :
21277   cat >>confdefs.h <<_ACEOF
21278 #define HAVE__ISINF 1
21279 _ACEOF
21280
21281 fi
21282 done
21283
21284     fi
21285   fi
21286
21287
21288
21289
21290
21291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21292 $as_echo_n "checking for isnan declaration... " >&6; }
21293   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21294     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21295   $as_echo_n "(cached) " >&6
21296 else
21297
21298
21299       ac_ext=cpp
21300 ac_cpp='$CXXCPP $CPPFLAGS'
21301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21304
21305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h.  */
21307 #include <math.h>
21308                       #ifdef HAVE_IEEEFP_H
21309                       #include <ieeefp.h>
21310                       #endif
21311
21312 int
21313 main ()
21314 {
21315  isnan(0);
21316   ;
21317   return 0;
21318 }
21319 _ACEOF
21320 if ac_fn_cxx_try_compile "$LINENO"; then :
21321   glibcxx_cv_func_isnan_use=yes
21322 else
21323   glibcxx_cv_func_isnan_use=no
21324 fi
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326       ac_ext=c
21327 ac_cpp='$CPP $CPPFLAGS'
21328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21331
21332
21333 fi
21334
21335   fi
21336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21337 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21338
21339   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21340     for ac_func in isnan
21341 do :
21342   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21343 if test "x$ac_cv_func_isnan" = x""yes; then :
21344   cat >>confdefs.h <<_ACEOF
21345 #define HAVE_ISNAN 1
21346 _ACEOF
21347
21348 fi
21349 done
21350
21351   else
21352
21353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21354 $as_echo_n "checking for _isnan declaration... " >&6; }
21355   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21356     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21357   $as_echo_n "(cached) " >&6
21358 else
21359
21360
21361       ac_ext=cpp
21362 ac_cpp='$CXXCPP $CPPFLAGS'
21363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21366
21367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h.  */
21369 #include <math.h>
21370                       #ifdef HAVE_IEEEFP_H
21371                       #include <ieeefp.h>
21372                       #endif
21373
21374 int
21375 main ()
21376 {
21377  _isnan(0);
21378   ;
21379   return 0;
21380 }
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383   glibcxx_cv_func__isnan_use=yes
21384 else
21385   glibcxx_cv_func__isnan_use=no
21386 fi
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388       ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21393
21394
21395 fi
21396
21397   fi
21398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21399 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21400
21401     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21402       for ac_func in _isnan
21403 do :
21404   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21405 if test "x$ac_cv_func__isnan" = x""yes; then :
21406   cat >>confdefs.h <<_ACEOF
21407 #define HAVE__ISNAN 1
21408 _ACEOF
21409
21410 fi
21411 done
21412
21413     fi
21414   fi
21415
21416
21417
21418
21419
21420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21421 $as_echo_n "checking for finite declaration... " >&6; }
21422   if test x${glibcxx_cv_func_finite_use+set} != xset; then
21423     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21424   $as_echo_n "(cached) " >&6
21425 else
21426
21427
21428       ac_ext=cpp
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21433
21434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h.  */
21436 #include <math.h>
21437                       #ifdef HAVE_IEEEFP_H
21438                       #include <ieeefp.h>
21439                       #endif
21440
21441 int
21442 main ()
21443 {
21444  finite(0);
21445   ;
21446   return 0;
21447 }
21448 _ACEOF
21449 if ac_fn_cxx_try_compile "$LINENO"; then :
21450   glibcxx_cv_func_finite_use=yes
21451 else
21452   glibcxx_cv_func_finite_use=no
21453 fi
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455       ac_ext=c
21456 ac_cpp='$CPP $CPPFLAGS'
21457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21460
21461
21462 fi
21463
21464   fi
21465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21466 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21467
21468   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21469     for ac_func in finite
21470 do :
21471   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21472 if test "x$ac_cv_func_finite" = x""yes; then :
21473   cat >>confdefs.h <<_ACEOF
21474 #define HAVE_FINITE 1
21475 _ACEOF
21476
21477 fi
21478 done
21479
21480   else
21481
21482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21483 $as_echo_n "checking for _finite declaration... " >&6; }
21484   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21485     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21486   $as_echo_n "(cached) " >&6
21487 else
21488
21489
21490       ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21495
21496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h.  */
21498 #include <math.h>
21499                       #ifdef HAVE_IEEEFP_H
21500                       #include <ieeefp.h>
21501                       #endif
21502
21503 int
21504 main ()
21505 {
21506  _finite(0);
21507   ;
21508   return 0;
21509 }
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512   glibcxx_cv_func__finite_use=yes
21513 else
21514   glibcxx_cv_func__finite_use=no
21515 fi
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517       ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522
21523
21524 fi
21525
21526   fi
21527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21528 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21529
21530     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21531       for ac_func in _finite
21532 do :
21533   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21534 if test "x$ac_cv_func__finite" = x""yes; then :
21535   cat >>confdefs.h <<_ACEOF
21536 #define HAVE__FINITE 1
21537 _ACEOF
21538
21539 fi
21540 done
21541
21542     fi
21543   fi
21544
21545
21546
21547
21548
21549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21550 $as_echo_n "checking for sincos declaration... " >&6; }
21551   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21552     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21553   $as_echo_n "(cached) " >&6
21554 else
21555
21556
21557       ac_ext=cpp
21558 ac_cpp='$CXXCPP $CPPFLAGS'
21559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21562
21563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h.  */
21565 #include <math.h>
21566 int
21567 main ()
21568 {
21569  sincos(0, 0, 0);
21570   ;
21571   return 0;
21572 }
21573 _ACEOF
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575   glibcxx_cv_func_sincos_use=yes
21576 else
21577   glibcxx_cv_func_sincos_use=no
21578 fi
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580       ac_ext=c
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21585
21586
21587 fi
21588
21589   fi
21590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21591 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21592
21593   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21594     for ac_func in sincos
21595 do :
21596   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21597 if test "x$ac_cv_func_sincos" = x""yes; then :
21598   cat >>confdefs.h <<_ACEOF
21599 #define HAVE_SINCOS 1
21600 _ACEOF
21601
21602 fi
21603 done
21604
21605   else
21606
21607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21608 $as_echo_n "checking for _sincos declaration... " >&6; }
21609   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21610     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21611   $as_echo_n "(cached) " >&6
21612 else
21613
21614
21615       ac_ext=cpp
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21620
21621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h.  */
21623 #include <math.h>
21624 int
21625 main ()
21626 {
21627  _sincos(0, 0, 0);
21628   ;
21629   return 0;
21630 }
21631 _ACEOF
21632 if ac_fn_cxx_try_compile "$LINENO"; then :
21633   glibcxx_cv_func__sincos_use=yes
21634 else
21635   glibcxx_cv_func__sincos_use=no
21636 fi
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638       ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643
21644
21645 fi
21646
21647   fi
21648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21649 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21650
21651     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21652       for ac_func in _sincos
21653 do :
21654   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21655 if test "x$ac_cv_func__sincos" = x""yes; then :
21656   cat >>confdefs.h <<_ACEOF
21657 #define HAVE__SINCOS 1
21658 _ACEOF
21659
21660 fi
21661 done
21662
21663     fi
21664   fi
21665
21666
21667
21668
21669
21670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21671 $as_echo_n "checking for fpclass declaration... " >&6; }
21672   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21673     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21674   $as_echo_n "(cached) " >&6
21675 else
21676
21677
21678       ac_ext=cpp
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21683
21684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h.  */
21686 #include <math.h>
21687                       #ifdef HAVE_IEEEFP_H
21688                       #include <ieeefp.h>
21689                       #endif
21690
21691 int
21692 main ()
21693 {
21694  fpclass(0);
21695   ;
21696   return 0;
21697 }
21698 _ACEOF
21699 if ac_fn_cxx_try_compile "$LINENO"; then :
21700   glibcxx_cv_func_fpclass_use=yes
21701 else
21702   glibcxx_cv_func_fpclass_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_fpclass_use" >&5
21716 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21717
21718   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21719     for ac_func in fpclass
21720 do :
21721   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21722 if test "x$ac_cv_func_fpclass" = x""yes; then :
21723   cat >>confdefs.h <<_ACEOF
21724 #define HAVE_FPCLASS 1
21725 _ACEOF
21726
21727 fi
21728 done
21729
21730   else
21731
21732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21733 $as_echo_n "checking for _fpclass declaration... " >&6; }
21734   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21735     if test "${glibcxx_cv_func__fpclass_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                       #ifdef HAVE_IEEEFP_H
21750                       #include <ieeefp.h>
21751                       #endif
21752
21753 int
21754 main ()
21755 {
21756  _fpclass(0);
21757   ;
21758   return 0;
21759 }
21760 _ACEOF
21761 if ac_fn_cxx_try_compile "$LINENO"; then :
21762   glibcxx_cv_func__fpclass_use=yes
21763 else
21764   glibcxx_cv_func__fpclass_use=no
21765 fi
21766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21767       ac_ext=c
21768 ac_cpp='$CPP $CPPFLAGS'
21769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21772
21773
21774 fi
21775
21776   fi
21777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21778 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21779
21780     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21781       for ac_func in _fpclass
21782 do :
21783   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21784 if test "x$ac_cv_func__fpclass" = x""yes; then :
21785   cat >>confdefs.h <<_ACEOF
21786 #define HAVE__FPCLASS 1
21787 _ACEOF
21788
21789 fi
21790 done
21791
21792     fi
21793   fi
21794
21795
21796
21797
21798
21799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21800 $as_echo_n "checking for qfpclass declaration... " >&6; }
21801   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21802     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21803   $as_echo_n "(cached) " >&6
21804 else
21805
21806
21807       ac_ext=cpp
21808 ac_cpp='$CXXCPP $CPPFLAGS'
21809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21812
21813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h.  */
21815 #include <math.h>
21816                       #ifdef HAVE_IEEEFP_H
21817                       #include <ieeefp.h>
21818                       #endif
21819
21820 int
21821 main ()
21822 {
21823  qfpclass(0);
21824   ;
21825   return 0;
21826 }
21827 _ACEOF
21828 if ac_fn_cxx_try_compile "$LINENO"; then :
21829   glibcxx_cv_func_qfpclass_use=yes
21830 else
21831   glibcxx_cv_func_qfpclass_use=no
21832 fi
21833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21834       ac_ext=c
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839
21840
21841 fi
21842
21843   fi
21844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21845 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21846
21847   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21848     for ac_func in qfpclass
21849 do :
21850   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21851 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21852   cat >>confdefs.h <<_ACEOF
21853 #define HAVE_QFPCLASS 1
21854 _ACEOF
21855
21856 fi
21857 done
21858
21859   else
21860
21861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21862 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21863   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21864     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21865   $as_echo_n "(cached) " >&6
21866 else
21867
21868
21869       ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21874
21875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h.  */
21877 #include <math.h>
21878                       #ifdef HAVE_IEEEFP_H
21879                       #include <ieeefp.h>
21880                       #endif
21881
21882 int
21883 main ()
21884 {
21885  _qfpclass(0);
21886   ;
21887   return 0;
21888 }
21889 _ACEOF
21890 if ac_fn_cxx_try_compile "$LINENO"; then :
21891   glibcxx_cv_func__qfpclass_use=yes
21892 else
21893   glibcxx_cv_func__qfpclass_use=no
21894 fi
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896       ac_ext=c
21897 ac_cpp='$CPP $CPPFLAGS'
21898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21901
21902
21903 fi
21904
21905   fi
21906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21907 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21908
21909     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21910       for ac_func in _qfpclass
21911 do :
21912   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21913 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21914   cat >>confdefs.h <<_ACEOF
21915 #define HAVE__QFPCLASS 1
21916 _ACEOF
21917
21918 fi
21919 done
21920
21921     fi
21922   fi
21923
21924
21925
21926
21927
21928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21929 $as_echo_n "checking for hypot declaration... " >&6; }
21930   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21931     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21932   $as_echo_n "(cached) " >&6
21933 else
21934
21935
21936       ac_ext=cpp
21937 ac_cpp='$CXXCPP $CPPFLAGS'
21938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21941
21942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h.  */
21944 #include <math.h>
21945 int
21946 main ()
21947 {
21948  hypot(0, 0);
21949   ;
21950   return 0;
21951 }
21952 _ACEOF
21953 if ac_fn_cxx_try_compile "$LINENO"; then :
21954   glibcxx_cv_func_hypot_use=yes
21955 else
21956   glibcxx_cv_func_hypot_use=no
21957 fi
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959       ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21964
21965
21966 fi
21967
21968   fi
21969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21970 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21971
21972   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21973     for ac_func in hypot
21974 do :
21975   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21976 if test "x$ac_cv_func_hypot" = x""yes; then :
21977   cat >>confdefs.h <<_ACEOF
21978 #define HAVE_HYPOT 1
21979 _ACEOF
21980
21981 fi
21982 done
21983
21984   else
21985
21986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21987 $as_echo_n "checking for _hypot declaration... " >&6; }
21988   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21989     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21990   $as_echo_n "(cached) " >&6
21991 else
21992
21993
21994       ac_ext=cpp
21995 ac_cpp='$CXXCPP $CPPFLAGS'
21996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21999
22000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22001 /* end confdefs.h.  */
22002 #include <math.h>
22003 int
22004 main ()
22005 {
22006  _hypot(0, 0);
22007   ;
22008   return 0;
22009 }
22010 _ACEOF
22011 if ac_fn_cxx_try_compile "$LINENO"; then :
22012   glibcxx_cv_func__hypot_use=yes
22013 else
22014   glibcxx_cv_func__hypot_use=no
22015 fi
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017       ac_ext=c
22018 ac_cpp='$CPP $CPPFLAGS'
22019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22022
22023
22024 fi
22025
22026   fi
22027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22028 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22029
22030     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22031       for ac_func in _hypot
22032 do :
22033   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22034 if test "x$ac_cv_func__hypot" = x""yes; then :
22035   cat >>confdefs.h <<_ACEOF
22036 #define HAVE__HYPOT 1
22037 _ACEOF
22038
22039 fi
22040 done
22041
22042     fi
22043   fi
22044
22045
22046
22047
22048
22049     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22050 $as_echo_n "checking for float trig functions... " >&6; }
22051   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22052   $as_echo_n "(cached) " >&6
22053 else
22054
22055
22056     ac_ext=cpp
22057 ac_cpp='$CXXCPP $CPPFLAGS'
22058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22061
22062     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22063 /* end confdefs.h.  */
22064 #include <math.h>
22065 int
22066 main ()
22067 {
22068 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22069   ;
22070   return 0;
22071 }
22072 _ACEOF
22073 if ac_fn_cxx_try_compile "$LINENO"; then :
22074   glibcxx_cv_func_float_trig_use=yes
22075 else
22076   glibcxx_cv_func_float_trig_use=no
22077 fi
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079     ac_ext=c
22080 ac_cpp='$CPP $CPPFLAGS'
22081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22084
22085 fi
22086
22087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22088 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22089   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22090     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22091 do :
22092   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22094 eval as_val=\$$as_ac_var
22095    if test "x$as_val" = x""yes; then :
22096   cat >>confdefs.h <<_ACEOF
22097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22098 _ACEOF
22099
22100 fi
22101 done
22102
22103   else
22104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22105 $as_echo_n "checking for _float trig functions... " >&6; }
22106     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22107   $as_echo_n "(cached) " >&6
22108 else
22109
22110
22111       ac_ext=cpp
22112 ac_cpp='$CXXCPP $CPPFLAGS'
22113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22116
22117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h.  */
22119 #include <math.h>
22120 int
22121 main ()
22122 {
22123 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22124   ;
22125   return 0;
22126 }
22127 _ACEOF
22128 if ac_fn_cxx_try_compile "$LINENO"; then :
22129   glibcxx_cv_func__float_trig_use=yes
22130 else
22131   glibcxx_cv_func__float_trig_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 fi
22141
22142     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22143 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22144     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22145       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22146 do :
22147   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22149 eval as_val=\$$as_ac_var
22150    if test "x$as_val" = x""yes; then :
22151   cat >>confdefs.h <<_ACEOF
22152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22153 _ACEOF
22154
22155 fi
22156 done
22157
22158     fi
22159   fi
22160
22161
22162
22163
22164
22165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22166 $as_echo_n "checking for float round functions... " >&6; }
22167   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22168   $as_echo_n "(cached) " >&6
22169 else
22170
22171
22172     ac_ext=cpp
22173 ac_cpp='$CXXCPP $CPPFLAGS'
22174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22177
22178     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22179 /* end confdefs.h.  */
22180 #include <math.h>
22181 int
22182 main ()
22183 {
22184 ceilf (0); floorf (0);
22185   ;
22186   return 0;
22187 }
22188 _ACEOF
22189 if ac_fn_cxx_try_compile "$LINENO"; then :
22190   glibcxx_cv_func_float_round_use=yes
22191 else
22192   glibcxx_cv_func_float_round_use=no
22193 fi
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195     ac_ext=c
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200
22201 fi
22202
22203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22204 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22205   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22206     for ac_func in ceilf floorf
22207 do :
22208   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22210 eval as_val=\$$as_ac_var
22211    if test "x$as_val" = x""yes; then :
22212   cat >>confdefs.h <<_ACEOF
22213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22214 _ACEOF
22215
22216 fi
22217 done
22218
22219   else
22220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22221 $as_echo_n "checking for _float round functions... " >&6; }
22222     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22223   $as_echo_n "(cached) " >&6
22224 else
22225
22226
22227       ac_ext=cpp
22228 ac_cpp='$CXXCPP $CPPFLAGS'
22229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22232
22233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22234 /* end confdefs.h.  */
22235 #include <math.h>
22236 int
22237 main ()
22238 {
22239 _ceilf (0); _floorf (0);
22240   ;
22241   return 0;
22242 }
22243 _ACEOF
22244 if ac_fn_cxx_try_compile "$LINENO"; then :
22245   glibcxx_cv_func__float_round_use=yes
22246 else
22247   glibcxx_cv_func__float_round_use=no
22248 fi
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250       ac_ext=c
22251 ac_cpp='$CPP $CPPFLAGS'
22252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22255
22256 fi
22257
22258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22259 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22260     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22261       for ac_func in _ceilf _floorf
22262 do :
22263   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22265 eval as_val=\$$as_ac_var
22266    if test "x$as_val" = x""yes; then :
22267   cat >>confdefs.h <<_ACEOF
22268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22269 _ACEOF
22270
22271 fi
22272 done
22273
22274     fi
22275   fi
22276
22277
22278
22279
22280
22281
22282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22283 $as_echo_n "checking for expf declaration... " >&6; }
22284   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22285     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22286   $as_echo_n "(cached) " >&6
22287 else
22288
22289
22290       ac_ext=cpp
22291 ac_cpp='$CXXCPP $CPPFLAGS'
22292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22295
22296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22297 /* end confdefs.h.  */
22298 #include <math.h>
22299                       #ifdef HAVE_IEEEFP_H
22300                       #include <ieeefp.h>
22301                       #endif
22302
22303 int
22304 main ()
22305 {
22306  expf(0);
22307   ;
22308   return 0;
22309 }
22310 _ACEOF
22311 if ac_fn_cxx_try_compile "$LINENO"; then :
22312   glibcxx_cv_func_expf_use=yes
22313 else
22314   glibcxx_cv_func_expf_use=no
22315 fi
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317       ac_ext=c
22318 ac_cpp='$CPP $CPPFLAGS'
22319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22322
22323
22324 fi
22325
22326   fi
22327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22328 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22329
22330   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22331     for ac_func in expf
22332 do :
22333   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22334 if test "x$ac_cv_func_expf" = x""yes; then :
22335   cat >>confdefs.h <<_ACEOF
22336 #define HAVE_EXPF 1
22337 _ACEOF
22338
22339 fi
22340 done
22341
22342   else
22343
22344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22345 $as_echo_n "checking for _expf declaration... " >&6; }
22346   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22347     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22348   $as_echo_n "(cached) " >&6
22349 else
22350
22351
22352       ac_ext=cpp
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357
22358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h.  */
22360 #include <math.h>
22361                       #ifdef HAVE_IEEEFP_H
22362                       #include <ieeefp.h>
22363                       #endif
22364
22365 int
22366 main ()
22367 {
22368  _expf(0);
22369   ;
22370   return 0;
22371 }
22372 _ACEOF
22373 if ac_fn_cxx_try_compile "$LINENO"; then :
22374   glibcxx_cv_func__expf_use=yes
22375 else
22376   glibcxx_cv_func__expf_use=no
22377 fi
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379       ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22384
22385
22386 fi
22387
22388   fi
22389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22390 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22391
22392     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22393       for ac_func in _expf
22394 do :
22395   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22396 if test "x$ac_cv_func__expf" = x""yes; then :
22397   cat >>confdefs.h <<_ACEOF
22398 #define HAVE__EXPF 1
22399 _ACEOF
22400
22401 fi
22402 done
22403
22404     fi
22405   fi
22406
22407
22408
22409
22410
22411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22412 $as_echo_n "checking for isnanf declaration... " >&6; }
22413   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22414     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22415   $as_echo_n "(cached) " >&6
22416 else
22417
22418
22419       ac_ext=cpp
22420 ac_cpp='$CXXCPP $CPPFLAGS'
22421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22424
22425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h.  */
22427 #include <math.h>
22428                       #ifdef HAVE_IEEEFP_H
22429                       #include <ieeefp.h>
22430                       #endif
22431
22432 int
22433 main ()
22434 {
22435  isnanf(0);
22436   ;
22437   return 0;
22438 }
22439 _ACEOF
22440 if ac_fn_cxx_try_compile "$LINENO"; then :
22441   glibcxx_cv_func_isnanf_use=yes
22442 else
22443   glibcxx_cv_func_isnanf_use=no
22444 fi
22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446       ac_ext=c
22447 ac_cpp='$CPP $CPPFLAGS'
22448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22451
22452
22453 fi
22454
22455   fi
22456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22457 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22458
22459   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22460     for ac_func in isnanf
22461 do :
22462   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22463 if test "x$ac_cv_func_isnanf" = x""yes; then :
22464   cat >>confdefs.h <<_ACEOF
22465 #define HAVE_ISNANF 1
22466 _ACEOF
22467
22468 fi
22469 done
22470
22471   else
22472
22473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22474 $as_echo_n "checking for _isnanf declaration... " >&6; }
22475   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22476     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22477   $as_echo_n "(cached) " >&6
22478 else
22479
22480
22481       ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486
22487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h.  */
22489 #include <math.h>
22490                       #ifdef HAVE_IEEEFP_H
22491                       #include <ieeefp.h>
22492                       #endif
22493
22494 int
22495 main ()
22496 {
22497  _isnanf(0);
22498   ;
22499   return 0;
22500 }
22501 _ACEOF
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503   glibcxx_cv_func__isnanf_use=yes
22504 else
22505   glibcxx_cv_func__isnanf_use=no
22506 fi
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508       ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513
22514
22515 fi
22516
22517   fi
22518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22519 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22520
22521     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22522       for ac_func in _isnanf
22523 do :
22524   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22525 if test "x$ac_cv_func__isnanf" = x""yes; then :
22526   cat >>confdefs.h <<_ACEOF
22527 #define HAVE__ISNANF 1
22528 _ACEOF
22529
22530 fi
22531 done
22532
22533     fi
22534   fi
22535
22536
22537
22538
22539
22540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22541 $as_echo_n "checking for isinff declaration... " >&6; }
22542   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22543     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22544   $as_echo_n "(cached) " >&6
22545 else
22546
22547
22548       ac_ext=cpp
22549 ac_cpp='$CXXCPP $CPPFLAGS'
22550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22553
22554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h.  */
22556 #include <math.h>
22557                       #ifdef HAVE_IEEEFP_H
22558                       #include <ieeefp.h>
22559                       #endif
22560
22561 int
22562 main ()
22563 {
22564  isinff(0);
22565   ;
22566   return 0;
22567 }
22568 _ACEOF
22569 if ac_fn_cxx_try_compile "$LINENO"; then :
22570   glibcxx_cv_func_isinff_use=yes
22571 else
22572   glibcxx_cv_func_isinff_use=no
22573 fi
22574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22575       ac_ext=c
22576 ac_cpp='$CPP $CPPFLAGS'
22577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22580
22581
22582 fi
22583
22584   fi
22585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22586 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22587
22588   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22589     for ac_func in isinff
22590 do :
22591   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22592 if test "x$ac_cv_func_isinff" = x""yes; then :
22593   cat >>confdefs.h <<_ACEOF
22594 #define HAVE_ISINFF 1
22595 _ACEOF
22596
22597 fi
22598 done
22599
22600   else
22601
22602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22603 $as_echo_n "checking for _isinff declaration... " >&6; }
22604   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22605     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22606   $as_echo_n "(cached) " >&6
22607 else
22608
22609
22610       ac_ext=cpp
22611 ac_cpp='$CXXCPP $CPPFLAGS'
22612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22615
22616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h.  */
22618 #include <math.h>
22619                       #ifdef HAVE_IEEEFP_H
22620                       #include <ieeefp.h>
22621                       #endif
22622
22623 int
22624 main ()
22625 {
22626  _isinff(0);
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 if ac_fn_cxx_try_compile "$LINENO"; then :
22632   glibcxx_cv_func__isinff_use=yes
22633 else
22634   glibcxx_cv_func__isinff_use=no
22635 fi
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637       ac_ext=c
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22642
22643
22644 fi
22645
22646   fi
22647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22648 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22649
22650     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22651       for ac_func in _isinff
22652 do :
22653   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22654 if test "x$ac_cv_func__isinff" = x""yes; then :
22655   cat >>confdefs.h <<_ACEOF
22656 #define HAVE__ISINFF 1
22657 _ACEOF
22658
22659 fi
22660 done
22661
22662     fi
22663   fi
22664
22665
22666
22667
22668
22669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22670 $as_echo_n "checking for atan2f declaration... " >&6; }
22671   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22672     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22673   $as_echo_n "(cached) " >&6
22674 else
22675
22676
22677       ac_ext=cpp
22678 ac_cpp='$CXXCPP $CPPFLAGS'
22679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22682
22683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22684 /* end confdefs.h.  */
22685 #include <math.h>
22686 int
22687 main ()
22688 {
22689  atan2f(0, 0);
22690   ;
22691   return 0;
22692 }
22693 _ACEOF
22694 if ac_fn_cxx_try_compile "$LINENO"; then :
22695   glibcxx_cv_func_atan2f_use=yes
22696 else
22697   glibcxx_cv_func_atan2f_use=no
22698 fi
22699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22700       ac_ext=c
22701 ac_cpp='$CPP $CPPFLAGS'
22702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22705
22706
22707 fi
22708
22709   fi
22710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22711 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22712
22713   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22714     for ac_func in atan2f
22715 do :
22716   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22717 if test "x$ac_cv_func_atan2f" = x""yes; then :
22718   cat >>confdefs.h <<_ACEOF
22719 #define HAVE_ATAN2F 1
22720 _ACEOF
22721
22722 fi
22723 done
22724
22725   else
22726
22727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22728 $as_echo_n "checking for _atan2f declaration... " >&6; }
22729   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22730     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22731   $as_echo_n "(cached) " >&6
22732 else
22733
22734
22735       ac_ext=cpp
22736 ac_cpp='$CXXCPP $CPPFLAGS'
22737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22740
22741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h.  */
22743 #include <math.h>
22744 int
22745 main ()
22746 {
22747  _atan2f(0, 0);
22748   ;
22749   return 0;
22750 }
22751 _ACEOF
22752 if ac_fn_cxx_try_compile "$LINENO"; then :
22753   glibcxx_cv_func__atan2f_use=yes
22754 else
22755   glibcxx_cv_func__atan2f_use=no
22756 fi
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758       ac_ext=c
22759 ac_cpp='$CPP $CPPFLAGS'
22760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22763
22764
22765 fi
22766
22767   fi
22768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22769 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22770
22771     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22772       for ac_func in _atan2f
22773 do :
22774   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22775 if test "x$ac_cv_func__atan2f" = x""yes; then :
22776   cat >>confdefs.h <<_ACEOF
22777 #define HAVE__ATAN2F 1
22778 _ACEOF
22779
22780 fi
22781 done
22782
22783     fi
22784   fi
22785
22786
22787
22788
22789
22790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22791 $as_echo_n "checking for fabsf declaration... " >&6; }
22792   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22793     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22794   $as_echo_n "(cached) " >&6
22795 else
22796
22797
22798       ac_ext=cpp
22799 ac_cpp='$CXXCPP $CPPFLAGS'
22800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22803
22804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22805 /* end confdefs.h.  */
22806 #include <math.h>
22807                       #ifdef HAVE_IEEEFP_H
22808                       #include <ieeefp.h>
22809                       #endif
22810
22811 int
22812 main ()
22813 {
22814  fabsf(0);
22815   ;
22816   return 0;
22817 }
22818 _ACEOF
22819 if ac_fn_cxx_try_compile "$LINENO"; then :
22820   glibcxx_cv_func_fabsf_use=yes
22821 else
22822   glibcxx_cv_func_fabsf_use=no
22823 fi
22824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22825       ac_ext=c
22826 ac_cpp='$CPP $CPPFLAGS'
22827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22830
22831
22832 fi
22833
22834   fi
22835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22836 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22837
22838   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22839     for ac_func in fabsf
22840 do :
22841   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22842 if test "x$ac_cv_func_fabsf" = x""yes; then :
22843   cat >>confdefs.h <<_ACEOF
22844 #define HAVE_FABSF 1
22845 _ACEOF
22846
22847 fi
22848 done
22849
22850   else
22851
22852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22853 $as_echo_n "checking for _fabsf declaration... " >&6; }
22854   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22855     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22856   $as_echo_n "(cached) " >&6
22857 else
22858
22859
22860       ac_ext=cpp
22861 ac_cpp='$CXXCPP $CPPFLAGS'
22862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22865
22866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h.  */
22868 #include <math.h>
22869                       #ifdef HAVE_IEEEFP_H
22870                       #include <ieeefp.h>
22871                       #endif
22872
22873 int
22874 main ()
22875 {
22876  _fabsf(0);
22877   ;
22878   return 0;
22879 }
22880 _ACEOF
22881 if ac_fn_cxx_try_compile "$LINENO"; then :
22882   glibcxx_cv_func__fabsf_use=yes
22883 else
22884   glibcxx_cv_func__fabsf_use=no
22885 fi
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887       ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22892
22893
22894 fi
22895
22896   fi
22897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22898 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22899
22900     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22901       for ac_func in _fabsf
22902 do :
22903   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22904 if test "x$ac_cv_func__fabsf" = x""yes; then :
22905   cat >>confdefs.h <<_ACEOF
22906 #define HAVE__FABSF 1
22907 _ACEOF
22908
22909 fi
22910 done
22911
22912     fi
22913   fi
22914
22915
22916
22917
22918
22919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22920 $as_echo_n "checking for fmodf declaration... " >&6; }
22921   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22922     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22923   $as_echo_n "(cached) " >&6
22924 else
22925
22926
22927       ac_ext=cpp
22928 ac_cpp='$CXXCPP $CPPFLAGS'
22929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22932
22933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h.  */
22935 #include <math.h>
22936 int
22937 main ()
22938 {
22939  fmodf(0, 0);
22940   ;
22941   return 0;
22942 }
22943 _ACEOF
22944 if ac_fn_cxx_try_compile "$LINENO"; then :
22945   glibcxx_cv_func_fmodf_use=yes
22946 else
22947   glibcxx_cv_func_fmodf_use=no
22948 fi
22949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22950       ac_ext=c
22951 ac_cpp='$CPP $CPPFLAGS'
22952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22955
22956
22957 fi
22958
22959   fi
22960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22961 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22962
22963   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22964     for ac_func in fmodf
22965 do :
22966   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22967 if test "x$ac_cv_func_fmodf" = x""yes; then :
22968   cat >>confdefs.h <<_ACEOF
22969 #define HAVE_FMODF 1
22970 _ACEOF
22971
22972 fi
22973 done
22974
22975   else
22976
22977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22978 $as_echo_n "checking for _fmodf declaration... " >&6; }
22979   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22980     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22981   $as_echo_n "(cached) " >&6
22982 else
22983
22984
22985       ac_ext=cpp
22986 ac_cpp='$CXXCPP $CPPFLAGS'
22987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22990
22991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22992 /* end confdefs.h.  */
22993 #include <math.h>
22994 int
22995 main ()
22996 {
22997  _fmodf(0, 0);
22998   ;
22999   return 0;
23000 }
23001 _ACEOF
23002 if ac_fn_cxx_try_compile "$LINENO"; then :
23003   glibcxx_cv_func__fmodf_use=yes
23004 else
23005   glibcxx_cv_func__fmodf_use=no
23006 fi
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23008       ac_ext=c
23009 ac_cpp='$CPP $CPPFLAGS'
23010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23013
23014
23015 fi
23016
23017   fi
23018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23019 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23020
23021     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23022       for ac_func in _fmodf
23023 do :
23024   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23025 if test "x$ac_cv_func__fmodf" = x""yes; then :
23026   cat >>confdefs.h <<_ACEOF
23027 #define HAVE__FMODF 1
23028 _ACEOF
23029
23030 fi
23031 done
23032
23033     fi
23034   fi
23035
23036
23037
23038
23039
23040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23041 $as_echo_n "checking for frexpf declaration... " >&6; }
23042   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23043     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23044   $as_echo_n "(cached) " >&6
23045 else
23046
23047
23048       ac_ext=cpp
23049 ac_cpp='$CXXCPP $CPPFLAGS'
23050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053
23054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23055 /* end confdefs.h.  */
23056 #include <math.h>
23057 int
23058 main ()
23059 {
23060  frexpf(0, 0);
23061   ;
23062   return 0;
23063 }
23064 _ACEOF
23065 if ac_fn_cxx_try_compile "$LINENO"; then :
23066   glibcxx_cv_func_frexpf_use=yes
23067 else
23068   glibcxx_cv_func_frexpf_use=no
23069 fi
23070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23071       ac_ext=c
23072 ac_cpp='$CPP $CPPFLAGS'
23073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23076
23077
23078 fi
23079
23080   fi
23081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23082 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23083
23084   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23085     for ac_func in frexpf
23086 do :
23087   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23088 if test "x$ac_cv_func_frexpf" = x""yes; then :
23089   cat >>confdefs.h <<_ACEOF
23090 #define HAVE_FREXPF 1
23091 _ACEOF
23092
23093 fi
23094 done
23095
23096   else
23097
23098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23099 $as_echo_n "checking for _frexpf declaration... " >&6; }
23100   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23101     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23102   $as_echo_n "(cached) " >&6
23103 else
23104
23105
23106       ac_ext=cpp
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111
23112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h.  */
23114 #include <math.h>
23115 int
23116 main ()
23117 {
23118  _frexpf(0, 0);
23119   ;
23120   return 0;
23121 }
23122 _ACEOF
23123 if ac_fn_cxx_try_compile "$LINENO"; then :
23124   glibcxx_cv_func__frexpf_use=yes
23125 else
23126   glibcxx_cv_func__frexpf_use=no
23127 fi
23128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23129       ac_ext=c
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23134
23135
23136 fi
23137
23138   fi
23139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23140 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23141
23142     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23143       for ac_func in _frexpf
23144 do :
23145   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23146 if test "x$ac_cv_func__frexpf" = x""yes; then :
23147   cat >>confdefs.h <<_ACEOF
23148 #define HAVE__FREXPF 1
23149 _ACEOF
23150
23151 fi
23152 done
23153
23154     fi
23155   fi
23156
23157
23158
23159
23160
23161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23162 $as_echo_n "checking for hypotf declaration... " >&6; }
23163   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23164     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23165   $as_echo_n "(cached) " >&6
23166 else
23167
23168
23169       ac_ext=cpp
23170 ac_cpp='$CXXCPP $CPPFLAGS'
23171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23174
23175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23176 /* end confdefs.h.  */
23177 #include <math.h>
23178 int
23179 main ()
23180 {
23181  hypotf(0, 0);
23182   ;
23183   return 0;
23184 }
23185 _ACEOF
23186 if ac_fn_cxx_try_compile "$LINENO"; then :
23187   glibcxx_cv_func_hypotf_use=yes
23188 else
23189   glibcxx_cv_func_hypotf_use=no
23190 fi
23191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23192       ac_ext=c
23193 ac_cpp='$CPP $CPPFLAGS'
23194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23197
23198
23199 fi
23200
23201   fi
23202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23203 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23204
23205   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23206     for ac_func in hypotf
23207 do :
23208   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23209 if test "x$ac_cv_func_hypotf" = x""yes; then :
23210   cat >>confdefs.h <<_ACEOF
23211 #define HAVE_HYPOTF 1
23212 _ACEOF
23213
23214 fi
23215 done
23216
23217   else
23218
23219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23220 $as_echo_n "checking for _hypotf declaration... " >&6; }
23221   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23222     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23223   $as_echo_n "(cached) " >&6
23224 else
23225
23226
23227       ac_ext=cpp
23228 ac_cpp='$CXXCPP $CPPFLAGS'
23229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232
23233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h.  */
23235 #include <math.h>
23236 int
23237 main ()
23238 {
23239  _hypotf(0, 0);
23240   ;
23241   return 0;
23242 }
23243 _ACEOF
23244 if ac_fn_cxx_try_compile "$LINENO"; then :
23245   glibcxx_cv_func__hypotf_use=yes
23246 else
23247   glibcxx_cv_func__hypotf_use=no
23248 fi
23249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250       ac_ext=c
23251 ac_cpp='$CPP $CPPFLAGS'
23252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255
23256
23257 fi
23258
23259   fi
23260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23261 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23262
23263     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23264       for ac_func in _hypotf
23265 do :
23266   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23267 if test "x$ac_cv_func__hypotf" = x""yes; then :
23268   cat >>confdefs.h <<_ACEOF
23269 #define HAVE__HYPOTF 1
23270 _ACEOF
23271
23272 fi
23273 done
23274
23275     fi
23276   fi
23277
23278
23279
23280
23281
23282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23283 $as_echo_n "checking for ldexpf declaration... " >&6; }
23284   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23285     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23286   $as_echo_n "(cached) " >&6
23287 else
23288
23289
23290       ac_ext=cpp
23291 ac_cpp='$CXXCPP $CPPFLAGS'
23292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23295
23296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23297 /* end confdefs.h.  */
23298 #include <math.h>
23299 int
23300 main ()
23301 {
23302  ldexpf(0, 0);
23303   ;
23304   return 0;
23305 }
23306 _ACEOF
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308   glibcxx_cv_func_ldexpf_use=yes
23309 else
23310   glibcxx_cv_func_ldexpf_use=no
23311 fi
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313       ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318
23319
23320 fi
23321
23322   fi
23323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23324 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23325
23326   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23327     for ac_func in ldexpf
23328 do :
23329   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23330 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23331   cat >>confdefs.h <<_ACEOF
23332 #define HAVE_LDEXPF 1
23333 _ACEOF
23334
23335 fi
23336 done
23337
23338   else
23339
23340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23341 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23342   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23343     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23344   $as_echo_n "(cached) " >&6
23345 else
23346
23347
23348       ac_ext=cpp
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353
23354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h.  */
23356 #include <math.h>
23357 int
23358 main ()
23359 {
23360  _ldexpf(0, 0);
23361   ;
23362   return 0;
23363 }
23364 _ACEOF
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366   glibcxx_cv_func__ldexpf_use=yes
23367 else
23368   glibcxx_cv_func__ldexpf_use=no
23369 fi
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371       ac_ext=c
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376
23377
23378 fi
23379
23380   fi
23381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23382 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23383
23384     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23385       for ac_func in _ldexpf
23386 do :
23387   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23388 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23389   cat >>confdefs.h <<_ACEOF
23390 #define HAVE__LDEXPF 1
23391 _ACEOF
23392
23393 fi
23394 done
23395
23396     fi
23397   fi
23398
23399
23400
23401
23402
23403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23404 $as_echo_n "checking for logf declaration... " >&6; }
23405   if test x${glibcxx_cv_func_logf_use+set} != xset; then
23406     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23407   $as_echo_n "(cached) " >&6
23408 else
23409
23410
23411       ac_ext=cpp
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23416
23417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h.  */
23419 #include <math.h>
23420                       #ifdef HAVE_IEEEFP_H
23421                       #include <ieeefp.h>
23422                       #endif
23423
23424 int
23425 main ()
23426 {
23427  logf(0);
23428   ;
23429   return 0;
23430 }
23431 _ACEOF
23432 if ac_fn_cxx_try_compile "$LINENO"; then :
23433   glibcxx_cv_func_logf_use=yes
23434 else
23435   glibcxx_cv_func_logf_use=no
23436 fi
23437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438       ac_ext=c
23439 ac_cpp='$CPP $CPPFLAGS'
23440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443
23444
23445 fi
23446
23447   fi
23448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23449 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23450
23451   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23452     for ac_func in logf
23453 do :
23454   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23455 if test "x$ac_cv_func_logf" = x""yes; then :
23456   cat >>confdefs.h <<_ACEOF
23457 #define HAVE_LOGF 1
23458 _ACEOF
23459
23460 fi
23461 done
23462
23463   else
23464
23465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23466 $as_echo_n "checking for _logf declaration... " >&6; }
23467   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23468     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23469   $as_echo_n "(cached) " >&6
23470 else
23471
23472
23473       ac_ext=cpp
23474 ac_cpp='$CXXCPP $CPPFLAGS'
23475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23478
23479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h.  */
23481 #include <math.h>
23482                       #ifdef HAVE_IEEEFP_H
23483                       #include <ieeefp.h>
23484                       #endif
23485
23486 int
23487 main ()
23488 {
23489  _logf(0);
23490   ;
23491   return 0;
23492 }
23493 _ACEOF
23494 if ac_fn_cxx_try_compile "$LINENO"; then :
23495   glibcxx_cv_func__logf_use=yes
23496 else
23497   glibcxx_cv_func__logf_use=no
23498 fi
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500       ac_ext=c
23501 ac_cpp='$CPP $CPPFLAGS'
23502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23505
23506
23507 fi
23508
23509   fi
23510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23511 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23512
23513     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23514       for ac_func in _logf
23515 do :
23516   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23517 if test "x$ac_cv_func__logf" = x""yes; then :
23518   cat >>confdefs.h <<_ACEOF
23519 #define HAVE__LOGF 1
23520 _ACEOF
23521
23522 fi
23523 done
23524
23525     fi
23526   fi
23527
23528
23529
23530
23531
23532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23533 $as_echo_n "checking for log10f declaration... " >&6; }
23534   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23535     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23536   $as_echo_n "(cached) " >&6
23537 else
23538
23539
23540       ac_ext=cpp
23541 ac_cpp='$CXXCPP $CPPFLAGS'
23542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23545
23546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h.  */
23548 #include <math.h>
23549                       #ifdef HAVE_IEEEFP_H
23550                       #include <ieeefp.h>
23551                       #endif
23552
23553 int
23554 main ()
23555 {
23556  log10f(0);
23557   ;
23558   return 0;
23559 }
23560 _ACEOF
23561 if ac_fn_cxx_try_compile "$LINENO"; then :
23562   glibcxx_cv_func_log10f_use=yes
23563 else
23564   glibcxx_cv_func_log10f_use=no
23565 fi
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23567       ac_ext=c
23568 ac_cpp='$CPP $CPPFLAGS'
23569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23572
23573
23574 fi
23575
23576   fi
23577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23578 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23579
23580   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23581     for ac_func in log10f
23582 do :
23583   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23584 if test "x$ac_cv_func_log10f" = x""yes; then :
23585   cat >>confdefs.h <<_ACEOF
23586 #define HAVE_LOG10F 1
23587 _ACEOF
23588
23589 fi
23590 done
23591
23592   else
23593
23594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23595 $as_echo_n "checking for _log10f declaration... " >&6; }
23596   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23597     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23598   $as_echo_n "(cached) " >&6
23599 else
23600
23601
23602       ac_ext=cpp
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23607
23608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h.  */
23610 #include <math.h>
23611                       #ifdef HAVE_IEEEFP_H
23612                       #include <ieeefp.h>
23613                       #endif
23614
23615 int
23616 main ()
23617 {
23618  _log10f(0);
23619   ;
23620   return 0;
23621 }
23622 _ACEOF
23623 if ac_fn_cxx_try_compile "$LINENO"; then :
23624   glibcxx_cv_func__log10f_use=yes
23625 else
23626   glibcxx_cv_func__log10f_use=no
23627 fi
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629       ac_ext=c
23630 ac_cpp='$CPP $CPPFLAGS'
23631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23634
23635
23636 fi
23637
23638   fi
23639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23640 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23641
23642     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23643       for ac_func in _log10f
23644 do :
23645   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23646 if test "x$ac_cv_func__log10f" = x""yes; then :
23647   cat >>confdefs.h <<_ACEOF
23648 #define HAVE__LOG10F 1
23649 _ACEOF
23650
23651 fi
23652 done
23653
23654     fi
23655   fi
23656
23657
23658
23659
23660
23661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23662 $as_echo_n "checking for modff declaration... " >&6; }
23663   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23664     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23665   $as_echo_n "(cached) " >&6
23666 else
23667
23668
23669       ac_ext=cpp
23670 ac_cpp='$CXXCPP $CPPFLAGS'
23671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23674
23675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23676 /* end confdefs.h.  */
23677 #include <math.h>
23678 int
23679 main ()
23680 {
23681  modff(0, 0);
23682   ;
23683   return 0;
23684 }
23685 _ACEOF
23686 if ac_fn_cxx_try_compile "$LINENO"; then :
23687   glibcxx_cv_func_modff_use=yes
23688 else
23689   glibcxx_cv_func_modff_use=no
23690 fi
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692       ac_ext=c
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23697
23698
23699 fi
23700
23701   fi
23702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23703 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23704
23705   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23706     for ac_func in modff
23707 do :
23708   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23709 if test "x$ac_cv_func_modff" = x""yes; then :
23710   cat >>confdefs.h <<_ACEOF
23711 #define HAVE_MODFF 1
23712 _ACEOF
23713
23714 fi
23715 done
23716
23717   else
23718
23719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23720 $as_echo_n "checking for _modff declaration... " >&6; }
23721   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23722     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23723   $as_echo_n "(cached) " >&6
23724 else
23725
23726
23727       ac_ext=cpp
23728 ac_cpp='$CXXCPP $CPPFLAGS'
23729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23732
23733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h.  */
23735 #include <math.h>
23736 int
23737 main ()
23738 {
23739  _modff(0, 0);
23740   ;
23741   return 0;
23742 }
23743 _ACEOF
23744 if ac_fn_cxx_try_compile "$LINENO"; then :
23745   glibcxx_cv_func__modff_use=yes
23746 else
23747   glibcxx_cv_func__modff_use=no
23748 fi
23749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23750       ac_ext=c
23751 ac_cpp='$CPP $CPPFLAGS'
23752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23755
23756
23757 fi
23758
23759   fi
23760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23761 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23762
23763     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23764       for ac_func in _modff
23765 do :
23766   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23767 if test "x$ac_cv_func__modff" = x""yes; then :
23768   cat >>confdefs.h <<_ACEOF
23769 #define HAVE__MODFF 1
23770 _ACEOF
23771
23772 fi
23773 done
23774
23775     fi
23776   fi
23777
23778
23779
23780
23781
23782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23783 $as_echo_n "checking for modf declaration... " >&6; }
23784   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23785     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23786   $as_echo_n "(cached) " >&6
23787 else
23788
23789
23790       ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795
23796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797 /* end confdefs.h.  */
23798 #include <math.h>
23799 int
23800 main ()
23801 {
23802  modf(0, 0);
23803   ;
23804   return 0;
23805 }
23806 _ACEOF
23807 if ac_fn_cxx_try_compile "$LINENO"; then :
23808   glibcxx_cv_func_modf_use=yes
23809 else
23810   glibcxx_cv_func_modf_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_modf_use" >&5
23824 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23825
23826   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23827     for ac_func in modf
23828 do :
23829   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23830 if test "x$ac_cv_func_modf" = x""yes; then :
23831   cat >>confdefs.h <<_ACEOF
23832 #define HAVE_MODF 1
23833 _ACEOF
23834
23835 fi
23836 done
23837
23838   else
23839
23840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23841 $as_echo_n "checking for _modf declaration... " >&6; }
23842   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23843     if test "${glibcxx_cv_func__modf_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 int
23858 main ()
23859 {
23860  _modf(0, 0);
23861   ;
23862   return 0;
23863 }
23864 _ACEOF
23865 if ac_fn_cxx_try_compile "$LINENO"; then :
23866   glibcxx_cv_func__modf_use=yes
23867 else
23868   glibcxx_cv_func__modf_use=no
23869 fi
23870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871       ac_ext=c
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876
23877
23878 fi
23879
23880   fi
23881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23882 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23883
23884     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23885       for ac_func in _modf
23886 do :
23887   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23888 if test "x$ac_cv_func__modf" = x""yes; then :
23889   cat >>confdefs.h <<_ACEOF
23890 #define HAVE__MODF 1
23891 _ACEOF
23892
23893 fi
23894 done
23895
23896     fi
23897   fi
23898
23899
23900
23901
23902
23903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23904 $as_echo_n "checking for powf declaration... " >&6; }
23905   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23906     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23907   $as_echo_n "(cached) " >&6
23908 else
23909
23910
23911       ac_ext=cpp
23912 ac_cpp='$CXXCPP $CPPFLAGS'
23913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23916
23917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918 /* end confdefs.h.  */
23919 #include <math.h>
23920 int
23921 main ()
23922 {
23923  powf(0, 0);
23924   ;
23925   return 0;
23926 }
23927 _ACEOF
23928 if ac_fn_cxx_try_compile "$LINENO"; then :
23929   glibcxx_cv_func_powf_use=yes
23930 else
23931   glibcxx_cv_func_powf_use=no
23932 fi
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934       ac_ext=c
23935 ac_cpp='$CPP $CPPFLAGS'
23936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23939
23940
23941 fi
23942
23943   fi
23944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23945 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23946
23947   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23948     for ac_func in powf
23949 do :
23950   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23951 if test "x$ac_cv_func_powf" = x""yes; then :
23952   cat >>confdefs.h <<_ACEOF
23953 #define HAVE_POWF 1
23954 _ACEOF
23955
23956 fi
23957 done
23958
23959   else
23960
23961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23962 $as_echo_n "checking for _powf declaration... " >&6; }
23963   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23964     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23965   $as_echo_n "(cached) " >&6
23966 else
23967
23968
23969       ac_ext=cpp
23970 ac_cpp='$CXXCPP $CPPFLAGS'
23971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23974
23975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h.  */
23977 #include <math.h>
23978 int
23979 main ()
23980 {
23981  _powf(0, 0);
23982   ;
23983   return 0;
23984 }
23985 _ACEOF
23986 if ac_fn_cxx_try_compile "$LINENO"; then :
23987   glibcxx_cv_func__powf_use=yes
23988 else
23989   glibcxx_cv_func__powf_use=no
23990 fi
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992       ac_ext=c
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23997
23998
23999 fi
24000
24001   fi
24002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24003 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24004
24005     if test x$glibcxx_cv_func__powf_use = x"yes"; then
24006       for ac_func in _powf
24007 do :
24008   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24009 if test "x$ac_cv_func__powf" = x""yes; then :
24010   cat >>confdefs.h <<_ACEOF
24011 #define HAVE__POWF 1
24012 _ACEOF
24013
24014 fi
24015 done
24016
24017     fi
24018   fi
24019
24020
24021
24022
24023
24024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24025 $as_echo_n "checking for sqrtf declaration... " >&6; }
24026   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24027     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24028   $as_echo_n "(cached) " >&6
24029 else
24030
24031
24032       ac_ext=cpp
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24037
24038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24039 /* end confdefs.h.  */
24040 #include <math.h>
24041                       #ifdef HAVE_IEEEFP_H
24042                       #include <ieeefp.h>
24043                       #endif
24044
24045 int
24046 main ()
24047 {
24048  sqrtf(0);
24049   ;
24050   return 0;
24051 }
24052 _ACEOF
24053 if ac_fn_cxx_try_compile "$LINENO"; then :
24054   glibcxx_cv_func_sqrtf_use=yes
24055 else
24056   glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
24070 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24071
24072   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24073     for ac_func in sqrtf
24074 do :
24075   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24076 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24077   cat >>confdefs.h <<_ACEOF
24078 #define HAVE_SQRTF 1
24079 _ACEOF
24080
24081 fi
24082 done
24083
24084   else
24085
24086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24087 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24088   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24089     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
24104                       #include <ieeefp.h>
24105                       #endif
24106
24107 int
24108 main ()
24109 {
24110  _sqrtf(0);
24111   ;
24112   return 0;
24113 }
24114 _ACEOF
24115 if ac_fn_cxx_try_compile "$LINENO"; then :
24116   glibcxx_cv_func__sqrtf_use=yes
24117 else
24118   glibcxx_cv_func__sqrtf_use=no
24119 fi
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24121       ac_ext=c
24122 ac_cpp='$CPP $CPPFLAGS'
24123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24126
24127
24128 fi
24129
24130   fi
24131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24132 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24133
24134     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24135       for ac_func in _sqrtf
24136 do :
24137   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24138 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24139   cat >>confdefs.h <<_ACEOF
24140 #define HAVE__SQRTF 1
24141 _ACEOF
24142
24143 fi
24144 done
24145
24146     fi
24147   fi
24148
24149
24150
24151
24152
24153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24154 $as_echo_n "checking for sincosf declaration... " >&6; }
24155   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24156     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24157   $as_echo_n "(cached) " >&6
24158 else
24159
24160
24161       ac_ext=cpp
24162 ac_cpp='$CXXCPP $CPPFLAGS'
24163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24166
24167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h.  */
24169 #include <math.h>
24170 int
24171 main ()
24172 {
24173  sincosf(0, 0, 0);
24174   ;
24175   return 0;
24176 }
24177 _ACEOF
24178 if ac_fn_cxx_try_compile "$LINENO"; then :
24179   glibcxx_cv_func_sincosf_use=yes
24180 else
24181   glibcxx_cv_func_sincosf_use=no
24182 fi
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184       ac_ext=c
24185 ac_cpp='$CPP $CPPFLAGS'
24186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24189
24190
24191 fi
24192
24193   fi
24194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24195 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24196
24197   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24198     for ac_func in sincosf
24199 do :
24200   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24201 if test "x$ac_cv_func_sincosf" = x""yes; then :
24202   cat >>confdefs.h <<_ACEOF
24203 #define HAVE_SINCOSF 1
24204 _ACEOF
24205
24206 fi
24207 done
24208
24209   else
24210
24211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24212 $as_echo_n "checking for _sincosf declaration... " >&6; }
24213   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24214     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24215   $as_echo_n "(cached) " >&6
24216 else
24217
24218
24219       ac_ext=cpp
24220 ac_cpp='$CXXCPP $CPPFLAGS'
24221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24224
24225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h.  */
24227 #include <math.h>
24228 int
24229 main ()
24230 {
24231  _sincosf(0, 0, 0);
24232   ;
24233   return 0;
24234 }
24235 _ACEOF
24236 if ac_fn_cxx_try_compile "$LINENO"; then :
24237   glibcxx_cv_func__sincosf_use=yes
24238 else
24239   glibcxx_cv_func__sincosf_use=no
24240 fi
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242       ac_ext=c
24243 ac_cpp='$CPP $CPPFLAGS'
24244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247
24248
24249 fi
24250
24251   fi
24252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24253 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24254
24255     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24256       for ac_func in _sincosf
24257 do :
24258   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24259 if test "x$ac_cv_func__sincosf" = x""yes; then :
24260   cat >>confdefs.h <<_ACEOF
24261 #define HAVE__SINCOSF 1
24262 _ACEOF
24263
24264 fi
24265 done
24266
24267     fi
24268   fi
24269
24270
24271
24272
24273
24274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24275 $as_echo_n "checking for finitef declaration... " >&6; }
24276   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24277     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24278   $as_echo_n "(cached) " >&6
24279 else
24280
24281
24282       ac_ext=cpp
24283 ac_cpp='$CXXCPP $CPPFLAGS'
24284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24287
24288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h.  */
24290 #include <math.h>
24291                       #ifdef HAVE_IEEEFP_H
24292                       #include <ieeefp.h>
24293                       #endif
24294
24295 int
24296 main ()
24297 {
24298  finitef(0);
24299   ;
24300   return 0;
24301 }
24302 _ACEOF
24303 if ac_fn_cxx_try_compile "$LINENO"; then :
24304   glibcxx_cv_func_finitef_use=yes
24305 else
24306   glibcxx_cv_func_finitef_use=no
24307 fi
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309       ac_ext=c
24310 ac_cpp='$CPP $CPPFLAGS'
24311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24314
24315
24316 fi
24317
24318   fi
24319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24320 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24321
24322   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24323     for ac_func in finitef
24324 do :
24325   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24326 if test "x$ac_cv_func_finitef" = x""yes; then :
24327   cat >>confdefs.h <<_ACEOF
24328 #define HAVE_FINITEF 1
24329 _ACEOF
24330
24331 fi
24332 done
24333
24334   else
24335
24336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24337 $as_echo_n "checking for _finitef declaration... " >&6; }
24338   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24339     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24340   $as_echo_n "(cached) " >&6
24341 else
24342
24343
24344       ac_ext=cpp
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24349
24350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h.  */
24352 #include <math.h>
24353                       #ifdef HAVE_IEEEFP_H
24354                       #include <ieeefp.h>
24355                       #endif
24356
24357 int
24358 main ()
24359 {
24360  _finitef(0);
24361   ;
24362   return 0;
24363 }
24364 _ACEOF
24365 if ac_fn_cxx_try_compile "$LINENO"; then :
24366   glibcxx_cv_func__finitef_use=yes
24367 else
24368   glibcxx_cv_func__finitef_use=no
24369 fi
24370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24371       ac_ext=c
24372 ac_cpp='$CPP $CPPFLAGS'
24373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24376
24377
24378 fi
24379
24380   fi
24381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24382 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24383
24384     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24385       for ac_func in _finitef
24386 do :
24387   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24388 if test "x$ac_cv_func__finitef" = x""yes; then :
24389   cat >>confdefs.h <<_ACEOF
24390 #define HAVE__FINITEF 1
24391 _ACEOF
24392
24393 fi
24394 done
24395
24396     fi
24397   fi
24398
24399
24400
24401
24402
24403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24404 $as_echo_n "checking for long double trig functions... " >&6; }
24405   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24406   $as_echo_n "(cached) " >&6
24407 else
24408
24409
24410     ac_ext=cpp
24411 ac_cpp='$CXXCPP $CPPFLAGS'
24412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24415
24416     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24417 /* end confdefs.h.  */
24418 #include <math.h>
24419 int
24420 main ()
24421 {
24422 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24423   ;
24424   return 0;
24425 }
24426 _ACEOF
24427 if ac_fn_cxx_try_compile "$LINENO"; then :
24428   glibcxx_cv_func_long_double_trig_use=yes
24429 else
24430   glibcxx_cv_func_long_double_trig_use=no
24431 fi
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433     ac_ext=c
24434 ac_cpp='$CPP $CPPFLAGS'
24435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24438
24439 fi
24440
24441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24442 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24443   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24444     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24445 do :
24446   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24448 eval as_val=\$$as_ac_var
24449    if test "x$as_val" = x""yes; then :
24450   cat >>confdefs.h <<_ACEOF
24451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24452 _ACEOF
24453
24454 fi
24455 done
24456
24457   else
24458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24459 $as_echo_n "checking for _long double trig functions... " >&6; }
24460     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24461   $as_echo_n "(cached) " >&6
24462 else
24463
24464
24465       ac_ext=cpp
24466 ac_cpp='$CXXCPP $CPPFLAGS'
24467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24470
24471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h.  */
24473 #include <math.h>
24474 int
24475 main ()
24476 {
24477 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24478   ;
24479   return 0;
24480 }
24481 _ACEOF
24482 if ac_fn_cxx_try_compile "$LINENO"; then :
24483   glibcxx_cv_func__long_double_trig_use=yes
24484 else
24485   glibcxx_cv_func__long_double_trig_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 fi
24495
24496     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24497 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24498     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24499       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24500 do :
24501   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24503 eval as_val=\$$as_ac_var
24504    if test "x$as_val" = x""yes; then :
24505   cat >>confdefs.h <<_ACEOF
24506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24508
24509 fi
24510 done
24511
24512     fi
24513   fi
24514
24515
24516
24517
24518
24519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24520 $as_echo_n "checking for long double round functions... " >&6; }
24521   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24522   $as_echo_n "(cached) " >&6
24523 else
24524
24525
24526     ac_ext=cpp
24527 ac_cpp='$CXXCPP $CPPFLAGS'
24528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24531
24532     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24533 /* end confdefs.h.  */
24534 #include <math.h>
24535 int
24536 main ()
24537 {
24538 ceill (0); floorl (0);
24539   ;
24540   return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544   glibcxx_cv_func_long_double_round_use=yes
24545 else
24546   glibcxx_cv_func_long_double_round_use=no
24547 fi
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549     ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554
24555 fi
24556
24557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24558 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24559   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24560     for ac_func in ceill floorl
24561 do :
24562   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24564 eval as_val=\$$as_ac_var
24565    if test "x$as_val" = x""yes; then :
24566   cat >>confdefs.h <<_ACEOF
24567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24568 _ACEOF
24569
24570 fi
24571 done
24572
24573   else
24574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24575 $as_echo_n "checking for _long double round functions... " >&6; }
24576     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24577   $as_echo_n "(cached) " >&6
24578 else
24579
24580
24581       ac_ext=cpp
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24586
24587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h.  */
24589 #include <math.h>
24590 int
24591 main ()
24592 {
24593 _ceill (0); _floorl (0);
24594   ;
24595   return 0;
24596 }
24597 _ACEOF
24598 if ac_fn_cxx_try_compile "$LINENO"; then :
24599   glibcxx_cv_func__long_double_round_use=yes
24600 else
24601   glibcxx_cv_func__long_double_round_use=no
24602 fi
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604       ac_ext=c
24605 ac_cpp='$CPP $CPPFLAGS'
24606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24609
24610 fi
24611
24612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24613 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24614     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24615       for ac_func in _ceill _floorl
24616 do :
24617   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24619 eval as_val=\$$as_ac_var
24620    if test "x$as_val" = x""yes; then :
24621   cat >>confdefs.h <<_ACEOF
24622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24623 _ACEOF
24624
24625 fi
24626 done
24627
24628     fi
24629   fi
24630
24631
24632
24633
24634
24635
24636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24637 $as_echo_n "checking for isnanl declaration... " >&6; }
24638   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24639     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24640   $as_echo_n "(cached) " >&6
24641 else
24642
24643
24644       ac_ext=cpp
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24649
24650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h.  */
24652 #include <math.h>
24653                       #ifdef HAVE_IEEEFP_H
24654                       #include <ieeefp.h>
24655                       #endif
24656
24657 int
24658 main ()
24659 {
24660  isnanl(0);
24661   ;
24662   return 0;
24663 }
24664 _ACEOF
24665 if ac_fn_cxx_try_compile "$LINENO"; then :
24666   glibcxx_cv_func_isnanl_use=yes
24667 else
24668   glibcxx_cv_func_isnanl_use=no
24669 fi
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671       ac_ext=c
24672 ac_cpp='$CPP $CPPFLAGS'
24673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24676
24677
24678 fi
24679
24680   fi
24681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24682 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24683
24684   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24685     for ac_func in isnanl
24686 do :
24687   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24688 if test "x$ac_cv_func_isnanl" = x""yes; then :
24689   cat >>confdefs.h <<_ACEOF
24690 #define HAVE_ISNANL 1
24691 _ACEOF
24692
24693 fi
24694 done
24695
24696   else
24697
24698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24699 $as_echo_n "checking for _isnanl declaration... " >&6; }
24700   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24701     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24702   $as_echo_n "(cached) " >&6
24703 else
24704
24705
24706       ac_ext=cpp
24707 ac_cpp='$CXXCPP $CPPFLAGS'
24708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711
24712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h.  */
24714 #include <math.h>
24715                       #ifdef HAVE_IEEEFP_H
24716                       #include <ieeefp.h>
24717                       #endif
24718
24719 int
24720 main ()
24721 {
24722  _isnanl(0);
24723   ;
24724   return 0;
24725 }
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728   glibcxx_cv_func__isnanl_use=yes
24729 else
24730   glibcxx_cv_func__isnanl_use=no
24731 fi
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733       ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24738
24739
24740 fi
24741
24742   fi
24743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24744 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24745
24746     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24747       for ac_func in _isnanl
24748 do :
24749   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24750 if test "x$ac_cv_func__isnanl" = x""yes; then :
24751   cat >>confdefs.h <<_ACEOF
24752 #define HAVE__ISNANL 1
24753 _ACEOF
24754
24755 fi
24756 done
24757
24758     fi
24759   fi
24760
24761
24762
24763
24764
24765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24766 $as_echo_n "checking for isinfl declaration... " >&6; }
24767   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24768     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24769   $as_echo_n "(cached) " >&6
24770 else
24771
24772
24773       ac_ext=cpp
24774 ac_cpp='$CXXCPP $CPPFLAGS'
24775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778
24779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24780 /* end confdefs.h.  */
24781 #include <math.h>
24782                       #ifdef HAVE_IEEEFP_H
24783                       #include <ieeefp.h>
24784                       #endif
24785
24786 int
24787 main ()
24788 {
24789  isinfl(0);
24790   ;
24791   return 0;
24792 }
24793 _ACEOF
24794 if ac_fn_cxx_try_compile "$LINENO"; then :
24795   glibcxx_cv_func_isinfl_use=yes
24796 else
24797   glibcxx_cv_func_isinfl_use=no
24798 fi
24799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24800       ac_ext=c
24801 ac_cpp='$CPP $CPPFLAGS'
24802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805
24806
24807 fi
24808
24809   fi
24810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24811 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24812
24813   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24814     for ac_func in isinfl
24815 do :
24816   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24817 if test "x$ac_cv_func_isinfl" = x""yes; then :
24818   cat >>confdefs.h <<_ACEOF
24819 #define HAVE_ISINFL 1
24820 _ACEOF
24821
24822 fi
24823 done
24824
24825   else
24826
24827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24828 $as_echo_n "checking for _isinfl declaration... " >&6; }
24829   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24830     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24831   $as_echo_n "(cached) " >&6
24832 else
24833
24834
24835       ac_ext=cpp
24836 ac_cpp='$CXXCPP $CPPFLAGS'
24837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24840
24841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h.  */
24843 #include <math.h>
24844                       #ifdef HAVE_IEEEFP_H
24845                       #include <ieeefp.h>
24846                       #endif
24847
24848 int
24849 main ()
24850 {
24851  _isinfl(0);
24852   ;
24853   return 0;
24854 }
24855 _ACEOF
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857   glibcxx_cv_func__isinfl_use=yes
24858 else
24859   glibcxx_cv_func__isinfl_use=no
24860 fi
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862       ac_ext=c
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867
24868
24869 fi
24870
24871   fi
24872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24873 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24874
24875     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24876       for ac_func in _isinfl
24877 do :
24878   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24879 if test "x$ac_cv_func__isinfl" = x""yes; then :
24880   cat >>confdefs.h <<_ACEOF
24881 #define HAVE__ISINFL 1
24882 _ACEOF
24883
24884 fi
24885 done
24886
24887     fi
24888   fi
24889
24890
24891
24892
24893
24894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24895 $as_echo_n "checking for atan2l declaration... " >&6; }
24896   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24897     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24898   $as_echo_n "(cached) " >&6
24899 else
24900
24901
24902       ac_ext=cpp
24903 ac_cpp='$CXXCPP $CPPFLAGS'
24904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24907
24908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24909 /* end confdefs.h.  */
24910 #include <math.h>
24911 int
24912 main ()
24913 {
24914  atan2l(0, 0);
24915   ;
24916   return 0;
24917 }
24918 _ACEOF
24919 if ac_fn_cxx_try_compile "$LINENO"; then :
24920   glibcxx_cv_func_atan2l_use=yes
24921 else
24922   glibcxx_cv_func_atan2l_use=no
24923 fi
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925       ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930
24931
24932 fi
24933
24934   fi
24935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24936 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24937
24938   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24939     for ac_func in atan2l
24940 do :
24941   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24942 if test "x$ac_cv_func_atan2l" = x""yes; then :
24943   cat >>confdefs.h <<_ACEOF
24944 #define HAVE_ATAN2L 1
24945 _ACEOF
24946
24947 fi
24948 done
24949
24950   else
24951
24952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24953 $as_echo_n "checking for _atan2l declaration... " >&6; }
24954   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24955     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24956   $as_echo_n "(cached) " >&6
24957 else
24958
24959
24960       ac_ext=cpp
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24965
24966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24967 /* end confdefs.h.  */
24968 #include <math.h>
24969 int
24970 main ()
24971 {
24972  _atan2l(0, 0);
24973   ;
24974   return 0;
24975 }
24976 _ACEOF
24977 if ac_fn_cxx_try_compile "$LINENO"; then :
24978   glibcxx_cv_func__atan2l_use=yes
24979 else
24980   glibcxx_cv_func__atan2l_use=no
24981 fi
24982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983       ac_ext=c
24984 ac_cpp='$CPP $CPPFLAGS'
24985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24988
24989
24990 fi
24991
24992   fi
24993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24994 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24995
24996     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24997       for ac_func in _atan2l
24998 do :
24999   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25000 if test "x$ac_cv_func__atan2l" = x""yes; then :
25001   cat >>confdefs.h <<_ACEOF
25002 #define HAVE__ATAN2L 1
25003 _ACEOF
25004
25005 fi
25006 done
25007
25008     fi
25009   fi
25010
25011
25012
25013
25014
25015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25016 $as_echo_n "checking for expl declaration... " >&6; }
25017   if test x${glibcxx_cv_func_expl_use+set} != xset; then
25018     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25019   $as_echo_n "(cached) " >&6
25020 else
25021
25022
25023       ac_ext=cpp
25024 ac_cpp='$CXXCPP $CPPFLAGS'
25025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25028
25029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h.  */
25031 #include <math.h>
25032                       #ifdef HAVE_IEEEFP_H
25033                       #include <ieeefp.h>
25034                       #endif
25035
25036 int
25037 main ()
25038 {
25039  expl(0);
25040   ;
25041   return 0;
25042 }
25043 _ACEOF
25044 if ac_fn_cxx_try_compile "$LINENO"; then :
25045   glibcxx_cv_func_expl_use=yes
25046 else
25047   glibcxx_cv_func_expl_use=no
25048 fi
25049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25050       ac_ext=c
25051 ac_cpp='$CPP $CPPFLAGS'
25052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055
25056
25057 fi
25058
25059   fi
25060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25061 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25062
25063   if test x$glibcxx_cv_func_expl_use = x"yes"; then
25064     for ac_func in expl
25065 do :
25066   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25067 if test "x$ac_cv_func_expl" = x""yes; then :
25068   cat >>confdefs.h <<_ACEOF
25069 #define HAVE_EXPL 1
25070 _ACEOF
25071
25072 fi
25073 done
25074
25075   else
25076
25077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25078 $as_echo_n "checking for _expl declaration... " >&6; }
25079   if test x${glibcxx_cv_func__expl_use+set} != xset; then
25080     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25081   $as_echo_n "(cached) " >&6
25082 else
25083
25084
25085       ac_ext=cpp
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090
25091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h.  */
25093 #include <math.h>
25094                       #ifdef HAVE_IEEEFP_H
25095                       #include <ieeefp.h>
25096                       #endif
25097
25098 int
25099 main ()
25100 {
25101  _expl(0);
25102   ;
25103   return 0;
25104 }
25105 _ACEOF
25106 if ac_fn_cxx_try_compile "$LINENO"; then :
25107   glibcxx_cv_func__expl_use=yes
25108 else
25109   glibcxx_cv_func__expl_use=no
25110 fi
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112       ac_ext=c
25113 ac_cpp='$CPP $CPPFLAGS'
25114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25117
25118
25119 fi
25120
25121   fi
25122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25123 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25124
25125     if test x$glibcxx_cv_func__expl_use = x"yes"; then
25126       for ac_func in _expl
25127 do :
25128   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25129 if test "x$ac_cv_func__expl" = x""yes; then :
25130   cat >>confdefs.h <<_ACEOF
25131 #define HAVE__EXPL 1
25132 _ACEOF
25133
25134 fi
25135 done
25136
25137     fi
25138   fi
25139
25140
25141
25142
25143
25144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25145 $as_echo_n "checking for fabsl declaration... " >&6; }
25146   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25147     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25148   $as_echo_n "(cached) " >&6
25149 else
25150
25151
25152       ac_ext=cpp
25153 ac_cpp='$CXXCPP $CPPFLAGS'
25154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25157
25158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25159 /* end confdefs.h.  */
25160 #include <math.h>
25161                       #ifdef HAVE_IEEEFP_H
25162                       #include <ieeefp.h>
25163                       #endif
25164
25165 int
25166 main ()
25167 {
25168  fabsl(0);
25169   ;
25170   return 0;
25171 }
25172 _ACEOF
25173 if ac_fn_cxx_try_compile "$LINENO"; then :
25174   glibcxx_cv_func_fabsl_use=yes
25175 else
25176   glibcxx_cv_func_fabsl_use=no
25177 fi
25178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25179       ac_ext=c
25180 ac_cpp='$CPP $CPPFLAGS'
25181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25184
25185
25186 fi
25187
25188   fi
25189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25190 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25191
25192   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25193     for ac_func in fabsl
25194 do :
25195   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25196 if test "x$ac_cv_func_fabsl" = x""yes; then :
25197   cat >>confdefs.h <<_ACEOF
25198 #define HAVE_FABSL 1
25199 _ACEOF
25200
25201 fi
25202 done
25203
25204   else
25205
25206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25207 $as_echo_n "checking for _fabsl declaration... " >&6; }
25208   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25209     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25210   $as_echo_n "(cached) " >&6
25211 else
25212
25213
25214       ac_ext=cpp
25215 ac_cpp='$CXXCPP $CPPFLAGS'
25216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25219
25220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h.  */
25222 #include <math.h>
25223                       #ifdef HAVE_IEEEFP_H
25224                       #include <ieeefp.h>
25225                       #endif
25226
25227 int
25228 main ()
25229 {
25230  _fabsl(0);
25231   ;
25232   return 0;
25233 }
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236   glibcxx_cv_func__fabsl_use=yes
25237 else
25238   glibcxx_cv_func__fabsl_use=no
25239 fi
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241       ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246
25247
25248 fi
25249
25250   fi
25251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25252 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25253
25254     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25255       for ac_func in _fabsl
25256 do :
25257   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25258 if test "x$ac_cv_func__fabsl" = x""yes; then :
25259   cat >>confdefs.h <<_ACEOF
25260 #define HAVE__FABSL 1
25261 _ACEOF
25262
25263 fi
25264 done
25265
25266     fi
25267   fi
25268
25269
25270
25271
25272
25273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25274 $as_echo_n "checking for fmodl declaration... " >&6; }
25275   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25276     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25277   $as_echo_n "(cached) " >&6
25278 else
25279
25280
25281       ac_ext=cpp
25282 ac_cpp='$CXXCPP $CPPFLAGS'
25283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25286
25287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h.  */
25289 #include <math.h>
25290 int
25291 main ()
25292 {
25293  fmodl(0, 0);
25294   ;
25295   return 0;
25296 }
25297 _ACEOF
25298 if ac_fn_cxx_try_compile "$LINENO"; then :
25299   glibcxx_cv_func_fmodl_use=yes
25300 else
25301   glibcxx_cv_func_fmodl_use=no
25302 fi
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304       ac_ext=c
25305 ac_cpp='$CPP $CPPFLAGS'
25306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25309
25310
25311 fi
25312
25313   fi
25314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25315 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25316
25317   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25318     for ac_func in fmodl
25319 do :
25320   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25321 if test "x$ac_cv_func_fmodl" = x""yes; then :
25322   cat >>confdefs.h <<_ACEOF
25323 #define HAVE_FMODL 1
25324 _ACEOF
25325
25326 fi
25327 done
25328
25329   else
25330
25331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25332 $as_echo_n "checking for _fmodl declaration... " >&6; }
25333   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25334     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25335   $as_echo_n "(cached) " >&6
25336 else
25337
25338
25339       ac_ext=cpp
25340 ac_cpp='$CXXCPP $CPPFLAGS'
25341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344
25345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25346 /* end confdefs.h.  */
25347 #include <math.h>
25348 int
25349 main ()
25350 {
25351  _fmodl(0, 0);
25352   ;
25353   return 0;
25354 }
25355 _ACEOF
25356 if ac_fn_cxx_try_compile "$LINENO"; then :
25357   glibcxx_cv_func__fmodl_use=yes
25358 else
25359   glibcxx_cv_func__fmodl_use=no
25360 fi
25361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25362       ac_ext=c
25363 ac_cpp='$CPP $CPPFLAGS'
25364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25367
25368
25369 fi
25370
25371   fi
25372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25373 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25374
25375     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25376       for ac_func in _fmodl
25377 do :
25378   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25379 if test "x$ac_cv_func__fmodl" = x""yes; then :
25380   cat >>confdefs.h <<_ACEOF
25381 #define HAVE__FMODL 1
25382 _ACEOF
25383
25384 fi
25385 done
25386
25387     fi
25388   fi
25389
25390
25391
25392
25393
25394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25395 $as_echo_n "checking for frexpl declaration... " >&6; }
25396   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25397     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25398   $as_echo_n "(cached) " >&6
25399 else
25400
25401
25402       ac_ext=cpp
25403 ac_cpp='$CXXCPP $CPPFLAGS'
25404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25407
25408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h.  */
25410 #include <math.h>
25411 int
25412 main ()
25413 {
25414  frexpl(0, 0);
25415   ;
25416   return 0;
25417 }
25418 _ACEOF
25419 if ac_fn_cxx_try_compile "$LINENO"; then :
25420   glibcxx_cv_func_frexpl_use=yes
25421 else
25422   glibcxx_cv_func_frexpl_use=no
25423 fi
25424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25425       ac_ext=c
25426 ac_cpp='$CPP $CPPFLAGS'
25427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25430
25431
25432 fi
25433
25434   fi
25435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25436 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25437
25438   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25439     for ac_func in frexpl
25440 do :
25441   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25442 if test "x$ac_cv_func_frexpl" = x""yes; then :
25443   cat >>confdefs.h <<_ACEOF
25444 #define HAVE_FREXPL 1
25445 _ACEOF
25446
25447 fi
25448 done
25449
25450   else
25451
25452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25453 $as_echo_n "checking for _frexpl declaration... " >&6; }
25454   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25455     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25456   $as_echo_n "(cached) " >&6
25457 else
25458
25459
25460       ac_ext=cpp
25461 ac_cpp='$CXXCPP $CPPFLAGS'
25462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25465
25466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25467 /* end confdefs.h.  */
25468 #include <math.h>
25469 int
25470 main ()
25471 {
25472  _frexpl(0, 0);
25473   ;
25474   return 0;
25475 }
25476 _ACEOF
25477 if ac_fn_cxx_try_compile "$LINENO"; then :
25478   glibcxx_cv_func__frexpl_use=yes
25479 else
25480   glibcxx_cv_func__frexpl_use=no
25481 fi
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483       ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25488
25489
25490 fi
25491
25492   fi
25493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25494 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25495
25496     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25497       for ac_func in _frexpl
25498 do :
25499   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25500 if test "x$ac_cv_func__frexpl" = x""yes; then :
25501   cat >>confdefs.h <<_ACEOF
25502 #define HAVE__FREXPL 1
25503 _ACEOF
25504
25505 fi
25506 done
25507
25508     fi
25509   fi
25510
25511
25512
25513
25514
25515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25516 $as_echo_n "checking for hypotl declaration... " >&6; }
25517   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25518     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25519   $as_echo_n "(cached) " >&6
25520 else
25521
25522
25523       ac_ext=cpp
25524 ac_cpp='$CXXCPP $CPPFLAGS'
25525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25528
25529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h.  */
25531 #include <math.h>
25532 int
25533 main ()
25534 {
25535  hypotl(0, 0);
25536   ;
25537   return 0;
25538 }
25539 _ACEOF
25540 if ac_fn_cxx_try_compile "$LINENO"; then :
25541   glibcxx_cv_func_hypotl_use=yes
25542 else
25543   glibcxx_cv_func_hypotl_use=no
25544 fi
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546       ac_ext=c
25547 ac_cpp='$CPP $CPPFLAGS'
25548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25551
25552
25553 fi
25554
25555   fi
25556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25557 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25558
25559   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25560     for ac_func in hypotl
25561 do :
25562   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25563 if test "x$ac_cv_func_hypotl" = x""yes; then :
25564   cat >>confdefs.h <<_ACEOF
25565 #define HAVE_HYPOTL 1
25566 _ACEOF
25567
25568 fi
25569 done
25570
25571   else
25572
25573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25574 $as_echo_n "checking for _hypotl declaration... " >&6; }
25575   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25576     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25577   $as_echo_n "(cached) " >&6
25578 else
25579
25580
25581       ac_ext=cpp
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25586
25587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h.  */
25589 #include <math.h>
25590 int
25591 main ()
25592 {
25593  _hypotl(0, 0);
25594   ;
25595   return 0;
25596 }
25597 _ACEOF
25598 if ac_fn_cxx_try_compile "$LINENO"; then :
25599   glibcxx_cv_func__hypotl_use=yes
25600 else
25601   glibcxx_cv_func__hypotl_use=no
25602 fi
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604       ac_ext=c
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25609
25610
25611 fi
25612
25613   fi
25614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25615 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25616
25617     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25618       for ac_func in _hypotl
25619 do :
25620   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25621 if test "x$ac_cv_func__hypotl" = x""yes; then :
25622   cat >>confdefs.h <<_ACEOF
25623 #define HAVE__HYPOTL 1
25624 _ACEOF
25625
25626 fi
25627 done
25628
25629     fi
25630   fi
25631
25632
25633
25634
25635
25636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25637 $as_echo_n "checking for ldexpl declaration... " >&6; }
25638   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25639     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25640   $as_echo_n "(cached) " >&6
25641 else
25642
25643
25644       ac_ext=cpp
25645 ac_cpp='$CXXCPP $CPPFLAGS'
25646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25649
25650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25651 /* end confdefs.h.  */
25652 #include <math.h>
25653 int
25654 main ()
25655 {
25656  ldexpl(0, 0);
25657   ;
25658   return 0;
25659 }
25660 _ACEOF
25661 if ac_fn_cxx_try_compile "$LINENO"; then :
25662   glibcxx_cv_func_ldexpl_use=yes
25663 else
25664   glibcxx_cv_func_ldexpl_use=no
25665 fi
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667       ac_ext=c
25668 ac_cpp='$CPP $CPPFLAGS'
25669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672
25673
25674 fi
25675
25676   fi
25677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25678 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25679
25680   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25681     for ac_func in ldexpl
25682 do :
25683   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25684 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25685   cat >>confdefs.h <<_ACEOF
25686 #define HAVE_LDEXPL 1
25687 _ACEOF
25688
25689 fi
25690 done
25691
25692   else
25693
25694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25695 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25696   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25697     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25698   $as_echo_n "(cached) " >&6
25699 else
25700
25701
25702       ac_ext=cpp
25703 ac_cpp='$CXXCPP $CPPFLAGS'
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707
25708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h.  */
25710 #include <math.h>
25711 int
25712 main ()
25713 {
25714  _ldexpl(0, 0);
25715   ;
25716   return 0;
25717 }
25718 _ACEOF
25719 if ac_fn_cxx_try_compile "$LINENO"; then :
25720   glibcxx_cv_func__ldexpl_use=yes
25721 else
25722   glibcxx_cv_func__ldexpl_use=no
25723 fi
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725       ac_ext=c
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730
25731
25732 fi
25733
25734   fi
25735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25736 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25737
25738     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25739       for ac_func in _ldexpl
25740 do :
25741   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25742 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25743   cat >>confdefs.h <<_ACEOF
25744 #define HAVE__LDEXPL 1
25745 _ACEOF
25746
25747 fi
25748 done
25749
25750     fi
25751   fi
25752
25753
25754
25755
25756
25757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25758 $as_echo_n "checking for logl declaration... " >&6; }
25759   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25760     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25761   $as_echo_n "(cached) " >&6
25762 else
25763
25764
25765       ac_ext=cpp
25766 ac_cpp='$CXXCPP $CPPFLAGS'
25767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25770
25771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h.  */
25773 #include <math.h>
25774                       #ifdef HAVE_IEEEFP_H
25775                       #include <ieeefp.h>
25776                       #endif
25777
25778 int
25779 main ()
25780 {
25781  logl(0);
25782   ;
25783   return 0;
25784 }
25785 _ACEOF
25786 if ac_fn_cxx_try_compile "$LINENO"; then :
25787   glibcxx_cv_func_logl_use=yes
25788 else
25789   glibcxx_cv_func_logl_use=no
25790 fi
25791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25792       ac_ext=c
25793 ac_cpp='$CPP $CPPFLAGS'
25794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25797
25798
25799 fi
25800
25801   fi
25802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25803 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25804
25805   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25806     for ac_func in logl
25807 do :
25808   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25809 if test "x$ac_cv_func_logl" = x""yes; then :
25810   cat >>confdefs.h <<_ACEOF
25811 #define HAVE_LOGL 1
25812 _ACEOF
25813
25814 fi
25815 done
25816
25817   else
25818
25819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25820 $as_echo_n "checking for _logl declaration... " >&6; }
25821   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25822     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25823   $as_echo_n "(cached) " >&6
25824 else
25825
25826
25827       ac_ext=cpp
25828 ac_cpp='$CXXCPP $CPPFLAGS'
25829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25832
25833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25834 /* end confdefs.h.  */
25835 #include <math.h>
25836                       #ifdef HAVE_IEEEFP_H
25837                       #include <ieeefp.h>
25838                       #endif
25839
25840 int
25841 main ()
25842 {
25843  _logl(0);
25844   ;
25845   return 0;
25846 }
25847 _ACEOF
25848 if ac_fn_cxx_try_compile "$LINENO"; then :
25849   glibcxx_cv_func__logl_use=yes
25850 else
25851   glibcxx_cv_func__logl_use=no
25852 fi
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854       ac_ext=c
25855 ac_cpp='$CPP $CPPFLAGS'
25856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25859
25860
25861 fi
25862
25863   fi
25864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25865 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25866
25867     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25868       for ac_func in _logl
25869 do :
25870   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25871 if test "x$ac_cv_func__logl" = x""yes; then :
25872   cat >>confdefs.h <<_ACEOF
25873 #define HAVE__LOGL 1
25874 _ACEOF
25875
25876 fi
25877 done
25878
25879     fi
25880   fi
25881
25882
25883
25884
25885
25886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25887 $as_echo_n "checking for log10l declaration... " >&6; }
25888   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25889     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25890   $as_echo_n "(cached) " >&6
25891 else
25892
25893
25894       ac_ext=cpp
25895 ac_cpp='$CXXCPP $CPPFLAGS'
25896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25899
25900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25901 /* end confdefs.h.  */
25902 #include <math.h>
25903                       #ifdef HAVE_IEEEFP_H
25904                       #include <ieeefp.h>
25905                       #endif
25906
25907 int
25908 main ()
25909 {
25910  log10l(0);
25911   ;
25912   return 0;
25913 }
25914 _ACEOF
25915 if ac_fn_cxx_try_compile "$LINENO"; then :
25916   glibcxx_cv_func_log10l_use=yes
25917 else
25918   glibcxx_cv_func_log10l_use=no
25919 fi
25920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25921       ac_ext=c
25922 ac_cpp='$CPP $CPPFLAGS'
25923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25926
25927
25928 fi
25929
25930   fi
25931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25932 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25933
25934   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25935     for ac_func in log10l
25936 do :
25937   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25938 if test "x$ac_cv_func_log10l" = x""yes; then :
25939   cat >>confdefs.h <<_ACEOF
25940 #define HAVE_LOG10L 1
25941 _ACEOF
25942
25943 fi
25944 done
25945
25946   else
25947
25948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25949 $as_echo_n "checking for _log10l declaration... " >&6; }
25950   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25951     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25952   $as_echo_n "(cached) " >&6
25953 else
25954
25955
25956       ac_ext=cpp
25957 ac_cpp='$CXXCPP $CPPFLAGS'
25958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25961
25962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h.  */
25964 #include <math.h>
25965                       #ifdef HAVE_IEEEFP_H
25966                       #include <ieeefp.h>
25967                       #endif
25968
25969 int
25970 main ()
25971 {
25972  _log10l(0);
25973   ;
25974   return 0;
25975 }
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978   glibcxx_cv_func__log10l_use=yes
25979 else
25980   glibcxx_cv_func__log10l_use=no
25981 fi
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983       ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25988
25989
25990 fi
25991
25992   fi
25993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25994 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25995
25996     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25997       for ac_func in _log10l
25998 do :
25999   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26000 if test "x$ac_cv_func__log10l" = x""yes; then :
26001   cat >>confdefs.h <<_ACEOF
26002 #define HAVE__LOG10L 1
26003 _ACEOF
26004
26005 fi
26006 done
26007
26008     fi
26009   fi
26010
26011
26012
26013
26014
26015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26016 $as_echo_n "checking for modfl declaration... " >&6; }
26017   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26018     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26019   $as_echo_n "(cached) " >&6
26020 else
26021
26022
26023       ac_ext=cpp
26024 ac_cpp='$CXXCPP $CPPFLAGS'
26025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26028
26029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26030 /* end confdefs.h.  */
26031 #include <math.h>
26032 int
26033 main ()
26034 {
26035  modfl(0, 0);
26036   ;
26037   return 0;
26038 }
26039 _ACEOF
26040 if ac_fn_cxx_try_compile "$LINENO"; then :
26041   glibcxx_cv_func_modfl_use=yes
26042 else
26043   glibcxx_cv_func_modfl_use=no
26044 fi
26045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26046       ac_ext=c
26047 ac_cpp='$CPP $CPPFLAGS'
26048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26051
26052
26053 fi
26054
26055   fi
26056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26057 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26058
26059   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26060     for ac_func in modfl
26061 do :
26062   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26063 if test "x$ac_cv_func_modfl" = x""yes; then :
26064   cat >>confdefs.h <<_ACEOF
26065 #define HAVE_MODFL 1
26066 _ACEOF
26067
26068 fi
26069 done
26070
26071   else
26072
26073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26074 $as_echo_n "checking for _modfl declaration... " >&6; }
26075   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26076     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26077   $as_echo_n "(cached) " >&6
26078 else
26079
26080
26081       ac_ext=cpp
26082 ac_cpp='$CXXCPP $CPPFLAGS'
26083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26086
26087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h.  */
26089 #include <math.h>
26090 int
26091 main ()
26092 {
26093  _modfl(0, 0);
26094   ;
26095   return 0;
26096 }
26097 _ACEOF
26098 if ac_fn_cxx_try_compile "$LINENO"; then :
26099   glibcxx_cv_func__modfl_use=yes
26100 else
26101   glibcxx_cv_func__modfl_use=no
26102 fi
26103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26104       ac_ext=c
26105 ac_cpp='$CPP $CPPFLAGS'
26106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26109
26110
26111 fi
26112
26113   fi
26114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26115 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26116
26117     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26118       for ac_func in _modfl
26119 do :
26120   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26121 if test "x$ac_cv_func__modfl" = x""yes; then :
26122   cat >>confdefs.h <<_ACEOF
26123 #define HAVE__MODFL 1
26124 _ACEOF
26125
26126 fi
26127 done
26128
26129     fi
26130   fi
26131
26132
26133
26134
26135
26136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26137 $as_echo_n "checking for powl declaration... " >&6; }
26138   if test x${glibcxx_cv_func_powl_use+set} != xset; then
26139     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26140   $as_echo_n "(cached) " >&6
26141 else
26142
26143
26144       ac_ext=cpp
26145 ac_cpp='$CXXCPP $CPPFLAGS'
26146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26149
26150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26151 /* end confdefs.h.  */
26152 #include <math.h>
26153 int
26154 main ()
26155 {
26156  powl(0, 0);
26157   ;
26158   return 0;
26159 }
26160 _ACEOF
26161 if ac_fn_cxx_try_compile "$LINENO"; then :
26162   glibcxx_cv_func_powl_use=yes
26163 else
26164   glibcxx_cv_func_powl_use=no
26165 fi
26166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26167       ac_ext=c
26168 ac_cpp='$CPP $CPPFLAGS'
26169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26172
26173
26174 fi
26175
26176   fi
26177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26178 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26179
26180   if test x$glibcxx_cv_func_powl_use = x"yes"; then
26181     for ac_func in powl
26182 do :
26183   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26184 if test "x$ac_cv_func_powl" = x""yes; then :
26185   cat >>confdefs.h <<_ACEOF
26186 #define HAVE_POWL 1
26187 _ACEOF
26188
26189 fi
26190 done
26191
26192   else
26193
26194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26195 $as_echo_n "checking for _powl declaration... " >&6; }
26196   if test x${glibcxx_cv_func__powl_use+set} != xset; then
26197     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26198   $as_echo_n "(cached) " >&6
26199 else
26200
26201
26202       ac_ext=cpp
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26207
26208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26209 /* end confdefs.h.  */
26210 #include <math.h>
26211 int
26212 main ()
26213 {
26214  _powl(0, 0);
26215   ;
26216   return 0;
26217 }
26218 _ACEOF
26219 if ac_fn_cxx_try_compile "$LINENO"; then :
26220   glibcxx_cv_func__powl_use=yes
26221 else
26222   glibcxx_cv_func__powl_use=no
26223 fi
26224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26225       ac_ext=c
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26230
26231
26232 fi
26233
26234   fi
26235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26236 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26237
26238     if test x$glibcxx_cv_func__powl_use = x"yes"; then
26239       for ac_func in _powl
26240 do :
26241   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26242 if test "x$ac_cv_func__powl" = x""yes; then :
26243   cat >>confdefs.h <<_ACEOF
26244 #define HAVE__POWL 1
26245 _ACEOF
26246
26247 fi
26248 done
26249
26250     fi
26251   fi
26252
26253
26254
26255
26256
26257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26258 $as_echo_n "checking for sqrtl declaration... " >&6; }
26259   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26260     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26261   $as_echo_n "(cached) " >&6
26262 else
26263
26264
26265       ac_ext=cpp
26266 ac_cpp='$CXXCPP $CPPFLAGS'
26267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26270
26271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h.  */
26273 #include <math.h>
26274                       #ifdef HAVE_IEEEFP_H
26275                       #include <ieeefp.h>
26276                       #endif
26277
26278 int
26279 main ()
26280 {
26281  sqrtl(0);
26282   ;
26283   return 0;
26284 }
26285 _ACEOF
26286 if ac_fn_cxx_try_compile "$LINENO"; then :
26287   glibcxx_cv_func_sqrtl_use=yes
26288 else
26289   glibcxx_cv_func_sqrtl_use=no
26290 fi
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292       ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26297
26298
26299 fi
26300
26301   fi
26302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26303 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26304
26305   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26306     for ac_func in sqrtl
26307 do :
26308   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26309 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26310   cat >>confdefs.h <<_ACEOF
26311 #define HAVE_SQRTL 1
26312 _ACEOF
26313
26314 fi
26315 done
26316
26317   else
26318
26319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26320 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26321   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26322     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26323   $as_echo_n "(cached) " >&6
26324 else
26325
26326
26327       ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26332
26333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h.  */
26335 #include <math.h>
26336                       #ifdef HAVE_IEEEFP_H
26337                       #include <ieeefp.h>
26338                       #endif
26339
26340 int
26341 main ()
26342 {
26343  _sqrtl(0);
26344   ;
26345   return 0;
26346 }
26347 _ACEOF
26348 if ac_fn_cxx_try_compile "$LINENO"; then :
26349   glibcxx_cv_func__sqrtl_use=yes
26350 else
26351   glibcxx_cv_func__sqrtl_use=no
26352 fi
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354       ac_ext=c
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26359
26360
26361 fi
26362
26363   fi
26364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26365 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26366
26367     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26368       for ac_func in _sqrtl
26369 do :
26370   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26371 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26372   cat >>confdefs.h <<_ACEOF
26373 #define HAVE__SQRTL 1
26374 _ACEOF
26375
26376 fi
26377 done
26378
26379     fi
26380   fi
26381
26382
26383
26384
26385
26386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26387 $as_echo_n "checking for sincosl declaration... " >&6; }
26388   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26389     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26390   $as_echo_n "(cached) " >&6
26391 else
26392
26393
26394       ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26399
26400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h.  */
26402 #include <math.h>
26403 int
26404 main ()
26405 {
26406  sincosl(0, 0, 0);
26407   ;
26408   return 0;
26409 }
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412   glibcxx_cv_func_sincosl_use=yes
26413 else
26414   glibcxx_cv_func_sincosl_use=no
26415 fi
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417       ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26422
26423
26424 fi
26425
26426   fi
26427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26428 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26429
26430   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26431     for ac_func in sincosl
26432 do :
26433   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26434 if test "x$ac_cv_func_sincosl" = x""yes; then :
26435   cat >>confdefs.h <<_ACEOF
26436 #define HAVE_SINCOSL 1
26437 _ACEOF
26438
26439 fi
26440 done
26441
26442   else
26443
26444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26445 $as_echo_n "checking for _sincosl declaration... " >&6; }
26446   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26447     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26448   $as_echo_n "(cached) " >&6
26449 else
26450
26451
26452       ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26457
26458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h.  */
26460 #include <math.h>
26461 int
26462 main ()
26463 {
26464  _sincosl(0, 0, 0);
26465   ;
26466   return 0;
26467 }
26468 _ACEOF
26469 if ac_fn_cxx_try_compile "$LINENO"; then :
26470   glibcxx_cv_func__sincosl_use=yes
26471 else
26472   glibcxx_cv_func__sincosl_use=no
26473 fi
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475       ac_ext=c
26476 ac_cpp='$CPP $CPPFLAGS'
26477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26480
26481
26482 fi
26483
26484   fi
26485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26486 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26487
26488     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26489       for ac_func in _sincosl
26490 do :
26491   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26492 if test "x$ac_cv_func__sincosl" = x""yes; then :
26493   cat >>confdefs.h <<_ACEOF
26494 #define HAVE__SINCOSL 1
26495 _ACEOF
26496
26497 fi
26498 done
26499
26500     fi
26501   fi
26502
26503
26504
26505
26506
26507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26508 $as_echo_n "checking for finitel declaration... " >&6; }
26509   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26510     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26511   $as_echo_n "(cached) " >&6
26512 else
26513
26514
26515       ac_ext=cpp
26516 ac_cpp='$CXXCPP $CPPFLAGS'
26517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26520
26521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h.  */
26523 #include <math.h>
26524                       #ifdef HAVE_IEEEFP_H
26525                       #include <ieeefp.h>
26526                       #endif
26527
26528 int
26529 main ()
26530 {
26531  finitel(0);
26532   ;
26533   return 0;
26534 }
26535 _ACEOF
26536 if ac_fn_cxx_try_compile "$LINENO"; then :
26537   glibcxx_cv_func_finitel_use=yes
26538 else
26539   glibcxx_cv_func_finitel_use=no
26540 fi
26541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26542       ac_ext=c
26543 ac_cpp='$CPP $CPPFLAGS'
26544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26547
26548
26549 fi
26550
26551   fi
26552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26553 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26554
26555   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26556     for ac_func in finitel
26557 do :
26558   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26559 if test "x$ac_cv_func_finitel" = x""yes; then :
26560   cat >>confdefs.h <<_ACEOF
26561 #define HAVE_FINITEL 1
26562 _ACEOF
26563
26564 fi
26565 done
26566
26567   else
26568
26569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26570 $as_echo_n "checking for _finitel declaration... " >&6; }
26571   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26572     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26573   $as_echo_n "(cached) " >&6
26574 else
26575
26576
26577       ac_ext=cpp
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26582
26583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26584 /* end confdefs.h.  */
26585 #include <math.h>
26586                       #ifdef HAVE_IEEEFP_H
26587                       #include <ieeefp.h>
26588                       #endif
26589
26590 int
26591 main ()
26592 {
26593  _finitel(0);
26594   ;
26595   return 0;
26596 }
26597 _ACEOF
26598 if ac_fn_cxx_try_compile "$LINENO"; then :
26599   glibcxx_cv_func__finitel_use=yes
26600 else
26601   glibcxx_cv_func__finitel_use=no
26602 fi
26603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26604       ac_ext=c
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26609
26610
26611 fi
26612
26613   fi
26614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26615 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26616
26617     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26618       for ac_func in _finitel
26619 do :
26620   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26621 if test "x$ac_cv_func__finitel" = x""yes; then :
26622   cat >>confdefs.h <<_ACEOF
26623 #define HAVE__FINITEL 1
26624 _ACEOF
26625
26626 fi
26627 done
26628
26629     fi
26630   fi
26631
26632
26633
26634
26635   LIBS="$ac_save_LIBS"
26636   CXXFLAGS="$ac_save_CXXFLAGS"
26637
26638
26639   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26640   ac_save_CXXFLAGS="$CXXFLAGS"
26641   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26642
26643
26644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26645 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26646   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26647     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26648   $as_echo_n "(cached) " >&6
26649 else
26650
26651
26652       ac_ext=cpp
26653 ac_cpp='$CXXCPP $CPPFLAGS'
26654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26657
26658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26659 /* end confdefs.h.  */
26660 #include <stdlib.h>
26661 int
26662 main ()
26663 {
26664  at_quick_exit(0);
26665   ;
26666   return 0;
26667 }
26668 _ACEOF
26669 if ac_fn_cxx_try_compile "$LINENO"; then :
26670   glibcxx_cv_func_at_quick_exit_use=yes
26671 else
26672   glibcxx_cv_func_at_quick_exit_use=no
26673 fi
26674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26675       ac_ext=c
26676 ac_cpp='$CPP $CPPFLAGS'
26677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26680
26681
26682 fi
26683
26684   fi
26685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26686 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26687   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26688     for ac_func in at_quick_exit
26689 do :
26690   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26691 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26692   cat >>confdefs.h <<_ACEOF
26693 #define HAVE_AT_QUICK_EXIT 1
26694 _ACEOF
26695
26696 fi
26697 done
26698
26699   fi
26700
26701
26702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26703 $as_echo_n "checking for quick_exit declaration... " >&6; }
26704   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26705     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26706   $as_echo_n "(cached) " >&6
26707 else
26708
26709
26710       ac_ext=cpp
26711 ac_cpp='$CXXCPP $CPPFLAGS'
26712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715
26716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26717 /* end confdefs.h.  */
26718 #include <stdlib.h>
26719 int
26720 main ()
26721 {
26722  quick_exit(0);
26723   ;
26724   return 0;
26725 }
26726 _ACEOF
26727 if ac_fn_cxx_try_compile "$LINENO"; then :
26728   glibcxx_cv_func_quick_exit_use=yes
26729 else
26730   glibcxx_cv_func_quick_exit_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_quick_exit_use" >&5
26744 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26745   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26746     for ac_func in quick_exit
26747 do :
26748   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26749 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26750   cat >>confdefs.h <<_ACEOF
26751 #define HAVE_QUICK_EXIT 1
26752 _ACEOF
26753
26754 fi
26755 done
26756
26757   fi
26758
26759
26760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26761 $as_echo_n "checking for strtold declaration... " >&6; }
26762   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26763     if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
26777 int
26778 main ()
26779 {
26780  strtold(0, 0);
26781   ;
26782   return 0;
26783 }
26784 _ACEOF
26785 if ac_fn_cxx_try_compile "$LINENO"; then :
26786   glibcxx_cv_func_strtold_use=yes
26787 else
26788   glibcxx_cv_func_strtold_use=no
26789 fi
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26791       ac_ext=c
26792 ac_cpp='$CPP $CPPFLAGS'
26793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26796
26797
26798 fi
26799
26800   fi
26801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26802 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26803   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26804     for ac_func in strtold
26805 do :
26806   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26807 if test "x$ac_cv_func_strtold" = x""yes; then :
26808   cat >>confdefs.h <<_ACEOF
26809 #define HAVE_STRTOLD 1
26810 _ACEOF
26811
26812 fi
26813 done
26814
26815   fi
26816
26817
26818
26819
26820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26821 $as_echo_n "checking for strtof declaration... " >&6; }
26822   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26823     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26824   $as_echo_n "(cached) " >&6
26825 else
26826
26827
26828       ac_ext=cpp
26829 ac_cpp='$CXXCPP $CPPFLAGS'
26830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26833
26834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26835 /* end confdefs.h.  */
26836 #include <stdlib.h>
26837 int
26838 main ()
26839 {
26840  strtof(0, 0);
26841   ;
26842   return 0;
26843 }
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846   glibcxx_cv_func_strtof_use=yes
26847 else
26848   glibcxx_cv_func_strtof_use=no
26849 fi
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851       ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26856
26857
26858 fi
26859
26860   fi
26861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26862 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26863   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26864     for ac_func in strtof
26865 do :
26866   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26867 if test "x$ac_cv_func_strtof" = x""yes; then :
26868   cat >>confdefs.h <<_ACEOF
26869 #define HAVE_STRTOF 1
26870 _ACEOF
26871
26872 fi
26873 done
26874
26875   fi
26876
26877
26878
26879
26880   CXXFLAGS="$ac_save_CXXFLAGS"
26881
26882
26883   # For /dev/random and /dev/urandom for TR1.
26884
26885
26886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26887 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26888   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26889   $as_echo_n "(cached) " >&6
26890 else
26891
26892     if test -r /dev/random && test -r /dev/urandom; then
26893   ## For MSys environment the test above is detect as false-positive
26894   ## on mingw-targets.  So disable it explicit for them.
26895       case ${target_os} in
26896         *mingw*) glibcxx_cv_random_tr1=no ;;
26897         *) glibcxx_cv_random_tr1=yes ;;
26898       esac
26899     else
26900       glibcxx_cv_random_tr1=no;
26901     fi
26902
26903 fi
26904
26905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26906 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26907
26908   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26909
26910 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26911
26912   fi
26913
26914
26915
26916   # For TLS support.
26917
26918
26919    # Check whether --enable-tls was given.
26920 if test "${enable_tls+set}" = set; then :
26921   enableval=$enable_tls;
26922       case "$enableval" in
26923        yes|no) ;;
26924        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26925       esac
26926
26927 else
26928   enable_tls=yes
26929 fi
26930
26931
26932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26933 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26934 if test "${gcc_cv_have_tls+set}" = set; then :
26935   $as_echo_n "(cached) " >&6
26936 else
26937
26938     if test "$cross_compiling" = yes; then :
26939                 if test x$gcc_no_link = xyes; then
26940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26941 fi
26942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26943 /* end confdefs.h.  */
26944 __thread int a; int b; int main() { return a = b; }
26945 _ACEOF
26946 if ac_fn_c_try_link "$LINENO"; then :
26947   chktls_save_LDFLAGS="$LDFLAGS"
26948                           case $host in
26949             *-*-linux*)
26950               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26951               ;;
26952           esac
26953           chktls_save_CFLAGS="$CFLAGS"
26954           CFLAGS="-fPIC $CFLAGS"
26955                   if test x$gcc_no_link = xyes; then
26956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26957 fi
26958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h.  */
26960 int f() { return 0; }
26961 _ACEOF
26962 if ac_fn_c_try_link "$LINENO"; then :
26963   if test x$gcc_no_link = xyes; then
26964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26965 fi
26966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26967 /* end confdefs.h.  */
26968 __thread int a; int b; int f() { return a = b; }
26969 _ACEOF
26970 if ac_fn_c_try_link "$LINENO"; then :
26971   gcc_cv_have_tls=yes
26972 else
26973   gcc_cv_have_tls=no
26974 fi
26975 rm -f core conftest.err conftest.$ac_objext \
26976     conftest$ac_exeext conftest.$ac_ext
26977 else
26978   gcc_cv_have_tls=yes
26979 fi
26980 rm -f core conftest.err conftest.$ac_objext \
26981     conftest$ac_exeext conftest.$ac_ext
26982           CFLAGS="$chktls_save_CFLAGS"
26983           LDFLAGS="$chktls_save_LDFLAGS"
26984 else
26985   gcc_cv_have_tls=no
26986 fi
26987 rm -f core conftest.err conftest.$ac_objext \
26988     conftest$ac_exeext conftest.$ac_ext
26989
26990
26991 else
26992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h.  */
26994 __thread int a; int b; int main() { return a = b; }
26995 _ACEOF
26996 if ac_fn_c_try_run "$LINENO"; then :
26997                       chktls_save_LDFLAGS="$LDFLAGS"
26998       LDFLAGS="-static $LDFLAGS"
26999       if test x$gcc_no_link = xyes; then
27000   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27001 fi
27002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27003 /* end confdefs.h.  */
27004 int main() { return 0; }
27005 _ACEOF
27006 if ac_fn_c_try_link "$LINENO"; then :
27007   if test "$cross_compiling" = yes; then :
27008   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27010 as_fn_error "cannot run test program while cross compiling
27011 See \`config.log' for more details." "$LINENO" 5; }
27012 else
27013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27014 /* end confdefs.h.  */
27015 __thread int a; int b; int main() { return a = b; }
27016 _ACEOF
27017 if ac_fn_c_try_run "$LINENO"; then :
27018   gcc_cv_have_tls=yes
27019 else
27020   gcc_cv_have_tls=no
27021 fi
27022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27023   conftest.$ac_objext conftest.beam conftest.$ac_ext
27024 fi
27025
27026 else
27027   gcc_cv_have_tls=yes
27028 fi
27029 rm -f core conftest.err conftest.$ac_objext \
27030     conftest$ac_exeext conftest.$ac_ext
27031       LDFLAGS="$chktls_save_LDFLAGS"
27032       if test $gcc_cv_have_tls = yes; then
27033                                                 chktls_save_CFLAGS="$CFLAGS"
27034         thread_CFLAGS=failed
27035         for flag in '' '-pthread' '-lpthread'; do
27036           CFLAGS="$flag $chktls_save_CFLAGS"
27037           if test x$gcc_no_link = xyes; then
27038   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27039 fi
27040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h.  */
27042 #include <pthread.h>
27043                 void *g(void *d) { return NULL; }
27044 int
27045 main ()
27046 {
27047 pthread_t t; pthread_create(&t,NULL,g,NULL);
27048   ;
27049   return 0;
27050 }
27051 _ACEOF
27052 if ac_fn_c_try_link "$LINENO"; then :
27053   thread_CFLAGS="$flag"
27054 fi
27055 rm -f core conftest.err conftest.$ac_objext \
27056     conftest$ac_exeext conftest.$ac_ext
27057           if test "X$thread_CFLAGS" != Xfailed; then
27058             break
27059           fi
27060         done
27061         CFLAGS="$chktls_save_CFLAGS"
27062         if test "X$thread_CFLAGS" != Xfailed; then
27063           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27064                                                   if test "$cross_compiling" = yes; then :
27065   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27067 as_fn_error "cannot run test program while cross compiling
27068 See \`config.log' for more details." "$LINENO" 5; }
27069 else
27070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27071 /* end confdefs.h.  */
27072 #include <pthread.h>
27073                 __thread int a;
27074                 static int *volatile a_in_other_thread;
27075                 static void *
27076                 thread_func (void *arg)
27077                 {
27078                   a_in_other_thread = &a;
27079                   return (void *)0;
27080                 }
27081 int
27082 main ()
27083 {
27084 pthread_t thread;
27085                 void *thread_retval;
27086                 int *volatile a_in_main_thread;
27087                 a_in_main_thread = &a;
27088                 if (pthread_create (&thread, (pthread_attr_t *)0,
27089                                     thread_func, (void *)0))
27090                   return 0;
27091                 if (pthread_join (thread, &thread_retval))
27092                   return 0;
27093                 return (a_in_other_thread == a_in_main_thread);
27094   ;
27095   return 0;
27096 }
27097 _ACEOF
27098 if ac_fn_c_try_run "$LINENO"; then :
27099   gcc_cv_have_tls=yes
27100 else
27101   gcc_cv_have_tls=no
27102 fi
27103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27104   conftest.$ac_objext conftest.beam conftest.$ac_ext
27105 fi
27106
27107           CFLAGS="$chktls_save_CFLAGS"
27108         fi
27109       fi
27110 else
27111   gcc_cv_have_tls=no
27112 fi
27113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27114   conftest.$ac_objext conftest.beam conftest.$ac_ext
27115 fi
27116
27117 fi
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27119 $as_echo "$gcc_cv_have_tls" >&6; }
27120   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27121
27122 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27123
27124   fi
27125
27126   for ac_func in __cxa_thread_atexit_impl
27127 do :
27128   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27129 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27130   cat >>confdefs.h <<_ACEOF
27131 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27132 _ACEOF
27133
27134 fi
27135 done
27136
27137
27138   # For iconv support.
27139
27140       if test "X$prefix" = "XNONE"; then
27141     acl_final_prefix="$ac_default_prefix"
27142   else
27143     acl_final_prefix="$prefix"
27144   fi
27145   if test "X$exec_prefix" = "XNONE"; then
27146     acl_final_exec_prefix='${prefix}'
27147   else
27148     acl_final_exec_prefix="$exec_prefix"
27149   fi
27150   acl_save_prefix="$prefix"
27151   prefix="$acl_final_prefix"
27152   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27153   prefix="$acl_save_prefix"
27154
27155
27156 # Check whether --with-gnu-ld was given.
27157 if test "${with_gnu_ld+set}" = set; then :
27158   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27159 else
27160   with_gnu_ld=no
27161 fi
27162
27163 # Prepare PATH_SEPARATOR.
27164 # The user is always right.
27165 if test "${PATH_SEPARATOR+set}" != set; then
27166   echo "#! /bin/sh" >conf$$.sh
27167   echo  "exit 0"   >>conf$$.sh
27168   chmod +x conf$$.sh
27169   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27170     PATH_SEPARATOR=';'
27171   else
27172     PATH_SEPARATOR=:
27173   fi
27174   rm -f conf$$.sh
27175 fi
27176 ac_prog=ld
27177 if test "$GCC" = yes; then
27178   # Check if gcc -print-prog-name=ld gives a path.
27179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27180 $as_echo_n "checking for ld used by GCC... " >&6; }
27181   case $host in
27182   *-*-mingw*)
27183     # gcc leaves a trailing carriage return which upsets mingw
27184     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27185   *)
27186     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27187   esac
27188   case $ac_prog in
27189     # Accept absolute paths.
27190     [\\/]* | [A-Za-z]:[\\/]*)
27191       re_direlt='/[^/][^/]*/\.\./'
27192       # Canonicalize the path of ld
27193       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27194       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27195         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27196       done
27197       test -z "$LD" && LD="$ac_prog"
27198       ;;
27199   "")
27200     # If it fails, then pretend we aren't using GCC.
27201     ac_prog=ld
27202     ;;
27203   *)
27204     # If it is relative, then search for the first ld in PATH.
27205     with_gnu_ld=unknown
27206     ;;
27207   esac
27208 elif test "$with_gnu_ld" = yes; then
27209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27210 $as_echo_n "checking for GNU ld... " >&6; }
27211 else
27212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27213 $as_echo_n "checking for non-GNU ld... " >&6; }
27214 fi
27215 if test "${acl_cv_path_LD+set}" = set; then :
27216   $as_echo_n "(cached) " >&6
27217 else
27218   if test -z "$LD"; then
27219   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27220   for ac_dir in $PATH; do
27221     test -z "$ac_dir" && ac_dir=.
27222     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27223       acl_cv_path_LD="$ac_dir/$ac_prog"
27224       # Check to see if the program is GNU ld.  I'd rather use --version,
27225       # but apparently some GNU ld's only accept -v.
27226       # Break only if it was the GNU/non-GNU ld that we prefer.
27227       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27228         test "$with_gnu_ld" != no && break
27229       else
27230         test "$with_gnu_ld" != yes && break
27231       fi
27232     fi
27233   done
27234   IFS="$ac_save_ifs"
27235 else
27236   acl_cv_path_LD="$LD" # Let the user override the test with a path.
27237 fi
27238 fi
27239
27240 LD="$acl_cv_path_LD"
27241 if test -n "$LD"; then
27242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27243 $as_echo "$LD" >&6; }
27244 else
27245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27246 $as_echo "no" >&6; }
27247 fi
27248 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27250 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27251 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27252   $as_echo_n "(cached) " >&6
27253 else
27254   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27255 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27256   acl_cv_prog_gnu_ld=yes
27257 else
27258   acl_cv_prog_gnu_ld=no
27259 fi
27260 fi
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27262 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27263 with_gnu_ld=$acl_cv_prog_gnu_ld
27264
27265
27266
27267                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27268 $as_echo_n "checking for shared library run path origin... " >&6; }
27269 if test "${acl_cv_rpath+set}" = set; then :
27270   $as_echo_n "(cached) " >&6
27271 else
27272
27273     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27274     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27275     . ./conftest.sh
27276     rm -f ./conftest.sh
27277     acl_cv_rpath=done
27278
27279 fi
27280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27281 $as_echo "$acl_cv_rpath" >&6; }
27282   wl="$acl_cv_wl"
27283   libext="$acl_cv_libext"
27284   shlibext="$acl_cv_shlibext"
27285   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27286   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27287   hardcode_direct="$acl_cv_hardcode_direct"
27288   hardcode_minus_L="$acl_cv_hardcode_minus_L"
27289     # Check whether --enable-rpath was given.
27290 if test "${enable_rpath+set}" = set; then :
27291   enableval=$enable_rpath; :
27292 else
27293   enable_rpath=yes
27294 fi
27295
27296
27297
27298
27299
27300
27301
27302
27303     use_additional=yes
27304
27305   acl_save_prefix="$prefix"
27306   prefix="$acl_final_prefix"
27307   acl_save_exec_prefix="$exec_prefix"
27308   exec_prefix="$acl_final_exec_prefix"
27309
27310     eval additional_includedir=\"$includedir\"
27311     eval additional_libdir=\"$libdir\"
27312
27313   exec_prefix="$acl_save_exec_prefix"
27314   prefix="$acl_save_prefix"
27315
27316
27317 # Check whether --with-libiconv-prefix was given.
27318 if test "${with_libiconv_prefix+set}" = set; then :
27319   withval=$with_libiconv_prefix;
27320     if test "X$withval" = "Xno"; then
27321       use_additional=no
27322     else
27323       if test "X$withval" = "X"; then
27324
27325   acl_save_prefix="$prefix"
27326   prefix="$acl_final_prefix"
27327   acl_save_exec_prefix="$exec_prefix"
27328   exec_prefix="$acl_final_exec_prefix"
27329
27330           eval additional_includedir=\"$includedir\"
27331           eval additional_libdir=\"$libdir\"
27332
27333   exec_prefix="$acl_save_exec_prefix"
27334   prefix="$acl_save_prefix"
27335
27336       else
27337         additional_includedir="$withval/include"
27338         additional_libdir="$withval/lib"
27339       fi
27340     fi
27341
27342 fi
27343
27344       LIBICONV=
27345   LTLIBICONV=
27346   INCICONV=
27347   rpathdirs=
27348   ltrpathdirs=
27349   names_already_handled=
27350   names_next_round='iconv '
27351   while test -n "$names_next_round"; do
27352     names_this_round="$names_next_round"
27353     names_next_round=
27354     for name in $names_this_round; do
27355       already_handled=
27356       for n in $names_already_handled; do
27357         if test "$n" = "$name"; then
27358           already_handled=yes
27359           break
27360         fi
27361       done
27362       if test -z "$already_handled"; then
27363         names_already_handled="$names_already_handled $name"
27364                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27365         eval value=\"\$HAVE_LIB$uppername\"
27366         if test -n "$value"; then
27367           if test "$value" = yes; then
27368             eval value=\"\$LIB$uppername\"
27369             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27370             eval value=\"\$LTLIB$uppername\"
27371             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27372           else
27373                                     :
27374           fi
27375         else
27376                               found_dir=
27377           found_la=
27378           found_so=
27379           found_a=
27380           if test $use_additional = yes; then
27381             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27382               found_dir="$additional_libdir"
27383               found_so="$additional_libdir/lib$name.$shlibext"
27384               if test -f "$additional_libdir/lib$name.la"; then
27385                 found_la="$additional_libdir/lib$name.la"
27386               fi
27387             else
27388               if test -f "$additional_libdir/lib$name.$libext"; then
27389                 found_dir="$additional_libdir"
27390                 found_a="$additional_libdir/lib$name.$libext"
27391                 if test -f "$additional_libdir/lib$name.la"; then
27392                   found_la="$additional_libdir/lib$name.la"
27393                 fi
27394               fi
27395             fi
27396           fi
27397           if test "X$found_dir" = "X"; then
27398             for x in $LDFLAGS $LTLIBICONV; do
27399
27400   acl_save_prefix="$prefix"
27401   prefix="$acl_final_prefix"
27402   acl_save_exec_prefix="$exec_prefix"
27403   exec_prefix="$acl_final_exec_prefix"
27404   eval x=\"$x\"
27405   exec_prefix="$acl_save_exec_prefix"
27406   prefix="$acl_save_prefix"
27407
27408               case "$x" in
27409                 -L*)
27410                   dir=`echo "X$x" | sed -e 's/^X-L//'`
27411                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27412                     found_dir="$dir"
27413                     found_so="$dir/lib$name.$shlibext"
27414                     if test -f "$dir/lib$name.la"; then
27415                       found_la="$dir/lib$name.la"
27416                     fi
27417                   else
27418                     if test -f "$dir/lib$name.$libext"; then
27419                       found_dir="$dir"
27420                       found_a="$dir/lib$name.$libext"
27421                       if test -f "$dir/lib$name.la"; then
27422                         found_la="$dir/lib$name.la"
27423                       fi
27424                     fi
27425                   fi
27426                   ;;
27427               esac
27428               if test "X$found_dir" != "X"; then
27429                 break
27430               fi
27431             done
27432           fi
27433           if test "X$found_dir" != "X"; then
27434                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27435             if test "X$found_so" != "X"; then
27436                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27437                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27438               else
27439                                                                                 haveit=
27440                 for x in $ltrpathdirs; do
27441                   if test "X$x" = "X$found_dir"; then
27442                     haveit=yes
27443                     break
27444                   fi
27445                 done
27446                 if test -z "$haveit"; then
27447                   ltrpathdirs="$ltrpathdirs $found_dir"
27448                 fi
27449                                 if test "$hardcode_direct" = yes; then
27450                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27451                 else
27452                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27453                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27454                                                             haveit=
27455                     for x in $rpathdirs; do
27456                       if test "X$x" = "X$found_dir"; then
27457                         haveit=yes
27458                         break
27459                       fi
27460                     done
27461                     if test -z "$haveit"; then
27462                       rpathdirs="$rpathdirs $found_dir"
27463                     fi
27464                   else
27465                                                                                 haveit=
27466                     for x in $LDFLAGS $LIBICONV; do
27467
27468   acl_save_prefix="$prefix"
27469   prefix="$acl_final_prefix"
27470   acl_save_exec_prefix="$exec_prefix"
27471   exec_prefix="$acl_final_exec_prefix"
27472   eval x=\"$x\"
27473   exec_prefix="$acl_save_exec_prefix"
27474   prefix="$acl_save_prefix"
27475
27476                       if test "X$x" = "X-L$found_dir"; then
27477                         haveit=yes
27478                         break
27479                       fi
27480                     done
27481                     if test -z "$haveit"; then
27482                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27483                     fi
27484                     if test "$hardcode_minus_L" != no; then
27485                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27486                     else
27487                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27488                     fi
27489                   fi
27490                 fi
27491               fi
27492             else
27493               if test "X$found_a" != "X"; then
27494                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27495               else
27496                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27497               fi
27498             fi
27499                         additional_includedir=
27500             case "$found_dir" in
27501               */lib | */lib/)
27502                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27503                 additional_includedir="$basedir/include"
27504                 ;;
27505             esac
27506             if test "X$additional_includedir" != "X"; then
27507                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
27508                 haveit=
27509                 if test "X$additional_includedir" = "X/usr/local/include"; then
27510                   if test -n "$GCC"; then
27511                     case $host_os in
27512                       linux*) haveit=yes;;
27513                     esac
27514                   fi
27515                 fi
27516                 if test -z "$haveit"; then
27517                   for x in $CPPFLAGS $INCICONV; do
27518
27519   acl_save_prefix="$prefix"
27520   prefix="$acl_final_prefix"
27521   acl_save_exec_prefix="$exec_prefix"
27522   exec_prefix="$acl_final_exec_prefix"
27523   eval x=\"$x\"
27524   exec_prefix="$acl_save_exec_prefix"
27525   prefix="$acl_save_prefix"
27526
27527                     if test "X$x" = "X-I$additional_includedir"; then
27528                       haveit=yes
27529                       break
27530                     fi
27531                   done
27532                   if test -z "$haveit"; then
27533                     if test -d "$additional_includedir"; then
27534                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27535                     fi
27536                   fi
27537                 fi
27538               fi
27539             fi
27540                         if test -n "$found_la"; then
27541                                                         save_libdir="$libdir"
27542               case "$found_la" in
27543                 */* | *\\*) . "$found_la" ;;
27544                 *) . "./$found_la" ;;
27545               esac
27546               libdir="$save_libdir"
27547                             for dep in $dependency_libs; do
27548                 case "$dep" in
27549                   -L*)
27550                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27551                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
27552                       haveit=
27553                       if test "X$additional_libdir" = "X/usr/local/lib"; then
27554                         if test -n "$GCC"; then
27555                           case $host_os in
27556                             linux*) haveit=yes;;
27557                           esac
27558                         fi
27559                       fi
27560                       if test -z "$haveit"; then
27561                         haveit=
27562                         for x in $LDFLAGS $LIBICONV; do
27563
27564   acl_save_prefix="$prefix"
27565   prefix="$acl_final_prefix"
27566   acl_save_exec_prefix="$exec_prefix"
27567   exec_prefix="$acl_final_exec_prefix"
27568   eval x=\"$x\"
27569   exec_prefix="$acl_save_exec_prefix"
27570   prefix="$acl_save_prefix"
27571
27572                           if test "X$x" = "X-L$additional_libdir"; then
27573                             haveit=yes
27574                             break
27575                           fi
27576                         done
27577                         if test -z "$haveit"; then
27578                           if test -d "$additional_libdir"; then
27579                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27580                           fi
27581                         fi
27582                         haveit=
27583                         for x in $LDFLAGS $LTLIBICONV; do
27584
27585   acl_save_prefix="$prefix"
27586   prefix="$acl_final_prefix"
27587   acl_save_exec_prefix="$exec_prefix"
27588   exec_prefix="$acl_final_exec_prefix"
27589   eval x=\"$x\"
27590   exec_prefix="$acl_save_exec_prefix"
27591   prefix="$acl_save_prefix"
27592
27593                           if test "X$x" = "X-L$additional_libdir"; then
27594                             haveit=yes
27595                             break
27596                           fi
27597                         done
27598                         if test -z "$haveit"; then
27599                           if test -d "$additional_libdir"; then
27600                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27601                           fi
27602                         fi
27603                       fi
27604                     fi
27605                     ;;
27606                   -R*)
27607                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27608                     if test "$enable_rpath" != no; then
27609                                                                   haveit=
27610                       for x in $rpathdirs; do
27611                         if test "X$x" = "X$dir"; then
27612                           haveit=yes
27613                           break
27614                         fi
27615                       done
27616                       if test -z "$haveit"; then
27617                         rpathdirs="$rpathdirs $dir"
27618                       fi
27619                                                                   haveit=
27620                       for x in $ltrpathdirs; do
27621                         if test "X$x" = "X$dir"; then
27622                           haveit=yes
27623                           break
27624                         fi
27625                       done
27626                       if test -z "$haveit"; then
27627                         ltrpathdirs="$ltrpathdirs $dir"
27628                       fi
27629                     fi
27630                     ;;
27631                   -l*)
27632                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27633                     ;;
27634                   *.la)
27635                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27636                     ;;
27637                   *)
27638                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27639                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27640                     ;;
27641                 esac
27642               done
27643             fi
27644           else
27645                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27646             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27647           fi
27648         fi
27649       fi
27650     done
27651   done
27652   if test "X$rpathdirs" != "X"; then
27653     if test -n "$hardcode_libdir_separator"; then
27654                         alldirs=
27655       for found_dir in $rpathdirs; do
27656         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27657       done
27658             acl_save_libdir="$libdir"
27659       libdir="$alldirs"
27660       eval flag=\"$hardcode_libdir_flag_spec\"
27661       libdir="$acl_save_libdir"
27662       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27663     else
27664             for found_dir in $rpathdirs; do
27665         acl_save_libdir="$libdir"
27666         libdir="$found_dir"
27667         eval flag=\"$hardcode_libdir_flag_spec\"
27668         libdir="$acl_save_libdir"
27669         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27670       done
27671     fi
27672   fi
27673   if test "X$ltrpathdirs" != "X"; then
27674             for found_dir in $ltrpathdirs; do
27675       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27676     done
27677   fi
27678
27679
27680
27681
27682
27683
27684
27685           am_save_CPPFLAGS="$CPPFLAGS"
27686
27687   for element in $INCICONV; do
27688     haveit=
27689     for x in $CPPFLAGS; do
27690
27691   acl_save_prefix="$prefix"
27692   prefix="$acl_final_prefix"
27693   acl_save_exec_prefix="$exec_prefix"
27694   exec_prefix="$acl_final_exec_prefix"
27695   eval x=\"$x\"
27696   exec_prefix="$acl_save_exec_prefix"
27697   prefix="$acl_save_prefix"
27698
27699       if test "X$x" = "X$element"; then
27700         haveit=yes
27701         break
27702       fi
27703     done
27704     if test -z "$haveit"; then
27705       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27706     fi
27707   done
27708
27709
27710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27711 $as_echo_n "checking for iconv... " >&6; }
27712 if test "${am_cv_func_iconv+set}" = set; then :
27713   $as_echo_n "(cached) " >&6
27714 else
27715
27716     am_cv_func_iconv="no, consider installing GNU libiconv"
27717     am_cv_lib_iconv=no
27718     if test x$gcc_no_link = xyes; then
27719   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27720 fi
27721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27722 /* end confdefs.h.  */
27723 #include <stdlib.h>
27724 #include <iconv.h>
27725 int
27726 main ()
27727 {
27728 iconv_t cd = iconv_open("","");
27729        iconv(cd,NULL,NULL,NULL,NULL);
27730        iconv_close(cd);
27731   ;
27732   return 0;
27733 }
27734 _ACEOF
27735 if ac_fn_c_try_link "$LINENO"; then :
27736   am_cv_func_iconv=yes
27737 fi
27738 rm -f core conftest.err conftest.$ac_objext \
27739     conftest$ac_exeext conftest.$ac_ext
27740     if test "$am_cv_func_iconv" != yes; then
27741       am_save_LIBS="$LIBS"
27742       LIBS="$LIBS $LIBICONV"
27743       if test x$gcc_no_link = xyes; then
27744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27745 fi
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h.  */
27748 #include <stdlib.h>
27749 #include <iconv.h>
27750 int
27751 main ()
27752 {
27753 iconv_t cd = iconv_open("","");
27754          iconv(cd,NULL,NULL,NULL,NULL);
27755          iconv_close(cd);
27756   ;
27757   return 0;
27758 }
27759 _ACEOF
27760 if ac_fn_c_try_link "$LINENO"; then :
27761   am_cv_lib_iconv=yes
27762         am_cv_func_iconv=yes
27763 fi
27764 rm -f core conftest.err conftest.$ac_objext \
27765     conftest$ac_exeext conftest.$ac_ext
27766       LIBS="$am_save_LIBS"
27767     fi
27768
27769 fi
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27771 $as_echo "$am_cv_func_iconv" >&6; }
27772   if test "$am_cv_func_iconv" = yes; then
27773
27774 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27775
27776   fi
27777   if test "$am_cv_lib_iconv" = yes; then
27778     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27779 $as_echo_n "checking how to link with libiconv... " >&6; }
27780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27781 $as_echo "$LIBICONV" >&6; }
27782   else
27783             CPPFLAGS="$am_save_CPPFLAGS"
27784     LIBICONV=
27785     LTLIBICONV=
27786   fi
27787
27788
27789
27790   if test "$am_cv_func_iconv" = yes; then
27791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27792 $as_echo_n "checking for iconv declaration... " >&6; }
27793     if test "${am_cv_proto_iconv+set}" = set; then :
27794   $as_echo_n "(cached) " >&6
27795 else
27796
27797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27798 /* end confdefs.h.  */
27799
27800 #include <stdlib.h>
27801 #include <iconv.h>
27802 extern
27803 #ifdef __cplusplus
27804 "C"
27805 #endif
27806 #if defined(__STDC__) || defined(__cplusplus)
27807 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27808 #else
27809 size_t iconv();
27810 #endif
27811
27812 int
27813 main ()
27814 {
27815
27816   ;
27817   return 0;
27818 }
27819 _ACEOF
27820 if ac_fn_c_try_compile "$LINENO"; then :
27821   am_cv_proto_iconv_arg1=""
27822 else
27823   am_cv_proto_iconv_arg1="const"
27824 fi
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826       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);"
27827 fi
27828
27829     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27831          }$am_cv_proto_iconv" >&5
27832 $as_echo "${ac_t:-
27833          }$am_cv_proto_iconv" >&6; }
27834
27835 cat >>confdefs.h <<_ACEOF
27836 #define ICONV_CONST $am_cv_proto_iconv_arg1
27837 _ACEOF
27838
27839   fi
27840
27841
27842 else
27843
27844   # This lets us hard-code the functionality we know we'll have in the cross
27845   # target environment.  "Let" is a sugar-coated word placed on an especially
27846   # dull and tedious hack, actually.
27847   #
27848   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27849   # that involve linking, can't be used:
27850   #    "cannot open sim-crt0.o"
27851   #    "cannot open crt0.o"
27852   # etc.  All this is because there currently exists no unified, consistent
27853   # way for top level CC information to be passed down to target directories:
27854   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27855   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27856   # crosses can be removed.
27857
27858   # If Canadian cross, then don't pick up tools from the build directory.
27859   # Used only in GLIBCXX_EXPORT_INCLUDES.
27860   if test -n "$with_cross_host" &&
27861      test x"$build_alias" != x"$with_cross_host" &&
27862      test x"$build" != x"$target";
27863   then
27864     CANADIAN=yes
27865   else
27866     CANADIAN=no
27867   fi
27868
27869   # Construct crosses by hand, eliminating bits that need ld...
27870   # GLIBCXX_CHECK_MATH_SUPPORT
27871
27872   # First, test for "known" system libraries.  We may be using newlib even
27873   # on a hosted environment.
27874   if test "x${with_newlib}" = "xyes"; then
27875     os_include_dir="os/newlib"
27876     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27877
27878
27879     # GLIBCXX_CHECK_STDLIB_SUPPORT
27880     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27881
27882
27883     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27884
27885     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27886
27887     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27888
27889     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27890
27891     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27892
27893     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27894
27895     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27896
27897     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27898
27899     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27900
27901     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27902
27903     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27904
27905     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27906
27907     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27908
27909     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27910
27911     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27912
27913     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27914
27915     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27916
27917     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27918
27919     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27920
27921     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27922
27923     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27924
27925     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27926
27927
27928     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27929
27930   else
27931
27932 # Base decisions on target environment.
27933 case "${host}" in
27934   arm*-*-symbianelf*)
27935     # This is a freestanding configuration; there is nothing to do here.
27936     ;;
27937
27938   mips*-sde-elf*)
27939     # These definitions are for the SDE C library rather than newlib.
27940     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27941
27942
27943   # All these tests are for C++; save the language and the compiler flags.
27944   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27945   # found in GLIBCXX_CONFIGURE.
27946
27947   ac_ext=cpp
27948 ac_cpp='$CXXCPP $CPPFLAGS'
27949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27952
27953   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27954   ac_save_CXXFLAGS="$CXXFLAGS"
27955
27956   # Check for maintainer-mode bits.
27957   if test x"$USE_MAINTAINER_MODE" = xno; then
27958     WERROR=''
27959   else
27960     WERROR='-Werror'
27961   fi
27962
27963   # Check for -ffunction-sections -fdata-sections
27964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27965 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27966   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27968 /* end confdefs.h.  */
27969 int foo; void bar() { };
27970 int
27971 main ()
27972 {
27973
27974   ;
27975   return 0;
27976 }
27977 _ACEOF
27978 if ac_fn_cxx_try_compile "$LINENO"; then :
27979   ac_fdsections=yes
27980 else
27981   ac_fdsections=no
27982 fi
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27984   if test "$ac_test_CXXFLAGS" = set; then
27985     CXXFLAGS="$ac_save_CXXFLAGS"
27986   else
27987     # this is the suspicious part
27988     CXXFLAGS=''
27989   fi
27990   if test x"$ac_fdsections" = x"yes"; then
27991     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27992   fi
27993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27994 $as_echo "$ac_fdsections" >&6; }
27995
27996   ac_ext=c
27997 ac_cpp='$CPP $CPPFLAGS'
27998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28001
28002
28003
28004
28005
28006   # If we're not using GNU ld, then there's no point in even trying these
28007   # tests.  Check for that first.  We should have already tested for gld
28008   # by now (in libtool), but require it now just to be safe...
28009   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28010   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28011
28012
28013
28014   # The name set by libtool depends on the version of libtool.  Shame on us
28015   # for depending on an impl detail, but c'est la vie.  Older versions used
28016   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28017   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28018   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
28019   # set (hence we're using an older libtool), then set it.
28020   if test x${with_gnu_ld+set} != xset; then
28021     if test x${ac_cv_prog_gnu_ld+set} != xset; then
28022       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
28023       with_gnu_ld=no
28024     else
28025       with_gnu_ld=$ac_cv_prog_gnu_ld
28026     fi
28027   fi
28028
28029   # Start by getting the version number.  I think the libtool test already
28030   # does some of this, but throws away the result.
28031   glibcxx_ld_is_gold=no
28032   if test x"$with_gnu_ld" = x"yes"; then
28033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28034 $as_echo_n "checking for ld version... " >&6; }
28035
28036     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28037       glibcxx_ld_is_gold=yes
28038     fi
28039     ldver=`$LD --version 2>/dev/null |
28040            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'`
28041
28042     glibcxx_gnu_ld_version=`echo $ldver | \
28043            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28045 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28046   fi
28047
28048   # Set --gc-sections.
28049   glibcxx_have_gc_sections=no
28050   if test "$glibcxx_ld_is_gold" = "yes"; then
28051     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28052       glibcxx_have_gc_sections=yes
28053     fi
28054   else
28055     glibcxx_gcsections_min_ld=21602
28056     if test x"$with_gnu_ld" = x"yes" &&
28057         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28058       glibcxx_have_gc_sections=yes
28059     fi
28060   fi
28061   if test "$glibcxx_have_gc_sections" = "yes"; then
28062     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
28063     # NB: This flag only works reliably after 2.16.1. Configure tests
28064     # for this are difficult, so hard wire a value that should work.
28065
28066     ac_test_CFLAGS="${CFLAGS+set}"
28067     ac_save_CFLAGS="$CFLAGS"
28068     CFLAGS='-Wl,--gc-sections'
28069
28070     # Check for -Wl,--gc-sections
28071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28072 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28073     if test x$gcc_no_link = xyes; then
28074   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28075 fi
28076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28077 /* end confdefs.h.  */
28078  int one(void) { return 1; }
28079      int two(void) { return 2; }
28080
28081 int
28082 main ()
28083 {
28084  two();
28085   ;
28086   return 0;
28087 }
28088 _ACEOF
28089 if ac_fn_c_try_link "$LINENO"; then :
28090   ac_gcsections=yes
28091 else
28092   ac_gcsections=no
28093 fi
28094 rm -f core conftest.err conftest.$ac_objext \
28095     conftest$ac_exeext conftest.$ac_ext
28096     if test "$ac_gcsections" = "yes"; then
28097       rm -f conftest.c
28098       touch conftest.c
28099       if $CC -c conftest.c; then
28100         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28101            grep "Warning: gc-sections option ignored" > /dev/null; then
28102           ac_gcsections=no
28103         fi
28104       fi
28105       rm -f conftest.c conftest.o conftest
28106     fi
28107     if test "$ac_gcsections" = "yes"; then
28108       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28109     fi
28110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28111 $as_echo "$ac_gcsections" >&6; }
28112
28113     if test "$ac_test_CFLAGS" = set; then
28114       CFLAGS="$ac_save_CFLAGS"
28115     else
28116       # this is the suspicious part
28117       CFLAGS=''
28118     fi
28119   fi
28120
28121   # Set -z,relro.
28122   # Note this is only for shared objects.
28123   ac_ld_relro=no
28124   if test x"$with_gnu_ld" = x"yes"; then
28125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28126 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28127     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28128     if test -n "$cxx_z_relo"; then
28129       OPT_LDFLAGS="-Wl,-z,relro"
28130       ac_ld_relro=yes
28131     fi
28132     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28133 $as_echo "$ac_ld_relro" >&6; }
28134   fi
28135
28136   # Set linker optimization flags.
28137   if test x"$with_gnu_ld" = x"yes"; then
28138     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28139   fi
28140
28141
28142
28143
28144
28145   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28146   ac_save_CXXFLAGS="$CXXFLAGS"
28147   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28148
28149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28150 $as_echo_n "checking for sin in -lm... " >&6; }
28151 if test "${ac_cv_lib_m_sin+set}" = set; then :
28152   $as_echo_n "(cached) " >&6
28153 else
28154   ac_check_lib_save_LIBS=$LIBS
28155 LIBS="-lm  $LIBS"
28156 if test x$gcc_no_link = xyes; then
28157   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28158 fi
28159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28160 /* end confdefs.h.  */
28161
28162 /* Override any GCC internal prototype to avoid an error.
28163    Use char because int might match the return type of a GCC
28164    builtin and then its argument prototype would still apply.  */
28165 #ifdef __cplusplus
28166 extern "C"
28167 #endif
28168 char sin ();
28169 int
28170 main ()
28171 {
28172 return sin ();
28173   ;
28174   return 0;
28175 }
28176 _ACEOF
28177 if ac_fn_c_try_link "$LINENO"; then :
28178   ac_cv_lib_m_sin=yes
28179 else
28180   ac_cv_lib_m_sin=no
28181 fi
28182 rm -f core conftest.err conftest.$ac_objext \
28183     conftest$ac_exeext conftest.$ac_ext
28184 LIBS=$ac_check_lib_save_LIBS
28185 fi
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28187 $as_echo "$ac_cv_lib_m_sin" >&6; }
28188 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28189   libm="-lm"
28190 fi
28191
28192   ac_save_LIBS="$LIBS"
28193   LIBS="$LIBS $libm"
28194
28195
28196
28197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28198 $as_echo_n "checking for isinf declaration... " >&6; }
28199   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28200     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28201   $as_echo_n "(cached) " >&6
28202 else
28203
28204
28205       ac_ext=cpp
28206 ac_cpp='$CXXCPP $CPPFLAGS'
28207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28210
28211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28212 /* end confdefs.h.  */
28213 #include <math.h>
28214                       #ifdef HAVE_IEEEFP_H
28215                       #include <ieeefp.h>
28216                       #endif
28217
28218 int
28219 main ()
28220 {
28221  isinf(0);
28222   ;
28223   return 0;
28224 }
28225 _ACEOF
28226 if ac_fn_cxx_try_compile "$LINENO"; then :
28227   glibcxx_cv_func_isinf_use=yes
28228 else
28229   glibcxx_cv_func_isinf_use=no
28230 fi
28231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28232       ac_ext=c
28233 ac_cpp='$CPP $CPPFLAGS'
28234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28237
28238
28239 fi
28240
28241   fi
28242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28243 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28244
28245   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28246     for ac_func in isinf
28247 do :
28248   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28249 if test "x$ac_cv_func_isinf" = x""yes; then :
28250   cat >>confdefs.h <<_ACEOF
28251 #define HAVE_ISINF 1
28252 _ACEOF
28253
28254 fi
28255 done
28256
28257   else
28258
28259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28260 $as_echo_n "checking for _isinf declaration... " >&6; }
28261   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28262     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28263   $as_echo_n "(cached) " >&6
28264 else
28265
28266
28267       ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28272
28273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h.  */
28275 #include <math.h>
28276                       #ifdef HAVE_IEEEFP_H
28277                       #include <ieeefp.h>
28278                       #endif
28279
28280 int
28281 main ()
28282 {
28283  _isinf(0);
28284   ;
28285   return 0;
28286 }
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289   glibcxx_cv_func__isinf_use=yes
28290 else
28291   glibcxx_cv_func__isinf_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__isinf_use" >&5
28305 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28306
28307     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28308       for ac_func in _isinf
28309 do :
28310   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28311 if test "x$ac_cv_func__isinf" = x""yes; then :
28312   cat >>confdefs.h <<_ACEOF
28313 #define HAVE__ISINF 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 isnan declaration" >&5
28327 $as_echo_n "checking for isnan declaration... " >&6; }
28328   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28329     if test "${glibcxx_cv_func_isnan_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  isnan(0);
28351   ;
28352   return 0;
28353 }
28354 _ACEOF
28355 if ac_fn_cxx_try_compile "$LINENO"; then :
28356   glibcxx_cv_func_isnan_use=yes
28357 else
28358   glibcxx_cv_func_isnan_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_isnan_use" >&5
28372 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28373
28374   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28375     for ac_func in isnan
28376 do :
28377   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28378 if test "x$ac_cv_func_isnan" = x""yes; then :
28379   cat >>confdefs.h <<_ACEOF
28380 #define HAVE_ISNAN 1
28381 _ACEOF
28382
28383 fi
28384 done
28385
28386   else
28387
28388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28389 $as_echo_n "checking for _isnan declaration... " >&6; }
28390   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28391     if test "${glibcxx_cv_func__isnan_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  _isnan(0);
28413   ;
28414   return 0;
28415 }
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418   glibcxx_cv_func__isnan_use=yes
28419 else
28420   glibcxx_cv_func__isnan_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__isnan_use" >&5
28434 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28435
28436     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28437       for ac_func in _isnan
28438 do :
28439   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28440 if test "x$ac_cv_func__isnan" = x""yes; then :
28441   cat >>confdefs.h <<_ACEOF
28442 #define HAVE__ISNAN 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 finite declaration" >&5
28456 $as_echo_n "checking for finite declaration... " >&6; }
28457   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28458     if test "${glibcxx_cv_func_finite_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                       #ifdef HAVE_IEEEFP_H
28473                       #include <ieeefp.h>
28474                       #endif
28475
28476 int
28477 main ()
28478 {
28479  finite(0);
28480   ;
28481   return 0;
28482 }
28483 _ACEOF
28484 if ac_fn_cxx_try_compile "$LINENO"; then :
28485   glibcxx_cv_func_finite_use=yes
28486 else
28487   glibcxx_cv_func_finite_use=no
28488 fi
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28490       ac_ext=c
28491 ac_cpp='$CPP $CPPFLAGS'
28492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28495
28496
28497 fi
28498
28499   fi
28500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28501 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28502
28503   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28504     for ac_func in finite
28505 do :
28506   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28507 if test "x$ac_cv_func_finite" = x""yes; then :
28508   cat >>confdefs.h <<_ACEOF
28509 #define HAVE_FINITE 1
28510 _ACEOF
28511
28512 fi
28513 done
28514
28515   else
28516
28517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28518 $as_echo_n "checking for _finite declaration... " >&6; }
28519   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28520     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28521   $as_echo_n "(cached) " >&6
28522 else
28523
28524
28525       ac_ext=cpp
28526 ac_cpp='$CXXCPP $CPPFLAGS'
28527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28530
28531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28532 /* end confdefs.h.  */
28533 #include <math.h>
28534                       #ifdef HAVE_IEEEFP_H
28535                       #include <ieeefp.h>
28536                       #endif
28537
28538 int
28539 main ()
28540 {
28541  _finite(0);
28542   ;
28543   return 0;
28544 }
28545 _ACEOF
28546 if ac_fn_cxx_try_compile "$LINENO"; then :
28547   glibcxx_cv_func__finite_use=yes
28548 else
28549   glibcxx_cv_func__finite_use=no
28550 fi
28551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552       ac_ext=c
28553 ac_cpp='$CPP $CPPFLAGS'
28554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28557
28558
28559 fi
28560
28561   fi
28562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28563 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28564
28565     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28566       for ac_func in _finite
28567 do :
28568   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28569 if test "x$ac_cv_func__finite" = x""yes; then :
28570   cat >>confdefs.h <<_ACEOF
28571 #define HAVE__FINITE 1
28572 _ACEOF
28573
28574 fi
28575 done
28576
28577     fi
28578   fi
28579
28580
28581
28582
28583
28584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28585 $as_echo_n "checking for sincos declaration... " >&6; }
28586   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28587     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28588   $as_echo_n "(cached) " >&6
28589 else
28590
28591
28592       ac_ext=cpp
28593 ac_cpp='$CXXCPP $CPPFLAGS'
28594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28597
28598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28599 /* end confdefs.h.  */
28600 #include <math.h>
28601 int
28602 main ()
28603 {
28604  sincos(0, 0, 0);
28605   ;
28606   return 0;
28607 }
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610   glibcxx_cv_func_sincos_use=yes
28611 else
28612   glibcxx_cv_func_sincos_use=no
28613 fi
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615       ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28620
28621
28622 fi
28623
28624   fi
28625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28626 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28627
28628   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28629     for ac_func in sincos
28630 do :
28631   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28632 if test "x$ac_cv_func_sincos" = x""yes; then :
28633   cat >>confdefs.h <<_ACEOF
28634 #define HAVE_SINCOS 1
28635 _ACEOF
28636
28637 fi
28638 done
28639
28640   else
28641
28642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28643 $as_echo_n "checking for _sincos declaration... " >&6; }
28644   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28645     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28646   $as_echo_n "(cached) " >&6
28647 else
28648
28649
28650       ac_ext=cpp
28651 ac_cpp='$CXXCPP $CPPFLAGS'
28652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28655
28656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28657 /* end confdefs.h.  */
28658 #include <math.h>
28659 int
28660 main ()
28661 {
28662  _sincos(0, 0, 0);
28663   ;
28664   return 0;
28665 }
28666 _ACEOF
28667 if ac_fn_cxx_try_compile "$LINENO"; then :
28668   glibcxx_cv_func__sincos_use=yes
28669 else
28670   glibcxx_cv_func__sincos_use=no
28671 fi
28672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28673       ac_ext=c
28674 ac_cpp='$CPP $CPPFLAGS'
28675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28678
28679
28680 fi
28681
28682   fi
28683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28684 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28685
28686     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28687       for ac_func in _sincos
28688 do :
28689   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28690 if test "x$ac_cv_func__sincos" = x""yes; then :
28691   cat >>confdefs.h <<_ACEOF
28692 #define HAVE__SINCOS 1
28693 _ACEOF
28694
28695 fi
28696 done
28697
28698     fi
28699   fi
28700
28701
28702
28703
28704
28705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28706 $as_echo_n "checking for fpclass declaration... " >&6; }
28707   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28708     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28709   $as_echo_n "(cached) " >&6
28710 else
28711
28712
28713       ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28718
28719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h.  */
28721 #include <math.h>
28722                       #ifdef HAVE_IEEEFP_H
28723                       #include <ieeefp.h>
28724                       #endif
28725
28726 int
28727 main ()
28728 {
28729  fpclass(0);
28730   ;
28731   return 0;
28732 }
28733 _ACEOF
28734 if ac_fn_cxx_try_compile "$LINENO"; then :
28735   glibcxx_cv_func_fpclass_use=yes
28736 else
28737   glibcxx_cv_func_fpclass_use=no
28738 fi
28739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28740       ac_ext=c
28741 ac_cpp='$CPP $CPPFLAGS'
28742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28745
28746
28747 fi
28748
28749   fi
28750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28751 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28752
28753   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28754     for ac_func in fpclass
28755 do :
28756   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28757 if test "x$ac_cv_func_fpclass" = x""yes; then :
28758   cat >>confdefs.h <<_ACEOF
28759 #define HAVE_FPCLASS 1
28760 _ACEOF
28761
28762 fi
28763 done
28764
28765   else
28766
28767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28768 $as_echo_n "checking for _fpclass declaration... " >&6; }
28769   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28770     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28771   $as_echo_n "(cached) " >&6
28772 else
28773
28774
28775       ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28780
28781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h.  */
28783 #include <math.h>
28784                       #ifdef HAVE_IEEEFP_H
28785                       #include <ieeefp.h>
28786                       #endif
28787
28788 int
28789 main ()
28790 {
28791  _fpclass(0);
28792   ;
28793   return 0;
28794 }
28795 _ACEOF
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797   glibcxx_cv_func__fpclass_use=yes
28798 else
28799   glibcxx_cv_func__fpclass_use=no
28800 fi
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28802       ac_ext=c
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28807
28808
28809 fi
28810
28811   fi
28812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28813 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28814
28815     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28816       for ac_func in _fpclass
28817 do :
28818   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28819 if test "x$ac_cv_func__fpclass" = x""yes; then :
28820   cat >>confdefs.h <<_ACEOF
28821 #define HAVE__FPCLASS 1
28822 _ACEOF
28823
28824 fi
28825 done
28826
28827     fi
28828   fi
28829
28830
28831
28832
28833
28834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28835 $as_echo_n "checking for qfpclass declaration... " >&6; }
28836   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28837     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28838   $as_echo_n "(cached) " >&6
28839 else
28840
28841
28842       ac_ext=cpp
28843 ac_cpp='$CXXCPP $CPPFLAGS'
28844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28847
28848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h.  */
28850 #include <math.h>
28851                       #ifdef HAVE_IEEEFP_H
28852                       #include <ieeefp.h>
28853                       #endif
28854
28855 int
28856 main ()
28857 {
28858  qfpclass(0);
28859   ;
28860   return 0;
28861 }
28862 _ACEOF
28863 if ac_fn_cxx_try_compile "$LINENO"; then :
28864   glibcxx_cv_func_qfpclass_use=yes
28865 else
28866   glibcxx_cv_func_qfpclass_use=no
28867 fi
28868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28869       ac_ext=c
28870 ac_cpp='$CPP $CPPFLAGS'
28871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28874
28875
28876 fi
28877
28878   fi
28879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28880 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28881
28882   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28883     for ac_func in qfpclass
28884 do :
28885   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28886 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28887   cat >>confdefs.h <<_ACEOF
28888 #define HAVE_QFPCLASS 1
28889 _ACEOF
28890
28891 fi
28892 done
28893
28894   else
28895
28896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28897 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28898   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28899     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28900   $as_echo_n "(cached) " >&6
28901 else
28902
28903
28904       ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909
28910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h.  */
28912 #include <math.h>
28913                       #ifdef HAVE_IEEEFP_H
28914                       #include <ieeefp.h>
28915                       #endif
28916
28917 int
28918 main ()
28919 {
28920  _qfpclass(0);
28921   ;
28922   return 0;
28923 }
28924 _ACEOF
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926   glibcxx_cv_func__qfpclass_use=yes
28927 else
28928   glibcxx_cv_func__qfpclass_use=no
28929 fi
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931       ac_ext=c
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28936
28937
28938 fi
28939
28940   fi
28941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28942 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28943
28944     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28945       for ac_func in _qfpclass
28946 do :
28947   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28948 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28949   cat >>confdefs.h <<_ACEOF
28950 #define HAVE__QFPCLASS 1
28951 _ACEOF
28952
28953 fi
28954 done
28955
28956     fi
28957   fi
28958
28959
28960
28961
28962
28963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28964 $as_echo_n "checking for hypot declaration... " >&6; }
28965   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28966     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28967   $as_echo_n "(cached) " >&6
28968 else
28969
28970
28971       ac_ext=cpp
28972 ac_cpp='$CXXCPP $CPPFLAGS'
28973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28976
28977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28978 /* end confdefs.h.  */
28979 #include <math.h>
28980 int
28981 main ()
28982 {
28983  hypot(0, 0);
28984   ;
28985   return 0;
28986 }
28987 _ACEOF
28988 if ac_fn_cxx_try_compile "$LINENO"; then :
28989   glibcxx_cv_func_hypot_use=yes
28990 else
28991   glibcxx_cv_func_hypot_use=no
28992 fi
28993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28994       ac_ext=c
28995 ac_cpp='$CPP $CPPFLAGS'
28996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28999
29000
29001 fi
29002
29003   fi
29004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29005 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29006
29007   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29008     for ac_func in hypot
29009 do :
29010   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29011 if test "x$ac_cv_func_hypot" = x""yes; then :
29012   cat >>confdefs.h <<_ACEOF
29013 #define HAVE_HYPOT 1
29014 _ACEOF
29015
29016 fi
29017 done
29018
29019   else
29020
29021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29022 $as_echo_n "checking for _hypot declaration... " >&6; }
29023   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29024     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29025   $as_echo_n "(cached) " >&6
29026 else
29027
29028
29029       ac_ext=cpp
29030 ac_cpp='$CXXCPP $CPPFLAGS'
29031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29034
29035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h.  */
29037 #include <math.h>
29038 int
29039 main ()
29040 {
29041  _hypot(0, 0);
29042   ;
29043   return 0;
29044 }
29045 _ACEOF
29046 if ac_fn_cxx_try_compile "$LINENO"; then :
29047   glibcxx_cv_func__hypot_use=yes
29048 else
29049   glibcxx_cv_func__hypot_use=no
29050 fi
29051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29052       ac_ext=c
29053 ac_cpp='$CPP $CPPFLAGS'
29054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29057
29058
29059 fi
29060
29061   fi
29062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29063 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29064
29065     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29066       for ac_func in _hypot
29067 do :
29068   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29069 if test "x$ac_cv_func__hypot" = x""yes; then :
29070   cat >>confdefs.h <<_ACEOF
29071 #define HAVE__HYPOT 1
29072 _ACEOF
29073
29074 fi
29075 done
29076
29077     fi
29078   fi
29079
29080
29081
29082
29083
29084     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29085 $as_echo_n "checking for float trig functions... " >&6; }
29086   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29087   $as_echo_n "(cached) " >&6
29088 else
29089
29090
29091     ac_ext=cpp
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29096
29097     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29098 /* end confdefs.h.  */
29099 #include <math.h>
29100 int
29101 main ()
29102 {
29103 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29104   ;
29105   return 0;
29106 }
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109   glibcxx_cv_func_float_trig_use=yes
29110 else
29111   glibcxx_cv_func_float_trig_use=no
29112 fi
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114     ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29119
29120 fi
29121
29122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29123 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29124   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29125     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29126 do :
29127   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29129 eval as_val=\$$as_ac_var
29130    if test "x$as_val" = x""yes; then :
29131   cat >>confdefs.h <<_ACEOF
29132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 _ACEOF
29134
29135 fi
29136 done
29137
29138   else
29139     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29140 $as_echo_n "checking for _float trig functions... " >&6; }
29141     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29142   $as_echo_n "(cached) " >&6
29143 else
29144
29145
29146       ac_ext=cpp
29147 ac_cpp='$CXXCPP $CPPFLAGS'
29148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29151
29152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29153 /* end confdefs.h.  */
29154 #include <math.h>
29155 int
29156 main ()
29157 {
29158 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29159   ;
29160   return 0;
29161 }
29162 _ACEOF
29163 if ac_fn_cxx_try_compile "$LINENO"; then :
29164   glibcxx_cv_func__float_trig_use=yes
29165 else
29166   glibcxx_cv_func__float_trig_use=no
29167 fi
29168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29169       ac_ext=c
29170 ac_cpp='$CPP $CPPFLAGS'
29171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29174
29175 fi
29176
29177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29178 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29179     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29180       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29181 do :
29182   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29184 eval as_val=\$$as_ac_var
29185    if test "x$as_val" = x""yes; then :
29186   cat >>confdefs.h <<_ACEOF
29187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29188 _ACEOF
29189
29190 fi
29191 done
29192
29193     fi
29194   fi
29195
29196
29197
29198
29199
29200     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29201 $as_echo_n "checking for float round functions... " >&6; }
29202   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29203   $as_echo_n "(cached) " >&6
29204 else
29205
29206
29207     ac_ext=cpp
29208 ac_cpp='$CXXCPP $CPPFLAGS'
29209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29212
29213     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29214 /* end confdefs.h.  */
29215 #include <math.h>
29216 int
29217 main ()
29218 {
29219 ceilf (0); floorf (0);
29220   ;
29221   return 0;
29222 }
29223 _ACEOF
29224 if ac_fn_cxx_try_compile "$LINENO"; then :
29225   glibcxx_cv_func_float_round_use=yes
29226 else
29227   glibcxx_cv_func_float_round_use=no
29228 fi
29229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29230     ac_ext=c
29231 ac_cpp='$CPP $CPPFLAGS'
29232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29235
29236 fi
29237
29238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29239 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29240   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29241     for ac_func in ceilf floorf
29242 do :
29243   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29245 eval as_val=\$$as_ac_var
29246    if test "x$as_val" = x""yes; then :
29247   cat >>confdefs.h <<_ACEOF
29248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29249 _ACEOF
29250
29251 fi
29252 done
29253
29254   else
29255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29256 $as_echo_n "checking for _float round functions... " >&6; }
29257     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29258   $as_echo_n "(cached) " >&6
29259 else
29260
29261
29262       ac_ext=cpp
29263 ac_cpp='$CXXCPP $CPPFLAGS'
29264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29267
29268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29269 /* end confdefs.h.  */
29270 #include <math.h>
29271 int
29272 main ()
29273 {
29274 _ceilf (0); _floorf (0);
29275   ;
29276   return 0;
29277 }
29278 _ACEOF
29279 if ac_fn_cxx_try_compile "$LINENO"; then :
29280   glibcxx_cv_func__float_round_use=yes
29281 else
29282   glibcxx_cv_func__float_round_use=no
29283 fi
29284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285       ac_ext=c
29286 ac_cpp='$CPP $CPPFLAGS'
29287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29290
29291 fi
29292
29293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29294 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29295     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29296       for ac_func in _ceilf _floorf
29297 do :
29298   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29300 eval as_val=\$$as_ac_var
29301    if test "x$as_val" = x""yes; then :
29302   cat >>confdefs.h <<_ACEOF
29303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29304 _ACEOF
29305
29306 fi
29307 done
29308
29309     fi
29310   fi
29311
29312
29313
29314
29315
29316
29317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29318 $as_echo_n "checking for expf declaration... " >&6; }
29319   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29320     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29321   $as_echo_n "(cached) " >&6
29322 else
29323
29324
29325       ac_ext=cpp
29326 ac_cpp='$CXXCPP $CPPFLAGS'
29327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29330
29331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29332 /* end confdefs.h.  */
29333 #include <math.h>
29334                       #ifdef HAVE_IEEEFP_H
29335                       #include <ieeefp.h>
29336                       #endif
29337
29338 int
29339 main ()
29340 {
29341  expf(0);
29342   ;
29343   return 0;
29344 }
29345 _ACEOF
29346 if ac_fn_cxx_try_compile "$LINENO"; then :
29347   glibcxx_cv_func_expf_use=yes
29348 else
29349   glibcxx_cv_func_expf_use=no
29350 fi
29351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29352       ac_ext=c
29353 ac_cpp='$CPP $CPPFLAGS'
29354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29357
29358
29359 fi
29360
29361   fi
29362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29363 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29364
29365   if test x$glibcxx_cv_func_expf_use = x"yes"; then
29366     for ac_func in expf
29367 do :
29368   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29369 if test "x$ac_cv_func_expf" = x""yes; then :
29370   cat >>confdefs.h <<_ACEOF
29371 #define HAVE_EXPF 1
29372 _ACEOF
29373
29374 fi
29375 done
29376
29377   else
29378
29379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29380 $as_echo_n "checking for _expf declaration... " >&6; }
29381   if test x${glibcxx_cv_func__expf_use+set} != xset; then
29382     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29383   $as_echo_n "(cached) " >&6
29384 else
29385
29386
29387       ac_ext=cpp
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29392
29393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h.  */
29395 #include <math.h>
29396                       #ifdef HAVE_IEEEFP_H
29397                       #include <ieeefp.h>
29398                       #endif
29399
29400 int
29401 main ()
29402 {
29403  _expf(0);
29404   ;
29405   return 0;
29406 }
29407 _ACEOF
29408 if ac_fn_cxx_try_compile "$LINENO"; then :
29409   glibcxx_cv_func__expf_use=yes
29410 else
29411   glibcxx_cv_func__expf_use=no
29412 fi
29413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29414       ac_ext=c
29415 ac_cpp='$CPP $CPPFLAGS'
29416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29419
29420
29421 fi
29422
29423   fi
29424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29425 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29426
29427     if test x$glibcxx_cv_func__expf_use = x"yes"; then
29428       for ac_func in _expf
29429 do :
29430   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29431 if test "x$ac_cv_func__expf" = x""yes; then :
29432   cat >>confdefs.h <<_ACEOF
29433 #define HAVE__EXPF 1
29434 _ACEOF
29435
29436 fi
29437 done
29438
29439     fi
29440   fi
29441
29442
29443
29444
29445
29446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29447 $as_echo_n "checking for isnanf declaration... " >&6; }
29448   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29449     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29450   $as_echo_n "(cached) " >&6
29451 else
29452
29453
29454       ac_ext=cpp
29455 ac_cpp='$CXXCPP $CPPFLAGS'
29456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29459
29460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h.  */
29462 #include <math.h>
29463                       #ifdef HAVE_IEEEFP_H
29464                       #include <ieeefp.h>
29465                       #endif
29466
29467 int
29468 main ()
29469 {
29470  isnanf(0);
29471   ;
29472   return 0;
29473 }
29474 _ACEOF
29475 if ac_fn_cxx_try_compile "$LINENO"; then :
29476   glibcxx_cv_func_isnanf_use=yes
29477 else
29478   glibcxx_cv_func_isnanf_use=no
29479 fi
29480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29481       ac_ext=c
29482 ac_cpp='$CPP $CPPFLAGS'
29483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29486
29487
29488 fi
29489
29490   fi
29491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29492 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29493
29494   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29495     for ac_func in isnanf
29496 do :
29497   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29498 if test "x$ac_cv_func_isnanf" = x""yes; then :
29499   cat >>confdefs.h <<_ACEOF
29500 #define HAVE_ISNANF 1
29501 _ACEOF
29502
29503 fi
29504 done
29505
29506   else
29507
29508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29509 $as_echo_n "checking for _isnanf declaration... " >&6; }
29510   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29511     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29512   $as_echo_n "(cached) " >&6
29513 else
29514
29515
29516       ac_ext=cpp
29517 ac_cpp='$CXXCPP $CPPFLAGS'
29518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29521
29522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h.  */
29524 #include <math.h>
29525                       #ifdef HAVE_IEEEFP_H
29526                       #include <ieeefp.h>
29527                       #endif
29528
29529 int
29530 main ()
29531 {
29532  _isnanf(0);
29533   ;
29534   return 0;
29535 }
29536 _ACEOF
29537 if ac_fn_cxx_try_compile "$LINENO"; then :
29538   glibcxx_cv_func__isnanf_use=yes
29539 else
29540   glibcxx_cv_func__isnanf_use=no
29541 fi
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543       ac_ext=c
29544 ac_cpp='$CPP $CPPFLAGS'
29545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29548
29549
29550 fi
29551
29552   fi
29553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29554 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29555
29556     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29557       for ac_func in _isnanf
29558 do :
29559   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29560 if test "x$ac_cv_func__isnanf" = x""yes; then :
29561   cat >>confdefs.h <<_ACEOF
29562 #define HAVE__ISNANF 1
29563 _ACEOF
29564
29565 fi
29566 done
29567
29568     fi
29569   fi
29570
29571
29572
29573
29574
29575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29576 $as_echo_n "checking for isinff declaration... " >&6; }
29577   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29578     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29579   $as_echo_n "(cached) " >&6
29580 else
29581
29582
29583       ac_ext=cpp
29584 ac_cpp='$CXXCPP $CPPFLAGS'
29585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29588
29589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29590 /* end confdefs.h.  */
29591 #include <math.h>
29592                       #ifdef HAVE_IEEEFP_H
29593                       #include <ieeefp.h>
29594                       #endif
29595
29596 int
29597 main ()
29598 {
29599  isinff(0);
29600   ;
29601   return 0;
29602 }
29603 _ACEOF
29604 if ac_fn_cxx_try_compile "$LINENO"; then :
29605   glibcxx_cv_func_isinff_use=yes
29606 else
29607   glibcxx_cv_func_isinff_use=no
29608 fi
29609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29610       ac_ext=c
29611 ac_cpp='$CPP $CPPFLAGS'
29612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29615
29616
29617 fi
29618
29619   fi
29620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29621 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29622
29623   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29624     for ac_func in isinff
29625 do :
29626   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29627 if test "x$ac_cv_func_isinff" = x""yes; then :
29628   cat >>confdefs.h <<_ACEOF
29629 #define HAVE_ISINFF 1
29630 _ACEOF
29631
29632 fi
29633 done
29634
29635   else
29636
29637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29638 $as_echo_n "checking for _isinff declaration... " >&6; }
29639   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29640     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29641   $as_echo_n "(cached) " >&6
29642 else
29643
29644
29645       ac_ext=cpp
29646 ac_cpp='$CXXCPP $CPPFLAGS'
29647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29650
29651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h.  */
29653 #include <math.h>
29654                       #ifdef HAVE_IEEEFP_H
29655                       #include <ieeefp.h>
29656                       #endif
29657
29658 int
29659 main ()
29660 {
29661  _isinff(0);
29662   ;
29663   return 0;
29664 }
29665 _ACEOF
29666 if ac_fn_cxx_try_compile "$LINENO"; then :
29667   glibcxx_cv_func__isinff_use=yes
29668 else
29669   glibcxx_cv_func__isinff_use=no
29670 fi
29671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672       ac_ext=c
29673 ac_cpp='$CPP $CPPFLAGS'
29674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29677
29678
29679 fi
29680
29681   fi
29682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29683 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29684
29685     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29686       for ac_func in _isinff
29687 do :
29688   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29689 if test "x$ac_cv_func__isinff" = x""yes; then :
29690   cat >>confdefs.h <<_ACEOF
29691 #define HAVE__ISINFF 1
29692 _ACEOF
29693
29694 fi
29695 done
29696
29697     fi
29698   fi
29699
29700
29701
29702
29703
29704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29705 $as_echo_n "checking for atan2f declaration... " >&6; }
29706   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29707     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29708   $as_echo_n "(cached) " >&6
29709 else
29710
29711
29712       ac_ext=cpp
29713 ac_cpp='$CXXCPP $CPPFLAGS'
29714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29717
29718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29719 /* end confdefs.h.  */
29720 #include <math.h>
29721 int
29722 main ()
29723 {
29724  atan2f(0, 0);
29725   ;
29726   return 0;
29727 }
29728 _ACEOF
29729 if ac_fn_cxx_try_compile "$LINENO"; then :
29730   glibcxx_cv_func_atan2f_use=yes
29731 else
29732   glibcxx_cv_func_atan2f_use=no
29733 fi
29734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29735       ac_ext=c
29736 ac_cpp='$CPP $CPPFLAGS'
29737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29740
29741
29742 fi
29743
29744   fi
29745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29746 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29747
29748   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29749     for ac_func in atan2f
29750 do :
29751   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29752 if test "x$ac_cv_func_atan2f" = x""yes; then :
29753   cat >>confdefs.h <<_ACEOF
29754 #define HAVE_ATAN2F 1
29755 _ACEOF
29756
29757 fi
29758 done
29759
29760   else
29761
29762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29763 $as_echo_n "checking for _atan2f declaration... " >&6; }
29764   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29765     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29766   $as_echo_n "(cached) " >&6
29767 else
29768
29769
29770       ac_ext=cpp
29771 ac_cpp='$CXXCPP $CPPFLAGS'
29772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29775
29776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29777 /* end confdefs.h.  */
29778 #include <math.h>
29779 int
29780 main ()
29781 {
29782  _atan2f(0, 0);
29783   ;
29784   return 0;
29785 }
29786 _ACEOF
29787 if ac_fn_cxx_try_compile "$LINENO"; then :
29788   glibcxx_cv_func__atan2f_use=yes
29789 else
29790   glibcxx_cv_func__atan2f_use=no
29791 fi
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29793       ac_ext=c
29794 ac_cpp='$CPP $CPPFLAGS'
29795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29798
29799
29800 fi
29801
29802   fi
29803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29804 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29805
29806     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29807       for ac_func in _atan2f
29808 do :
29809   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29810 if test "x$ac_cv_func__atan2f" = x""yes; then :
29811   cat >>confdefs.h <<_ACEOF
29812 #define HAVE__ATAN2F 1
29813 _ACEOF
29814
29815 fi
29816 done
29817
29818     fi
29819   fi
29820
29821
29822
29823
29824
29825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29826 $as_echo_n "checking for fabsf declaration... " >&6; }
29827   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29828     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29829   $as_echo_n "(cached) " >&6
29830 else
29831
29832
29833       ac_ext=cpp
29834 ac_cpp='$CXXCPP $CPPFLAGS'
29835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29838
29839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29840 /* end confdefs.h.  */
29841 #include <math.h>
29842                       #ifdef HAVE_IEEEFP_H
29843                       #include <ieeefp.h>
29844                       #endif
29845
29846 int
29847 main ()
29848 {
29849  fabsf(0);
29850   ;
29851   return 0;
29852 }
29853 _ACEOF
29854 if ac_fn_cxx_try_compile "$LINENO"; then :
29855   glibcxx_cv_func_fabsf_use=yes
29856 else
29857   glibcxx_cv_func_fabsf_use=no
29858 fi
29859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860       ac_ext=c
29861 ac_cpp='$CPP $CPPFLAGS'
29862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29865
29866
29867 fi
29868
29869   fi
29870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29871 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29872
29873   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29874     for ac_func in fabsf
29875 do :
29876   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29877 if test "x$ac_cv_func_fabsf" = x""yes; then :
29878   cat >>confdefs.h <<_ACEOF
29879 #define HAVE_FABSF 1
29880 _ACEOF
29881
29882 fi
29883 done
29884
29885   else
29886
29887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29888 $as_echo_n "checking for _fabsf declaration... " >&6; }
29889   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29890     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29891   $as_echo_n "(cached) " >&6
29892 else
29893
29894
29895       ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29900
29901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h.  */
29903 #include <math.h>
29904                       #ifdef HAVE_IEEEFP_H
29905                       #include <ieeefp.h>
29906                       #endif
29907
29908 int
29909 main ()
29910 {
29911  _fabsf(0);
29912   ;
29913   return 0;
29914 }
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917   glibcxx_cv_func__fabsf_use=yes
29918 else
29919   glibcxx_cv_func__fabsf_use=no
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922       ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29927
29928
29929 fi
29930
29931   fi
29932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29933 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29934
29935     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29936       for ac_func in _fabsf
29937 do :
29938   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29939 if test "x$ac_cv_func__fabsf" = x""yes; then :
29940   cat >>confdefs.h <<_ACEOF
29941 #define HAVE__FABSF 1
29942 _ACEOF
29943
29944 fi
29945 done
29946
29947     fi
29948   fi
29949
29950
29951
29952
29953
29954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29955 $as_echo_n "checking for fmodf declaration... " >&6; }
29956   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29957     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29958   $as_echo_n "(cached) " >&6
29959 else
29960
29961
29962       ac_ext=cpp
29963 ac_cpp='$CXXCPP $CPPFLAGS'
29964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29967
29968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29969 /* end confdefs.h.  */
29970 #include <math.h>
29971 int
29972 main ()
29973 {
29974  fmodf(0, 0);
29975   ;
29976   return 0;
29977 }
29978 _ACEOF
29979 if ac_fn_cxx_try_compile "$LINENO"; then :
29980   glibcxx_cv_func_fmodf_use=yes
29981 else
29982   glibcxx_cv_func_fmodf_use=no
29983 fi
29984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29985       ac_ext=c
29986 ac_cpp='$CPP $CPPFLAGS'
29987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29990
29991
29992 fi
29993
29994   fi
29995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29996 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29997
29998   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29999     for ac_func in fmodf
30000 do :
30001   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30002 if test "x$ac_cv_func_fmodf" = x""yes; then :
30003   cat >>confdefs.h <<_ACEOF
30004 #define HAVE_FMODF 1
30005 _ACEOF
30006
30007 fi
30008 done
30009
30010   else
30011
30012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30013 $as_echo_n "checking for _fmodf declaration... " >&6; }
30014   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30015     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30016   $as_echo_n "(cached) " >&6
30017 else
30018
30019
30020       ac_ext=cpp
30021 ac_cpp='$CXXCPP $CPPFLAGS'
30022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30025
30026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30027 /* end confdefs.h.  */
30028 #include <math.h>
30029 int
30030 main ()
30031 {
30032  _fmodf(0, 0);
30033   ;
30034   return 0;
30035 }
30036 _ACEOF
30037 if ac_fn_cxx_try_compile "$LINENO"; then :
30038   glibcxx_cv_func__fmodf_use=yes
30039 else
30040   glibcxx_cv_func__fmodf_use=no
30041 fi
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30043       ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30048
30049
30050 fi
30051
30052   fi
30053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30054 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30055
30056     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30057       for ac_func in _fmodf
30058 do :
30059   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30060 if test "x$ac_cv_func__fmodf" = x""yes; then :
30061   cat >>confdefs.h <<_ACEOF
30062 #define HAVE__FMODF 1
30063 _ACEOF
30064
30065 fi
30066 done
30067
30068     fi
30069   fi
30070
30071
30072
30073
30074
30075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30076 $as_echo_n "checking for frexpf declaration... " >&6; }
30077   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30078     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30079   $as_echo_n "(cached) " >&6
30080 else
30081
30082
30083       ac_ext=cpp
30084 ac_cpp='$CXXCPP $CPPFLAGS'
30085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30088
30089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h.  */
30091 #include <math.h>
30092 int
30093 main ()
30094 {
30095  frexpf(0, 0);
30096   ;
30097   return 0;
30098 }
30099 _ACEOF
30100 if ac_fn_cxx_try_compile "$LINENO"; then :
30101   glibcxx_cv_func_frexpf_use=yes
30102 else
30103   glibcxx_cv_func_frexpf_use=no
30104 fi
30105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30106       ac_ext=c
30107 ac_cpp='$CPP $CPPFLAGS'
30108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30111
30112
30113 fi
30114
30115   fi
30116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30117 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30118
30119   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30120     for ac_func in frexpf
30121 do :
30122   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30123 if test "x$ac_cv_func_frexpf" = x""yes; then :
30124   cat >>confdefs.h <<_ACEOF
30125 #define HAVE_FREXPF 1
30126 _ACEOF
30127
30128 fi
30129 done
30130
30131   else
30132
30133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30134 $as_echo_n "checking for _frexpf declaration... " >&6; }
30135   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30136     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30137   $as_echo_n "(cached) " >&6
30138 else
30139
30140
30141       ac_ext=cpp
30142 ac_cpp='$CXXCPP $CPPFLAGS'
30143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30146
30147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30148 /* end confdefs.h.  */
30149 #include <math.h>
30150 int
30151 main ()
30152 {
30153  _frexpf(0, 0);
30154   ;
30155   return 0;
30156 }
30157 _ACEOF
30158 if ac_fn_cxx_try_compile "$LINENO"; then :
30159   glibcxx_cv_func__frexpf_use=yes
30160 else
30161   glibcxx_cv_func__frexpf_use=no
30162 fi
30163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30164       ac_ext=c
30165 ac_cpp='$CPP $CPPFLAGS'
30166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30169
30170
30171 fi
30172
30173   fi
30174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30175 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30176
30177     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30178       for ac_func in _frexpf
30179 do :
30180   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30181 if test "x$ac_cv_func__frexpf" = x""yes; then :
30182   cat >>confdefs.h <<_ACEOF
30183 #define HAVE__FREXPF 1
30184 _ACEOF
30185
30186 fi
30187 done
30188
30189     fi
30190   fi
30191
30192
30193
30194
30195
30196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30197 $as_echo_n "checking for hypotf declaration... " >&6; }
30198   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30199     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30200   $as_echo_n "(cached) " >&6
30201 else
30202
30203
30204       ac_ext=cpp
30205 ac_cpp='$CXXCPP $CPPFLAGS'
30206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30209
30210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30211 /* end confdefs.h.  */
30212 #include <math.h>
30213 int
30214 main ()
30215 {
30216  hypotf(0, 0);
30217   ;
30218   return 0;
30219 }
30220 _ACEOF
30221 if ac_fn_cxx_try_compile "$LINENO"; then :
30222   glibcxx_cv_func_hypotf_use=yes
30223 else
30224   glibcxx_cv_func_hypotf_use=no
30225 fi
30226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30227       ac_ext=c
30228 ac_cpp='$CPP $CPPFLAGS'
30229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30232
30233
30234 fi
30235
30236   fi
30237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30238 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30239
30240   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30241     for ac_func in hypotf
30242 do :
30243   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30244 if test "x$ac_cv_func_hypotf" = x""yes; then :
30245   cat >>confdefs.h <<_ACEOF
30246 #define HAVE_HYPOTF 1
30247 _ACEOF
30248
30249 fi
30250 done
30251
30252   else
30253
30254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30255 $as_echo_n "checking for _hypotf declaration... " >&6; }
30256   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30257     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30258   $as_echo_n "(cached) " >&6
30259 else
30260
30261
30262       ac_ext=cpp
30263 ac_cpp='$CXXCPP $CPPFLAGS'
30264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30267
30268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30269 /* end confdefs.h.  */
30270 #include <math.h>
30271 int
30272 main ()
30273 {
30274  _hypotf(0, 0);
30275   ;
30276   return 0;
30277 }
30278 _ACEOF
30279 if ac_fn_cxx_try_compile "$LINENO"; then :
30280   glibcxx_cv_func__hypotf_use=yes
30281 else
30282   glibcxx_cv_func__hypotf_use=no
30283 fi
30284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30285       ac_ext=c
30286 ac_cpp='$CPP $CPPFLAGS'
30287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30290
30291
30292 fi
30293
30294   fi
30295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30296 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30297
30298     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30299       for ac_func in _hypotf
30300 do :
30301   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30302 if test "x$ac_cv_func__hypotf" = x""yes; then :
30303   cat >>confdefs.h <<_ACEOF
30304 #define HAVE__HYPOTF 1
30305 _ACEOF
30306
30307 fi
30308 done
30309
30310     fi
30311   fi
30312
30313
30314
30315
30316
30317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30318 $as_echo_n "checking for ldexpf declaration... " >&6; }
30319   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30320     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30321   $as_echo_n "(cached) " >&6
30322 else
30323
30324
30325       ac_ext=cpp
30326 ac_cpp='$CXXCPP $CPPFLAGS'
30327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30330
30331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30332 /* end confdefs.h.  */
30333 #include <math.h>
30334 int
30335 main ()
30336 {
30337  ldexpf(0, 0);
30338   ;
30339   return 0;
30340 }
30341 _ACEOF
30342 if ac_fn_cxx_try_compile "$LINENO"; then :
30343   glibcxx_cv_func_ldexpf_use=yes
30344 else
30345   glibcxx_cv_func_ldexpf_use=no
30346 fi
30347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30348       ac_ext=c
30349 ac_cpp='$CPP $CPPFLAGS'
30350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30353
30354
30355 fi
30356
30357   fi
30358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30359 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30360
30361   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30362     for ac_func in ldexpf
30363 do :
30364   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30365 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30366   cat >>confdefs.h <<_ACEOF
30367 #define HAVE_LDEXPF 1
30368 _ACEOF
30369
30370 fi
30371 done
30372
30373   else
30374
30375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30376 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30377   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30378     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30379   $as_echo_n "(cached) " >&6
30380 else
30381
30382
30383       ac_ext=cpp
30384 ac_cpp='$CXXCPP $CPPFLAGS'
30385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30388
30389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30390 /* end confdefs.h.  */
30391 #include <math.h>
30392 int
30393 main ()
30394 {
30395  _ldexpf(0, 0);
30396   ;
30397   return 0;
30398 }
30399 _ACEOF
30400 if ac_fn_cxx_try_compile "$LINENO"; then :
30401   glibcxx_cv_func__ldexpf_use=yes
30402 else
30403   glibcxx_cv_func__ldexpf_use=no
30404 fi
30405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30406       ac_ext=c
30407 ac_cpp='$CPP $CPPFLAGS'
30408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30411
30412
30413 fi
30414
30415   fi
30416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30417 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30418
30419     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30420       for ac_func in _ldexpf
30421 do :
30422   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30423 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30424   cat >>confdefs.h <<_ACEOF
30425 #define HAVE__LDEXPF 1
30426 _ACEOF
30427
30428 fi
30429 done
30430
30431     fi
30432   fi
30433
30434
30435
30436
30437
30438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30439 $as_echo_n "checking for logf declaration... " >&6; }
30440   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30441     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30442   $as_echo_n "(cached) " >&6
30443 else
30444
30445
30446       ac_ext=cpp
30447 ac_cpp='$CXXCPP $CPPFLAGS'
30448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30451
30452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h.  */
30454 #include <math.h>
30455                       #ifdef HAVE_IEEEFP_H
30456                       #include <ieeefp.h>
30457                       #endif
30458
30459 int
30460 main ()
30461 {
30462  logf(0);
30463   ;
30464   return 0;
30465 }
30466 _ACEOF
30467 if ac_fn_cxx_try_compile "$LINENO"; then :
30468   glibcxx_cv_func_logf_use=yes
30469 else
30470   glibcxx_cv_func_logf_use=no
30471 fi
30472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30473       ac_ext=c
30474 ac_cpp='$CPP $CPPFLAGS'
30475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30478
30479
30480 fi
30481
30482   fi
30483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30484 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30485
30486   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30487     for ac_func in logf
30488 do :
30489   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30490 if test "x$ac_cv_func_logf" = x""yes; then :
30491   cat >>confdefs.h <<_ACEOF
30492 #define HAVE_LOGF 1
30493 _ACEOF
30494
30495 fi
30496 done
30497
30498   else
30499
30500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30501 $as_echo_n "checking for _logf declaration... " >&6; }
30502   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30503     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30504   $as_echo_n "(cached) " >&6
30505 else
30506
30507
30508       ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30513
30514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h.  */
30516 #include <math.h>
30517                       #ifdef HAVE_IEEEFP_H
30518                       #include <ieeefp.h>
30519                       #endif
30520
30521 int
30522 main ()
30523 {
30524  _logf(0);
30525   ;
30526   return 0;
30527 }
30528 _ACEOF
30529 if ac_fn_cxx_try_compile "$LINENO"; then :
30530   glibcxx_cv_func__logf_use=yes
30531 else
30532   glibcxx_cv_func__logf_use=no
30533 fi
30534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30535       ac_ext=c
30536 ac_cpp='$CPP $CPPFLAGS'
30537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30540
30541
30542 fi
30543
30544   fi
30545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30546 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30547
30548     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30549       for ac_func in _logf
30550 do :
30551   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30552 if test "x$ac_cv_func__logf" = x""yes; then :
30553   cat >>confdefs.h <<_ACEOF
30554 #define HAVE__LOGF 1
30555 _ACEOF
30556
30557 fi
30558 done
30559
30560     fi
30561   fi
30562
30563
30564
30565
30566
30567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30568 $as_echo_n "checking for log10f declaration... " >&6; }
30569   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30570     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30571   $as_echo_n "(cached) " >&6
30572 else
30573
30574
30575       ac_ext=cpp
30576 ac_cpp='$CXXCPP $CPPFLAGS'
30577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30580
30581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30582 /* end confdefs.h.  */
30583 #include <math.h>
30584                       #ifdef HAVE_IEEEFP_H
30585                       #include <ieeefp.h>
30586                       #endif
30587
30588 int
30589 main ()
30590 {
30591  log10f(0);
30592   ;
30593   return 0;
30594 }
30595 _ACEOF
30596 if ac_fn_cxx_try_compile "$LINENO"; then :
30597   glibcxx_cv_func_log10f_use=yes
30598 else
30599   glibcxx_cv_func_log10f_use=no
30600 fi
30601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30602       ac_ext=c
30603 ac_cpp='$CPP $CPPFLAGS'
30604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30607
30608
30609 fi
30610
30611   fi
30612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30613 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30614
30615   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30616     for ac_func in log10f
30617 do :
30618   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30619 if test "x$ac_cv_func_log10f" = x""yes; then :
30620   cat >>confdefs.h <<_ACEOF
30621 #define HAVE_LOG10F 1
30622 _ACEOF
30623
30624 fi
30625 done
30626
30627   else
30628
30629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30630 $as_echo_n "checking for _log10f declaration... " >&6; }
30631   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30632     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30633   $as_echo_n "(cached) " >&6
30634 else
30635
30636
30637       ac_ext=cpp
30638 ac_cpp='$CXXCPP $CPPFLAGS'
30639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30642
30643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30644 /* end confdefs.h.  */
30645 #include <math.h>
30646                       #ifdef HAVE_IEEEFP_H
30647                       #include <ieeefp.h>
30648                       #endif
30649
30650 int
30651 main ()
30652 {
30653  _log10f(0);
30654   ;
30655   return 0;
30656 }
30657 _ACEOF
30658 if ac_fn_cxx_try_compile "$LINENO"; then :
30659   glibcxx_cv_func__log10f_use=yes
30660 else
30661   glibcxx_cv_func__log10f_use=no
30662 fi
30663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664       ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30669
30670
30671 fi
30672
30673   fi
30674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30675 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30676
30677     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30678       for ac_func in _log10f
30679 do :
30680   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30681 if test "x$ac_cv_func__log10f" = x""yes; then :
30682   cat >>confdefs.h <<_ACEOF
30683 #define HAVE__LOG10F 1
30684 _ACEOF
30685
30686 fi
30687 done
30688
30689     fi
30690   fi
30691
30692
30693
30694
30695
30696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30697 $as_echo_n "checking for modff declaration... " >&6; }
30698   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30699     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30700   $as_echo_n "(cached) " >&6
30701 else
30702
30703
30704       ac_ext=cpp
30705 ac_cpp='$CXXCPP $CPPFLAGS'
30706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30709
30710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30711 /* end confdefs.h.  */
30712 #include <math.h>
30713 int
30714 main ()
30715 {
30716  modff(0, 0);
30717   ;
30718   return 0;
30719 }
30720 _ACEOF
30721 if ac_fn_cxx_try_compile "$LINENO"; then :
30722   glibcxx_cv_func_modff_use=yes
30723 else
30724   glibcxx_cv_func_modff_use=no
30725 fi
30726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30727       ac_ext=c
30728 ac_cpp='$CPP $CPPFLAGS'
30729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30732
30733
30734 fi
30735
30736   fi
30737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30738 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30739
30740   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30741     for ac_func in modff
30742 do :
30743   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30744 if test "x$ac_cv_func_modff" = x""yes; then :
30745   cat >>confdefs.h <<_ACEOF
30746 #define HAVE_MODFF 1
30747 _ACEOF
30748
30749 fi
30750 done
30751
30752   else
30753
30754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30755 $as_echo_n "checking for _modff declaration... " >&6; }
30756   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30757     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30758   $as_echo_n "(cached) " >&6
30759 else
30760
30761
30762       ac_ext=cpp
30763 ac_cpp='$CXXCPP $CPPFLAGS'
30764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30767
30768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30769 /* end confdefs.h.  */
30770 #include <math.h>
30771 int
30772 main ()
30773 {
30774  _modff(0, 0);
30775   ;
30776   return 0;
30777 }
30778 _ACEOF
30779 if ac_fn_cxx_try_compile "$LINENO"; then :
30780   glibcxx_cv_func__modff_use=yes
30781 else
30782   glibcxx_cv_func__modff_use=no
30783 fi
30784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30785       ac_ext=c
30786 ac_cpp='$CPP $CPPFLAGS'
30787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30790
30791
30792 fi
30793
30794   fi
30795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30796 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30797
30798     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30799       for ac_func in _modff
30800 do :
30801   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30802 if test "x$ac_cv_func__modff" = x""yes; then :
30803   cat >>confdefs.h <<_ACEOF
30804 #define HAVE__MODFF 1
30805 _ACEOF
30806
30807 fi
30808 done
30809
30810     fi
30811   fi
30812
30813
30814
30815
30816
30817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30818 $as_echo_n "checking for modf declaration... " >&6; }
30819   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30820     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30821   $as_echo_n "(cached) " >&6
30822 else
30823
30824
30825       ac_ext=cpp
30826 ac_cpp='$CXXCPP $CPPFLAGS'
30827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30830
30831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30832 /* end confdefs.h.  */
30833 #include <math.h>
30834 int
30835 main ()
30836 {
30837  modf(0, 0);
30838   ;
30839   return 0;
30840 }
30841 _ACEOF
30842 if ac_fn_cxx_try_compile "$LINENO"; then :
30843   glibcxx_cv_func_modf_use=yes
30844 else
30845   glibcxx_cv_func_modf_use=no
30846 fi
30847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30848       ac_ext=c
30849 ac_cpp='$CPP $CPPFLAGS'
30850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30853
30854
30855 fi
30856
30857   fi
30858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30859 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30860
30861   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30862     for ac_func in modf
30863 do :
30864   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30865 if test "x$ac_cv_func_modf" = x""yes; then :
30866   cat >>confdefs.h <<_ACEOF
30867 #define HAVE_MODF 1
30868 _ACEOF
30869
30870 fi
30871 done
30872
30873   else
30874
30875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30876 $as_echo_n "checking for _modf declaration... " >&6; }
30877   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30878     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30879   $as_echo_n "(cached) " >&6
30880 else
30881
30882
30883       ac_ext=cpp
30884 ac_cpp='$CXXCPP $CPPFLAGS'
30885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30888
30889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30890 /* end confdefs.h.  */
30891 #include <math.h>
30892 int
30893 main ()
30894 {
30895  _modf(0, 0);
30896   ;
30897   return 0;
30898 }
30899 _ACEOF
30900 if ac_fn_cxx_try_compile "$LINENO"; then :
30901   glibcxx_cv_func__modf_use=yes
30902 else
30903   glibcxx_cv_func__modf_use=no
30904 fi
30905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30906       ac_ext=c
30907 ac_cpp='$CPP $CPPFLAGS'
30908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30911
30912
30913 fi
30914
30915   fi
30916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30917 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30918
30919     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30920       for ac_func in _modf
30921 do :
30922   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30923 if test "x$ac_cv_func__modf" = x""yes; then :
30924   cat >>confdefs.h <<_ACEOF
30925 #define HAVE__MODF 1
30926 _ACEOF
30927
30928 fi
30929 done
30930
30931     fi
30932   fi
30933
30934
30935
30936
30937
30938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30939 $as_echo_n "checking for powf declaration... " >&6; }
30940   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30941     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30942   $as_echo_n "(cached) " >&6
30943 else
30944
30945
30946       ac_ext=cpp
30947 ac_cpp='$CXXCPP $CPPFLAGS'
30948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30951
30952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30953 /* end confdefs.h.  */
30954 #include <math.h>
30955 int
30956 main ()
30957 {
30958  powf(0, 0);
30959   ;
30960   return 0;
30961 }
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964   glibcxx_cv_func_powf_use=yes
30965 else
30966   glibcxx_cv_func_powf_use=no
30967 fi
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969       ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30974
30975
30976 fi
30977
30978   fi
30979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30980 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30981
30982   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30983     for ac_func in powf
30984 do :
30985   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30986 if test "x$ac_cv_func_powf" = x""yes; then :
30987   cat >>confdefs.h <<_ACEOF
30988 #define HAVE_POWF 1
30989 _ACEOF
30990
30991 fi
30992 done
30993
30994   else
30995
30996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30997 $as_echo_n "checking for _powf declaration... " >&6; }
30998   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30999     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31000   $as_echo_n "(cached) " >&6
31001 else
31002
31003
31004       ac_ext=cpp
31005 ac_cpp='$CXXCPP $CPPFLAGS'
31006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31009
31010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31011 /* end confdefs.h.  */
31012 #include <math.h>
31013 int
31014 main ()
31015 {
31016  _powf(0, 0);
31017   ;
31018   return 0;
31019 }
31020 _ACEOF
31021 if ac_fn_cxx_try_compile "$LINENO"; then :
31022   glibcxx_cv_func__powf_use=yes
31023 else
31024   glibcxx_cv_func__powf_use=no
31025 fi
31026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31027       ac_ext=c
31028 ac_cpp='$CPP $CPPFLAGS'
31029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31032
31033
31034 fi
31035
31036   fi
31037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31038 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31039
31040     if test x$glibcxx_cv_func__powf_use = x"yes"; then
31041       for ac_func in _powf
31042 do :
31043   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31044 if test "x$ac_cv_func__powf" = x""yes; then :
31045   cat >>confdefs.h <<_ACEOF
31046 #define HAVE__POWF 1
31047 _ACEOF
31048
31049 fi
31050 done
31051
31052     fi
31053   fi
31054
31055
31056
31057
31058
31059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31060 $as_echo_n "checking for sqrtf declaration... " >&6; }
31061   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31062     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31063   $as_echo_n "(cached) " >&6
31064 else
31065
31066
31067       ac_ext=cpp
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31072
31073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h.  */
31075 #include <math.h>
31076                       #ifdef HAVE_IEEEFP_H
31077                       #include <ieeefp.h>
31078                       #endif
31079
31080 int
31081 main ()
31082 {
31083  sqrtf(0);
31084   ;
31085   return 0;
31086 }
31087 _ACEOF
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089   glibcxx_cv_func_sqrtf_use=yes
31090 else
31091   glibcxx_cv_func_sqrtf_use=no
31092 fi
31093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31094       ac_ext=c
31095 ac_cpp='$CPP $CPPFLAGS'
31096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31099
31100
31101 fi
31102
31103   fi
31104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31105 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31106
31107   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31108     for ac_func in sqrtf
31109 do :
31110   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31111 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31112   cat >>confdefs.h <<_ACEOF
31113 #define HAVE_SQRTF 1
31114 _ACEOF
31115
31116 fi
31117 done
31118
31119   else
31120
31121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31122 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31123   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31124     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31125   $as_echo_n "(cached) " >&6
31126 else
31127
31128
31129       ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31134
31135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h.  */
31137 #include <math.h>
31138                       #ifdef HAVE_IEEEFP_H
31139                       #include <ieeefp.h>
31140                       #endif
31141
31142 int
31143 main ()
31144 {
31145  _sqrtf(0);
31146   ;
31147   return 0;
31148 }
31149 _ACEOF
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151   glibcxx_cv_func__sqrtf_use=yes
31152 else
31153   glibcxx_cv_func__sqrtf_use=no
31154 fi
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156       ac_ext=c
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31161
31162
31163 fi
31164
31165   fi
31166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31167 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31168
31169     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31170       for ac_func in _sqrtf
31171 do :
31172   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31173 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31174   cat >>confdefs.h <<_ACEOF
31175 #define HAVE__SQRTF 1
31176 _ACEOF
31177
31178 fi
31179 done
31180
31181     fi
31182   fi
31183
31184
31185
31186
31187
31188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31189 $as_echo_n "checking for sincosf declaration... " >&6; }
31190   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31191     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31192   $as_echo_n "(cached) " >&6
31193 else
31194
31195
31196       ac_ext=cpp
31197 ac_cpp='$CXXCPP $CPPFLAGS'
31198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31201
31202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31203 /* end confdefs.h.  */
31204 #include <math.h>
31205 int
31206 main ()
31207 {
31208  sincosf(0, 0, 0);
31209   ;
31210   return 0;
31211 }
31212 _ACEOF
31213 if ac_fn_cxx_try_compile "$LINENO"; then :
31214   glibcxx_cv_func_sincosf_use=yes
31215 else
31216   glibcxx_cv_func_sincosf_use=no
31217 fi
31218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219       ac_ext=c
31220 ac_cpp='$CPP $CPPFLAGS'
31221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31224
31225
31226 fi
31227
31228   fi
31229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31230 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31231
31232   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31233     for ac_func in sincosf
31234 do :
31235   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31236 if test "x$ac_cv_func_sincosf" = x""yes; then :
31237   cat >>confdefs.h <<_ACEOF
31238 #define HAVE_SINCOSF 1
31239 _ACEOF
31240
31241 fi
31242 done
31243
31244   else
31245
31246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31247 $as_echo_n "checking for _sincosf declaration... " >&6; }
31248   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31249     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31250   $as_echo_n "(cached) " >&6
31251 else
31252
31253
31254       ac_ext=cpp
31255 ac_cpp='$CXXCPP $CPPFLAGS'
31256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31259
31260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31261 /* end confdefs.h.  */
31262 #include <math.h>
31263 int
31264 main ()
31265 {
31266  _sincosf(0, 0, 0);
31267   ;
31268   return 0;
31269 }
31270 _ACEOF
31271 if ac_fn_cxx_try_compile "$LINENO"; then :
31272   glibcxx_cv_func__sincosf_use=yes
31273 else
31274   glibcxx_cv_func__sincosf_use=no
31275 fi
31276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31277       ac_ext=c
31278 ac_cpp='$CPP $CPPFLAGS'
31279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31282
31283
31284 fi
31285
31286   fi
31287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31288 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31289
31290     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31291       for ac_func in _sincosf
31292 do :
31293   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31294 if test "x$ac_cv_func__sincosf" = x""yes; then :
31295   cat >>confdefs.h <<_ACEOF
31296 #define HAVE__SINCOSF 1
31297 _ACEOF
31298
31299 fi
31300 done
31301
31302     fi
31303   fi
31304
31305
31306
31307
31308
31309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31310 $as_echo_n "checking for finitef declaration... " >&6; }
31311   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31312     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31313   $as_echo_n "(cached) " >&6
31314 else
31315
31316
31317       ac_ext=cpp
31318 ac_cpp='$CXXCPP $CPPFLAGS'
31319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31322
31323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31324 /* end confdefs.h.  */
31325 #include <math.h>
31326                       #ifdef HAVE_IEEEFP_H
31327                       #include <ieeefp.h>
31328                       #endif
31329
31330 int
31331 main ()
31332 {
31333  finitef(0);
31334   ;
31335   return 0;
31336 }
31337 _ACEOF
31338 if ac_fn_cxx_try_compile "$LINENO"; then :
31339   glibcxx_cv_func_finitef_use=yes
31340 else
31341   glibcxx_cv_func_finitef_use=no
31342 fi
31343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31344       ac_ext=c
31345 ac_cpp='$CPP $CPPFLAGS'
31346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31349
31350
31351 fi
31352
31353   fi
31354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31355 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31356
31357   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31358     for ac_func in finitef
31359 do :
31360   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31361 if test "x$ac_cv_func_finitef" = x""yes; then :
31362   cat >>confdefs.h <<_ACEOF
31363 #define HAVE_FINITEF 1
31364 _ACEOF
31365
31366 fi
31367 done
31368
31369   else
31370
31371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31372 $as_echo_n "checking for _finitef declaration... " >&6; }
31373   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31374     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31375   $as_echo_n "(cached) " >&6
31376 else
31377
31378
31379       ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31384
31385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h.  */
31387 #include <math.h>
31388                       #ifdef HAVE_IEEEFP_H
31389                       #include <ieeefp.h>
31390                       #endif
31391
31392 int
31393 main ()
31394 {
31395  _finitef(0);
31396   ;
31397   return 0;
31398 }
31399 _ACEOF
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401   glibcxx_cv_func__finitef_use=yes
31402 else
31403   glibcxx_cv_func__finitef_use=no
31404 fi
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31406       ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31411
31412
31413 fi
31414
31415   fi
31416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31417 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31418
31419     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31420       for ac_func in _finitef
31421 do :
31422   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31423 if test "x$ac_cv_func__finitef" = x""yes; then :
31424   cat >>confdefs.h <<_ACEOF
31425 #define HAVE__FINITEF 1
31426 _ACEOF
31427
31428 fi
31429 done
31430
31431     fi
31432   fi
31433
31434
31435
31436
31437
31438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31439 $as_echo_n "checking for long double trig functions... " >&6; }
31440   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31441   $as_echo_n "(cached) " >&6
31442 else
31443
31444
31445     ac_ext=cpp
31446 ac_cpp='$CXXCPP $CPPFLAGS'
31447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450
31451     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31452 /* end confdefs.h.  */
31453 #include <math.h>
31454 int
31455 main ()
31456 {
31457 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31458   ;
31459   return 0;
31460 }
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463   glibcxx_cv_func_long_double_trig_use=yes
31464 else
31465   glibcxx_cv_func_long_double_trig_use=no
31466 fi
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468     ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31473
31474 fi
31475
31476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31477 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31478   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31479     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31480 do :
31481   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31483 eval as_val=\$$as_ac_var
31484    if test "x$as_val" = x""yes; then :
31485   cat >>confdefs.h <<_ACEOF
31486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31487 _ACEOF
31488
31489 fi
31490 done
31491
31492   else
31493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31494 $as_echo_n "checking for _long double trig functions... " >&6; }
31495     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31496   $as_echo_n "(cached) " >&6
31497 else
31498
31499
31500       ac_ext=cpp
31501 ac_cpp='$CXXCPP $CPPFLAGS'
31502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31505
31506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31507 /* end confdefs.h.  */
31508 #include <math.h>
31509 int
31510 main ()
31511 {
31512 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31513   ;
31514   return 0;
31515 }
31516 _ACEOF
31517 if ac_fn_cxx_try_compile "$LINENO"; then :
31518   glibcxx_cv_func__long_double_trig_use=yes
31519 else
31520   glibcxx_cv_func__long_double_trig_use=no
31521 fi
31522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31523       ac_ext=c
31524 ac_cpp='$CPP $CPPFLAGS'
31525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31528
31529 fi
31530
31531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31532 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31533     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31534       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31535 do :
31536   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31538 eval as_val=\$$as_ac_var
31539    if test "x$as_val" = x""yes; then :
31540   cat >>confdefs.h <<_ACEOF
31541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31542 _ACEOF
31543
31544 fi
31545 done
31546
31547     fi
31548   fi
31549
31550
31551
31552
31553
31554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31555 $as_echo_n "checking for long double round functions... " >&6; }
31556   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31557   $as_echo_n "(cached) " >&6
31558 else
31559
31560
31561     ac_ext=cpp
31562 ac_cpp='$CXXCPP $CPPFLAGS'
31563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31566
31567     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31568 /* end confdefs.h.  */
31569 #include <math.h>
31570 int
31571 main ()
31572 {
31573 ceill (0); floorl (0);
31574   ;
31575   return 0;
31576 }
31577 _ACEOF
31578 if ac_fn_cxx_try_compile "$LINENO"; then :
31579   glibcxx_cv_func_long_double_round_use=yes
31580 else
31581   glibcxx_cv_func_long_double_round_use=no
31582 fi
31583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31584     ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31589
31590 fi
31591
31592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31593 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31594   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31595     for ac_func in ceill floorl
31596 do :
31597   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31599 eval as_val=\$$as_ac_var
31600    if test "x$as_val" = x""yes; then :
31601   cat >>confdefs.h <<_ACEOF
31602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31603 _ACEOF
31604
31605 fi
31606 done
31607
31608   else
31609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31610 $as_echo_n "checking for _long double round functions... " >&6; }
31611     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31612   $as_echo_n "(cached) " >&6
31613 else
31614
31615
31616       ac_ext=cpp
31617 ac_cpp='$CXXCPP $CPPFLAGS'
31618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31621
31622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31623 /* end confdefs.h.  */
31624 #include <math.h>
31625 int
31626 main ()
31627 {
31628 _ceill (0); _floorl (0);
31629   ;
31630   return 0;
31631 }
31632 _ACEOF
31633 if ac_fn_cxx_try_compile "$LINENO"; then :
31634   glibcxx_cv_func__long_double_round_use=yes
31635 else
31636   glibcxx_cv_func__long_double_round_use=no
31637 fi
31638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31639       ac_ext=c
31640 ac_cpp='$CPP $CPPFLAGS'
31641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31644
31645 fi
31646
31647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31648 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31649     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31650       for ac_func in _ceill _floorl
31651 do :
31652   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31654 eval as_val=\$$as_ac_var
31655    if test "x$as_val" = x""yes; then :
31656   cat >>confdefs.h <<_ACEOF
31657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31658 _ACEOF
31659
31660 fi
31661 done
31662
31663     fi
31664   fi
31665
31666
31667
31668
31669
31670
31671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31672 $as_echo_n "checking for isnanl declaration... " >&6; }
31673   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31674     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31675   $as_echo_n "(cached) " >&6
31676 else
31677
31678
31679       ac_ext=cpp
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31684
31685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31686 /* end confdefs.h.  */
31687 #include <math.h>
31688                       #ifdef HAVE_IEEEFP_H
31689                       #include <ieeefp.h>
31690                       #endif
31691
31692 int
31693 main ()
31694 {
31695  isnanl(0);
31696   ;
31697   return 0;
31698 }
31699 _ACEOF
31700 if ac_fn_cxx_try_compile "$LINENO"; then :
31701   glibcxx_cv_func_isnanl_use=yes
31702 else
31703   glibcxx_cv_func_isnanl_use=no
31704 fi
31705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31706       ac_ext=c
31707 ac_cpp='$CPP $CPPFLAGS'
31708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31711
31712
31713 fi
31714
31715   fi
31716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31717 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31718
31719   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31720     for ac_func in isnanl
31721 do :
31722   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31723 if test "x$ac_cv_func_isnanl" = x""yes; then :
31724   cat >>confdefs.h <<_ACEOF
31725 #define HAVE_ISNANL 1
31726 _ACEOF
31727
31728 fi
31729 done
31730
31731   else
31732
31733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31734 $as_echo_n "checking for _isnanl declaration... " >&6; }
31735   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31736     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31737   $as_echo_n "(cached) " >&6
31738 else
31739
31740
31741       ac_ext=cpp
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31746
31747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h.  */
31749 #include <math.h>
31750                       #ifdef HAVE_IEEEFP_H
31751                       #include <ieeefp.h>
31752                       #endif
31753
31754 int
31755 main ()
31756 {
31757  _isnanl(0);
31758   ;
31759   return 0;
31760 }
31761 _ACEOF
31762 if ac_fn_cxx_try_compile "$LINENO"; then :
31763   glibcxx_cv_func__isnanl_use=yes
31764 else
31765   glibcxx_cv_func__isnanl_use=no
31766 fi
31767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31768       ac_ext=c
31769 ac_cpp='$CPP $CPPFLAGS'
31770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31773
31774
31775 fi
31776
31777   fi
31778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31779 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31780
31781     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31782       for ac_func in _isnanl
31783 do :
31784   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31785 if test "x$ac_cv_func__isnanl" = x""yes; then :
31786   cat >>confdefs.h <<_ACEOF
31787 #define HAVE__ISNANL 1
31788 _ACEOF
31789
31790 fi
31791 done
31792
31793     fi
31794   fi
31795
31796
31797
31798
31799
31800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31801 $as_echo_n "checking for isinfl declaration... " >&6; }
31802   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31803     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31804   $as_echo_n "(cached) " >&6
31805 else
31806
31807
31808       ac_ext=cpp
31809 ac_cpp='$CXXCPP $CPPFLAGS'
31810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31813
31814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31815 /* end confdefs.h.  */
31816 #include <math.h>
31817                       #ifdef HAVE_IEEEFP_H
31818                       #include <ieeefp.h>
31819                       #endif
31820
31821 int
31822 main ()
31823 {
31824  isinfl(0);
31825   ;
31826   return 0;
31827 }
31828 _ACEOF
31829 if ac_fn_cxx_try_compile "$LINENO"; then :
31830   glibcxx_cv_func_isinfl_use=yes
31831 else
31832   glibcxx_cv_func_isinfl_use=no
31833 fi
31834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31835       ac_ext=c
31836 ac_cpp='$CPP $CPPFLAGS'
31837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31840
31841
31842 fi
31843
31844   fi
31845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31846 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31847
31848   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31849     for ac_func in isinfl
31850 do :
31851   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31852 if test "x$ac_cv_func_isinfl" = x""yes; then :
31853   cat >>confdefs.h <<_ACEOF
31854 #define HAVE_ISINFL 1
31855 _ACEOF
31856
31857 fi
31858 done
31859
31860   else
31861
31862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31863 $as_echo_n "checking for _isinfl declaration... " >&6; }
31864   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31865     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31866   $as_echo_n "(cached) " >&6
31867 else
31868
31869
31870       ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31875
31876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h.  */
31878 #include <math.h>
31879                       #ifdef HAVE_IEEEFP_H
31880                       #include <ieeefp.h>
31881                       #endif
31882
31883 int
31884 main ()
31885 {
31886  _isinfl(0);
31887   ;
31888   return 0;
31889 }
31890 _ACEOF
31891 if ac_fn_cxx_try_compile "$LINENO"; then :
31892   glibcxx_cv_func__isinfl_use=yes
31893 else
31894   glibcxx_cv_func__isinfl_use=no
31895 fi
31896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31897       ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31902
31903
31904 fi
31905
31906   fi
31907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31908 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31909
31910     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31911       for ac_func in _isinfl
31912 do :
31913   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31914 if test "x$ac_cv_func__isinfl" = x""yes; then :
31915   cat >>confdefs.h <<_ACEOF
31916 #define HAVE__ISINFL 1
31917 _ACEOF
31918
31919 fi
31920 done
31921
31922     fi
31923   fi
31924
31925
31926
31927
31928
31929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31930 $as_echo_n "checking for atan2l declaration... " >&6; }
31931   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31932     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31933   $as_echo_n "(cached) " >&6
31934 else
31935
31936
31937       ac_ext=cpp
31938 ac_cpp='$CXXCPP $CPPFLAGS'
31939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31942
31943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31944 /* end confdefs.h.  */
31945 #include <math.h>
31946 int
31947 main ()
31948 {
31949  atan2l(0, 0);
31950   ;
31951   return 0;
31952 }
31953 _ACEOF
31954 if ac_fn_cxx_try_compile "$LINENO"; then :
31955   glibcxx_cv_func_atan2l_use=yes
31956 else
31957   glibcxx_cv_func_atan2l_use=no
31958 fi
31959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31960       ac_ext=c
31961 ac_cpp='$CPP $CPPFLAGS'
31962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31965
31966
31967 fi
31968
31969   fi
31970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31971 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31972
31973   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31974     for ac_func in atan2l
31975 do :
31976   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31977 if test "x$ac_cv_func_atan2l" = x""yes; then :
31978   cat >>confdefs.h <<_ACEOF
31979 #define HAVE_ATAN2L 1
31980 _ACEOF
31981
31982 fi
31983 done
31984
31985   else
31986
31987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31988 $as_echo_n "checking for _atan2l declaration... " >&6; }
31989   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31990     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31991   $as_echo_n "(cached) " >&6
31992 else
31993
31994
31995       ac_ext=cpp
31996 ac_cpp='$CXXCPP $CPPFLAGS'
31997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32000
32001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32002 /* end confdefs.h.  */
32003 #include <math.h>
32004 int
32005 main ()
32006 {
32007  _atan2l(0, 0);
32008   ;
32009   return 0;
32010 }
32011 _ACEOF
32012 if ac_fn_cxx_try_compile "$LINENO"; then :
32013   glibcxx_cv_func__atan2l_use=yes
32014 else
32015   glibcxx_cv_func__atan2l_use=no
32016 fi
32017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32018       ac_ext=c
32019 ac_cpp='$CPP $CPPFLAGS'
32020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32023
32024
32025 fi
32026
32027   fi
32028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32029 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32030
32031     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32032       for ac_func in _atan2l
32033 do :
32034   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32035 if test "x$ac_cv_func__atan2l" = x""yes; then :
32036   cat >>confdefs.h <<_ACEOF
32037 #define HAVE__ATAN2L 1
32038 _ACEOF
32039
32040 fi
32041 done
32042
32043     fi
32044   fi
32045
32046
32047
32048
32049
32050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32051 $as_echo_n "checking for expl declaration... " >&6; }
32052   if test x${glibcxx_cv_func_expl_use+set} != xset; then
32053     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32054   $as_echo_n "(cached) " >&6
32055 else
32056
32057
32058       ac_ext=cpp
32059 ac_cpp='$CXXCPP $CPPFLAGS'
32060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32063
32064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32065 /* end confdefs.h.  */
32066 #include <math.h>
32067                       #ifdef HAVE_IEEEFP_H
32068                       #include <ieeefp.h>
32069                       #endif
32070
32071 int
32072 main ()
32073 {
32074  expl(0);
32075   ;
32076   return 0;
32077 }
32078 _ACEOF
32079 if ac_fn_cxx_try_compile "$LINENO"; then :
32080   glibcxx_cv_func_expl_use=yes
32081 else
32082   glibcxx_cv_func_expl_use=no
32083 fi
32084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32085       ac_ext=c
32086 ac_cpp='$CPP $CPPFLAGS'
32087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32090
32091
32092 fi
32093
32094   fi
32095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32096 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32097
32098   if test x$glibcxx_cv_func_expl_use = x"yes"; then
32099     for ac_func in expl
32100 do :
32101   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32102 if test "x$ac_cv_func_expl" = x""yes; then :
32103   cat >>confdefs.h <<_ACEOF
32104 #define HAVE_EXPL 1
32105 _ACEOF
32106
32107 fi
32108 done
32109
32110   else
32111
32112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32113 $as_echo_n "checking for _expl declaration... " >&6; }
32114   if test x${glibcxx_cv_func__expl_use+set} != xset; then
32115     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32116   $as_echo_n "(cached) " >&6
32117 else
32118
32119
32120       ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32125
32126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h.  */
32128 #include <math.h>
32129                       #ifdef HAVE_IEEEFP_H
32130                       #include <ieeefp.h>
32131                       #endif
32132
32133 int
32134 main ()
32135 {
32136  _expl(0);
32137   ;
32138   return 0;
32139 }
32140 _ACEOF
32141 if ac_fn_cxx_try_compile "$LINENO"; then :
32142   glibcxx_cv_func__expl_use=yes
32143 else
32144   glibcxx_cv_func__expl_use=no
32145 fi
32146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147       ac_ext=c
32148 ac_cpp='$CPP $CPPFLAGS'
32149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32152
32153
32154 fi
32155
32156   fi
32157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32158 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32159
32160     if test x$glibcxx_cv_func__expl_use = x"yes"; then
32161       for ac_func in _expl
32162 do :
32163   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32164 if test "x$ac_cv_func__expl" = x""yes; then :
32165   cat >>confdefs.h <<_ACEOF
32166 #define HAVE__EXPL 1
32167 _ACEOF
32168
32169 fi
32170 done
32171
32172     fi
32173   fi
32174
32175
32176
32177
32178
32179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32180 $as_echo_n "checking for fabsl declaration... " >&6; }
32181   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32182     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32183   $as_echo_n "(cached) " >&6
32184 else
32185
32186
32187       ac_ext=cpp
32188 ac_cpp='$CXXCPP $CPPFLAGS'
32189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32192
32193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32194 /* end confdefs.h.  */
32195 #include <math.h>
32196                       #ifdef HAVE_IEEEFP_H
32197                       #include <ieeefp.h>
32198                       #endif
32199
32200 int
32201 main ()
32202 {
32203  fabsl(0);
32204   ;
32205   return 0;
32206 }
32207 _ACEOF
32208 if ac_fn_cxx_try_compile "$LINENO"; then :
32209   glibcxx_cv_func_fabsl_use=yes
32210 else
32211   glibcxx_cv_func_fabsl_use=no
32212 fi
32213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32214       ac_ext=c
32215 ac_cpp='$CPP $CPPFLAGS'
32216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219
32220
32221 fi
32222
32223   fi
32224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32225 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32226
32227   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32228     for ac_func in fabsl
32229 do :
32230   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32231 if test "x$ac_cv_func_fabsl" = x""yes; then :
32232   cat >>confdefs.h <<_ACEOF
32233 #define HAVE_FABSL 1
32234 _ACEOF
32235
32236 fi
32237 done
32238
32239   else
32240
32241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32242 $as_echo_n "checking for _fabsl declaration... " >&6; }
32243   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32244     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32245   $as_echo_n "(cached) " >&6
32246 else
32247
32248
32249       ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h.  */
32257 #include <math.h>
32258                       #ifdef HAVE_IEEEFP_H
32259                       #include <ieeefp.h>
32260                       #endif
32261
32262 int
32263 main ()
32264 {
32265  _fabsl(0);
32266   ;
32267   return 0;
32268 }
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271   glibcxx_cv_func__fabsl_use=yes
32272 else
32273   glibcxx_cv_func__fabsl_use=no
32274 fi
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276       ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32281
32282
32283 fi
32284
32285   fi
32286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32287 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32288
32289     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32290       for ac_func in _fabsl
32291 do :
32292   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32293 if test "x$ac_cv_func__fabsl" = x""yes; then :
32294   cat >>confdefs.h <<_ACEOF
32295 #define HAVE__FABSL 1
32296 _ACEOF
32297
32298 fi
32299 done
32300
32301     fi
32302   fi
32303
32304
32305
32306
32307
32308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32309 $as_echo_n "checking for fmodl declaration... " >&6; }
32310   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32311     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32312   $as_echo_n "(cached) " >&6
32313 else
32314
32315
32316       ac_ext=cpp
32317 ac_cpp='$CXXCPP $CPPFLAGS'
32318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32321
32322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32323 /* end confdefs.h.  */
32324 #include <math.h>
32325 int
32326 main ()
32327 {
32328  fmodl(0, 0);
32329   ;
32330   return 0;
32331 }
32332 _ACEOF
32333 if ac_fn_cxx_try_compile "$LINENO"; then :
32334   glibcxx_cv_func_fmodl_use=yes
32335 else
32336   glibcxx_cv_func_fmodl_use=no
32337 fi
32338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32339       ac_ext=c
32340 ac_cpp='$CPP $CPPFLAGS'
32341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32344
32345
32346 fi
32347
32348   fi
32349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32350 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32351
32352   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32353     for ac_func in fmodl
32354 do :
32355   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32356 if test "x$ac_cv_func_fmodl" = x""yes; then :
32357   cat >>confdefs.h <<_ACEOF
32358 #define HAVE_FMODL 1
32359 _ACEOF
32360
32361 fi
32362 done
32363
32364   else
32365
32366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32367 $as_echo_n "checking for _fmodl declaration... " >&6; }
32368   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32369     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32370   $as_echo_n "(cached) " >&6
32371 else
32372
32373
32374       ac_ext=cpp
32375 ac_cpp='$CXXCPP $CPPFLAGS'
32376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32379
32380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32381 /* end confdefs.h.  */
32382 #include <math.h>
32383 int
32384 main ()
32385 {
32386  _fmodl(0, 0);
32387   ;
32388   return 0;
32389 }
32390 _ACEOF
32391 if ac_fn_cxx_try_compile "$LINENO"; then :
32392   glibcxx_cv_func__fmodl_use=yes
32393 else
32394   glibcxx_cv_func__fmodl_use=no
32395 fi
32396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32397       ac_ext=c
32398 ac_cpp='$CPP $CPPFLAGS'
32399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32402
32403
32404 fi
32405
32406   fi
32407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32408 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32409
32410     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32411       for ac_func in _fmodl
32412 do :
32413   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32414 if test "x$ac_cv_func__fmodl" = x""yes; then :
32415   cat >>confdefs.h <<_ACEOF
32416 #define HAVE__FMODL 1
32417 _ACEOF
32418
32419 fi
32420 done
32421
32422     fi
32423   fi
32424
32425
32426
32427
32428
32429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32430 $as_echo_n "checking for frexpl declaration... " >&6; }
32431   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32432     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32433   $as_echo_n "(cached) " >&6
32434 else
32435
32436
32437       ac_ext=cpp
32438 ac_cpp='$CXXCPP $CPPFLAGS'
32439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442
32443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32444 /* end confdefs.h.  */
32445 #include <math.h>
32446 int
32447 main ()
32448 {
32449  frexpl(0, 0);
32450   ;
32451   return 0;
32452 }
32453 _ACEOF
32454 if ac_fn_cxx_try_compile "$LINENO"; then :
32455   glibcxx_cv_func_frexpl_use=yes
32456 else
32457   glibcxx_cv_func_frexpl_use=no
32458 fi
32459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32460       ac_ext=c
32461 ac_cpp='$CPP $CPPFLAGS'
32462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32465
32466
32467 fi
32468
32469   fi
32470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32471 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32472
32473   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32474     for ac_func in frexpl
32475 do :
32476   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32477 if test "x$ac_cv_func_frexpl" = x""yes; then :
32478   cat >>confdefs.h <<_ACEOF
32479 #define HAVE_FREXPL 1
32480 _ACEOF
32481
32482 fi
32483 done
32484
32485   else
32486
32487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32488 $as_echo_n "checking for _frexpl declaration... " >&6; }
32489   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32490     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32491   $as_echo_n "(cached) " >&6
32492 else
32493
32494
32495       ac_ext=cpp
32496 ac_cpp='$CXXCPP $CPPFLAGS'
32497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32500
32501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32502 /* end confdefs.h.  */
32503 #include <math.h>
32504 int
32505 main ()
32506 {
32507  _frexpl(0, 0);
32508   ;
32509   return 0;
32510 }
32511 _ACEOF
32512 if ac_fn_cxx_try_compile "$LINENO"; then :
32513   glibcxx_cv_func__frexpl_use=yes
32514 else
32515   glibcxx_cv_func__frexpl_use=no
32516 fi
32517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32518       ac_ext=c
32519 ac_cpp='$CPP $CPPFLAGS'
32520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32523
32524
32525 fi
32526
32527   fi
32528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32529 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32530
32531     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32532       for ac_func in _frexpl
32533 do :
32534   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32535 if test "x$ac_cv_func__frexpl" = x""yes; then :
32536   cat >>confdefs.h <<_ACEOF
32537 #define HAVE__FREXPL 1
32538 _ACEOF
32539
32540 fi
32541 done
32542
32543     fi
32544   fi
32545
32546
32547
32548
32549
32550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32551 $as_echo_n "checking for hypotl declaration... " >&6; }
32552   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32553     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32554   $as_echo_n "(cached) " >&6
32555 else
32556
32557
32558       ac_ext=cpp
32559 ac_cpp='$CXXCPP $CPPFLAGS'
32560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32563
32564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32565 /* end confdefs.h.  */
32566 #include <math.h>
32567 int
32568 main ()
32569 {
32570  hypotl(0, 0);
32571   ;
32572   return 0;
32573 }
32574 _ACEOF
32575 if ac_fn_cxx_try_compile "$LINENO"; then :
32576   glibcxx_cv_func_hypotl_use=yes
32577 else
32578   glibcxx_cv_func_hypotl_use=no
32579 fi
32580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32581       ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32586
32587
32588 fi
32589
32590   fi
32591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32592 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32593
32594   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32595     for ac_func in hypotl
32596 do :
32597   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32598 if test "x$ac_cv_func_hypotl" = x""yes; then :
32599   cat >>confdefs.h <<_ACEOF
32600 #define HAVE_HYPOTL 1
32601 _ACEOF
32602
32603 fi
32604 done
32605
32606   else
32607
32608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32609 $as_echo_n "checking for _hypotl declaration... " >&6; }
32610   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32611     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32612   $as_echo_n "(cached) " >&6
32613 else
32614
32615
32616       ac_ext=cpp
32617 ac_cpp='$CXXCPP $CPPFLAGS'
32618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32621
32622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32623 /* end confdefs.h.  */
32624 #include <math.h>
32625 int
32626 main ()
32627 {
32628  _hypotl(0, 0);
32629   ;
32630   return 0;
32631 }
32632 _ACEOF
32633 if ac_fn_cxx_try_compile "$LINENO"; then :
32634   glibcxx_cv_func__hypotl_use=yes
32635 else
32636   glibcxx_cv_func__hypotl_use=no
32637 fi
32638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32639       ac_ext=c
32640 ac_cpp='$CPP $CPPFLAGS'
32641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32644
32645
32646 fi
32647
32648   fi
32649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32650 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32651
32652     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32653       for ac_func in _hypotl
32654 do :
32655   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32656 if test "x$ac_cv_func__hypotl" = x""yes; then :
32657   cat >>confdefs.h <<_ACEOF
32658 #define HAVE__HYPOTL 1
32659 _ACEOF
32660
32661 fi
32662 done
32663
32664     fi
32665   fi
32666
32667
32668
32669
32670
32671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32672 $as_echo_n "checking for ldexpl declaration... " >&6; }
32673   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32674     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32675   $as_echo_n "(cached) " >&6
32676 else
32677
32678
32679       ac_ext=cpp
32680 ac_cpp='$CXXCPP $CPPFLAGS'
32681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32684
32685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32686 /* end confdefs.h.  */
32687 #include <math.h>
32688 int
32689 main ()
32690 {
32691  ldexpl(0, 0);
32692   ;
32693   return 0;
32694 }
32695 _ACEOF
32696 if ac_fn_cxx_try_compile "$LINENO"; then :
32697   glibcxx_cv_func_ldexpl_use=yes
32698 else
32699   glibcxx_cv_func_ldexpl_use=no
32700 fi
32701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32702       ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32707
32708
32709 fi
32710
32711   fi
32712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32713 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32714
32715   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32716     for ac_func in ldexpl
32717 do :
32718   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32719 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32720   cat >>confdefs.h <<_ACEOF
32721 #define HAVE_LDEXPL 1
32722 _ACEOF
32723
32724 fi
32725 done
32726
32727   else
32728
32729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32730 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32731   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32732     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32733   $as_echo_n "(cached) " >&6
32734 else
32735
32736
32737       ac_ext=cpp
32738 ac_cpp='$CXXCPP $CPPFLAGS'
32739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32742
32743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32744 /* end confdefs.h.  */
32745 #include <math.h>
32746 int
32747 main ()
32748 {
32749  _ldexpl(0, 0);
32750   ;
32751   return 0;
32752 }
32753 _ACEOF
32754 if ac_fn_cxx_try_compile "$LINENO"; then :
32755   glibcxx_cv_func__ldexpl_use=yes
32756 else
32757   glibcxx_cv_func__ldexpl_use=no
32758 fi
32759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32760       ac_ext=c
32761 ac_cpp='$CPP $CPPFLAGS'
32762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32765
32766
32767 fi
32768
32769   fi
32770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32771 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32772
32773     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32774       for ac_func in _ldexpl
32775 do :
32776   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32777 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32778   cat >>confdefs.h <<_ACEOF
32779 #define HAVE__LDEXPL 1
32780 _ACEOF
32781
32782 fi
32783 done
32784
32785     fi
32786   fi
32787
32788
32789
32790
32791
32792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32793 $as_echo_n "checking for logl declaration... " >&6; }
32794   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32795     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32796   $as_echo_n "(cached) " >&6
32797 else
32798
32799
32800       ac_ext=cpp
32801 ac_cpp='$CXXCPP $CPPFLAGS'
32802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805
32806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32807 /* end confdefs.h.  */
32808 #include <math.h>
32809                       #ifdef HAVE_IEEEFP_H
32810                       #include <ieeefp.h>
32811                       #endif
32812
32813 int
32814 main ()
32815 {
32816  logl(0);
32817   ;
32818   return 0;
32819 }
32820 _ACEOF
32821 if ac_fn_cxx_try_compile "$LINENO"; then :
32822   glibcxx_cv_func_logl_use=yes
32823 else
32824   glibcxx_cv_func_logl_use=no
32825 fi
32826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32827       ac_ext=c
32828 ac_cpp='$CPP $CPPFLAGS'
32829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832
32833
32834 fi
32835
32836   fi
32837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32838 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32839
32840   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32841     for ac_func in logl
32842 do :
32843   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32844 if test "x$ac_cv_func_logl" = x""yes; then :
32845   cat >>confdefs.h <<_ACEOF
32846 #define HAVE_LOGL 1
32847 _ACEOF
32848
32849 fi
32850 done
32851
32852   else
32853
32854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32855 $as_echo_n "checking for _logl declaration... " >&6; }
32856   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32857     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32858   $as_echo_n "(cached) " >&6
32859 else
32860
32861
32862       ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867
32868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h.  */
32870 #include <math.h>
32871                       #ifdef HAVE_IEEEFP_H
32872                       #include <ieeefp.h>
32873                       #endif
32874
32875 int
32876 main ()
32877 {
32878  _logl(0);
32879   ;
32880   return 0;
32881 }
32882 _ACEOF
32883 if ac_fn_cxx_try_compile "$LINENO"; then :
32884   glibcxx_cv_func__logl_use=yes
32885 else
32886   glibcxx_cv_func__logl_use=no
32887 fi
32888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32889       ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32894
32895
32896 fi
32897
32898   fi
32899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32900 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32901
32902     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32903       for ac_func in _logl
32904 do :
32905   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32906 if test "x$ac_cv_func__logl" = x""yes; then :
32907   cat >>confdefs.h <<_ACEOF
32908 #define HAVE__LOGL 1
32909 _ACEOF
32910
32911 fi
32912 done
32913
32914     fi
32915   fi
32916
32917
32918
32919
32920
32921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32922 $as_echo_n "checking for log10l declaration... " >&6; }
32923   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32924     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32925   $as_echo_n "(cached) " >&6
32926 else
32927
32928
32929       ac_ext=cpp
32930 ac_cpp='$CXXCPP $CPPFLAGS'
32931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32934
32935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32936 /* end confdefs.h.  */
32937 #include <math.h>
32938                       #ifdef HAVE_IEEEFP_H
32939                       #include <ieeefp.h>
32940                       #endif
32941
32942 int
32943 main ()
32944 {
32945  log10l(0);
32946   ;
32947   return 0;
32948 }
32949 _ACEOF
32950 if ac_fn_cxx_try_compile "$LINENO"; then :
32951   glibcxx_cv_func_log10l_use=yes
32952 else
32953   glibcxx_cv_func_log10l_use=no
32954 fi
32955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32956       ac_ext=c
32957 ac_cpp='$CPP $CPPFLAGS'
32958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32961
32962
32963 fi
32964
32965   fi
32966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32967 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32968
32969   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32970     for ac_func in log10l
32971 do :
32972   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32973 if test "x$ac_cv_func_log10l" = x""yes; then :
32974   cat >>confdefs.h <<_ACEOF
32975 #define HAVE_LOG10L 1
32976 _ACEOF
32977
32978 fi
32979 done
32980
32981   else
32982
32983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32984 $as_echo_n "checking for _log10l declaration... " >&6; }
32985   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32986     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32987   $as_echo_n "(cached) " >&6
32988 else
32989
32990
32991       ac_ext=cpp
32992 ac_cpp='$CXXCPP $CPPFLAGS'
32993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32996
32997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32998 /* end confdefs.h.  */
32999 #include <math.h>
33000                       #ifdef HAVE_IEEEFP_H
33001                       #include <ieeefp.h>
33002                       #endif
33003
33004 int
33005 main ()
33006 {
33007  _log10l(0);
33008   ;
33009   return 0;
33010 }
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013   glibcxx_cv_func__log10l_use=yes
33014 else
33015   glibcxx_cv_func__log10l_use=no
33016 fi
33017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33018       ac_ext=c
33019 ac_cpp='$CPP $CPPFLAGS'
33020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33023
33024
33025 fi
33026
33027   fi
33028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33029 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33030
33031     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33032       for ac_func in _log10l
33033 do :
33034   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33035 if test "x$ac_cv_func__log10l" = x""yes; then :
33036   cat >>confdefs.h <<_ACEOF
33037 #define HAVE__LOG10L 1
33038 _ACEOF
33039
33040 fi
33041 done
33042
33043     fi
33044   fi
33045
33046
33047
33048
33049
33050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33051 $as_echo_n "checking for modfl declaration... " >&6; }
33052   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33053     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33054   $as_echo_n "(cached) " >&6
33055 else
33056
33057
33058       ac_ext=cpp
33059 ac_cpp='$CXXCPP $CPPFLAGS'
33060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33063
33064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33065 /* end confdefs.h.  */
33066 #include <math.h>
33067 int
33068 main ()
33069 {
33070  modfl(0, 0);
33071   ;
33072   return 0;
33073 }
33074 _ACEOF
33075 if ac_fn_cxx_try_compile "$LINENO"; then :
33076   glibcxx_cv_func_modfl_use=yes
33077 else
33078   glibcxx_cv_func_modfl_use=no
33079 fi
33080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33081       ac_ext=c
33082 ac_cpp='$CPP $CPPFLAGS'
33083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33086
33087
33088 fi
33089
33090   fi
33091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33092 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33093
33094   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33095     for ac_func in modfl
33096 do :
33097   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33098 if test "x$ac_cv_func_modfl" = x""yes; then :
33099   cat >>confdefs.h <<_ACEOF
33100 #define HAVE_MODFL 1
33101 _ACEOF
33102
33103 fi
33104 done
33105
33106   else
33107
33108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33109 $as_echo_n "checking for _modfl declaration... " >&6; }
33110   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33111     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33112   $as_echo_n "(cached) " >&6
33113 else
33114
33115
33116       ac_ext=cpp
33117 ac_cpp='$CXXCPP $CPPFLAGS'
33118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33121
33122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33123 /* end confdefs.h.  */
33124 #include <math.h>
33125 int
33126 main ()
33127 {
33128  _modfl(0, 0);
33129   ;
33130   return 0;
33131 }
33132 _ACEOF
33133 if ac_fn_cxx_try_compile "$LINENO"; then :
33134   glibcxx_cv_func__modfl_use=yes
33135 else
33136   glibcxx_cv_func__modfl_use=no
33137 fi
33138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33139       ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33144
33145
33146 fi
33147
33148   fi
33149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33150 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33151
33152     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33153       for ac_func in _modfl
33154 do :
33155   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33156 if test "x$ac_cv_func__modfl" = x""yes; then :
33157   cat >>confdefs.h <<_ACEOF
33158 #define HAVE__MODFL 1
33159 _ACEOF
33160
33161 fi
33162 done
33163
33164     fi
33165   fi
33166
33167
33168
33169
33170
33171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33172 $as_echo_n "checking for powl declaration... " >&6; }
33173   if test x${glibcxx_cv_func_powl_use+set} != xset; then
33174     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33175   $as_echo_n "(cached) " >&6
33176 else
33177
33178
33179       ac_ext=cpp
33180 ac_cpp='$CXXCPP $CPPFLAGS'
33181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33184
33185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33186 /* end confdefs.h.  */
33187 #include <math.h>
33188 int
33189 main ()
33190 {
33191  powl(0, 0);
33192   ;
33193   return 0;
33194 }
33195 _ACEOF
33196 if ac_fn_cxx_try_compile "$LINENO"; then :
33197   glibcxx_cv_func_powl_use=yes
33198 else
33199   glibcxx_cv_func_powl_use=no
33200 fi
33201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33202       ac_ext=c
33203 ac_cpp='$CPP $CPPFLAGS'
33204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33207
33208
33209 fi
33210
33211   fi
33212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33213 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33214
33215   if test x$glibcxx_cv_func_powl_use = x"yes"; then
33216     for ac_func in powl
33217 do :
33218   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33219 if test "x$ac_cv_func_powl" = x""yes; then :
33220   cat >>confdefs.h <<_ACEOF
33221 #define HAVE_POWL 1
33222 _ACEOF
33223
33224 fi
33225 done
33226
33227   else
33228
33229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33230 $as_echo_n "checking for _powl declaration... " >&6; }
33231   if test x${glibcxx_cv_func__powl_use+set} != xset; then
33232     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33233   $as_echo_n "(cached) " >&6
33234 else
33235
33236
33237       ac_ext=cpp
33238 ac_cpp='$CXXCPP $CPPFLAGS'
33239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33242
33243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33244 /* end confdefs.h.  */
33245 #include <math.h>
33246 int
33247 main ()
33248 {
33249  _powl(0, 0);
33250   ;
33251   return 0;
33252 }
33253 _ACEOF
33254 if ac_fn_cxx_try_compile "$LINENO"; then :
33255   glibcxx_cv_func__powl_use=yes
33256 else
33257   glibcxx_cv_func__powl_use=no
33258 fi
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260       ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33265
33266
33267 fi
33268
33269   fi
33270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33271 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33272
33273     if test x$glibcxx_cv_func__powl_use = x"yes"; then
33274       for ac_func in _powl
33275 do :
33276   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33277 if test "x$ac_cv_func__powl" = x""yes; then :
33278   cat >>confdefs.h <<_ACEOF
33279 #define HAVE__POWL 1
33280 _ACEOF
33281
33282 fi
33283 done
33284
33285     fi
33286   fi
33287
33288
33289
33290
33291
33292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33293 $as_echo_n "checking for sqrtl declaration... " >&6; }
33294   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33295     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33296   $as_echo_n "(cached) " >&6
33297 else
33298
33299
33300       ac_ext=cpp
33301 ac_cpp='$CXXCPP $CPPFLAGS'
33302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33305
33306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h.  */
33308 #include <math.h>
33309                       #ifdef HAVE_IEEEFP_H
33310                       #include <ieeefp.h>
33311                       #endif
33312
33313 int
33314 main ()
33315 {
33316  sqrtl(0);
33317   ;
33318   return 0;
33319 }
33320 _ACEOF
33321 if ac_fn_cxx_try_compile "$LINENO"; then :
33322   glibcxx_cv_func_sqrtl_use=yes
33323 else
33324   glibcxx_cv_func_sqrtl_use=no
33325 fi
33326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33327       ac_ext=c
33328 ac_cpp='$CPP $CPPFLAGS'
33329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33332
33333
33334 fi
33335
33336   fi
33337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33338 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33339
33340   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33341     for ac_func in sqrtl
33342 do :
33343   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33344 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33345   cat >>confdefs.h <<_ACEOF
33346 #define HAVE_SQRTL 1
33347 _ACEOF
33348
33349 fi
33350 done
33351
33352   else
33353
33354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33355 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33356   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33357     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33358   $as_echo_n "(cached) " >&6
33359 else
33360
33361
33362       ac_ext=cpp
33363 ac_cpp='$CXXCPP $CPPFLAGS'
33364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33367
33368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369 /* end confdefs.h.  */
33370 #include <math.h>
33371                       #ifdef HAVE_IEEEFP_H
33372                       #include <ieeefp.h>
33373                       #endif
33374
33375 int
33376 main ()
33377 {
33378  _sqrtl(0);
33379   ;
33380   return 0;
33381 }
33382 _ACEOF
33383 if ac_fn_cxx_try_compile "$LINENO"; then :
33384   glibcxx_cv_func__sqrtl_use=yes
33385 else
33386   glibcxx_cv_func__sqrtl_use=no
33387 fi
33388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33389       ac_ext=c
33390 ac_cpp='$CPP $CPPFLAGS'
33391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33394
33395
33396 fi
33397
33398   fi
33399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33400 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33401
33402     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33403       for ac_func in _sqrtl
33404 do :
33405   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33406 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33407   cat >>confdefs.h <<_ACEOF
33408 #define HAVE__SQRTL 1
33409 _ACEOF
33410
33411 fi
33412 done
33413
33414     fi
33415   fi
33416
33417
33418
33419
33420
33421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33422 $as_echo_n "checking for sincosl declaration... " >&6; }
33423   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33424     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33425   $as_echo_n "(cached) " >&6
33426 else
33427
33428
33429       ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33434
33435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h.  */
33437 #include <math.h>
33438 int
33439 main ()
33440 {
33441  sincosl(0, 0, 0);
33442   ;
33443   return 0;
33444 }
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447   glibcxx_cv_func_sincosl_use=yes
33448 else
33449   glibcxx_cv_func_sincosl_use=no
33450 fi
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452       ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457
33458
33459 fi
33460
33461   fi
33462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33463 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33464
33465   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33466     for ac_func in sincosl
33467 do :
33468   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33469 if test "x$ac_cv_func_sincosl" = x""yes; then :
33470   cat >>confdefs.h <<_ACEOF
33471 #define HAVE_SINCOSL 1
33472 _ACEOF
33473
33474 fi
33475 done
33476
33477   else
33478
33479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33480 $as_echo_n "checking for _sincosl declaration... " >&6; }
33481   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33482     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33483   $as_echo_n "(cached) " >&6
33484 else
33485
33486
33487       ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33492
33493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h.  */
33495 #include <math.h>
33496 int
33497 main ()
33498 {
33499  _sincosl(0, 0, 0);
33500   ;
33501   return 0;
33502 }
33503 _ACEOF
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505   glibcxx_cv_func__sincosl_use=yes
33506 else
33507   glibcxx_cv_func__sincosl_use=no
33508 fi
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510       ac_ext=c
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33515
33516
33517 fi
33518
33519   fi
33520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33521 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33522
33523     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33524       for ac_func in _sincosl
33525 do :
33526   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33527 if test "x$ac_cv_func__sincosl" = x""yes; then :
33528   cat >>confdefs.h <<_ACEOF
33529 #define HAVE__SINCOSL 1
33530 _ACEOF
33531
33532 fi
33533 done
33534
33535     fi
33536   fi
33537
33538
33539
33540
33541
33542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33543 $as_echo_n "checking for finitel declaration... " >&6; }
33544   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33545     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33546   $as_echo_n "(cached) " >&6
33547 else
33548
33549
33550       ac_ext=cpp
33551 ac_cpp='$CXXCPP $CPPFLAGS'
33552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33555
33556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33557 /* end confdefs.h.  */
33558 #include <math.h>
33559                       #ifdef HAVE_IEEEFP_H
33560                       #include <ieeefp.h>
33561                       #endif
33562
33563 int
33564 main ()
33565 {
33566  finitel(0);
33567   ;
33568   return 0;
33569 }
33570 _ACEOF
33571 if ac_fn_cxx_try_compile "$LINENO"; then :
33572   glibcxx_cv_func_finitel_use=yes
33573 else
33574   glibcxx_cv_func_finitel_use=no
33575 fi
33576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33577       ac_ext=c
33578 ac_cpp='$CPP $CPPFLAGS'
33579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33582
33583
33584 fi
33585
33586   fi
33587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33588 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33589
33590   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33591     for ac_func in finitel
33592 do :
33593   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33594 if test "x$ac_cv_func_finitel" = x""yes; then :
33595   cat >>confdefs.h <<_ACEOF
33596 #define HAVE_FINITEL 1
33597 _ACEOF
33598
33599 fi
33600 done
33601
33602   else
33603
33604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33605 $as_echo_n "checking for _finitel declaration... " >&6; }
33606   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33607     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33608   $as_echo_n "(cached) " >&6
33609 else
33610
33611
33612       ac_ext=cpp
33613 ac_cpp='$CXXCPP $CPPFLAGS'
33614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33617
33618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33619 /* end confdefs.h.  */
33620 #include <math.h>
33621                       #ifdef HAVE_IEEEFP_H
33622                       #include <ieeefp.h>
33623                       #endif
33624
33625 int
33626 main ()
33627 {
33628  _finitel(0);
33629   ;
33630   return 0;
33631 }
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634   glibcxx_cv_func__finitel_use=yes
33635 else
33636   glibcxx_cv_func__finitel_use=no
33637 fi
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639       ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33644
33645
33646 fi
33647
33648   fi
33649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33650 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33651
33652     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33653       for ac_func in _finitel
33654 do :
33655   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33656 if test "x$ac_cv_func__finitel" = x""yes; then :
33657   cat >>confdefs.h <<_ACEOF
33658 #define HAVE__FINITEL 1
33659 _ACEOF
33660
33661 fi
33662 done
33663
33664     fi
33665   fi
33666
33667
33668
33669
33670   LIBS="$ac_save_LIBS"
33671   CXXFLAGS="$ac_save_CXXFLAGS"
33672
33673
33674   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33675   ac_save_CXXFLAGS="$CXXFLAGS"
33676   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33677
33678
33679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33680 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33681   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33682     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33683   $as_echo_n "(cached) " >&6
33684 else
33685
33686
33687       ac_ext=cpp
33688 ac_cpp='$CXXCPP $CPPFLAGS'
33689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33692
33693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33694 /* end confdefs.h.  */
33695 #include <stdlib.h>
33696 int
33697 main ()
33698 {
33699  at_quick_exit(0);
33700   ;
33701   return 0;
33702 }
33703 _ACEOF
33704 if ac_fn_cxx_try_compile "$LINENO"; then :
33705   glibcxx_cv_func_at_quick_exit_use=yes
33706 else
33707   glibcxx_cv_func_at_quick_exit_use=no
33708 fi
33709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33710       ac_ext=c
33711 ac_cpp='$CPP $CPPFLAGS'
33712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33715
33716
33717 fi
33718
33719   fi
33720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33721 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33722   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33723     for ac_func in at_quick_exit
33724 do :
33725   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33726 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33727   cat >>confdefs.h <<_ACEOF
33728 #define HAVE_AT_QUICK_EXIT 1
33729 _ACEOF
33730
33731 fi
33732 done
33733
33734   fi
33735
33736
33737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33738 $as_echo_n "checking for quick_exit declaration... " >&6; }
33739   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33740     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33741   $as_echo_n "(cached) " >&6
33742 else
33743
33744
33745       ac_ext=cpp
33746 ac_cpp='$CXXCPP $CPPFLAGS'
33747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33750
33751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33752 /* end confdefs.h.  */
33753 #include <stdlib.h>
33754 int
33755 main ()
33756 {
33757  quick_exit(0);
33758   ;
33759   return 0;
33760 }
33761 _ACEOF
33762 if ac_fn_cxx_try_compile "$LINENO"; then :
33763   glibcxx_cv_func_quick_exit_use=yes
33764 else
33765   glibcxx_cv_func_quick_exit_use=no
33766 fi
33767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33768       ac_ext=c
33769 ac_cpp='$CPP $CPPFLAGS'
33770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33773
33774
33775 fi
33776
33777   fi
33778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33779 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33780   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33781     for ac_func in quick_exit
33782 do :
33783   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33784 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33785   cat >>confdefs.h <<_ACEOF
33786 #define HAVE_QUICK_EXIT 1
33787 _ACEOF
33788
33789 fi
33790 done
33791
33792   fi
33793
33794
33795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33796 $as_echo_n "checking for strtold declaration... " >&6; }
33797   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33798     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33799   $as_echo_n "(cached) " >&6
33800 else
33801
33802
33803       ac_ext=cpp
33804 ac_cpp='$CXXCPP $CPPFLAGS'
33805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33808
33809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33810 /* end confdefs.h.  */
33811 #include <stdlib.h>
33812 int
33813 main ()
33814 {
33815  strtold(0, 0);
33816   ;
33817   return 0;
33818 }
33819 _ACEOF
33820 if ac_fn_cxx_try_compile "$LINENO"; then :
33821   glibcxx_cv_func_strtold_use=yes
33822 else
33823   glibcxx_cv_func_strtold_use=no
33824 fi
33825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33826       ac_ext=c
33827 ac_cpp='$CPP $CPPFLAGS'
33828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33831
33832
33833 fi
33834
33835   fi
33836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33837 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33838   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33839     for ac_func in strtold
33840 do :
33841   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33842 if test "x$ac_cv_func_strtold" = x""yes; then :
33843   cat >>confdefs.h <<_ACEOF
33844 #define HAVE_STRTOLD 1
33845 _ACEOF
33846
33847 fi
33848 done
33849
33850   fi
33851
33852
33853
33854
33855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33856 $as_echo_n "checking for strtof declaration... " >&6; }
33857   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33858     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33859   $as_echo_n "(cached) " >&6
33860 else
33861
33862
33863       ac_ext=cpp
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33868
33869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h.  */
33871 #include <stdlib.h>
33872 int
33873 main ()
33874 {
33875  strtof(0, 0);
33876   ;
33877   return 0;
33878 }
33879 _ACEOF
33880 if ac_fn_cxx_try_compile "$LINENO"; then :
33881   glibcxx_cv_func_strtof_use=yes
33882 else
33883   glibcxx_cv_func_strtof_use=no
33884 fi
33885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33886       ac_ext=c
33887 ac_cpp='$CPP $CPPFLAGS'
33888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33891
33892
33893 fi
33894
33895   fi
33896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33897 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33898   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33899     for ac_func in strtof
33900 do :
33901   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33902 if test "x$ac_cv_func_strtof" = x""yes; then :
33903   cat >>confdefs.h <<_ACEOF
33904 #define HAVE_STRTOF 1
33905 _ACEOF
33906
33907 fi
33908 done
33909
33910   fi
33911
33912
33913
33914
33915   CXXFLAGS="$ac_save_CXXFLAGS"
33916
33917
33918     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33919
33920     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33921
33922     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33923
33924     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33925
33926
33927     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33928
33929     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33930
33931     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33932
33933     ;;
33934
33935   spu-*-elf*)
33936
33937   # All these tests are for C++; save the language and the compiler flags.
33938   # The CXXFLAGS thing is suspicious, but based on similar bits previously
33939   # found in GLIBCXX_CONFIGURE.
33940
33941   ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33948   ac_save_CXXFLAGS="$CXXFLAGS"
33949
33950   # Check for maintainer-mode bits.
33951   if test x"$USE_MAINTAINER_MODE" = xno; then
33952     WERROR=''
33953   else
33954     WERROR='-Werror'
33955   fi
33956
33957   # Check for -ffunction-sections -fdata-sections
33958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33959 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33960   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33962 /* end confdefs.h.  */
33963 int foo; void bar() { };
33964 int
33965 main ()
33966 {
33967
33968   ;
33969   return 0;
33970 }
33971 _ACEOF
33972 if ac_fn_cxx_try_compile "$LINENO"; then :
33973   ac_fdsections=yes
33974 else
33975   ac_fdsections=no
33976 fi
33977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33978   if test "$ac_test_CXXFLAGS" = set; then
33979     CXXFLAGS="$ac_save_CXXFLAGS"
33980   else
33981     # this is the suspicious part
33982     CXXFLAGS=''
33983   fi
33984   if test x"$ac_fdsections" = x"yes"; then
33985     SECTION_FLAGS='-ffunction-sections -fdata-sections'
33986   fi
33987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33988 $as_echo "$ac_fdsections" >&6; }
33989
33990   ac_ext=c
33991 ac_cpp='$CPP $CPPFLAGS'
33992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33995
33996
33997
33998
33999
34000   # If we're not using GNU ld, then there's no point in even trying these
34001   # tests.  Check for that first.  We should have already tested for gld
34002   # by now (in libtool), but require it now just to be safe...
34003   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34004   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34005
34006
34007
34008   # The name set by libtool depends on the version of libtool.  Shame on us
34009   # for depending on an impl detail, but c'est la vie.  Older versions used
34010   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34011   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34012   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
34013   # set (hence we're using an older libtool), then set it.
34014   if test x${with_gnu_ld+set} != xset; then
34015     if test x${ac_cv_prog_gnu_ld+set} != xset; then
34016       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
34017       with_gnu_ld=no
34018     else
34019       with_gnu_ld=$ac_cv_prog_gnu_ld
34020     fi
34021   fi
34022
34023   # Start by getting the version number.  I think the libtool test already
34024   # does some of this, but throws away the result.
34025   glibcxx_ld_is_gold=no
34026   if test x"$with_gnu_ld" = x"yes"; then
34027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34028 $as_echo_n "checking for ld version... " >&6; }
34029
34030     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34031       glibcxx_ld_is_gold=yes
34032     fi
34033     ldver=`$LD --version 2>/dev/null |
34034            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'`
34035
34036     glibcxx_gnu_ld_version=`echo $ldver | \
34037            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34038     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34039 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34040   fi
34041
34042   # Set --gc-sections.
34043   glibcxx_have_gc_sections=no
34044   if test "$glibcxx_ld_is_gold" = "yes"; then
34045     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34046       glibcxx_have_gc_sections=yes
34047     fi
34048   else
34049     glibcxx_gcsections_min_ld=21602
34050     if test x"$with_gnu_ld" = x"yes" &&
34051         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34052       glibcxx_have_gc_sections=yes
34053     fi
34054   fi
34055   if test "$glibcxx_have_gc_sections" = "yes"; then
34056     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
34057     # NB: This flag only works reliably after 2.16.1. Configure tests
34058     # for this are difficult, so hard wire a value that should work.
34059
34060     ac_test_CFLAGS="${CFLAGS+set}"
34061     ac_save_CFLAGS="$CFLAGS"
34062     CFLAGS='-Wl,--gc-sections'
34063
34064     # Check for -Wl,--gc-sections
34065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34066 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34067     if test x$gcc_no_link = xyes; then
34068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34069 fi
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h.  */
34072  int one(void) { return 1; }
34073      int two(void) { return 2; }
34074
34075 int
34076 main ()
34077 {
34078  two();
34079   ;
34080   return 0;
34081 }
34082 _ACEOF
34083 if ac_fn_c_try_link "$LINENO"; then :
34084   ac_gcsections=yes
34085 else
34086   ac_gcsections=no
34087 fi
34088 rm -f core conftest.err conftest.$ac_objext \
34089     conftest$ac_exeext conftest.$ac_ext
34090     if test "$ac_gcsections" = "yes"; then
34091       rm -f conftest.c
34092       touch conftest.c
34093       if $CC -c conftest.c; then
34094         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34095            grep "Warning: gc-sections option ignored" > /dev/null; then
34096           ac_gcsections=no
34097         fi
34098       fi
34099       rm -f conftest.c conftest.o conftest
34100     fi
34101     if test "$ac_gcsections" = "yes"; then
34102       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34103     fi
34104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34105 $as_echo "$ac_gcsections" >&6; }
34106
34107     if test "$ac_test_CFLAGS" = set; then
34108       CFLAGS="$ac_save_CFLAGS"
34109     else
34110       # this is the suspicious part
34111       CFLAGS=''
34112     fi
34113   fi
34114
34115   # Set -z,relro.
34116   # Note this is only for shared objects.
34117   ac_ld_relro=no
34118   if test x"$with_gnu_ld" = x"yes"; then
34119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34120 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34121     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34122     if test -n "$cxx_z_relo"; then
34123       OPT_LDFLAGS="-Wl,-z,relro"
34124       ac_ld_relro=yes
34125     fi
34126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34127 $as_echo "$ac_ld_relro" >&6; }
34128   fi
34129
34130   # Set linker optimization flags.
34131   if test x"$with_gnu_ld" = x"yes"; then
34132     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34133   fi
34134
34135
34136
34137
34138
34139   ac_test_CXXFLAGS="${CXXFLAGS+set}"
34140   ac_save_CXXFLAGS="$CXXFLAGS"
34141   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34142
34143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34144 $as_echo_n "checking for sin in -lm... " >&6; }
34145 if test "${ac_cv_lib_m_sin+set}" = set; then :
34146   $as_echo_n "(cached) " >&6
34147 else
34148   ac_check_lib_save_LIBS=$LIBS
34149 LIBS="-lm  $LIBS"
34150 if test x$gcc_no_link = xyes; then
34151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34152 fi
34153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34154 /* end confdefs.h.  */
34155
34156 /* Override any GCC internal prototype to avoid an error.
34157    Use char because int might match the return type of a GCC
34158    builtin and then its argument prototype would still apply.  */
34159 #ifdef __cplusplus
34160 extern "C"
34161 #endif
34162 char sin ();
34163 int
34164 main ()
34165 {
34166 return sin ();
34167   ;
34168   return 0;
34169 }
34170 _ACEOF
34171 if ac_fn_c_try_link "$LINENO"; then :
34172   ac_cv_lib_m_sin=yes
34173 else
34174   ac_cv_lib_m_sin=no
34175 fi
34176 rm -f core conftest.err conftest.$ac_objext \
34177     conftest$ac_exeext conftest.$ac_ext
34178 LIBS=$ac_check_lib_save_LIBS
34179 fi
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34181 $as_echo "$ac_cv_lib_m_sin" >&6; }
34182 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34183   libm="-lm"
34184 fi
34185
34186   ac_save_LIBS="$LIBS"
34187   LIBS="$LIBS $libm"
34188
34189
34190
34191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34192 $as_echo_n "checking for isinf declaration... " >&6; }
34193   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34194     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34195   $as_echo_n "(cached) " >&6
34196 else
34197
34198
34199       ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h.  */
34207 #include <math.h>
34208                       #ifdef HAVE_IEEEFP_H
34209                       #include <ieeefp.h>
34210                       #endif
34211
34212 int
34213 main ()
34214 {
34215  isinf(0);
34216   ;
34217   return 0;
34218 }
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221   glibcxx_cv_func_isinf_use=yes
34222 else
34223   glibcxx_cv_func_isinf_use=no
34224 fi
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226       ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231
34232
34233 fi
34234
34235   fi
34236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34237 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34238
34239   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34240     for ac_func in isinf
34241 do :
34242   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34243 if test "x$ac_cv_func_isinf" = x""yes; then :
34244   cat >>confdefs.h <<_ACEOF
34245 #define HAVE_ISINF 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251   else
34252
34253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34254 $as_echo_n "checking for _isinf declaration... " >&6; }
34255   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34256     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34257   $as_echo_n "(cached) " >&6
34258 else
34259
34260
34261       ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266
34267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h.  */
34269 #include <math.h>
34270                       #ifdef HAVE_IEEEFP_H
34271                       #include <ieeefp.h>
34272                       #endif
34273
34274 int
34275 main ()
34276 {
34277  _isinf(0);
34278   ;
34279   return 0;
34280 }
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283   glibcxx_cv_func__isinf_use=yes
34284 else
34285   glibcxx_cv_func__isinf_use=no
34286 fi
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288       ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34293
34294
34295 fi
34296
34297   fi
34298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34299 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34300
34301     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34302       for ac_func in _isinf
34303 do :
34304   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34305 if test "x$ac_cv_func__isinf" = x""yes; then :
34306   cat >>confdefs.h <<_ACEOF
34307 #define HAVE__ISINF 1
34308 _ACEOF
34309
34310 fi
34311 done
34312
34313     fi
34314   fi
34315
34316
34317
34318
34319
34320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34321 $as_echo_n "checking for isnan declaration... " >&6; }
34322   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34323     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34324   $as_echo_n "(cached) " >&6
34325 else
34326
34327
34328       ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333
34334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h.  */
34336 #include <math.h>
34337                       #ifdef HAVE_IEEEFP_H
34338                       #include <ieeefp.h>
34339                       #endif
34340
34341 int
34342 main ()
34343 {
34344  isnan(0);
34345   ;
34346   return 0;
34347 }
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350   glibcxx_cv_func_isnan_use=yes
34351 else
34352   glibcxx_cv_func_isnan_use=no
34353 fi
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355       ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360
34361
34362 fi
34363
34364   fi
34365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34366 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34367
34368   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34369     for ac_func in isnan
34370 do :
34371   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34372 if test "x$ac_cv_func_isnan" = x""yes; then :
34373   cat >>confdefs.h <<_ACEOF
34374 #define HAVE_ISNAN 1
34375 _ACEOF
34376
34377 fi
34378 done
34379
34380   else
34381
34382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34383 $as_echo_n "checking for _isnan declaration... " >&6; }
34384   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34385     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34386   $as_echo_n "(cached) " >&6
34387 else
34388
34389
34390       ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34395
34396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h.  */
34398 #include <math.h>
34399                       #ifdef HAVE_IEEEFP_H
34400                       #include <ieeefp.h>
34401                       #endif
34402
34403 int
34404 main ()
34405 {
34406  _isnan(0);
34407   ;
34408   return 0;
34409 }
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412   glibcxx_cv_func__isnan_use=yes
34413 else
34414   glibcxx_cv_func__isnan_use=no
34415 fi
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417       ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422
34423
34424 fi
34425
34426   fi
34427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34428 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34429
34430     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34431       for ac_func in _isnan
34432 do :
34433   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34434 if test "x$ac_cv_func__isnan" = x""yes; then :
34435   cat >>confdefs.h <<_ACEOF
34436 #define HAVE__ISNAN 1
34437 _ACEOF
34438
34439 fi
34440 done
34441
34442     fi
34443   fi
34444
34445
34446
34447
34448
34449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34450 $as_echo_n "checking for finite declaration... " >&6; }
34451   if test x${glibcxx_cv_func_finite_use+set} != xset; then
34452     if test "${glibcxx_cv_func_finite_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                       #ifdef HAVE_IEEEFP_H
34467                       #include <ieeefp.h>
34468                       #endif
34469
34470 int
34471 main ()
34472 {
34473  finite(0);
34474   ;
34475   return 0;
34476 }
34477 _ACEOF
34478 if ac_fn_cxx_try_compile "$LINENO"; then :
34479   glibcxx_cv_func_finite_use=yes
34480 else
34481   glibcxx_cv_func_finite_use=no
34482 fi
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484       ac_ext=c
34485 ac_cpp='$CPP $CPPFLAGS'
34486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489
34490
34491 fi
34492
34493   fi
34494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34495 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34496
34497   if test x$glibcxx_cv_func_finite_use = x"yes"; then
34498     for ac_func in finite
34499 do :
34500   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34501 if test "x$ac_cv_func_finite" = x""yes; then :
34502   cat >>confdefs.h <<_ACEOF
34503 #define HAVE_FINITE 1
34504 _ACEOF
34505
34506 fi
34507 done
34508
34509   else
34510
34511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34512 $as_echo_n "checking for _finite declaration... " >&6; }
34513   if test x${glibcxx_cv_func__finite_use+set} != xset; then
34514     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34515   $as_echo_n "(cached) " >&6
34516 else
34517
34518
34519       ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34524
34525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h.  */
34527 #include <math.h>
34528                       #ifdef HAVE_IEEEFP_H
34529                       #include <ieeefp.h>
34530                       #endif
34531
34532 int
34533 main ()
34534 {
34535  _finite(0);
34536   ;
34537   return 0;
34538 }
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541   glibcxx_cv_func__finite_use=yes
34542 else
34543   glibcxx_cv_func__finite_use=no
34544 fi
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546       ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34551
34552
34553 fi
34554
34555   fi
34556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34557 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34558
34559     if test x$glibcxx_cv_func__finite_use = x"yes"; then
34560       for ac_func in _finite
34561 do :
34562   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34563 if test "x$ac_cv_func__finite" = x""yes; then :
34564   cat >>confdefs.h <<_ACEOF
34565 #define HAVE__FINITE 1
34566 _ACEOF
34567
34568 fi
34569 done
34570
34571     fi
34572   fi
34573
34574
34575
34576
34577
34578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34579 $as_echo_n "checking for sincos declaration... " >&6; }
34580   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34581     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34582   $as_echo_n "(cached) " >&6
34583 else
34584
34585
34586       ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34591
34592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h.  */
34594 #include <math.h>
34595 int
34596 main ()
34597 {
34598  sincos(0, 0, 0);
34599   ;
34600   return 0;
34601 }
34602 _ACEOF
34603 if ac_fn_cxx_try_compile "$LINENO"; then :
34604   glibcxx_cv_func_sincos_use=yes
34605 else
34606   glibcxx_cv_func_sincos_use=no
34607 fi
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609       ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34614
34615
34616 fi
34617
34618   fi
34619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34620 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34621
34622   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34623     for ac_func in sincos
34624 do :
34625   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34626 if test "x$ac_cv_func_sincos" = x""yes; then :
34627   cat >>confdefs.h <<_ACEOF
34628 #define HAVE_SINCOS 1
34629 _ACEOF
34630
34631 fi
34632 done
34633
34634   else
34635
34636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34637 $as_echo_n "checking for _sincos declaration... " >&6; }
34638   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34639     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34640   $as_echo_n "(cached) " >&6
34641 else
34642
34643
34644       ac_ext=cpp
34645 ac_cpp='$CXXCPP $CPPFLAGS'
34646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34649
34650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34651 /* end confdefs.h.  */
34652 #include <math.h>
34653 int
34654 main ()
34655 {
34656  _sincos(0, 0, 0);
34657   ;
34658   return 0;
34659 }
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662   glibcxx_cv_func__sincos_use=yes
34663 else
34664   glibcxx_cv_func__sincos_use=no
34665 fi
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667       ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34672
34673
34674 fi
34675
34676   fi
34677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34678 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34679
34680     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34681       for ac_func in _sincos
34682 do :
34683   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34684 if test "x$ac_cv_func__sincos" = x""yes; then :
34685   cat >>confdefs.h <<_ACEOF
34686 #define HAVE__SINCOS 1
34687 _ACEOF
34688
34689 fi
34690 done
34691
34692     fi
34693   fi
34694
34695
34696
34697
34698
34699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34700 $as_echo_n "checking for fpclass declaration... " >&6; }
34701   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34702     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34703   $as_echo_n "(cached) " >&6
34704 else
34705
34706
34707       ac_ext=cpp
34708 ac_cpp='$CXXCPP $CPPFLAGS'
34709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34712
34713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34714 /* end confdefs.h.  */
34715 #include <math.h>
34716                       #ifdef HAVE_IEEEFP_H
34717                       #include <ieeefp.h>
34718                       #endif
34719
34720 int
34721 main ()
34722 {
34723  fpclass(0);
34724   ;
34725   return 0;
34726 }
34727 _ACEOF
34728 if ac_fn_cxx_try_compile "$LINENO"; then :
34729   glibcxx_cv_func_fpclass_use=yes
34730 else
34731   glibcxx_cv_func_fpclass_use=no
34732 fi
34733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34734       ac_ext=c
34735 ac_cpp='$CPP $CPPFLAGS'
34736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34739
34740
34741 fi
34742
34743   fi
34744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34745 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34746
34747   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34748     for ac_func in fpclass
34749 do :
34750   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34751 if test "x$ac_cv_func_fpclass" = x""yes; then :
34752   cat >>confdefs.h <<_ACEOF
34753 #define HAVE_FPCLASS 1
34754 _ACEOF
34755
34756 fi
34757 done
34758
34759   else
34760
34761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34762 $as_echo_n "checking for _fpclass declaration... " >&6; }
34763   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34764     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34765   $as_echo_n "(cached) " >&6
34766 else
34767
34768
34769       ac_ext=cpp
34770 ac_cpp='$CXXCPP $CPPFLAGS'
34771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34774
34775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34776 /* end confdefs.h.  */
34777 #include <math.h>
34778                       #ifdef HAVE_IEEEFP_H
34779                       #include <ieeefp.h>
34780                       #endif
34781
34782 int
34783 main ()
34784 {
34785  _fpclass(0);
34786   ;
34787   return 0;
34788 }
34789 _ACEOF
34790 if ac_fn_cxx_try_compile "$LINENO"; then :
34791   glibcxx_cv_func__fpclass_use=yes
34792 else
34793   glibcxx_cv_func__fpclass_use=no
34794 fi
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796       ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801
34802
34803 fi
34804
34805   fi
34806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34807 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34808
34809     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34810       for ac_func in _fpclass
34811 do :
34812   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34813 if test "x$ac_cv_func__fpclass" = x""yes; then :
34814   cat >>confdefs.h <<_ACEOF
34815 #define HAVE__FPCLASS 1
34816 _ACEOF
34817
34818 fi
34819 done
34820
34821     fi
34822   fi
34823
34824
34825
34826
34827
34828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34829 $as_echo_n "checking for qfpclass declaration... " >&6; }
34830   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34831     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34832   $as_echo_n "(cached) " >&6
34833 else
34834
34835
34836       ac_ext=cpp
34837 ac_cpp='$CXXCPP $CPPFLAGS'
34838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34841
34842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34843 /* end confdefs.h.  */
34844 #include <math.h>
34845                       #ifdef HAVE_IEEEFP_H
34846                       #include <ieeefp.h>
34847                       #endif
34848
34849 int
34850 main ()
34851 {
34852  qfpclass(0);
34853   ;
34854   return 0;
34855 }
34856 _ACEOF
34857 if ac_fn_cxx_try_compile "$LINENO"; then :
34858   glibcxx_cv_func_qfpclass_use=yes
34859 else
34860   glibcxx_cv_func_qfpclass_use=no
34861 fi
34862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34863       ac_ext=c
34864 ac_cpp='$CPP $CPPFLAGS'
34865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34868
34869
34870 fi
34871
34872   fi
34873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34874 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34875
34876   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34877     for ac_func in qfpclass
34878 do :
34879   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34880 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34881   cat >>confdefs.h <<_ACEOF
34882 #define HAVE_QFPCLASS 1
34883 _ACEOF
34884
34885 fi
34886 done
34887
34888   else
34889
34890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34891 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34892   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34893     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34894   $as_echo_n "(cached) " >&6
34895 else
34896
34897
34898       ac_ext=cpp
34899 ac_cpp='$CXXCPP $CPPFLAGS'
34900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34903
34904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34905 /* end confdefs.h.  */
34906 #include <math.h>
34907                       #ifdef HAVE_IEEEFP_H
34908                       #include <ieeefp.h>
34909                       #endif
34910
34911 int
34912 main ()
34913 {
34914  _qfpclass(0);
34915   ;
34916   return 0;
34917 }
34918 _ACEOF
34919 if ac_fn_cxx_try_compile "$LINENO"; then :
34920   glibcxx_cv_func__qfpclass_use=yes
34921 else
34922   glibcxx_cv_func__qfpclass_use=no
34923 fi
34924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34925       ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34930
34931
34932 fi
34933
34934   fi
34935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34936 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34937
34938     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34939       for ac_func in _qfpclass
34940 do :
34941   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34942 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34943   cat >>confdefs.h <<_ACEOF
34944 #define HAVE__QFPCLASS 1
34945 _ACEOF
34946
34947 fi
34948 done
34949
34950     fi
34951   fi
34952
34953
34954
34955
34956
34957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34958 $as_echo_n "checking for hypot declaration... " >&6; }
34959   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34960     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34961   $as_echo_n "(cached) " >&6
34962 else
34963
34964
34965       ac_ext=cpp
34966 ac_cpp='$CXXCPP $CPPFLAGS'
34967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34970
34971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34972 /* end confdefs.h.  */
34973 #include <math.h>
34974 int
34975 main ()
34976 {
34977  hypot(0, 0);
34978   ;
34979   return 0;
34980 }
34981 _ACEOF
34982 if ac_fn_cxx_try_compile "$LINENO"; then :
34983   glibcxx_cv_func_hypot_use=yes
34984 else
34985   glibcxx_cv_func_hypot_use=no
34986 fi
34987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34988       ac_ext=c
34989 ac_cpp='$CPP $CPPFLAGS'
34990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34993
34994
34995 fi
34996
34997   fi
34998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34999 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35000
35001   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35002     for ac_func in hypot
35003 do :
35004   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35005 if test "x$ac_cv_func_hypot" = x""yes; then :
35006   cat >>confdefs.h <<_ACEOF
35007 #define HAVE_HYPOT 1
35008 _ACEOF
35009
35010 fi
35011 done
35012
35013   else
35014
35015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35016 $as_echo_n "checking for _hypot declaration... " >&6; }
35017   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35018     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35019   $as_echo_n "(cached) " >&6
35020 else
35021
35022
35023       ac_ext=cpp
35024 ac_cpp='$CXXCPP $CPPFLAGS'
35025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35028
35029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h.  */
35031 #include <math.h>
35032 int
35033 main ()
35034 {
35035  _hypot(0, 0);
35036   ;
35037   return 0;
35038 }
35039 _ACEOF
35040 if ac_fn_cxx_try_compile "$LINENO"; then :
35041   glibcxx_cv_func__hypot_use=yes
35042 else
35043   glibcxx_cv_func__hypot_use=no
35044 fi
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35046       ac_ext=c
35047 ac_cpp='$CPP $CPPFLAGS'
35048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35051
35052
35053 fi
35054
35055   fi
35056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35057 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35058
35059     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35060       for ac_func in _hypot
35061 do :
35062   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35063 if test "x$ac_cv_func__hypot" = x""yes; then :
35064   cat >>confdefs.h <<_ACEOF
35065 #define HAVE__HYPOT 1
35066 _ACEOF
35067
35068 fi
35069 done
35070
35071     fi
35072   fi
35073
35074
35075
35076
35077
35078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35079 $as_echo_n "checking for float trig functions... " >&6; }
35080   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35081   $as_echo_n "(cached) " >&6
35082 else
35083
35084
35085     ac_ext=cpp
35086 ac_cpp='$CXXCPP $CPPFLAGS'
35087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35090
35091     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35092 /* end confdefs.h.  */
35093 #include <math.h>
35094 int
35095 main ()
35096 {
35097 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35098   ;
35099   return 0;
35100 }
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103   glibcxx_cv_func_float_trig_use=yes
35104 else
35105   glibcxx_cv_func_float_trig_use=no
35106 fi
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108     ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113
35114 fi
35115
35116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35117 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35118   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35119     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35120 do :
35121   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35123 eval as_val=\$$as_ac_var
35124    if test "x$as_val" = x""yes; then :
35125   cat >>confdefs.h <<_ACEOF
35126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35127 _ACEOF
35128
35129 fi
35130 done
35131
35132   else
35133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35134 $as_echo_n "checking for _float trig functions... " >&6; }
35135     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35136   $as_echo_n "(cached) " >&6
35137 else
35138
35139
35140       ac_ext=cpp
35141 ac_cpp='$CXXCPP $CPPFLAGS'
35142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35145
35146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35147 /* end confdefs.h.  */
35148 #include <math.h>
35149 int
35150 main ()
35151 {
35152 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35153   ;
35154   return 0;
35155 }
35156 _ACEOF
35157 if ac_fn_cxx_try_compile "$LINENO"; then :
35158   glibcxx_cv_func__float_trig_use=yes
35159 else
35160   glibcxx_cv_func__float_trig_use=no
35161 fi
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163       ac_ext=c
35164 ac_cpp='$CPP $CPPFLAGS'
35165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35168
35169 fi
35170
35171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35172 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35173     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35174       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35175 do :
35176   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35178 eval as_val=\$$as_ac_var
35179    if test "x$as_val" = x""yes; then :
35180   cat >>confdefs.h <<_ACEOF
35181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35182 _ACEOF
35183
35184 fi
35185 done
35186
35187     fi
35188   fi
35189
35190
35191
35192
35193
35194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35195 $as_echo_n "checking for float round functions... " >&6; }
35196   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35197   $as_echo_n "(cached) " >&6
35198 else
35199
35200
35201     ac_ext=cpp
35202 ac_cpp='$CXXCPP $CPPFLAGS'
35203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35206
35207     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35208 /* end confdefs.h.  */
35209 #include <math.h>
35210 int
35211 main ()
35212 {
35213 ceilf (0); floorf (0);
35214   ;
35215   return 0;
35216 }
35217 _ACEOF
35218 if ac_fn_cxx_try_compile "$LINENO"; then :
35219   glibcxx_cv_func_float_round_use=yes
35220 else
35221   glibcxx_cv_func_float_round_use=no
35222 fi
35223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35224     ac_ext=c
35225 ac_cpp='$CPP $CPPFLAGS'
35226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35229
35230 fi
35231
35232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35233 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35234   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35235     for ac_func in ceilf floorf
35236 do :
35237   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35239 eval as_val=\$$as_ac_var
35240    if test "x$as_val" = x""yes; then :
35241   cat >>confdefs.h <<_ACEOF
35242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35243 _ACEOF
35244
35245 fi
35246 done
35247
35248   else
35249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35250 $as_echo_n "checking for _float round functions... " >&6; }
35251     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35252   $as_echo_n "(cached) " >&6
35253 else
35254
35255
35256       ac_ext=cpp
35257 ac_cpp='$CXXCPP $CPPFLAGS'
35258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35261
35262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35263 /* end confdefs.h.  */
35264 #include <math.h>
35265 int
35266 main ()
35267 {
35268 _ceilf (0); _floorf (0);
35269   ;
35270   return 0;
35271 }
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274   glibcxx_cv_func__float_round_use=yes
35275 else
35276   glibcxx_cv_func__float_round_use=no
35277 fi
35278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279       ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35284
35285 fi
35286
35287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35288 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35289     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35290       for ac_func in _ceilf _floorf
35291 do :
35292   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35294 eval as_val=\$$as_ac_var
35295    if test "x$as_val" = x""yes; then :
35296   cat >>confdefs.h <<_ACEOF
35297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35298 _ACEOF
35299
35300 fi
35301 done
35302
35303     fi
35304   fi
35305
35306
35307
35308
35309
35310
35311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35312 $as_echo_n "checking for expf declaration... " >&6; }
35313   if test x${glibcxx_cv_func_expf_use+set} != xset; then
35314     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35315   $as_echo_n "(cached) " >&6
35316 else
35317
35318
35319       ac_ext=cpp
35320 ac_cpp='$CXXCPP $CPPFLAGS'
35321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324
35325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35326 /* end confdefs.h.  */
35327 #include <math.h>
35328                       #ifdef HAVE_IEEEFP_H
35329                       #include <ieeefp.h>
35330                       #endif
35331
35332 int
35333 main ()
35334 {
35335  expf(0);
35336   ;
35337   return 0;
35338 }
35339 _ACEOF
35340 if ac_fn_cxx_try_compile "$LINENO"; then :
35341   glibcxx_cv_func_expf_use=yes
35342 else
35343   glibcxx_cv_func_expf_use=no
35344 fi
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35346       ac_ext=c
35347 ac_cpp='$CPP $CPPFLAGS'
35348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35351
35352
35353 fi
35354
35355   fi
35356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35357 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35358
35359   if test x$glibcxx_cv_func_expf_use = x"yes"; then
35360     for ac_func in expf
35361 do :
35362   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35363 if test "x$ac_cv_func_expf" = x""yes; then :
35364   cat >>confdefs.h <<_ACEOF
35365 #define HAVE_EXPF 1
35366 _ACEOF
35367
35368 fi
35369 done
35370
35371   else
35372
35373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35374 $as_echo_n "checking for _expf declaration... " >&6; }
35375   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35376     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35377   $as_echo_n "(cached) " >&6
35378 else
35379
35380
35381       ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35386
35387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h.  */
35389 #include <math.h>
35390                       #ifdef HAVE_IEEEFP_H
35391                       #include <ieeefp.h>
35392                       #endif
35393
35394 int
35395 main ()
35396 {
35397  _expf(0);
35398   ;
35399   return 0;
35400 }
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403   glibcxx_cv_func__expf_use=yes
35404 else
35405   glibcxx_cv_func__expf_use=no
35406 fi
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408       ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35413
35414
35415 fi
35416
35417   fi
35418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35419 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35420
35421     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35422       for ac_func in _expf
35423 do :
35424   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35425 if test "x$ac_cv_func__expf" = x""yes; then :
35426   cat >>confdefs.h <<_ACEOF
35427 #define HAVE__EXPF 1
35428 _ACEOF
35429
35430 fi
35431 done
35432
35433     fi
35434   fi
35435
35436
35437
35438
35439
35440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35441 $as_echo_n "checking for isnanf declaration... " >&6; }
35442   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35443     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35444   $as_echo_n "(cached) " >&6
35445 else
35446
35447
35448       ac_ext=cpp
35449 ac_cpp='$CXXCPP $CPPFLAGS'
35450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35453
35454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455 /* end confdefs.h.  */
35456 #include <math.h>
35457                       #ifdef HAVE_IEEEFP_H
35458                       #include <ieeefp.h>
35459                       #endif
35460
35461 int
35462 main ()
35463 {
35464  isnanf(0);
35465   ;
35466   return 0;
35467 }
35468 _ACEOF
35469 if ac_fn_cxx_try_compile "$LINENO"; then :
35470   glibcxx_cv_func_isnanf_use=yes
35471 else
35472   glibcxx_cv_func_isnanf_use=no
35473 fi
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475       ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480
35481
35482 fi
35483
35484   fi
35485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35486 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35487
35488   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35489     for ac_func in isnanf
35490 do :
35491   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35492 if test "x$ac_cv_func_isnanf" = x""yes; then :
35493   cat >>confdefs.h <<_ACEOF
35494 #define HAVE_ISNANF 1
35495 _ACEOF
35496
35497 fi
35498 done
35499
35500   else
35501
35502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35503 $as_echo_n "checking for _isnanf declaration... " >&6; }
35504   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35505     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35506   $as_echo_n "(cached) " >&6
35507 else
35508
35509
35510       ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35515
35516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h.  */
35518 #include <math.h>
35519                       #ifdef HAVE_IEEEFP_H
35520                       #include <ieeefp.h>
35521                       #endif
35522
35523 int
35524 main ()
35525 {
35526  _isnanf(0);
35527   ;
35528   return 0;
35529 }
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532   glibcxx_cv_func__isnanf_use=yes
35533 else
35534   glibcxx_cv_func__isnanf_use=no
35535 fi
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537       ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35542
35543
35544 fi
35545
35546   fi
35547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35548 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35549
35550     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35551       for ac_func in _isnanf
35552 do :
35553   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35554 if test "x$ac_cv_func__isnanf" = x""yes; then :
35555   cat >>confdefs.h <<_ACEOF
35556 #define HAVE__ISNANF 1
35557 _ACEOF
35558
35559 fi
35560 done
35561
35562     fi
35563   fi
35564
35565
35566
35567
35568
35569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35570 $as_echo_n "checking for isinff declaration... " >&6; }
35571   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35572     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35573   $as_echo_n "(cached) " >&6
35574 else
35575
35576
35577       ac_ext=cpp
35578 ac_cpp='$CXXCPP $CPPFLAGS'
35579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35582
35583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35584 /* end confdefs.h.  */
35585 #include <math.h>
35586                       #ifdef HAVE_IEEEFP_H
35587                       #include <ieeefp.h>
35588                       #endif
35589
35590 int
35591 main ()
35592 {
35593  isinff(0);
35594   ;
35595   return 0;
35596 }
35597 _ACEOF
35598 if ac_fn_cxx_try_compile "$LINENO"; then :
35599   glibcxx_cv_func_isinff_use=yes
35600 else
35601   glibcxx_cv_func_isinff_use=no
35602 fi
35603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35604       ac_ext=c
35605 ac_cpp='$CPP $CPPFLAGS'
35606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35609
35610
35611 fi
35612
35613   fi
35614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35615 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35616
35617   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35618     for ac_func in isinff
35619 do :
35620   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35621 if test "x$ac_cv_func_isinff" = x""yes; then :
35622   cat >>confdefs.h <<_ACEOF
35623 #define HAVE_ISINFF 1
35624 _ACEOF
35625
35626 fi
35627 done
35628
35629   else
35630
35631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35632 $as_echo_n "checking for _isinff declaration... " >&6; }
35633   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35634     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35635   $as_echo_n "(cached) " >&6
35636 else
35637
35638
35639       ac_ext=cpp
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35644
35645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35646 /* end confdefs.h.  */
35647 #include <math.h>
35648                       #ifdef HAVE_IEEEFP_H
35649                       #include <ieeefp.h>
35650                       #endif
35651
35652 int
35653 main ()
35654 {
35655  _isinff(0);
35656   ;
35657   return 0;
35658 }
35659 _ACEOF
35660 if ac_fn_cxx_try_compile "$LINENO"; then :
35661   glibcxx_cv_func__isinff_use=yes
35662 else
35663   glibcxx_cv_func__isinff_use=no
35664 fi
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666       ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35671
35672
35673 fi
35674
35675   fi
35676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35677 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35678
35679     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35680       for ac_func in _isinff
35681 do :
35682   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35683 if test "x$ac_cv_func__isinff" = x""yes; then :
35684   cat >>confdefs.h <<_ACEOF
35685 #define HAVE__ISINFF 1
35686 _ACEOF
35687
35688 fi
35689 done
35690
35691     fi
35692   fi
35693
35694
35695
35696
35697
35698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35699 $as_echo_n "checking for atan2f declaration... " >&6; }
35700   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35701     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35702   $as_echo_n "(cached) " >&6
35703 else
35704
35705
35706       ac_ext=cpp
35707 ac_cpp='$CXXCPP $CPPFLAGS'
35708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35711
35712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35713 /* end confdefs.h.  */
35714 #include <math.h>
35715 int
35716 main ()
35717 {
35718  atan2f(0, 0);
35719   ;
35720   return 0;
35721 }
35722 _ACEOF
35723 if ac_fn_cxx_try_compile "$LINENO"; then :
35724   glibcxx_cv_func_atan2f_use=yes
35725 else
35726   glibcxx_cv_func_atan2f_use=no
35727 fi
35728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35729       ac_ext=c
35730 ac_cpp='$CPP $CPPFLAGS'
35731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35734
35735
35736 fi
35737
35738   fi
35739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35740 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35741
35742   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35743     for ac_func in atan2f
35744 do :
35745   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35746 if test "x$ac_cv_func_atan2f" = x""yes; then :
35747   cat >>confdefs.h <<_ACEOF
35748 #define HAVE_ATAN2F 1
35749 _ACEOF
35750
35751 fi
35752 done
35753
35754   else
35755
35756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35757 $as_echo_n "checking for _atan2f declaration... " >&6; }
35758   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35759     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35760   $as_echo_n "(cached) " >&6
35761 else
35762
35763
35764       ac_ext=cpp
35765 ac_cpp='$CXXCPP $CPPFLAGS'
35766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35769
35770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35771 /* end confdefs.h.  */
35772 #include <math.h>
35773 int
35774 main ()
35775 {
35776  _atan2f(0, 0);
35777   ;
35778   return 0;
35779 }
35780 _ACEOF
35781 if ac_fn_cxx_try_compile "$LINENO"; then :
35782   glibcxx_cv_func__atan2f_use=yes
35783 else
35784   glibcxx_cv_func__atan2f_use=no
35785 fi
35786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35787       ac_ext=c
35788 ac_cpp='$CPP $CPPFLAGS'
35789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35792
35793
35794 fi
35795
35796   fi
35797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35798 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35799
35800     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35801       for ac_func in _atan2f
35802 do :
35803   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35804 if test "x$ac_cv_func__atan2f" = x""yes; then :
35805   cat >>confdefs.h <<_ACEOF
35806 #define HAVE__ATAN2F 1
35807 _ACEOF
35808
35809 fi
35810 done
35811
35812     fi
35813   fi
35814
35815
35816
35817
35818
35819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35820 $as_echo_n "checking for fabsf declaration... " >&6; }
35821   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35822     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35823   $as_echo_n "(cached) " >&6
35824 else
35825
35826
35827       ac_ext=cpp
35828 ac_cpp='$CXXCPP $CPPFLAGS'
35829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832
35833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35834 /* end confdefs.h.  */
35835 #include <math.h>
35836                       #ifdef HAVE_IEEEFP_H
35837                       #include <ieeefp.h>
35838                       #endif
35839
35840 int
35841 main ()
35842 {
35843  fabsf(0);
35844   ;
35845   return 0;
35846 }
35847 _ACEOF
35848 if ac_fn_cxx_try_compile "$LINENO"; then :
35849   glibcxx_cv_func_fabsf_use=yes
35850 else
35851   glibcxx_cv_func_fabsf_use=no
35852 fi
35853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35854       ac_ext=c
35855 ac_cpp='$CPP $CPPFLAGS'
35856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859
35860
35861 fi
35862
35863   fi
35864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35865 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35866
35867   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35868     for ac_func in fabsf
35869 do :
35870   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35871 if test "x$ac_cv_func_fabsf" = x""yes; then :
35872   cat >>confdefs.h <<_ACEOF
35873 #define HAVE_FABSF 1
35874 _ACEOF
35875
35876 fi
35877 done
35878
35879   else
35880
35881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35882 $as_echo_n "checking for _fabsf declaration... " >&6; }
35883   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35884     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35885   $as_echo_n "(cached) " >&6
35886 else
35887
35888
35889       ac_ext=cpp
35890 ac_cpp='$CXXCPP $CPPFLAGS'
35891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35894
35895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35896 /* end confdefs.h.  */
35897 #include <math.h>
35898                       #ifdef HAVE_IEEEFP_H
35899                       #include <ieeefp.h>
35900                       #endif
35901
35902 int
35903 main ()
35904 {
35905  _fabsf(0);
35906   ;
35907   return 0;
35908 }
35909 _ACEOF
35910 if ac_fn_cxx_try_compile "$LINENO"; then :
35911   glibcxx_cv_func__fabsf_use=yes
35912 else
35913   glibcxx_cv_func__fabsf_use=no
35914 fi
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916       ac_ext=c
35917 ac_cpp='$CPP $CPPFLAGS'
35918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35921
35922
35923 fi
35924
35925   fi
35926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35927 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35928
35929     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35930       for ac_func in _fabsf
35931 do :
35932   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35933 if test "x$ac_cv_func__fabsf" = x""yes; then :
35934   cat >>confdefs.h <<_ACEOF
35935 #define HAVE__FABSF 1
35936 _ACEOF
35937
35938 fi
35939 done
35940
35941     fi
35942   fi
35943
35944
35945
35946
35947
35948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35949 $as_echo_n "checking for fmodf declaration... " >&6; }
35950   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35951     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35952   $as_echo_n "(cached) " >&6
35953 else
35954
35955
35956       ac_ext=cpp
35957 ac_cpp='$CXXCPP $CPPFLAGS'
35958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35961
35962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35963 /* end confdefs.h.  */
35964 #include <math.h>
35965 int
35966 main ()
35967 {
35968  fmodf(0, 0);
35969   ;
35970   return 0;
35971 }
35972 _ACEOF
35973 if ac_fn_cxx_try_compile "$LINENO"; then :
35974   glibcxx_cv_func_fmodf_use=yes
35975 else
35976   glibcxx_cv_func_fmodf_use=no
35977 fi
35978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35979       ac_ext=c
35980 ac_cpp='$CPP $CPPFLAGS'
35981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35984
35985
35986 fi
35987
35988   fi
35989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35990 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35991
35992   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35993     for ac_func in fmodf
35994 do :
35995   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35996 if test "x$ac_cv_func_fmodf" = x""yes; then :
35997   cat >>confdefs.h <<_ACEOF
35998 #define HAVE_FMODF 1
35999 _ACEOF
36000
36001 fi
36002 done
36003
36004   else
36005
36006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36007 $as_echo_n "checking for _fmodf declaration... " >&6; }
36008   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36009     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36010   $as_echo_n "(cached) " >&6
36011 else
36012
36013
36014       ac_ext=cpp
36015 ac_cpp='$CXXCPP $CPPFLAGS'
36016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36019
36020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36021 /* end confdefs.h.  */
36022 #include <math.h>
36023 int
36024 main ()
36025 {
36026  _fmodf(0, 0);
36027   ;
36028   return 0;
36029 }
36030 _ACEOF
36031 if ac_fn_cxx_try_compile "$LINENO"; then :
36032   glibcxx_cv_func__fmodf_use=yes
36033 else
36034   glibcxx_cv_func__fmodf_use=no
36035 fi
36036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36037       ac_ext=c
36038 ac_cpp='$CPP $CPPFLAGS'
36039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36042
36043
36044 fi
36045
36046   fi
36047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36048 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36049
36050     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36051       for ac_func in _fmodf
36052 do :
36053   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36054 if test "x$ac_cv_func__fmodf" = x""yes; then :
36055   cat >>confdefs.h <<_ACEOF
36056 #define HAVE__FMODF 1
36057 _ACEOF
36058
36059 fi
36060 done
36061
36062     fi
36063   fi
36064
36065
36066
36067
36068
36069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36070 $as_echo_n "checking for frexpf declaration... " >&6; }
36071   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36072     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36073   $as_echo_n "(cached) " >&6
36074 else
36075
36076
36077       ac_ext=cpp
36078 ac_cpp='$CXXCPP $CPPFLAGS'
36079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36082
36083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36084 /* end confdefs.h.  */
36085 #include <math.h>
36086 int
36087 main ()
36088 {
36089  frexpf(0, 0);
36090   ;
36091   return 0;
36092 }
36093 _ACEOF
36094 if ac_fn_cxx_try_compile "$LINENO"; then :
36095   glibcxx_cv_func_frexpf_use=yes
36096 else
36097   glibcxx_cv_func_frexpf_use=no
36098 fi
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36100       ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36105
36106
36107 fi
36108
36109   fi
36110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36111 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36112
36113   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36114     for ac_func in frexpf
36115 do :
36116   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36117 if test "x$ac_cv_func_frexpf" = x""yes; then :
36118   cat >>confdefs.h <<_ACEOF
36119 #define HAVE_FREXPF 1
36120 _ACEOF
36121
36122 fi
36123 done
36124
36125   else
36126
36127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36128 $as_echo_n "checking for _frexpf declaration... " >&6; }
36129   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36130     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36131   $as_echo_n "(cached) " >&6
36132 else
36133
36134
36135       ac_ext=cpp
36136 ac_cpp='$CXXCPP $CPPFLAGS'
36137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36140
36141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36142 /* end confdefs.h.  */
36143 #include <math.h>
36144 int
36145 main ()
36146 {
36147  _frexpf(0, 0);
36148   ;
36149   return 0;
36150 }
36151 _ACEOF
36152 if ac_fn_cxx_try_compile "$LINENO"; then :
36153   glibcxx_cv_func__frexpf_use=yes
36154 else
36155   glibcxx_cv_func__frexpf_use=no
36156 fi
36157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36158       ac_ext=c
36159 ac_cpp='$CPP $CPPFLAGS'
36160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36163
36164
36165 fi
36166
36167   fi
36168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36169 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36170
36171     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36172       for ac_func in _frexpf
36173 do :
36174   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36175 if test "x$ac_cv_func__frexpf" = x""yes; then :
36176   cat >>confdefs.h <<_ACEOF
36177 #define HAVE__FREXPF 1
36178 _ACEOF
36179
36180 fi
36181 done
36182
36183     fi
36184   fi
36185
36186
36187
36188
36189
36190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36191 $as_echo_n "checking for hypotf declaration... " >&6; }
36192   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36193     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36194   $as_echo_n "(cached) " >&6
36195 else
36196
36197
36198       ac_ext=cpp
36199 ac_cpp='$CXXCPP $CPPFLAGS'
36200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36203
36204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36205 /* end confdefs.h.  */
36206 #include <math.h>
36207 int
36208 main ()
36209 {
36210  hypotf(0, 0);
36211   ;
36212   return 0;
36213 }
36214 _ACEOF
36215 if ac_fn_cxx_try_compile "$LINENO"; then :
36216   glibcxx_cv_func_hypotf_use=yes
36217 else
36218   glibcxx_cv_func_hypotf_use=no
36219 fi
36220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36221       ac_ext=c
36222 ac_cpp='$CPP $CPPFLAGS'
36223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36226
36227
36228 fi
36229
36230   fi
36231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36232 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36233
36234   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36235     for ac_func in hypotf
36236 do :
36237   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36238 if test "x$ac_cv_func_hypotf" = x""yes; then :
36239   cat >>confdefs.h <<_ACEOF
36240 #define HAVE_HYPOTF 1
36241 _ACEOF
36242
36243 fi
36244 done
36245
36246   else
36247
36248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36249 $as_echo_n "checking for _hypotf declaration... " >&6; }
36250   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36251     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36252   $as_echo_n "(cached) " >&6
36253 else
36254
36255
36256       ac_ext=cpp
36257 ac_cpp='$CXXCPP $CPPFLAGS'
36258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36261
36262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36263 /* end confdefs.h.  */
36264 #include <math.h>
36265 int
36266 main ()
36267 {
36268  _hypotf(0, 0);
36269   ;
36270   return 0;
36271 }
36272 _ACEOF
36273 if ac_fn_cxx_try_compile "$LINENO"; then :
36274   glibcxx_cv_func__hypotf_use=yes
36275 else
36276   glibcxx_cv_func__hypotf_use=no
36277 fi
36278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36279       ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36284
36285
36286 fi
36287
36288   fi
36289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36290 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36291
36292     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36293       for ac_func in _hypotf
36294 do :
36295   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36296 if test "x$ac_cv_func__hypotf" = x""yes; then :
36297   cat >>confdefs.h <<_ACEOF
36298 #define HAVE__HYPOTF 1
36299 _ACEOF
36300
36301 fi
36302 done
36303
36304     fi
36305   fi
36306
36307
36308
36309
36310
36311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36312 $as_echo_n "checking for ldexpf declaration... " >&6; }
36313   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36314     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36315   $as_echo_n "(cached) " >&6
36316 else
36317
36318
36319       ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36324
36325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 /* end confdefs.h.  */
36327 #include <math.h>
36328 int
36329 main ()
36330 {
36331  ldexpf(0, 0);
36332   ;
36333   return 0;
36334 }
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337   glibcxx_cv_func_ldexpf_use=yes
36338 else
36339   glibcxx_cv_func_ldexpf_use=no
36340 fi
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342       ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36347
36348
36349 fi
36350
36351   fi
36352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36353 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36354
36355   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36356     for ac_func in ldexpf
36357 do :
36358   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36359 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36360   cat >>confdefs.h <<_ACEOF
36361 #define HAVE_LDEXPF 1
36362 _ACEOF
36363
36364 fi
36365 done
36366
36367   else
36368
36369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36370 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36371   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36372     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36373   $as_echo_n "(cached) " >&6
36374 else
36375
36376
36377       ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382
36383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h.  */
36385 #include <math.h>
36386 int
36387 main ()
36388 {
36389  _ldexpf(0, 0);
36390   ;
36391   return 0;
36392 }
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395   glibcxx_cv_func__ldexpf_use=yes
36396 else
36397   glibcxx_cv_func__ldexpf_use=no
36398 fi
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400       ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36405
36406
36407 fi
36408
36409   fi
36410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36411 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36412
36413     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36414       for ac_func in _ldexpf
36415 do :
36416   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36417 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36418   cat >>confdefs.h <<_ACEOF
36419 #define HAVE__LDEXPF 1
36420 _ACEOF
36421
36422 fi
36423 done
36424
36425     fi
36426   fi
36427
36428
36429
36430
36431
36432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36433 $as_echo_n "checking for logf declaration... " >&6; }
36434   if test x${glibcxx_cv_func_logf_use+set} != xset; then
36435     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36436   $as_echo_n "(cached) " >&6
36437 else
36438
36439
36440       ac_ext=cpp
36441 ac_cpp='$CXXCPP $CPPFLAGS'
36442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36445
36446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36447 /* end confdefs.h.  */
36448 #include <math.h>
36449                       #ifdef HAVE_IEEEFP_H
36450                       #include <ieeefp.h>
36451                       #endif
36452
36453 int
36454 main ()
36455 {
36456  logf(0);
36457   ;
36458   return 0;
36459 }
36460 _ACEOF
36461 if ac_fn_cxx_try_compile "$LINENO"; then :
36462   glibcxx_cv_func_logf_use=yes
36463 else
36464   glibcxx_cv_func_logf_use=no
36465 fi
36466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36467       ac_ext=c
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36472
36473
36474 fi
36475
36476   fi
36477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36478 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36479
36480   if test x$glibcxx_cv_func_logf_use = x"yes"; then
36481     for ac_func in logf
36482 do :
36483   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36484 if test "x$ac_cv_func_logf" = x""yes; then :
36485   cat >>confdefs.h <<_ACEOF
36486 #define HAVE_LOGF 1
36487 _ACEOF
36488
36489 fi
36490 done
36491
36492   else
36493
36494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36495 $as_echo_n "checking for _logf declaration... " >&6; }
36496   if test x${glibcxx_cv_func__logf_use+set} != xset; then
36497     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36498   $as_echo_n "(cached) " >&6
36499 else
36500
36501
36502       ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36507
36508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36509 /* end confdefs.h.  */
36510 #include <math.h>
36511                       #ifdef HAVE_IEEEFP_H
36512                       #include <ieeefp.h>
36513                       #endif
36514
36515 int
36516 main ()
36517 {
36518  _logf(0);
36519   ;
36520   return 0;
36521 }
36522 _ACEOF
36523 if ac_fn_cxx_try_compile "$LINENO"; then :
36524   glibcxx_cv_func__logf_use=yes
36525 else
36526   glibcxx_cv_func__logf_use=no
36527 fi
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529       ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534
36535
36536 fi
36537
36538   fi
36539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36540 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36541
36542     if test x$glibcxx_cv_func__logf_use = x"yes"; then
36543       for ac_func in _logf
36544 do :
36545   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36546 if test "x$ac_cv_func__logf" = x""yes; then :
36547   cat >>confdefs.h <<_ACEOF
36548 #define HAVE__LOGF 1
36549 _ACEOF
36550
36551 fi
36552 done
36553
36554     fi
36555   fi
36556
36557
36558
36559
36560
36561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36562 $as_echo_n "checking for log10f declaration... " >&6; }
36563   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36564     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36565   $as_echo_n "(cached) " >&6
36566 else
36567
36568
36569       ac_ext=cpp
36570 ac_cpp='$CXXCPP $CPPFLAGS'
36571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36574
36575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36576 /* end confdefs.h.  */
36577 #include <math.h>
36578                       #ifdef HAVE_IEEEFP_H
36579                       #include <ieeefp.h>
36580                       #endif
36581
36582 int
36583 main ()
36584 {
36585  log10f(0);
36586   ;
36587   return 0;
36588 }
36589 _ACEOF
36590 if ac_fn_cxx_try_compile "$LINENO"; then :
36591   glibcxx_cv_func_log10f_use=yes
36592 else
36593   glibcxx_cv_func_log10f_use=no
36594 fi
36595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36596       ac_ext=c
36597 ac_cpp='$CPP $CPPFLAGS'
36598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36601
36602
36603 fi
36604
36605   fi
36606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36607 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36608
36609   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36610     for ac_func in log10f
36611 do :
36612   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36613 if test "x$ac_cv_func_log10f" = x""yes; then :
36614   cat >>confdefs.h <<_ACEOF
36615 #define HAVE_LOG10F 1
36616 _ACEOF
36617
36618 fi
36619 done
36620
36621   else
36622
36623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36624 $as_echo_n "checking for _log10f declaration... " >&6; }
36625   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36626     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36627   $as_echo_n "(cached) " >&6
36628 else
36629
36630
36631       ac_ext=cpp
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36636
36637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36638 /* end confdefs.h.  */
36639 #include <math.h>
36640                       #ifdef HAVE_IEEEFP_H
36641                       #include <ieeefp.h>
36642                       #endif
36643
36644 int
36645 main ()
36646 {
36647  _log10f(0);
36648   ;
36649   return 0;
36650 }
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653   glibcxx_cv_func__log10f_use=yes
36654 else
36655   glibcxx_cv_func__log10f_use=no
36656 fi
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658       ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36663
36664
36665 fi
36666
36667   fi
36668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36669 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36670
36671     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36672       for ac_func in _log10f
36673 do :
36674   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36675 if test "x$ac_cv_func__log10f" = x""yes; then :
36676   cat >>confdefs.h <<_ACEOF
36677 #define HAVE__LOG10F 1
36678 _ACEOF
36679
36680 fi
36681 done
36682
36683     fi
36684   fi
36685
36686
36687
36688
36689
36690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36691 $as_echo_n "checking for modff declaration... " >&6; }
36692   if test x${glibcxx_cv_func_modff_use+set} != xset; then
36693     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36694   $as_echo_n "(cached) " >&6
36695 else
36696
36697
36698       ac_ext=cpp
36699 ac_cpp='$CXXCPP $CPPFLAGS'
36700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36703
36704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36705 /* end confdefs.h.  */
36706 #include <math.h>
36707 int
36708 main ()
36709 {
36710  modff(0, 0);
36711   ;
36712   return 0;
36713 }
36714 _ACEOF
36715 if ac_fn_cxx_try_compile "$LINENO"; then :
36716   glibcxx_cv_func_modff_use=yes
36717 else
36718   glibcxx_cv_func_modff_use=no
36719 fi
36720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36721       ac_ext=c
36722 ac_cpp='$CPP $CPPFLAGS'
36723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36726
36727
36728 fi
36729
36730   fi
36731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36732 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36733
36734   if test x$glibcxx_cv_func_modff_use = x"yes"; then
36735     for ac_func in modff
36736 do :
36737   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36738 if test "x$ac_cv_func_modff" = x""yes; then :
36739   cat >>confdefs.h <<_ACEOF
36740 #define HAVE_MODFF 1
36741 _ACEOF
36742
36743 fi
36744 done
36745
36746   else
36747
36748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36749 $as_echo_n "checking for _modff declaration... " >&6; }
36750   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36751     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36752   $as_echo_n "(cached) " >&6
36753 else
36754
36755
36756       ac_ext=cpp
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36761
36762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36763 /* end confdefs.h.  */
36764 #include <math.h>
36765 int
36766 main ()
36767 {
36768  _modff(0, 0);
36769   ;
36770   return 0;
36771 }
36772 _ACEOF
36773 if ac_fn_cxx_try_compile "$LINENO"; then :
36774   glibcxx_cv_func__modff_use=yes
36775 else
36776   glibcxx_cv_func__modff_use=no
36777 fi
36778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36779       ac_ext=c
36780 ac_cpp='$CPP $CPPFLAGS'
36781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36784
36785
36786 fi
36787
36788   fi
36789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36790 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36791
36792     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36793       for ac_func in _modff
36794 do :
36795   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36796 if test "x$ac_cv_func__modff" = x""yes; then :
36797   cat >>confdefs.h <<_ACEOF
36798 #define HAVE__MODFF 1
36799 _ACEOF
36800
36801 fi
36802 done
36803
36804     fi
36805   fi
36806
36807
36808
36809
36810
36811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36812 $as_echo_n "checking for modf declaration... " >&6; }
36813   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36814     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36815   $as_echo_n "(cached) " >&6
36816 else
36817
36818
36819       ac_ext=cpp
36820 ac_cpp='$CXXCPP $CPPFLAGS'
36821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36824
36825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36826 /* end confdefs.h.  */
36827 #include <math.h>
36828 int
36829 main ()
36830 {
36831  modf(0, 0);
36832   ;
36833   return 0;
36834 }
36835 _ACEOF
36836 if ac_fn_cxx_try_compile "$LINENO"; then :
36837   glibcxx_cv_func_modf_use=yes
36838 else
36839   glibcxx_cv_func_modf_use=no
36840 fi
36841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36842       ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36847
36848
36849 fi
36850
36851   fi
36852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36853 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36854
36855   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36856     for ac_func in modf
36857 do :
36858   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36859 if test "x$ac_cv_func_modf" = x""yes; then :
36860   cat >>confdefs.h <<_ACEOF
36861 #define HAVE_MODF 1
36862 _ACEOF
36863
36864 fi
36865 done
36866
36867   else
36868
36869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36870 $as_echo_n "checking for _modf declaration... " >&6; }
36871   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36872     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36873   $as_echo_n "(cached) " >&6
36874 else
36875
36876
36877       ac_ext=cpp
36878 ac_cpp='$CXXCPP $CPPFLAGS'
36879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36882
36883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36884 /* end confdefs.h.  */
36885 #include <math.h>
36886 int
36887 main ()
36888 {
36889  _modf(0, 0);
36890   ;
36891   return 0;
36892 }
36893 _ACEOF
36894 if ac_fn_cxx_try_compile "$LINENO"; then :
36895   glibcxx_cv_func__modf_use=yes
36896 else
36897   glibcxx_cv_func__modf_use=no
36898 fi
36899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36900       ac_ext=c
36901 ac_cpp='$CPP $CPPFLAGS'
36902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36905
36906
36907 fi
36908
36909   fi
36910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36911 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36912
36913     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36914       for ac_func in _modf
36915 do :
36916   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36917 if test "x$ac_cv_func__modf" = x""yes; then :
36918   cat >>confdefs.h <<_ACEOF
36919 #define HAVE__MODF 1
36920 _ACEOF
36921
36922 fi
36923 done
36924
36925     fi
36926   fi
36927
36928
36929
36930
36931
36932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36933 $as_echo_n "checking for powf declaration... " >&6; }
36934   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36935     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36936   $as_echo_n "(cached) " >&6
36937 else
36938
36939
36940       ac_ext=cpp
36941 ac_cpp='$CXXCPP $CPPFLAGS'
36942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36945
36946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36947 /* end confdefs.h.  */
36948 #include <math.h>
36949 int
36950 main ()
36951 {
36952  powf(0, 0);
36953   ;
36954   return 0;
36955 }
36956 _ACEOF
36957 if ac_fn_cxx_try_compile "$LINENO"; then :
36958   glibcxx_cv_func_powf_use=yes
36959 else
36960   glibcxx_cv_func_powf_use=no
36961 fi
36962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36963       ac_ext=c
36964 ac_cpp='$CPP $CPPFLAGS'
36965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36968
36969
36970 fi
36971
36972   fi
36973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36974 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36975
36976   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36977     for ac_func in powf
36978 do :
36979   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36980 if test "x$ac_cv_func_powf" = x""yes; then :
36981   cat >>confdefs.h <<_ACEOF
36982 #define HAVE_POWF 1
36983 _ACEOF
36984
36985 fi
36986 done
36987
36988   else
36989
36990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36991 $as_echo_n "checking for _powf declaration... " >&6; }
36992   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36993     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36994   $as_echo_n "(cached) " >&6
36995 else
36996
36997
36998       ac_ext=cpp
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37003
37004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37005 /* end confdefs.h.  */
37006 #include <math.h>
37007 int
37008 main ()
37009 {
37010  _powf(0, 0);
37011   ;
37012   return 0;
37013 }
37014 _ACEOF
37015 if ac_fn_cxx_try_compile "$LINENO"; then :
37016   glibcxx_cv_func__powf_use=yes
37017 else
37018   glibcxx_cv_func__powf_use=no
37019 fi
37020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021       ac_ext=c
37022 ac_cpp='$CPP $CPPFLAGS'
37023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37026
37027
37028 fi
37029
37030   fi
37031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37032 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37033
37034     if test x$glibcxx_cv_func__powf_use = x"yes"; then
37035       for ac_func in _powf
37036 do :
37037   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37038 if test "x$ac_cv_func__powf" = x""yes; then :
37039   cat >>confdefs.h <<_ACEOF
37040 #define HAVE__POWF 1
37041 _ACEOF
37042
37043 fi
37044 done
37045
37046     fi
37047   fi
37048
37049
37050
37051
37052
37053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37054 $as_echo_n "checking for sqrtf declaration... " >&6; }
37055   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37056     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37057   $as_echo_n "(cached) " >&6
37058 else
37059
37060
37061       ac_ext=cpp
37062 ac_cpp='$CXXCPP $CPPFLAGS'
37063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37066
37067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37068 /* end confdefs.h.  */
37069 #include <math.h>
37070                       #ifdef HAVE_IEEEFP_H
37071                       #include <ieeefp.h>
37072                       #endif
37073
37074 int
37075 main ()
37076 {
37077  sqrtf(0);
37078   ;
37079   return 0;
37080 }
37081 _ACEOF
37082 if ac_fn_cxx_try_compile "$LINENO"; then :
37083   glibcxx_cv_func_sqrtf_use=yes
37084 else
37085   glibcxx_cv_func_sqrtf_use=no
37086 fi
37087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37088       ac_ext=c
37089 ac_cpp='$CPP $CPPFLAGS'
37090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37093
37094
37095 fi
37096
37097   fi
37098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37099 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37100
37101   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37102     for ac_func in sqrtf
37103 do :
37104   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37105 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37106   cat >>confdefs.h <<_ACEOF
37107 #define HAVE_SQRTF 1
37108 _ACEOF
37109
37110 fi
37111 done
37112
37113   else
37114
37115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37116 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37117   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37118     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37119   $as_echo_n "(cached) " >&6
37120 else
37121
37122
37123       ac_ext=cpp
37124 ac_cpp='$CXXCPP $CPPFLAGS'
37125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37128
37129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37130 /* end confdefs.h.  */
37131 #include <math.h>
37132                       #ifdef HAVE_IEEEFP_H
37133                       #include <ieeefp.h>
37134                       #endif
37135
37136 int
37137 main ()
37138 {
37139  _sqrtf(0);
37140   ;
37141   return 0;
37142 }
37143 _ACEOF
37144 if ac_fn_cxx_try_compile "$LINENO"; then :
37145   glibcxx_cv_func__sqrtf_use=yes
37146 else
37147   glibcxx_cv_func__sqrtf_use=no
37148 fi
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150       ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37155
37156
37157 fi
37158
37159   fi
37160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37161 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37162
37163     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37164       for ac_func in _sqrtf
37165 do :
37166   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37167 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37168   cat >>confdefs.h <<_ACEOF
37169 #define HAVE__SQRTF 1
37170 _ACEOF
37171
37172 fi
37173 done
37174
37175     fi
37176   fi
37177
37178
37179
37180
37181
37182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37183 $as_echo_n "checking for sincosf declaration... " >&6; }
37184   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37185     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37186   $as_echo_n "(cached) " >&6
37187 else
37188
37189
37190       ac_ext=cpp
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195
37196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37197 /* end confdefs.h.  */
37198 #include <math.h>
37199 int
37200 main ()
37201 {
37202  sincosf(0, 0, 0);
37203   ;
37204   return 0;
37205 }
37206 _ACEOF
37207 if ac_fn_cxx_try_compile "$LINENO"; then :
37208   glibcxx_cv_func_sincosf_use=yes
37209 else
37210   glibcxx_cv_func_sincosf_use=no
37211 fi
37212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37213       ac_ext=c
37214 ac_cpp='$CPP $CPPFLAGS'
37215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37218
37219
37220 fi
37221
37222   fi
37223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37224 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37225
37226   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37227     for ac_func in sincosf
37228 do :
37229   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37230 if test "x$ac_cv_func_sincosf" = x""yes; then :
37231   cat >>confdefs.h <<_ACEOF
37232 #define HAVE_SINCOSF 1
37233 _ACEOF
37234
37235 fi
37236 done
37237
37238   else
37239
37240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37241 $as_echo_n "checking for _sincosf declaration... " >&6; }
37242   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37243     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37244   $as_echo_n "(cached) " >&6
37245 else
37246
37247
37248       ac_ext=cpp
37249 ac_cpp='$CXXCPP $CPPFLAGS'
37250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37253
37254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37255 /* end confdefs.h.  */
37256 #include <math.h>
37257 int
37258 main ()
37259 {
37260  _sincosf(0, 0, 0);
37261   ;
37262   return 0;
37263 }
37264 _ACEOF
37265 if ac_fn_cxx_try_compile "$LINENO"; then :
37266   glibcxx_cv_func__sincosf_use=yes
37267 else
37268   glibcxx_cv_func__sincosf_use=no
37269 fi
37270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37271       ac_ext=c
37272 ac_cpp='$CPP $CPPFLAGS'
37273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37276
37277
37278 fi
37279
37280   fi
37281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37282 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37283
37284     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37285       for ac_func in _sincosf
37286 do :
37287   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37288 if test "x$ac_cv_func__sincosf" = x""yes; then :
37289   cat >>confdefs.h <<_ACEOF
37290 #define HAVE__SINCOSF 1
37291 _ACEOF
37292
37293 fi
37294 done
37295
37296     fi
37297   fi
37298
37299
37300
37301
37302
37303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37304 $as_echo_n "checking for finitef declaration... " >&6; }
37305   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37306     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37307   $as_echo_n "(cached) " >&6
37308 else
37309
37310
37311       ac_ext=cpp
37312 ac_cpp='$CXXCPP $CPPFLAGS'
37313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37316
37317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37318 /* end confdefs.h.  */
37319 #include <math.h>
37320                       #ifdef HAVE_IEEEFP_H
37321                       #include <ieeefp.h>
37322                       #endif
37323
37324 int
37325 main ()
37326 {
37327  finitef(0);
37328   ;
37329   return 0;
37330 }
37331 _ACEOF
37332 if ac_fn_cxx_try_compile "$LINENO"; then :
37333   glibcxx_cv_func_finitef_use=yes
37334 else
37335   glibcxx_cv_func_finitef_use=no
37336 fi
37337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37338       ac_ext=c
37339 ac_cpp='$CPP $CPPFLAGS'
37340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37343
37344
37345 fi
37346
37347   fi
37348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37349 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37350
37351   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37352     for ac_func in finitef
37353 do :
37354   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37355 if test "x$ac_cv_func_finitef" = x""yes; then :
37356   cat >>confdefs.h <<_ACEOF
37357 #define HAVE_FINITEF 1
37358 _ACEOF
37359
37360 fi
37361 done
37362
37363   else
37364
37365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37366 $as_echo_n "checking for _finitef declaration... " >&6; }
37367   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37368     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37369   $as_echo_n "(cached) " >&6
37370 else
37371
37372
37373       ac_ext=cpp
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37378
37379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37380 /* end confdefs.h.  */
37381 #include <math.h>
37382                       #ifdef HAVE_IEEEFP_H
37383                       #include <ieeefp.h>
37384                       #endif
37385
37386 int
37387 main ()
37388 {
37389  _finitef(0);
37390   ;
37391   return 0;
37392 }
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395   glibcxx_cv_func__finitef_use=yes
37396 else
37397   glibcxx_cv_func__finitef_use=no
37398 fi
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400       ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37405
37406
37407 fi
37408
37409   fi
37410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37411 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37412
37413     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37414       for ac_func in _finitef
37415 do :
37416   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37417 if test "x$ac_cv_func__finitef" = x""yes; then :
37418   cat >>confdefs.h <<_ACEOF
37419 #define HAVE__FINITEF 1
37420 _ACEOF
37421
37422 fi
37423 done
37424
37425     fi
37426   fi
37427
37428
37429
37430
37431
37432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37433 $as_echo_n "checking for long double trig functions... " >&6; }
37434   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37435   $as_echo_n "(cached) " >&6
37436 else
37437
37438
37439     ac_ext=cpp
37440 ac_cpp='$CXXCPP $CPPFLAGS'
37441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37444
37445     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37446 /* end confdefs.h.  */
37447 #include <math.h>
37448 int
37449 main ()
37450 {
37451 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37452   ;
37453   return 0;
37454 }
37455 _ACEOF
37456 if ac_fn_cxx_try_compile "$LINENO"; then :
37457   glibcxx_cv_func_long_double_trig_use=yes
37458 else
37459   glibcxx_cv_func_long_double_trig_use=no
37460 fi
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462     ac_ext=c
37463 ac_cpp='$CPP $CPPFLAGS'
37464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37467
37468 fi
37469
37470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37471 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37472   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37473     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37474 do :
37475   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37477 eval as_val=\$$as_ac_var
37478    if test "x$as_val" = x""yes; then :
37479   cat >>confdefs.h <<_ACEOF
37480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37481 _ACEOF
37482
37483 fi
37484 done
37485
37486   else
37487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37488 $as_echo_n "checking for _long double trig functions... " >&6; }
37489     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37490   $as_echo_n "(cached) " >&6
37491 else
37492
37493
37494       ac_ext=cpp
37495 ac_cpp='$CXXCPP $CPPFLAGS'
37496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37499
37500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37501 /* end confdefs.h.  */
37502 #include <math.h>
37503 int
37504 main ()
37505 {
37506 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37507   ;
37508   return 0;
37509 }
37510 _ACEOF
37511 if ac_fn_cxx_try_compile "$LINENO"; then :
37512   glibcxx_cv_func__long_double_trig_use=yes
37513 else
37514   glibcxx_cv_func__long_double_trig_use=no
37515 fi
37516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37517       ac_ext=c
37518 ac_cpp='$CPP $CPPFLAGS'
37519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37522
37523 fi
37524
37525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37526 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37527     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37528       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37529 do :
37530   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37532 eval as_val=\$$as_ac_var
37533    if test "x$as_val" = x""yes; then :
37534   cat >>confdefs.h <<_ACEOF
37535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 _ACEOF
37537
37538 fi
37539 done
37540
37541     fi
37542   fi
37543
37544
37545
37546
37547
37548     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37549 $as_echo_n "checking for long double round functions... " >&6; }
37550   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37551   $as_echo_n "(cached) " >&6
37552 else
37553
37554
37555     ac_ext=cpp
37556 ac_cpp='$CXXCPP $CPPFLAGS'
37557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37560
37561     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37562 /* end confdefs.h.  */
37563 #include <math.h>
37564 int
37565 main ()
37566 {
37567 ceill (0); floorl (0);
37568   ;
37569   return 0;
37570 }
37571 _ACEOF
37572 if ac_fn_cxx_try_compile "$LINENO"; then :
37573   glibcxx_cv_func_long_double_round_use=yes
37574 else
37575   glibcxx_cv_func_long_double_round_use=no
37576 fi
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578     ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37583
37584 fi
37585
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37587 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37588   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37589     for ac_func in ceill floorl
37590 do :
37591   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37593 eval as_val=\$$as_ac_var
37594    if test "x$as_val" = x""yes; then :
37595   cat >>confdefs.h <<_ACEOF
37596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37597 _ACEOF
37598
37599 fi
37600 done
37601
37602   else
37603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37604 $as_echo_n "checking for _long double round functions... " >&6; }
37605     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37606   $as_echo_n "(cached) " >&6
37607 else
37608
37609
37610       ac_ext=cpp
37611 ac_cpp='$CXXCPP $CPPFLAGS'
37612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37615
37616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37617 /* end confdefs.h.  */
37618 #include <math.h>
37619 int
37620 main ()
37621 {
37622 _ceill (0); _floorl (0);
37623   ;
37624   return 0;
37625 }
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628   glibcxx_cv_func__long_double_round_use=yes
37629 else
37630   glibcxx_cv_func__long_double_round_use=no
37631 fi
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633       ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37638
37639 fi
37640
37641     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37642 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37643     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37644       for ac_func in _ceill _floorl
37645 do :
37646   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37648 eval as_val=\$$as_ac_var
37649    if test "x$as_val" = x""yes; then :
37650   cat >>confdefs.h <<_ACEOF
37651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37652 _ACEOF
37653
37654 fi
37655 done
37656
37657     fi
37658   fi
37659
37660
37661
37662
37663
37664
37665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37666 $as_echo_n "checking for isnanl declaration... " >&6; }
37667   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37668     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37669   $as_echo_n "(cached) " >&6
37670 else
37671
37672
37673       ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678
37679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h.  */
37681 #include <math.h>
37682                       #ifdef HAVE_IEEEFP_H
37683                       #include <ieeefp.h>
37684                       #endif
37685
37686 int
37687 main ()
37688 {
37689  isnanl(0);
37690   ;
37691   return 0;
37692 }
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695   glibcxx_cv_func_isnanl_use=yes
37696 else
37697   glibcxx_cv_func_isnanl_use=no
37698 fi
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700       ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37705
37706
37707 fi
37708
37709   fi
37710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37711 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37712
37713   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37714     for ac_func in isnanl
37715 do :
37716   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37717 if test "x$ac_cv_func_isnanl" = x""yes; then :
37718   cat >>confdefs.h <<_ACEOF
37719 #define HAVE_ISNANL 1
37720 _ACEOF
37721
37722 fi
37723 done
37724
37725   else
37726
37727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37728 $as_echo_n "checking for _isnanl declaration... " >&6; }
37729   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37730     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37731   $as_echo_n "(cached) " >&6
37732 else
37733
37734
37735       ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740
37741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h.  */
37743 #include <math.h>
37744                       #ifdef HAVE_IEEEFP_H
37745                       #include <ieeefp.h>
37746                       #endif
37747
37748 int
37749 main ()
37750 {
37751  _isnanl(0);
37752   ;
37753   return 0;
37754 }
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757   glibcxx_cv_func__isnanl_use=yes
37758 else
37759   glibcxx_cv_func__isnanl_use=no
37760 fi
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762       ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767
37768
37769 fi
37770
37771   fi
37772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37773 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37774
37775     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37776       for ac_func in _isnanl
37777 do :
37778   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37779 if test "x$ac_cv_func__isnanl" = x""yes; then :
37780   cat >>confdefs.h <<_ACEOF
37781 #define HAVE__ISNANL 1
37782 _ACEOF
37783
37784 fi
37785 done
37786
37787     fi
37788   fi
37789
37790
37791
37792
37793
37794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37795 $as_echo_n "checking for isinfl declaration... " >&6; }
37796   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37797     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37798   $as_echo_n "(cached) " >&6
37799 else
37800
37801
37802       ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807
37808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h.  */
37810 #include <math.h>
37811                       #ifdef HAVE_IEEEFP_H
37812                       #include <ieeefp.h>
37813                       #endif
37814
37815 int
37816 main ()
37817 {
37818  isinfl(0);
37819   ;
37820   return 0;
37821 }
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824   glibcxx_cv_func_isinfl_use=yes
37825 else
37826   glibcxx_cv_func_isinfl_use=no
37827 fi
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829       ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834
37835
37836 fi
37837
37838   fi
37839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37840 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37841
37842   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37843     for ac_func in isinfl
37844 do :
37845   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37846 if test "x$ac_cv_func_isinfl" = x""yes; then :
37847   cat >>confdefs.h <<_ACEOF
37848 #define HAVE_ISINFL 1
37849 _ACEOF
37850
37851 fi
37852 done
37853
37854   else
37855
37856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37857 $as_echo_n "checking for _isinfl declaration... " >&6; }
37858   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37859     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37860   $as_echo_n "(cached) " >&6
37861 else
37862
37863
37864       ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37869
37870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h.  */
37872 #include <math.h>
37873                       #ifdef HAVE_IEEEFP_H
37874                       #include <ieeefp.h>
37875                       #endif
37876
37877 int
37878 main ()
37879 {
37880  _isinfl(0);
37881   ;
37882   return 0;
37883 }
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886   glibcxx_cv_func__isinfl_use=yes
37887 else
37888   glibcxx_cv_func__isinfl_use=no
37889 fi
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891       ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37896
37897
37898 fi
37899
37900   fi
37901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37902 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37903
37904     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37905       for ac_func in _isinfl
37906 do :
37907   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37908 if test "x$ac_cv_func__isinfl" = x""yes; then :
37909   cat >>confdefs.h <<_ACEOF
37910 #define HAVE__ISINFL 1
37911 _ACEOF
37912
37913 fi
37914 done
37915
37916     fi
37917   fi
37918
37919
37920
37921
37922
37923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37924 $as_echo_n "checking for atan2l declaration... " >&6; }
37925   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37926     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37927   $as_echo_n "(cached) " >&6
37928 else
37929
37930
37931       ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37936
37937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h.  */
37939 #include <math.h>
37940 int
37941 main ()
37942 {
37943  atan2l(0, 0);
37944   ;
37945   return 0;
37946 }
37947 _ACEOF
37948 if ac_fn_cxx_try_compile "$LINENO"; then :
37949   glibcxx_cv_func_atan2l_use=yes
37950 else
37951   glibcxx_cv_func_atan2l_use=no
37952 fi
37953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37954       ac_ext=c
37955 ac_cpp='$CPP $CPPFLAGS'
37956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37959
37960
37961 fi
37962
37963   fi
37964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37965 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37966
37967   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37968     for ac_func in atan2l
37969 do :
37970   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37971 if test "x$ac_cv_func_atan2l" = x""yes; then :
37972   cat >>confdefs.h <<_ACEOF
37973 #define HAVE_ATAN2L 1
37974 _ACEOF
37975
37976 fi
37977 done
37978
37979   else
37980
37981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37982 $as_echo_n "checking for _atan2l declaration... " >&6; }
37983   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37984     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37985   $as_echo_n "(cached) " >&6
37986 else
37987
37988
37989       ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37994
37995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37996 /* end confdefs.h.  */
37997 #include <math.h>
37998 int
37999 main ()
38000 {
38001  _atan2l(0, 0);
38002   ;
38003   return 0;
38004 }
38005 _ACEOF
38006 if ac_fn_cxx_try_compile "$LINENO"; then :
38007   glibcxx_cv_func__atan2l_use=yes
38008 else
38009   glibcxx_cv_func__atan2l_use=no
38010 fi
38011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012       ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38017
38018
38019 fi
38020
38021   fi
38022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38023 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38024
38025     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38026       for ac_func in _atan2l
38027 do :
38028   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38029 if test "x$ac_cv_func__atan2l" = x""yes; then :
38030   cat >>confdefs.h <<_ACEOF
38031 #define HAVE__ATAN2L 1
38032 _ACEOF
38033
38034 fi
38035 done
38036
38037     fi
38038   fi
38039
38040
38041
38042
38043
38044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38045 $as_echo_n "checking for expl declaration... " >&6; }
38046   if test x${glibcxx_cv_func_expl_use+set} != xset; then
38047     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38048   $as_echo_n "(cached) " >&6
38049 else
38050
38051
38052       ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38057
38058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h.  */
38060 #include <math.h>
38061                       #ifdef HAVE_IEEEFP_H
38062                       #include <ieeefp.h>
38063                       #endif
38064
38065 int
38066 main ()
38067 {
38068  expl(0);
38069   ;
38070   return 0;
38071 }
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074   glibcxx_cv_func_expl_use=yes
38075 else
38076   glibcxx_cv_func_expl_use=no
38077 fi
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079       ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084
38085
38086 fi
38087
38088   fi
38089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38090 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38091
38092   if test x$glibcxx_cv_func_expl_use = x"yes"; then
38093     for ac_func in expl
38094 do :
38095   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38096 if test "x$ac_cv_func_expl" = x""yes; then :
38097   cat >>confdefs.h <<_ACEOF
38098 #define HAVE_EXPL 1
38099 _ACEOF
38100
38101 fi
38102 done
38103
38104   else
38105
38106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38107 $as_echo_n "checking for _expl declaration... " >&6; }
38108   if test x${glibcxx_cv_func__expl_use+set} != xset; then
38109     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38110   $as_echo_n "(cached) " >&6
38111 else
38112
38113
38114       ac_ext=cpp
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38119
38120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38121 /* end confdefs.h.  */
38122 #include <math.h>
38123                       #ifdef HAVE_IEEEFP_H
38124                       #include <ieeefp.h>
38125                       #endif
38126
38127 int
38128 main ()
38129 {
38130  _expl(0);
38131   ;
38132   return 0;
38133 }
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136   glibcxx_cv_func__expl_use=yes
38137 else
38138   glibcxx_cv_func__expl_use=no
38139 fi
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141       ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38146
38147
38148 fi
38149
38150   fi
38151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38152 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38153
38154     if test x$glibcxx_cv_func__expl_use = x"yes"; then
38155       for ac_func in _expl
38156 do :
38157   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38158 if test "x$ac_cv_func__expl" = x""yes; then :
38159   cat >>confdefs.h <<_ACEOF
38160 #define HAVE__EXPL 1
38161 _ACEOF
38162
38163 fi
38164 done
38165
38166     fi
38167   fi
38168
38169
38170
38171
38172
38173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38174 $as_echo_n "checking for fabsl declaration... " >&6; }
38175   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38176     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38177   $as_echo_n "(cached) " >&6
38178 else
38179
38180
38181       ac_ext=cpp
38182 ac_cpp='$CXXCPP $CPPFLAGS'
38183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38186
38187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h.  */
38189 #include <math.h>
38190                       #ifdef HAVE_IEEEFP_H
38191                       #include <ieeefp.h>
38192                       #endif
38193
38194 int
38195 main ()
38196 {
38197  fabsl(0);
38198   ;
38199   return 0;
38200 }
38201 _ACEOF
38202 if ac_fn_cxx_try_compile "$LINENO"; then :
38203   glibcxx_cv_func_fabsl_use=yes
38204 else
38205   glibcxx_cv_func_fabsl_use=no
38206 fi
38207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38208       ac_ext=c
38209 ac_cpp='$CPP $CPPFLAGS'
38210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38213
38214
38215 fi
38216
38217   fi
38218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38219 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38220
38221   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38222     for ac_func in fabsl
38223 do :
38224   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38225 if test "x$ac_cv_func_fabsl" = x""yes; then :
38226   cat >>confdefs.h <<_ACEOF
38227 #define HAVE_FABSL 1
38228 _ACEOF
38229
38230 fi
38231 done
38232
38233   else
38234
38235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38236 $as_echo_n "checking for _fabsl declaration... " >&6; }
38237   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38238     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38239   $as_echo_n "(cached) " >&6
38240 else
38241
38242
38243       ac_ext=cpp
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248
38249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38250 /* end confdefs.h.  */
38251 #include <math.h>
38252                       #ifdef HAVE_IEEEFP_H
38253                       #include <ieeefp.h>
38254                       #endif
38255
38256 int
38257 main ()
38258 {
38259  _fabsl(0);
38260   ;
38261   return 0;
38262 }
38263 _ACEOF
38264 if ac_fn_cxx_try_compile "$LINENO"; then :
38265   glibcxx_cv_func__fabsl_use=yes
38266 else
38267   glibcxx_cv_func__fabsl_use=no
38268 fi
38269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38270       ac_ext=c
38271 ac_cpp='$CPP $CPPFLAGS'
38272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38275
38276
38277 fi
38278
38279   fi
38280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38281 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38282
38283     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38284       for ac_func in _fabsl
38285 do :
38286   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38287 if test "x$ac_cv_func__fabsl" = x""yes; then :
38288   cat >>confdefs.h <<_ACEOF
38289 #define HAVE__FABSL 1
38290 _ACEOF
38291
38292 fi
38293 done
38294
38295     fi
38296   fi
38297
38298
38299
38300
38301
38302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38303 $as_echo_n "checking for fmodl declaration... " >&6; }
38304   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38305     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38306   $as_echo_n "(cached) " >&6
38307 else
38308
38309
38310       ac_ext=cpp
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315
38316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38317 /* end confdefs.h.  */
38318 #include <math.h>
38319 int
38320 main ()
38321 {
38322  fmodl(0, 0);
38323   ;
38324   return 0;
38325 }
38326 _ACEOF
38327 if ac_fn_cxx_try_compile "$LINENO"; then :
38328   glibcxx_cv_func_fmodl_use=yes
38329 else
38330   glibcxx_cv_func_fmodl_use=no
38331 fi
38332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38333       ac_ext=c
38334 ac_cpp='$CPP $CPPFLAGS'
38335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38338
38339
38340 fi
38341
38342   fi
38343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38344 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38345
38346   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38347     for ac_func in fmodl
38348 do :
38349   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38350 if test "x$ac_cv_func_fmodl" = x""yes; then :
38351   cat >>confdefs.h <<_ACEOF
38352 #define HAVE_FMODL 1
38353 _ACEOF
38354
38355 fi
38356 done
38357
38358   else
38359
38360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38361 $as_echo_n "checking for _fmodl declaration... " >&6; }
38362   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38363     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38364   $as_echo_n "(cached) " >&6
38365 else
38366
38367
38368       ac_ext=cpp
38369 ac_cpp='$CXXCPP $CPPFLAGS'
38370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38373
38374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38375 /* end confdefs.h.  */
38376 #include <math.h>
38377 int
38378 main ()
38379 {
38380  _fmodl(0, 0);
38381   ;
38382   return 0;
38383 }
38384 _ACEOF
38385 if ac_fn_cxx_try_compile "$LINENO"; then :
38386   glibcxx_cv_func__fmodl_use=yes
38387 else
38388   glibcxx_cv_func__fmodl_use=no
38389 fi
38390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391       ac_ext=c
38392 ac_cpp='$CPP $CPPFLAGS'
38393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38396
38397
38398 fi
38399
38400   fi
38401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38402 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38403
38404     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38405       for ac_func in _fmodl
38406 do :
38407   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38408 if test "x$ac_cv_func__fmodl" = x""yes; then :
38409   cat >>confdefs.h <<_ACEOF
38410 #define HAVE__FMODL 1
38411 _ACEOF
38412
38413 fi
38414 done
38415
38416     fi
38417   fi
38418
38419
38420
38421
38422
38423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38424 $as_echo_n "checking for frexpl declaration... " >&6; }
38425   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38426     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38427   $as_echo_n "(cached) " >&6
38428 else
38429
38430
38431       ac_ext=cpp
38432 ac_cpp='$CXXCPP $CPPFLAGS'
38433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38436
38437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38438 /* end confdefs.h.  */
38439 #include <math.h>
38440 int
38441 main ()
38442 {
38443  frexpl(0, 0);
38444   ;
38445   return 0;
38446 }
38447 _ACEOF
38448 if ac_fn_cxx_try_compile "$LINENO"; then :
38449   glibcxx_cv_func_frexpl_use=yes
38450 else
38451   glibcxx_cv_func_frexpl_use=no
38452 fi
38453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38454       ac_ext=c
38455 ac_cpp='$CPP $CPPFLAGS'
38456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38459
38460
38461 fi
38462
38463   fi
38464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38465 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38466
38467   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38468     for ac_func in frexpl
38469 do :
38470   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38471 if test "x$ac_cv_func_frexpl" = x""yes; then :
38472   cat >>confdefs.h <<_ACEOF
38473 #define HAVE_FREXPL 1
38474 _ACEOF
38475
38476 fi
38477 done
38478
38479   else
38480
38481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38482 $as_echo_n "checking for _frexpl declaration... " >&6; }
38483   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38484     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38485   $as_echo_n "(cached) " >&6
38486 else
38487
38488
38489       ac_ext=cpp
38490 ac_cpp='$CXXCPP $CPPFLAGS'
38491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38494
38495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38496 /* end confdefs.h.  */
38497 #include <math.h>
38498 int
38499 main ()
38500 {
38501  _frexpl(0, 0);
38502   ;
38503   return 0;
38504 }
38505 _ACEOF
38506 if ac_fn_cxx_try_compile "$LINENO"; then :
38507   glibcxx_cv_func__frexpl_use=yes
38508 else
38509   glibcxx_cv_func__frexpl_use=no
38510 fi
38511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38512       ac_ext=c
38513 ac_cpp='$CPP $CPPFLAGS'
38514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38517
38518
38519 fi
38520
38521   fi
38522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38523 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38524
38525     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38526       for ac_func in _frexpl
38527 do :
38528   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38529 if test "x$ac_cv_func__frexpl" = x""yes; then :
38530   cat >>confdefs.h <<_ACEOF
38531 #define HAVE__FREXPL 1
38532 _ACEOF
38533
38534 fi
38535 done
38536
38537     fi
38538   fi
38539
38540
38541
38542
38543
38544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38545 $as_echo_n "checking for hypotl declaration... " >&6; }
38546   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38547     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38548   $as_echo_n "(cached) " >&6
38549 else
38550
38551
38552       ac_ext=cpp
38553 ac_cpp='$CXXCPP $CPPFLAGS'
38554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38557
38558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38559 /* end confdefs.h.  */
38560 #include <math.h>
38561 int
38562 main ()
38563 {
38564  hypotl(0, 0);
38565   ;
38566   return 0;
38567 }
38568 _ACEOF
38569 if ac_fn_cxx_try_compile "$LINENO"; then :
38570   glibcxx_cv_func_hypotl_use=yes
38571 else
38572   glibcxx_cv_func_hypotl_use=no
38573 fi
38574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38575       ac_ext=c
38576 ac_cpp='$CPP $CPPFLAGS'
38577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38580
38581
38582 fi
38583
38584   fi
38585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38586 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38587
38588   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38589     for ac_func in hypotl
38590 do :
38591   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38592 if test "x$ac_cv_func_hypotl" = x""yes; then :
38593   cat >>confdefs.h <<_ACEOF
38594 #define HAVE_HYPOTL 1
38595 _ACEOF
38596
38597 fi
38598 done
38599
38600   else
38601
38602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38603 $as_echo_n "checking for _hypotl declaration... " >&6; }
38604   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38605     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38606   $as_echo_n "(cached) " >&6
38607 else
38608
38609
38610       ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615
38616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h.  */
38618 #include <math.h>
38619 int
38620 main ()
38621 {
38622  _hypotl(0, 0);
38623   ;
38624   return 0;
38625 }
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628   glibcxx_cv_func__hypotl_use=yes
38629 else
38630   glibcxx_cv_func__hypotl_use=no
38631 fi
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633       ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38638
38639
38640 fi
38641
38642   fi
38643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38644 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38645
38646     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38647       for ac_func in _hypotl
38648 do :
38649   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38650 if test "x$ac_cv_func__hypotl" = x""yes; then :
38651   cat >>confdefs.h <<_ACEOF
38652 #define HAVE__HYPOTL 1
38653 _ACEOF
38654
38655 fi
38656 done
38657
38658     fi
38659   fi
38660
38661
38662
38663
38664
38665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38666 $as_echo_n "checking for ldexpl declaration... " >&6; }
38667   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38668     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38669   $as_echo_n "(cached) " >&6
38670 else
38671
38672
38673       ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38678
38679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h.  */
38681 #include <math.h>
38682 int
38683 main ()
38684 {
38685  ldexpl(0, 0);
38686   ;
38687   return 0;
38688 }
38689 _ACEOF
38690 if ac_fn_cxx_try_compile "$LINENO"; then :
38691   glibcxx_cv_func_ldexpl_use=yes
38692 else
38693   glibcxx_cv_func_ldexpl_use=no
38694 fi
38695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38696       ac_ext=c
38697 ac_cpp='$CPP $CPPFLAGS'
38698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38701
38702
38703 fi
38704
38705   fi
38706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38707 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38708
38709   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38710     for ac_func in ldexpl
38711 do :
38712   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38713 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38714   cat >>confdefs.h <<_ACEOF
38715 #define HAVE_LDEXPL 1
38716 _ACEOF
38717
38718 fi
38719 done
38720
38721   else
38722
38723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38724 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38725   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38726     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38727   $as_echo_n "(cached) " >&6
38728 else
38729
38730
38731       ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736
38737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h.  */
38739 #include <math.h>
38740 int
38741 main ()
38742 {
38743  _ldexpl(0, 0);
38744   ;
38745   return 0;
38746 }
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749   glibcxx_cv_func__ldexpl_use=yes
38750 else
38751   glibcxx_cv_func__ldexpl_use=no
38752 fi
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754       ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759
38760
38761 fi
38762
38763   fi
38764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38765 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38766
38767     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38768       for ac_func in _ldexpl
38769 do :
38770   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38771 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38772   cat >>confdefs.h <<_ACEOF
38773 #define HAVE__LDEXPL 1
38774 _ACEOF
38775
38776 fi
38777 done
38778
38779     fi
38780   fi
38781
38782
38783
38784
38785
38786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38787 $as_echo_n "checking for logl declaration... " >&6; }
38788   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38789     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38790   $as_echo_n "(cached) " >&6
38791 else
38792
38793
38794       ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799
38800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h.  */
38802 #include <math.h>
38803                       #ifdef HAVE_IEEEFP_H
38804                       #include <ieeefp.h>
38805                       #endif
38806
38807 int
38808 main ()
38809 {
38810  logl(0);
38811   ;
38812   return 0;
38813 }
38814 _ACEOF
38815 if ac_fn_cxx_try_compile "$LINENO"; then :
38816   glibcxx_cv_func_logl_use=yes
38817 else
38818   glibcxx_cv_func_logl_use=no
38819 fi
38820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38821       ac_ext=c
38822 ac_cpp='$CPP $CPPFLAGS'
38823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38826
38827
38828 fi
38829
38830   fi
38831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38832 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38833
38834   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38835     for ac_func in logl
38836 do :
38837   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38838 if test "x$ac_cv_func_logl" = x""yes; then :
38839   cat >>confdefs.h <<_ACEOF
38840 #define HAVE_LOGL 1
38841 _ACEOF
38842
38843 fi
38844 done
38845
38846   else
38847
38848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38849 $as_echo_n "checking for _logl declaration... " >&6; }
38850   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38851     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38852   $as_echo_n "(cached) " >&6
38853 else
38854
38855
38856       ac_ext=cpp
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861
38862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38863 /* end confdefs.h.  */
38864 #include <math.h>
38865                       #ifdef HAVE_IEEEFP_H
38866                       #include <ieeefp.h>
38867                       #endif
38868
38869 int
38870 main ()
38871 {
38872  _logl(0);
38873   ;
38874   return 0;
38875 }
38876 _ACEOF
38877 if ac_fn_cxx_try_compile "$LINENO"; then :
38878   glibcxx_cv_func__logl_use=yes
38879 else
38880   glibcxx_cv_func__logl_use=no
38881 fi
38882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883       ac_ext=c
38884 ac_cpp='$CPP $CPPFLAGS'
38885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38888
38889
38890 fi
38891
38892   fi
38893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38894 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38895
38896     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38897       for ac_func in _logl
38898 do :
38899   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38900 if test "x$ac_cv_func__logl" = x""yes; then :
38901   cat >>confdefs.h <<_ACEOF
38902 #define HAVE__LOGL 1
38903 _ACEOF
38904
38905 fi
38906 done
38907
38908     fi
38909   fi
38910
38911
38912
38913
38914
38915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38916 $as_echo_n "checking for log10l declaration... " >&6; }
38917   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38918     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38919   $as_echo_n "(cached) " >&6
38920 else
38921
38922
38923       ac_ext=cpp
38924 ac_cpp='$CXXCPP $CPPFLAGS'
38925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38928
38929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38930 /* end confdefs.h.  */
38931 #include <math.h>
38932                       #ifdef HAVE_IEEEFP_H
38933                       #include <ieeefp.h>
38934                       #endif
38935
38936 int
38937 main ()
38938 {
38939  log10l(0);
38940   ;
38941   return 0;
38942 }
38943 _ACEOF
38944 if ac_fn_cxx_try_compile "$LINENO"; then :
38945   glibcxx_cv_func_log10l_use=yes
38946 else
38947   glibcxx_cv_func_log10l_use=no
38948 fi
38949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38950       ac_ext=c
38951 ac_cpp='$CPP $CPPFLAGS'
38952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38955
38956
38957 fi
38958
38959   fi
38960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38961 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38962
38963   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38964     for ac_func in log10l
38965 do :
38966   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38967 if test "x$ac_cv_func_log10l" = x""yes; then :
38968   cat >>confdefs.h <<_ACEOF
38969 #define HAVE_LOG10L 1
38970 _ACEOF
38971
38972 fi
38973 done
38974
38975   else
38976
38977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38978 $as_echo_n "checking for _log10l declaration... " >&6; }
38979   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38980     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38981   $as_echo_n "(cached) " >&6
38982 else
38983
38984
38985       ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990
38991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h.  */
38993 #include <math.h>
38994                       #ifdef HAVE_IEEEFP_H
38995                       #include <ieeefp.h>
38996                       #endif
38997
38998 int
38999 main ()
39000 {
39001  _log10l(0);
39002   ;
39003   return 0;
39004 }
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007   glibcxx_cv_func__log10l_use=yes
39008 else
39009   glibcxx_cv_func__log10l_use=no
39010 fi
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012       ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39017
39018
39019 fi
39020
39021   fi
39022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39023 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39024
39025     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39026       for ac_func in _log10l
39027 do :
39028   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39029 if test "x$ac_cv_func__log10l" = x""yes; then :
39030   cat >>confdefs.h <<_ACEOF
39031 #define HAVE__LOG10L 1
39032 _ACEOF
39033
39034 fi
39035 done
39036
39037     fi
39038   fi
39039
39040
39041
39042
39043
39044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39045 $as_echo_n "checking for modfl declaration... " >&6; }
39046   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39047     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39048   $as_echo_n "(cached) " >&6
39049 else
39050
39051
39052       ac_ext=cpp
39053 ac_cpp='$CXXCPP $CPPFLAGS'
39054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39057
39058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39059 /* end confdefs.h.  */
39060 #include <math.h>
39061 int
39062 main ()
39063 {
39064  modfl(0, 0);
39065   ;
39066   return 0;
39067 }
39068 _ACEOF
39069 if ac_fn_cxx_try_compile "$LINENO"; then :
39070   glibcxx_cv_func_modfl_use=yes
39071 else
39072   glibcxx_cv_func_modfl_use=no
39073 fi
39074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39075       ac_ext=c
39076 ac_cpp='$CPP $CPPFLAGS'
39077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39080
39081
39082 fi
39083
39084   fi
39085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39086 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39087
39088   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39089     for ac_func in modfl
39090 do :
39091   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39092 if test "x$ac_cv_func_modfl" = x""yes; then :
39093   cat >>confdefs.h <<_ACEOF
39094 #define HAVE_MODFL 1
39095 _ACEOF
39096
39097 fi
39098 done
39099
39100   else
39101
39102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39103 $as_echo_n "checking for _modfl declaration... " >&6; }
39104   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39105     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39106   $as_echo_n "(cached) " >&6
39107 else
39108
39109
39110       ac_ext=cpp
39111 ac_cpp='$CXXCPP $CPPFLAGS'
39112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39115
39116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39117 /* end confdefs.h.  */
39118 #include <math.h>
39119 int
39120 main ()
39121 {
39122  _modfl(0, 0);
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128   glibcxx_cv_func__modfl_use=yes
39129 else
39130   glibcxx_cv_func__modfl_use=no
39131 fi
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133       ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39138
39139
39140 fi
39141
39142   fi
39143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39144 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39145
39146     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39147       for ac_func in _modfl
39148 do :
39149   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39150 if test "x$ac_cv_func__modfl" = x""yes; then :
39151   cat >>confdefs.h <<_ACEOF
39152 #define HAVE__MODFL 1
39153 _ACEOF
39154
39155 fi
39156 done
39157
39158     fi
39159   fi
39160
39161
39162
39163
39164
39165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39166 $as_echo_n "checking for powl declaration... " >&6; }
39167   if test x${glibcxx_cv_func_powl_use+set} != xset; then
39168     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39169   $as_echo_n "(cached) " >&6
39170 else
39171
39172
39173       ac_ext=cpp
39174 ac_cpp='$CXXCPP $CPPFLAGS'
39175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39178
39179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39180 /* end confdefs.h.  */
39181 #include <math.h>
39182 int
39183 main ()
39184 {
39185  powl(0, 0);
39186   ;
39187   return 0;
39188 }
39189 _ACEOF
39190 if ac_fn_cxx_try_compile "$LINENO"; then :
39191   glibcxx_cv_func_powl_use=yes
39192 else
39193   glibcxx_cv_func_powl_use=no
39194 fi
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39196       ac_ext=c
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39201
39202
39203 fi
39204
39205   fi
39206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39207 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39208
39209   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39210     for ac_func in powl
39211 do :
39212   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39213 if test "x$ac_cv_func_powl" = x""yes; then :
39214   cat >>confdefs.h <<_ACEOF
39215 #define HAVE_POWL 1
39216 _ACEOF
39217
39218 fi
39219 done
39220
39221   else
39222
39223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39224 $as_echo_n "checking for _powl declaration... " >&6; }
39225   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39226     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39227   $as_echo_n "(cached) " >&6
39228 else
39229
39230
39231       ac_ext=cpp
39232 ac_cpp='$CXXCPP $CPPFLAGS'
39233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39236
39237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h.  */
39239 #include <math.h>
39240 int
39241 main ()
39242 {
39243  _powl(0, 0);
39244   ;
39245   return 0;
39246 }
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249   glibcxx_cv_func__powl_use=yes
39250 else
39251   glibcxx_cv_func__powl_use=no
39252 fi
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254       ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39259
39260
39261 fi
39262
39263   fi
39264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39265 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39266
39267     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39268       for ac_func in _powl
39269 do :
39270   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39271 if test "x$ac_cv_func__powl" = x""yes; then :
39272   cat >>confdefs.h <<_ACEOF
39273 #define HAVE__POWL 1
39274 _ACEOF
39275
39276 fi
39277 done
39278
39279     fi
39280   fi
39281
39282
39283
39284
39285
39286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39287 $as_echo_n "checking for sqrtl declaration... " >&6; }
39288   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39289     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39290   $as_echo_n "(cached) " >&6
39291 else
39292
39293
39294       ac_ext=cpp
39295 ac_cpp='$CXXCPP $CPPFLAGS'
39296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299
39300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39301 /* end confdefs.h.  */
39302 #include <math.h>
39303                       #ifdef HAVE_IEEEFP_H
39304                       #include <ieeefp.h>
39305                       #endif
39306
39307 int
39308 main ()
39309 {
39310  sqrtl(0);
39311   ;
39312   return 0;
39313 }
39314 _ACEOF
39315 if ac_fn_cxx_try_compile "$LINENO"; then :
39316   glibcxx_cv_func_sqrtl_use=yes
39317 else
39318   glibcxx_cv_func_sqrtl_use=no
39319 fi
39320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39321       ac_ext=c
39322 ac_cpp='$CPP $CPPFLAGS'
39323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39326
39327
39328 fi
39329
39330   fi
39331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39332 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39333
39334   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39335     for ac_func in sqrtl
39336 do :
39337   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39338 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39339   cat >>confdefs.h <<_ACEOF
39340 #define HAVE_SQRTL 1
39341 _ACEOF
39342
39343 fi
39344 done
39345
39346   else
39347
39348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39349 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39350   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39351     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39352   $as_echo_n "(cached) " >&6
39353 else
39354
39355
39356       ac_ext=cpp
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39361
39362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39363 /* end confdefs.h.  */
39364 #include <math.h>
39365                       #ifdef HAVE_IEEEFP_H
39366                       #include <ieeefp.h>
39367                       #endif
39368
39369 int
39370 main ()
39371 {
39372  _sqrtl(0);
39373   ;
39374   return 0;
39375 }
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378   glibcxx_cv_func__sqrtl_use=yes
39379 else
39380   glibcxx_cv_func__sqrtl_use=no
39381 fi
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383       ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39388
39389
39390 fi
39391
39392   fi
39393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39394 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39395
39396     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39397       for ac_func in _sqrtl
39398 do :
39399   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39400 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39401   cat >>confdefs.h <<_ACEOF
39402 #define HAVE__SQRTL 1
39403 _ACEOF
39404
39405 fi
39406 done
39407
39408     fi
39409   fi
39410
39411
39412
39413
39414
39415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39416 $as_echo_n "checking for sincosl declaration... " >&6; }
39417   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39418     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39419   $as_echo_n "(cached) " >&6
39420 else
39421
39422
39423       ac_ext=cpp
39424 ac_cpp='$CXXCPP $CPPFLAGS'
39425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39428
39429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39430 /* end confdefs.h.  */
39431 #include <math.h>
39432 int
39433 main ()
39434 {
39435  sincosl(0, 0, 0);
39436   ;
39437   return 0;
39438 }
39439 _ACEOF
39440 if ac_fn_cxx_try_compile "$LINENO"; then :
39441   glibcxx_cv_func_sincosl_use=yes
39442 else
39443   glibcxx_cv_func_sincosl_use=no
39444 fi
39445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39446       ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39451
39452
39453 fi
39454
39455   fi
39456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39457 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39458
39459   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39460     for ac_func in sincosl
39461 do :
39462   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39463 if test "x$ac_cv_func_sincosl" = x""yes; then :
39464   cat >>confdefs.h <<_ACEOF
39465 #define HAVE_SINCOSL 1
39466 _ACEOF
39467
39468 fi
39469 done
39470
39471   else
39472
39473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39474 $as_echo_n "checking for _sincosl declaration... " >&6; }
39475   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39476     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39477   $as_echo_n "(cached) " >&6
39478 else
39479
39480
39481       ac_ext=cpp
39482 ac_cpp='$CXXCPP $CPPFLAGS'
39483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39486
39487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39488 /* end confdefs.h.  */
39489 #include <math.h>
39490 int
39491 main ()
39492 {
39493  _sincosl(0, 0, 0);
39494   ;
39495   return 0;
39496 }
39497 _ACEOF
39498 if ac_fn_cxx_try_compile "$LINENO"; then :
39499   glibcxx_cv_func__sincosl_use=yes
39500 else
39501   glibcxx_cv_func__sincosl_use=no
39502 fi
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504       ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39509
39510
39511 fi
39512
39513   fi
39514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39515 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39516
39517     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39518       for ac_func in _sincosl
39519 do :
39520   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39521 if test "x$ac_cv_func__sincosl" = x""yes; then :
39522   cat >>confdefs.h <<_ACEOF
39523 #define HAVE__SINCOSL 1
39524 _ACEOF
39525
39526 fi
39527 done
39528
39529     fi
39530   fi
39531
39532
39533
39534
39535
39536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39537 $as_echo_n "checking for finitel declaration... " >&6; }
39538   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39539     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39540   $as_echo_n "(cached) " >&6
39541 else
39542
39543
39544       ac_ext=cpp
39545 ac_cpp='$CXXCPP $CPPFLAGS'
39546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39549
39550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39551 /* end confdefs.h.  */
39552 #include <math.h>
39553                       #ifdef HAVE_IEEEFP_H
39554                       #include <ieeefp.h>
39555                       #endif
39556
39557 int
39558 main ()
39559 {
39560  finitel(0);
39561   ;
39562   return 0;
39563 }
39564 _ACEOF
39565 if ac_fn_cxx_try_compile "$LINENO"; then :
39566   glibcxx_cv_func_finitel_use=yes
39567 else
39568   glibcxx_cv_func_finitel_use=no
39569 fi
39570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571       ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576
39577
39578 fi
39579
39580   fi
39581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39582 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39583
39584   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39585     for ac_func in finitel
39586 do :
39587   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39588 if test "x$ac_cv_func_finitel" = x""yes; then :
39589   cat >>confdefs.h <<_ACEOF
39590 #define HAVE_FINITEL 1
39591 _ACEOF
39592
39593 fi
39594 done
39595
39596   else
39597
39598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39599 $as_echo_n "checking for _finitel declaration... " >&6; }
39600   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39601     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39602   $as_echo_n "(cached) " >&6
39603 else
39604
39605
39606       ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611
39612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h.  */
39614 #include <math.h>
39615                       #ifdef HAVE_IEEEFP_H
39616                       #include <ieeefp.h>
39617                       #endif
39618
39619 int
39620 main ()
39621 {
39622  _finitel(0);
39623   ;
39624   return 0;
39625 }
39626 _ACEOF
39627 if ac_fn_cxx_try_compile "$LINENO"; then :
39628   glibcxx_cv_func__finitel_use=yes
39629 else
39630   glibcxx_cv_func__finitel_use=no
39631 fi
39632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633       ac_ext=c
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638
39639
39640 fi
39641
39642   fi
39643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39644 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39645
39646     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39647       for ac_func in _finitel
39648 do :
39649   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39650 if test "x$ac_cv_func__finitel" = x""yes; then :
39651   cat >>confdefs.h <<_ACEOF
39652 #define HAVE__FINITEL 1
39653 _ACEOF
39654
39655 fi
39656 done
39657
39658     fi
39659   fi
39660
39661
39662
39663
39664   LIBS="$ac_save_LIBS"
39665   CXXFLAGS="$ac_save_CXXFLAGS"
39666
39667
39668   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39669   ac_save_CXXFLAGS="$CXXFLAGS"
39670   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39671
39672
39673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39674 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39675   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39676     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39677   $as_echo_n "(cached) " >&6
39678 else
39679
39680
39681       ac_ext=cpp
39682 ac_cpp='$CXXCPP $CPPFLAGS'
39683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39686
39687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h.  */
39689 #include <stdlib.h>
39690 int
39691 main ()
39692 {
39693  at_quick_exit(0);
39694   ;
39695   return 0;
39696 }
39697 _ACEOF
39698 if ac_fn_cxx_try_compile "$LINENO"; then :
39699   glibcxx_cv_func_at_quick_exit_use=yes
39700 else
39701   glibcxx_cv_func_at_quick_exit_use=no
39702 fi
39703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704       ac_ext=c
39705 ac_cpp='$CPP $CPPFLAGS'
39706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39709
39710
39711 fi
39712
39713   fi
39714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39715 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39716   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39717     for ac_func in at_quick_exit
39718 do :
39719   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39720 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39721   cat >>confdefs.h <<_ACEOF
39722 #define HAVE_AT_QUICK_EXIT 1
39723 _ACEOF
39724
39725 fi
39726 done
39727
39728   fi
39729
39730
39731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39732 $as_echo_n "checking for quick_exit declaration... " >&6; }
39733   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39734     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39735   $as_echo_n "(cached) " >&6
39736 else
39737
39738
39739       ac_ext=cpp
39740 ac_cpp='$CXXCPP $CPPFLAGS'
39741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39744
39745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39746 /* end confdefs.h.  */
39747 #include <stdlib.h>
39748 int
39749 main ()
39750 {
39751  quick_exit(0);
39752   ;
39753   return 0;
39754 }
39755 _ACEOF
39756 if ac_fn_cxx_try_compile "$LINENO"; then :
39757   glibcxx_cv_func_quick_exit_use=yes
39758 else
39759   glibcxx_cv_func_quick_exit_use=no
39760 fi
39761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39762       ac_ext=c
39763 ac_cpp='$CPP $CPPFLAGS'
39764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39767
39768
39769 fi
39770
39771   fi
39772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39773 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39774   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39775     for ac_func in quick_exit
39776 do :
39777   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39778 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39779   cat >>confdefs.h <<_ACEOF
39780 #define HAVE_QUICK_EXIT 1
39781 _ACEOF
39782
39783 fi
39784 done
39785
39786   fi
39787
39788
39789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39790 $as_echo_n "checking for strtold declaration... " >&6; }
39791   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39792     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39793   $as_echo_n "(cached) " >&6
39794 else
39795
39796
39797       ac_ext=cpp
39798 ac_cpp='$CXXCPP $CPPFLAGS'
39799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39802
39803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39804 /* end confdefs.h.  */
39805 #include <stdlib.h>
39806 int
39807 main ()
39808 {
39809  strtold(0, 0);
39810   ;
39811   return 0;
39812 }
39813 _ACEOF
39814 if ac_fn_cxx_try_compile "$LINENO"; then :
39815   glibcxx_cv_func_strtold_use=yes
39816 else
39817   glibcxx_cv_func_strtold_use=no
39818 fi
39819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39820       ac_ext=c
39821 ac_cpp='$CPP $CPPFLAGS'
39822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825
39826
39827 fi
39828
39829   fi
39830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39831 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39832   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39833     for ac_func in strtold
39834 do :
39835   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39836 if test "x$ac_cv_func_strtold" = x""yes; then :
39837   cat >>confdefs.h <<_ACEOF
39838 #define HAVE_STRTOLD 1
39839 _ACEOF
39840
39841 fi
39842 done
39843
39844   fi
39845
39846
39847
39848
39849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39850 $as_echo_n "checking for strtof declaration... " >&6; }
39851   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39852     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39853   $as_echo_n "(cached) " >&6
39854 else
39855
39856
39857       ac_ext=cpp
39858 ac_cpp='$CXXCPP $CPPFLAGS'
39859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39862
39863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39864 /* end confdefs.h.  */
39865 #include <stdlib.h>
39866 int
39867 main ()
39868 {
39869  strtof(0, 0);
39870   ;
39871   return 0;
39872 }
39873 _ACEOF
39874 if ac_fn_cxx_try_compile "$LINENO"; then :
39875   glibcxx_cv_func_strtof_use=yes
39876 else
39877   glibcxx_cv_func_strtof_use=no
39878 fi
39879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39880       ac_ext=c
39881 ac_cpp='$CPP $CPPFLAGS'
39882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39885
39886
39887 fi
39888
39889   fi
39890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39891 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39892   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39893     for ac_func in strtof
39894 do :
39895   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39896 if test "x$ac_cv_func_strtof" = x""yes; then :
39897   cat >>confdefs.h <<_ACEOF
39898 #define HAVE_STRTOF 1
39899 _ACEOF
39900
39901 fi
39902 done
39903
39904   fi
39905
39906
39907
39908
39909   CXXFLAGS="$ac_save_CXXFLAGS"
39910
39911
39912
39913
39914
39915
39916           am_save_CPPFLAGS="$CPPFLAGS"
39917
39918   for element in $INCICONV; do
39919     haveit=
39920     for x in $CPPFLAGS; do
39921
39922   acl_save_prefix="$prefix"
39923   prefix="$acl_final_prefix"
39924   acl_save_exec_prefix="$exec_prefix"
39925   exec_prefix="$acl_final_exec_prefix"
39926   eval x=\"$x\"
39927   exec_prefix="$acl_save_exec_prefix"
39928   prefix="$acl_save_prefix"
39929
39930       if test "X$x" = "X$element"; then
39931         haveit=yes
39932         break
39933       fi
39934     done
39935     if test -z "$haveit"; then
39936       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39937     fi
39938   done
39939
39940
39941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39942 $as_echo_n "checking for iconv... " >&6; }
39943 if test "${am_cv_func_iconv+set}" = set; then :
39944   $as_echo_n "(cached) " >&6
39945 else
39946
39947     am_cv_func_iconv="no, consider installing GNU libiconv"
39948     am_cv_lib_iconv=no
39949     if test x$gcc_no_link = xyes; then
39950   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39951 fi
39952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39953 /* end confdefs.h.  */
39954 #include <stdlib.h>
39955 #include <iconv.h>
39956 int
39957 main ()
39958 {
39959 iconv_t cd = iconv_open("","");
39960        iconv(cd,NULL,NULL,NULL,NULL);
39961        iconv_close(cd);
39962   ;
39963   return 0;
39964 }
39965 _ACEOF
39966 if ac_fn_c_try_link "$LINENO"; then :
39967   am_cv_func_iconv=yes
39968 fi
39969 rm -f core conftest.err conftest.$ac_objext \
39970     conftest$ac_exeext conftest.$ac_ext
39971     if test "$am_cv_func_iconv" != yes; then
39972       am_save_LIBS="$LIBS"
39973       LIBS="$LIBS $LIBICONV"
39974       if test x$gcc_no_link = xyes; then
39975   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39976 fi
39977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39978 /* end confdefs.h.  */
39979 #include <stdlib.h>
39980 #include <iconv.h>
39981 int
39982 main ()
39983 {
39984 iconv_t cd = iconv_open("","");
39985          iconv(cd,NULL,NULL,NULL,NULL);
39986          iconv_close(cd);
39987   ;
39988   return 0;
39989 }
39990 _ACEOF
39991 if ac_fn_c_try_link "$LINENO"; then :
39992   am_cv_lib_iconv=yes
39993         am_cv_func_iconv=yes
39994 fi
39995 rm -f core conftest.err conftest.$ac_objext \
39996     conftest$ac_exeext conftest.$ac_ext
39997       LIBS="$am_save_LIBS"
39998     fi
39999
40000 fi
40001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40002 $as_echo "$am_cv_func_iconv" >&6; }
40003   if test "$am_cv_func_iconv" = yes; then
40004
40005 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40006
40007   fi
40008   if test "$am_cv_lib_iconv" = yes; then
40009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40010 $as_echo_n "checking how to link with libiconv... " >&6; }
40011     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40012 $as_echo "$LIBICONV" >&6; }
40013   else
40014             CPPFLAGS="$am_save_CPPFLAGS"
40015     LIBICONV=
40016     LTLIBICONV=
40017   fi
40018
40019
40020
40021   if test "$am_cv_func_iconv" = yes; then
40022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40023 $as_echo_n "checking for iconv declaration... " >&6; }
40024     if test "${am_cv_proto_iconv+set}" = set; then :
40025   $as_echo_n "(cached) " >&6
40026 else
40027
40028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40029 /* end confdefs.h.  */
40030
40031 #include <stdlib.h>
40032 #include <iconv.h>
40033 extern
40034 #ifdef __cplusplus
40035 "C"
40036 #endif
40037 #if defined(__STDC__) || defined(__cplusplus)
40038 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40039 #else
40040 size_t iconv();
40041 #endif
40042
40043 int
40044 main ()
40045 {
40046
40047   ;
40048   return 0;
40049 }
40050 _ACEOF
40051 if ac_fn_c_try_compile "$LINENO"; then :
40052   am_cv_proto_iconv_arg1=""
40053 else
40054   am_cv_proto_iconv_arg1="const"
40055 fi
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057       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);"
40058 fi
40059
40060     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40062          }$am_cv_proto_iconv" >&5
40063 $as_echo "${ac_t:-
40064          }$am_cv_proto_iconv" >&6; }
40065
40066 cat >>confdefs.h <<_ACEOF
40067 #define ICONV_CONST $am_cv_proto_iconv_arg1
40068 _ACEOF
40069
40070   fi
40071
40072     ;;
40073
40074   *-aix*)
40075
40076   # If we're not using GNU ld, then there's no point in even trying these
40077   # tests.  Check for that first.  We should have already tested for gld
40078   # by now (in libtool), but require it now just to be safe...
40079   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40080   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40081
40082
40083
40084   # The name set by libtool depends on the version of libtool.  Shame on us
40085   # for depending on an impl detail, but c'est la vie.  Older versions used
40086   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40087   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40088   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
40089   # set (hence we're using an older libtool), then set it.
40090   if test x${with_gnu_ld+set} != xset; then
40091     if test x${ac_cv_prog_gnu_ld+set} != xset; then
40092       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
40093       with_gnu_ld=no
40094     else
40095       with_gnu_ld=$ac_cv_prog_gnu_ld
40096     fi
40097   fi
40098
40099   # Start by getting the version number.  I think the libtool test already
40100   # does some of this, but throws away the result.
40101   glibcxx_ld_is_gold=no
40102   if test x"$with_gnu_ld" = x"yes"; then
40103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40104 $as_echo_n "checking for ld version... " >&6; }
40105
40106     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40107       glibcxx_ld_is_gold=yes
40108     fi
40109     ldver=`$LD --version 2>/dev/null |
40110            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'`
40111
40112     glibcxx_gnu_ld_version=`echo $ldver | \
40113            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40115 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40116   fi
40117
40118   # Set --gc-sections.
40119   glibcxx_have_gc_sections=no
40120   if test "$glibcxx_ld_is_gold" = "yes"; then
40121     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40122       glibcxx_have_gc_sections=yes
40123     fi
40124   else
40125     glibcxx_gcsections_min_ld=21602
40126     if test x"$with_gnu_ld" = x"yes" &&
40127         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40128       glibcxx_have_gc_sections=yes
40129     fi
40130   fi
40131   if test "$glibcxx_have_gc_sections" = "yes"; then
40132     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
40133     # NB: This flag only works reliably after 2.16.1. Configure tests
40134     # for this are difficult, so hard wire a value that should work.
40135
40136     ac_test_CFLAGS="${CFLAGS+set}"
40137     ac_save_CFLAGS="$CFLAGS"
40138     CFLAGS='-Wl,--gc-sections'
40139
40140     # Check for -Wl,--gc-sections
40141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40142 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40143     if test x$gcc_no_link = xyes; then
40144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40145 fi
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h.  */
40148  int one(void) { return 1; }
40149      int two(void) { return 2; }
40150
40151 int
40152 main ()
40153 {
40154  two();
40155   ;
40156   return 0;
40157 }
40158 _ACEOF
40159 if ac_fn_c_try_link "$LINENO"; then :
40160   ac_gcsections=yes
40161 else
40162   ac_gcsections=no
40163 fi
40164 rm -f core conftest.err conftest.$ac_objext \
40165     conftest$ac_exeext conftest.$ac_ext
40166     if test "$ac_gcsections" = "yes"; then
40167       rm -f conftest.c
40168       touch conftest.c
40169       if $CC -c conftest.c; then
40170         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40171            grep "Warning: gc-sections option ignored" > /dev/null; then
40172           ac_gcsections=no
40173         fi
40174       fi
40175       rm -f conftest.c conftest.o conftest
40176     fi
40177     if test "$ac_gcsections" = "yes"; then
40178       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40179     fi
40180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40181 $as_echo "$ac_gcsections" >&6; }
40182
40183     if test "$ac_test_CFLAGS" = set; then
40184       CFLAGS="$ac_save_CFLAGS"
40185     else
40186       # this is the suspicious part
40187       CFLAGS=''
40188     fi
40189   fi
40190
40191   # Set -z,relro.
40192   # Note this is only for shared objects.
40193   ac_ld_relro=no
40194   if test x"$with_gnu_ld" = x"yes"; then
40195     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40196 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40197     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40198     if test -n "$cxx_z_relo"; then
40199       OPT_LDFLAGS="-Wl,-z,relro"
40200       ac_ld_relro=yes
40201     fi
40202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40203 $as_echo "$ac_ld_relro" >&6; }
40204   fi
40205
40206   # Set linker optimization flags.
40207   if test x"$with_gnu_ld" = x"yes"; then
40208     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40209   fi
40210
40211
40212
40213
40214
40215   ac_test_CXXFLAGS="${CXXFLAGS+set}"
40216   ac_save_CXXFLAGS="$CXXFLAGS"
40217   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40218
40219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40220 $as_echo_n "checking for sin in -lm... " >&6; }
40221 if test "${ac_cv_lib_m_sin+set}" = set; then :
40222   $as_echo_n "(cached) " >&6
40223 else
40224   ac_check_lib_save_LIBS=$LIBS
40225 LIBS="-lm  $LIBS"
40226 if test x$gcc_no_link = xyes; then
40227   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40228 fi
40229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40230 /* end confdefs.h.  */
40231
40232 /* Override any GCC internal prototype to avoid an error.
40233    Use char because int might match the return type of a GCC
40234    builtin and then its argument prototype would still apply.  */
40235 #ifdef __cplusplus
40236 extern "C"
40237 #endif
40238 char sin ();
40239 int
40240 main ()
40241 {
40242 return sin ();
40243   ;
40244   return 0;
40245 }
40246 _ACEOF
40247 if ac_fn_c_try_link "$LINENO"; then :
40248   ac_cv_lib_m_sin=yes
40249 else
40250   ac_cv_lib_m_sin=no
40251 fi
40252 rm -f core conftest.err conftest.$ac_objext \
40253     conftest$ac_exeext conftest.$ac_ext
40254 LIBS=$ac_check_lib_save_LIBS
40255 fi
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40257 $as_echo "$ac_cv_lib_m_sin" >&6; }
40258 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40259   libm="-lm"
40260 fi
40261
40262   ac_save_LIBS="$LIBS"
40263   LIBS="$LIBS $libm"
40264
40265
40266
40267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40268 $as_echo_n "checking for isinf declaration... " >&6; }
40269   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40270     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40271   $as_echo_n "(cached) " >&6
40272 else
40273
40274
40275       ac_ext=cpp
40276 ac_cpp='$CXXCPP $CPPFLAGS'
40277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40280
40281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40282 /* end confdefs.h.  */
40283 #include <math.h>
40284                       #ifdef HAVE_IEEEFP_H
40285                       #include <ieeefp.h>
40286                       #endif
40287
40288 int
40289 main ()
40290 {
40291  isinf(0);
40292   ;
40293   return 0;
40294 }
40295 _ACEOF
40296 if ac_fn_cxx_try_compile "$LINENO"; then :
40297   glibcxx_cv_func_isinf_use=yes
40298 else
40299   glibcxx_cv_func_isinf_use=no
40300 fi
40301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40302       ac_ext=c
40303 ac_cpp='$CPP $CPPFLAGS'
40304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40307
40308
40309 fi
40310
40311   fi
40312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40313 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40314
40315   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40316     for ac_func in isinf
40317 do :
40318   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40319 if test "x$ac_cv_func_isinf" = x""yes; then :
40320   cat >>confdefs.h <<_ACEOF
40321 #define HAVE_ISINF 1
40322 _ACEOF
40323
40324 fi
40325 done
40326
40327   else
40328
40329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40330 $as_echo_n "checking for _isinf declaration... " >&6; }
40331   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40332     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40333   $as_echo_n "(cached) " >&6
40334 else
40335
40336
40337       ac_ext=cpp
40338 ac_cpp='$CXXCPP $CPPFLAGS'
40339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342
40343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40344 /* end confdefs.h.  */
40345 #include <math.h>
40346                       #ifdef HAVE_IEEEFP_H
40347                       #include <ieeefp.h>
40348                       #endif
40349
40350 int
40351 main ()
40352 {
40353  _isinf(0);
40354   ;
40355   return 0;
40356 }
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359   glibcxx_cv_func__isinf_use=yes
40360 else
40361   glibcxx_cv_func__isinf_use=no
40362 fi
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364       ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369
40370
40371 fi
40372
40373   fi
40374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40375 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40376
40377     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40378       for ac_func in _isinf
40379 do :
40380   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40381 if test "x$ac_cv_func__isinf" = x""yes; then :
40382   cat >>confdefs.h <<_ACEOF
40383 #define HAVE__ISINF 1
40384 _ACEOF
40385
40386 fi
40387 done
40388
40389     fi
40390   fi
40391
40392
40393
40394
40395
40396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40397 $as_echo_n "checking for isnan declaration... " >&6; }
40398   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40399     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40400   $as_echo_n "(cached) " >&6
40401 else
40402
40403
40404       ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40409
40410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h.  */
40412 #include <math.h>
40413                       #ifdef HAVE_IEEEFP_H
40414                       #include <ieeefp.h>
40415                       #endif
40416
40417 int
40418 main ()
40419 {
40420  isnan(0);
40421   ;
40422   return 0;
40423 }
40424 _ACEOF
40425 if ac_fn_cxx_try_compile "$LINENO"; then :
40426   glibcxx_cv_func_isnan_use=yes
40427 else
40428   glibcxx_cv_func_isnan_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_isnan_use" >&5
40442 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40443
40444   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40445     for ac_func in isnan
40446 do :
40447   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40448 if test "x$ac_cv_func_isnan" = x""yes; then :
40449   cat >>confdefs.h <<_ACEOF
40450 #define HAVE_ISNAN 1
40451 _ACEOF
40452
40453 fi
40454 done
40455
40456   else
40457
40458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40459 $as_echo_n "checking for _isnan declaration... " >&6; }
40460   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40461     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40462   $as_echo_n "(cached) " >&6
40463 else
40464
40465
40466       ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471
40472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h.  */
40474 #include <math.h>
40475                       #ifdef HAVE_IEEEFP_H
40476                       #include <ieeefp.h>
40477                       #endif
40478
40479 int
40480 main ()
40481 {
40482  _isnan(0);
40483   ;
40484   return 0;
40485 }
40486 _ACEOF
40487 if ac_fn_cxx_try_compile "$LINENO"; then :
40488   glibcxx_cv_func__isnan_use=yes
40489 else
40490   glibcxx_cv_func__isnan_use=no
40491 fi
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493       ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40498
40499
40500 fi
40501
40502   fi
40503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40504 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40505
40506     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40507       for ac_func in _isnan
40508 do :
40509   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40510 if test "x$ac_cv_func__isnan" = x""yes; then :
40511   cat >>confdefs.h <<_ACEOF
40512 #define HAVE__ISNAN 1
40513 _ACEOF
40514
40515 fi
40516 done
40517
40518     fi
40519   fi
40520
40521
40522
40523
40524
40525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40526 $as_echo_n "checking for finite declaration... " >&6; }
40527   if test x${glibcxx_cv_func_finite_use+set} != xset; then
40528     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40529   $as_echo_n "(cached) " >&6
40530 else
40531
40532
40533       ac_ext=cpp
40534 ac_cpp='$CXXCPP $CPPFLAGS'
40535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40538
40539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40540 /* end confdefs.h.  */
40541 #include <math.h>
40542                       #ifdef HAVE_IEEEFP_H
40543                       #include <ieeefp.h>
40544                       #endif
40545
40546 int
40547 main ()
40548 {
40549  finite(0);
40550   ;
40551   return 0;
40552 }
40553 _ACEOF
40554 if ac_fn_cxx_try_compile "$LINENO"; then :
40555   glibcxx_cv_func_finite_use=yes
40556 else
40557   glibcxx_cv_func_finite_use=no
40558 fi
40559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40560       ac_ext=c
40561 ac_cpp='$CPP $CPPFLAGS'
40562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40565
40566
40567 fi
40568
40569   fi
40570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40571 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40572
40573   if test x$glibcxx_cv_func_finite_use = x"yes"; then
40574     for ac_func in finite
40575 do :
40576   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40577 if test "x$ac_cv_func_finite" = x""yes; then :
40578   cat >>confdefs.h <<_ACEOF
40579 #define HAVE_FINITE 1
40580 _ACEOF
40581
40582 fi
40583 done
40584
40585   else
40586
40587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40588 $as_echo_n "checking for _finite declaration... " >&6; }
40589   if test x${glibcxx_cv_func__finite_use+set} != xset; then
40590     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40591   $as_echo_n "(cached) " >&6
40592 else
40593
40594
40595       ac_ext=cpp
40596 ac_cpp='$CXXCPP $CPPFLAGS'
40597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40600
40601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40602 /* end confdefs.h.  */
40603 #include <math.h>
40604                       #ifdef HAVE_IEEEFP_H
40605                       #include <ieeefp.h>
40606                       #endif
40607
40608 int
40609 main ()
40610 {
40611  _finite(0);
40612   ;
40613   return 0;
40614 }
40615 _ACEOF
40616 if ac_fn_cxx_try_compile "$LINENO"; then :
40617   glibcxx_cv_func__finite_use=yes
40618 else
40619   glibcxx_cv_func__finite_use=no
40620 fi
40621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40622       ac_ext=c
40623 ac_cpp='$CPP $CPPFLAGS'
40624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40627
40628
40629 fi
40630
40631   fi
40632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40633 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40634
40635     if test x$glibcxx_cv_func__finite_use = x"yes"; then
40636       for ac_func in _finite
40637 do :
40638   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40639 if test "x$ac_cv_func__finite" = x""yes; then :
40640   cat >>confdefs.h <<_ACEOF
40641 #define HAVE__FINITE 1
40642 _ACEOF
40643
40644 fi
40645 done
40646
40647     fi
40648   fi
40649
40650
40651
40652
40653
40654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40655 $as_echo_n "checking for sincos declaration... " >&6; }
40656   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40657     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40658   $as_echo_n "(cached) " >&6
40659 else
40660
40661
40662       ac_ext=cpp
40663 ac_cpp='$CXXCPP $CPPFLAGS'
40664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40667
40668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40669 /* end confdefs.h.  */
40670 #include <math.h>
40671 int
40672 main ()
40673 {
40674  sincos(0, 0, 0);
40675   ;
40676   return 0;
40677 }
40678 _ACEOF
40679 if ac_fn_cxx_try_compile "$LINENO"; then :
40680   glibcxx_cv_func_sincos_use=yes
40681 else
40682   glibcxx_cv_func_sincos_use=no
40683 fi
40684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40685       ac_ext=c
40686 ac_cpp='$CPP $CPPFLAGS'
40687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40690
40691
40692 fi
40693
40694   fi
40695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40696 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40697
40698   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40699     for ac_func in sincos
40700 do :
40701   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40702 if test "x$ac_cv_func_sincos" = x""yes; then :
40703   cat >>confdefs.h <<_ACEOF
40704 #define HAVE_SINCOS 1
40705 _ACEOF
40706
40707 fi
40708 done
40709
40710   else
40711
40712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40713 $as_echo_n "checking for _sincos declaration... " >&6; }
40714   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40715     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40716   $as_echo_n "(cached) " >&6
40717 else
40718
40719
40720       ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40725
40726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h.  */
40728 #include <math.h>
40729 int
40730 main ()
40731 {
40732  _sincos(0, 0, 0);
40733   ;
40734   return 0;
40735 }
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738   glibcxx_cv_func__sincos_use=yes
40739 else
40740   glibcxx_cv_func__sincos_use=no
40741 fi
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743       ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40748
40749
40750 fi
40751
40752   fi
40753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40754 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40755
40756     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40757       for ac_func in _sincos
40758 do :
40759   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40760 if test "x$ac_cv_func__sincos" = x""yes; then :
40761   cat >>confdefs.h <<_ACEOF
40762 #define HAVE__SINCOS 1
40763 _ACEOF
40764
40765 fi
40766 done
40767
40768     fi
40769   fi
40770
40771
40772
40773
40774
40775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40776 $as_echo_n "checking for fpclass declaration... " >&6; }
40777   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40778     if test "${glibcxx_cv_func_fpclass_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  fpclass(0);
40800   ;
40801   return 0;
40802 }
40803 _ACEOF
40804 if ac_fn_cxx_try_compile "$LINENO"; then :
40805   glibcxx_cv_func_fpclass_use=yes
40806 else
40807   glibcxx_cv_func_fpclass_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_fpclass_use" >&5
40821 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40822
40823   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40824     for ac_func in fpclass
40825 do :
40826   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40827 if test "x$ac_cv_func_fpclass" = x""yes; then :
40828   cat >>confdefs.h <<_ACEOF
40829 #define HAVE_FPCLASS 1
40830 _ACEOF
40831
40832 fi
40833 done
40834
40835   else
40836
40837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40838 $as_echo_n "checking for _fpclass declaration... " >&6; }
40839   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40840     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40841   $as_echo_n "(cached) " >&6
40842 else
40843
40844
40845       ac_ext=cpp
40846 ac_cpp='$CXXCPP $CPPFLAGS'
40847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40850
40851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40852 /* end confdefs.h.  */
40853 #include <math.h>
40854                       #ifdef HAVE_IEEEFP_H
40855                       #include <ieeefp.h>
40856                       #endif
40857
40858 int
40859 main ()
40860 {
40861  _fpclass(0);
40862   ;
40863   return 0;
40864 }
40865 _ACEOF
40866 if ac_fn_cxx_try_compile "$LINENO"; then :
40867   glibcxx_cv_func__fpclass_use=yes
40868 else
40869   glibcxx_cv_func__fpclass_use=no
40870 fi
40871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872       ac_ext=c
40873 ac_cpp='$CPP $CPPFLAGS'
40874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40877
40878
40879 fi
40880
40881   fi
40882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40883 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40884
40885     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40886       for ac_func in _fpclass
40887 do :
40888   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40889 if test "x$ac_cv_func__fpclass" = x""yes; then :
40890   cat >>confdefs.h <<_ACEOF
40891 #define HAVE__FPCLASS 1
40892 _ACEOF
40893
40894 fi
40895 done
40896
40897     fi
40898   fi
40899
40900
40901
40902
40903
40904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40905 $as_echo_n "checking for qfpclass declaration... " >&6; }
40906   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40907     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40908   $as_echo_n "(cached) " >&6
40909 else
40910
40911
40912       ac_ext=cpp
40913 ac_cpp='$CXXCPP $CPPFLAGS'
40914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40917
40918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40919 /* end confdefs.h.  */
40920 #include <math.h>
40921                       #ifdef HAVE_IEEEFP_H
40922                       #include <ieeefp.h>
40923                       #endif
40924
40925 int
40926 main ()
40927 {
40928  qfpclass(0);
40929   ;
40930   return 0;
40931 }
40932 _ACEOF
40933 if ac_fn_cxx_try_compile "$LINENO"; then :
40934   glibcxx_cv_func_qfpclass_use=yes
40935 else
40936   glibcxx_cv_func_qfpclass_use=no
40937 fi
40938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40939       ac_ext=c
40940 ac_cpp='$CPP $CPPFLAGS'
40941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40944
40945
40946 fi
40947
40948   fi
40949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40950 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40951
40952   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40953     for ac_func in qfpclass
40954 do :
40955   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40956 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40957   cat >>confdefs.h <<_ACEOF
40958 #define HAVE_QFPCLASS 1
40959 _ACEOF
40960
40961 fi
40962 done
40963
40964   else
40965
40966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40967 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40968   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40969     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40970   $as_echo_n "(cached) " >&6
40971 else
40972
40973
40974       ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40979
40980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h.  */
40982 #include <math.h>
40983                       #ifdef HAVE_IEEEFP_H
40984                       #include <ieeefp.h>
40985                       #endif
40986
40987 int
40988 main ()
40989 {
40990  _qfpclass(0);
40991   ;
40992   return 0;
40993 }
40994 _ACEOF
40995 if ac_fn_cxx_try_compile "$LINENO"; then :
40996   glibcxx_cv_func__qfpclass_use=yes
40997 else
40998   glibcxx_cv_func__qfpclass_use=no
40999 fi
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41001       ac_ext=c
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41006
41007
41008 fi
41009
41010   fi
41011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41012 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41013
41014     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41015       for ac_func in _qfpclass
41016 do :
41017   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41018 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41019   cat >>confdefs.h <<_ACEOF
41020 #define HAVE__QFPCLASS 1
41021 _ACEOF
41022
41023 fi
41024 done
41025
41026     fi
41027   fi
41028
41029
41030
41031
41032
41033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41034 $as_echo_n "checking for hypot declaration... " >&6; }
41035   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41036     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41037   $as_echo_n "(cached) " >&6
41038 else
41039
41040
41041       ac_ext=cpp
41042 ac_cpp='$CXXCPP $CPPFLAGS'
41043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41046
41047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41048 /* end confdefs.h.  */
41049 #include <math.h>
41050 int
41051 main ()
41052 {
41053  hypot(0, 0);
41054   ;
41055   return 0;
41056 }
41057 _ACEOF
41058 if ac_fn_cxx_try_compile "$LINENO"; then :
41059   glibcxx_cv_func_hypot_use=yes
41060 else
41061   glibcxx_cv_func_hypot_use=no
41062 fi
41063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41064       ac_ext=c
41065 ac_cpp='$CPP $CPPFLAGS'
41066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41069
41070
41071 fi
41072
41073   fi
41074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41075 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41076
41077   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41078     for ac_func in hypot
41079 do :
41080   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41081 if test "x$ac_cv_func_hypot" = x""yes; then :
41082   cat >>confdefs.h <<_ACEOF
41083 #define HAVE_HYPOT 1
41084 _ACEOF
41085
41086 fi
41087 done
41088
41089   else
41090
41091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41092 $as_echo_n "checking for _hypot declaration... " >&6; }
41093   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41094     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41095   $as_echo_n "(cached) " >&6
41096 else
41097
41098
41099       ac_ext=cpp
41100 ac_cpp='$CXXCPP $CPPFLAGS'
41101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41104
41105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41106 /* end confdefs.h.  */
41107 #include <math.h>
41108 int
41109 main ()
41110 {
41111  _hypot(0, 0);
41112   ;
41113   return 0;
41114 }
41115 _ACEOF
41116 if ac_fn_cxx_try_compile "$LINENO"; then :
41117   glibcxx_cv_func__hypot_use=yes
41118 else
41119   glibcxx_cv_func__hypot_use=no
41120 fi
41121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41122       ac_ext=c
41123 ac_cpp='$CPP $CPPFLAGS'
41124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41127
41128
41129 fi
41130
41131   fi
41132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41133 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41134
41135     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41136       for ac_func in _hypot
41137 do :
41138   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41139 if test "x$ac_cv_func__hypot" = x""yes; then :
41140   cat >>confdefs.h <<_ACEOF
41141 #define HAVE__HYPOT 1
41142 _ACEOF
41143
41144 fi
41145 done
41146
41147     fi
41148   fi
41149
41150
41151
41152
41153
41154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41155 $as_echo_n "checking for float trig functions... " >&6; }
41156   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41157   $as_echo_n "(cached) " >&6
41158 else
41159
41160
41161     ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41166
41167     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h.  */
41169 #include <math.h>
41170 int
41171 main ()
41172 {
41173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41174   ;
41175   return 0;
41176 }
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179   glibcxx_cv_func_float_trig_use=yes
41180 else
41181   glibcxx_cv_func_float_trig_use=no
41182 fi
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184     ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41189
41190 fi
41191
41192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41193 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41194   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41195     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41196 do :
41197   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41199 eval as_val=\$$as_ac_var
41200    if test "x$as_val" = x""yes; then :
41201   cat >>confdefs.h <<_ACEOF
41202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41203 _ACEOF
41204
41205 fi
41206 done
41207
41208   else
41209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41210 $as_echo_n "checking for _float trig functions... " >&6; }
41211     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41212   $as_echo_n "(cached) " >&6
41213 else
41214
41215
41216       ac_ext=cpp
41217 ac_cpp='$CXXCPP $CPPFLAGS'
41218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41221
41222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41223 /* end confdefs.h.  */
41224 #include <math.h>
41225 int
41226 main ()
41227 {
41228 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41229   ;
41230   return 0;
41231 }
41232 _ACEOF
41233 if ac_fn_cxx_try_compile "$LINENO"; then :
41234   glibcxx_cv_func__float_trig_use=yes
41235 else
41236   glibcxx_cv_func__float_trig_use=no
41237 fi
41238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41239       ac_ext=c
41240 ac_cpp='$CPP $CPPFLAGS'
41241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41244
41245 fi
41246
41247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41248 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41249     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41250       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41251 do :
41252   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41254 eval as_val=\$$as_ac_var
41255    if test "x$as_val" = x""yes; then :
41256   cat >>confdefs.h <<_ACEOF
41257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41258 _ACEOF
41259
41260 fi
41261 done
41262
41263     fi
41264   fi
41265
41266
41267
41268
41269
41270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41271 $as_echo_n "checking for float round functions... " >&6; }
41272   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41273   $as_echo_n "(cached) " >&6
41274 else
41275
41276
41277     ac_ext=cpp
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41282
41283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41284 /* end confdefs.h.  */
41285 #include <math.h>
41286 int
41287 main ()
41288 {
41289 ceilf (0); floorf (0);
41290   ;
41291   return 0;
41292 }
41293 _ACEOF
41294 if ac_fn_cxx_try_compile "$LINENO"; then :
41295   glibcxx_cv_func_float_round_use=yes
41296 else
41297   glibcxx_cv_func_float_round_use=no
41298 fi
41299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41300     ac_ext=c
41301 ac_cpp='$CPP $CPPFLAGS'
41302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41305
41306 fi
41307
41308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41309 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41310   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41311     for ac_func in ceilf floorf
41312 do :
41313   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41315 eval as_val=\$$as_ac_var
41316    if test "x$as_val" = x""yes; then :
41317   cat >>confdefs.h <<_ACEOF
41318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41319 _ACEOF
41320
41321 fi
41322 done
41323
41324   else
41325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41326 $as_echo_n "checking for _float round functions... " >&6; }
41327     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41328   $as_echo_n "(cached) " >&6
41329 else
41330
41331
41332       ac_ext=cpp
41333 ac_cpp='$CXXCPP $CPPFLAGS'
41334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337
41338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41339 /* end confdefs.h.  */
41340 #include <math.h>
41341 int
41342 main ()
41343 {
41344 _ceilf (0); _floorf (0);
41345   ;
41346   return 0;
41347 }
41348 _ACEOF
41349 if ac_fn_cxx_try_compile "$LINENO"; then :
41350   glibcxx_cv_func__float_round_use=yes
41351 else
41352   glibcxx_cv_func__float_round_use=no
41353 fi
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355       ac_ext=c
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41360
41361 fi
41362
41363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41364 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41365     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41366       for ac_func in _ceilf _floorf
41367 do :
41368   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41370 eval as_val=\$$as_ac_var
41371    if test "x$as_val" = x""yes; then :
41372   cat >>confdefs.h <<_ACEOF
41373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41374 _ACEOF
41375
41376 fi
41377 done
41378
41379     fi
41380   fi
41381
41382
41383
41384
41385
41386
41387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41388 $as_echo_n "checking for expf declaration... " >&6; }
41389   if test x${glibcxx_cv_func_expf_use+set} != xset; then
41390     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41391   $as_echo_n "(cached) " >&6
41392 else
41393
41394
41395       ac_ext=cpp
41396 ac_cpp='$CXXCPP $CPPFLAGS'
41397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41400
41401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41402 /* end confdefs.h.  */
41403 #include <math.h>
41404                       #ifdef HAVE_IEEEFP_H
41405                       #include <ieeefp.h>
41406                       #endif
41407
41408 int
41409 main ()
41410 {
41411  expf(0);
41412   ;
41413   return 0;
41414 }
41415 _ACEOF
41416 if ac_fn_cxx_try_compile "$LINENO"; then :
41417   glibcxx_cv_func_expf_use=yes
41418 else
41419   glibcxx_cv_func_expf_use=no
41420 fi
41421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41422       ac_ext=c
41423 ac_cpp='$CPP $CPPFLAGS'
41424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41427
41428
41429 fi
41430
41431   fi
41432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41433 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41434
41435   if test x$glibcxx_cv_func_expf_use = x"yes"; then
41436     for ac_func in expf
41437 do :
41438   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41439 if test "x$ac_cv_func_expf" = x""yes; then :
41440   cat >>confdefs.h <<_ACEOF
41441 #define HAVE_EXPF 1
41442 _ACEOF
41443
41444 fi
41445 done
41446
41447   else
41448
41449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41450 $as_echo_n "checking for _expf declaration... " >&6; }
41451   if test x${glibcxx_cv_func__expf_use+set} != xset; then
41452     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41453   $as_echo_n "(cached) " >&6
41454 else
41455
41456
41457       ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462
41463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h.  */
41465 #include <math.h>
41466                       #ifdef HAVE_IEEEFP_H
41467                       #include <ieeefp.h>
41468                       #endif
41469
41470 int
41471 main ()
41472 {
41473  _expf(0);
41474   ;
41475   return 0;
41476 }
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479   glibcxx_cv_func__expf_use=yes
41480 else
41481   glibcxx_cv_func__expf_use=no
41482 fi
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484       ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489
41490
41491 fi
41492
41493   fi
41494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41495 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41496
41497     if test x$glibcxx_cv_func__expf_use = x"yes"; then
41498       for ac_func in _expf
41499 do :
41500   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41501 if test "x$ac_cv_func__expf" = x""yes; then :
41502   cat >>confdefs.h <<_ACEOF
41503 #define HAVE__EXPF 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509     fi
41510   fi
41511
41512
41513
41514
41515
41516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41517 $as_echo_n "checking for isnanf declaration... " >&6; }
41518   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41519     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41520   $as_echo_n "(cached) " >&6
41521 else
41522
41523
41524       ac_ext=cpp
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41529
41530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41531 /* end confdefs.h.  */
41532 #include <math.h>
41533                       #ifdef HAVE_IEEEFP_H
41534                       #include <ieeefp.h>
41535                       #endif
41536
41537 int
41538 main ()
41539 {
41540  isnanf(0);
41541   ;
41542   return 0;
41543 }
41544 _ACEOF
41545 if ac_fn_cxx_try_compile "$LINENO"; then :
41546   glibcxx_cv_func_isnanf_use=yes
41547 else
41548   glibcxx_cv_func_isnanf_use=no
41549 fi
41550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41551       ac_ext=c
41552 ac_cpp='$CPP $CPPFLAGS'
41553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556
41557
41558 fi
41559
41560   fi
41561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41562 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41563
41564   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41565     for ac_func in isnanf
41566 do :
41567   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41568 if test "x$ac_cv_func_isnanf" = x""yes; then :
41569   cat >>confdefs.h <<_ACEOF
41570 #define HAVE_ISNANF 1
41571 _ACEOF
41572
41573 fi
41574 done
41575
41576   else
41577
41578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41579 $as_echo_n "checking for _isnanf declaration... " >&6; }
41580   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41581     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41582   $as_echo_n "(cached) " >&6
41583 else
41584
41585
41586       ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591
41592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h.  */
41594 #include <math.h>
41595                       #ifdef HAVE_IEEEFP_H
41596                       #include <ieeefp.h>
41597                       #endif
41598
41599 int
41600 main ()
41601 {
41602  _isnanf(0);
41603   ;
41604   return 0;
41605 }
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608   glibcxx_cv_func__isnanf_use=yes
41609 else
41610   glibcxx_cv_func__isnanf_use=no
41611 fi
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613       ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618
41619
41620 fi
41621
41622   fi
41623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41624 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41625
41626     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41627       for ac_func in _isnanf
41628 do :
41629   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41630 if test "x$ac_cv_func__isnanf" = x""yes; then :
41631   cat >>confdefs.h <<_ACEOF
41632 #define HAVE__ISNANF 1
41633 _ACEOF
41634
41635 fi
41636 done
41637
41638     fi
41639   fi
41640
41641
41642
41643
41644
41645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41646 $as_echo_n "checking for isinff declaration... " >&6; }
41647   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41648     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41649   $as_echo_n "(cached) " >&6
41650 else
41651
41652
41653       ac_ext=cpp
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658
41659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41660 /* end confdefs.h.  */
41661 #include <math.h>
41662                       #ifdef HAVE_IEEEFP_H
41663                       #include <ieeefp.h>
41664                       #endif
41665
41666 int
41667 main ()
41668 {
41669  isinff(0);
41670   ;
41671   return 0;
41672 }
41673 _ACEOF
41674 if ac_fn_cxx_try_compile "$LINENO"; then :
41675   glibcxx_cv_func_isinff_use=yes
41676 else
41677   glibcxx_cv_func_isinff_use=no
41678 fi
41679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680       ac_ext=c
41681 ac_cpp='$CPP $CPPFLAGS'
41682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685
41686
41687 fi
41688
41689   fi
41690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41691 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41692
41693   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41694     for ac_func in isinff
41695 do :
41696   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41697 if test "x$ac_cv_func_isinff" = x""yes; then :
41698   cat >>confdefs.h <<_ACEOF
41699 #define HAVE_ISINFF 1
41700 _ACEOF
41701
41702 fi
41703 done
41704
41705   else
41706
41707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41708 $as_echo_n "checking for _isinff declaration... " >&6; }
41709   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41710     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41711   $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715       ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h.  */
41723 #include <math.h>
41724                       #ifdef HAVE_IEEEFP_H
41725                       #include <ieeefp.h>
41726                       #endif
41727
41728 int
41729 main ()
41730 {
41731  _isinff(0);
41732   ;
41733   return 0;
41734 }
41735 _ACEOF
41736 if ac_fn_cxx_try_compile "$LINENO"; then :
41737   glibcxx_cv_func__isinff_use=yes
41738 else
41739   glibcxx_cv_func__isinff_use=no
41740 fi
41741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41742       ac_ext=c
41743 ac_cpp='$CPP $CPPFLAGS'
41744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41747
41748
41749 fi
41750
41751   fi
41752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41753 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41754
41755     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41756       for ac_func in _isinff
41757 do :
41758   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41759 if test "x$ac_cv_func__isinff" = x""yes; then :
41760   cat >>confdefs.h <<_ACEOF
41761 #define HAVE__ISINFF 1
41762 _ACEOF
41763
41764 fi
41765 done
41766
41767     fi
41768   fi
41769
41770
41771
41772
41773
41774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41775 $as_echo_n "checking for atan2f declaration... " >&6; }
41776   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41777     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41778   $as_echo_n "(cached) " >&6
41779 else
41780
41781
41782       ac_ext=cpp
41783 ac_cpp='$CXXCPP $CPPFLAGS'
41784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787
41788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41789 /* end confdefs.h.  */
41790 #include <math.h>
41791 int
41792 main ()
41793 {
41794  atan2f(0, 0);
41795   ;
41796   return 0;
41797 }
41798 _ACEOF
41799 if ac_fn_cxx_try_compile "$LINENO"; then :
41800   glibcxx_cv_func_atan2f_use=yes
41801 else
41802   glibcxx_cv_func_atan2f_use=no
41803 fi
41804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41805       ac_ext=c
41806 ac_cpp='$CPP $CPPFLAGS'
41807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41810
41811
41812 fi
41813
41814   fi
41815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41816 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41817
41818   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41819     for ac_func in atan2f
41820 do :
41821   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41822 if test "x$ac_cv_func_atan2f" = x""yes; then :
41823   cat >>confdefs.h <<_ACEOF
41824 #define HAVE_ATAN2F 1
41825 _ACEOF
41826
41827 fi
41828 done
41829
41830   else
41831
41832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41833 $as_echo_n "checking for _atan2f declaration... " >&6; }
41834   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41835     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41836   $as_echo_n "(cached) " >&6
41837 else
41838
41839
41840       ac_ext=cpp
41841 ac_cpp='$CXXCPP $CPPFLAGS'
41842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41845
41846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41847 /* end confdefs.h.  */
41848 #include <math.h>
41849 int
41850 main ()
41851 {
41852  _atan2f(0, 0);
41853   ;
41854   return 0;
41855 }
41856 _ACEOF
41857 if ac_fn_cxx_try_compile "$LINENO"; then :
41858   glibcxx_cv_func__atan2f_use=yes
41859 else
41860   glibcxx_cv_func__atan2f_use=no
41861 fi
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41863       ac_ext=c
41864 ac_cpp='$CPP $CPPFLAGS'
41865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41868
41869
41870 fi
41871
41872   fi
41873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41874 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41875
41876     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41877       for ac_func in _atan2f
41878 do :
41879   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41880 if test "x$ac_cv_func__atan2f" = x""yes; then :
41881   cat >>confdefs.h <<_ACEOF
41882 #define HAVE__ATAN2F 1
41883 _ACEOF
41884
41885 fi
41886 done
41887
41888     fi
41889   fi
41890
41891
41892
41893
41894
41895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41896 $as_echo_n "checking for fabsf declaration... " >&6; }
41897   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41898     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41899   $as_echo_n "(cached) " >&6
41900 else
41901
41902
41903       ac_ext=cpp
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41908
41909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41910 /* end confdefs.h.  */
41911 #include <math.h>
41912                       #ifdef HAVE_IEEEFP_H
41913                       #include <ieeefp.h>
41914                       #endif
41915
41916 int
41917 main ()
41918 {
41919  fabsf(0);
41920   ;
41921   return 0;
41922 }
41923 _ACEOF
41924 if ac_fn_cxx_try_compile "$LINENO"; then :
41925   glibcxx_cv_func_fabsf_use=yes
41926 else
41927   glibcxx_cv_func_fabsf_use=no
41928 fi
41929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41930       ac_ext=c
41931 ac_cpp='$CPP $CPPFLAGS'
41932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41935
41936
41937 fi
41938
41939   fi
41940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41941 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41942
41943   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41944     for ac_func in fabsf
41945 do :
41946   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41947 if test "x$ac_cv_func_fabsf" = x""yes; then :
41948   cat >>confdefs.h <<_ACEOF
41949 #define HAVE_FABSF 1
41950 _ACEOF
41951
41952 fi
41953 done
41954
41955   else
41956
41957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41958 $as_echo_n "checking for _fabsf declaration... " >&6; }
41959   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41960     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41961   $as_echo_n "(cached) " >&6
41962 else
41963
41964
41965       ac_ext=cpp
41966 ac_cpp='$CXXCPP $CPPFLAGS'
41967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41970
41971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41972 /* end confdefs.h.  */
41973 #include <math.h>
41974                       #ifdef HAVE_IEEEFP_H
41975                       #include <ieeefp.h>
41976                       #endif
41977
41978 int
41979 main ()
41980 {
41981  _fabsf(0);
41982   ;
41983   return 0;
41984 }
41985 _ACEOF
41986 if ac_fn_cxx_try_compile "$LINENO"; then :
41987   glibcxx_cv_func__fabsf_use=yes
41988 else
41989   glibcxx_cv_func__fabsf_use=no
41990 fi
41991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41992       ac_ext=c
41993 ac_cpp='$CPP $CPPFLAGS'
41994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41997
41998
41999 fi
42000
42001   fi
42002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42003 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42004
42005     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42006       for ac_func in _fabsf
42007 do :
42008   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42009 if test "x$ac_cv_func__fabsf" = x""yes; then :
42010   cat >>confdefs.h <<_ACEOF
42011 #define HAVE__FABSF 1
42012 _ACEOF
42013
42014 fi
42015 done
42016
42017     fi
42018   fi
42019
42020
42021
42022
42023
42024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42025 $as_echo_n "checking for fmodf declaration... " >&6; }
42026   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42027     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42028   $as_echo_n "(cached) " >&6
42029 else
42030
42031
42032       ac_ext=cpp
42033 ac_cpp='$CXXCPP $CPPFLAGS'
42034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42037
42038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42039 /* end confdefs.h.  */
42040 #include <math.h>
42041 int
42042 main ()
42043 {
42044  fmodf(0, 0);
42045   ;
42046   return 0;
42047 }
42048 _ACEOF
42049 if ac_fn_cxx_try_compile "$LINENO"; then :
42050   glibcxx_cv_func_fmodf_use=yes
42051 else
42052   glibcxx_cv_func_fmodf_use=no
42053 fi
42054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42055       ac_ext=c
42056 ac_cpp='$CPP $CPPFLAGS'
42057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42060
42061
42062 fi
42063
42064   fi
42065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42066 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42067
42068   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42069     for ac_func in fmodf
42070 do :
42071   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42072 if test "x$ac_cv_func_fmodf" = x""yes; then :
42073   cat >>confdefs.h <<_ACEOF
42074 #define HAVE_FMODF 1
42075 _ACEOF
42076
42077 fi
42078 done
42079
42080   else
42081
42082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42083 $as_echo_n "checking for _fmodf declaration... " >&6; }
42084   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42085     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42086   $as_echo_n "(cached) " >&6
42087 else
42088
42089
42090       ac_ext=cpp
42091 ac_cpp='$CXXCPP $CPPFLAGS'
42092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42095
42096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42097 /* end confdefs.h.  */
42098 #include <math.h>
42099 int
42100 main ()
42101 {
42102  _fmodf(0, 0);
42103   ;
42104   return 0;
42105 }
42106 _ACEOF
42107 if ac_fn_cxx_try_compile "$LINENO"; then :
42108   glibcxx_cv_func__fmodf_use=yes
42109 else
42110   glibcxx_cv_func__fmodf_use=no
42111 fi
42112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113       ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42118
42119
42120 fi
42121
42122   fi
42123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42124 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42125
42126     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42127       for ac_func in _fmodf
42128 do :
42129   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42130 if test "x$ac_cv_func__fmodf" = x""yes; then :
42131   cat >>confdefs.h <<_ACEOF
42132 #define HAVE__FMODF 1
42133 _ACEOF
42134
42135 fi
42136 done
42137
42138     fi
42139   fi
42140
42141
42142
42143
42144
42145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42146 $as_echo_n "checking for frexpf declaration... " >&6; }
42147   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42148     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42149   $as_echo_n "(cached) " >&6
42150 else
42151
42152
42153       ac_ext=cpp
42154 ac_cpp='$CXXCPP $CPPFLAGS'
42155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42158
42159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42160 /* end confdefs.h.  */
42161 #include <math.h>
42162 int
42163 main ()
42164 {
42165  frexpf(0, 0);
42166   ;
42167   return 0;
42168 }
42169 _ACEOF
42170 if ac_fn_cxx_try_compile "$LINENO"; then :
42171   glibcxx_cv_func_frexpf_use=yes
42172 else
42173   glibcxx_cv_func_frexpf_use=no
42174 fi
42175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42176       ac_ext=c
42177 ac_cpp='$CPP $CPPFLAGS'
42178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42181
42182
42183 fi
42184
42185   fi
42186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42187 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42188
42189   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42190     for ac_func in frexpf
42191 do :
42192   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42193 if test "x$ac_cv_func_frexpf" = x""yes; then :
42194   cat >>confdefs.h <<_ACEOF
42195 #define HAVE_FREXPF 1
42196 _ACEOF
42197
42198 fi
42199 done
42200
42201   else
42202
42203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42204 $as_echo_n "checking for _frexpf declaration... " >&6; }
42205   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42206     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42207   $as_echo_n "(cached) " >&6
42208 else
42209
42210
42211       ac_ext=cpp
42212 ac_cpp='$CXXCPP $CPPFLAGS'
42213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42216
42217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42218 /* end confdefs.h.  */
42219 #include <math.h>
42220 int
42221 main ()
42222 {
42223  _frexpf(0, 0);
42224   ;
42225   return 0;
42226 }
42227 _ACEOF
42228 if ac_fn_cxx_try_compile "$LINENO"; then :
42229   glibcxx_cv_func__frexpf_use=yes
42230 else
42231   glibcxx_cv_func__frexpf_use=no
42232 fi
42233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42234       ac_ext=c
42235 ac_cpp='$CPP $CPPFLAGS'
42236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42239
42240
42241 fi
42242
42243   fi
42244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42245 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42246
42247     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42248       for ac_func in _frexpf
42249 do :
42250   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42251 if test "x$ac_cv_func__frexpf" = x""yes; then :
42252   cat >>confdefs.h <<_ACEOF
42253 #define HAVE__FREXPF 1
42254 _ACEOF
42255
42256 fi
42257 done
42258
42259     fi
42260   fi
42261
42262
42263
42264
42265
42266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42267 $as_echo_n "checking for hypotf declaration... " >&6; }
42268   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42269     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42270   $as_echo_n "(cached) " >&6
42271 else
42272
42273
42274       ac_ext=cpp
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279
42280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42281 /* end confdefs.h.  */
42282 #include <math.h>
42283 int
42284 main ()
42285 {
42286  hypotf(0, 0);
42287   ;
42288   return 0;
42289 }
42290 _ACEOF
42291 if ac_fn_cxx_try_compile "$LINENO"; then :
42292   glibcxx_cv_func_hypotf_use=yes
42293 else
42294   glibcxx_cv_func_hypotf_use=no
42295 fi
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42297       ac_ext=c
42298 ac_cpp='$CPP $CPPFLAGS'
42299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42302
42303
42304 fi
42305
42306   fi
42307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42308 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42309
42310   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42311     for ac_func in hypotf
42312 do :
42313   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42314 if test "x$ac_cv_func_hypotf" = x""yes; then :
42315   cat >>confdefs.h <<_ACEOF
42316 #define HAVE_HYPOTF 1
42317 _ACEOF
42318
42319 fi
42320 done
42321
42322   else
42323
42324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42325 $as_echo_n "checking for _hypotf declaration... " >&6; }
42326   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42327     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42328   $as_echo_n "(cached) " >&6
42329 else
42330
42331
42332       ac_ext=cpp
42333 ac_cpp='$CXXCPP $CPPFLAGS'
42334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42337
42338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42339 /* end confdefs.h.  */
42340 #include <math.h>
42341 int
42342 main ()
42343 {
42344  _hypotf(0, 0);
42345   ;
42346   return 0;
42347 }
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350   glibcxx_cv_func__hypotf_use=yes
42351 else
42352   glibcxx_cv_func__hypotf_use=no
42353 fi
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355       ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360
42361
42362 fi
42363
42364   fi
42365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42366 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42367
42368     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42369       for ac_func in _hypotf
42370 do :
42371   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42372 if test "x$ac_cv_func__hypotf" = x""yes; then :
42373   cat >>confdefs.h <<_ACEOF
42374 #define HAVE__HYPOTF 1
42375 _ACEOF
42376
42377 fi
42378 done
42379
42380     fi
42381   fi
42382
42383
42384
42385
42386
42387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42388 $as_echo_n "checking for ldexpf declaration... " >&6; }
42389   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42390     if test "${glibcxx_cv_func_ldexpf_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 int
42405 main ()
42406 {
42407  ldexpf(0, 0);
42408   ;
42409   return 0;
42410 }
42411 _ACEOF
42412 if ac_fn_cxx_try_compile "$LINENO"; then :
42413   glibcxx_cv_func_ldexpf_use=yes
42414 else
42415   glibcxx_cv_func_ldexpf_use=no
42416 fi
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418       ac_ext=c
42419 ac_cpp='$CPP $CPPFLAGS'
42420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42423
42424
42425 fi
42426
42427   fi
42428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42429 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42430
42431   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42432     for ac_func in ldexpf
42433 do :
42434   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42435 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42436   cat >>confdefs.h <<_ACEOF
42437 #define HAVE_LDEXPF 1
42438 _ACEOF
42439
42440 fi
42441 done
42442
42443   else
42444
42445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42446 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42447   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42448     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42449   $as_echo_n "(cached) " >&6
42450 else
42451
42452
42453       ac_ext=cpp
42454 ac_cpp='$CXXCPP $CPPFLAGS'
42455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42458
42459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42460 /* end confdefs.h.  */
42461 #include <math.h>
42462 int
42463 main ()
42464 {
42465  _ldexpf(0, 0);
42466   ;
42467   return 0;
42468 }
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471   glibcxx_cv_func__ldexpf_use=yes
42472 else
42473   glibcxx_cv_func__ldexpf_use=no
42474 fi
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476       ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481
42482
42483 fi
42484
42485   fi
42486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42487 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42488
42489     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42490       for ac_func in _ldexpf
42491 do :
42492   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42493 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42494   cat >>confdefs.h <<_ACEOF
42495 #define HAVE__LDEXPF 1
42496 _ACEOF
42497
42498 fi
42499 done
42500
42501     fi
42502   fi
42503
42504
42505
42506
42507
42508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42509 $as_echo_n "checking for logf declaration... " >&6; }
42510   if test x${glibcxx_cv_func_logf_use+set} != xset; then
42511     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42512   $as_echo_n "(cached) " >&6
42513 else
42514
42515
42516       ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42521
42522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h.  */
42524 #include <math.h>
42525                       #ifdef HAVE_IEEEFP_H
42526                       #include <ieeefp.h>
42527                       #endif
42528
42529 int
42530 main ()
42531 {
42532  logf(0);
42533   ;
42534   return 0;
42535 }
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538   glibcxx_cv_func_logf_use=yes
42539 else
42540   glibcxx_cv_func_logf_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_logf_use" >&5
42554 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42555
42556   if test x$glibcxx_cv_func_logf_use = x"yes"; then
42557     for ac_func in logf
42558 do :
42559   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42560 if test "x$ac_cv_func_logf" = x""yes; then :
42561   cat >>confdefs.h <<_ACEOF
42562 #define HAVE_LOGF 1
42563 _ACEOF
42564
42565 fi
42566 done
42567
42568   else
42569
42570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42571 $as_echo_n "checking for _logf declaration... " >&6; }
42572   if test x${glibcxx_cv_func__logf_use+set} != xset; then
42573     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42574   $as_echo_n "(cached) " >&6
42575 else
42576
42577
42578       ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583
42584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h.  */
42586 #include <math.h>
42587                       #ifdef HAVE_IEEEFP_H
42588                       #include <ieeefp.h>
42589                       #endif
42590
42591 int
42592 main ()
42593 {
42594  _logf(0);
42595   ;
42596   return 0;
42597 }
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600   glibcxx_cv_func__logf_use=yes
42601 else
42602   glibcxx_cv_func__logf_use=no
42603 fi
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605       ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42610
42611
42612 fi
42613
42614   fi
42615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42616 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42617
42618     if test x$glibcxx_cv_func__logf_use = x"yes"; then
42619       for ac_func in _logf
42620 do :
42621   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42622 if test "x$ac_cv_func__logf" = x""yes; then :
42623   cat >>confdefs.h <<_ACEOF
42624 #define HAVE__LOGF 1
42625 _ACEOF
42626
42627 fi
42628 done
42629
42630     fi
42631   fi
42632
42633
42634
42635
42636
42637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42638 $as_echo_n "checking for log10f declaration... " >&6; }
42639   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42640     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42641   $as_echo_n "(cached) " >&6
42642 else
42643
42644
42645       ac_ext=cpp
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42650
42651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652 /* end confdefs.h.  */
42653 #include <math.h>
42654                       #ifdef HAVE_IEEEFP_H
42655                       #include <ieeefp.h>
42656                       #endif
42657
42658 int
42659 main ()
42660 {
42661  log10f(0);
42662   ;
42663   return 0;
42664 }
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667   glibcxx_cv_func_log10f_use=yes
42668 else
42669   glibcxx_cv_func_log10f_use=no
42670 fi
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672       ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677
42678
42679 fi
42680
42681   fi
42682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42683 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42684
42685   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42686     for ac_func in log10f
42687 do :
42688   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42689 if test "x$ac_cv_func_log10f" = x""yes; then :
42690   cat >>confdefs.h <<_ACEOF
42691 #define HAVE_LOG10F 1
42692 _ACEOF
42693
42694 fi
42695 done
42696
42697   else
42698
42699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42700 $as_echo_n "checking for _log10f declaration... " >&6; }
42701   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42702     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42703   $as_echo_n "(cached) " >&6
42704 else
42705
42706
42707       ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712
42713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h.  */
42715 #include <math.h>
42716                       #ifdef HAVE_IEEEFP_H
42717                       #include <ieeefp.h>
42718                       #endif
42719
42720 int
42721 main ()
42722 {
42723  _log10f(0);
42724   ;
42725   return 0;
42726 }
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729   glibcxx_cv_func__log10f_use=yes
42730 else
42731   glibcxx_cv_func__log10f_use=no
42732 fi
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734       ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42739
42740
42741 fi
42742
42743   fi
42744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42745 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42746
42747     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42748       for ac_func in _log10f
42749 do :
42750   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42751 if test "x$ac_cv_func__log10f" = x""yes; then :
42752   cat >>confdefs.h <<_ACEOF
42753 #define HAVE__LOG10F 1
42754 _ACEOF
42755
42756 fi
42757 done
42758
42759     fi
42760   fi
42761
42762
42763
42764
42765
42766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42767 $as_echo_n "checking for modff declaration... " >&6; }
42768   if test x${glibcxx_cv_func_modff_use+set} != xset; then
42769     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42770   $as_echo_n "(cached) " >&6
42771 else
42772
42773
42774       ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42779
42780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h.  */
42782 #include <math.h>
42783 int
42784 main ()
42785 {
42786  modff(0, 0);
42787   ;
42788   return 0;
42789 }
42790 _ACEOF
42791 if ac_fn_cxx_try_compile "$LINENO"; then :
42792   glibcxx_cv_func_modff_use=yes
42793 else
42794   glibcxx_cv_func_modff_use=no
42795 fi
42796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797       ac_ext=c
42798 ac_cpp='$CPP $CPPFLAGS'
42799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42802
42803
42804 fi
42805
42806   fi
42807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42808 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42809
42810   if test x$glibcxx_cv_func_modff_use = x"yes"; then
42811     for ac_func in modff
42812 do :
42813   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42814 if test "x$ac_cv_func_modff" = x""yes; then :
42815   cat >>confdefs.h <<_ACEOF
42816 #define HAVE_MODFF 1
42817 _ACEOF
42818
42819 fi
42820 done
42821
42822   else
42823
42824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42825 $as_echo_n "checking for _modff declaration... " >&6; }
42826   if test x${glibcxx_cv_func__modff_use+set} != xset; then
42827     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42828   $as_echo_n "(cached) " >&6
42829 else
42830
42831
42832       ac_ext=cpp
42833 ac_cpp='$CXXCPP $CPPFLAGS'
42834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42837
42838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42839 /* end confdefs.h.  */
42840 #include <math.h>
42841 int
42842 main ()
42843 {
42844  _modff(0, 0);
42845   ;
42846   return 0;
42847 }
42848 _ACEOF
42849 if ac_fn_cxx_try_compile "$LINENO"; then :
42850   glibcxx_cv_func__modff_use=yes
42851 else
42852   glibcxx_cv_func__modff_use=no
42853 fi
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855       ac_ext=c
42856 ac_cpp='$CPP $CPPFLAGS'
42857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42860
42861
42862 fi
42863
42864   fi
42865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42866 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42867
42868     if test x$glibcxx_cv_func__modff_use = x"yes"; then
42869       for ac_func in _modff
42870 do :
42871   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42872 if test "x$ac_cv_func__modff" = x""yes; then :
42873   cat >>confdefs.h <<_ACEOF
42874 #define HAVE__MODFF 1
42875 _ACEOF
42876
42877 fi
42878 done
42879
42880     fi
42881   fi
42882
42883
42884
42885
42886
42887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42888 $as_echo_n "checking for modf declaration... " >&6; }
42889   if test x${glibcxx_cv_func_modf_use+set} != xset; then
42890     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42891   $as_echo_n "(cached) " >&6
42892 else
42893
42894
42895       ac_ext=cpp
42896 ac_cpp='$CXXCPP $CPPFLAGS'
42897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42900
42901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42902 /* end confdefs.h.  */
42903 #include <math.h>
42904 int
42905 main ()
42906 {
42907  modf(0, 0);
42908   ;
42909   return 0;
42910 }
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913   glibcxx_cv_func_modf_use=yes
42914 else
42915   glibcxx_cv_func_modf_use=no
42916 fi
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918       ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923
42924
42925 fi
42926
42927   fi
42928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42929 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42930
42931   if test x$glibcxx_cv_func_modf_use = x"yes"; then
42932     for ac_func in modf
42933 do :
42934   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42935 if test "x$ac_cv_func_modf" = x""yes; then :
42936   cat >>confdefs.h <<_ACEOF
42937 #define HAVE_MODF 1
42938 _ACEOF
42939
42940 fi
42941 done
42942
42943   else
42944
42945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42946 $as_echo_n "checking for _modf declaration... " >&6; }
42947   if test x${glibcxx_cv_func__modf_use+set} != xset; then
42948     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42949   $as_echo_n "(cached) " >&6
42950 else
42951
42952
42953       ac_ext=cpp
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42958
42959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42960 /* end confdefs.h.  */
42961 #include <math.h>
42962 int
42963 main ()
42964 {
42965  _modf(0, 0);
42966   ;
42967   return 0;
42968 }
42969 _ACEOF
42970 if ac_fn_cxx_try_compile "$LINENO"; then :
42971   glibcxx_cv_func__modf_use=yes
42972 else
42973   glibcxx_cv_func__modf_use=no
42974 fi
42975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42976       ac_ext=c
42977 ac_cpp='$CPP $CPPFLAGS'
42978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981
42982
42983 fi
42984
42985   fi
42986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42987 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42988
42989     if test x$glibcxx_cv_func__modf_use = x"yes"; then
42990       for ac_func in _modf
42991 do :
42992   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42993 if test "x$ac_cv_func__modf" = x""yes; then :
42994   cat >>confdefs.h <<_ACEOF
42995 #define HAVE__MODF 1
42996 _ACEOF
42997
42998 fi
42999 done
43000
43001     fi
43002   fi
43003
43004
43005
43006
43007
43008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43009 $as_echo_n "checking for powf declaration... " >&6; }
43010   if test x${glibcxx_cv_func_powf_use+set} != xset; then
43011     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43012   $as_echo_n "(cached) " >&6
43013 else
43014
43015
43016       ac_ext=cpp
43017 ac_cpp='$CXXCPP $CPPFLAGS'
43018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021
43022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h.  */
43024 #include <math.h>
43025 int
43026 main ()
43027 {
43028  powf(0, 0);
43029   ;
43030   return 0;
43031 }
43032 _ACEOF
43033 if ac_fn_cxx_try_compile "$LINENO"; then :
43034   glibcxx_cv_func_powf_use=yes
43035 else
43036   glibcxx_cv_func_powf_use=no
43037 fi
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039       ac_ext=c
43040 ac_cpp='$CPP $CPPFLAGS'
43041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43044
43045
43046 fi
43047
43048   fi
43049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43050 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43051
43052   if test x$glibcxx_cv_func_powf_use = x"yes"; then
43053     for ac_func in powf
43054 do :
43055   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43056 if test "x$ac_cv_func_powf" = x""yes; then :
43057   cat >>confdefs.h <<_ACEOF
43058 #define HAVE_POWF 1
43059 _ACEOF
43060
43061 fi
43062 done
43063
43064   else
43065
43066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43067 $as_echo_n "checking for _powf declaration... " >&6; }
43068   if test x${glibcxx_cv_func__powf_use+set} != xset; then
43069     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43070   $as_echo_n "(cached) " >&6
43071 else
43072
43073
43074       ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43079
43080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h.  */
43082 #include <math.h>
43083 int
43084 main ()
43085 {
43086  _powf(0, 0);
43087   ;
43088   return 0;
43089 }
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092   glibcxx_cv_func__powf_use=yes
43093 else
43094   glibcxx_cv_func__powf_use=no
43095 fi
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097       ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43102
43103
43104 fi
43105
43106   fi
43107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43108 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43109
43110     if test x$glibcxx_cv_func__powf_use = x"yes"; then
43111       for ac_func in _powf
43112 do :
43113   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43114 if test "x$ac_cv_func__powf" = x""yes; then :
43115   cat >>confdefs.h <<_ACEOF
43116 #define HAVE__POWF 1
43117 _ACEOF
43118
43119 fi
43120 done
43121
43122     fi
43123   fi
43124
43125
43126
43127
43128
43129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43130 $as_echo_n "checking for sqrtf declaration... " >&6; }
43131   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43132     if test "${glibcxx_cv_func_sqrtf_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  sqrtf(0);
43154   ;
43155   return 0;
43156 }
43157 _ACEOF
43158 if ac_fn_cxx_try_compile "$LINENO"; then :
43159   glibcxx_cv_func_sqrtf_use=yes
43160 else
43161   glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
43175 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43176
43177   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43178     for ac_func in sqrtf
43179 do :
43180   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43181 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43182   cat >>confdefs.h <<_ACEOF
43183 #define HAVE_SQRTF 1
43184 _ACEOF
43185
43186 fi
43187 done
43188
43189   else
43190
43191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43192 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43193   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43194     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43195   $as_echo_n "(cached) " >&6
43196 else
43197
43198
43199       ac_ext=cpp
43200 ac_cpp='$CXXCPP $CPPFLAGS'
43201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43204
43205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43206 /* end confdefs.h.  */
43207 #include <math.h>
43208                       #ifdef HAVE_IEEEFP_H
43209                       #include <ieeefp.h>
43210                       #endif
43211
43212 int
43213 main ()
43214 {
43215  _sqrtf(0);
43216   ;
43217   return 0;
43218 }
43219 _ACEOF
43220 if ac_fn_cxx_try_compile "$LINENO"; then :
43221   glibcxx_cv_func__sqrtf_use=yes
43222 else
43223   glibcxx_cv_func__sqrtf_use=no
43224 fi
43225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226       ac_ext=c
43227 ac_cpp='$CPP $CPPFLAGS'
43228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43231
43232
43233 fi
43234
43235   fi
43236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43237 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43238
43239     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43240       for ac_func in _sqrtf
43241 do :
43242   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43243 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43244   cat >>confdefs.h <<_ACEOF
43245 #define HAVE__SQRTF 1
43246 _ACEOF
43247
43248 fi
43249 done
43250
43251     fi
43252   fi
43253
43254
43255
43256
43257
43258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43259 $as_echo_n "checking for sincosf declaration... " >&6; }
43260   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43261     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43262   $as_echo_n "(cached) " >&6
43263 else
43264
43265
43266       ac_ext=cpp
43267 ac_cpp='$CXXCPP $CPPFLAGS'
43268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43271
43272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43273 /* end confdefs.h.  */
43274 #include <math.h>
43275 int
43276 main ()
43277 {
43278  sincosf(0, 0, 0);
43279   ;
43280   return 0;
43281 }
43282 _ACEOF
43283 if ac_fn_cxx_try_compile "$LINENO"; then :
43284   glibcxx_cv_func_sincosf_use=yes
43285 else
43286   glibcxx_cv_func_sincosf_use=no
43287 fi
43288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43289       ac_ext=c
43290 ac_cpp='$CPP $CPPFLAGS'
43291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43294
43295
43296 fi
43297
43298   fi
43299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43300 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43301
43302   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43303     for ac_func in sincosf
43304 do :
43305   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43306 if test "x$ac_cv_func_sincosf" = x""yes; then :
43307   cat >>confdefs.h <<_ACEOF
43308 #define HAVE_SINCOSF 1
43309 _ACEOF
43310
43311 fi
43312 done
43313
43314   else
43315
43316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43317 $as_echo_n "checking for _sincosf declaration... " >&6; }
43318   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43319     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43320   $as_echo_n "(cached) " >&6
43321 else
43322
43323
43324       ac_ext=cpp
43325 ac_cpp='$CXXCPP $CPPFLAGS'
43326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43329
43330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43331 /* end confdefs.h.  */
43332 #include <math.h>
43333 int
43334 main ()
43335 {
43336  _sincosf(0, 0, 0);
43337   ;
43338   return 0;
43339 }
43340 _ACEOF
43341 if ac_fn_cxx_try_compile "$LINENO"; then :
43342   glibcxx_cv_func__sincosf_use=yes
43343 else
43344   glibcxx_cv_func__sincosf_use=no
43345 fi
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347       ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352
43353
43354 fi
43355
43356   fi
43357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43358 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43359
43360     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43361       for ac_func in _sincosf
43362 do :
43363   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43364 if test "x$ac_cv_func__sincosf" = x""yes; then :
43365   cat >>confdefs.h <<_ACEOF
43366 #define HAVE__SINCOSF 1
43367 _ACEOF
43368
43369 fi
43370 done
43371
43372     fi
43373   fi
43374
43375
43376
43377
43378
43379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43380 $as_echo_n "checking for finitef declaration... " >&6; }
43381   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43382     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43383   $as_echo_n "(cached) " >&6
43384 else
43385
43386
43387       ac_ext=cpp
43388 ac_cpp='$CXXCPP $CPPFLAGS'
43389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43392
43393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43394 /* end confdefs.h.  */
43395 #include <math.h>
43396                       #ifdef HAVE_IEEEFP_H
43397                       #include <ieeefp.h>
43398                       #endif
43399
43400 int
43401 main ()
43402 {
43403  finitef(0);
43404   ;
43405   return 0;
43406 }
43407 _ACEOF
43408 if ac_fn_cxx_try_compile "$LINENO"; then :
43409   glibcxx_cv_func_finitef_use=yes
43410 else
43411   glibcxx_cv_func_finitef_use=no
43412 fi
43413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43414       ac_ext=c
43415 ac_cpp='$CPP $CPPFLAGS'
43416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419
43420
43421 fi
43422
43423   fi
43424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43425 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43426
43427   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43428     for ac_func in finitef
43429 do :
43430   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43431 if test "x$ac_cv_func_finitef" = x""yes; then :
43432   cat >>confdefs.h <<_ACEOF
43433 #define HAVE_FINITEF 1
43434 _ACEOF
43435
43436 fi
43437 done
43438
43439   else
43440
43441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43442 $as_echo_n "checking for _finitef declaration... " >&6; }
43443   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43444     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43445   $as_echo_n "(cached) " >&6
43446 else
43447
43448
43449       ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43454
43455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h.  */
43457 #include <math.h>
43458                       #ifdef HAVE_IEEEFP_H
43459                       #include <ieeefp.h>
43460                       #endif
43461
43462 int
43463 main ()
43464 {
43465  _finitef(0);
43466   ;
43467   return 0;
43468 }
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471   glibcxx_cv_func__finitef_use=yes
43472 else
43473   glibcxx_cv_func__finitef_use=no
43474 fi
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476       ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481
43482
43483 fi
43484
43485   fi
43486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43487 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43488
43489     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43490       for ac_func in _finitef
43491 do :
43492   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43493 if test "x$ac_cv_func__finitef" = x""yes; then :
43494   cat >>confdefs.h <<_ACEOF
43495 #define HAVE__FINITEF 1
43496 _ACEOF
43497
43498 fi
43499 done
43500
43501     fi
43502   fi
43503
43504
43505
43506
43507
43508     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43509 $as_echo_n "checking for long double trig functions... " >&6; }
43510   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43511   $as_echo_n "(cached) " >&6
43512 else
43513
43514
43515     ac_ext=cpp
43516 ac_cpp='$CXXCPP $CPPFLAGS'
43517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43520
43521     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43522 /* end confdefs.h.  */
43523 #include <math.h>
43524 int
43525 main ()
43526 {
43527 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43528   ;
43529   return 0;
43530 }
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533   glibcxx_cv_func_long_double_trig_use=yes
43534 else
43535   glibcxx_cv_func_long_double_trig_use=no
43536 fi
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538     ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43543
43544 fi
43545
43546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43547 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43548   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43549     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43550 do :
43551   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43553 eval as_val=\$$as_ac_var
43554    if test "x$as_val" = x""yes; then :
43555   cat >>confdefs.h <<_ACEOF
43556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43557 _ACEOF
43558
43559 fi
43560 done
43561
43562   else
43563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43564 $as_echo_n "checking for _long double trig functions... " >&6; }
43565     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43566   $as_echo_n "(cached) " >&6
43567 else
43568
43569
43570       ac_ext=cpp
43571 ac_cpp='$CXXCPP $CPPFLAGS'
43572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43575
43576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43577 /* end confdefs.h.  */
43578 #include <math.h>
43579 int
43580 main ()
43581 {
43582 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43583   ;
43584   return 0;
43585 }
43586 _ACEOF
43587 if ac_fn_cxx_try_compile "$LINENO"; then :
43588   glibcxx_cv_func__long_double_trig_use=yes
43589 else
43590   glibcxx_cv_func__long_double_trig_use=no
43591 fi
43592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43593       ac_ext=c
43594 ac_cpp='$CPP $CPPFLAGS'
43595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43598
43599 fi
43600
43601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43602 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43603     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43604       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43605 do :
43606   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43608 eval as_val=\$$as_ac_var
43609    if test "x$as_val" = x""yes; then :
43610   cat >>confdefs.h <<_ACEOF
43611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43612 _ACEOF
43613
43614 fi
43615 done
43616
43617     fi
43618   fi
43619
43620
43621
43622
43623
43624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43625 $as_echo_n "checking for long double round functions... " >&6; }
43626   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43627   $as_echo_n "(cached) " >&6
43628 else
43629
43630
43631     ac_ext=cpp
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43636
43637     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h.  */
43639 #include <math.h>
43640 int
43641 main ()
43642 {
43643 ceill (0); floorl (0);
43644   ;
43645   return 0;
43646 }
43647 _ACEOF
43648 if ac_fn_cxx_try_compile "$LINENO"; then :
43649   glibcxx_cv_func_long_double_round_use=yes
43650 else
43651   glibcxx_cv_func_long_double_round_use=no
43652 fi
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43654     ac_ext=c
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43659
43660 fi
43661
43662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43663 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43664   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43665     for ac_func in ceill floorl
43666 do :
43667   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43669 eval as_val=\$$as_ac_var
43670    if test "x$as_val" = x""yes; then :
43671   cat >>confdefs.h <<_ACEOF
43672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43673 _ACEOF
43674
43675 fi
43676 done
43677
43678   else
43679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43680 $as_echo_n "checking for _long double round functions... " >&6; }
43681     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43682   $as_echo_n "(cached) " >&6
43683 else
43684
43685
43686       ac_ext=cpp
43687 ac_cpp='$CXXCPP $CPPFLAGS'
43688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43691
43692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43693 /* end confdefs.h.  */
43694 #include <math.h>
43695 int
43696 main ()
43697 {
43698 _ceill (0); _floorl (0);
43699   ;
43700   return 0;
43701 }
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704   glibcxx_cv_func__long_double_round_use=yes
43705 else
43706   glibcxx_cv_func__long_double_round_use=no
43707 fi
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709       ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715 fi
43716
43717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43718 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43719     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43720       for ac_func in _ceill _floorl
43721 do :
43722   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43724 eval as_val=\$$as_ac_var
43725    if test "x$as_val" = x""yes; then :
43726   cat >>confdefs.h <<_ACEOF
43727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43728 _ACEOF
43729
43730 fi
43731 done
43732
43733     fi
43734   fi
43735
43736
43737
43738
43739
43740
43741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43742 $as_echo_n "checking for isnanl declaration... " >&6; }
43743   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43744     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43745   $as_echo_n "(cached) " >&6
43746 else
43747
43748
43749       ac_ext=cpp
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754
43755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h.  */
43757 #include <math.h>
43758                       #ifdef HAVE_IEEEFP_H
43759                       #include <ieeefp.h>
43760                       #endif
43761
43762 int
43763 main ()
43764 {
43765  isnanl(0);
43766   ;
43767   return 0;
43768 }
43769 _ACEOF
43770 if ac_fn_cxx_try_compile "$LINENO"; then :
43771   glibcxx_cv_func_isnanl_use=yes
43772 else
43773   glibcxx_cv_func_isnanl_use=no
43774 fi
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776       ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783 fi
43784
43785   fi
43786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43787 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43788
43789   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43790     for ac_func in isnanl
43791 do :
43792   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43793 if test "x$ac_cv_func_isnanl" = x""yes; then :
43794   cat >>confdefs.h <<_ACEOF
43795 #define HAVE_ISNANL 1
43796 _ACEOF
43797
43798 fi
43799 done
43800
43801   else
43802
43803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43804 $as_echo_n "checking for _isnanl declaration... " >&6; }
43805   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43806     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43807   $as_echo_n "(cached) " >&6
43808 else
43809
43810
43811       ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816
43817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h.  */
43819 #include <math.h>
43820                       #ifdef HAVE_IEEEFP_H
43821                       #include <ieeefp.h>
43822                       #endif
43823
43824 int
43825 main ()
43826 {
43827  _isnanl(0);
43828   ;
43829   return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833   glibcxx_cv_func__isnanl_use=yes
43834 else
43835   glibcxx_cv_func__isnanl_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838       ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847   fi
43848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43849 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43850
43851     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43852       for ac_func in _isnanl
43853 do :
43854   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43855 if test "x$ac_cv_func__isnanl" = x""yes; then :
43856   cat >>confdefs.h <<_ACEOF
43857 #define HAVE__ISNANL 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863     fi
43864   fi
43865
43866
43867
43868
43869
43870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43871 $as_echo_n "checking for isinfl declaration... " >&6; }
43872   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43873     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43874   $as_echo_n "(cached) " >&6
43875 else
43876
43877
43878       ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883
43884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h.  */
43886 #include <math.h>
43887                       #ifdef HAVE_IEEEFP_H
43888                       #include <ieeefp.h>
43889                       #endif
43890
43891 int
43892 main ()
43893 {
43894  isinfl(0);
43895   ;
43896   return 0;
43897 }
43898 _ACEOF
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900   glibcxx_cv_func_isinfl_use=yes
43901 else
43902   glibcxx_cv_func_isinfl_use=no
43903 fi
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43905       ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910
43911
43912 fi
43913
43914   fi
43915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43916 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43917
43918   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43919     for ac_func in isinfl
43920 do :
43921   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43922 if test "x$ac_cv_func_isinfl" = x""yes; then :
43923   cat >>confdefs.h <<_ACEOF
43924 #define HAVE_ISINFL 1
43925 _ACEOF
43926
43927 fi
43928 done
43929
43930   else
43931
43932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43933 $as_echo_n "checking for _isinfl declaration... " >&6; }
43934   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43935     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43936   $as_echo_n "(cached) " >&6
43937 else
43938
43939
43940       ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43945
43946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h.  */
43948 #include <math.h>
43949                       #ifdef HAVE_IEEEFP_H
43950                       #include <ieeefp.h>
43951                       #endif
43952
43953 int
43954 main ()
43955 {
43956  _isinfl(0);
43957   ;
43958   return 0;
43959 }
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962   glibcxx_cv_func__isinfl_use=yes
43963 else
43964   glibcxx_cv_func__isinfl_use=no
43965 fi
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967       ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972
43973
43974 fi
43975
43976   fi
43977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43978 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43979
43980     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43981       for ac_func in _isinfl
43982 do :
43983   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43984 if test "x$ac_cv_func__isinfl" = x""yes; then :
43985   cat >>confdefs.h <<_ACEOF
43986 #define HAVE__ISINFL 1
43987 _ACEOF
43988
43989 fi
43990 done
43991
43992     fi
43993   fi
43994
43995
43996
43997
43998
43999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44000 $as_echo_n "checking for atan2l declaration... " >&6; }
44001   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44002     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44003   $as_echo_n "(cached) " >&6
44004 else
44005
44006
44007       ac_ext=cpp
44008 ac_cpp='$CXXCPP $CPPFLAGS'
44009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44012
44013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44014 /* end confdefs.h.  */
44015 #include <math.h>
44016 int
44017 main ()
44018 {
44019  atan2l(0, 0);
44020   ;
44021   return 0;
44022 }
44023 _ACEOF
44024 if ac_fn_cxx_try_compile "$LINENO"; then :
44025   glibcxx_cv_func_atan2l_use=yes
44026 else
44027   glibcxx_cv_func_atan2l_use=no
44028 fi
44029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44030       ac_ext=c
44031 ac_cpp='$CPP $CPPFLAGS'
44032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44035
44036
44037 fi
44038
44039   fi
44040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44041 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44042
44043   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44044     for ac_func in atan2l
44045 do :
44046   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44047 if test "x$ac_cv_func_atan2l" = x""yes; then :
44048   cat >>confdefs.h <<_ACEOF
44049 #define HAVE_ATAN2L 1
44050 _ACEOF
44051
44052 fi
44053 done
44054
44055   else
44056
44057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44058 $as_echo_n "checking for _atan2l declaration... " >&6; }
44059   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44060     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44061   $as_echo_n "(cached) " >&6
44062 else
44063
44064
44065       ac_ext=cpp
44066 ac_cpp='$CXXCPP $CPPFLAGS'
44067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44070
44071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44072 /* end confdefs.h.  */
44073 #include <math.h>
44074 int
44075 main ()
44076 {
44077  _atan2l(0, 0);
44078   ;
44079   return 0;
44080 }
44081 _ACEOF
44082 if ac_fn_cxx_try_compile "$LINENO"; then :
44083   glibcxx_cv_func__atan2l_use=yes
44084 else
44085   glibcxx_cv_func__atan2l_use=no
44086 fi
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44088       ac_ext=c
44089 ac_cpp='$CPP $CPPFLAGS'
44090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44093
44094
44095 fi
44096
44097   fi
44098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44099 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44100
44101     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44102       for ac_func in _atan2l
44103 do :
44104   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44105 if test "x$ac_cv_func__atan2l" = x""yes; then :
44106   cat >>confdefs.h <<_ACEOF
44107 #define HAVE__ATAN2L 1
44108 _ACEOF
44109
44110 fi
44111 done
44112
44113     fi
44114   fi
44115
44116
44117
44118
44119
44120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44121 $as_echo_n "checking for expl declaration... " >&6; }
44122   if test x${glibcxx_cv_func_expl_use+set} != xset; then
44123     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44124   $as_echo_n "(cached) " >&6
44125 else
44126
44127
44128       ac_ext=cpp
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44133
44134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h.  */
44136 #include <math.h>
44137                       #ifdef HAVE_IEEEFP_H
44138                       #include <ieeefp.h>
44139                       #endif
44140
44141 int
44142 main ()
44143 {
44144  expl(0);
44145   ;
44146   return 0;
44147 }
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150   glibcxx_cv_func_expl_use=yes
44151 else
44152   glibcxx_cv_func_expl_use=no
44153 fi
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155       ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160
44161
44162 fi
44163
44164   fi
44165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44166 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44167
44168   if test x$glibcxx_cv_func_expl_use = x"yes"; then
44169     for ac_func in expl
44170 do :
44171   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44172 if test "x$ac_cv_func_expl" = x""yes; then :
44173   cat >>confdefs.h <<_ACEOF
44174 #define HAVE_EXPL 1
44175 _ACEOF
44176
44177 fi
44178 done
44179
44180   else
44181
44182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44183 $as_echo_n "checking for _expl declaration... " >&6; }
44184   if test x${glibcxx_cv_func__expl_use+set} != xset; then
44185     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44186   $as_echo_n "(cached) " >&6
44187 else
44188
44189
44190       ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44195
44196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h.  */
44198 #include <math.h>
44199                       #ifdef HAVE_IEEEFP_H
44200                       #include <ieeefp.h>
44201                       #endif
44202
44203 int
44204 main ()
44205 {
44206  _expl(0);
44207   ;
44208   return 0;
44209 }
44210 _ACEOF
44211 if ac_fn_cxx_try_compile "$LINENO"; then :
44212   glibcxx_cv_func__expl_use=yes
44213 else
44214   glibcxx_cv_func__expl_use=no
44215 fi
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217       ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222
44223
44224 fi
44225
44226   fi
44227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44228 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44229
44230     if test x$glibcxx_cv_func__expl_use = x"yes"; then
44231       for ac_func in _expl
44232 do :
44233   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44234 if test "x$ac_cv_func__expl" = x""yes; then :
44235   cat >>confdefs.h <<_ACEOF
44236 #define HAVE__EXPL 1
44237 _ACEOF
44238
44239 fi
44240 done
44241
44242     fi
44243   fi
44244
44245
44246
44247
44248
44249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44250 $as_echo_n "checking for fabsl declaration... " >&6; }
44251   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44252     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44253   $as_echo_n "(cached) " >&6
44254 else
44255
44256
44257       ac_ext=cpp
44258 ac_cpp='$CXXCPP $CPPFLAGS'
44259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44262
44263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44264 /* end confdefs.h.  */
44265 #include <math.h>
44266                       #ifdef HAVE_IEEEFP_H
44267                       #include <ieeefp.h>
44268                       #endif
44269
44270 int
44271 main ()
44272 {
44273  fabsl(0);
44274   ;
44275   return 0;
44276 }
44277 _ACEOF
44278 if ac_fn_cxx_try_compile "$LINENO"; then :
44279   glibcxx_cv_func_fabsl_use=yes
44280 else
44281   glibcxx_cv_func_fabsl_use=no
44282 fi
44283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44284       ac_ext=c
44285 ac_cpp='$CPP $CPPFLAGS'
44286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44289
44290
44291 fi
44292
44293   fi
44294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44295 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44296
44297   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44298     for ac_func in fabsl
44299 do :
44300   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44301 if test "x$ac_cv_func_fabsl" = x""yes; then :
44302   cat >>confdefs.h <<_ACEOF
44303 #define HAVE_FABSL 1
44304 _ACEOF
44305
44306 fi
44307 done
44308
44309   else
44310
44311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44312 $as_echo_n "checking for _fabsl declaration... " >&6; }
44313   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44314     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44315   $as_echo_n "(cached) " >&6
44316 else
44317
44318
44319       ac_ext=cpp
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44324
44325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h.  */
44327 #include <math.h>
44328                       #ifdef HAVE_IEEEFP_H
44329                       #include <ieeefp.h>
44330                       #endif
44331
44332 int
44333 main ()
44334 {
44335  _fabsl(0);
44336   ;
44337   return 0;
44338 }
44339 _ACEOF
44340 if ac_fn_cxx_try_compile "$LINENO"; then :
44341   glibcxx_cv_func__fabsl_use=yes
44342 else
44343   glibcxx_cv_func__fabsl_use=no
44344 fi
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346       ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351
44352
44353 fi
44354
44355   fi
44356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44357 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44358
44359     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44360       for ac_func in _fabsl
44361 do :
44362   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44363 if test "x$ac_cv_func__fabsl" = x""yes; then :
44364   cat >>confdefs.h <<_ACEOF
44365 #define HAVE__FABSL 1
44366 _ACEOF
44367
44368 fi
44369 done
44370
44371     fi
44372   fi
44373
44374
44375
44376
44377
44378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44379 $as_echo_n "checking for fmodl declaration... " >&6; }
44380   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44381     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44382   $as_echo_n "(cached) " >&6
44383 else
44384
44385
44386       ac_ext=cpp
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44391
44392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44393 /* end confdefs.h.  */
44394 #include <math.h>
44395 int
44396 main ()
44397 {
44398  fmodl(0, 0);
44399   ;
44400   return 0;
44401 }
44402 _ACEOF
44403 if ac_fn_cxx_try_compile "$LINENO"; then :
44404   glibcxx_cv_func_fmodl_use=yes
44405 else
44406   glibcxx_cv_func_fmodl_use=no
44407 fi
44408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44409       ac_ext=c
44410 ac_cpp='$CPP $CPPFLAGS'
44411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44414
44415
44416 fi
44417
44418   fi
44419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44420 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44421
44422   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44423     for ac_func in fmodl
44424 do :
44425   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44426 if test "x$ac_cv_func_fmodl" = x""yes; then :
44427   cat >>confdefs.h <<_ACEOF
44428 #define HAVE_FMODL 1
44429 _ACEOF
44430
44431 fi
44432 done
44433
44434   else
44435
44436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44437 $as_echo_n "checking for _fmodl declaration... " >&6; }
44438   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44439     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44440   $as_echo_n "(cached) " >&6
44441 else
44442
44443
44444       ac_ext=cpp
44445 ac_cpp='$CXXCPP $CPPFLAGS'
44446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44449
44450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44451 /* end confdefs.h.  */
44452 #include <math.h>
44453 int
44454 main ()
44455 {
44456  _fmodl(0, 0);
44457   ;
44458   return 0;
44459 }
44460 _ACEOF
44461 if ac_fn_cxx_try_compile "$LINENO"; then :
44462   glibcxx_cv_func__fmodl_use=yes
44463 else
44464   glibcxx_cv_func__fmodl_use=no
44465 fi
44466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44467       ac_ext=c
44468 ac_cpp='$CPP $CPPFLAGS'
44469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472
44473
44474 fi
44475
44476   fi
44477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44478 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44479
44480     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44481       for ac_func in _fmodl
44482 do :
44483   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44484 if test "x$ac_cv_func__fmodl" = x""yes; then :
44485   cat >>confdefs.h <<_ACEOF
44486 #define HAVE__FMODL 1
44487 _ACEOF
44488
44489 fi
44490 done
44491
44492     fi
44493   fi
44494
44495
44496
44497
44498
44499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44500 $as_echo_n "checking for frexpl declaration... " >&6; }
44501   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44502     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44503   $as_echo_n "(cached) " >&6
44504 else
44505
44506
44507       ac_ext=cpp
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512
44513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44514 /* end confdefs.h.  */
44515 #include <math.h>
44516 int
44517 main ()
44518 {
44519  frexpl(0, 0);
44520   ;
44521   return 0;
44522 }
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525   glibcxx_cv_func_frexpl_use=yes
44526 else
44527   glibcxx_cv_func_frexpl_use=no
44528 fi
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530       ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535
44536
44537 fi
44538
44539   fi
44540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44541 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44542
44543   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44544     for ac_func in frexpl
44545 do :
44546   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44547 if test "x$ac_cv_func_frexpl" = x""yes; then :
44548   cat >>confdefs.h <<_ACEOF
44549 #define HAVE_FREXPL 1
44550 _ACEOF
44551
44552 fi
44553 done
44554
44555   else
44556
44557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44558 $as_echo_n "checking for _frexpl declaration... " >&6; }
44559   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44560     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44561   $as_echo_n "(cached) " >&6
44562 else
44563
44564
44565       ac_ext=cpp
44566 ac_cpp='$CXXCPP $CPPFLAGS'
44567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44570
44571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44572 /* end confdefs.h.  */
44573 #include <math.h>
44574 int
44575 main ()
44576 {
44577  _frexpl(0, 0);
44578   ;
44579   return 0;
44580 }
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583   glibcxx_cv_func__frexpl_use=yes
44584 else
44585   glibcxx_cv_func__frexpl_use=no
44586 fi
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588       ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593
44594
44595 fi
44596
44597   fi
44598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44599 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44600
44601     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44602       for ac_func in _frexpl
44603 do :
44604   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44605 if test "x$ac_cv_func__frexpl" = x""yes; then :
44606   cat >>confdefs.h <<_ACEOF
44607 #define HAVE__FREXPL 1
44608 _ACEOF
44609
44610 fi
44611 done
44612
44613     fi
44614   fi
44615
44616
44617
44618
44619
44620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44621 $as_echo_n "checking for hypotl declaration... " >&6; }
44622   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44623     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44624   $as_echo_n "(cached) " >&6
44625 else
44626
44627
44628       ac_ext=cpp
44629 ac_cpp='$CXXCPP $CPPFLAGS'
44630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633
44634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44635 /* end confdefs.h.  */
44636 #include <math.h>
44637 int
44638 main ()
44639 {
44640  hypotl(0, 0);
44641   ;
44642   return 0;
44643 }
44644 _ACEOF
44645 if ac_fn_cxx_try_compile "$LINENO"; then :
44646   glibcxx_cv_func_hypotl_use=yes
44647 else
44648   glibcxx_cv_func_hypotl_use=no
44649 fi
44650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44651       ac_ext=c
44652 ac_cpp='$CPP $CPPFLAGS'
44653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44656
44657
44658 fi
44659
44660   fi
44661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44662 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44663
44664   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44665     for ac_func in hypotl
44666 do :
44667   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44668 if test "x$ac_cv_func_hypotl" = x""yes; then :
44669   cat >>confdefs.h <<_ACEOF
44670 #define HAVE_HYPOTL 1
44671 _ACEOF
44672
44673 fi
44674 done
44675
44676   else
44677
44678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44679 $as_echo_n "checking for _hypotl declaration... " >&6; }
44680   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44681     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44682   $as_echo_n "(cached) " >&6
44683 else
44684
44685
44686       ac_ext=cpp
44687 ac_cpp='$CXXCPP $CPPFLAGS'
44688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44691
44692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44693 /* end confdefs.h.  */
44694 #include <math.h>
44695 int
44696 main ()
44697 {
44698  _hypotl(0, 0);
44699   ;
44700   return 0;
44701 }
44702 _ACEOF
44703 if ac_fn_cxx_try_compile "$LINENO"; then :
44704   glibcxx_cv_func__hypotl_use=yes
44705 else
44706   glibcxx_cv_func__hypotl_use=no
44707 fi
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709       ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714
44715
44716 fi
44717
44718   fi
44719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44720 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44721
44722     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44723       for ac_func in _hypotl
44724 do :
44725   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44726 if test "x$ac_cv_func__hypotl" = x""yes; then :
44727   cat >>confdefs.h <<_ACEOF
44728 #define HAVE__HYPOTL 1
44729 _ACEOF
44730
44731 fi
44732 done
44733
44734     fi
44735   fi
44736
44737
44738
44739
44740
44741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44742 $as_echo_n "checking for ldexpl declaration... " >&6; }
44743   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44744     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44745   $as_echo_n "(cached) " >&6
44746 else
44747
44748
44749       ac_ext=cpp
44750 ac_cpp='$CXXCPP $CPPFLAGS'
44751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44754
44755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44756 /* end confdefs.h.  */
44757 #include <math.h>
44758 int
44759 main ()
44760 {
44761  ldexpl(0, 0);
44762   ;
44763   return 0;
44764 }
44765 _ACEOF
44766 if ac_fn_cxx_try_compile "$LINENO"; then :
44767   glibcxx_cv_func_ldexpl_use=yes
44768 else
44769   glibcxx_cv_func_ldexpl_use=no
44770 fi
44771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44772       ac_ext=c
44773 ac_cpp='$CPP $CPPFLAGS'
44774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44777
44778
44779 fi
44780
44781   fi
44782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44783 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44784
44785   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44786     for ac_func in ldexpl
44787 do :
44788   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44789 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44790   cat >>confdefs.h <<_ACEOF
44791 #define HAVE_LDEXPL 1
44792 _ACEOF
44793
44794 fi
44795 done
44796
44797   else
44798
44799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44800 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44801   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44802     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44803   $as_echo_n "(cached) " >&6
44804 else
44805
44806
44807       ac_ext=cpp
44808 ac_cpp='$CXXCPP $CPPFLAGS'
44809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44812
44813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h.  */
44815 #include <math.h>
44816 int
44817 main ()
44818 {
44819  _ldexpl(0, 0);
44820   ;
44821   return 0;
44822 }
44823 _ACEOF
44824 if ac_fn_cxx_try_compile "$LINENO"; then :
44825   glibcxx_cv_func__ldexpl_use=yes
44826 else
44827   glibcxx_cv_func__ldexpl_use=no
44828 fi
44829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44830       ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44835
44836
44837 fi
44838
44839   fi
44840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44841 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44842
44843     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44844       for ac_func in _ldexpl
44845 do :
44846   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44847 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44848   cat >>confdefs.h <<_ACEOF
44849 #define HAVE__LDEXPL 1
44850 _ACEOF
44851
44852 fi
44853 done
44854
44855     fi
44856   fi
44857
44858
44859
44860
44861
44862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44863 $as_echo_n "checking for logl declaration... " >&6; }
44864   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44865     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44866   $as_echo_n "(cached) " >&6
44867 else
44868
44869
44870       ac_ext=cpp
44871 ac_cpp='$CXXCPP $CPPFLAGS'
44872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875
44876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44877 /* end confdefs.h.  */
44878 #include <math.h>
44879                       #ifdef HAVE_IEEEFP_H
44880                       #include <ieeefp.h>
44881                       #endif
44882
44883 int
44884 main ()
44885 {
44886  logl(0);
44887   ;
44888   return 0;
44889 }
44890 _ACEOF
44891 if ac_fn_cxx_try_compile "$LINENO"; then :
44892   glibcxx_cv_func_logl_use=yes
44893 else
44894   glibcxx_cv_func_logl_use=no
44895 fi
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897       ac_ext=c
44898 ac_cpp='$CPP $CPPFLAGS'
44899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902
44903
44904 fi
44905
44906   fi
44907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44908 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44909
44910   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44911     for ac_func in logl
44912 do :
44913   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44914 if test "x$ac_cv_func_logl" = x""yes; then :
44915   cat >>confdefs.h <<_ACEOF
44916 #define HAVE_LOGL 1
44917 _ACEOF
44918
44919 fi
44920 done
44921
44922   else
44923
44924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44925 $as_echo_n "checking for _logl declaration... " >&6; }
44926   if test x${glibcxx_cv_func__logl_use+set} != xset; then
44927     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44928   $as_echo_n "(cached) " >&6
44929 else
44930
44931
44932       ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44937
44938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h.  */
44940 #include <math.h>
44941                       #ifdef HAVE_IEEEFP_H
44942                       #include <ieeefp.h>
44943                       #endif
44944
44945 int
44946 main ()
44947 {
44948  _logl(0);
44949   ;
44950   return 0;
44951 }
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954   glibcxx_cv_func__logl_use=yes
44955 else
44956   glibcxx_cv_func__logl_use=no
44957 fi
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959       ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964
44965
44966 fi
44967
44968   fi
44969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44970 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44971
44972     if test x$glibcxx_cv_func__logl_use = x"yes"; then
44973       for ac_func in _logl
44974 do :
44975   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44976 if test "x$ac_cv_func__logl" = x""yes; then :
44977   cat >>confdefs.h <<_ACEOF
44978 #define HAVE__LOGL 1
44979 _ACEOF
44980
44981 fi
44982 done
44983
44984     fi
44985   fi
44986
44987
44988
44989
44990
44991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44992 $as_echo_n "checking for log10l declaration... " >&6; }
44993   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44994     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44995   $as_echo_n "(cached) " >&6
44996 else
44997
44998
44999       ac_ext=cpp
45000 ac_cpp='$CXXCPP $CPPFLAGS'
45001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45004
45005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45006 /* end confdefs.h.  */
45007 #include <math.h>
45008                       #ifdef HAVE_IEEEFP_H
45009                       #include <ieeefp.h>
45010                       #endif
45011
45012 int
45013 main ()
45014 {
45015  log10l(0);
45016   ;
45017   return 0;
45018 }
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021   glibcxx_cv_func_log10l_use=yes
45022 else
45023   glibcxx_cv_func_log10l_use=no
45024 fi
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026       ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031
45032
45033 fi
45034
45035   fi
45036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45037 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45038
45039   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45040     for ac_func in log10l
45041 do :
45042   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45043 if test "x$ac_cv_func_log10l" = x""yes; then :
45044   cat >>confdefs.h <<_ACEOF
45045 #define HAVE_LOG10L 1
45046 _ACEOF
45047
45048 fi
45049 done
45050
45051   else
45052
45053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45054 $as_echo_n "checking for _log10l declaration... " >&6; }
45055   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45056     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45057   $as_echo_n "(cached) " >&6
45058 else
45059
45060
45061       ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45066
45067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h.  */
45069 #include <math.h>
45070                       #ifdef HAVE_IEEEFP_H
45071                       #include <ieeefp.h>
45072                       #endif
45073
45074 int
45075 main ()
45076 {
45077  _log10l(0);
45078   ;
45079   return 0;
45080 }
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083   glibcxx_cv_func__log10l_use=yes
45084 else
45085   glibcxx_cv_func__log10l_use=no
45086 fi
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088       ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45093
45094
45095 fi
45096
45097   fi
45098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45099 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45100
45101     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45102       for ac_func in _log10l
45103 do :
45104   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45105 if test "x$ac_cv_func__log10l" = x""yes; then :
45106   cat >>confdefs.h <<_ACEOF
45107 #define HAVE__LOG10L 1
45108 _ACEOF
45109
45110 fi
45111 done
45112
45113     fi
45114   fi
45115
45116
45117
45118
45119
45120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45121 $as_echo_n "checking for modfl declaration... " >&6; }
45122   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45123     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45124   $as_echo_n "(cached) " >&6
45125 else
45126
45127
45128       ac_ext=cpp
45129 ac_cpp='$CXXCPP $CPPFLAGS'
45130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45133
45134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45135 /* end confdefs.h.  */
45136 #include <math.h>
45137 int
45138 main ()
45139 {
45140  modfl(0, 0);
45141   ;
45142   return 0;
45143 }
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146   glibcxx_cv_func_modfl_use=yes
45147 else
45148   glibcxx_cv_func_modfl_use=no
45149 fi
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151       ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45156
45157
45158 fi
45159
45160   fi
45161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45162 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45163
45164   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45165     for ac_func in modfl
45166 do :
45167   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45168 if test "x$ac_cv_func_modfl" = x""yes; then :
45169   cat >>confdefs.h <<_ACEOF
45170 #define HAVE_MODFL 1
45171 _ACEOF
45172
45173 fi
45174 done
45175
45176   else
45177
45178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45179 $as_echo_n "checking for _modfl declaration... " >&6; }
45180   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45181     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45182   $as_echo_n "(cached) " >&6
45183 else
45184
45185
45186       ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45191
45192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h.  */
45194 #include <math.h>
45195 int
45196 main ()
45197 {
45198  _modfl(0, 0);
45199   ;
45200   return 0;
45201 }
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204   glibcxx_cv_func__modfl_use=yes
45205 else
45206   glibcxx_cv_func__modfl_use=no
45207 fi
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209       ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45214
45215
45216 fi
45217
45218   fi
45219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45220 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45221
45222     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45223       for ac_func in _modfl
45224 do :
45225   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45226 if test "x$ac_cv_func__modfl" = x""yes; then :
45227   cat >>confdefs.h <<_ACEOF
45228 #define HAVE__MODFL 1
45229 _ACEOF
45230
45231 fi
45232 done
45233
45234     fi
45235   fi
45236
45237
45238
45239
45240
45241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45242 $as_echo_n "checking for powl declaration... " >&6; }
45243   if test x${glibcxx_cv_func_powl_use+set} != xset; then
45244     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45245   $as_echo_n "(cached) " >&6
45246 else
45247
45248
45249       ac_ext=cpp
45250 ac_cpp='$CXXCPP $CPPFLAGS'
45251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254
45255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h.  */
45257 #include <math.h>
45258 int
45259 main ()
45260 {
45261  powl(0, 0);
45262   ;
45263   return 0;
45264 }
45265 _ACEOF
45266 if ac_fn_cxx_try_compile "$LINENO"; then :
45267   glibcxx_cv_func_powl_use=yes
45268 else
45269   glibcxx_cv_func_powl_use=no
45270 fi
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45272       ac_ext=c
45273 ac_cpp='$CPP $CPPFLAGS'
45274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45277
45278
45279 fi
45280
45281   fi
45282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45283 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45284
45285   if test x$glibcxx_cv_func_powl_use = x"yes"; then
45286     for ac_func in powl
45287 do :
45288   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45289 if test "x$ac_cv_func_powl" = x""yes; then :
45290   cat >>confdefs.h <<_ACEOF
45291 #define HAVE_POWL 1
45292 _ACEOF
45293
45294 fi
45295 done
45296
45297   else
45298
45299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45300 $as_echo_n "checking for _powl declaration... " >&6; }
45301   if test x${glibcxx_cv_func__powl_use+set} != xset; then
45302     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45303   $as_echo_n "(cached) " >&6
45304 else
45305
45306
45307       ac_ext=cpp
45308 ac_cpp='$CXXCPP $CPPFLAGS'
45309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45312
45313       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45314 /* end confdefs.h.  */
45315 #include <math.h>
45316 int
45317 main ()
45318 {
45319  _powl(0, 0);
45320   ;
45321   return 0;
45322 }
45323 _ACEOF
45324 if ac_fn_cxx_try_compile "$LINENO"; then :
45325   glibcxx_cv_func__powl_use=yes
45326 else
45327   glibcxx_cv_func__powl_use=no
45328 fi
45329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45330       ac_ext=c
45331 ac_cpp='$CPP $CPPFLAGS'
45332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45335
45336
45337 fi
45338
45339   fi
45340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45341 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45342
45343     if test x$glibcxx_cv_func__powl_use = x"yes"; then
45344       for ac_func in _powl
45345 do :
45346   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45347 if test "x$ac_cv_func__powl" = x""yes; then :
45348   cat >>confdefs.h <<_ACEOF
45349 #define HAVE__POWL 1
45350 _ACEOF
45351
45352 fi
45353 done
45354
45355     fi
45356   fi
45357
45358
45359
45360
45361
45362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45363 $as_echo_n "checking for sqrtl declaration... " >&6; }
45364   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45365     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45366   $as_echo_n "(cached) " >&6
45367 else
45368
45369
45370       ac_ext=cpp
45371 ac_cpp='$CXXCPP $CPPFLAGS'
45372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375
45376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45377 /* end confdefs.h.  */
45378 #include <math.h>
45379                       #ifdef HAVE_IEEEFP_H
45380                       #include <ieeefp.h>
45381                       #endif
45382
45383 int
45384 main ()
45385 {
45386  sqrtl(0);
45387   ;
45388   return 0;
45389 }
45390 _ACEOF
45391 if ac_fn_cxx_try_compile "$LINENO"; then :
45392   glibcxx_cv_func_sqrtl_use=yes
45393 else
45394   glibcxx_cv_func_sqrtl_use=no
45395 fi
45396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45397       ac_ext=c
45398 ac_cpp='$CPP $CPPFLAGS'
45399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45402
45403
45404 fi
45405
45406   fi
45407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45408 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45409
45410   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45411     for ac_func in sqrtl
45412 do :
45413   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45414 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45415   cat >>confdefs.h <<_ACEOF
45416 #define HAVE_SQRTL 1
45417 _ACEOF
45418
45419 fi
45420 done
45421
45422   else
45423
45424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45425 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45426   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45427     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45428   $as_echo_n "(cached) " >&6
45429 else
45430
45431
45432       ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45437
45438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h.  */
45440 #include <math.h>
45441                       #ifdef HAVE_IEEEFP_H
45442                       #include <ieeefp.h>
45443                       #endif
45444
45445 int
45446 main ()
45447 {
45448  _sqrtl(0);
45449   ;
45450   return 0;
45451 }
45452 _ACEOF
45453 if ac_fn_cxx_try_compile "$LINENO"; then :
45454   glibcxx_cv_func__sqrtl_use=yes
45455 else
45456   glibcxx_cv_func__sqrtl_use=no
45457 fi
45458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459       ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45464
45465
45466 fi
45467
45468   fi
45469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45470 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45471
45472     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45473       for ac_func in _sqrtl
45474 do :
45475   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45476 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45477   cat >>confdefs.h <<_ACEOF
45478 #define HAVE__SQRTL 1
45479 _ACEOF
45480
45481 fi
45482 done
45483
45484     fi
45485   fi
45486
45487
45488
45489
45490
45491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45492 $as_echo_n "checking for sincosl declaration... " >&6; }
45493   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45494     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45495   $as_echo_n "(cached) " >&6
45496 else
45497
45498
45499       ac_ext=cpp
45500 ac_cpp='$CXXCPP $CPPFLAGS'
45501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45504
45505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45506 /* end confdefs.h.  */
45507 #include <math.h>
45508 int
45509 main ()
45510 {
45511  sincosl(0, 0, 0);
45512   ;
45513   return 0;
45514 }
45515 _ACEOF
45516 if ac_fn_cxx_try_compile "$LINENO"; then :
45517   glibcxx_cv_func_sincosl_use=yes
45518 else
45519   glibcxx_cv_func_sincosl_use=no
45520 fi
45521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45522       ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45527
45528
45529 fi
45530
45531   fi
45532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45533 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45534
45535   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45536     for ac_func in sincosl
45537 do :
45538   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45539 if test "x$ac_cv_func_sincosl" = x""yes; then :
45540   cat >>confdefs.h <<_ACEOF
45541 #define HAVE_SINCOSL 1
45542 _ACEOF
45543
45544 fi
45545 done
45546
45547   else
45548
45549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45550 $as_echo_n "checking for _sincosl declaration... " >&6; }
45551   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45552     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45553   $as_echo_n "(cached) " >&6
45554 else
45555
45556
45557       ac_ext=cpp
45558 ac_cpp='$CXXCPP $CPPFLAGS'
45559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45562
45563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45564 /* end confdefs.h.  */
45565 #include <math.h>
45566 int
45567 main ()
45568 {
45569  _sincosl(0, 0, 0);
45570   ;
45571   return 0;
45572 }
45573 _ACEOF
45574 if ac_fn_cxx_try_compile "$LINENO"; then :
45575   glibcxx_cv_func__sincosl_use=yes
45576 else
45577   glibcxx_cv_func__sincosl_use=no
45578 fi
45579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45580       ac_ext=c
45581 ac_cpp='$CPP $CPPFLAGS'
45582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45585
45586
45587 fi
45588
45589   fi
45590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45591 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45592
45593     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45594       for ac_func in _sincosl
45595 do :
45596   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45597 if test "x$ac_cv_func__sincosl" = x""yes; then :
45598   cat >>confdefs.h <<_ACEOF
45599 #define HAVE__SINCOSL 1
45600 _ACEOF
45601
45602 fi
45603 done
45604
45605     fi
45606   fi
45607
45608
45609
45610
45611
45612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45613 $as_echo_n "checking for finitel declaration... " >&6; }
45614   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45615     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45616   $as_echo_n "(cached) " >&6
45617 else
45618
45619
45620       ac_ext=cpp
45621 ac_cpp='$CXXCPP $CPPFLAGS'
45622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45625
45626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45627 /* end confdefs.h.  */
45628 #include <math.h>
45629                       #ifdef HAVE_IEEEFP_H
45630                       #include <ieeefp.h>
45631                       #endif
45632
45633 int
45634 main ()
45635 {
45636  finitel(0);
45637   ;
45638   return 0;
45639 }
45640 _ACEOF
45641 if ac_fn_cxx_try_compile "$LINENO"; then :
45642   glibcxx_cv_func_finitel_use=yes
45643 else
45644   glibcxx_cv_func_finitel_use=no
45645 fi
45646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45647       ac_ext=c
45648 ac_cpp='$CPP $CPPFLAGS'
45649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45652
45653
45654 fi
45655
45656   fi
45657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45658 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45659
45660   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45661     for ac_func in finitel
45662 do :
45663   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45664 if test "x$ac_cv_func_finitel" = x""yes; then :
45665   cat >>confdefs.h <<_ACEOF
45666 #define HAVE_FINITEL 1
45667 _ACEOF
45668
45669 fi
45670 done
45671
45672   else
45673
45674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45675 $as_echo_n "checking for _finitel declaration... " >&6; }
45676   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45677     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45678   $as_echo_n "(cached) " >&6
45679 else
45680
45681
45682       ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45687
45688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45689 /* end confdefs.h.  */
45690 #include <math.h>
45691                       #ifdef HAVE_IEEEFP_H
45692                       #include <ieeefp.h>
45693                       #endif
45694
45695 int
45696 main ()
45697 {
45698  _finitel(0);
45699   ;
45700   return 0;
45701 }
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704   glibcxx_cv_func__finitel_use=yes
45705 else
45706   glibcxx_cv_func__finitel_use=no
45707 fi
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709       ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45714
45715
45716 fi
45717
45718   fi
45719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45720 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45721
45722     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45723       for ac_func in _finitel
45724 do :
45725   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45726 if test "x$ac_cv_func__finitel" = x""yes; then :
45727   cat >>confdefs.h <<_ACEOF
45728 #define HAVE__FINITEL 1
45729 _ACEOF
45730
45731 fi
45732 done
45733
45734     fi
45735   fi
45736
45737
45738
45739
45740   LIBS="$ac_save_LIBS"
45741   CXXFLAGS="$ac_save_CXXFLAGS"
45742
45743
45744   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45745   ac_save_CXXFLAGS="$CXXFLAGS"
45746   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45747
45748
45749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45750 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45751   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45752     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45753   $as_echo_n "(cached) " >&6
45754 else
45755
45756
45757       ac_ext=cpp
45758 ac_cpp='$CXXCPP $CPPFLAGS'
45759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45762
45763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45764 /* end confdefs.h.  */
45765 #include <stdlib.h>
45766 int
45767 main ()
45768 {
45769  at_quick_exit(0);
45770   ;
45771   return 0;
45772 }
45773 _ACEOF
45774 if ac_fn_cxx_try_compile "$LINENO"; then :
45775   glibcxx_cv_func_at_quick_exit_use=yes
45776 else
45777   glibcxx_cv_func_at_quick_exit_use=no
45778 fi
45779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45780       ac_ext=c
45781 ac_cpp='$CPP $CPPFLAGS'
45782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45785
45786
45787 fi
45788
45789   fi
45790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45791 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45792   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45793     for ac_func in at_quick_exit
45794 do :
45795   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45796 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45797   cat >>confdefs.h <<_ACEOF
45798 #define HAVE_AT_QUICK_EXIT 1
45799 _ACEOF
45800
45801 fi
45802 done
45803
45804   fi
45805
45806
45807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45808 $as_echo_n "checking for quick_exit declaration... " >&6; }
45809   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45810     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45811   $as_echo_n "(cached) " >&6
45812 else
45813
45814
45815       ac_ext=cpp
45816 ac_cpp='$CXXCPP $CPPFLAGS'
45817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45820
45821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45822 /* end confdefs.h.  */
45823 #include <stdlib.h>
45824 int
45825 main ()
45826 {
45827  quick_exit(0);
45828   ;
45829   return 0;
45830 }
45831 _ACEOF
45832 if ac_fn_cxx_try_compile "$LINENO"; then :
45833   glibcxx_cv_func_quick_exit_use=yes
45834 else
45835   glibcxx_cv_func_quick_exit_use=no
45836 fi
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838       ac_ext=c
45839 ac_cpp='$CPP $CPPFLAGS'
45840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843
45844
45845 fi
45846
45847   fi
45848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45849 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45850   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45851     for ac_func in quick_exit
45852 do :
45853   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45854 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45855   cat >>confdefs.h <<_ACEOF
45856 #define HAVE_QUICK_EXIT 1
45857 _ACEOF
45858
45859 fi
45860 done
45861
45862   fi
45863
45864
45865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45866 $as_echo_n "checking for strtold declaration... " >&6; }
45867   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45868     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45869   $as_echo_n "(cached) " >&6
45870 else
45871
45872
45873       ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45878
45879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h.  */
45881 #include <stdlib.h>
45882 int
45883 main ()
45884 {
45885  strtold(0, 0);
45886   ;
45887   return 0;
45888 }
45889 _ACEOF
45890 if ac_fn_cxx_try_compile "$LINENO"; then :
45891   glibcxx_cv_func_strtold_use=yes
45892 else
45893   glibcxx_cv_func_strtold_use=no
45894 fi
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896       ac_ext=c
45897 ac_cpp='$CPP $CPPFLAGS'
45898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45901
45902
45903 fi
45904
45905   fi
45906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45907 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45908   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45909     for ac_func in strtold
45910 do :
45911   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45912 if test "x$ac_cv_func_strtold" = x""yes; then :
45913   cat >>confdefs.h <<_ACEOF
45914 #define HAVE_STRTOLD 1
45915 _ACEOF
45916
45917 fi
45918 done
45919
45920   fi
45921
45922
45923
45924
45925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45926 $as_echo_n "checking for strtof declaration... " >&6; }
45927   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45928     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45929   $as_echo_n "(cached) " >&6
45930 else
45931
45932
45933       ac_ext=cpp
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938
45939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45940 /* end confdefs.h.  */
45941 #include <stdlib.h>
45942 int
45943 main ()
45944 {
45945  strtof(0, 0);
45946   ;
45947   return 0;
45948 }
45949 _ACEOF
45950 if ac_fn_cxx_try_compile "$LINENO"; then :
45951   glibcxx_cv_func_strtof_use=yes
45952 else
45953   glibcxx_cv_func_strtof_use=no
45954 fi
45955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45956       ac_ext=c
45957 ac_cpp='$CPP $CPPFLAGS'
45958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45961
45962
45963 fi
45964
45965   fi
45966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45967 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45968   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45969     for ac_func in strtof
45970 do :
45971   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45972 if test "x$ac_cv_func_strtof" = x""yes; then :
45973   cat >>confdefs.h <<_ACEOF
45974 #define HAVE_STRTOF 1
45975 _ACEOF
45976
45977 fi
45978 done
45979
45980   fi
45981
45982
45983
45984
45985   CXXFLAGS="$ac_save_CXXFLAGS"
45986
45987     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45988
45989     # We don't yet support AIX's TLS ABI.
45990     #GCC_CHECK_TLS
45991
45992
45993
45994
45995
45996           am_save_CPPFLAGS="$CPPFLAGS"
45997
45998   for element in $INCICONV; do
45999     haveit=
46000     for x in $CPPFLAGS; do
46001
46002   acl_save_prefix="$prefix"
46003   prefix="$acl_final_prefix"
46004   acl_save_exec_prefix="$exec_prefix"
46005   exec_prefix="$acl_final_exec_prefix"
46006   eval x=\"$x\"
46007   exec_prefix="$acl_save_exec_prefix"
46008   prefix="$acl_save_prefix"
46009
46010       if test "X$x" = "X$element"; then
46011         haveit=yes
46012         break
46013       fi
46014     done
46015     if test -z "$haveit"; then
46016       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46017     fi
46018   done
46019
46020
46021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46022 $as_echo_n "checking for iconv... " >&6; }
46023 if test "${am_cv_func_iconv+set}" = set; then :
46024   $as_echo_n "(cached) " >&6
46025 else
46026
46027     am_cv_func_iconv="no, consider installing GNU libiconv"
46028     am_cv_lib_iconv=no
46029     if test x$gcc_no_link = xyes; then
46030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46031 fi
46032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46033 /* end confdefs.h.  */
46034 #include <stdlib.h>
46035 #include <iconv.h>
46036 int
46037 main ()
46038 {
46039 iconv_t cd = iconv_open("","");
46040        iconv(cd,NULL,NULL,NULL,NULL);
46041        iconv_close(cd);
46042   ;
46043   return 0;
46044 }
46045 _ACEOF
46046 if ac_fn_c_try_link "$LINENO"; then :
46047   am_cv_func_iconv=yes
46048 fi
46049 rm -f core conftest.err conftest.$ac_objext \
46050     conftest$ac_exeext conftest.$ac_ext
46051     if test "$am_cv_func_iconv" != yes; then
46052       am_save_LIBS="$LIBS"
46053       LIBS="$LIBS $LIBICONV"
46054       if test x$gcc_no_link = xyes; then
46055   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46056 fi
46057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46058 /* end confdefs.h.  */
46059 #include <stdlib.h>
46060 #include <iconv.h>
46061 int
46062 main ()
46063 {
46064 iconv_t cd = iconv_open("","");
46065          iconv(cd,NULL,NULL,NULL,NULL);
46066          iconv_close(cd);
46067   ;
46068   return 0;
46069 }
46070 _ACEOF
46071 if ac_fn_c_try_link "$LINENO"; then :
46072   am_cv_lib_iconv=yes
46073         am_cv_func_iconv=yes
46074 fi
46075 rm -f core conftest.err conftest.$ac_objext \
46076     conftest$ac_exeext conftest.$ac_ext
46077       LIBS="$am_save_LIBS"
46078     fi
46079
46080 fi
46081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46082 $as_echo "$am_cv_func_iconv" >&6; }
46083   if test "$am_cv_func_iconv" = yes; then
46084
46085 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46086
46087   fi
46088   if test "$am_cv_lib_iconv" = yes; then
46089     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46090 $as_echo_n "checking how to link with libiconv... " >&6; }
46091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46092 $as_echo "$LIBICONV" >&6; }
46093   else
46094             CPPFLAGS="$am_save_CPPFLAGS"
46095     LIBICONV=
46096     LTLIBICONV=
46097   fi
46098
46099
46100
46101   if test "$am_cv_func_iconv" = yes; then
46102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46103 $as_echo_n "checking for iconv declaration... " >&6; }
46104     if test "${am_cv_proto_iconv+set}" = set; then :
46105   $as_echo_n "(cached) " >&6
46106 else
46107
46108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46109 /* end confdefs.h.  */
46110
46111 #include <stdlib.h>
46112 #include <iconv.h>
46113 extern
46114 #ifdef __cplusplus
46115 "C"
46116 #endif
46117 #if defined(__STDC__) || defined(__cplusplus)
46118 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46119 #else
46120 size_t iconv();
46121 #endif
46122
46123 int
46124 main ()
46125 {
46126
46127   ;
46128   return 0;
46129 }
46130 _ACEOF
46131 if ac_fn_c_try_compile "$LINENO"; then :
46132   am_cv_proto_iconv_arg1=""
46133 else
46134   am_cv_proto_iconv_arg1="const"
46135 fi
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137       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);"
46138 fi
46139
46140     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46141     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46142          }$am_cv_proto_iconv" >&5
46143 $as_echo "${ac_t:-
46144          }$am_cv_proto_iconv" >&6; }
46145
46146 cat >>confdefs.h <<_ACEOF
46147 #define ICONV_CONST $am_cv_proto_iconv_arg1
46148 _ACEOF
46149
46150   fi
46151
46152     ;;
46153
46154   *-darwin*)
46155     # Darwin versions vary, but the linker should work in a cross environment,
46156     # so we just check for all the features here.
46157     # Check for available headers.
46158
46159     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46160
46161   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46162   ac_save_CXXFLAGS="$CXXFLAGS"
46163   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46164
46165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46166 $as_echo_n "checking for sin in -lm... " >&6; }
46167 if test "${ac_cv_lib_m_sin+set}" = set; then :
46168   $as_echo_n "(cached) " >&6
46169 else
46170   ac_check_lib_save_LIBS=$LIBS
46171 LIBS="-lm  $LIBS"
46172 if test x$gcc_no_link = xyes; then
46173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46174 fi
46175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46176 /* end confdefs.h.  */
46177
46178 /* Override any GCC internal prototype to avoid an error.
46179    Use char because int might match the return type of a GCC
46180    builtin and then its argument prototype would still apply.  */
46181 #ifdef __cplusplus
46182 extern "C"
46183 #endif
46184 char sin ();
46185 int
46186 main ()
46187 {
46188 return sin ();
46189   ;
46190   return 0;
46191 }
46192 _ACEOF
46193 if ac_fn_c_try_link "$LINENO"; then :
46194   ac_cv_lib_m_sin=yes
46195 else
46196   ac_cv_lib_m_sin=no
46197 fi
46198 rm -f core conftest.err conftest.$ac_objext \
46199     conftest$ac_exeext conftest.$ac_ext
46200 LIBS=$ac_check_lib_save_LIBS
46201 fi
46202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46203 $as_echo "$ac_cv_lib_m_sin" >&6; }
46204 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46205   libm="-lm"
46206 fi
46207
46208   ac_save_LIBS="$LIBS"
46209   LIBS="$LIBS $libm"
46210
46211
46212
46213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46214 $as_echo_n "checking for isinf declaration... " >&6; }
46215   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46216     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46217   $as_echo_n "(cached) " >&6
46218 else
46219
46220
46221       ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46226
46227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h.  */
46229 #include <math.h>
46230                       #ifdef HAVE_IEEEFP_H
46231                       #include <ieeefp.h>
46232                       #endif
46233
46234 int
46235 main ()
46236 {
46237  isinf(0);
46238   ;
46239   return 0;
46240 }
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243   glibcxx_cv_func_isinf_use=yes
46244 else
46245   glibcxx_cv_func_isinf_use=no
46246 fi
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248       ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46253
46254
46255 fi
46256
46257   fi
46258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46259 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46260
46261   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46262     for ac_func in isinf
46263 do :
46264   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46265 if test "x$ac_cv_func_isinf" = x""yes; then :
46266   cat >>confdefs.h <<_ACEOF
46267 #define HAVE_ISINF 1
46268 _ACEOF
46269
46270 fi
46271 done
46272
46273   else
46274
46275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46276 $as_echo_n "checking for _isinf declaration... " >&6; }
46277   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46278     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46279   $as_echo_n "(cached) " >&6
46280 else
46281
46282
46283       ac_ext=cpp
46284 ac_cpp='$CXXCPP $CPPFLAGS'
46285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46288
46289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290 /* end confdefs.h.  */
46291 #include <math.h>
46292                       #ifdef HAVE_IEEEFP_H
46293                       #include <ieeefp.h>
46294                       #endif
46295
46296 int
46297 main ()
46298 {
46299  _isinf(0);
46300   ;
46301   return 0;
46302 }
46303 _ACEOF
46304 if ac_fn_cxx_try_compile "$LINENO"; then :
46305   glibcxx_cv_func__isinf_use=yes
46306 else
46307   glibcxx_cv_func__isinf_use=no
46308 fi
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310       ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46315
46316
46317 fi
46318
46319   fi
46320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46321 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46322
46323     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46324       for ac_func in _isinf
46325 do :
46326   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46327 if test "x$ac_cv_func__isinf" = x""yes; then :
46328   cat >>confdefs.h <<_ACEOF
46329 #define HAVE__ISINF 1
46330 _ACEOF
46331
46332 fi
46333 done
46334
46335     fi
46336   fi
46337
46338
46339
46340
46341
46342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46343 $as_echo_n "checking for isnan declaration... " >&6; }
46344   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46345     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46346   $as_echo_n "(cached) " >&6
46347 else
46348
46349
46350       ac_ext=cpp
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355
46356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46357 /* end confdefs.h.  */
46358 #include <math.h>
46359                       #ifdef HAVE_IEEEFP_H
46360                       #include <ieeefp.h>
46361                       #endif
46362
46363 int
46364 main ()
46365 {
46366  isnan(0);
46367   ;
46368   return 0;
46369 }
46370 _ACEOF
46371 if ac_fn_cxx_try_compile "$LINENO"; then :
46372   glibcxx_cv_func_isnan_use=yes
46373 else
46374   glibcxx_cv_func_isnan_use=no
46375 fi
46376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46377       ac_ext=c
46378 ac_cpp='$CPP $CPPFLAGS'
46379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46382
46383
46384 fi
46385
46386   fi
46387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46388 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46389
46390   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46391     for ac_func in isnan
46392 do :
46393   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46394 if test "x$ac_cv_func_isnan" = x""yes; then :
46395   cat >>confdefs.h <<_ACEOF
46396 #define HAVE_ISNAN 1
46397 _ACEOF
46398
46399 fi
46400 done
46401
46402   else
46403
46404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46405 $as_echo_n "checking for _isnan declaration... " >&6; }
46406   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46407     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46408   $as_echo_n "(cached) " >&6
46409 else
46410
46411
46412       ac_ext=cpp
46413 ac_cpp='$CXXCPP $CPPFLAGS'
46414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46417
46418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46419 /* end confdefs.h.  */
46420 #include <math.h>
46421                       #ifdef HAVE_IEEEFP_H
46422                       #include <ieeefp.h>
46423                       #endif
46424
46425 int
46426 main ()
46427 {
46428  _isnan(0);
46429   ;
46430   return 0;
46431 }
46432 _ACEOF
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434   glibcxx_cv_func__isnan_use=yes
46435 else
46436   glibcxx_cv_func__isnan_use=no
46437 fi
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46439       ac_ext=c
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46444
46445
46446 fi
46447
46448   fi
46449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46450 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46451
46452     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46453       for ac_func in _isnan
46454 do :
46455   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46456 if test "x$ac_cv_func__isnan" = x""yes; then :
46457   cat >>confdefs.h <<_ACEOF
46458 #define HAVE__ISNAN 1
46459 _ACEOF
46460
46461 fi
46462 done
46463
46464     fi
46465   fi
46466
46467
46468
46469
46470
46471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46472 $as_echo_n "checking for finite declaration... " >&6; }
46473   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46474     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46475   $as_echo_n "(cached) " >&6
46476 else
46477
46478
46479       ac_ext=cpp
46480 ac_cpp='$CXXCPP $CPPFLAGS'
46481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46484
46485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46486 /* end confdefs.h.  */
46487 #include <math.h>
46488                       #ifdef HAVE_IEEEFP_H
46489                       #include <ieeefp.h>
46490                       #endif
46491
46492 int
46493 main ()
46494 {
46495  finite(0);
46496   ;
46497   return 0;
46498 }
46499 _ACEOF
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501   glibcxx_cv_func_finite_use=yes
46502 else
46503   glibcxx_cv_func_finite_use=no
46504 fi
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506       ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46511
46512
46513 fi
46514
46515   fi
46516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46517 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46518
46519   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46520     for ac_func in finite
46521 do :
46522   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46523 if test "x$ac_cv_func_finite" = x""yes; then :
46524   cat >>confdefs.h <<_ACEOF
46525 #define HAVE_FINITE 1
46526 _ACEOF
46527
46528 fi
46529 done
46530
46531   else
46532
46533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46534 $as_echo_n "checking for _finite declaration... " >&6; }
46535   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46536     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46537   $as_echo_n "(cached) " >&6
46538 else
46539
46540
46541       ac_ext=cpp
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546
46547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h.  */
46549 #include <math.h>
46550                       #ifdef HAVE_IEEEFP_H
46551                       #include <ieeefp.h>
46552                       #endif
46553
46554 int
46555 main ()
46556 {
46557  _finite(0);
46558   ;
46559   return 0;
46560 }
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563   glibcxx_cv_func__finite_use=yes
46564 else
46565   glibcxx_cv_func__finite_use=no
46566 fi
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568       ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573
46574
46575 fi
46576
46577   fi
46578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46579 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46580
46581     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46582       for ac_func in _finite
46583 do :
46584   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46585 if test "x$ac_cv_func__finite" = x""yes; then :
46586   cat >>confdefs.h <<_ACEOF
46587 #define HAVE__FINITE 1
46588 _ACEOF
46589
46590 fi
46591 done
46592
46593     fi
46594   fi
46595
46596
46597
46598
46599
46600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46601 $as_echo_n "checking for sincos declaration... " >&6; }
46602   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46603     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46604   $as_echo_n "(cached) " >&6
46605 else
46606
46607
46608       ac_ext=cpp
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46613
46614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h.  */
46616 #include <math.h>
46617 int
46618 main ()
46619 {
46620  sincos(0, 0, 0);
46621   ;
46622   return 0;
46623 }
46624 _ACEOF
46625 if ac_fn_cxx_try_compile "$LINENO"; then :
46626   glibcxx_cv_func_sincos_use=yes
46627 else
46628   glibcxx_cv_func_sincos_use=no
46629 fi
46630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46631       ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46636
46637
46638 fi
46639
46640   fi
46641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46642 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46643
46644   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46645     for ac_func in sincos
46646 do :
46647   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46648 if test "x$ac_cv_func_sincos" = x""yes; then :
46649   cat >>confdefs.h <<_ACEOF
46650 #define HAVE_SINCOS 1
46651 _ACEOF
46652
46653 fi
46654 done
46655
46656   else
46657
46658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46659 $as_echo_n "checking for _sincos declaration... " >&6; }
46660   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46661     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46662   $as_echo_n "(cached) " >&6
46663 else
46664
46665
46666       ac_ext=cpp
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46671
46672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46673 /* end confdefs.h.  */
46674 #include <math.h>
46675 int
46676 main ()
46677 {
46678  _sincos(0, 0, 0);
46679   ;
46680   return 0;
46681 }
46682 _ACEOF
46683 if ac_fn_cxx_try_compile "$LINENO"; then :
46684   glibcxx_cv_func__sincos_use=yes
46685 else
46686   glibcxx_cv_func__sincos_use=no
46687 fi
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689       ac_ext=c
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46694
46695
46696 fi
46697
46698   fi
46699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46700 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46701
46702     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46703       for ac_func in _sincos
46704 do :
46705   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46706 if test "x$ac_cv_func__sincos" = x""yes; then :
46707   cat >>confdefs.h <<_ACEOF
46708 #define HAVE__SINCOS 1
46709 _ACEOF
46710
46711 fi
46712 done
46713
46714     fi
46715   fi
46716
46717
46718
46719
46720
46721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46722 $as_echo_n "checking for fpclass declaration... " >&6; }
46723   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46724     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46725   $as_echo_n "(cached) " >&6
46726 else
46727
46728
46729       ac_ext=cpp
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46734
46735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46736 /* end confdefs.h.  */
46737 #include <math.h>
46738                       #ifdef HAVE_IEEEFP_H
46739                       #include <ieeefp.h>
46740                       #endif
46741
46742 int
46743 main ()
46744 {
46745  fpclass(0);
46746   ;
46747   return 0;
46748 }
46749 _ACEOF
46750 if ac_fn_cxx_try_compile "$LINENO"; then :
46751   glibcxx_cv_func_fpclass_use=yes
46752 else
46753   glibcxx_cv_func_fpclass_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_fpclass_use" >&5
46767 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46768
46769   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46770     for ac_func in fpclass
46771 do :
46772   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46773 if test "x$ac_cv_func_fpclass" = x""yes; then :
46774   cat >>confdefs.h <<_ACEOF
46775 #define HAVE_FPCLASS 1
46776 _ACEOF
46777
46778 fi
46779 done
46780
46781   else
46782
46783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46784 $as_echo_n "checking for _fpclass declaration... " >&6; }
46785   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46786     if test "${glibcxx_cv_func__fpclass_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                       #ifdef HAVE_IEEEFP_H
46801                       #include <ieeefp.h>
46802                       #endif
46803
46804 int
46805 main ()
46806 {
46807  _fpclass(0);
46808   ;
46809   return 0;
46810 }
46811 _ACEOF
46812 if ac_fn_cxx_try_compile "$LINENO"; then :
46813   glibcxx_cv_func__fpclass_use=yes
46814 else
46815   glibcxx_cv_func__fpclass_use=no
46816 fi
46817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46818       ac_ext=c
46819 ac_cpp='$CPP $CPPFLAGS'
46820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46823
46824
46825 fi
46826
46827   fi
46828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46829 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46830
46831     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46832       for ac_func in _fpclass
46833 do :
46834   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46835 if test "x$ac_cv_func__fpclass" = x""yes; then :
46836   cat >>confdefs.h <<_ACEOF
46837 #define HAVE__FPCLASS 1
46838 _ACEOF
46839
46840 fi
46841 done
46842
46843     fi
46844   fi
46845
46846
46847
46848
46849
46850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46851 $as_echo_n "checking for qfpclass declaration... " >&6; }
46852   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46853     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46854   $as_echo_n "(cached) " >&6
46855 else
46856
46857
46858       ac_ext=cpp
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46863
46864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46865 /* end confdefs.h.  */
46866 #include <math.h>
46867                       #ifdef HAVE_IEEEFP_H
46868                       #include <ieeefp.h>
46869                       #endif
46870
46871 int
46872 main ()
46873 {
46874  qfpclass(0);
46875   ;
46876   return 0;
46877 }
46878 _ACEOF
46879 if ac_fn_cxx_try_compile "$LINENO"; then :
46880   glibcxx_cv_func_qfpclass_use=yes
46881 else
46882   glibcxx_cv_func_qfpclass_use=no
46883 fi
46884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46885       ac_ext=c
46886 ac_cpp='$CPP $CPPFLAGS'
46887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46890
46891
46892 fi
46893
46894   fi
46895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46896 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46897
46898   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46899     for ac_func in qfpclass
46900 do :
46901   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46902 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46903   cat >>confdefs.h <<_ACEOF
46904 #define HAVE_QFPCLASS 1
46905 _ACEOF
46906
46907 fi
46908 done
46909
46910   else
46911
46912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46913 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46914   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46915     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46916   $as_echo_n "(cached) " >&6
46917 else
46918
46919
46920       ac_ext=cpp
46921 ac_cpp='$CXXCPP $CPPFLAGS'
46922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46925
46926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46927 /* end confdefs.h.  */
46928 #include <math.h>
46929                       #ifdef HAVE_IEEEFP_H
46930                       #include <ieeefp.h>
46931                       #endif
46932
46933 int
46934 main ()
46935 {
46936  _qfpclass(0);
46937   ;
46938   return 0;
46939 }
46940 _ACEOF
46941 if ac_fn_cxx_try_compile "$LINENO"; then :
46942   glibcxx_cv_func__qfpclass_use=yes
46943 else
46944   glibcxx_cv_func__qfpclass_use=no
46945 fi
46946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46947       ac_ext=c
46948 ac_cpp='$CPP $CPPFLAGS'
46949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46952
46953
46954 fi
46955
46956   fi
46957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46958 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46959
46960     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46961       for ac_func in _qfpclass
46962 do :
46963   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46964 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46965   cat >>confdefs.h <<_ACEOF
46966 #define HAVE__QFPCLASS 1
46967 _ACEOF
46968
46969 fi
46970 done
46971
46972     fi
46973   fi
46974
46975
46976
46977
46978
46979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46980 $as_echo_n "checking for hypot declaration... " >&6; }
46981   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46982     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46983   $as_echo_n "(cached) " >&6
46984 else
46985
46986
46987       ac_ext=cpp
46988 ac_cpp='$CXXCPP $CPPFLAGS'
46989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46992
46993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46994 /* end confdefs.h.  */
46995 #include <math.h>
46996 int
46997 main ()
46998 {
46999  hypot(0, 0);
47000   ;
47001   return 0;
47002 }
47003 _ACEOF
47004 if ac_fn_cxx_try_compile "$LINENO"; then :
47005   glibcxx_cv_func_hypot_use=yes
47006 else
47007   glibcxx_cv_func_hypot_use=no
47008 fi
47009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47010       ac_ext=c
47011 ac_cpp='$CPP $CPPFLAGS'
47012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47015
47016
47017 fi
47018
47019   fi
47020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47021 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47022
47023   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47024     for ac_func in hypot
47025 do :
47026   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47027 if test "x$ac_cv_func_hypot" = x""yes; then :
47028   cat >>confdefs.h <<_ACEOF
47029 #define HAVE_HYPOT 1
47030 _ACEOF
47031
47032 fi
47033 done
47034
47035   else
47036
47037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47038 $as_echo_n "checking for _hypot declaration... " >&6; }
47039   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47040     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47041   $as_echo_n "(cached) " >&6
47042 else
47043
47044
47045       ac_ext=cpp
47046 ac_cpp='$CXXCPP $CPPFLAGS'
47047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47050
47051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47052 /* end confdefs.h.  */
47053 #include <math.h>
47054 int
47055 main ()
47056 {
47057  _hypot(0, 0);
47058   ;
47059   return 0;
47060 }
47061 _ACEOF
47062 if ac_fn_cxx_try_compile "$LINENO"; then :
47063   glibcxx_cv_func__hypot_use=yes
47064 else
47065   glibcxx_cv_func__hypot_use=no
47066 fi
47067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47068       ac_ext=c
47069 ac_cpp='$CPP $CPPFLAGS'
47070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47073
47074
47075 fi
47076
47077   fi
47078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47079 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47080
47081     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47082       for ac_func in _hypot
47083 do :
47084   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47085 if test "x$ac_cv_func__hypot" = x""yes; then :
47086   cat >>confdefs.h <<_ACEOF
47087 #define HAVE__HYPOT 1
47088 _ACEOF
47089
47090 fi
47091 done
47092
47093     fi
47094   fi
47095
47096
47097
47098
47099
47100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47101 $as_echo_n "checking for float trig functions... " >&6; }
47102   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47103   $as_echo_n "(cached) " >&6
47104 else
47105
47106
47107     ac_ext=cpp
47108 ac_cpp='$CXXCPP $CPPFLAGS'
47109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47112
47113     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47114 /* end confdefs.h.  */
47115 #include <math.h>
47116 int
47117 main ()
47118 {
47119 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47120   ;
47121   return 0;
47122 }
47123 _ACEOF
47124 if ac_fn_cxx_try_compile "$LINENO"; then :
47125   glibcxx_cv_func_float_trig_use=yes
47126 else
47127   glibcxx_cv_func_float_trig_use=no
47128 fi
47129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47130     ac_ext=c
47131 ac_cpp='$CPP $CPPFLAGS'
47132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135
47136 fi
47137
47138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47139 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47140   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47141     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47142 do :
47143   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47145 eval as_val=\$$as_ac_var
47146    if test "x$as_val" = x""yes; then :
47147   cat >>confdefs.h <<_ACEOF
47148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47149 _ACEOF
47150
47151 fi
47152 done
47153
47154   else
47155     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47156 $as_echo_n "checking for _float trig functions... " >&6; }
47157     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47158   $as_echo_n "(cached) " >&6
47159 else
47160
47161
47162       ac_ext=cpp
47163 ac_cpp='$CXXCPP $CPPFLAGS'
47164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47167
47168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47169 /* end confdefs.h.  */
47170 #include <math.h>
47171 int
47172 main ()
47173 {
47174 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47175   ;
47176   return 0;
47177 }
47178 _ACEOF
47179 if ac_fn_cxx_try_compile "$LINENO"; then :
47180   glibcxx_cv_func__float_trig_use=yes
47181 else
47182   glibcxx_cv_func__float_trig_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 fi
47192
47193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47194 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47195     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47196       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47197 do :
47198   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47200 eval as_val=\$$as_ac_var
47201    if test "x$as_val" = x""yes; then :
47202   cat >>confdefs.h <<_ACEOF
47203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47204 _ACEOF
47205
47206 fi
47207 done
47208
47209     fi
47210   fi
47211
47212
47213
47214
47215
47216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47217 $as_echo_n "checking for float round functions... " >&6; }
47218   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47219   $as_echo_n "(cached) " >&6
47220 else
47221
47222
47223     ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47228
47229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h.  */
47231 #include <math.h>
47232 int
47233 main ()
47234 {
47235 ceilf (0); floorf (0);
47236   ;
47237   return 0;
47238 }
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241   glibcxx_cv_func_float_round_use=yes
47242 else
47243   glibcxx_cv_func_float_round_use=no
47244 fi
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246     ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251
47252 fi
47253
47254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47255 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47256   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47257     for ac_func in ceilf floorf
47258 do :
47259   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47261 eval as_val=\$$as_ac_var
47262    if test "x$as_val" = x""yes; then :
47263   cat >>confdefs.h <<_ACEOF
47264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47265 _ACEOF
47266
47267 fi
47268 done
47269
47270   else
47271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47272 $as_echo_n "checking for _float round functions... " >&6; }
47273     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47274   $as_echo_n "(cached) " >&6
47275 else
47276
47277
47278       ac_ext=cpp
47279 ac_cpp='$CXXCPP $CPPFLAGS'
47280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47283
47284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47285 /* end confdefs.h.  */
47286 #include <math.h>
47287 int
47288 main ()
47289 {
47290 _ceilf (0); _floorf (0);
47291   ;
47292   return 0;
47293 }
47294 _ACEOF
47295 if ac_fn_cxx_try_compile "$LINENO"; then :
47296   glibcxx_cv_func__float_round_use=yes
47297 else
47298   glibcxx_cv_func__float_round_use=no
47299 fi
47300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47301       ac_ext=c
47302 ac_cpp='$CPP $CPPFLAGS'
47303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47306
47307 fi
47308
47309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47310 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47311     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47312       for ac_func in _ceilf _floorf
47313 do :
47314   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47316 eval as_val=\$$as_ac_var
47317    if test "x$as_val" = x""yes; then :
47318   cat >>confdefs.h <<_ACEOF
47319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47320 _ACEOF
47321
47322 fi
47323 done
47324
47325     fi
47326   fi
47327
47328
47329
47330
47331
47332
47333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47334 $as_echo_n "checking for expf declaration... " >&6; }
47335   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47336     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47337   $as_echo_n "(cached) " >&6
47338 else
47339
47340
47341       ac_ext=cpp
47342 ac_cpp='$CXXCPP $CPPFLAGS'
47343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346
47347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47348 /* end confdefs.h.  */
47349 #include <math.h>
47350                       #ifdef HAVE_IEEEFP_H
47351                       #include <ieeefp.h>
47352                       #endif
47353
47354 int
47355 main ()
47356 {
47357  expf(0);
47358   ;
47359   return 0;
47360 }
47361 _ACEOF
47362 if ac_fn_cxx_try_compile "$LINENO"; then :
47363   glibcxx_cv_func_expf_use=yes
47364 else
47365   glibcxx_cv_func_expf_use=no
47366 fi
47367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47368       ac_ext=c
47369 ac_cpp='$CPP $CPPFLAGS'
47370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47373
47374
47375 fi
47376
47377   fi
47378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47379 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47380
47381   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47382     for ac_func in expf
47383 do :
47384   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47385 if test "x$ac_cv_func_expf" = x""yes; then :
47386   cat >>confdefs.h <<_ACEOF
47387 #define HAVE_EXPF 1
47388 _ACEOF
47389
47390 fi
47391 done
47392
47393   else
47394
47395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47396 $as_echo_n "checking for _expf declaration... " >&6; }
47397   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47398     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47399   $as_echo_n "(cached) " >&6
47400 else
47401
47402
47403       ac_ext=cpp
47404 ac_cpp='$CXXCPP $CPPFLAGS'
47405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47408
47409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47410 /* end confdefs.h.  */
47411 #include <math.h>
47412                       #ifdef HAVE_IEEEFP_H
47413                       #include <ieeefp.h>
47414                       #endif
47415
47416 int
47417 main ()
47418 {
47419  _expf(0);
47420   ;
47421   return 0;
47422 }
47423 _ACEOF
47424 if ac_fn_cxx_try_compile "$LINENO"; then :
47425   glibcxx_cv_func__expf_use=yes
47426 else
47427   glibcxx_cv_func__expf_use=no
47428 fi
47429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47430       ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47435
47436
47437 fi
47438
47439   fi
47440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47441 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47442
47443     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47444       for ac_func in _expf
47445 do :
47446   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47447 if test "x$ac_cv_func__expf" = x""yes; then :
47448   cat >>confdefs.h <<_ACEOF
47449 #define HAVE__EXPF 1
47450 _ACEOF
47451
47452 fi
47453 done
47454
47455     fi
47456   fi
47457
47458
47459
47460
47461
47462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47463 $as_echo_n "checking for isnanf declaration... " >&6; }
47464   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47465     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47466   $as_echo_n "(cached) " >&6
47467 else
47468
47469
47470       ac_ext=cpp
47471 ac_cpp='$CXXCPP $CPPFLAGS'
47472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47475
47476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47477 /* end confdefs.h.  */
47478 #include <math.h>
47479                       #ifdef HAVE_IEEEFP_H
47480                       #include <ieeefp.h>
47481                       #endif
47482
47483 int
47484 main ()
47485 {
47486  isnanf(0);
47487   ;
47488   return 0;
47489 }
47490 _ACEOF
47491 if ac_fn_cxx_try_compile "$LINENO"; then :
47492   glibcxx_cv_func_isnanf_use=yes
47493 else
47494   glibcxx_cv_func_isnanf_use=no
47495 fi
47496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47497       ac_ext=c
47498 ac_cpp='$CPP $CPPFLAGS'
47499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47502
47503
47504 fi
47505
47506   fi
47507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47508 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47509
47510   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47511     for ac_func in isnanf
47512 do :
47513   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47514 if test "x$ac_cv_func_isnanf" = x""yes; then :
47515   cat >>confdefs.h <<_ACEOF
47516 #define HAVE_ISNANF 1
47517 _ACEOF
47518
47519 fi
47520 done
47521
47522   else
47523
47524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47525 $as_echo_n "checking for _isnanf declaration... " >&6; }
47526   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47527     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47528   $as_echo_n "(cached) " >&6
47529 else
47530
47531
47532       ac_ext=cpp
47533 ac_cpp='$CXXCPP $CPPFLAGS'
47534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537
47538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47539 /* end confdefs.h.  */
47540 #include <math.h>
47541                       #ifdef HAVE_IEEEFP_H
47542                       #include <ieeefp.h>
47543                       #endif
47544
47545 int
47546 main ()
47547 {
47548  _isnanf(0);
47549   ;
47550   return 0;
47551 }
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554   glibcxx_cv_func__isnanf_use=yes
47555 else
47556   glibcxx_cv_func__isnanf_use=no
47557 fi
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559       ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564
47565
47566 fi
47567
47568   fi
47569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47570 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47571
47572     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47573       for ac_func in _isnanf
47574 do :
47575   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47576 if test "x$ac_cv_func__isnanf" = x""yes; then :
47577   cat >>confdefs.h <<_ACEOF
47578 #define HAVE__ISNANF 1
47579 _ACEOF
47580
47581 fi
47582 done
47583
47584     fi
47585   fi
47586
47587
47588
47589
47590
47591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47592 $as_echo_n "checking for isinff declaration... " >&6; }
47593   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47594     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47595   $as_echo_n "(cached) " >&6
47596 else
47597
47598
47599       ac_ext=cpp
47600 ac_cpp='$CXXCPP $CPPFLAGS'
47601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47604
47605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47606 /* end confdefs.h.  */
47607 #include <math.h>
47608                       #ifdef HAVE_IEEEFP_H
47609                       #include <ieeefp.h>
47610                       #endif
47611
47612 int
47613 main ()
47614 {
47615  isinff(0);
47616   ;
47617   return 0;
47618 }
47619 _ACEOF
47620 if ac_fn_cxx_try_compile "$LINENO"; then :
47621   glibcxx_cv_func_isinff_use=yes
47622 else
47623   glibcxx_cv_func_isinff_use=no
47624 fi
47625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47626       ac_ext=c
47627 ac_cpp='$CPP $CPPFLAGS'
47628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631
47632
47633 fi
47634
47635   fi
47636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47637 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47638
47639   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47640     for ac_func in isinff
47641 do :
47642   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47643 if test "x$ac_cv_func_isinff" = x""yes; then :
47644   cat >>confdefs.h <<_ACEOF
47645 #define HAVE_ISINFF 1
47646 _ACEOF
47647
47648 fi
47649 done
47650
47651   else
47652
47653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47654 $as_echo_n "checking for _isinff declaration... " >&6; }
47655   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47656     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47657   $as_echo_n "(cached) " >&6
47658 else
47659
47660
47661       ac_ext=cpp
47662 ac_cpp='$CXXCPP $CPPFLAGS'
47663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47666
47667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47668 /* end confdefs.h.  */
47669 #include <math.h>
47670                       #ifdef HAVE_IEEEFP_H
47671                       #include <ieeefp.h>
47672                       #endif
47673
47674 int
47675 main ()
47676 {
47677  _isinff(0);
47678   ;
47679   return 0;
47680 }
47681 _ACEOF
47682 if ac_fn_cxx_try_compile "$LINENO"; then :
47683   glibcxx_cv_func__isinff_use=yes
47684 else
47685   glibcxx_cv_func__isinff_use=no
47686 fi
47687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47688       ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47693
47694
47695 fi
47696
47697   fi
47698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47699 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47700
47701     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47702       for ac_func in _isinff
47703 do :
47704   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47705 if test "x$ac_cv_func__isinff" = x""yes; then :
47706   cat >>confdefs.h <<_ACEOF
47707 #define HAVE__ISINFF 1
47708 _ACEOF
47709
47710 fi
47711 done
47712
47713     fi
47714   fi
47715
47716
47717
47718
47719
47720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47721 $as_echo_n "checking for atan2f declaration... " >&6; }
47722   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47723     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47724   $as_echo_n "(cached) " >&6
47725 else
47726
47727
47728       ac_ext=cpp
47729 ac_cpp='$CXXCPP $CPPFLAGS'
47730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47733
47734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47735 /* end confdefs.h.  */
47736 #include <math.h>
47737 int
47738 main ()
47739 {
47740  atan2f(0, 0);
47741   ;
47742   return 0;
47743 }
47744 _ACEOF
47745 if ac_fn_cxx_try_compile "$LINENO"; then :
47746   glibcxx_cv_func_atan2f_use=yes
47747 else
47748   glibcxx_cv_func_atan2f_use=no
47749 fi
47750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47751       ac_ext=c
47752 ac_cpp='$CPP $CPPFLAGS'
47753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47756
47757
47758 fi
47759
47760   fi
47761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47762 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47763
47764   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47765     for ac_func in atan2f
47766 do :
47767   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47768 if test "x$ac_cv_func_atan2f" = x""yes; then :
47769   cat >>confdefs.h <<_ACEOF
47770 #define HAVE_ATAN2F 1
47771 _ACEOF
47772
47773 fi
47774 done
47775
47776   else
47777
47778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47779 $as_echo_n "checking for _atan2f declaration... " >&6; }
47780   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47781     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47782   $as_echo_n "(cached) " >&6
47783 else
47784
47785
47786       ac_ext=cpp
47787 ac_cpp='$CXXCPP $CPPFLAGS'
47788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47791
47792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47793 /* end confdefs.h.  */
47794 #include <math.h>
47795 int
47796 main ()
47797 {
47798  _atan2f(0, 0);
47799   ;
47800   return 0;
47801 }
47802 _ACEOF
47803 if ac_fn_cxx_try_compile "$LINENO"; then :
47804   glibcxx_cv_func__atan2f_use=yes
47805 else
47806   glibcxx_cv_func__atan2f_use=no
47807 fi
47808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47809       ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47814
47815
47816 fi
47817
47818   fi
47819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47820 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47821
47822     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47823       for ac_func in _atan2f
47824 do :
47825   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47826 if test "x$ac_cv_func__atan2f" = x""yes; then :
47827   cat >>confdefs.h <<_ACEOF
47828 #define HAVE__ATAN2F 1
47829 _ACEOF
47830
47831 fi
47832 done
47833
47834     fi
47835   fi
47836
47837
47838
47839
47840
47841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47842 $as_echo_n "checking for fabsf declaration... " >&6; }
47843   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47844     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47845   $as_echo_n "(cached) " >&6
47846 else
47847
47848
47849       ac_ext=cpp
47850 ac_cpp='$CXXCPP $CPPFLAGS'
47851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47854
47855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47856 /* end confdefs.h.  */
47857 #include <math.h>
47858                       #ifdef HAVE_IEEEFP_H
47859                       #include <ieeefp.h>
47860                       #endif
47861
47862 int
47863 main ()
47864 {
47865  fabsf(0);
47866   ;
47867   return 0;
47868 }
47869 _ACEOF
47870 if ac_fn_cxx_try_compile "$LINENO"; then :
47871   glibcxx_cv_func_fabsf_use=yes
47872 else
47873   glibcxx_cv_func_fabsf_use=no
47874 fi
47875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47876       ac_ext=c
47877 ac_cpp='$CPP $CPPFLAGS'
47878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47881
47882
47883 fi
47884
47885   fi
47886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47887 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47888
47889   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47890     for ac_func in fabsf
47891 do :
47892   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47893 if test "x$ac_cv_func_fabsf" = x""yes; then :
47894   cat >>confdefs.h <<_ACEOF
47895 #define HAVE_FABSF 1
47896 _ACEOF
47897
47898 fi
47899 done
47900
47901   else
47902
47903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47904 $as_echo_n "checking for _fabsf declaration... " >&6; }
47905   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47906     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47907   $as_echo_n "(cached) " >&6
47908 else
47909
47910
47911       ac_ext=cpp
47912 ac_cpp='$CXXCPP $CPPFLAGS'
47913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47916
47917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47918 /* end confdefs.h.  */
47919 #include <math.h>
47920                       #ifdef HAVE_IEEEFP_H
47921                       #include <ieeefp.h>
47922                       #endif
47923
47924 int
47925 main ()
47926 {
47927  _fabsf(0);
47928   ;
47929   return 0;
47930 }
47931 _ACEOF
47932 if ac_fn_cxx_try_compile "$LINENO"; then :
47933   glibcxx_cv_func__fabsf_use=yes
47934 else
47935   glibcxx_cv_func__fabsf_use=no
47936 fi
47937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47938       ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47943
47944
47945 fi
47946
47947   fi
47948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47949 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47950
47951     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47952       for ac_func in _fabsf
47953 do :
47954   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47955 if test "x$ac_cv_func__fabsf" = x""yes; then :
47956   cat >>confdefs.h <<_ACEOF
47957 #define HAVE__FABSF 1
47958 _ACEOF
47959
47960 fi
47961 done
47962
47963     fi
47964   fi
47965
47966
47967
47968
47969
47970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47971 $as_echo_n "checking for fmodf declaration... " >&6; }
47972   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47973     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47974   $as_echo_n "(cached) " >&6
47975 else
47976
47977
47978       ac_ext=cpp
47979 ac_cpp='$CXXCPP $CPPFLAGS'
47980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47983
47984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47985 /* end confdefs.h.  */
47986 #include <math.h>
47987 int
47988 main ()
47989 {
47990  fmodf(0, 0);
47991   ;
47992   return 0;
47993 }
47994 _ACEOF
47995 if ac_fn_cxx_try_compile "$LINENO"; then :
47996   glibcxx_cv_func_fmodf_use=yes
47997 else
47998   glibcxx_cv_func_fmodf_use=no
47999 fi
48000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48001       ac_ext=c
48002 ac_cpp='$CPP $CPPFLAGS'
48003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006
48007
48008 fi
48009
48010   fi
48011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48012 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48013
48014   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48015     for ac_func in fmodf
48016 do :
48017   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48018 if test "x$ac_cv_func_fmodf" = x""yes; then :
48019   cat >>confdefs.h <<_ACEOF
48020 #define HAVE_FMODF 1
48021 _ACEOF
48022
48023 fi
48024 done
48025
48026   else
48027
48028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48029 $as_echo_n "checking for _fmodf declaration... " >&6; }
48030   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48031     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48032   $as_echo_n "(cached) " >&6
48033 else
48034
48035
48036       ac_ext=cpp
48037 ac_cpp='$CXXCPP $CPPFLAGS'
48038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48041
48042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48043 /* end confdefs.h.  */
48044 #include <math.h>
48045 int
48046 main ()
48047 {
48048  _fmodf(0, 0);
48049   ;
48050   return 0;
48051 }
48052 _ACEOF
48053 if ac_fn_cxx_try_compile "$LINENO"; then :
48054   glibcxx_cv_func__fmodf_use=yes
48055 else
48056   glibcxx_cv_func__fmodf_use=no
48057 fi
48058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48059       ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48064
48065
48066 fi
48067
48068   fi
48069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48070 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48071
48072     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48073       for ac_func in _fmodf
48074 do :
48075   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48076 if test "x$ac_cv_func__fmodf" = x""yes; then :
48077   cat >>confdefs.h <<_ACEOF
48078 #define HAVE__FMODF 1
48079 _ACEOF
48080
48081 fi
48082 done
48083
48084     fi
48085   fi
48086
48087
48088
48089
48090
48091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48092 $as_echo_n "checking for frexpf declaration... " >&6; }
48093   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48094     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48095   $as_echo_n "(cached) " >&6
48096 else
48097
48098
48099       ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104
48105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h.  */
48107 #include <math.h>
48108 int
48109 main ()
48110 {
48111  frexpf(0, 0);
48112   ;
48113   return 0;
48114 }
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117   glibcxx_cv_func_frexpf_use=yes
48118 else
48119   glibcxx_cv_func_frexpf_use=no
48120 fi
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122       ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127
48128
48129 fi
48130
48131   fi
48132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48133 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48134
48135   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48136     for ac_func in frexpf
48137 do :
48138   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48139 if test "x$ac_cv_func_frexpf" = x""yes; then :
48140   cat >>confdefs.h <<_ACEOF
48141 #define HAVE_FREXPF 1
48142 _ACEOF
48143
48144 fi
48145 done
48146
48147   else
48148
48149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48150 $as_echo_n "checking for _frexpf declaration... " >&6; }
48151   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48152     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48153   $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157       ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h.  */
48165 #include <math.h>
48166 int
48167 main ()
48168 {
48169  _frexpf(0, 0);
48170   ;
48171   return 0;
48172 }
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175   glibcxx_cv_func__frexpf_use=yes
48176 else
48177   glibcxx_cv_func__frexpf_use=no
48178 fi
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180       ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48185
48186
48187 fi
48188
48189   fi
48190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48191 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48192
48193     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48194       for ac_func in _frexpf
48195 do :
48196   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48197 if test "x$ac_cv_func__frexpf" = x""yes; then :
48198   cat >>confdefs.h <<_ACEOF
48199 #define HAVE__FREXPF 1
48200 _ACEOF
48201
48202 fi
48203 done
48204
48205     fi
48206   fi
48207
48208
48209
48210
48211
48212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48213 $as_echo_n "checking for hypotf declaration... " >&6; }
48214   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48215     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48216   $as_echo_n "(cached) " >&6
48217 else
48218
48219
48220       ac_ext=cpp
48221 ac_cpp='$CXXCPP $CPPFLAGS'
48222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225
48226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48227 /* end confdefs.h.  */
48228 #include <math.h>
48229 int
48230 main ()
48231 {
48232  hypotf(0, 0);
48233   ;
48234   return 0;
48235 }
48236 _ACEOF
48237 if ac_fn_cxx_try_compile "$LINENO"; then :
48238   glibcxx_cv_func_hypotf_use=yes
48239 else
48240   glibcxx_cv_func_hypotf_use=no
48241 fi
48242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48243       ac_ext=c
48244 ac_cpp='$CPP $CPPFLAGS'
48245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248
48249
48250 fi
48251
48252   fi
48253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48254 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48255
48256   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48257     for ac_func in hypotf
48258 do :
48259   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48260 if test "x$ac_cv_func_hypotf" = x""yes; then :
48261   cat >>confdefs.h <<_ACEOF
48262 #define HAVE_HYPOTF 1
48263 _ACEOF
48264
48265 fi
48266 done
48267
48268   else
48269
48270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48271 $as_echo_n "checking for _hypotf declaration... " >&6; }
48272   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48273     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48274   $as_echo_n "(cached) " >&6
48275 else
48276
48277
48278       ac_ext=cpp
48279 ac_cpp='$CXXCPP $CPPFLAGS'
48280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283
48284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48285 /* end confdefs.h.  */
48286 #include <math.h>
48287 int
48288 main ()
48289 {
48290  _hypotf(0, 0);
48291   ;
48292   return 0;
48293 }
48294 _ACEOF
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296   glibcxx_cv_func__hypotf_use=yes
48297 else
48298   glibcxx_cv_func__hypotf_use=no
48299 fi
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48301       ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48306
48307
48308 fi
48309
48310   fi
48311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48312 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48313
48314     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48315       for ac_func in _hypotf
48316 do :
48317   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48318 if test "x$ac_cv_func__hypotf" = x""yes; then :
48319   cat >>confdefs.h <<_ACEOF
48320 #define HAVE__HYPOTF 1
48321 _ACEOF
48322
48323 fi
48324 done
48325
48326     fi
48327   fi
48328
48329
48330
48331
48332
48333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48334 $as_echo_n "checking for ldexpf declaration... " >&6; }
48335   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48336     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48337   $as_echo_n "(cached) " >&6
48338 else
48339
48340
48341       ac_ext=cpp
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346
48347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48348 /* end confdefs.h.  */
48349 #include <math.h>
48350 int
48351 main ()
48352 {
48353  ldexpf(0, 0);
48354   ;
48355   return 0;
48356 }
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359   glibcxx_cv_func_ldexpf_use=yes
48360 else
48361   glibcxx_cv_func_ldexpf_use=no
48362 fi
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364       ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369
48370
48371 fi
48372
48373   fi
48374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48375 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48376
48377   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48378     for ac_func in ldexpf
48379 do :
48380   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48381 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48382   cat >>confdefs.h <<_ACEOF
48383 #define HAVE_LDEXPF 1
48384 _ACEOF
48385
48386 fi
48387 done
48388
48389   else
48390
48391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48392 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48393   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48394     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48395   $as_echo_n "(cached) " >&6
48396 else
48397
48398
48399       ac_ext=cpp
48400 ac_cpp='$CXXCPP $CPPFLAGS'
48401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404
48405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48406 /* end confdefs.h.  */
48407 #include <math.h>
48408 int
48409 main ()
48410 {
48411  _ldexpf(0, 0);
48412   ;
48413   return 0;
48414 }
48415 _ACEOF
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417   glibcxx_cv_func__ldexpf_use=yes
48418 else
48419   glibcxx_cv_func__ldexpf_use=no
48420 fi
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48422       ac_ext=c
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48427
48428
48429 fi
48430
48431   fi
48432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48433 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48434
48435     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48436       for ac_func in _ldexpf
48437 do :
48438   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48439 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48440   cat >>confdefs.h <<_ACEOF
48441 #define HAVE__LDEXPF 1
48442 _ACEOF
48443
48444 fi
48445 done
48446
48447     fi
48448   fi
48449
48450
48451
48452
48453
48454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48455 $as_echo_n "checking for logf declaration... " >&6; }
48456   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48457     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48458   $as_echo_n "(cached) " >&6
48459 else
48460
48461
48462       ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467
48468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h.  */
48470 #include <math.h>
48471                       #ifdef HAVE_IEEEFP_H
48472                       #include <ieeefp.h>
48473                       #endif
48474
48475 int
48476 main ()
48477 {
48478  logf(0);
48479   ;
48480   return 0;
48481 }
48482 _ACEOF
48483 if ac_fn_cxx_try_compile "$LINENO"; then :
48484   glibcxx_cv_func_logf_use=yes
48485 else
48486   glibcxx_cv_func_logf_use=no
48487 fi
48488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48489       ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494
48495
48496 fi
48497
48498   fi
48499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48500 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48501
48502   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48503     for ac_func in logf
48504 do :
48505   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48506 if test "x$ac_cv_func_logf" = x""yes; then :
48507   cat >>confdefs.h <<_ACEOF
48508 #define HAVE_LOGF 1
48509 _ACEOF
48510
48511 fi
48512 done
48513
48514   else
48515
48516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48517 $as_echo_n "checking for _logf declaration... " >&6; }
48518   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48519     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48520   $as_echo_n "(cached) " >&6
48521 else
48522
48523
48524       ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48529
48530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h.  */
48532 #include <math.h>
48533                       #ifdef HAVE_IEEEFP_H
48534                       #include <ieeefp.h>
48535                       #endif
48536
48537 int
48538 main ()
48539 {
48540  _logf(0);
48541   ;
48542   return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546   glibcxx_cv_func__logf_use=yes
48547 else
48548   glibcxx_cv_func__logf_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551       ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560   fi
48561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48562 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48563
48564     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48565       for ac_func in _logf
48566 do :
48567   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48568 if test "x$ac_cv_func__logf" = x""yes; then :
48569   cat >>confdefs.h <<_ACEOF
48570 #define HAVE__LOGF 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576     fi
48577   fi
48578
48579
48580
48581
48582
48583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48584 $as_echo_n "checking for log10f declaration... " >&6; }
48585   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48586     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48587   $as_echo_n "(cached) " >&6
48588 else
48589
48590
48591       ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596
48597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h.  */
48599 #include <math.h>
48600                       #ifdef HAVE_IEEEFP_H
48601                       #include <ieeefp.h>
48602                       #endif
48603
48604 int
48605 main ()
48606 {
48607  log10f(0);
48608   ;
48609   return 0;
48610 }
48611 _ACEOF
48612 if ac_fn_cxx_try_compile "$LINENO"; then :
48613   glibcxx_cv_func_log10f_use=yes
48614 else
48615   glibcxx_cv_func_log10f_use=no
48616 fi
48617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48618       ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48623
48624
48625 fi
48626
48627   fi
48628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48629 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48630
48631   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48632     for ac_func in log10f
48633 do :
48634   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48635 if test "x$ac_cv_func_log10f" = x""yes; then :
48636   cat >>confdefs.h <<_ACEOF
48637 #define HAVE_LOG10F 1
48638 _ACEOF
48639
48640 fi
48641 done
48642
48643   else
48644
48645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48646 $as_echo_n "checking for _log10f declaration... " >&6; }
48647   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48648     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48649   $as_echo_n "(cached) " >&6
48650 else
48651
48652
48653       ac_ext=cpp
48654 ac_cpp='$CXXCPP $CPPFLAGS'
48655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658
48659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48660 /* end confdefs.h.  */
48661 #include <math.h>
48662                       #ifdef HAVE_IEEEFP_H
48663                       #include <ieeefp.h>
48664                       #endif
48665
48666 int
48667 main ()
48668 {
48669  _log10f(0);
48670   ;
48671   return 0;
48672 }
48673 _ACEOF
48674 if ac_fn_cxx_try_compile "$LINENO"; then :
48675   glibcxx_cv_func__log10f_use=yes
48676 else
48677   glibcxx_cv_func__log10f_use=no
48678 fi
48679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48680       ac_ext=c
48681 ac_cpp='$CPP $CPPFLAGS'
48682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48685
48686
48687 fi
48688
48689   fi
48690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48691 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48692
48693     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48694       for ac_func in _log10f
48695 do :
48696   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48697 if test "x$ac_cv_func__log10f" = x""yes; then :
48698   cat >>confdefs.h <<_ACEOF
48699 #define HAVE__LOG10F 1
48700 _ACEOF
48701
48702 fi
48703 done
48704
48705     fi
48706   fi
48707
48708
48709
48710
48711
48712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48713 $as_echo_n "checking for modff declaration... " >&6; }
48714   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48715     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48716   $as_echo_n "(cached) " >&6
48717 else
48718
48719
48720       ac_ext=cpp
48721 ac_cpp='$CXXCPP $CPPFLAGS'
48722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48725
48726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48727 /* end confdefs.h.  */
48728 #include <math.h>
48729 int
48730 main ()
48731 {
48732  modff(0, 0);
48733   ;
48734   return 0;
48735 }
48736 _ACEOF
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738   glibcxx_cv_func_modff_use=yes
48739 else
48740   glibcxx_cv_func_modff_use=no
48741 fi
48742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48743       ac_ext=c
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748
48749
48750 fi
48751
48752   fi
48753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48754 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48755
48756   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48757     for ac_func in modff
48758 do :
48759   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48760 if test "x$ac_cv_func_modff" = x""yes; then :
48761   cat >>confdefs.h <<_ACEOF
48762 #define HAVE_MODFF 1
48763 _ACEOF
48764
48765 fi
48766 done
48767
48768   else
48769
48770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48771 $as_echo_n "checking for _modff declaration... " >&6; }
48772   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48773     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48774   $as_echo_n "(cached) " >&6
48775 else
48776
48777
48778       ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48783
48784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h.  */
48786 #include <math.h>
48787 int
48788 main ()
48789 {
48790  _modff(0, 0);
48791   ;
48792   return 0;
48793 }
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796   glibcxx_cv_func__modff_use=yes
48797 else
48798   glibcxx_cv_func__modff_use=no
48799 fi
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801       ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806
48807
48808 fi
48809
48810   fi
48811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48812 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48813
48814     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48815       for ac_func in _modff
48816 do :
48817   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48818 if test "x$ac_cv_func__modff" = x""yes; then :
48819   cat >>confdefs.h <<_ACEOF
48820 #define HAVE__MODFF 1
48821 _ACEOF
48822
48823 fi
48824 done
48825
48826     fi
48827   fi
48828
48829
48830
48831
48832
48833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48834 $as_echo_n "checking for modf declaration... " >&6; }
48835   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48836     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48837   $as_echo_n "(cached) " >&6
48838 else
48839
48840
48841       ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846
48847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h.  */
48849 #include <math.h>
48850 int
48851 main ()
48852 {
48853  modf(0, 0);
48854   ;
48855   return 0;
48856 }
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859   glibcxx_cv_func_modf_use=yes
48860 else
48861   glibcxx_cv_func_modf_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_modf_use" >&5
48875 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48876
48877   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48878     for ac_func in modf
48879 do :
48880   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48881 if test "x$ac_cv_func_modf" = x""yes; then :
48882   cat >>confdefs.h <<_ACEOF
48883 #define HAVE_MODF 1
48884 _ACEOF
48885
48886 fi
48887 done
48888
48889   else
48890
48891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48892 $as_echo_n "checking for _modf declaration... " >&6; }
48893   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48894     if test "${glibcxx_cv_func__modf_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 int
48909 main ()
48910 {
48911  _modf(0, 0);
48912   ;
48913   return 0;
48914 }
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917   glibcxx_cv_func__modf_use=yes
48918 else
48919   glibcxx_cv_func__modf_use=no
48920 fi
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922       ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48927
48928
48929 fi
48930
48931   fi
48932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48933 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48934
48935     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48936       for ac_func in _modf
48937 do :
48938   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48939 if test "x$ac_cv_func__modf" = x""yes; then :
48940   cat >>confdefs.h <<_ACEOF
48941 #define HAVE__MODF 1
48942 _ACEOF
48943
48944 fi
48945 done
48946
48947     fi
48948   fi
48949
48950
48951
48952
48953
48954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48955 $as_echo_n "checking for powf declaration... " >&6; }
48956   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48957     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48958   $as_echo_n "(cached) " >&6
48959 else
48960
48961
48962       ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967
48968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h.  */
48970 #include <math.h>
48971 int
48972 main ()
48973 {
48974  powf(0, 0);
48975   ;
48976   return 0;
48977 }
48978 _ACEOF
48979 if ac_fn_cxx_try_compile "$LINENO"; then :
48980   glibcxx_cv_func_powf_use=yes
48981 else
48982   glibcxx_cv_func_powf_use=no
48983 fi
48984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48985       ac_ext=c
48986 ac_cpp='$CPP $CPPFLAGS'
48987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48990
48991
48992 fi
48993
48994   fi
48995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48996 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48997
48998   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48999     for ac_func in powf
49000 do :
49001   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49002 if test "x$ac_cv_func_powf" = x""yes; then :
49003   cat >>confdefs.h <<_ACEOF
49004 #define HAVE_POWF 1
49005 _ACEOF
49006
49007 fi
49008 done
49009
49010   else
49011
49012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49013 $as_echo_n "checking for _powf declaration... " >&6; }
49014   if test x${glibcxx_cv_func__powf_use+set} != xset; then
49015     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49016   $as_echo_n "(cached) " >&6
49017 else
49018
49019
49020       ac_ext=cpp
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025
49026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h.  */
49028 #include <math.h>
49029 int
49030 main ()
49031 {
49032  _powf(0, 0);
49033   ;
49034   return 0;
49035 }
49036 _ACEOF
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038   glibcxx_cv_func__powf_use=yes
49039 else
49040   glibcxx_cv_func__powf_use=no
49041 fi
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043       ac_ext=c
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49048
49049
49050 fi
49051
49052   fi
49053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49054 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49055
49056     if test x$glibcxx_cv_func__powf_use = x"yes"; then
49057       for ac_func in _powf
49058 do :
49059   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49060 if test "x$ac_cv_func__powf" = x""yes; then :
49061   cat >>confdefs.h <<_ACEOF
49062 #define HAVE__POWF 1
49063 _ACEOF
49064
49065 fi
49066 done
49067
49068     fi
49069   fi
49070
49071
49072
49073
49074
49075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49076 $as_echo_n "checking for sqrtf declaration... " >&6; }
49077   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49078     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49079   $as_echo_n "(cached) " >&6
49080 else
49081
49082
49083       ac_ext=cpp
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49088
49089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49090 /* end confdefs.h.  */
49091 #include <math.h>
49092                       #ifdef HAVE_IEEEFP_H
49093                       #include <ieeefp.h>
49094                       #endif
49095
49096 int
49097 main ()
49098 {
49099  sqrtf(0);
49100   ;
49101   return 0;
49102 }
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105   glibcxx_cv_func_sqrtf_use=yes
49106 else
49107   glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
49121 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49122
49123   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49124     for ac_func in sqrtf
49125 do :
49126   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49127 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49128   cat >>confdefs.h <<_ACEOF
49129 #define HAVE_SQRTF 1
49130 _ACEOF
49131
49132 fi
49133 done
49134
49135   else
49136
49137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49138 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49139   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49140     if test "${glibcxx_cv_func__sqrtf_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                       #ifdef HAVE_IEEEFP_H
49155                       #include <ieeefp.h>
49156                       #endif
49157
49158 int
49159 main ()
49160 {
49161  _sqrtf(0);
49162   ;
49163   return 0;
49164 }
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167   glibcxx_cv_func__sqrtf_use=yes
49168 else
49169   glibcxx_cv_func__sqrtf_use=no
49170 fi
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172       ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49177
49178
49179 fi
49180
49181   fi
49182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49183 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49184
49185     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49186       for ac_func in _sqrtf
49187 do :
49188   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49189 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49190   cat >>confdefs.h <<_ACEOF
49191 #define HAVE__SQRTF 1
49192 _ACEOF
49193
49194 fi
49195 done
49196
49197     fi
49198   fi
49199
49200
49201
49202
49203
49204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49205 $as_echo_n "checking for sincosf declaration... " >&6; }
49206   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49207     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49208   $as_echo_n "(cached) " >&6
49209 else
49210
49211
49212       ac_ext=cpp
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49217
49218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h.  */
49220 #include <math.h>
49221 int
49222 main ()
49223 {
49224  sincosf(0, 0, 0);
49225   ;
49226   return 0;
49227 }
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230   glibcxx_cv_func_sincosf_use=yes
49231 else
49232   glibcxx_cv_func_sincosf_use=no
49233 fi
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235       ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240
49241
49242 fi
49243
49244   fi
49245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49246 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49247
49248   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49249     for ac_func in sincosf
49250 do :
49251   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49252 if test "x$ac_cv_func_sincosf" = x""yes; then :
49253   cat >>confdefs.h <<_ACEOF
49254 #define HAVE_SINCOSF 1
49255 _ACEOF
49256
49257 fi
49258 done
49259
49260   else
49261
49262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49263 $as_echo_n "checking for _sincosf declaration... " >&6; }
49264   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49265     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49266   $as_echo_n "(cached) " >&6
49267 else
49268
49269
49270       ac_ext=cpp
49271 ac_cpp='$CXXCPP $CPPFLAGS'
49272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49275
49276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49277 /* end confdefs.h.  */
49278 #include <math.h>
49279 int
49280 main ()
49281 {
49282  _sincosf(0, 0, 0);
49283   ;
49284   return 0;
49285 }
49286 _ACEOF
49287 if ac_fn_cxx_try_compile "$LINENO"; then :
49288   glibcxx_cv_func__sincosf_use=yes
49289 else
49290   glibcxx_cv_func__sincosf_use=no
49291 fi
49292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49293       ac_ext=c
49294 ac_cpp='$CPP $CPPFLAGS'
49295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298
49299
49300 fi
49301
49302   fi
49303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49304 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49305
49306     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49307       for ac_func in _sincosf
49308 do :
49309   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49310 if test "x$ac_cv_func__sincosf" = x""yes; then :
49311   cat >>confdefs.h <<_ACEOF
49312 #define HAVE__SINCOSF 1
49313 _ACEOF
49314
49315 fi
49316 done
49317
49318     fi
49319   fi
49320
49321
49322
49323
49324
49325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49326 $as_echo_n "checking for finitef declaration... " >&6; }
49327   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49328     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49329   $as_echo_n "(cached) " >&6
49330 else
49331
49332
49333       ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338
49339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h.  */
49341 #include <math.h>
49342                       #ifdef HAVE_IEEEFP_H
49343                       #include <ieeefp.h>
49344                       #endif
49345
49346 int
49347 main ()
49348 {
49349  finitef(0);
49350   ;
49351   return 0;
49352 }
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355   glibcxx_cv_func_finitef_use=yes
49356 else
49357   glibcxx_cv_func_finitef_use=no
49358 fi
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360       ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49365
49366
49367 fi
49368
49369   fi
49370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49371 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49372
49373   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49374     for ac_func in finitef
49375 do :
49376   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49377 if test "x$ac_cv_func_finitef" = x""yes; then :
49378   cat >>confdefs.h <<_ACEOF
49379 #define HAVE_FINITEF 1
49380 _ACEOF
49381
49382 fi
49383 done
49384
49385   else
49386
49387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49388 $as_echo_n "checking for _finitef declaration... " >&6; }
49389   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49390     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49391   $as_echo_n "(cached) " >&6
49392 else
49393
49394
49395       ac_ext=cpp
49396 ac_cpp='$CXXCPP $CPPFLAGS'
49397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49400
49401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49402 /* end confdefs.h.  */
49403 #include <math.h>
49404                       #ifdef HAVE_IEEEFP_H
49405                       #include <ieeefp.h>
49406                       #endif
49407
49408 int
49409 main ()
49410 {
49411  _finitef(0);
49412   ;
49413   return 0;
49414 }
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417   glibcxx_cv_func__finitef_use=yes
49418 else
49419   glibcxx_cv_func__finitef_use=no
49420 fi
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422       ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49427
49428
49429 fi
49430
49431   fi
49432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49433 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49434
49435     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49436       for ac_func in _finitef
49437 do :
49438   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49439 if test "x$ac_cv_func__finitef" = x""yes; then :
49440   cat >>confdefs.h <<_ACEOF
49441 #define HAVE__FINITEF 1
49442 _ACEOF
49443
49444 fi
49445 done
49446
49447     fi
49448   fi
49449
49450
49451
49452
49453
49454     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49455 $as_echo_n "checking for long double trig functions... " >&6; }
49456   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49457   $as_echo_n "(cached) " >&6
49458 else
49459
49460
49461     ac_ext=cpp
49462 ac_cpp='$CXXCPP $CPPFLAGS'
49463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49466
49467     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49468 /* end confdefs.h.  */
49469 #include <math.h>
49470 int
49471 main ()
49472 {
49473 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49474   ;
49475   return 0;
49476 }
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479   glibcxx_cv_func_long_double_trig_use=yes
49480 else
49481   glibcxx_cv_func_long_double_trig_use=no
49482 fi
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484     ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49489
49490 fi
49491
49492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49493 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49494   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49495     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49496 do :
49497   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49499 eval as_val=\$$as_ac_var
49500    if test "x$as_val" = x""yes; then :
49501   cat >>confdefs.h <<_ACEOF
49502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49503 _ACEOF
49504
49505 fi
49506 done
49507
49508   else
49509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49510 $as_echo_n "checking for _long double trig functions... " >&6; }
49511     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49512   $as_echo_n "(cached) " >&6
49513 else
49514
49515
49516       ac_ext=cpp
49517 ac_cpp='$CXXCPP $CPPFLAGS'
49518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49521
49522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49523 /* end confdefs.h.  */
49524 #include <math.h>
49525 int
49526 main ()
49527 {
49528 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49529   ;
49530   return 0;
49531 }
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534   glibcxx_cv_func__long_double_trig_use=yes
49535 else
49536   glibcxx_cv_func__long_double_trig_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 fi
49546
49547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49548 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49549     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49550       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49551 do :
49552   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49554 eval as_val=\$$as_ac_var
49555    if test "x$as_val" = x""yes; then :
49556   cat >>confdefs.h <<_ACEOF
49557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49558 _ACEOF
49559
49560 fi
49561 done
49562
49563     fi
49564   fi
49565
49566
49567
49568
49569
49570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49571 $as_echo_n "checking for long double round functions... " >&6; }
49572   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49573   $as_echo_n "(cached) " >&6
49574 else
49575
49576
49577     ac_ext=cpp
49578 ac_cpp='$CXXCPP $CPPFLAGS'
49579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49582
49583     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49584 /* end confdefs.h.  */
49585 #include <math.h>
49586 int
49587 main ()
49588 {
49589 ceill (0); floorl (0);
49590   ;
49591   return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595   glibcxx_cv_func_long_double_round_use=yes
49596 else
49597   glibcxx_cv_func_long_double_round_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600     ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606 fi
49607
49608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49609 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49610   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49611     for ac_func in ceill floorl
49612 do :
49613   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49615 eval as_val=\$$as_ac_var
49616    if test "x$as_val" = x""yes; then :
49617   cat >>confdefs.h <<_ACEOF
49618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49619 _ACEOF
49620
49621 fi
49622 done
49623
49624   else
49625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49626 $as_echo_n "checking for _long double round functions... " >&6; }
49627     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49628   $as_echo_n "(cached) " >&6
49629 else
49630
49631
49632       ac_ext=cpp
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49637
49638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h.  */
49640 #include <math.h>
49641 int
49642 main ()
49643 {
49644 _ceill (0); _floorl (0);
49645   ;
49646   return 0;
49647 }
49648 _ACEOF
49649 if ac_fn_cxx_try_compile "$LINENO"; then :
49650   glibcxx_cv_func__long_double_round_use=yes
49651 else
49652   glibcxx_cv_func__long_double_round_use=no
49653 fi
49654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49655       ac_ext=c
49656 ac_cpp='$CPP $CPPFLAGS'
49657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49660
49661 fi
49662
49663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49665     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49666       for ac_func in _ceill _floorl
49667 do :
49668   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49670 eval as_val=\$$as_ac_var
49671    if test "x$as_val" = x""yes; then :
49672   cat >>confdefs.h <<_ACEOF
49673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49674 _ACEOF
49675
49676 fi
49677 done
49678
49679     fi
49680   fi
49681
49682
49683
49684
49685
49686
49687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49688 $as_echo_n "checking for isnanl declaration... " >&6; }
49689   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49690     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49691   $as_echo_n "(cached) " >&6
49692 else
49693
49694
49695       ac_ext=cpp
49696 ac_cpp='$CXXCPP $CPPFLAGS'
49697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700
49701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49702 /* end confdefs.h.  */
49703 #include <math.h>
49704                       #ifdef HAVE_IEEEFP_H
49705                       #include <ieeefp.h>
49706                       #endif
49707
49708 int
49709 main ()
49710 {
49711  isnanl(0);
49712   ;
49713   return 0;
49714 }
49715 _ACEOF
49716 if ac_fn_cxx_try_compile "$LINENO"; then :
49717   glibcxx_cv_func_isnanl_use=yes
49718 else
49719   glibcxx_cv_func_isnanl_use=no
49720 fi
49721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49722       ac_ext=c
49723 ac_cpp='$CPP $CPPFLAGS'
49724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49727
49728
49729 fi
49730
49731   fi
49732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49733 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49734
49735   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49736     for ac_func in isnanl
49737 do :
49738   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49739 if test "x$ac_cv_func_isnanl" = x""yes; then :
49740   cat >>confdefs.h <<_ACEOF
49741 #define HAVE_ISNANL 1
49742 _ACEOF
49743
49744 fi
49745 done
49746
49747   else
49748
49749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49750 $as_echo_n "checking for _isnanl declaration... " >&6; }
49751   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49752     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49753   $as_echo_n "(cached) " >&6
49754 else
49755
49756
49757       ac_ext=cpp
49758 ac_cpp='$CXXCPP $CPPFLAGS'
49759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49762
49763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49764 /* end confdefs.h.  */
49765 #include <math.h>
49766                       #ifdef HAVE_IEEEFP_H
49767                       #include <ieeefp.h>
49768                       #endif
49769
49770 int
49771 main ()
49772 {
49773  _isnanl(0);
49774   ;
49775   return 0;
49776 }
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779   glibcxx_cv_func__isnanl_use=yes
49780 else
49781   glibcxx_cv_func__isnanl_use=no
49782 fi
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784       ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49789
49790
49791 fi
49792
49793   fi
49794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49795 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49796
49797     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49798       for ac_func in _isnanl
49799 do :
49800   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49801 if test "x$ac_cv_func__isnanl" = x""yes; then :
49802   cat >>confdefs.h <<_ACEOF
49803 #define HAVE__ISNANL 1
49804 _ACEOF
49805
49806 fi
49807 done
49808
49809     fi
49810   fi
49811
49812
49813
49814
49815
49816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49817 $as_echo_n "checking for isinfl declaration... " >&6; }
49818   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49819     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49820   $as_echo_n "(cached) " >&6
49821 else
49822
49823
49824       ac_ext=cpp
49825 ac_cpp='$CXXCPP $CPPFLAGS'
49826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829
49830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49831 /* end confdefs.h.  */
49832 #include <math.h>
49833                       #ifdef HAVE_IEEEFP_H
49834                       #include <ieeefp.h>
49835                       #endif
49836
49837 int
49838 main ()
49839 {
49840  isinfl(0);
49841   ;
49842   return 0;
49843 }
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846   glibcxx_cv_func_isinfl_use=yes
49847 else
49848   glibcxx_cv_func_isinfl_use=no
49849 fi
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851       ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49856
49857
49858 fi
49859
49860   fi
49861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49862 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49863
49864   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49865     for ac_func in isinfl
49866 do :
49867   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49868 if test "x$ac_cv_func_isinfl" = x""yes; then :
49869   cat >>confdefs.h <<_ACEOF
49870 #define HAVE_ISINFL 1
49871 _ACEOF
49872
49873 fi
49874 done
49875
49876   else
49877
49878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49879 $as_echo_n "checking for _isinfl declaration... " >&6; }
49880   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49881     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49882   $as_echo_n "(cached) " >&6
49883 else
49884
49885
49886       ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891
49892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h.  */
49894 #include <math.h>
49895                       #ifdef HAVE_IEEEFP_H
49896                       #include <ieeefp.h>
49897                       #endif
49898
49899 int
49900 main ()
49901 {
49902  _isinfl(0);
49903   ;
49904   return 0;
49905 }
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908   glibcxx_cv_func__isinfl_use=yes
49909 else
49910   glibcxx_cv_func__isinfl_use=no
49911 fi
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913       ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922   fi
49923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49924 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49925
49926     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49927       for ac_func in _isinfl
49928 do :
49929   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49930 if test "x$ac_cv_func__isinfl" = x""yes; then :
49931   cat >>confdefs.h <<_ACEOF
49932 #define HAVE__ISINFL 1
49933 _ACEOF
49934
49935 fi
49936 done
49937
49938     fi
49939   fi
49940
49941
49942
49943
49944
49945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49946 $as_echo_n "checking for atan2l declaration... " >&6; }
49947   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49948     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49949   $as_echo_n "(cached) " >&6
49950 else
49951
49952
49953       ac_ext=cpp
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958
49959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49960 /* end confdefs.h.  */
49961 #include <math.h>
49962 int
49963 main ()
49964 {
49965  atan2l(0, 0);
49966   ;
49967   return 0;
49968 }
49969 _ACEOF
49970 if ac_fn_cxx_try_compile "$LINENO"; then :
49971   glibcxx_cv_func_atan2l_use=yes
49972 else
49973   glibcxx_cv_func_atan2l_use=no
49974 fi
49975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49976       ac_ext=c
49977 ac_cpp='$CPP $CPPFLAGS'
49978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49981
49982
49983 fi
49984
49985   fi
49986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49987 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49988
49989   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49990     for ac_func in atan2l
49991 do :
49992   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49993 if test "x$ac_cv_func_atan2l" = x""yes; then :
49994   cat >>confdefs.h <<_ACEOF
49995 #define HAVE_ATAN2L 1
49996 _ACEOF
49997
49998 fi
49999 done
50000
50001   else
50002
50003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50004 $as_echo_n "checking for _atan2l declaration... " >&6; }
50005   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50006     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50007   $as_echo_n "(cached) " >&6
50008 else
50009
50010
50011       ac_ext=cpp
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50016
50017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h.  */
50019 #include <math.h>
50020 int
50021 main ()
50022 {
50023  _atan2l(0, 0);
50024   ;
50025   return 0;
50026 }
50027 _ACEOF
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029   glibcxx_cv_func__atan2l_use=yes
50030 else
50031   glibcxx_cv_func__atan2l_use=no
50032 fi
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034       ac_ext=c
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039
50040
50041 fi
50042
50043   fi
50044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50045 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50046
50047     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50048       for ac_func in _atan2l
50049 do :
50050   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50051 if test "x$ac_cv_func__atan2l" = x""yes; then :
50052   cat >>confdefs.h <<_ACEOF
50053 #define HAVE__ATAN2L 1
50054 _ACEOF
50055
50056 fi
50057 done
50058
50059     fi
50060   fi
50061
50062
50063
50064
50065
50066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50067 $as_echo_n "checking for expl declaration... " >&6; }
50068   if test x${glibcxx_cv_func_expl_use+set} != xset; then
50069     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50070   $as_echo_n "(cached) " >&6
50071 else
50072
50073
50074       ac_ext=cpp
50075 ac_cpp='$CXXCPP $CPPFLAGS'
50076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50079
50080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50081 /* end confdefs.h.  */
50082 #include <math.h>
50083                       #ifdef HAVE_IEEEFP_H
50084                       #include <ieeefp.h>
50085                       #endif
50086
50087 int
50088 main ()
50089 {
50090  expl(0);
50091   ;
50092   return 0;
50093 }
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096   glibcxx_cv_func_expl_use=yes
50097 else
50098   glibcxx_cv_func_expl_use=no
50099 fi
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101       ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50106
50107
50108 fi
50109
50110   fi
50111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50112 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50113
50114   if test x$glibcxx_cv_func_expl_use = x"yes"; then
50115     for ac_func in expl
50116 do :
50117   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50118 if test "x$ac_cv_func_expl" = x""yes; then :
50119   cat >>confdefs.h <<_ACEOF
50120 #define HAVE_EXPL 1
50121 _ACEOF
50122
50123 fi
50124 done
50125
50126   else
50127
50128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50129 $as_echo_n "checking for _expl declaration... " >&6; }
50130   if test x${glibcxx_cv_func__expl_use+set} != xset; then
50131     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50132   $as_echo_n "(cached) " >&6
50133 else
50134
50135
50136       ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50141
50142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h.  */
50144 #include <math.h>
50145                       #ifdef HAVE_IEEEFP_H
50146                       #include <ieeefp.h>
50147                       #endif
50148
50149 int
50150 main ()
50151 {
50152  _expl(0);
50153   ;
50154   return 0;
50155 }
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158   glibcxx_cv_func__expl_use=yes
50159 else
50160   glibcxx_cv_func__expl_use=no
50161 fi
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163       ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168
50169
50170 fi
50171
50172   fi
50173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50174 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50175
50176     if test x$glibcxx_cv_func__expl_use = x"yes"; then
50177       for ac_func in _expl
50178 do :
50179   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50180 if test "x$ac_cv_func__expl" = x""yes; then :
50181   cat >>confdefs.h <<_ACEOF
50182 #define HAVE__EXPL 1
50183 _ACEOF
50184
50185 fi
50186 done
50187
50188     fi
50189   fi
50190
50191
50192
50193
50194
50195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50196 $as_echo_n "checking for fabsl declaration... " >&6; }
50197   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50198     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50199   $as_echo_n "(cached) " >&6
50200 else
50201
50202
50203       ac_ext=cpp
50204 ac_cpp='$CXXCPP $CPPFLAGS'
50205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50208
50209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50210 /* end confdefs.h.  */
50211 #include <math.h>
50212                       #ifdef HAVE_IEEEFP_H
50213                       #include <ieeefp.h>
50214                       #endif
50215
50216 int
50217 main ()
50218 {
50219  fabsl(0);
50220   ;
50221   return 0;
50222 }
50223 _ACEOF
50224 if ac_fn_cxx_try_compile "$LINENO"; then :
50225   glibcxx_cv_func_fabsl_use=yes
50226 else
50227   glibcxx_cv_func_fabsl_use=no
50228 fi
50229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50230       ac_ext=c
50231 ac_cpp='$CPP $CPPFLAGS'
50232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50235
50236
50237 fi
50238
50239   fi
50240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50241 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50242
50243   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50244     for ac_func in fabsl
50245 do :
50246   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50247 if test "x$ac_cv_func_fabsl" = x""yes; then :
50248   cat >>confdefs.h <<_ACEOF
50249 #define HAVE_FABSL 1
50250 _ACEOF
50251
50252 fi
50253 done
50254
50255   else
50256
50257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50258 $as_echo_n "checking for _fabsl declaration... " >&6; }
50259   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50260     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50261   $as_echo_n "(cached) " >&6
50262 else
50263
50264
50265       ac_ext=cpp
50266 ac_cpp='$CXXCPP $CPPFLAGS'
50267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50270
50271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50272 /* end confdefs.h.  */
50273 #include <math.h>
50274                       #ifdef HAVE_IEEEFP_H
50275                       #include <ieeefp.h>
50276                       #endif
50277
50278 int
50279 main ()
50280 {
50281  _fabsl(0);
50282   ;
50283   return 0;
50284 }
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287   glibcxx_cv_func__fabsl_use=yes
50288 else
50289   glibcxx_cv_func__fabsl_use=no
50290 fi
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292       ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50297
50298
50299 fi
50300
50301   fi
50302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50303 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50304
50305     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50306       for ac_func in _fabsl
50307 do :
50308   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50309 if test "x$ac_cv_func__fabsl" = x""yes; then :
50310   cat >>confdefs.h <<_ACEOF
50311 #define HAVE__FABSL 1
50312 _ACEOF
50313
50314 fi
50315 done
50316
50317     fi
50318   fi
50319
50320
50321
50322
50323
50324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50325 $as_echo_n "checking for fmodl declaration... " >&6; }
50326   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50327     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50328   $as_echo_n "(cached) " >&6
50329 else
50330
50331
50332       ac_ext=cpp
50333 ac_cpp='$CXXCPP $CPPFLAGS'
50334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50337
50338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50339 /* end confdefs.h.  */
50340 #include <math.h>
50341 int
50342 main ()
50343 {
50344  fmodl(0, 0);
50345   ;
50346   return 0;
50347 }
50348 _ACEOF
50349 if ac_fn_cxx_try_compile "$LINENO"; then :
50350   glibcxx_cv_func_fmodl_use=yes
50351 else
50352   glibcxx_cv_func_fmodl_use=no
50353 fi
50354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50355       ac_ext=c
50356 ac_cpp='$CPP $CPPFLAGS'
50357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50360
50361
50362 fi
50363
50364   fi
50365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50366 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50367
50368   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50369     for ac_func in fmodl
50370 do :
50371   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50372 if test "x$ac_cv_func_fmodl" = x""yes; then :
50373   cat >>confdefs.h <<_ACEOF
50374 #define HAVE_FMODL 1
50375 _ACEOF
50376
50377 fi
50378 done
50379
50380   else
50381
50382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50383 $as_echo_n "checking for _fmodl declaration... " >&6; }
50384   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50385     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50386   $as_echo_n "(cached) " >&6
50387 else
50388
50389
50390       ac_ext=cpp
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50395
50396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50397 /* end confdefs.h.  */
50398 #include <math.h>
50399 int
50400 main ()
50401 {
50402  _fmodl(0, 0);
50403   ;
50404   return 0;
50405 }
50406 _ACEOF
50407 if ac_fn_cxx_try_compile "$LINENO"; then :
50408   glibcxx_cv_func__fmodl_use=yes
50409 else
50410   glibcxx_cv_func__fmodl_use=no
50411 fi
50412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50413       ac_ext=c
50414 ac_cpp='$CPP $CPPFLAGS'
50415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50418
50419
50420 fi
50421
50422   fi
50423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50424 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50425
50426     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50427       for ac_func in _fmodl
50428 do :
50429   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50430 if test "x$ac_cv_func__fmodl" = x""yes; then :
50431   cat >>confdefs.h <<_ACEOF
50432 #define HAVE__FMODL 1
50433 _ACEOF
50434
50435 fi
50436 done
50437
50438     fi
50439   fi
50440
50441
50442
50443
50444
50445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50446 $as_echo_n "checking for frexpl declaration... " >&6; }
50447   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50448     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50449   $as_echo_n "(cached) " >&6
50450 else
50451
50452
50453       ac_ext=cpp
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50458
50459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h.  */
50461 #include <math.h>
50462 int
50463 main ()
50464 {
50465  frexpl(0, 0);
50466   ;
50467   return 0;
50468 }
50469 _ACEOF
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471   glibcxx_cv_func_frexpl_use=yes
50472 else
50473   glibcxx_cv_func_frexpl_use=no
50474 fi
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50476       ac_ext=c
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481
50482
50483 fi
50484
50485   fi
50486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50487 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50488
50489   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50490     for ac_func in frexpl
50491 do :
50492   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50493 if test "x$ac_cv_func_frexpl" = x""yes; then :
50494   cat >>confdefs.h <<_ACEOF
50495 #define HAVE_FREXPL 1
50496 _ACEOF
50497
50498 fi
50499 done
50500
50501   else
50502
50503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50504 $as_echo_n "checking for _frexpl declaration... " >&6; }
50505   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50506     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50507   $as_echo_n "(cached) " >&6
50508 else
50509
50510
50511       ac_ext=cpp
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50516
50517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h.  */
50519 #include <math.h>
50520 int
50521 main ()
50522 {
50523  _frexpl(0, 0);
50524   ;
50525   return 0;
50526 }
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529   glibcxx_cv_func__frexpl_use=yes
50530 else
50531   glibcxx_cv_func__frexpl_use=no
50532 fi
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534       ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50539
50540
50541 fi
50542
50543   fi
50544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50545 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50546
50547     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50548       for ac_func in _frexpl
50549 do :
50550   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50551 if test "x$ac_cv_func__frexpl" = x""yes; then :
50552   cat >>confdefs.h <<_ACEOF
50553 #define HAVE__FREXPL 1
50554 _ACEOF
50555
50556 fi
50557 done
50558
50559     fi
50560   fi
50561
50562
50563
50564
50565
50566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50567 $as_echo_n "checking for hypotl declaration... " >&6; }
50568   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50569     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50570   $as_echo_n "(cached) " >&6
50571 else
50572
50573
50574       ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579
50580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h.  */
50582 #include <math.h>
50583 int
50584 main ()
50585 {
50586  hypotl(0, 0);
50587   ;
50588   return 0;
50589 }
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592   glibcxx_cv_func_hypotl_use=yes
50593 else
50594   glibcxx_cv_func_hypotl_use=no
50595 fi
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597       ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602
50603
50604 fi
50605
50606   fi
50607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50608 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50609
50610   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50611     for ac_func in hypotl
50612 do :
50613   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50614 if test "x$ac_cv_func_hypotl" = x""yes; then :
50615   cat >>confdefs.h <<_ACEOF
50616 #define HAVE_HYPOTL 1
50617 _ACEOF
50618
50619 fi
50620 done
50621
50622   else
50623
50624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50625 $as_echo_n "checking for _hypotl declaration... " >&6; }
50626   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50627     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50628   $as_echo_n "(cached) " >&6
50629 else
50630
50631
50632       ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637
50638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h.  */
50640 #include <math.h>
50641 int
50642 main ()
50643 {
50644  _hypotl(0, 0);
50645   ;
50646   return 0;
50647 }
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650   glibcxx_cv_func__hypotl_use=yes
50651 else
50652   glibcxx_cv_func__hypotl_use=no
50653 fi
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655       ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50660
50661
50662 fi
50663
50664   fi
50665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50666 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50667
50668     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50669       for ac_func in _hypotl
50670 do :
50671   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50672 if test "x$ac_cv_func__hypotl" = x""yes; then :
50673   cat >>confdefs.h <<_ACEOF
50674 #define HAVE__HYPOTL 1
50675 _ACEOF
50676
50677 fi
50678 done
50679
50680     fi
50681   fi
50682
50683
50684
50685
50686
50687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50688 $as_echo_n "checking for ldexpl declaration... " >&6; }
50689   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50690     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50691   $as_echo_n "(cached) " >&6
50692 else
50693
50694
50695       ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700
50701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h.  */
50703 #include <math.h>
50704 int
50705 main ()
50706 {
50707  ldexpl(0, 0);
50708   ;
50709   return 0;
50710 }
50711 _ACEOF
50712 if ac_fn_cxx_try_compile "$LINENO"; then :
50713   glibcxx_cv_func_ldexpl_use=yes
50714 else
50715   glibcxx_cv_func_ldexpl_use=no
50716 fi
50717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50718       ac_ext=c
50719 ac_cpp='$CPP $CPPFLAGS'
50720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50723
50724
50725 fi
50726
50727   fi
50728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50729 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50730
50731   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50732     for ac_func in ldexpl
50733 do :
50734   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50735 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50736   cat >>confdefs.h <<_ACEOF
50737 #define HAVE_LDEXPL 1
50738 _ACEOF
50739
50740 fi
50741 done
50742
50743   else
50744
50745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50746 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50747   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50748     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50749   $as_echo_n "(cached) " >&6
50750 else
50751
50752
50753       ac_ext=cpp
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758
50759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h.  */
50761 #include <math.h>
50762 int
50763 main ()
50764 {
50765  _ldexpl(0, 0);
50766   ;
50767   return 0;
50768 }
50769 _ACEOF
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771   glibcxx_cv_func__ldexpl_use=yes
50772 else
50773   glibcxx_cv_func__ldexpl_use=no
50774 fi
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50776       ac_ext=c
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781
50782
50783 fi
50784
50785   fi
50786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50787 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50788
50789     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50790       for ac_func in _ldexpl
50791 do :
50792   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50793 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50794   cat >>confdefs.h <<_ACEOF
50795 #define HAVE__LDEXPL 1
50796 _ACEOF
50797
50798 fi
50799 done
50800
50801     fi
50802   fi
50803
50804
50805
50806
50807
50808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50809 $as_echo_n "checking for logl declaration... " >&6; }
50810   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50811     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50812   $as_echo_n "(cached) " >&6
50813 else
50814
50815
50816       ac_ext=cpp
50817 ac_cpp='$CXXCPP $CPPFLAGS'
50818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50821
50822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50823 /* end confdefs.h.  */
50824 #include <math.h>
50825                       #ifdef HAVE_IEEEFP_H
50826                       #include <ieeefp.h>
50827                       #endif
50828
50829 int
50830 main ()
50831 {
50832  logl(0);
50833   ;
50834   return 0;
50835 }
50836 _ACEOF
50837 if ac_fn_cxx_try_compile "$LINENO"; then :
50838   glibcxx_cv_func_logl_use=yes
50839 else
50840   glibcxx_cv_func_logl_use=no
50841 fi
50842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50843       ac_ext=c
50844 ac_cpp='$CPP $CPPFLAGS'
50845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50848
50849
50850 fi
50851
50852   fi
50853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50854 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50855
50856   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50857     for ac_func in logl
50858 do :
50859   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50860 if test "x$ac_cv_func_logl" = x""yes; then :
50861   cat >>confdefs.h <<_ACEOF
50862 #define HAVE_LOGL 1
50863 _ACEOF
50864
50865 fi
50866 done
50867
50868   else
50869
50870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50871 $as_echo_n "checking for _logl declaration... " >&6; }
50872   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50873     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50874   $as_echo_n "(cached) " >&6
50875 else
50876
50877
50878       ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50883
50884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h.  */
50886 #include <math.h>
50887                       #ifdef HAVE_IEEEFP_H
50888                       #include <ieeefp.h>
50889                       #endif
50890
50891 int
50892 main ()
50893 {
50894  _logl(0);
50895   ;
50896   return 0;
50897 }
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900   glibcxx_cv_func__logl_use=yes
50901 else
50902   glibcxx_cv_func__logl_use=no
50903 fi
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905       ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910
50911
50912 fi
50913
50914   fi
50915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50916 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50917
50918     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50919       for ac_func in _logl
50920 do :
50921   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50922 if test "x$ac_cv_func__logl" = x""yes; then :
50923   cat >>confdefs.h <<_ACEOF
50924 #define HAVE__LOGL 1
50925 _ACEOF
50926
50927 fi
50928 done
50929
50930     fi
50931   fi
50932
50933
50934
50935
50936
50937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50938 $as_echo_n "checking for log10l declaration... " >&6; }
50939   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50940     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50941   $as_echo_n "(cached) " >&6
50942 else
50943
50944
50945       ac_ext=cpp
50946 ac_cpp='$CXXCPP $CPPFLAGS'
50947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50950
50951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h.  */
50953 #include <math.h>
50954                       #ifdef HAVE_IEEEFP_H
50955                       #include <ieeefp.h>
50956                       #endif
50957
50958 int
50959 main ()
50960 {
50961  log10l(0);
50962   ;
50963   return 0;
50964 }
50965 _ACEOF
50966 if ac_fn_cxx_try_compile "$LINENO"; then :
50967   glibcxx_cv_func_log10l_use=yes
50968 else
50969   glibcxx_cv_func_log10l_use=no
50970 fi
50971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50972       ac_ext=c
50973 ac_cpp='$CPP $CPPFLAGS'
50974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50977
50978
50979 fi
50980
50981   fi
50982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50983 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50984
50985   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50986     for ac_func in log10l
50987 do :
50988   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50989 if test "x$ac_cv_func_log10l" = x""yes; then :
50990   cat >>confdefs.h <<_ACEOF
50991 #define HAVE_LOG10L 1
50992 _ACEOF
50993
50994 fi
50995 done
50996
50997   else
50998
50999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51000 $as_echo_n "checking for _log10l declaration... " >&6; }
51001   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51002     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51003   $as_echo_n "(cached) " >&6
51004 else
51005
51006
51007       ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51012
51013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h.  */
51015 #include <math.h>
51016                       #ifdef HAVE_IEEEFP_H
51017                       #include <ieeefp.h>
51018                       #endif
51019
51020 int
51021 main ()
51022 {
51023  _log10l(0);
51024   ;
51025   return 0;
51026 }
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029   glibcxx_cv_func__log10l_use=yes
51030 else
51031   glibcxx_cv_func__log10l_use=no
51032 fi
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034       ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039
51040
51041 fi
51042
51043   fi
51044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51045 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51046
51047     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51048       for ac_func in _log10l
51049 do :
51050   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51051 if test "x$ac_cv_func__log10l" = x""yes; then :
51052   cat >>confdefs.h <<_ACEOF
51053 #define HAVE__LOG10L 1
51054 _ACEOF
51055
51056 fi
51057 done
51058
51059     fi
51060   fi
51061
51062
51063
51064
51065
51066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51067 $as_echo_n "checking for modfl declaration... " >&6; }
51068   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51069     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51070   $as_echo_n "(cached) " >&6
51071 else
51072
51073
51074       ac_ext=cpp
51075 ac_cpp='$CXXCPP $CPPFLAGS'
51076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51079
51080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51081 /* end confdefs.h.  */
51082 #include <math.h>
51083 int
51084 main ()
51085 {
51086  modfl(0, 0);
51087   ;
51088   return 0;
51089 }
51090 _ACEOF
51091 if ac_fn_cxx_try_compile "$LINENO"; then :
51092   glibcxx_cv_func_modfl_use=yes
51093 else
51094   glibcxx_cv_func_modfl_use=no
51095 fi
51096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51097       ac_ext=c
51098 ac_cpp='$CPP $CPPFLAGS'
51099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102
51103
51104 fi
51105
51106   fi
51107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51108 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51109
51110   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51111     for ac_func in modfl
51112 do :
51113   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51114 if test "x$ac_cv_func_modfl" = x""yes; then :
51115   cat >>confdefs.h <<_ACEOF
51116 #define HAVE_MODFL 1
51117 _ACEOF
51118
51119 fi
51120 done
51121
51122   else
51123
51124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51125 $as_echo_n "checking for _modfl declaration... " >&6; }
51126   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51127     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51128   $as_echo_n "(cached) " >&6
51129 else
51130
51131
51132       ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51137
51138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h.  */
51140 #include <math.h>
51141 int
51142 main ()
51143 {
51144  _modfl(0, 0);
51145   ;
51146   return 0;
51147 }
51148 _ACEOF
51149 if ac_fn_cxx_try_compile "$LINENO"; then :
51150   glibcxx_cv_func__modfl_use=yes
51151 else
51152   glibcxx_cv_func__modfl_use=no
51153 fi
51154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51155       ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51160
51161
51162 fi
51163
51164   fi
51165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51166 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51167
51168     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51169       for ac_func in _modfl
51170 do :
51171   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51172 if test "x$ac_cv_func__modfl" = x""yes; then :
51173   cat >>confdefs.h <<_ACEOF
51174 #define HAVE__MODFL 1
51175 _ACEOF
51176
51177 fi
51178 done
51179
51180     fi
51181   fi
51182
51183
51184
51185
51186
51187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51188 $as_echo_n "checking for powl declaration... " >&6; }
51189   if test x${glibcxx_cv_func_powl_use+set} != xset; then
51190     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51191   $as_echo_n "(cached) " >&6
51192 else
51193
51194
51195       ac_ext=cpp
51196 ac_cpp='$CXXCPP $CPPFLAGS'
51197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51200
51201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51202 /* end confdefs.h.  */
51203 #include <math.h>
51204 int
51205 main ()
51206 {
51207  powl(0, 0);
51208   ;
51209   return 0;
51210 }
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213   glibcxx_cv_func_powl_use=yes
51214 else
51215   glibcxx_cv_func_powl_use=no
51216 fi
51217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51218       ac_ext=c
51219 ac_cpp='$CPP $CPPFLAGS'
51220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223
51224
51225 fi
51226
51227   fi
51228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51229 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51230
51231   if test x$glibcxx_cv_func_powl_use = x"yes"; then
51232     for ac_func in powl
51233 do :
51234   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51235 if test "x$ac_cv_func_powl" = x""yes; then :
51236   cat >>confdefs.h <<_ACEOF
51237 #define HAVE_POWL 1
51238 _ACEOF
51239
51240 fi
51241 done
51242
51243   else
51244
51245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51246 $as_echo_n "checking for _powl declaration... " >&6; }
51247   if test x${glibcxx_cv_func__powl_use+set} != xset; then
51248     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51249   $as_echo_n "(cached) " >&6
51250 else
51251
51252
51253       ac_ext=cpp
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51258
51259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h.  */
51261 #include <math.h>
51262 int
51263 main ()
51264 {
51265  _powl(0, 0);
51266   ;
51267   return 0;
51268 }
51269 _ACEOF
51270 if ac_fn_cxx_try_compile "$LINENO"; then :
51271   glibcxx_cv_func__powl_use=yes
51272 else
51273   glibcxx_cv_func__powl_use=no
51274 fi
51275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51276       ac_ext=c
51277 ac_cpp='$CPP $CPPFLAGS'
51278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51281
51282
51283 fi
51284
51285   fi
51286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51287 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51288
51289     if test x$glibcxx_cv_func__powl_use = x"yes"; then
51290       for ac_func in _powl
51291 do :
51292   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51293 if test "x$ac_cv_func__powl" = x""yes; then :
51294   cat >>confdefs.h <<_ACEOF
51295 #define HAVE__POWL 1
51296 _ACEOF
51297
51298 fi
51299 done
51300
51301     fi
51302   fi
51303
51304
51305
51306
51307
51308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51309 $as_echo_n "checking for sqrtl declaration... " >&6; }
51310   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51311     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51312   $as_echo_n "(cached) " >&6
51313 else
51314
51315
51316       ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321
51322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h.  */
51324 #include <math.h>
51325                       #ifdef HAVE_IEEEFP_H
51326                       #include <ieeefp.h>
51327                       #endif
51328
51329 int
51330 main ()
51331 {
51332  sqrtl(0);
51333   ;
51334   return 0;
51335 }
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338   glibcxx_cv_func_sqrtl_use=yes
51339 else
51340   glibcxx_cv_func_sqrtl_use=no
51341 fi
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343       ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348
51349
51350 fi
51351
51352   fi
51353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51354 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51355
51356   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51357     for ac_func in sqrtl
51358 do :
51359   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51360 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51361   cat >>confdefs.h <<_ACEOF
51362 #define HAVE_SQRTL 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368   else
51369
51370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51371 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51372   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51373     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51374   $as_echo_n "(cached) " >&6
51375 else
51376
51377
51378       ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383
51384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h.  */
51386 #include <math.h>
51387                       #ifdef HAVE_IEEEFP_H
51388                       #include <ieeefp.h>
51389                       #endif
51390
51391 int
51392 main ()
51393 {
51394  _sqrtl(0);
51395   ;
51396   return 0;
51397 }
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400   glibcxx_cv_func__sqrtl_use=yes
51401 else
51402   glibcxx_cv_func__sqrtl_use=no
51403 fi
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405       ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51410
51411
51412 fi
51413
51414   fi
51415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51416 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51417
51418     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51419       for ac_func in _sqrtl
51420 do :
51421   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51422 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51423   cat >>confdefs.h <<_ACEOF
51424 #define HAVE__SQRTL 1
51425 _ACEOF
51426
51427 fi
51428 done
51429
51430     fi
51431   fi
51432
51433
51434
51435
51436
51437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51438 $as_echo_n "checking for sincosl declaration... " >&6; }
51439   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51440     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51441   $as_echo_n "(cached) " >&6
51442 else
51443
51444
51445       ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450
51451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h.  */
51453 #include <math.h>
51454 int
51455 main ()
51456 {
51457  sincosl(0, 0, 0);
51458   ;
51459   return 0;
51460 }
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463   glibcxx_cv_func_sincosl_use=yes
51464 else
51465   glibcxx_cv_func_sincosl_use=no
51466 fi
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468       ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51473
51474
51475 fi
51476
51477   fi
51478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51479 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51480
51481   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51482     for ac_func in sincosl
51483 do :
51484   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51485 if test "x$ac_cv_func_sincosl" = x""yes; then :
51486   cat >>confdefs.h <<_ACEOF
51487 #define HAVE_SINCOSL 1
51488 _ACEOF
51489
51490 fi
51491 done
51492
51493   else
51494
51495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51496 $as_echo_n "checking for _sincosl declaration... " >&6; }
51497   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51498     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51499   $as_echo_n "(cached) " >&6
51500 else
51501
51502
51503       ac_ext=cpp
51504 ac_cpp='$CXXCPP $CPPFLAGS'
51505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51508
51509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51510 /* end confdefs.h.  */
51511 #include <math.h>
51512 int
51513 main ()
51514 {
51515  _sincosl(0, 0, 0);
51516   ;
51517   return 0;
51518 }
51519 _ACEOF
51520 if ac_fn_cxx_try_compile "$LINENO"; then :
51521   glibcxx_cv_func__sincosl_use=yes
51522 else
51523   glibcxx_cv_func__sincosl_use=no
51524 fi
51525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51526       ac_ext=c
51527 ac_cpp='$CPP $CPPFLAGS'
51528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51531
51532
51533 fi
51534
51535   fi
51536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51537 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51538
51539     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51540       for ac_func in _sincosl
51541 do :
51542   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51543 if test "x$ac_cv_func__sincosl" = x""yes; then :
51544   cat >>confdefs.h <<_ACEOF
51545 #define HAVE__SINCOSL 1
51546 _ACEOF
51547
51548 fi
51549 done
51550
51551     fi
51552   fi
51553
51554
51555
51556
51557
51558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51559 $as_echo_n "checking for finitel declaration... " >&6; }
51560   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51561     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51562   $as_echo_n "(cached) " >&6
51563 else
51564
51565
51566       ac_ext=cpp
51567 ac_cpp='$CXXCPP $CPPFLAGS'
51568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51571
51572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51573 /* end confdefs.h.  */
51574 #include <math.h>
51575                       #ifdef HAVE_IEEEFP_H
51576                       #include <ieeefp.h>
51577                       #endif
51578
51579 int
51580 main ()
51581 {
51582  finitel(0);
51583   ;
51584   return 0;
51585 }
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588   glibcxx_cv_func_finitel_use=yes
51589 else
51590   glibcxx_cv_func_finitel_use=no
51591 fi
51592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51593       ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51598
51599
51600 fi
51601
51602   fi
51603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51604 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51605
51606   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51607     for ac_func in finitel
51608 do :
51609   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51610 if test "x$ac_cv_func_finitel" = x""yes; then :
51611   cat >>confdefs.h <<_ACEOF
51612 #define HAVE_FINITEL 1
51613 _ACEOF
51614
51615 fi
51616 done
51617
51618   else
51619
51620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51621 $as_echo_n "checking for _finitel declaration... " >&6; }
51622   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51623     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51624   $as_echo_n "(cached) " >&6
51625 else
51626
51627
51628       ac_ext=cpp
51629 ac_cpp='$CXXCPP $CPPFLAGS'
51630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51633
51634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51635 /* end confdefs.h.  */
51636 #include <math.h>
51637                       #ifdef HAVE_IEEEFP_H
51638                       #include <ieeefp.h>
51639                       #endif
51640
51641 int
51642 main ()
51643 {
51644  _finitel(0);
51645   ;
51646   return 0;
51647 }
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650   glibcxx_cv_func__finitel_use=yes
51651 else
51652   glibcxx_cv_func__finitel_use=no
51653 fi
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655       ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51660
51661
51662 fi
51663
51664   fi
51665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51666 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51667
51668     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51669       for ac_func in _finitel
51670 do :
51671   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51672 if test "x$ac_cv_func__finitel" = x""yes; then :
51673   cat >>confdefs.h <<_ACEOF
51674 #define HAVE__FINITEL 1
51675 _ACEOF
51676
51677 fi
51678 done
51679
51680     fi
51681   fi
51682
51683
51684
51685
51686   LIBS="$ac_save_LIBS"
51687   CXXFLAGS="$ac_save_CXXFLAGS"
51688
51689
51690   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51691   ac_save_CXXFLAGS="$CXXFLAGS"
51692   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51693
51694
51695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51696 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51697   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51698     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51699   $as_echo_n "(cached) " >&6
51700 else
51701
51702
51703       ac_ext=cpp
51704 ac_cpp='$CXXCPP $CPPFLAGS'
51705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51708
51709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51710 /* end confdefs.h.  */
51711 #include <stdlib.h>
51712 int
51713 main ()
51714 {
51715  at_quick_exit(0);
51716   ;
51717   return 0;
51718 }
51719 _ACEOF
51720 if ac_fn_cxx_try_compile "$LINENO"; then :
51721   glibcxx_cv_func_at_quick_exit_use=yes
51722 else
51723   glibcxx_cv_func_at_quick_exit_use=no
51724 fi
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726       ac_ext=c
51727 ac_cpp='$CPP $CPPFLAGS'
51728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51731
51732
51733 fi
51734
51735   fi
51736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51737 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51738   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51739     for ac_func in at_quick_exit
51740 do :
51741   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51742 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51743   cat >>confdefs.h <<_ACEOF
51744 #define HAVE_AT_QUICK_EXIT 1
51745 _ACEOF
51746
51747 fi
51748 done
51749
51750   fi
51751
51752
51753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51754 $as_echo_n "checking for quick_exit declaration... " >&6; }
51755   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51756     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51757   $as_echo_n "(cached) " >&6
51758 else
51759
51760
51761       ac_ext=cpp
51762 ac_cpp='$CXXCPP $CPPFLAGS'
51763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51766
51767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51768 /* end confdefs.h.  */
51769 #include <stdlib.h>
51770 int
51771 main ()
51772 {
51773  quick_exit(0);
51774   ;
51775   return 0;
51776 }
51777 _ACEOF
51778 if ac_fn_cxx_try_compile "$LINENO"; then :
51779   glibcxx_cv_func_quick_exit_use=yes
51780 else
51781   glibcxx_cv_func_quick_exit_use=no
51782 fi
51783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51784       ac_ext=c
51785 ac_cpp='$CPP $CPPFLAGS'
51786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51789
51790
51791 fi
51792
51793   fi
51794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51795 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51796   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51797     for ac_func in quick_exit
51798 do :
51799   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51800 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51801   cat >>confdefs.h <<_ACEOF
51802 #define HAVE_QUICK_EXIT 1
51803 _ACEOF
51804
51805 fi
51806 done
51807
51808   fi
51809
51810
51811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51812 $as_echo_n "checking for strtold declaration... " >&6; }
51813   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51814     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51815   $as_echo_n "(cached) " >&6
51816 else
51817
51818
51819       ac_ext=cpp
51820 ac_cpp='$CXXCPP $CPPFLAGS'
51821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51824
51825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51826 /* end confdefs.h.  */
51827 #include <stdlib.h>
51828 int
51829 main ()
51830 {
51831  strtold(0, 0);
51832   ;
51833   return 0;
51834 }
51835 _ACEOF
51836 if ac_fn_cxx_try_compile "$LINENO"; then :
51837   glibcxx_cv_func_strtold_use=yes
51838 else
51839   glibcxx_cv_func_strtold_use=no
51840 fi
51841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51842       ac_ext=c
51843 ac_cpp='$CPP $CPPFLAGS'
51844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51847
51848
51849 fi
51850
51851   fi
51852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51853 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51854   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51855     for ac_func in strtold
51856 do :
51857   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51858 if test "x$ac_cv_func_strtold" = x""yes; then :
51859   cat >>confdefs.h <<_ACEOF
51860 #define HAVE_STRTOLD 1
51861 _ACEOF
51862
51863 fi
51864 done
51865
51866   fi
51867
51868
51869
51870
51871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51872 $as_echo_n "checking for strtof declaration... " >&6; }
51873   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51874     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51875   $as_echo_n "(cached) " >&6
51876 else
51877
51878
51879       ac_ext=cpp
51880 ac_cpp='$CXXCPP $CPPFLAGS'
51881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51884
51885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51886 /* end confdefs.h.  */
51887 #include <stdlib.h>
51888 int
51889 main ()
51890 {
51891  strtof(0, 0);
51892   ;
51893   return 0;
51894 }
51895 _ACEOF
51896 if ac_fn_cxx_try_compile "$LINENO"; then :
51897   glibcxx_cv_func_strtof_use=yes
51898 else
51899   glibcxx_cv_func_strtof_use=no
51900 fi
51901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51902       ac_ext=c
51903 ac_cpp='$CPP $CPPFLAGS'
51904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51907
51908
51909 fi
51910
51911   fi
51912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51913 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51914   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51915     for ac_func in strtof
51916 do :
51917   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51918 if test "x$ac_cv_func_strtof" = x""yes; then :
51919   cat >>confdefs.h <<_ACEOF
51920 #define HAVE_STRTOF 1
51921 _ACEOF
51922
51923 fi
51924 done
51925
51926   fi
51927
51928
51929
51930
51931   CXXFLAGS="$ac_save_CXXFLAGS"
51932
51933     ;;
51934
51935   *djgpp)
51936     # GLIBCXX_CHECK_MATH_SUPPORT
51937     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51938
51939     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51940
51941     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51942
51943     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51944
51945     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51946
51947     ;;
51948
51949   *-freebsd*)
51950     SECTION_FLAGS='-ffunction-sections -fdata-sections'
51951
51952
51953   # If we're not using GNU ld, then there's no point in even trying these
51954   # tests.  Check for that first.  We should have already tested for gld
51955   # by now (in libtool), but require it now just to be safe...
51956   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51957   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51958
51959
51960
51961   # The name set by libtool depends on the version of libtool.  Shame on us
51962   # for depending on an impl detail, but c'est la vie.  Older versions used
51963   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51964   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51965   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51966   # set (hence we're using an older libtool), then set it.
51967   if test x${with_gnu_ld+set} != xset; then
51968     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51969       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51970       with_gnu_ld=no
51971     else
51972       with_gnu_ld=$ac_cv_prog_gnu_ld
51973     fi
51974   fi
51975
51976   # Start by getting the version number.  I think the libtool test already
51977   # does some of this, but throws away the result.
51978   glibcxx_ld_is_gold=no
51979   if test x"$with_gnu_ld" = x"yes"; then
51980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51981 $as_echo_n "checking for ld version... " >&6; }
51982
51983     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51984       glibcxx_ld_is_gold=yes
51985     fi
51986     ldver=`$LD --version 2>/dev/null |
51987            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'`
51988
51989     glibcxx_gnu_ld_version=`echo $ldver | \
51990            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51993   fi
51994
51995   # Set --gc-sections.
51996   glibcxx_have_gc_sections=no
51997   if test "$glibcxx_ld_is_gold" = "yes"; then
51998     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51999       glibcxx_have_gc_sections=yes
52000     fi
52001   else
52002     glibcxx_gcsections_min_ld=21602
52003     if test x"$with_gnu_ld" = x"yes" &&
52004         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52005       glibcxx_have_gc_sections=yes
52006     fi
52007   fi
52008   if test "$glibcxx_have_gc_sections" = "yes"; then
52009     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52010     # NB: This flag only works reliably after 2.16.1. Configure tests
52011     # for this are difficult, so hard wire a value that should work.
52012
52013     ac_test_CFLAGS="${CFLAGS+set}"
52014     ac_save_CFLAGS="$CFLAGS"
52015     CFLAGS='-Wl,--gc-sections'
52016
52017     # Check for -Wl,--gc-sections
52018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52020     if test x$gcc_no_link = xyes; then
52021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52022 fi
52023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52024 /* end confdefs.h.  */
52025  int one(void) { return 1; }
52026      int two(void) { return 2; }
52027
52028 int
52029 main ()
52030 {
52031  two();
52032   ;
52033   return 0;
52034 }
52035 _ACEOF
52036 if ac_fn_c_try_link "$LINENO"; then :
52037   ac_gcsections=yes
52038 else
52039   ac_gcsections=no
52040 fi
52041 rm -f core conftest.err conftest.$ac_objext \
52042     conftest$ac_exeext conftest.$ac_ext
52043     if test "$ac_gcsections" = "yes"; then
52044       rm -f conftest.c
52045       touch conftest.c
52046       if $CC -c conftest.c; then
52047         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52048            grep "Warning: gc-sections option ignored" > /dev/null; then
52049           ac_gcsections=no
52050         fi
52051       fi
52052       rm -f conftest.c conftest.o conftest
52053     fi
52054     if test "$ac_gcsections" = "yes"; then
52055       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52056     fi
52057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52058 $as_echo "$ac_gcsections" >&6; }
52059
52060     if test "$ac_test_CFLAGS" = set; then
52061       CFLAGS="$ac_save_CFLAGS"
52062     else
52063       # this is the suspicious part
52064       CFLAGS=''
52065     fi
52066   fi
52067
52068   # Set -z,relro.
52069   # Note this is only for shared objects.
52070   ac_ld_relro=no
52071   if test x"$with_gnu_ld" = x"yes"; then
52072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52074     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52075     if test -n "$cxx_z_relo"; then
52076       OPT_LDFLAGS="-Wl,-z,relro"
52077       ac_ld_relro=yes
52078     fi
52079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52080 $as_echo "$ac_ld_relro" >&6; }
52081   fi
52082
52083   # Set linker optimization flags.
52084   if test x"$with_gnu_ld" = x"yes"; then
52085     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52086   fi
52087
52088
52089
52090
52091     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52092
52093     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52094
52095     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52096
52097     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52098
52099     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52100
52101     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52102
52103     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52104
52105     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52106
52107     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52108
52109
52110     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52111
52112     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52113
52114     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52115
52116     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52117
52118     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52119
52120     $as_echo "#define HAVE_COSF 1" >>confdefs.h
52121
52122     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52123
52124     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52125
52126     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52127
52128     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52129
52130     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52131
52132     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52133
52134     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52135
52136     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52137
52138     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52139
52140     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52141
52142     $as_echo "#define HAVE_POWF 1" >>confdefs.h
52143
52144     $as_echo "#define HAVE_SINF 1" >>confdefs.h
52145
52146     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52147
52148     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52149
52150     $as_echo "#define HAVE_TANF 1" >>confdefs.h
52151
52152     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52153
52154     if test x"long_double_math_on_this_cpu" = x"yes"; then
52155       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52156
52157       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52158
52159       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52160
52161     fi
52162     ;;
52163   *-hpux*)
52164     SECTION_FLAGS='-ffunction-sections -fdata-sections'
52165
52166
52167   # If we're not using GNU ld, then there's no point in even trying these
52168   # tests.  Check for that first.  We should have already tested for gld
52169   # by now (in libtool), but require it now just to be safe...
52170   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52171   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52172
52173
52174
52175   # The name set by libtool depends on the version of libtool.  Shame on us
52176   # for depending on an impl detail, but c'est la vie.  Older versions used
52177   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52178   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52179   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52180   # set (hence we're using an older libtool), then set it.
52181   if test x${with_gnu_ld+set} != xset; then
52182     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52183       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52184       with_gnu_ld=no
52185     else
52186       with_gnu_ld=$ac_cv_prog_gnu_ld
52187     fi
52188   fi
52189
52190   # Start by getting the version number.  I think the libtool test already
52191   # does some of this, but throws away the result.
52192   glibcxx_ld_is_gold=no
52193   if test x"$with_gnu_ld" = x"yes"; then
52194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52195 $as_echo_n "checking for ld version... " >&6; }
52196
52197     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52198       glibcxx_ld_is_gold=yes
52199     fi
52200     ldver=`$LD --version 2>/dev/null |
52201            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'`
52202
52203     glibcxx_gnu_ld_version=`echo $ldver | \
52204            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52206 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52207   fi
52208
52209   # Set --gc-sections.
52210   glibcxx_have_gc_sections=no
52211   if test "$glibcxx_ld_is_gold" = "yes"; then
52212     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52213       glibcxx_have_gc_sections=yes
52214     fi
52215   else
52216     glibcxx_gcsections_min_ld=21602
52217     if test x"$with_gnu_ld" = x"yes" &&
52218         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52219       glibcxx_have_gc_sections=yes
52220     fi
52221   fi
52222   if test "$glibcxx_have_gc_sections" = "yes"; then
52223     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52224     # NB: This flag only works reliably after 2.16.1. Configure tests
52225     # for this are difficult, so hard wire a value that should work.
52226
52227     ac_test_CFLAGS="${CFLAGS+set}"
52228     ac_save_CFLAGS="$CFLAGS"
52229     CFLAGS='-Wl,--gc-sections'
52230
52231     # Check for -Wl,--gc-sections
52232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52233 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52234     if test x$gcc_no_link = xyes; then
52235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52236 fi
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h.  */
52239  int one(void) { return 1; }
52240      int two(void) { return 2; }
52241
52242 int
52243 main ()
52244 {
52245  two();
52246   ;
52247   return 0;
52248 }
52249 _ACEOF
52250 if ac_fn_c_try_link "$LINENO"; then :
52251   ac_gcsections=yes
52252 else
52253   ac_gcsections=no
52254 fi
52255 rm -f core conftest.err conftest.$ac_objext \
52256     conftest$ac_exeext conftest.$ac_ext
52257     if test "$ac_gcsections" = "yes"; then
52258       rm -f conftest.c
52259       touch conftest.c
52260       if $CC -c conftest.c; then
52261         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52262            grep "Warning: gc-sections option ignored" > /dev/null; then
52263           ac_gcsections=no
52264         fi
52265       fi
52266       rm -f conftest.c conftest.o conftest
52267     fi
52268     if test "$ac_gcsections" = "yes"; then
52269       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52270     fi
52271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52272 $as_echo "$ac_gcsections" >&6; }
52273
52274     if test "$ac_test_CFLAGS" = set; then
52275       CFLAGS="$ac_save_CFLAGS"
52276     else
52277       # this is the suspicious part
52278       CFLAGS=''
52279     fi
52280   fi
52281
52282   # Set -z,relro.
52283   # Note this is only for shared objects.
52284   ac_ld_relro=no
52285   if test x"$with_gnu_ld" = x"yes"; then
52286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52287 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52288     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52289     if test -n "$cxx_z_relo"; then
52290       OPT_LDFLAGS="-Wl,-z,relro"
52291       ac_ld_relro=yes
52292     fi
52293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52294 $as_echo "$ac_ld_relro" >&6; }
52295   fi
52296
52297   # Set linker optimization flags.
52298   if test x"$with_gnu_ld" = x"yes"; then
52299     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52300   fi
52301
52302
52303
52304
52305
52306     # GLIBCXX_CHECK_MATH_SUPPORT
52307     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52308
52309     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52310
52311     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52312
52313     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52314
52315     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52316
52317     $as_echo "#define HAVE_COSF 1" >>confdefs.h
52318
52319     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52320
52321     $as_echo "#define HAVE_SINF 1" >>confdefs.h
52322
52323     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52324
52325     $as_echo "#define HAVE_TANF 1" >>confdefs.h
52326
52327     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52328
52329     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52330
52331     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52332
52333     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52334
52335     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52336
52337     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52338
52339     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52340
52341     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52342
52343     $as_echo "#define HAVE_MODF 1" >>confdefs.h
52344
52345     $as_echo "#define HAVE_POWF 1" >>confdefs.h
52346
52347     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52348
52349
52350     # GLIBCXX_CHECK_STDLIB_SUPPORT
52351     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52352
52353
52354
52355
52356    # Check whether --enable-tls was given.
52357 if test "${enable_tls+set}" = set; then :
52358   enableval=$enable_tls;
52359       case "$enableval" in
52360        yes|no) ;;
52361        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52362       esac
52363
52364 else
52365   enable_tls=yes
52366 fi
52367
52368
52369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52370 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52371 if test "${gcc_cv_have_tls+set}" = set; then :
52372   $as_echo_n "(cached) " >&6
52373 else
52374
52375     if test "$cross_compiling" = yes; then :
52376                 if test x$gcc_no_link = xyes; then
52377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52378 fi
52379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52380 /* end confdefs.h.  */
52381 __thread int a; int b; int main() { return a = b; }
52382 _ACEOF
52383 if ac_fn_c_try_link "$LINENO"; then :
52384   chktls_save_LDFLAGS="$LDFLAGS"
52385                           case $host in
52386             *-*-linux*)
52387               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52388               ;;
52389           esac
52390           chktls_save_CFLAGS="$CFLAGS"
52391           CFLAGS="-fPIC $CFLAGS"
52392                   if test x$gcc_no_link = xyes; then
52393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52394 fi
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h.  */
52397 int f() { return 0; }
52398 _ACEOF
52399 if ac_fn_c_try_link "$LINENO"; then :
52400   if test x$gcc_no_link = xyes; then
52401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52402 fi
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h.  */
52405 __thread int a; int b; int f() { return a = b; }
52406 _ACEOF
52407 if ac_fn_c_try_link "$LINENO"; then :
52408   gcc_cv_have_tls=yes
52409 else
52410   gcc_cv_have_tls=no
52411 fi
52412 rm -f core conftest.err conftest.$ac_objext \
52413     conftest$ac_exeext conftest.$ac_ext
52414 else
52415   gcc_cv_have_tls=yes
52416 fi
52417 rm -f core conftest.err conftest.$ac_objext \
52418     conftest$ac_exeext conftest.$ac_ext
52419           CFLAGS="$chktls_save_CFLAGS"
52420           LDFLAGS="$chktls_save_LDFLAGS"
52421 else
52422   gcc_cv_have_tls=no
52423 fi
52424 rm -f core conftest.err conftest.$ac_objext \
52425     conftest$ac_exeext conftest.$ac_ext
52426
52427
52428 else
52429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h.  */
52431 __thread int a; int b; int main() { return a = b; }
52432 _ACEOF
52433 if ac_fn_c_try_run "$LINENO"; then :
52434                       chktls_save_LDFLAGS="$LDFLAGS"
52435       LDFLAGS="-static $LDFLAGS"
52436       if test x$gcc_no_link = xyes; then
52437   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52438 fi
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h.  */
52441 int main() { return 0; }
52442 _ACEOF
52443 if ac_fn_c_try_link "$LINENO"; then :
52444   if test "$cross_compiling" = yes; then :
52445   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52447 as_fn_error "cannot run test program while cross compiling
52448 See \`config.log' for more details." "$LINENO" 5; }
52449 else
52450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h.  */
52452 __thread int a; int b; int main() { return a = b; }
52453 _ACEOF
52454 if ac_fn_c_try_run "$LINENO"; then :
52455   gcc_cv_have_tls=yes
52456 else
52457   gcc_cv_have_tls=no
52458 fi
52459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52460   conftest.$ac_objext conftest.beam conftest.$ac_ext
52461 fi
52462
52463 else
52464   gcc_cv_have_tls=yes
52465 fi
52466 rm -f core conftest.err conftest.$ac_objext \
52467     conftest$ac_exeext conftest.$ac_ext
52468       LDFLAGS="$chktls_save_LDFLAGS"
52469       if test $gcc_cv_have_tls = yes; then
52470                                                 chktls_save_CFLAGS="$CFLAGS"
52471         thread_CFLAGS=failed
52472         for flag in '' '-pthread' '-lpthread'; do
52473           CFLAGS="$flag $chktls_save_CFLAGS"
52474           if test x$gcc_no_link = xyes; then
52475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52476 fi
52477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52478 /* end confdefs.h.  */
52479 #include <pthread.h>
52480                 void *g(void *d) { return NULL; }
52481 int
52482 main ()
52483 {
52484 pthread_t t; pthread_create(&t,NULL,g,NULL);
52485   ;
52486   return 0;
52487 }
52488 _ACEOF
52489 if ac_fn_c_try_link "$LINENO"; then :
52490   thread_CFLAGS="$flag"
52491 fi
52492 rm -f core conftest.err conftest.$ac_objext \
52493     conftest$ac_exeext conftest.$ac_ext
52494           if test "X$thread_CFLAGS" != Xfailed; then
52495             break
52496           fi
52497         done
52498         CFLAGS="$chktls_save_CFLAGS"
52499         if test "X$thread_CFLAGS" != Xfailed; then
52500           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52501                                                   if test "$cross_compiling" = yes; then :
52502   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52504 as_fn_error "cannot run test program while cross compiling
52505 See \`config.log' for more details." "$LINENO" 5; }
52506 else
52507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52508 /* end confdefs.h.  */
52509 #include <pthread.h>
52510                 __thread int a;
52511                 static int *volatile a_in_other_thread;
52512                 static void *
52513                 thread_func (void *arg)
52514                 {
52515                   a_in_other_thread = &a;
52516                   return (void *)0;
52517                 }
52518 int
52519 main ()
52520 {
52521 pthread_t thread;
52522                 void *thread_retval;
52523                 int *volatile a_in_main_thread;
52524                 a_in_main_thread = &a;
52525                 if (pthread_create (&thread, (pthread_attr_t *)0,
52526                                     thread_func, (void *)0))
52527                   return 0;
52528                 if (pthread_join (thread, &thread_retval))
52529                   return 0;
52530                 return (a_in_other_thread == a_in_main_thread);
52531   ;
52532   return 0;
52533 }
52534 _ACEOF
52535 if ac_fn_c_try_run "$LINENO"; then :
52536   gcc_cv_have_tls=yes
52537 else
52538   gcc_cv_have_tls=no
52539 fi
52540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52541   conftest.$ac_objext conftest.beam conftest.$ac_ext
52542 fi
52543
52544           CFLAGS="$chktls_save_CFLAGS"
52545         fi
52546       fi
52547 else
52548   gcc_cv_have_tls=no
52549 fi
52550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52551   conftest.$ac_objext conftest.beam conftest.$ac_ext
52552 fi
52553
52554 fi
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52556 $as_echo "$gcc_cv_have_tls" >&6; }
52557   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52558
52559 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52560
52561   fi
52562     case "$target" in
52563       *-hpux10*)
52564         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52565
52566         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52567
52568         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52569
52570         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52571
52572         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52573
52574         ;;
52575     esac
52576     ;;
52577   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52578
52579   # All these tests are for C++; save the language and the compiler flags.
52580   # The CXXFLAGS thing is suspicious, but based on similar bits previously
52581   # found in GLIBCXX_CONFIGURE.
52582
52583   ac_ext=cpp
52584 ac_cpp='$CXXCPP $CPPFLAGS'
52585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52588
52589   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52590   ac_save_CXXFLAGS="$CXXFLAGS"
52591
52592   # Check for maintainer-mode bits.
52593   if test x"$USE_MAINTAINER_MODE" = xno; then
52594     WERROR=''
52595   else
52596     WERROR='-Werror'
52597   fi
52598
52599   # Check for -ffunction-sections -fdata-sections
52600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52601 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52602   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h.  */
52605 int foo; void bar() { };
52606 int
52607 main ()
52608 {
52609
52610   ;
52611   return 0;
52612 }
52613 _ACEOF
52614 if ac_fn_cxx_try_compile "$LINENO"; then :
52615   ac_fdsections=yes
52616 else
52617   ac_fdsections=no
52618 fi
52619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52620   if test "$ac_test_CXXFLAGS" = set; then
52621     CXXFLAGS="$ac_save_CXXFLAGS"
52622   else
52623     # this is the suspicious part
52624     CXXFLAGS=''
52625   fi
52626   if test x"$ac_fdsections" = x"yes"; then
52627     SECTION_FLAGS='-ffunction-sections -fdata-sections'
52628   fi
52629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52630 $as_echo "$ac_fdsections" >&6; }
52631
52632   ac_ext=c
52633 ac_cpp='$CPP $CPPFLAGS'
52634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52637
52638
52639
52640
52641
52642   # If we're not using GNU ld, then there's no point in even trying these
52643   # tests.  Check for that first.  We should have already tested for gld
52644   # by now (in libtool), but require it now just to be safe...
52645   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52646   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52647
52648
52649
52650   # The name set by libtool depends on the version of libtool.  Shame on us
52651   # for depending on an impl detail, but c'est la vie.  Older versions used
52652   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52653   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52654   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52655   # set (hence we're using an older libtool), then set it.
52656   if test x${with_gnu_ld+set} != xset; then
52657     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52658       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52659       with_gnu_ld=no
52660     else
52661       with_gnu_ld=$ac_cv_prog_gnu_ld
52662     fi
52663   fi
52664
52665   # Start by getting the version number.  I think the libtool test already
52666   # does some of this, but throws away the result.
52667   glibcxx_ld_is_gold=no
52668   if test x"$with_gnu_ld" = x"yes"; then
52669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52670 $as_echo_n "checking for ld version... " >&6; }
52671
52672     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52673       glibcxx_ld_is_gold=yes
52674     fi
52675     ldver=`$LD --version 2>/dev/null |
52676            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'`
52677
52678     glibcxx_gnu_ld_version=`echo $ldver | \
52679            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52682   fi
52683
52684   # Set --gc-sections.
52685   glibcxx_have_gc_sections=no
52686   if test "$glibcxx_ld_is_gold" = "yes"; then
52687     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52688       glibcxx_have_gc_sections=yes
52689     fi
52690   else
52691     glibcxx_gcsections_min_ld=21602
52692     if test x"$with_gnu_ld" = x"yes" &&
52693         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52694       glibcxx_have_gc_sections=yes
52695     fi
52696   fi
52697   if test "$glibcxx_have_gc_sections" = "yes"; then
52698     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
52699     # NB: This flag only works reliably after 2.16.1. Configure tests
52700     # for this are difficult, so hard wire a value that should work.
52701
52702     ac_test_CFLAGS="${CFLAGS+set}"
52703     ac_save_CFLAGS="$CFLAGS"
52704     CFLAGS='-Wl,--gc-sections'
52705
52706     # Check for -Wl,--gc-sections
52707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52709     if test x$gcc_no_link = xyes; then
52710   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52711 fi
52712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52713 /* end confdefs.h.  */
52714  int one(void) { return 1; }
52715      int two(void) { return 2; }
52716
52717 int
52718 main ()
52719 {
52720  two();
52721   ;
52722   return 0;
52723 }
52724 _ACEOF
52725 if ac_fn_c_try_link "$LINENO"; then :
52726   ac_gcsections=yes
52727 else
52728   ac_gcsections=no
52729 fi
52730 rm -f core conftest.err conftest.$ac_objext \
52731     conftest$ac_exeext conftest.$ac_ext
52732     if test "$ac_gcsections" = "yes"; then
52733       rm -f conftest.c
52734       touch conftest.c
52735       if $CC -c conftest.c; then
52736         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52737            grep "Warning: gc-sections option ignored" > /dev/null; then
52738           ac_gcsections=no
52739         fi
52740       fi
52741       rm -f conftest.c conftest.o conftest
52742     fi
52743     if test "$ac_gcsections" = "yes"; then
52744       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52745     fi
52746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52747 $as_echo "$ac_gcsections" >&6; }
52748
52749     if test "$ac_test_CFLAGS" = set; then
52750       CFLAGS="$ac_save_CFLAGS"
52751     else
52752       # this is the suspicious part
52753       CFLAGS=''
52754     fi
52755   fi
52756
52757   # Set -z,relro.
52758   # Note this is only for shared objects.
52759   ac_ld_relro=no
52760   if test x"$with_gnu_ld" = x"yes"; then
52761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52763     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52764     if test -n "$cxx_z_relo"; then
52765       OPT_LDFLAGS="-Wl,-z,relro"
52766       ac_ld_relro=yes
52767     fi
52768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52769 $as_echo "$ac_ld_relro" >&6; }
52770   fi
52771
52772   # Set linker optimization flags.
52773   if test x"$with_gnu_ld" = x"yes"; then
52774     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52775   fi
52776
52777
52778
52779
52780
52781   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52782   ac_save_CXXFLAGS="$CXXFLAGS"
52783   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52784
52785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52786 $as_echo_n "checking for sin in -lm... " >&6; }
52787 if test "${ac_cv_lib_m_sin+set}" = set; then :
52788   $as_echo_n "(cached) " >&6
52789 else
52790   ac_check_lib_save_LIBS=$LIBS
52791 LIBS="-lm  $LIBS"
52792 if test x$gcc_no_link = xyes; then
52793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52794 fi
52795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52796 /* end confdefs.h.  */
52797
52798 /* Override any GCC internal prototype to avoid an error.
52799    Use char because int might match the return type of a GCC
52800    builtin and then its argument prototype would still apply.  */
52801 #ifdef __cplusplus
52802 extern "C"
52803 #endif
52804 char sin ();
52805 int
52806 main ()
52807 {
52808 return sin ();
52809   ;
52810   return 0;
52811 }
52812 _ACEOF
52813 if ac_fn_c_try_link "$LINENO"; then :
52814   ac_cv_lib_m_sin=yes
52815 else
52816   ac_cv_lib_m_sin=no
52817 fi
52818 rm -f core conftest.err conftest.$ac_objext \
52819     conftest$ac_exeext conftest.$ac_ext
52820 LIBS=$ac_check_lib_save_LIBS
52821 fi
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52823 $as_echo "$ac_cv_lib_m_sin" >&6; }
52824 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52825   libm="-lm"
52826 fi
52827
52828   ac_save_LIBS="$LIBS"
52829   LIBS="$LIBS $libm"
52830
52831
52832
52833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52834 $as_echo_n "checking for isinf declaration... " >&6; }
52835   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52836     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52837   $as_echo_n "(cached) " >&6
52838 else
52839
52840
52841       ac_ext=cpp
52842 ac_cpp='$CXXCPP $CPPFLAGS'
52843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52846
52847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52848 /* end confdefs.h.  */
52849 #include <math.h>
52850                       #ifdef HAVE_IEEEFP_H
52851                       #include <ieeefp.h>
52852                       #endif
52853
52854 int
52855 main ()
52856 {
52857  isinf(0);
52858   ;
52859   return 0;
52860 }
52861 _ACEOF
52862 if ac_fn_cxx_try_compile "$LINENO"; then :
52863   glibcxx_cv_func_isinf_use=yes
52864 else
52865   glibcxx_cv_func_isinf_use=no
52866 fi
52867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52868       ac_ext=c
52869 ac_cpp='$CPP $CPPFLAGS'
52870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52873
52874
52875 fi
52876
52877   fi
52878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52879 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52880
52881   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52882     for ac_func in isinf
52883 do :
52884   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52885 if test "x$ac_cv_func_isinf" = x""yes; then :
52886   cat >>confdefs.h <<_ACEOF
52887 #define HAVE_ISINF 1
52888 _ACEOF
52889
52890 fi
52891 done
52892
52893   else
52894
52895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52896 $as_echo_n "checking for _isinf declaration... " >&6; }
52897   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52898     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52899   $as_echo_n "(cached) " >&6
52900 else
52901
52902
52903       ac_ext=cpp
52904 ac_cpp='$CXXCPP $CPPFLAGS'
52905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52908
52909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52910 /* end confdefs.h.  */
52911 #include <math.h>
52912                       #ifdef HAVE_IEEEFP_H
52913                       #include <ieeefp.h>
52914                       #endif
52915
52916 int
52917 main ()
52918 {
52919  _isinf(0);
52920   ;
52921   return 0;
52922 }
52923 _ACEOF
52924 if ac_fn_cxx_try_compile "$LINENO"; then :
52925   glibcxx_cv_func__isinf_use=yes
52926 else
52927   glibcxx_cv_func__isinf_use=no
52928 fi
52929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930       ac_ext=c
52931 ac_cpp='$CPP $CPPFLAGS'
52932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52935
52936
52937 fi
52938
52939   fi
52940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52941 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52942
52943     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52944       for ac_func in _isinf
52945 do :
52946   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52947 if test "x$ac_cv_func__isinf" = x""yes; then :
52948   cat >>confdefs.h <<_ACEOF
52949 #define HAVE__ISINF 1
52950 _ACEOF
52951
52952 fi
52953 done
52954
52955     fi
52956   fi
52957
52958
52959
52960
52961
52962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52963 $as_echo_n "checking for isnan declaration... " >&6; }
52964   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52965     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52966   $as_echo_n "(cached) " >&6
52967 else
52968
52969
52970       ac_ext=cpp
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52975
52976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52977 /* end confdefs.h.  */
52978 #include <math.h>
52979                       #ifdef HAVE_IEEEFP_H
52980                       #include <ieeefp.h>
52981                       #endif
52982
52983 int
52984 main ()
52985 {
52986  isnan(0);
52987   ;
52988   return 0;
52989 }
52990 _ACEOF
52991 if ac_fn_cxx_try_compile "$LINENO"; then :
52992   glibcxx_cv_func_isnan_use=yes
52993 else
52994   glibcxx_cv_func_isnan_use=no
52995 fi
52996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52997       ac_ext=c
52998 ac_cpp='$CPP $CPPFLAGS'
52999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002
53003
53004 fi
53005
53006   fi
53007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53008 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53009
53010   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53011     for ac_func in isnan
53012 do :
53013   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53014 if test "x$ac_cv_func_isnan" = x""yes; then :
53015   cat >>confdefs.h <<_ACEOF
53016 #define HAVE_ISNAN 1
53017 _ACEOF
53018
53019 fi
53020 done
53021
53022   else
53023
53024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53025 $as_echo_n "checking for _isnan declaration... " >&6; }
53026   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53027     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53028   $as_echo_n "(cached) " >&6
53029 else
53030
53031
53032       ac_ext=cpp
53033 ac_cpp='$CXXCPP $CPPFLAGS'
53034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037
53038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h.  */
53040 #include <math.h>
53041                       #ifdef HAVE_IEEEFP_H
53042                       #include <ieeefp.h>
53043                       #endif
53044
53045 int
53046 main ()
53047 {
53048  _isnan(0);
53049   ;
53050   return 0;
53051 }
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054   glibcxx_cv_func__isnan_use=yes
53055 else
53056   glibcxx_cv_func__isnan_use=no
53057 fi
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059       ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064
53065
53066 fi
53067
53068   fi
53069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53070 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53071
53072     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53073       for ac_func in _isnan
53074 do :
53075   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53076 if test "x$ac_cv_func__isnan" = x""yes; then :
53077   cat >>confdefs.h <<_ACEOF
53078 #define HAVE__ISNAN 1
53079 _ACEOF
53080
53081 fi
53082 done
53083
53084     fi
53085   fi
53086
53087
53088
53089
53090
53091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53092 $as_echo_n "checking for finite declaration... " >&6; }
53093   if test x${glibcxx_cv_func_finite_use+set} != xset; then
53094     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53095   $as_echo_n "(cached) " >&6
53096 else
53097
53098
53099       ac_ext=cpp
53100 ac_cpp='$CXXCPP $CPPFLAGS'
53101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53104
53105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53106 /* end confdefs.h.  */
53107 #include <math.h>
53108                       #ifdef HAVE_IEEEFP_H
53109                       #include <ieeefp.h>
53110                       #endif
53111
53112 int
53113 main ()
53114 {
53115  finite(0);
53116   ;
53117   return 0;
53118 }
53119 _ACEOF
53120 if ac_fn_cxx_try_compile "$LINENO"; then :
53121   glibcxx_cv_func_finite_use=yes
53122 else
53123   glibcxx_cv_func_finite_use=no
53124 fi
53125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53126       ac_ext=c
53127 ac_cpp='$CPP $CPPFLAGS'
53128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53131
53132
53133 fi
53134
53135   fi
53136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53137 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53138
53139   if test x$glibcxx_cv_func_finite_use = x"yes"; then
53140     for ac_func in finite
53141 do :
53142   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53143 if test "x$ac_cv_func_finite" = x""yes; then :
53144   cat >>confdefs.h <<_ACEOF
53145 #define HAVE_FINITE 1
53146 _ACEOF
53147
53148 fi
53149 done
53150
53151   else
53152
53153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53154 $as_echo_n "checking for _finite declaration... " >&6; }
53155   if test x${glibcxx_cv_func__finite_use+set} != xset; then
53156     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53157   $as_echo_n "(cached) " >&6
53158 else
53159
53160
53161       ac_ext=cpp
53162 ac_cpp='$CXXCPP $CPPFLAGS'
53163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166
53167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53168 /* end confdefs.h.  */
53169 #include <math.h>
53170                       #ifdef HAVE_IEEEFP_H
53171                       #include <ieeefp.h>
53172                       #endif
53173
53174 int
53175 main ()
53176 {
53177  _finite(0);
53178   ;
53179   return 0;
53180 }
53181 _ACEOF
53182 if ac_fn_cxx_try_compile "$LINENO"; then :
53183   glibcxx_cv_func__finite_use=yes
53184 else
53185   glibcxx_cv_func__finite_use=no
53186 fi
53187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188       ac_ext=c
53189 ac_cpp='$CPP $CPPFLAGS'
53190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53193
53194
53195 fi
53196
53197   fi
53198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53199 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53200
53201     if test x$glibcxx_cv_func__finite_use = x"yes"; then
53202       for ac_func in _finite
53203 do :
53204   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53205 if test "x$ac_cv_func__finite" = x""yes; then :
53206   cat >>confdefs.h <<_ACEOF
53207 #define HAVE__FINITE 1
53208 _ACEOF
53209
53210 fi
53211 done
53212
53213     fi
53214   fi
53215
53216
53217
53218
53219
53220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53221 $as_echo_n "checking for sincos declaration... " >&6; }
53222   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53223     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53224   $as_echo_n "(cached) " >&6
53225 else
53226
53227
53228       ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53233
53234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h.  */
53236 #include <math.h>
53237 int
53238 main ()
53239 {
53240  sincos(0, 0, 0);
53241   ;
53242   return 0;
53243 }
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246   glibcxx_cv_func_sincos_use=yes
53247 else
53248   glibcxx_cv_func_sincos_use=no
53249 fi
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251       ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53256
53257
53258 fi
53259
53260   fi
53261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53262 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53263
53264   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53265     for ac_func in sincos
53266 do :
53267   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53268 if test "x$ac_cv_func_sincos" = x""yes; then :
53269   cat >>confdefs.h <<_ACEOF
53270 #define HAVE_SINCOS 1
53271 _ACEOF
53272
53273 fi
53274 done
53275
53276   else
53277
53278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53279 $as_echo_n "checking for _sincos declaration... " >&6; }
53280   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53281     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53282   $as_echo_n "(cached) " >&6
53283 else
53284
53285
53286       ac_ext=cpp
53287 ac_cpp='$CXXCPP $CPPFLAGS'
53288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53291
53292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53293 /* end confdefs.h.  */
53294 #include <math.h>
53295 int
53296 main ()
53297 {
53298  _sincos(0, 0, 0);
53299   ;
53300   return 0;
53301 }
53302 _ACEOF
53303 if ac_fn_cxx_try_compile "$LINENO"; then :
53304   glibcxx_cv_func__sincos_use=yes
53305 else
53306   glibcxx_cv_func__sincos_use=no
53307 fi
53308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53309       ac_ext=c
53310 ac_cpp='$CPP $CPPFLAGS'
53311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53314
53315
53316 fi
53317
53318   fi
53319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53320 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53321
53322     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53323       for ac_func in _sincos
53324 do :
53325   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53326 if test "x$ac_cv_func__sincos" = x""yes; then :
53327   cat >>confdefs.h <<_ACEOF
53328 #define HAVE__SINCOS 1
53329 _ACEOF
53330
53331 fi
53332 done
53333
53334     fi
53335   fi
53336
53337
53338
53339
53340
53341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53342 $as_echo_n "checking for fpclass declaration... " >&6; }
53343   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53344     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53345   $as_echo_n "(cached) " >&6
53346 else
53347
53348
53349       ac_ext=cpp
53350 ac_cpp='$CXXCPP $CPPFLAGS'
53351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53354
53355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53356 /* end confdefs.h.  */
53357 #include <math.h>
53358                       #ifdef HAVE_IEEEFP_H
53359                       #include <ieeefp.h>
53360                       #endif
53361
53362 int
53363 main ()
53364 {
53365  fpclass(0);
53366   ;
53367   return 0;
53368 }
53369 _ACEOF
53370 if ac_fn_cxx_try_compile "$LINENO"; then :
53371   glibcxx_cv_func_fpclass_use=yes
53372 else
53373   glibcxx_cv_func_fpclass_use=no
53374 fi
53375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53376       ac_ext=c
53377 ac_cpp='$CPP $CPPFLAGS'
53378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53381
53382
53383 fi
53384
53385   fi
53386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53387 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53388
53389   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53390     for ac_func in fpclass
53391 do :
53392   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53393 if test "x$ac_cv_func_fpclass" = x""yes; then :
53394   cat >>confdefs.h <<_ACEOF
53395 #define HAVE_FPCLASS 1
53396 _ACEOF
53397
53398 fi
53399 done
53400
53401   else
53402
53403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53404 $as_echo_n "checking for _fpclass declaration... " >&6; }
53405   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53406     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53407   $as_echo_n "(cached) " >&6
53408 else
53409
53410
53411       ac_ext=cpp
53412 ac_cpp='$CXXCPP $CPPFLAGS'
53413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53416
53417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53418 /* end confdefs.h.  */
53419 #include <math.h>
53420                       #ifdef HAVE_IEEEFP_H
53421                       #include <ieeefp.h>
53422                       #endif
53423
53424 int
53425 main ()
53426 {
53427  _fpclass(0);
53428   ;
53429   return 0;
53430 }
53431 _ACEOF
53432 if ac_fn_cxx_try_compile "$LINENO"; then :
53433   glibcxx_cv_func__fpclass_use=yes
53434 else
53435   glibcxx_cv_func__fpclass_use=no
53436 fi
53437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53438       ac_ext=c
53439 ac_cpp='$CPP $CPPFLAGS'
53440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53443
53444
53445 fi
53446
53447   fi
53448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53449 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53450
53451     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53452       for ac_func in _fpclass
53453 do :
53454   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53455 if test "x$ac_cv_func__fpclass" = x""yes; then :
53456   cat >>confdefs.h <<_ACEOF
53457 #define HAVE__FPCLASS 1
53458 _ACEOF
53459
53460 fi
53461 done
53462
53463     fi
53464   fi
53465
53466
53467
53468
53469
53470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53471 $as_echo_n "checking for qfpclass declaration... " >&6; }
53472   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53473     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53474   $as_echo_n "(cached) " >&6
53475 else
53476
53477
53478       ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53483
53484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h.  */
53486 #include <math.h>
53487                       #ifdef HAVE_IEEEFP_H
53488                       #include <ieeefp.h>
53489                       #endif
53490
53491 int
53492 main ()
53493 {
53494  qfpclass(0);
53495   ;
53496   return 0;
53497 }
53498 _ACEOF
53499 if ac_fn_cxx_try_compile "$LINENO"; then :
53500   glibcxx_cv_func_qfpclass_use=yes
53501 else
53502   glibcxx_cv_func_qfpclass_use=no
53503 fi
53504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53505       ac_ext=c
53506 ac_cpp='$CPP $CPPFLAGS'
53507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53510
53511
53512 fi
53513
53514   fi
53515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53516 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53517
53518   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53519     for ac_func in qfpclass
53520 do :
53521   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53522 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53523   cat >>confdefs.h <<_ACEOF
53524 #define HAVE_QFPCLASS 1
53525 _ACEOF
53526
53527 fi
53528 done
53529
53530   else
53531
53532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53533 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53534   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53535     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53536   $as_echo_n "(cached) " >&6
53537 else
53538
53539
53540       ac_ext=cpp
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53545
53546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53547 /* end confdefs.h.  */
53548 #include <math.h>
53549                       #ifdef HAVE_IEEEFP_H
53550                       #include <ieeefp.h>
53551                       #endif
53552
53553 int
53554 main ()
53555 {
53556  _qfpclass(0);
53557   ;
53558   return 0;
53559 }
53560 _ACEOF
53561 if ac_fn_cxx_try_compile "$LINENO"; then :
53562   glibcxx_cv_func__qfpclass_use=yes
53563 else
53564   glibcxx_cv_func__qfpclass_use=no
53565 fi
53566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567       ac_ext=c
53568 ac_cpp='$CPP $CPPFLAGS'
53569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53572
53573
53574 fi
53575
53576   fi
53577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53578 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53579
53580     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53581       for ac_func in _qfpclass
53582 do :
53583   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53584 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53585   cat >>confdefs.h <<_ACEOF
53586 #define HAVE__QFPCLASS 1
53587 _ACEOF
53588
53589 fi
53590 done
53591
53592     fi
53593   fi
53594
53595
53596
53597
53598
53599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53600 $as_echo_n "checking for hypot declaration... " >&6; }
53601   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53602     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53603   $as_echo_n "(cached) " >&6
53604 else
53605
53606
53607       ac_ext=cpp
53608 ac_cpp='$CXXCPP $CPPFLAGS'
53609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53612
53613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h.  */
53615 #include <math.h>
53616 int
53617 main ()
53618 {
53619  hypot(0, 0);
53620   ;
53621   return 0;
53622 }
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625   glibcxx_cv_func_hypot_use=yes
53626 else
53627   glibcxx_cv_func_hypot_use=no
53628 fi
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630       ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53635
53636
53637 fi
53638
53639   fi
53640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53641 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53642
53643   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53644     for ac_func in hypot
53645 do :
53646   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53647 if test "x$ac_cv_func_hypot" = x""yes; then :
53648   cat >>confdefs.h <<_ACEOF
53649 #define HAVE_HYPOT 1
53650 _ACEOF
53651
53652 fi
53653 done
53654
53655   else
53656
53657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53658 $as_echo_n "checking for _hypot declaration... " >&6; }
53659   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53660     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53661   $as_echo_n "(cached) " >&6
53662 else
53663
53664
53665       ac_ext=cpp
53666 ac_cpp='$CXXCPP $CPPFLAGS'
53667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53670
53671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53672 /* end confdefs.h.  */
53673 #include <math.h>
53674 int
53675 main ()
53676 {
53677  _hypot(0, 0);
53678   ;
53679   return 0;
53680 }
53681 _ACEOF
53682 if ac_fn_cxx_try_compile "$LINENO"; then :
53683   glibcxx_cv_func__hypot_use=yes
53684 else
53685   glibcxx_cv_func__hypot_use=no
53686 fi
53687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53688       ac_ext=c
53689 ac_cpp='$CPP $CPPFLAGS'
53690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53693
53694
53695 fi
53696
53697   fi
53698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53699 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53700
53701     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53702       for ac_func in _hypot
53703 do :
53704   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53705 if test "x$ac_cv_func__hypot" = x""yes; then :
53706   cat >>confdefs.h <<_ACEOF
53707 #define HAVE__HYPOT 1
53708 _ACEOF
53709
53710 fi
53711 done
53712
53713     fi
53714   fi
53715
53716
53717
53718
53719
53720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53721 $as_echo_n "checking for float trig functions... " >&6; }
53722   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53723   $as_echo_n "(cached) " >&6
53724 else
53725
53726
53727     ac_ext=cpp
53728 ac_cpp='$CXXCPP $CPPFLAGS'
53729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53732
53733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53734 /* end confdefs.h.  */
53735 #include <math.h>
53736 int
53737 main ()
53738 {
53739 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53740   ;
53741   return 0;
53742 }
53743 _ACEOF
53744 if ac_fn_cxx_try_compile "$LINENO"; then :
53745   glibcxx_cv_func_float_trig_use=yes
53746 else
53747   glibcxx_cv_func_float_trig_use=no
53748 fi
53749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53750     ac_ext=c
53751 ac_cpp='$CPP $CPPFLAGS'
53752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53755
53756 fi
53757
53758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53759 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53760   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53761     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53762 do :
53763   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53765 eval as_val=\$$as_ac_var
53766    if test "x$as_val" = x""yes; then :
53767   cat >>confdefs.h <<_ACEOF
53768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53769 _ACEOF
53770
53771 fi
53772 done
53773
53774   else
53775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53776 $as_echo_n "checking for _float trig functions... " >&6; }
53777     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53778   $as_echo_n "(cached) " >&6
53779 else
53780
53781
53782       ac_ext=cpp
53783 ac_cpp='$CXXCPP $CPPFLAGS'
53784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53787
53788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53789 /* end confdefs.h.  */
53790 #include <math.h>
53791 int
53792 main ()
53793 {
53794 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53795   ;
53796   return 0;
53797 }
53798 _ACEOF
53799 if ac_fn_cxx_try_compile "$LINENO"; then :
53800   glibcxx_cv_func__float_trig_use=yes
53801 else
53802   glibcxx_cv_func__float_trig_use=no
53803 fi
53804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53805       ac_ext=c
53806 ac_cpp='$CPP $CPPFLAGS'
53807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53810
53811 fi
53812
53813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53814 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53815     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53816       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53817 do :
53818   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53820 eval as_val=\$$as_ac_var
53821    if test "x$as_val" = x""yes; then :
53822   cat >>confdefs.h <<_ACEOF
53823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53824 _ACEOF
53825
53826 fi
53827 done
53828
53829     fi
53830   fi
53831
53832
53833
53834
53835
53836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53837 $as_echo_n "checking for float round functions... " >&6; }
53838   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53839   $as_echo_n "(cached) " >&6
53840 else
53841
53842
53843     ac_ext=cpp
53844 ac_cpp='$CXXCPP $CPPFLAGS'
53845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53848
53849     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53850 /* end confdefs.h.  */
53851 #include <math.h>
53852 int
53853 main ()
53854 {
53855 ceilf (0); floorf (0);
53856   ;
53857   return 0;
53858 }
53859 _ACEOF
53860 if ac_fn_cxx_try_compile "$LINENO"; then :
53861   glibcxx_cv_func_float_round_use=yes
53862 else
53863   glibcxx_cv_func_float_round_use=no
53864 fi
53865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53866     ac_ext=c
53867 ac_cpp='$CPP $CPPFLAGS'
53868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53871
53872 fi
53873
53874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53875 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53876   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53877     for ac_func in ceilf floorf
53878 do :
53879   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53881 eval as_val=\$$as_ac_var
53882    if test "x$as_val" = x""yes; then :
53883   cat >>confdefs.h <<_ACEOF
53884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53885 _ACEOF
53886
53887 fi
53888 done
53889
53890   else
53891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53892 $as_echo_n "checking for _float round functions... " >&6; }
53893     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53894   $as_echo_n "(cached) " >&6
53895 else
53896
53897
53898       ac_ext=cpp
53899 ac_cpp='$CXXCPP $CPPFLAGS'
53900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53903
53904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h.  */
53906 #include <math.h>
53907 int
53908 main ()
53909 {
53910 _ceilf (0); _floorf (0);
53911   ;
53912   return 0;
53913 }
53914 _ACEOF
53915 if ac_fn_cxx_try_compile "$LINENO"; then :
53916   glibcxx_cv_func__float_round_use=yes
53917 else
53918   glibcxx_cv_func__float_round_use=no
53919 fi
53920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53921       ac_ext=c
53922 ac_cpp='$CPP $CPPFLAGS'
53923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926
53927 fi
53928
53929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53930 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53931     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53932       for ac_func in _ceilf _floorf
53933 do :
53934   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53936 eval as_val=\$$as_ac_var
53937    if test "x$as_val" = x""yes; then :
53938   cat >>confdefs.h <<_ACEOF
53939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53940 _ACEOF
53941
53942 fi
53943 done
53944
53945     fi
53946   fi
53947
53948
53949
53950
53951
53952
53953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53954 $as_echo_n "checking for expf declaration... " >&6; }
53955   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53956     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53957   $as_echo_n "(cached) " >&6
53958 else
53959
53960
53961       ac_ext=cpp
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53966
53967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53968 /* end confdefs.h.  */
53969 #include <math.h>
53970                       #ifdef HAVE_IEEEFP_H
53971                       #include <ieeefp.h>
53972                       #endif
53973
53974 int
53975 main ()
53976 {
53977  expf(0);
53978   ;
53979   return 0;
53980 }
53981 _ACEOF
53982 if ac_fn_cxx_try_compile "$LINENO"; then :
53983   glibcxx_cv_func_expf_use=yes
53984 else
53985   glibcxx_cv_func_expf_use=no
53986 fi
53987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53988       ac_ext=c
53989 ac_cpp='$CPP $CPPFLAGS'
53990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53993
53994
53995 fi
53996
53997   fi
53998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53999 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54000
54001   if test x$glibcxx_cv_func_expf_use = x"yes"; then
54002     for ac_func in expf
54003 do :
54004   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54005 if test "x$ac_cv_func_expf" = x""yes; then :
54006   cat >>confdefs.h <<_ACEOF
54007 #define HAVE_EXPF 1
54008 _ACEOF
54009
54010 fi
54011 done
54012
54013   else
54014
54015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54016 $as_echo_n "checking for _expf declaration... " >&6; }
54017   if test x${glibcxx_cv_func__expf_use+set} != xset; then
54018     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54019   $as_echo_n "(cached) " >&6
54020 else
54021
54022
54023       ac_ext=cpp
54024 ac_cpp='$CXXCPP $CPPFLAGS'
54025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54028
54029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54030 /* end confdefs.h.  */
54031 #include <math.h>
54032                       #ifdef HAVE_IEEEFP_H
54033                       #include <ieeefp.h>
54034                       #endif
54035
54036 int
54037 main ()
54038 {
54039  _expf(0);
54040   ;
54041   return 0;
54042 }
54043 _ACEOF
54044 if ac_fn_cxx_try_compile "$LINENO"; then :
54045   glibcxx_cv_func__expf_use=yes
54046 else
54047   glibcxx_cv_func__expf_use=no
54048 fi
54049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54050       ac_ext=c
54051 ac_cpp='$CPP $CPPFLAGS'
54052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54055
54056
54057 fi
54058
54059   fi
54060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54061 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54062
54063     if test x$glibcxx_cv_func__expf_use = x"yes"; then
54064       for ac_func in _expf
54065 do :
54066   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54067 if test "x$ac_cv_func__expf" = x""yes; then :
54068   cat >>confdefs.h <<_ACEOF
54069 #define HAVE__EXPF 1
54070 _ACEOF
54071
54072 fi
54073 done
54074
54075     fi
54076   fi
54077
54078
54079
54080
54081
54082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54083 $as_echo_n "checking for isnanf declaration... " >&6; }
54084   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54085     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54086   $as_echo_n "(cached) " >&6
54087 else
54088
54089
54090       ac_ext=cpp
54091 ac_cpp='$CXXCPP $CPPFLAGS'
54092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54095
54096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54097 /* end confdefs.h.  */
54098 #include <math.h>
54099                       #ifdef HAVE_IEEEFP_H
54100                       #include <ieeefp.h>
54101                       #endif
54102
54103 int
54104 main ()
54105 {
54106  isnanf(0);
54107   ;
54108   return 0;
54109 }
54110 _ACEOF
54111 if ac_fn_cxx_try_compile "$LINENO"; then :
54112   glibcxx_cv_func_isnanf_use=yes
54113 else
54114   glibcxx_cv_func_isnanf_use=no
54115 fi
54116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54117       ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122
54123
54124 fi
54125
54126   fi
54127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54128 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54129
54130   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54131     for ac_func in isnanf
54132 do :
54133   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54134 if test "x$ac_cv_func_isnanf" = x""yes; then :
54135   cat >>confdefs.h <<_ACEOF
54136 #define HAVE_ISNANF 1
54137 _ACEOF
54138
54139 fi
54140 done
54141
54142   else
54143
54144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54145 $as_echo_n "checking for _isnanf declaration... " >&6; }
54146   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54147     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54148   $as_echo_n "(cached) " >&6
54149 else
54150
54151
54152       ac_ext=cpp
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54157
54158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h.  */
54160 #include <math.h>
54161                       #ifdef HAVE_IEEEFP_H
54162                       #include <ieeefp.h>
54163                       #endif
54164
54165 int
54166 main ()
54167 {
54168  _isnanf(0);
54169   ;
54170   return 0;
54171 }
54172 _ACEOF
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174   glibcxx_cv_func__isnanf_use=yes
54175 else
54176   glibcxx_cv_func__isnanf_use=no
54177 fi
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54179       ac_ext=c
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54184
54185
54186 fi
54187
54188   fi
54189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54190 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54191
54192     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54193       for ac_func in _isnanf
54194 do :
54195   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54196 if test "x$ac_cv_func__isnanf" = x""yes; then :
54197   cat >>confdefs.h <<_ACEOF
54198 #define HAVE__ISNANF 1
54199 _ACEOF
54200
54201 fi
54202 done
54203
54204     fi
54205   fi
54206
54207
54208
54209
54210
54211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54212 $as_echo_n "checking for isinff declaration... " >&6; }
54213   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54214     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54215   $as_echo_n "(cached) " >&6
54216 else
54217
54218
54219       ac_ext=cpp
54220 ac_cpp='$CXXCPP $CPPFLAGS'
54221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54224
54225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54226 /* end confdefs.h.  */
54227 #include <math.h>
54228                       #ifdef HAVE_IEEEFP_H
54229                       #include <ieeefp.h>
54230                       #endif
54231
54232 int
54233 main ()
54234 {
54235  isinff(0);
54236   ;
54237   return 0;
54238 }
54239 _ACEOF
54240 if ac_fn_cxx_try_compile "$LINENO"; then :
54241   glibcxx_cv_func_isinff_use=yes
54242 else
54243   glibcxx_cv_func_isinff_use=no
54244 fi
54245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54246       ac_ext=c
54247 ac_cpp='$CPP $CPPFLAGS'
54248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54251
54252
54253 fi
54254
54255   fi
54256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54257 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54258
54259   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54260     for ac_func in isinff
54261 do :
54262   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54263 if test "x$ac_cv_func_isinff" = x""yes; then :
54264   cat >>confdefs.h <<_ACEOF
54265 #define HAVE_ISINFF 1
54266 _ACEOF
54267
54268 fi
54269 done
54270
54271   else
54272
54273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54274 $as_echo_n "checking for _isinff declaration... " >&6; }
54275   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54276     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54277   $as_echo_n "(cached) " >&6
54278 else
54279
54280
54281       ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54286
54287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h.  */
54289 #include <math.h>
54290                       #ifdef HAVE_IEEEFP_H
54291                       #include <ieeefp.h>
54292                       #endif
54293
54294 int
54295 main ()
54296 {
54297  _isinff(0);
54298   ;
54299   return 0;
54300 }
54301 _ACEOF
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303   glibcxx_cv_func__isinff_use=yes
54304 else
54305   glibcxx_cv_func__isinff_use=no
54306 fi
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308       ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54313
54314
54315 fi
54316
54317   fi
54318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54319 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54320
54321     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54322       for ac_func in _isinff
54323 do :
54324   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54325 if test "x$ac_cv_func__isinff" = x""yes; then :
54326   cat >>confdefs.h <<_ACEOF
54327 #define HAVE__ISINFF 1
54328 _ACEOF
54329
54330 fi
54331 done
54332
54333     fi
54334   fi
54335
54336
54337
54338
54339
54340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54341 $as_echo_n "checking for atan2f declaration... " >&6; }
54342   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54343     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54344   $as_echo_n "(cached) " >&6
54345 else
54346
54347
54348       ac_ext=cpp
54349 ac_cpp='$CXXCPP $CPPFLAGS'
54350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54353
54354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54355 /* end confdefs.h.  */
54356 #include <math.h>
54357 int
54358 main ()
54359 {
54360  atan2f(0, 0);
54361   ;
54362   return 0;
54363 }
54364 _ACEOF
54365 if ac_fn_cxx_try_compile "$LINENO"; then :
54366   glibcxx_cv_func_atan2f_use=yes
54367 else
54368   glibcxx_cv_func_atan2f_use=no
54369 fi
54370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54371       ac_ext=c
54372 ac_cpp='$CPP $CPPFLAGS'
54373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54376
54377
54378 fi
54379
54380   fi
54381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54382 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54383
54384   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54385     for ac_func in atan2f
54386 do :
54387   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54388 if test "x$ac_cv_func_atan2f" = x""yes; then :
54389   cat >>confdefs.h <<_ACEOF
54390 #define HAVE_ATAN2F 1
54391 _ACEOF
54392
54393 fi
54394 done
54395
54396   else
54397
54398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54399 $as_echo_n "checking for _atan2f declaration... " >&6; }
54400   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54401     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54402   $as_echo_n "(cached) " >&6
54403 else
54404
54405
54406       ac_ext=cpp
54407 ac_cpp='$CXXCPP $CPPFLAGS'
54408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54411
54412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54413 /* end confdefs.h.  */
54414 #include <math.h>
54415 int
54416 main ()
54417 {
54418  _atan2f(0, 0);
54419   ;
54420   return 0;
54421 }
54422 _ACEOF
54423 if ac_fn_cxx_try_compile "$LINENO"; then :
54424   glibcxx_cv_func__atan2f_use=yes
54425 else
54426   glibcxx_cv_func__atan2f_use=no
54427 fi
54428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54429       ac_ext=c
54430 ac_cpp='$CPP $CPPFLAGS'
54431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54434
54435
54436 fi
54437
54438   fi
54439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54440 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54441
54442     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54443       for ac_func in _atan2f
54444 do :
54445   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54446 if test "x$ac_cv_func__atan2f" = x""yes; then :
54447   cat >>confdefs.h <<_ACEOF
54448 #define HAVE__ATAN2F 1
54449 _ACEOF
54450
54451 fi
54452 done
54453
54454     fi
54455   fi
54456
54457
54458
54459
54460
54461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54462 $as_echo_n "checking for fabsf declaration... " >&6; }
54463   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54464     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54465   $as_echo_n "(cached) " >&6
54466 else
54467
54468
54469       ac_ext=cpp
54470 ac_cpp='$CXXCPP $CPPFLAGS'
54471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54474
54475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54476 /* end confdefs.h.  */
54477 #include <math.h>
54478                       #ifdef HAVE_IEEEFP_H
54479                       #include <ieeefp.h>
54480                       #endif
54481
54482 int
54483 main ()
54484 {
54485  fabsf(0);
54486   ;
54487   return 0;
54488 }
54489 _ACEOF
54490 if ac_fn_cxx_try_compile "$LINENO"; then :
54491   glibcxx_cv_func_fabsf_use=yes
54492 else
54493   glibcxx_cv_func_fabsf_use=no
54494 fi
54495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496       ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54501
54502
54503 fi
54504
54505   fi
54506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54507 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54508
54509   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54510     for ac_func in fabsf
54511 do :
54512   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54513 if test "x$ac_cv_func_fabsf" = x""yes; then :
54514   cat >>confdefs.h <<_ACEOF
54515 #define HAVE_FABSF 1
54516 _ACEOF
54517
54518 fi
54519 done
54520
54521   else
54522
54523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54524 $as_echo_n "checking for _fabsf declaration... " >&6; }
54525   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54526     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54527   $as_echo_n "(cached) " >&6
54528 else
54529
54530
54531       ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536
54537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h.  */
54539 #include <math.h>
54540                       #ifdef HAVE_IEEEFP_H
54541                       #include <ieeefp.h>
54542                       #endif
54543
54544 int
54545 main ()
54546 {
54547  _fabsf(0);
54548   ;
54549   return 0;
54550 }
54551 _ACEOF
54552 if ac_fn_cxx_try_compile "$LINENO"; then :
54553   glibcxx_cv_func__fabsf_use=yes
54554 else
54555   glibcxx_cv_func__fabsf_use=no
54556 fi
54557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558       ac_ext=c
54559 ac_cpp='$CPP $CPPFLAGS'
54560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54563
54564
54565 fi
54566
54567   fi
54568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54569 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54570
54571     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54572       for ac_func in _fabsf
54573 do :
54574   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54575 if test "x$ac_cv_func__fabsf" = x""yes; then :
54576   cat >>confdefs.h <<_ACEOF
54577 #define HAVE__FABSF 1
54578 _ACEOF
54579
54580 fi
54581 done
54582
54583     fi
54584   fi
54585
54586
54587
54588
54589
54590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54591 $as_echo_n "checking for fmodf declaration... " >&6; }
54592   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54593     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54594   $as_echo_n "(cached) " >&6
54595 else
54596
54597
54598       ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54603
54604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h.  */
54606 #include <math.h>
54607 int
54608 main ()
54609 {
54610  fmodf(0, 0);
54611   ;
54612   return 0;
54613 }
54614 _ACEOF
54615 if ac_fn_cxx_try_compile "$LINENO"; then :
54616   glibcxx_cv_func_fmodf_use=yes
54617 else
54618   glibcxx_cv_func_fmodf_use=no
54619 fi
54620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54621       ac_ext=c
54622 ac_cpp='$CPP $CPPFLAGS'
54623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54626
54627
54628 fi
54629
54630   fi
54631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54632 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54633
54634   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54635     for ac_func in fmodf
54636 do :
54637   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54638 if test "x$ac_cv_func_fmodf" = x""yes; then :
54639   cat >>confdefs.h <<_ACEOF
54640 #define HAVE_FMODF 1
54641 _ACEOF
54642
54643 fi
54644 done
54645
54646   else
54647
54648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54649 $as_echo_n "checking for _fmodf declaration... " >&6; }
54650   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54651     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54652   $as_echo_n "(cached) " >&6
54653 else
54654
54655
54656       ac_ext=cpp
54657 ac_cpp='$CXXCPP $CPPFLAGS'
54658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54661
54662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54663 /* end confdefs.h.  */
54664 #include <math.h>
54665 int
54666 main ()
54667 {
54668  _fmodf(0, 0);
54669   ;
54670   return 0;
54671 }
54672 _ACEOF
54673 if ac_fn_cxx_try_compile "$LINENO"; then :
54674   glibcxx_cv_func__fmodf_use=yes
54675 else
54676   glibcxx_cv_func__fmodf_use=no
54677 fi
54678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54679       ac_ext=c
54680 ac_cpp='$CPP $CPPFLAGS'
54681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54684
54685
54686 fi
54687
54688   fi
54689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54690 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54691
54692     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54693       for ac_func in _fmodf
54694 do :
54695   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54696 if test "x$ac_cv_func__fmodf" = x""yes; then :
54697   cat >>confdefs.h <<_ACEOF
54698 #define HAVE__FMODF 1
54699 _ACEOF
54700
54701 fi
54702 done
54703
54704     fi
54705   fi
54706
54707
54708
54709
54710
54711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54712 $as_echo_n "checking for frexpf declaration... " >&6; }
54713   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54714     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54715   $as_echo_n "(cached) " >&6
54716 else
54717
54718
54719       ac_ext=cpp
54720 ac_cpp='$CXXCPP $CPPFLAGS'
54721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54724
54725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54726 /* end confdefs.h.  */
54727 #include <math.h>
54728 int
54729 main ()
54730 {
54731  frexpf(0, 0);
54732   ;
54733   return 0;
54734 }
54735 _ACEOF
54736 if ac_fn_cxx_try_compile "$LINENO"; then :
54737   glibcxx_cv_func_frexpf_use=yes
54738 else
54739   glibcxx_cv_func_frexpf_use=no
54740 fi
54741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54742       ac_ext=c
54743 ac_cpp='$CPP $CPPFLAGS'
54744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54747
54748
54749 fi
54750
54751   fi
54752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54753 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54754
54755   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54756     for ac_func in frexpf
54757 do :
54758   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54759 if test "x$ac_cv_func_frexpf" = x""yes; then :
54760   cat >>confdefs.h <<_ACEOF
54761 #define HAVE_FREXPF 1
54762 _ACEOF
54763
54764 fi
54765 done
54766
54767   else
54768
54769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54770 $as_echo_n "checking for _frexpf declaration... " >&6; }
54771   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54772     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54773   $as_echo_n "(cached) " >&6
54774 else
54775
54776
54777       ac_ext=cpp
54778 ac_cpp='$CXXCPP $CPPFLAGS'
54779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54782
54783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54784 /* end confdefs.h.  */
54785 #include <math.h>
54786 int
54787 main ()
54788 {
54789  _frexpf(0, 0);
54790   ;
54791   return 0;
54792 }
54793 _ACEOF
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795   glibcxx_cv_func__frexpf_use=yes
54796 else
54797   glibcxx_cv_func__frexpf_use=no
54798 fi
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54800       ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54805
54806
54807 fi
54808
54809   fi
54810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54811 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54812
54813     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54814       for ac_func in _frexpf
54815 do :
54816   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54817 if test "x$ac_cv_func__frexpf" = x""yes; then :
54818   cat >>confdefs.h <<_ACEOF
54819 #define HAVE__FREXPF 1
54820 _ACEOF
54821
54822 fi
54823 done
54824
54825     fi
54826   fi
54827
54828
54829
54830
54831
54832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54833 $as_echo_n "checking for hypotf declaration... " >&6; }
54834   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54835     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54836   $as_echo_n "(cached) " >&6
54837 else
54838
54839
54840       ac_ext=cpp
54841 ac_cpp='$CXXCPP $CPPFLAGS'
54842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54845
54846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54847 /* end confdefs.h.  */
54848 #include <math.h>
54849 int
54850 main ()
54851 {
54852  hypotf(0, 0);
54853   ;
54854   return 0;
54855 }
54856 _ACEOF
54857 if ac_fn_cxx_try_compile "$LINENO"; then :
54858   glibcxx_cv_func_hypotf_use=yes
54859 else
54860   glibcxx_cv_func_hypotf_use=no
54861 fi
54862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54863       ac_ext=c
54864 ac_cpp='$CPP $CPPFLAGS'
54865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54868
54869
54870 fi
54871
54872   fi
54873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54874 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54875
54876   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54877     for ac_func in hypotf
54878 do :
54879   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54880 if test "x$ac_cv_func_hypotf" = x""yes; then :
54881   cat >>confdefs.h <<_ACEOF
54882 #define HAVE_HYPOTF 1
54883 _ACEOF
54884
54885 fi
54886 done
54887
54888   else
54889
54890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54891 $as_echo_n "checking for _hypotf declaration... " >&6; }
54892   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54893     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54894   $as_echo_n "(cached) " >&6
54895 else
54896
54897
54898       ac_ext=cpp
54899 ac_cpp='$CXXCPP $CPPFLAGS'
54900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54903
54904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54905 /* end confdefs.h.  */
54906 #include <math.h>
54907 int
54908 main ()
54909 {
54910  _hypotf(0, 0);
54911   ;
54912   return 0;
54913 }
54914 _ACEOF
54915 if ac_fn_cxx_try_compile "$LINENO"; then :
54916   glibcxx_cv_func__hypotf_use=yes
54917 else
54918   glibcxx_cv_func__hypotf_use=no
54919 fi
54920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54921       ac_ext=c
54922 ac_cpp='$CPP $CPPFLAGS'
54923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54926
54927
54928 fi
54929
54930   fi
54931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54932 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54933
54934     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54935       for ac_func in _hypotf
54936 do :
54937   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54938 if test "x$ac_cv_func__hypotf" = x""yes; then :
54939   cat >>confdefs.h <<_ACEOF
54940 #define HAVE__HYPOTF 1
54941 _ACEOF
54942
54943 fi
54944 done
54945
54946     fi
54947   fi
54948
54949
54950
54951
54952
54953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54954 $as_echo_n "checking for ldexpf declaration... " >&6; }
54955   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54956     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54957   $as_echo_n "(cached) " >&6
54958 else
54959
54960
54961       ac_ext=cpp
54962 ac_cpp='$CXXCPP $CPPFLAGS'
54963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966
54967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54968 /* end confdefs.h.  */
54969 #include <math.h>
54970 int
54971 main ()
54972 {
54973  ldexpf(0, 0);
54974   ;
54975   return 0;
54976 }
54977 _ACEOF
54978 if ac_fn_cxx_try_compile "$LINENO"; then :
54979   glibcxx_cv_func_ldexpf_use=yes
54980 else
54981   glibcxx_cv_func_ldexpf_use=no
54982 fi
54983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54984       ac_ext=c
54985 ac_cpp='$CPP $CPPFLAGS'
54986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54989
54990
54991 fi
54992
54993   fi
54994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54995 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54996
54997   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54998     for ac_func in ldexpf
54999 do :
55000   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55001 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55002   cat >>confdefs.h <<_ACEOF
55003 #define HAVE_LDEXPF 1
55004 _ACEOF
55005
55006 fi
55007 done
55008
55009   else
55010
55011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55012 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55013   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55014     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55015   $as_echo_n "(cached) " >&6
55016 else
55017
55018
55019       ac_ext=cpp
55020 ac_cpp='$CXXCPP $CPPFLAGS'
55021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55024
55025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55026 /* end confdefs.h.  */
55027 #include <math.h>
55028 int
55029 main ()
55030 {
55031  _ldexpf(0, 0);
55032   ;
55033   return 0;
55034 }
55035 _ACEOF
55036 if ac_fn_cxx_try_compile "$LINENO"; then :
55037   glibcxx_cv_func__ldexpf_use=yes
55038 else
55039   glibcxx_cv_func__ldexpf_use=no
55040 fi
55041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55042       ac_ext=c
55043 ac_cpp='$CPP $CPPFLAGS'
55044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55047
55048
55049 fi
55050
55051   fi
55052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55053 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55054
55055     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55056       for ac_func in _ldexpf
55057 do :
55058   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55059 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55060   cat >>confdefs.h <<_ACEOF
55061 #define HAVE__LDEXPF 1
55062 _ACEOF
55063
55064 fi
55065 done
55066
55067     fi
55068   fi
55069
55070
55071
55072
55073
55074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55075 $as_echo_n "checking for logf declaration... " >&6; }
55076   if test x${glibcxx_cv_func_logf_use+set} != xset; then
55077     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55078   $as_echo_n "(cached) " >&6
55079 else
55080
55081
55082       ac_ext=cpp
55083 ac_cpp='$CXXCPP $CPPFLAGS'
55084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55087
55088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55089 /* end confdefs.h.  */
55090 #include <math.h>
55091                       #ifdef HAVE_IEEEFP_H
55092                       #include <ieeefp.h>
55093                       #endif
55094
55095 int
55096 main ()
55097 {
55098  logf(0);
55099   ;
55100   return 0;
55101 }
55102 _ACEOF
55103 if ac_fn_cxx_try_compile "$LINENO"; then :
55104   glibcxx_cv_func_logf_use=yes
55105 else
55106   glibcxx_cv_func_logf_use=no
55107 fi
55108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55109       ac_ext=c
55110 ac_cpp='$CPP $CPPFLAGS'
55111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114
55115
55116 fi
55117
55118   fi
55119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55120 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55121
55122   if test x$glibcxx_cv_func_logf_use = x"yes"; then
55123     for ac_func in logf
55124 do :
55125   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55126 if test "x$ac_cv_func_logf" = x""yes; then :
55127   cat >>confdefs.h <<_ACEOF
55128 #define HAVE_LOGF 1
55129 _ACEOF
55130
55131 fi
55132 done
55133
55134   else
55135
55136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55137 $as_echo_n "checking for _logf declaration... " >&6; }
55138   if test x${glibcxx_cv_func__logf_use+set} != xset; then
55139     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55140   $as_echo_n "(cached) " >&6
55141 else
55142
55143
55144       ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55149
55150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h.  */
55152 #include <math.h>
55153                       #ifdef HAVE_IEEEFP_H
55154                       #include <ieeefp.h>
55155                       #endif
55156
55157 int
55158 main ()
55159 {
55160  _logf(0);
55161   ;
55162   return 0;
55163 }
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166   glibcxx_cv_func__logf_use=yes
55167 else
55168   glibcxx_cv_func__logf_use=no
55169 fi
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171       ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176
55177
55178 fi
55179
55180   fi
55181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55182 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55183
55184     if test x$glibcxx_cv_func__logf_use = x"yes"; then
55185       for ac_func in _logf
55186 do :
55187   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55188 if test "x$ac_cv_func__logf" = x""yes; then :
55189   cat >>confdefs.h <<_ACEOF
55190 #define HAVE__LOGF 1
55191 _ACEOF
55192
55193 fi
55194 done
55195
55196     fi
55197   fi
55198
55199
55200
55201
55202
55203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55204 $as_echo_n "checking for log10f declaration... " >&6; }
55205   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55206     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55207   $as_echo_n "(cached) " >&6
55208 else
55209
55210
55211       ac_ext=cpp
55212 ac_cpp='$CXXCPP $CPPFLAGS'
55213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55216
55217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55218 /* end confdefs.h.  */
55219 #include <math.h>
55220                       #ifdef HAVE_IEEEFP_H
55221                       #include <ieeefp.h>
55222                       #endif
55223
55224 int
55225 main ()
55226 {
55227  log10f(0);
55228   ;
55229   return 0;
55230 }
55231 _ACEOF
55232 if ac_fn_cxx_try_compile "$LINENO"; then :
55233   glibcxx_cv_func_log10f_use=yes
55234 else
55235   glibcxx_cv_func_log10f_use=no
55236 fi
55237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55238       ac_ext=c
55239 ac_cpp='$CPP $CPPFLAGS'
55240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243
55244
55245 fi
55246
55247   fi
55248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55249 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55250
55251   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55252     for ac_func in log10f
55253 do :
55254   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55255 if test "x$ac_cv_func_log10f" = x""yes; then :
55256   cat >>confdefs.h <<_ACEOF
55257 #define HAVE_LOG10F 1
55258 _ACEOF
55259
55260 fi
55261 done
55262
55263   else
55264
55265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55266 $as_echo_n "checking for _log10f declaration... " >&6; }
55267   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55268     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55269   $as_echo_n "(cached) " >&6
55270 else
55271
55272
55273       ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55278
55279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h.  */
55281 #include <math.h>
55282                       #ifdef HAVE_IEEEFP_H
55283                       #include <ieeefp.h>
55284                       #endif
55285
55286 int
55287 main ()
55288 {
55289  _log10f(0);
55290   ;
55291   return 0;
55292 }
55293 _ACEOF
55294 if ac_fn_cxx_try_compile "$LINENO"; then :
55295   glibcxx_cv_func__log10f_use=yes
55296 else
55297   glibcxx_cv_func__log10f_use=no
55298 fi
55299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55300       ac_ext=c
55301 ac_cpp='$CPP $CPPFLAGS'
55302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55305
55306
55307 fi
55308
55309   fi
55310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55311 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55312
55313     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55314       for ac_func in _log10f
55315 do :
55316   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55317 if test "x$ac_cv_func__log10f" = x""yes; then :
55318   cat >>confdefs.h <<_ACEOF
55319 #define HAVE__LOG10F 1
55320 _ACEOF
55321
55322 fi
55323 done
55324
55325     fi
55326   fi
55327
55328
55329
55330
55331
55332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55333 $as_echo_n "checking for modff declaration... " >&6; }
55334   if test x${glibcxx_cv_func_modff_use+set} != xset; then
55335     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55336   $as_echo_n "(cached) " >&6
55337 else
55338
55339
55340       ac_ext=cpp
55341 ac_cpp='$CXXCPP $CPPFLAGS'
55342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55345
55346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55347 /* end confdefs.h.  */
55348 #include <math.h>
55349 int
55350 main ()
55351 {
55352  modff(0, 0);
55353   ;
55354   return 0;
55355 }
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358   glibcxx_cv_func_modff_use=yes
55359 else
55360   glibcxx_cv_func_modff_use=no
55361 fi
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363       ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55368
55369
55370 fi
55371
55372   fi
55373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55374 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55375
55376   if test x$glibcxx_cv_func_modff_use = x"yes"; then
55377     for ac_func in modff
55378 do :
55379   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55380 if test "x$ac_cv_func_modff" = x""yes; then :
55381   cat >>confdefs.h <<_ACEOF
55382 #define HAVE_MODFF 1
55383 _ACEOF
55384
55385 fi
55386 done
55387
55388   else
55389
55390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55391 $as_echo_n "checking for _modff declaration... " >&6; }
55392   if test x${glibcxx_cv_func__modff_use+set} != xset; then
55393     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55394   $as_echo_n "(cached) " >&6
55395 else
55396
55397
55398       ac_ext=cpp
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55403
55404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55405 /* end confdefs.h.  */
55406 #include <math.h>
55407 int
55408 main ()
55409 {
55410  _modff(0, 0);
55411   ;
55412   return 0;
55413 }
55414 _ACEOF
55415 if ac_fn_cxx_try_compile "$LINENO"; then :
55416   glibcxx_cv_func__modff_use=yes
55417 else
55418   glibcxx_cv_func__modff_use=no
55419 fi
55420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55421       ac_ext=c
55422 ac_cpp='$CPP $CPPFLAGS'
55423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55426
55427
55428 fi
55429
55430   fi
55431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55432 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55433
55434     if test x$glibcxx_cv_func__modff_use = x"yes"; then
55435       for ac_func in _modff
55436 do :
55437   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55438 if test "x$ac_cv_func__modff" = x""yes; then :
55439   cat >>confdefs.h <<_ACEOF
55440 #define HAVE__MODFF 1
55441 _ACEOF
55442
55443 fi
55444 done
55445
55446     fi
55447   fi
55448
55449
55450
55451
55452
55453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55454 $as_echo_n "checking for modf declaration... " >&6; }
55455   if test x${glibcxx_cv_func_modf_use+set} != xset; then
55456     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55457   $as_echo_n "(cached) " >&6
55458 else
55459
55460
55461       ac_ext=cpp
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55466
55467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55468 /* end confdefs.h.  */
55469 #include <math.h>
55470 int
55471 main ()
55472 {
55473  modf(0, 0);
55474   ;
55475   return 0;
55476 }
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479   glibcxx_cv_func_modf_use=yes
55480 else
55481   glibcxx_cv_func_modf_use=no
55482 fi
55483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55484       ac_ext=c
55485 ac_cpp='$CPP $CPPFLAGS'
55486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55489
55490
55491 fi
55492
55493   fi
55494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55495 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55496
55497   if test x$glibcxx_cv_func_modf_use = x"yes"; then
55498     for ac_func in modf
55499 do :
55500   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55501 if test "x$ac_cv_func_modf" = x""yes; then :
55502   cat >>confdefs.h <<_ACEOF
55503 #define HAVE_MODF 1
55504 _ACEOF
55505
55506 fi
55507 done
55508
55509   else
55510
55511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55512 $as_echo_n "checking for _modf declaration... " >&6; }
55513   if test x${glibcxx_cv_func__modf_use+set} != xset; then
55514     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55515   $as_echo_n "(cached) " >&6
55516 else
55517
55518
55519       ac_ext=cpp
55520 ac_cpp='$CXXCPP $CPPFLAGS'
55521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55524
55525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55526 /* end confdefs.h.  */
55527 #include <math.h>
55528 int
55529 main ()
55530 {
55531  _modf(0, 0);
55532   ;
55533   return 0;
55534 }
55535 _ACEOF
55536 if ac_fn_cxx_try_compile "$LINENO"; then :
55537   glibcxx_cv_func__modf_use=yes
55538 else
55539   glibcxx_cv_func__modf_use=no
55540 fi
55541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55542       ac_ext=c
55543 ac_cpp='$CPP $CPPFLAGS'
55544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55547
55548
55549 fi
55550
55551   fi
55552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55553 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55554
55555     if test x$glibcxx_cv_func__modf_use = x"yes"; then
55556       for ac_func in _modf
55557 do :
55558   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55559 if test "x$ac_cv_func__modf" = x""yes; then :
55560   cat >>confdefs.h <<_ACEOF
55561 #define HAVE__MODF 1
55562 _ACEOF
55563
55564 fi
55565 done
55566
55567     fi
55568   fi
55569
55570
55571
55572
55573
55574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55575 $as_echo_n "checking for powf declaration... " >&6; }
55576   if test x${glibcxx_cv_func_powf_use+set} != xset; then
55577     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55578   $as_echo_n "(cached) " >&6
55579 else
55580
55581
55582       ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55587
55588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h.  */
55590 #include <math.h>
55591 int
55592 main ()
55593 {
55594  powf(0, 0);
55595   ;
55596   return 0;
55597 }
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600   glibcxx_cv_func_powf_use=yes
55601 else
55602   glibcxx_cv_func_powf_use=no
55603 fi
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605       ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55610
55611
55612 fi
55613
55614   fi
55615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55616 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55617
55618   if test x$glibcxx_cv_func_powf_use = x"yes"; then
55619     for ac_func in powf
55620 do :
55621   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55622 if test "x$ac_cv_func_powf" = x""yes; then :
55623   cat >>confdefs.h <<_ACEOF
55624 #define HAVE_POWF 1
55625 _ACEOF
55626
55627 fi
55628 done
55629
55630   else
55631
55632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55633 $as_echo_n "checking for _powf declaration... " >&6; }
55634   if test x${glibcxx_cv_func__powf_use+set} != xset; then
55635     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55636   $as_echo_n "(cached) " >&6
55637 else
55638
55639
55640       ac_ext=cpp
55641 ac_cpp='$CXXCPP $CPPFLAGS'
55642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55645
55646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55647 /* end confdefs.h.  */
55648 #include <math.h>
55649 int
55650 main ()
55651 {
55652  _powf(0, 0);
55653   ;
55654   return 0;
55655 }
55656 _ACEOF
55657 if ac_fn_cxx_try_compile "$LINENO"; then :
55658   glibcxx_cv_func__powf_use=yes
55659 else
55660   glibcxx_cv_func__powf_use=no
55661 fi
55662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55663       ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668
55669
55670 fi
55671
55672   fi
55673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55674 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55675
55676     if test x$glibcxx_cv_func__powf_use = x"yes"; then
55677       for ac_func in _powf
55678 do :
55679   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55680 if test "x$ac_cv_func__powf" = x""yes; then :
55681   cat >>confdefs.h <<_ACEOF
55682 #define HAVE__POWF 1
55683 _ACEOF
55684
55685 fi
55686 done
55687
55688     fi
55689   fi
55690
55691
55692
55693
55694
55695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55696 $as_echo_n "checking for sqrtf declaration... " >&6; }
55697   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55698     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55699   $as_echo_n "(cached) " >&6
55700 else
55701
55702
55703       ac_ext=cpp
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708
55709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710 /* end confdefs.h.  */
55711 #include <math.h>
55712                       #ifdef HAVE_IEEEFP_H
55713                       #include <ieeefp.h>
55714                       #endif
55715
55716 int
55717 main ()
55718 {
55719  sqrtf(0);
55720   ;
55721   return 0;
55722 }
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725   glibcxx_cv_func_sqrtf_use=yes
55726 else
55727   glibcxx_cv_func_sqrtf_use=no
55728 fi
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730       ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735
55736
55737 fi
55738
55739   fi
55740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55741 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55742
55743   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55744     for ac_func in sqrtf
55745 do :
55746   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55747 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55748   cat >>confdefs.h <<_ACEOF
55749 #define HAVE_SQRTF 1
55750 _ACEOF
55751
55752 fi
55753 done
55754
55755   else
55756
55757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55758 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55759   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55760     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55761   $as_echo_n "(cached) " >&6
55762 else
55763
55764
55765       ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770
55771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h.  */
55773 #include <math.h>
55774                       #ifdef HAVE_IEEEFP_H
55775                       #include <ieeefp.h>
55776                       #endif
55777
55778 int
55779 main ()
55780 {
55781  _sqrtf(0);
55782   ;
55783   return 0;
55784 }
55785 _ACEOF
55786 if ac_fn_cxx_try_compile "$LINENO"; then :
55787   glibcxx_cv_func__sqrtf_use=yes
55788 else
55789   glibcxx_cv_func__sqrtf_use=no
55790 fi
55791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792       ac_ext=c
55793 ac_cpp='$CPP $CPPFLAGS'
55794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55797
55798
55799 fi
55800
55801   fi
55802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55803 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55804
55805     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55806       for ac_func in _sqrtf
55807 do :
55808   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55809 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55810   cat >>confdefs.h <<_ACEOF
55811 #define HAVE__SQRTF 1
55812 _ACEOF
55813
55814 fi
55815 done
55816
55817     fi
55818   fi
55819
55820
55821
55822
55823
55824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55825 $as_echo_n "checking for sincosf declaration... " >&6; }
55826   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55827     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55828   $as_echo_n "(cached) " >&6
55829 else
55830
55831
55832       ac_ext=cpp
55833 ac_cpp='$CXXCPP $CPPFLAGS'
55834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55837
55838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55839 /* end confdefs.h.  */
55840 #include <math.h>
55841 int
55842 main ()
55843 {
55844  sincosf(0, 0, 0);
55845   ;
55846   return 0;
55847 }
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850   glibcxx_cv_func_sincosf_use=yes
55851 else
55852   glibcxx_cv_func_sincosf_use=no
55853 fi
55854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55855       ac_ext=c
55856 ac_cpp='$CPP $CPPFLAGS'
55857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55860
55861
55862 fi
55863
55864   fi
55865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55866 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55867
55868   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55869     for ac_func in sincosf
55870 do :
55871   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55872 if test "x$ac_cv_func_sincosf" = x""yes; then :
55873   cat >>confdefs.h <<_ACEOF
55874 #define HAVE_SINCOSF 1
55875 _ACEOF
55876
55877 fi
55878 done
55879
55880   else
55881
55882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55883 $as_echo_n "checking for _sincosf declaration... " >&6; }
55884   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55885     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55886   $as_echo_n "(cached) " >&6
55887 else
55888
55889
55890       ac_ext=cpp
55891 ac_cpp='$CXXCPP $CPPFLAGS'
55892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55895
55896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55897 /* end confdefs.h.  */
55898 #include <math.h>
55899 int
55900 main ()
55901 {
55902  _sincosf(0, 0, 0);
55903   ;
55904   return 0;
55905 }
55906 _ACEOF
55907 if ac_fn_cxx_try_compile "$LINENO"; then :
55908   glibcxx_cv_func__sincosf_use=yes
55909 else
55910   glibcxx_cv_func__sincosf_use=no
55911 fi
55912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55913       ac_ext=c
55914 ac_cpp='$CPP $CPPFLAGS'
55915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55918
55919
55920 fi
55921
55922   fi
55923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55924 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55925
55926     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55927       for ac_func in _sincosf
55928 do :
55929   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55930 if test "x$ac_cv_func__sincosf" = x""yes; then :
55931   cat >>confdefs.h <<_ACEOF
55932 #define HAVE__SINCOSF 1
55933 _ACEOF
55934
55935 fi
55936 done
55937
55938     fi
55939   fi
55940
55941
55942
55943
55944
55945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55946 $as_echo_n "checking for finitef declaration... " >&6; }
55947   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55948     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55949   $as_echo_n "(cached) " >&6
55950 else
55951
55952
55953       ac_ext=cpp
55954 ac_cpp='$CXXCPP $CPPFLAGS'
55955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55958
55959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55960 /* end confdefs.h.  */
55961 #include <math.h>
55962                       #ifdef HAVE_IEEEFP_H
55963                       #include <ieeefp.h>
55964                       #endif
55965
55966 int
55967 main ()
55968 {
55969  finitef(0);
55970   ;
55971   return 0;
55972 }
55973 _ACEOF
55974 if ac_fn_cxx_try_compile "$LINENO"; then :
55975   glibcxx_cv_func_finitef_use=yes
55976 else
55977   glibcxx_cv_func_finitef_use=no
55978 fi
55979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55980       ac_ext=c
55981 ac_cpp='$CPP $CPPFLAGS'
55982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55985
55986
55987 fi
55988
55989   fi
55990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55991 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55992
55993   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55994     for ac_func in finitef
55995 do :
55996   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55997 if test "x$ac_cv_func_finitef" = x""yes; then :
55998   cat >>confdefs.h <<_ACEOF
55999 #define HAVE_FINITEF 1
56000 _ACEOF
56001
56002 fi
56003 done
56004
56005   else
56006
56007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56008 $as_echo_n "checking for _finitef declaration... " >&6; }
56009   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56010     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56011   $as_echo_n "(cached) " >&6
56012 else
56013
56014
56015       ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56020
56021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h.  */
56023 #include <math.h>
56024                       #ifdef HAVE_IEEEFP_H
56025                       #include <ieeefp.h>
56026                       #endif
56027
56028 int
56029 main ()
56030 {
56031  _finitef(0);
56032   ;
56033   return 0;
56034 }
56035 _ACEOF
56036 if ac_fn_cxx_try_compile "$LINENO"; then :
56037   glibcxx_cv_func__finitef_use=yes
56038 else
56039   glibcxx_cv_func__finitef_use=no
56040 fi
56041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56042       ac_ext=c
56043 ac_cpp='$CPP $CPPFLAGS'
56044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56047
56048
56049 fi
56050
56051   fi
56052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56053 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56054
56055     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56056       for ac_func in _finitef
56057 do :
56058   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56059 if test "x$ac_cv_func__finitef" = x""yes; then :
56060   cat >>confdefs.h <<_ACEOF
56061 #define HAVE__FINITEF 1
56062 _ACEOF
56063
56064 fi
56065 done
56066
56067     fi
56068   fi
56069
56070
56071
56072
56073
56074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56075 $as_echo_n "checking for long double trig functions... " >&6; }
56076   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56077   $as_echo_n "(cached) " >&6
56078 else
56079
56080
56081     ac_ext=cpp
56082 ac_cpp='$CXXCPP $CPPFLAGS'
56083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56086
56087     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56088 /* end confdefs.h.  */
56089 #include <math.h>
56090 int
56091 main ()
56092 {
56093 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56094   ;
56095   return 0;
56096 }
56097 _ACEOF
56098 if ac_fn_cxx_try_compile "$LINENO"; then :
56099   glibcxx_cv_func_long_double_trig_use=yes
56100 else
56101   glibcxx_cv_func_long_double_trig_use=no
56102 fi
56103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56104     ac_ext=c
56105 ac_cpp='$CPP $CPPFLAGS'
56106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56109
56110 fi
56111
56112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56113 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56114   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56115     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56116 do :
56117   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56119 eval as_val=\$$as_ac_var
56120    if test "x$as_val" = x""yes; then :
56121   cat >>confdefs.h <<_ACEOF
56122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56123 _ACEOF
56124
56125 fi
56126 done
56127
56128   else
56129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56130 $as_echo_n "checking for _long double trig functions... " >&6; }
56131     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56132   $as_echo_n "(cached) " >&6
56133 else
56134
56135
56136       ac_ext=cpp
56137 ac_cpp='$CXXCPP $CPPFLAGS'
56138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56141
56142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56143 /* end confdefs.h.  */
56144 #include <math.h>
56145 int
56146 main ()
56147 {
56148 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56149   ;
56150   return 0;
56151 }
56152 _ACEOF
56153 if ac_fn_cxx_try_compile "$LINENO"; then :
56154   glibcxx_cv_func__long_double_trig_use=yes
56155 else
56156   glibcxx_cv_func__long_double_trig_use=no
56157 fi
56158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56159       ac_ext=c
56160 ac_cpp='$CPP $CPPFLAGS'
56161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164
56165 fi
56166
56167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56168 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56169     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56170       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56171 do :
56172   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56174 eval as_val=\$$as_ac_var
56175    if test "x$as_val" = x""yes; then :
56176   cat >>confdefs.h <<_ACEOF
56177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56178 _ACEOF
56179
56180 fi
56181 done
56182
56183     fi
56184   fi
56185
56186
56187
56188
56189
56190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56191 $as_echo_n "checking for long double round functions... " >&6; }
56192   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56193   $as_echo_n "(cached) " >&6
56194 else
56195
56196
56197     ac_ext=cpp
56198 ac_cpp='$CXXCPP $CPPFLAGS'
56199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56202
56203     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56204 /* end confdefs.h.  */
56205 #include <math.h>
56206 int
56207 main ()
56208 {
56209 ceill (0); floorl (0);
56210   ;
56211   return 0;
56212 }
56213 _ACEOF
56214 if ac_fn_cxx_try_compile "$LINENO"; then :
56215   glibcxx_cv_func_long_double_round_use=yes
56216 else
56217   glibcxx_cv_func_long_double_round_use=no
56218 fi
56219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56220     ac_ext=c
56221 ac_cpp='$CPP $CPPFLAGS'
56222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56225
56226 fi
56227
56228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56229 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56230   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56231     for ac_func in ceill floorl
56232 do :
56233   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56235 eval as_val=\$$as_ac_var
56236    if test "x$as_val" = x""yes; then :
56237   cat >>confdefs.h <<_ACEOF
56238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56239 _ACEOF
56240
56241 fi
56242 done
56243
56244   else
56245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56246 $as_echo_n "checking for _long double round functions... " >&6; }
56247     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56248   $as_echo_n "(cached) " >&6
56249 else
56250
56251
56252       ac_ext=cpp
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56257
56258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h.  */
56260 #include <math.h>
56261 int
56262 main ()
56263 {
56264 _ceill (0); _floorl (0);
56265   ;
56266   return 0;
56267 }
56268 _ACEOF
56269 if ac_fn_cxx_try_compile "$LINENO"; then :
56270   glibcxx_cv_func__long_double_round_use=yes
56271 else
56272   glibcxx_cv_func__long_double_round_use=no
56273 fi
56274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56275       ac_ext=c
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280
56281 fi
56282
56283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56284 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56285     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56286       for ac_func in _ceill _floorl
56287 do :
56288   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56290 eval as_val=\$$as_ac_var
56291    if test "x$as_val" = x""yes; then :
56292   cat >>confdefs.h <<_ACEOF
56293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56294 _ACEOF
56295
56296 fi
56297 done
56298
56299     fi
56300   fi
56301
56302
56303
56304
56305
56306
56307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56308 $as_echo_n "checking for isnanl declaration... " >&6; }
56309   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56310     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56311   $as_echo_n "(cached) " >&6
56312 else
56313
56314
56315       ac_ext=cpp
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56320
56321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h.  */
56323 #include <math.h>
56324                       #ifdef HAVE_IEEEFP_H
56325                       #include <ieeefp.h>
56326                       #endif
56327
56328 int
56329 main ()
56330 {
56331  isnanl(0);
56332   ;
56333   return 0;
56334 }
56335 _ACEOF
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337   glibcxx_cv_func_isnanl_use=yes
56338 else
56339   glibcxx_cv_func_isnanl_use=no
56340 fi
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342       ac_ext=c
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56347
56348
56349 fi
56350
56351   fi
56352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56353 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56354
56355   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56356     for ac_func in isnanl
56357 do :
56358   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56359 if test "x$ac_cv_func_isnanl" = x""yes; then :
56360   cat >>confdefs.h <<_ACEOF
56361 #define HAVE_ISNANL 1
56362 _ACEOF
56363
56364 fi
56365 done
56366
56367   else
56368
56369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56370 $as_echo_n "checking for _isnanl declaration... " >&6; }
56371   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56372     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56373   $as_echo_n "(cached) " >&6
56374 else
56375
56376
56377       ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56382
56383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h.  */
56385 #include <math.h>
56386                       #ifdef HAVE_IEEEFP_H
56387                       #include <ieeefp.h>
56388                       #endif
56389
56390 int
56391 main ()
56392 {
56393  _isnanl(0);
56394   ;
56395   return 0;
56396 }
56397 _ACEOF
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399   glibcxx_cv_func__isnanl_use=yes
56400 else
56401   glibcxx_cv_func__isnanl_use=no
56402 fi
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56404       ac_ext=c
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56409
56410
56411 fi
56412
56413   fi
56414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56415 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56416
56417     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56418       for ac_func in _isnanl
56419 do :
56420   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56421 if test "x$ac_cv_func__isnanl" = x""yes; then :
56422   cat >>confdefs.h <<_ACEOF
56423 #define HAVE__ISNANL 1
56424 _ACEOF
56425
56426 fi
56427 done
56428
56429     fi
56430   fi
56431
56432
56433
56434
56435
56436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56437 $as_echo_n "checking for isinfl declaration... " >&6; }
56438   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56439     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56440   $as_echo_n "(cached) " >&6
56441 else
56442
56443
56444       ac_ext=cpp
56445 ac_cpp='$CXXCPP $CPPFLAGS'
56446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56449
56450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56451 /* end confdefs.h.  */
56452 #include <math.h>
56453                       #ifdef HAVE_IEEEFP_H
56454                       #include <ieeefp.h>
56455                       #endif
56456
56457 int
56458 main ()
56459 {
56460  isinfl(0);
56461   ;
56462   return 0;
56463 }
56464 _ACEOF
56465 if ac_fn_cxx_try_compile "$LINENO"; then :
56466   glibcxx_cv_func_isinfl_use=yes
56467 else
56468   glibcxx_cv_func_isinfl_use=no
56469 fi
56470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56471       ac_ext=c
56472 ac_cpp='$CPP $CPPFLAGS'
56473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56476
56477
56478 fi
56479
56480   fi
56481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56482 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56483
56484   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56485     for ac_func in isinfl
56486 do :
56487   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56488 if test "x$ac_cv_func_isinfl" = x""yes; then :
56489   cat >>confdefs.h <<_ACEOF
56490 #define HAVE_ISINFL 1
56491 _ACEOF
56492
56493 fi
56494 done
56495
56496   else
56497
56498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56499 $as_echo_n "checking for _isinfl declaration... " >&6; }
56500   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56501     if test "${glibcxx_cv_func__isinfl_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 <math.h>
56515                       #ifdef HAVE_IEEEFP_H
56516                       #include <ieeefp.h>
56517                       #endif
56518
56519 int
56520 main ()
56521 {
56522  _isinfl(0);
56523   ;
56524   return 0;
56525 }
56526 _ACEOF
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528   glibcxx_cv_func__isinfl_use=yes
56529 else
56530   glibcxx_cv_func__isinfl_use=no
56531 fi
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56533       ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56538
56539
56540 fi
56541
56542   fi
56543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56544 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56545
56546     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56547       for ac_func in _isinfl
56548 do :
56549   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56550 if test "x$ac_cv_func__isinfl" = x""yes; then :
56551   cat >>confdefs.h <<_ACEOF
56552 #define HAVE__ISINFL 1
56553 _ACEOF
56554
56555 fi
56556 done
56557
56558     fi
56559   fi
56560
56561
56562
56563
56564
56565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56566 $as_echo_n "checking for atan2l declaration... " >&6; }
56567   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56568     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56569   $as_echo_n "(cached) " >&6
56570 else
56571
56572
56573       ac_ext=cpp
56574 ac_cpp='$CXXCPP $CPPFLAGS'
56575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56578
56579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56580 /* end confdefs.h.  */
56581 #include <math.h>
56582 int
56583 main ()
56584 {
56585  atan2l(0, 0);
56586   ;
56587   return 0;
56588 }
56589 _ACEOF
56590 if ac_fn_cxx_try_compile "$LINENO"; then :
56591   glibcxx_cv_func_atan2l_use=yes
56592 else
56593   glibcxx_cv_func_atan2l_use=no
56594 fi
56595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56596       ac_ext=c
56597 ac_cpp='$CPP $CPPFLAGS'
56598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56601
56602
56603 fi
56604
56605   fi
56606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56607 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56608
56609   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56610     for ac_func in atan2l
56611 do :
56612   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56613 if test "x$ac_cv_func_atan2l" = x""yes; then :
56614   cat >>confdefs.h <<_ACEOF
56615 #define HAVE_ATAN2L 1
56616 _ACEOF
56617
56618 fi
56619 done
56620
56621   else
56622
56623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56624 $as_echo_n "checking for _atan2l declaration... " >&6; }
56625   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56626     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56627   $as_echo_n "(cached) " >&6
56628 else
56629
56630
56631       ac_ext=cpp
56632 ac_cpp='$CXXCPP $CPPFLAGS'
56633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56636
56637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56638 /* end confdefs.h.  */
56639 #include <math.h>
56640 int
56641 main ()
56642 {
56643  _atan2l(0, 0);
56644   ;
56645   return 0;
56646 }
56647 _ACEOF
56648 if ac_fn_cxx_try_compile "$LINENO"; then :
56649   glibcxx_cv_func__atan2l_use=yes
56650 else
56651   glibcxx_cv_func__atan2l_use=no
56652 fi
56653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56654       ac_ext=c
56655 ac_cpp='$CPP $CPPFLAGS'
56656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56659
56660
56661 fi
56662
56663   fi
56664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56665 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56666
56667     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56668       for ac_func in _atan2l
56669 do :
56670   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56671 if test "x$ac_cv_func__atan2l" = x""yes; then :
56672   cat >>confdefs.h <<_ACEOF
56673 #define HAVE__ATAN2L 1
56674 _ACEOF
56675
56676 fi
56677 done
56678
56679     fi
56680   fi
56681
56682
56683
56684
56685
56686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56687 $as_echo_n "checking for expl declaration... " >&6; }
56688   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56689     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56690   $as_echo_n "(cached) " >&6
56691 else
56692
56693
56694       ac_ext=cpp
56695 ac_cpp='$CXXCPP $CPPFLAGS'
56696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56699
56700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56701 /* end confdefs.h.  */
56702 #include <math.h>
56703                       #ifdef HAVE_IEEEFP_H
56704                       #include <ieeefp.h>
56705                       #endif
56706
56707 int
56708 main ()
56709 {
56710  expl(0);
56711   ;
56712   return 0;
56713 }
56714 _ACEOF
56715 if ac_fn_cxx_try_compile "$LINENO"; then :
56716   glibcxx_cv_func_expl_use=yes
56717 else
56718   glibcxx_cv_func_expl_use=no
56719 fi
56720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56721       ac_ext=c
56722 ac_cpp='$CPP $CPPFLAGS'
56723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56726
56727
56728 fi
56729
56730   fi
56731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56732 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56733
56734   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56735     for ac_func in expl
56736 do :
56737   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56738 if test "x$ac_cv_func_expl" = x""yes; then :
56739   cat >>confdefs.h <<_ACEOF
56740 #define HAVE_EXPL 1
56741 _ACEOF
56742
56743 fi
56744 done
56745
56746   else
56747
56748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56749 $as_echo_n "checking for _expl declaration... " >&6; }
56750   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56751     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56752   $as_echo_n "(cached) " >&6
56753 else
56754
56755
56756       ac_ext=cpp
56757 ac_cpp='$CXXCPP $CPPFLAGS'
56758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56761
56762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56763 /* end confdefs.h.  */
56764 #include <math.h>
56765                       #ifdef HAVE_IEEEFP_H
56766                       #include <ieeefp.h>
56767                       #endif
56768
56769 int
56770 main ()
56771 {
56772  _expl(0);
56773   ;
56774   return 0;
56775 }
56776 _ACEOF
56777 if ac_fn_cxx_try_compile "$LINENO"; then :
56778   glibcxx_cv_func__expl_use=yes
56779 else
56780   glibcxx_cv_func__expl_use=no
56781 fi
56782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56783       ac_ext=c
56784 ac_cpp='$CPP $CPPFLAGS'
56785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56788
56789
56790 fi
56791
56792   fi
56793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56794 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56795
56796     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56797       for ac_func in _expl
56798 do :
56799   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56800 if test "x$ac_cv_func__expl" = x""yes; then :
56801   cat >>confdefs.h <<_ACEOF
56802 #define HAVE__EXPL 1
56803 _ACEOF
56804
56805 fi
56806 done
56807
56808     fi
56809   fi
56810
56811
56812
56813
56814
56815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56816 $as_echo_n "checking for fabsl declaration... " >&6; }
56817   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56818     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56819   $as_echo_n "(cached) " >&6
56820 else
56821
56822
56823       ac_ext=cpp
56824 ac_cpp='$CXXCPP $CPPFLAGS'
56825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56828
56829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56830 /* end confdefs.h.  */
56831 #include <math.h>
56832                       #ifdef HAVE_IEEEFP_H
56833                       #include <ieeefp.h>
56834                       #endif
56835
56836 int
56837 main ()
56838 {
56839  fabsl(0);
56840   ;
56841   return 0;
56842 }
56843 _ACEOF
56844 if ac_fn_cxx_try_compile "$LINENO"; then :
56845   glibcxx_cv_func_fabsl_use=yes
56846 else
56847   glibcxx_cv_func_fabsl_use=no
56848 fi
56849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56850       ac_ext=c
56851 ac_cpp='$CPP $CPPFLAGS'
56852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56855
56856
56857 fi
56858
56859   fi
56860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56861 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56862
56863   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56864     for ac_func in fabsl
56865 do :
56866   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56867 if test "x$ac_cv_func_fabsl" = x""yes; then :
56868   cat >>confdefs.h <<_ACEOF
56869 #define HAVE_FABSL 1
56870 _ACEOF
56871
56872 fi
56873 done
56874
56875   else
56876
56877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56878 $as_echo_n "checking for _fabsl declaration... " >&6; }
56879   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56880     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56881   $as_echo_n "(cached) " >&6
56882 else
56883
56884
56885       ac_ext=cpp
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56890
56891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h.  */
56893 #include <math.h>
56894                       #ifdef HAVE_IEEEFP_H
56895                       #include <ieeefp.h>
56896                       #endif
56897
56898 int
56899 main ()
56900 {
56901  _fabsl(0);
56902   ;
56903   return 0;
56904 }
56905 _ACEOF
56906 if ac_fn_cxx_try_compile "$LINENO"; then :
56907   glibcxx_cv_func__fabsl_use=yes
56908 else
56909   glibcxx_cv_func__fabsl_use=no
56910 fi
56911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56912       ac_ext=c
56913 ac_cpp='$CPP $CPPFLAGS'
56914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56917
56918
56919 fi
56920
56921   fi
56922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56923 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56924
56925     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56926       for ac_func in _fabsl
56927 do :
56928   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56929 if test "x$ac_cv_func__fabsl" = x""yes; then :
56930   cat >>confdefs.h <<_ACEOF
56931 #define HAVE__FABSL 1
56932 _ACEOF
56933
56934 fi
56935 done
56936
56937     fi
56938   fi
56939
56940
56941
56942
56943
56944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56945 $as_echo_n "checking for fmodl declaration... " >&6; }
56946   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56947     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56948   $as_echo_n "(cached) " >&6
56949 else
56950
56951
56952       ac_ext=cpp
56953 ac_cpp='$CXXCPP $CPPFLAGS'
56954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56957
56958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56959 /* end confdefs.h.  */
56960 #include <math.h>
56961 int
56962 main ()
56963 {
56964  fmodl(0, 0);
56965   ;
56966   return 0;
56967 }
56968 _ACEOF
56969 if ac_fn_cxx_try_compile "$LINENO"; then :
56970   glibcxx_cv_func_fmodl_use=yes
56971 else
56972   glibcxx_cv_func_fmodl_use=no
56973 fi
56974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56975       ac_ext=c
56976 ac_cpp='$CPP $CPPFLAGS'
56977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56980
56981
56982 fi
56983
56984   fi
56985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56986 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56987
56988   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56989     for ac_func in fmodl
56990 do :
56991   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56992 if test "x$ac_cv_func_fmodl" = x""yes; then :
56993   cat >>confdefs.h <<_ACEOF
56994 #define HAVE_FMODL 1
56995 _ACEOF
56996
56997 fi
56998 done
56999
57000   else
57001
57002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57003 $as_echo_n "checking for _fmodl declaration... " >&6; }
57004   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57005     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57006   $as_echo_n "(cached) " >&6
57007 else
57008
57009
57010       ac_ext=cpp
57011 ac_cpp='$CXXCPP $CPPFLAGS'
57012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57015
57016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57017 /* end confdefs.h.  */
57018 #include <math.h>
57019 int
57020 main ()
57021 {
57022  _fmodl(0, 0);
57023   ;
57024   return 0;
57025 }
57026 _ACEOF
57027 if ac_fn_cxx_try_compile "$LINENO"; then :
57028   glibcxx_cv_func__fmodl_use=yes
57029 else
57030   glibcxx_cv_func__fmodl_use=no
57031 fi
57032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57033       ac_ext=c
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57038
57039
57040 fi
57041
57042   fi
57043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57044 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57045
57046     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57047       for ac_func in _fmodl
57048 do :
57049   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57050 if test "x$ac_cv_func__fmodl" = x""yes; then :
57051   cat >>confdefs.h <<_ACEOF
57052 #define HAVE__FMODL 1
57053 _ACEOF
57054
57055 fi
57056 done
57057
57058     fi
57059   fi
57060
57061
57062
57063
57064
57065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57066 $as_echo_n "checking for frexpl declaration... " >&6; }
57067   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57068     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57069   $as_echo_n "(cached) " >&6
57070 else
57071
57072
57073       ac_ext=cpp
57074 ac_cpp='$CXXCPP $CPPFLAGS'
57075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57078
57079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57080 /* end confdefs.h.  */
57081 #include <math.h>
57082 int
57083 main ()
57084 {
57085  frexpl(0, 0);
57086   ;
57087   return 0;
57088 }
57089 _ACEOF
57090 if ac_fn_cxx_try_compile "$LINENO"; then :
57091   glibcxx_cv_func_frexpl_use=yes
57092 else
57093   glibcxx_cv_func_frexpl_use=no
57094 fi
57095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57096       ac_ext=c
57097 ac_cpp='$CPP $CPPFLAGS'
57098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57101
57102
57103 fi
57104
57105   fi
57106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57107 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57108
57109   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57110     for ac_func in frexpl
57111 do :
57112   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57113 if test "x$ac_cv_func_frexpl" = x""yes; then :
57114   cat >>confdefs.h <<_ACEOF
57115 #define HAVE_FREXPL 1
57116 _ACEOF
57117
57118 fi
57119 done
57120
57121   else
57122
57123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57124 $as_echo_n "checking for _frexpl declaration... " >&6; }
57125   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57126     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57127   $as_echo_n "(cached) " >&6
57128 else
57129
57130
57131       ac_ext=cpp
57132 ac_cpp='$CXXCPP $CPPFLAGS'
57133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57136
57137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57138 /* end confdefs.h.  */
57139 #include <math.h>
57140 int
57141 main ()
57142 {
57143  _frexpl(0, 0);
57144   ;
57145   return 0;
57146 }
57147 _ACEOF
57148 if ac_fn_cxx_try_compile "$LINENO"; then :
57149   glibcxx_cv_func__frexpl_use=yes
57150 else
57151   glibcxx_cv_func__frexpl_use=no
57152 fi
57153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57154       ac_ext=c
57155 ac_cpp='$CPP $CPPFLAGS'
57156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57159
57160
57161 fi
57162
57163   fi
57164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57165 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57166
57167     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57168       for ac_func in _frexpl
57169 do :
57170   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57171 if test "x$ac_cv_func__frexpl" = x""yes; then :
57172   cat >>confdefs.h <<_ACEOF
57173 #define HAVE__FREXPL 1
57174 _ACEOF
57175
57176 fi
57177 done
57178
57179     fi
57180   fi
57181
57182
57183
57184
57185
57186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57187 $as_echo_n "checking for hypotl declaration... " >&6; }
57188   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57189     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57190   $as_echo_n "(cached) " >&6
57191 else
57192
57193
57194       ac_ext=cpp
57195 ac_cpp='$CXXCPP $CPPFLAGS'
57196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57199
57200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57201 /* end confdefs.h.  */
57202 #include <math.h>
57203 int
57204 main ()
57205 {
57206  hypotl(0, 0);
57207   ;
57208   return 0;
57209 }
57210 _ACEOF
57211 if ac_fn_cxx_try_compile "$LINENO"; then :
57212   glibcxx_cv_func_hypotl_use=yes
57213 else
57214   glibcxx_cv_func_hypotl_use=no
57215 fi
57216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57217       ac_ext=c
57218 ac_cpp='$CPP $CPPFLAGS'
57219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57222
57223
57224 fi
57225
57226   fi
57227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57228 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57229
57230   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57231     for ac_func in hypotl
57232 do :
57233   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57234 if test "x$ac_cv_func_hypotl" = x""yes; then :
57235   cat >>confdefs.h <<_ACEOF
57236 #define HAVE_HYPOTL 1
57237 _ACEOF
57238
57239 fi
57240 done
57241
57242   else
57243
57244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57245 $as_echo_n "checking for _hypotl declaration... " >&6; }
57246   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57247     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57248   $as_echo_n "(cached) " >&6
57249 else
57250
57251
57252       ac_ext=cpp
57253 ac_cpp='$CXXCPP $CPPFLAGS'
57254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57257
57258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57259 /* end confdefs.h.  */
57260 #include <math.h>
57261 int
57262 main ()
57263 {
57264  _hypotl(0, 0);
57265   ;
57266   return 0;
57267 }
57268 _ACEOF
57269 if ac_fn_cxx_try_compile "$LINENO"; then :
57270   glibcxx_cv_func__hypotl_use=yes
57271 else
57272   glibcxx_cv_func__hypotl_use=no
57273 fi
57274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57275       ac_ext=c
57276 ac_cpp='$CPP $CPPFLAGS'
57277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57280
57281
57282 fi
57283
57284   fi
57285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57286 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57287
57288     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57289       for ac_func in _hypotl
57290 do :
57291   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57292 if test "x$ac_cv_func__hypotl" = x""yes; then :
57293   cat >>confdefs.h <<_ACEOF
57294 #define HAVE__HYPOTL 1
57295 _ACEOF
57296
57297 fi
57298 done
57299
57300     fi
57301   fi
57302
57303
57304
57305
57306
57307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57308 $as_echo_n "checking for ldexpl declaration... " >&6; }
57309   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57310     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57311   $as_echo_n "(cached) " >&6
57312 else
57313
57314
57315       ac_ext=cpp
57316 ac_cpp='$CXXCPP $CPPFLAGS'
57317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57320
57321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57322 /* end confdefs.h.  */
57323 #include <math.h>
57324 int
57325 main ()
57326 {
57327  ldexpl(0, 0);
57328   ;
57329   return 0;
57330 }
57331 _ACEOF
57332 if ac_fn_cxx_try_compile "$LINENO"; then :
57333   glibcxx_cv_func_ldexpl_use=yes
57334 else
57335   glibcxx_cv_func_ldexpl_use=no
57336 fi
57337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57338       ac_ext=c
57339 ac_cpp='$CPP $CPPFLAGS'
57340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57343
57344
57345 fi
57346
57347   fi
57348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57349 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57350
57351   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57352     for ac_func in ldexpl
57353 do :
57354   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57355 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57356   cat >>confdefs.h <<_ACEOF
57357 #define HAVE_LDEXPL 1
57358 _ACEOF
57359
57360 fi
57361 done
57362
57363   else
57364
57365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57366 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57367   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57368     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57369   $as_echo_n "(cached) " >&6
57370 else
57371
57372
57373       ac_ext=cpp
57374 ac_cpp='$CXXCPP $CPPFLAGS'
57375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57378
57379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57380 /* end confdefs.h.  */
57381 #include <math.h>
57382 int
57383 main ()
57384 {
57385  _ldexpl(0, 0);
57386   ;
57387   return 0;
57388 }
57389 _ACEOF
57390 if ac_fn_cxx_try_compile "$LINENO"; then :
57391   glibcxx_cv_func__ldexpl_use=yes
57392 else
57393   glibcxx_cv_func__ldexpl_use=no
57394 fi
57395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57396       ac_ext=c
57397 ac_cpp='$CPP $CPPFLAGS'
57398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57401
57402
57403 fi
57404
57405   fi
57406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57407 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57408
57409     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57410       for ac_func in _ldexpl
57411 do :
57412   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57413 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57414   cat >>confdefs.h <<_ACEOF
57415 #define HAVE__LDEXPL 1
57416 _ACEOF
57417
57418 fi
57419 done
57420
57421     fi
57422   fi
57423
57424
57425
57426
57427
57428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57429 $as_echo_n "checking for logl declaration... " >&6; }
57430   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57431     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57432   $as_echo_n "(cached) " >&6
57433 else
57434
57435
57436       ac_ext=cpp
57437 ac_cpp='$CXXCPP $CPPFLAGS'
57438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57441
57442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57443 /* end confdefs.h.  */
57444 #include <math.h>
57445                       #ifdef HAVE_IEEEFP_H
57446                       #include <ieeefp.h>
57447                       #endif
57448
57449 int
57450 main ()
57451 {
57452  logl(0);
57453   ;
57454   return 0;
57455 }
57456 _ACEOF
57457 if ac_fn_cxx_try_compile "$LINENO"; then :
57458   glibcxx_cv_func_logl_use=yes
57459 else
57460   glibcxx_cv_func_logl_use=no
57461 fi
57462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57463       ac_ext=c
57464 ac_cpp='$CPP $CPPFLAGS'
57465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57468
57469
57470 fi
57471
57472   fi
57473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57474 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57475
57476   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57477     for ac_func in logl
57478 do :
57479   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57480 if test "x$ac_cv_func_logl" = x""yes; then :
57481   cat >>confdefs.h <<_ACEOF
57482 #define HAVE_LOGL 1
57483 _ACEOF
57484
57485 fi
57486 done
57487
57488   else
57489
57490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57491 $as_echo_n "checking for _logl declaration... " >&6; }
57492   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57493     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57494   $as_echo_n "(cached) " >&6
57495 else
57496
57497
57498       ac_ext=cpp
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57503
57504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h.  */
57506 #include <math.h>
57507                       #ifdef HAVE_IEEEFP_H
57508                       #include <ieeefp.h>
57509                       #endif
57510
57511 int
57512 main ()
57513 {
57514  _logl(0);
57515   ;
57516   return 0;
57517 }
57518 _ACEOF
57519 if ac_fn_cxx_try_compile "$LINENO"; then :
57520   glibcxx_cv_func__logl_use=yes
57521 else
57522   glibcxx_cv_func__logl_use=no
57523 fi
57524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57525       ac_ext=c
57526 ac_cpp='$CPP $CPPFLAGS'
57527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57530
57531
57532 fi
57533
57534   fi
57535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57536 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57537
57538     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57539       for ac_func in _logl
57540 do :
57541   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57542 if test "x$ac_cv_func__logl" = x""yes; then :
57543   cat >>confdefs.h <<_ACEOF
57544 #define HAVE__LOGL 1
57545 _ACEOF
57546
57547 fi
57548 done
57549
57550     fi
57551   fi
57552
57553
57554
57555
57556
57557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57558 $as_echo_n "checking for log10l declaration... " >&6; }
57559   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57560     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57561   $as_echo_n "(cached) " >&6
57562 else
57563
57564
57565       ac_ext=cpp
57566 ac_cpp='$CXXCPP $CPPFLAGS'
57567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57570
57571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57572 /* end confdefs.h.  */
57573 #include <math.h>
57574                       #ifdef HAVE_IEEEFP_H
57575                       #include <ieeefp.h>
57576                       #endif
57577
57578 int
57579 main ()
57580 {
57581  log10l(0);
57582   ;
57583   return 0;
57584 }
57585 _ACEOF
57586 if ac_fn_cxx_try_compile "$LINENO"; then :
57587   glibcxx_cv_func_log10l_use=yes
57588 else
57589   glibcxx_cv_func_log10l_use=no
57590 fi
57591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57592       ac_ext=c
57593 ac_cpp='$CPP $CPPFLAGS'
57594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57597
57598
57599 fi
57600
57601   fi
57602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57603 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57604
57605   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57606     for ac_func in log10l
57607 do :
57608   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57609 if test "x$ac_cv_func_log10l" = x""yes; then :
57610   cat >>confdefs.h <<_ACEOF
57611 #define HAVE_LOG10L 1
57612 _ACEOF
57613
57614 fi
57615 done
57616
57617   else
57618
57619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57620 $as_echo_n "checking for _log10l declaration... " >&6; }
57621   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57622     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57623   $as_echo_n "(cached) " >&6
57624 else
57625
57626
57627       ac_ext=cpp
57628 ac_cpp='$CXXCPP $CPPFLAGS'
57629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57632
57633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57634 /* end confdefs.h.  */
57635 #include <math.h>
57636                       #ifdef HAVE_IEEEFP_H
57637                       #include <ieeefp.h>
57638                       #endif
57639
57640 int
57641 main ()
57642 {
57643  _log10l(0);
57644   ;
57645   return 0;
57646 }
57647 _ACEOF
57648 if ac_fn_cxx_try_compile "$LINENO"; then :
57649   glibcxx_cv_func__log10l_use=yes
57650 else
57651   glibcxx_cv_func__log10l_use=no
57652 fi
57653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57654       ac_ext=c
57655 ac_cpp='$CPP $CPPFLAGS'
57656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57659
57660
57661 fi
57662
57663   fi
57664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57665 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57666
57667     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57668       for ac_func in _log10l
57669 do :
57670   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57671 if test "x$ac_cv_func__log10l" = x""yes; then :
57672   cat >>confdefs.h <<_ACEOF
57673 #define HAVE__LOG10L 1
57674 _ACEOF
57675
57676 fi
57677 done
57678
57679     fi
57680   fi
57681
57682
57683
57684
57685
57686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57687 $as_echo_n "checking for modfl declaration... " >&6; }
57688   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57689     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57690   $as_echo_n "(cached) " >&6
57691 else
57692
57693
57694       ac_ext=cpp
57695 ac_cpp='$CXXCPP $CPPFLAGS'
57696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57699
57700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57701 /* end confdefs.h.  */
57702 #include <math.h>
57703 int
57704 main ()
57705 {
57706  modfl(0, 0);
57707   ;
57708   return 0;
57709 }
57710 _ACEOF
57711 if ac_fn_cxx_try_compile "$LINENO"; then :
57712   glibcxx_cv_func_modfl_use=yes
57713 else
57714   glibcxx_cv_func_modfl_use=no
57715 fi
57716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57717       ac_ext=c
57718 ac_cpp='$CPP $CPPFLAGS'
57719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57722
57723
57724 fi
57725
57726   fi
57727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57728 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57729
57730   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57731     for ac_func in modfl
57732 do :
57733   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57734 if test "x$ac_cv_func_modfl" = x""yes; then :
57735   cat >>confdefs.h <<_ACEOF
57736 #define HAVE_MODFL 1
57737 _ACEOF
57738
57739 fi
57740 done
57741
57742   else
57743
57744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57745 $as_echo_n "checking for _modfl declaration... " >&6; }
57746   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57747     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57748   $as_echo_n "(cached) " >&6
57749 else
57750
57751
57752       ac_ext=cpp
57753 ac_cpp='$CXXCPP $CPPFLAGS'
57754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57757
57758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759 /* end confdefs.h.  */
57760 #include <math.h>
57761 int
57762 main ()
57763 {
57764  _modfl(0, 0);
57765   ;
57766   return 0;
57767 }
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770   glibcxx_cv_func__modfl_use=yes
57771 else
57772   glibcxx_cv_func__modfl_use=no
57773 fi
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775       ac_ext=c
57776 ac_cpp='$CPP $CPPFLAGS'
57777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780
57781
57782 fi
57783
57784   fi
57785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57786 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57787
57788     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57789       for ac_func in _modfl
57790 do :
57791   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57792 if test "x$ac_cv_func__modfl" = x""yes; then :
57793   cat >>confdefs.h <<_ACEOF
57794 #define HAVE__MODFL 1
57795 _ACEOF
57796
57797 fi
57798 done
57799
57800     fi
57801   fi
57802
57803
57804
57805
57806
57807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57808 $as_echo_n "checking for powl declaration... " >&6; }
57809   if test x${glibcxx_cv_func_powl_use+set} != xset; then
57810     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57811   $as_echo_n "(cached) " >&6
57812 else
57813
57814
57815       ac_ext=cpp
57816 ac_cpp='$CXXCPP $CPPFLAGS'
57817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57820
57821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57822 /* end confdefs.h.  */
57823 #include <math.h>
57824 int
57825 main ()
57826 {
57827  powl(0, 0);
57828   ;
57829   return 0;
57830 }
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833   glibcxx_cv_func_powl_use=yes
57834 else
57835   glibcxx_cv_func_powl_use=no
57836 fi
57837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57838       ac_ext=c
57839 ac_cpp='$CPP $CPPFLAGS'
57840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57843
57844
57845 fi
57846
57847   fi
57848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57849 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57850
57851   if test x$glibcxx_cv_func_powl_use = x"yes"; then
57852     for ac_func in powl
57853 do :
57854   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57855 if test "x$ac_cv_func_powl" = x""yes; then :
57856   cat >>confdefs.h <<_ACEOF
57857 #define HAVE_POWL 1
57858 _ACEOF
57859
57860 fi
57861 done
57862
57863   else
57864
57865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57866 $as_echo_n "checking for _powl declaration... " >&6; }
57867   if test x${glibcxx_cv_func__powl_use+set} != xset; then
57868     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57869   $as_echo_n "(cached) " >&6
57870 else
57871
57872
57873       ac_ext=cpp
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878
57879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h.  */
57881 #include <math.h>
57882 int
57883 main ()
57884 {
57885  _powl(0, 0);
57886   ;
57887   return 0;
57888 }
57889 _ACEOF
57890 if ac_fn_cxx_try_compile "$LINENO"; then :
57891   glibcxx_cv_func__powl_use=yes
57892 else
57893   glibcxx_cv_func__powl_use=no
57894 fi
57895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896       ac_ext=c
57897 ac_cpp='$CPP $CPPFLAGS'
57898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57901
57902
57903 fi
57904
57905   fi
57906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57907 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57908
57909     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57910       for ac_func in _powl
57911 do :
57912   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57913 if test "x$ac_cv_func__powl" = x""yes; then :
57914   cat >>confdefs.h <<_ACEOF
57915 #define HAVE__POWL 1
57916 _ACEOF
57917
57918 fi
57919 done
57920
57921     fi
57922   fi
57923
57924
57925
57926
57927
57928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57929 $as_echo_n "checking for sqrtl declaration... " >&6; }
57930   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57931     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57932   $as_echo_n "(cached) " >&6
57933 else
57934
57935
57936       ac_ext=cpp
57937 ac_cpp='$CXXCPP $CPPFLAGS'
57938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57941
57942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57943 /* end confdefs.h.  */
57944 #include <math.h>
57945                       #ifdef HAVE_IEEEFP_H
57946                       #include <ieeefp.h>
57947                       #endif
57948
57949 int
57950 main ()
57951 {
57952  sqrtl(0);
57953   ;
57954   return 0;
57955 }
57956 _ACEOF
57957 if ac_fn_cxx_try_compile "$LINENO"; then :
57958   glibcxx_cv_func_sqrtl_use=yes
57959 else
57960   glibcxx_cv_func_sqrtl_use=no
57961 fi
57962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57963       ac_ext=c
57964 ac_cpp='$CPP $CPPFLAGS'
57965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57968
57969
57970 fi
57971
57972   fi
57973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57974 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57975
57976   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57977     for ac_func in sqrtl
57978 do :
57979   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57980 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57981   cat >>confdefs.h <<_ACEOF
57982 #define HAVE_SQRTL 1
57983 _ACEOF
57984
57985 fi
57986 done
57987
57988   else
57989
57990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57991 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57992   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57993     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57994   $as_echo_n "(cached) " >&6
57995 else
57996
57997
57998       ac_ext=cpp
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003
58004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58005 /* end confdefs.h.  */
58006 #include <math.h>
58007                       #ifdef HAVE_IEEEFP_H
58008                       #include <ieeefp.h>
58009                       #endif
58010
58011 int
58012 main ()
58013 {
58014  _sqrtl(0);
58015   ;
58016   return 0;
58017 }
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020   glibcxx_cv_func__sqrtl_use=yes
58021 else
58022   glibcxx_cv_func__sqrtl_use=no
58023 fi
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025       ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58030
58031
58032 fi
58033
58034   fi
58035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58036 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58037
58038     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58039       for ac_func in _sqrtl
58040 do :
58041   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58042 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58043   cat >>confdefs.h <<_ACEOF
58044 #define HAVE__SQRTL 1
58045 _ACEOF
58046
58047 fi
58048 done
58049
58050     fi
58051   fi
58052
58053
58054
58055
58056
58057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58058 $as_echo_n "checking for sincosl declaration... " >&6; }
58059   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58060     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58061   $as_echo_n "(cached) " >&6
58062 else
58063
58064
58065       ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070
58071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h.  */
58073 #include <math.h>
58074 int
58075 main ()
58076 {
58077  sincosl(0, 0, 0);
58078   ;
58079   return 0;
58080 }
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083   glibcxx_cv_func_sincosl_use=yes
58084 else
58085   glibcxx_cv_func_sincosl_use=no
58086 fi
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088       ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58093
58094
58095 fi
58096
58097   fi
58098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58099 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58100
58101   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58102     for ac_func in sincosl
58103 do :
58104   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58105 if test "x$ac_cv_func_sincosl" = x""yes; then :
58106   cat >>confdefs.h <<_ACEOF
58107 #define HAVE_SINCOSL 1
58108 _ACEOF
58109
58110 fi
58111 done
58112
58113   else
58114
58115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58116 $as_echo_n "checking for _sincosl declaration... " >&6; }
58117   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58118     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58119   $as_echo_n "(cached) " >&6
58120 else
58121
58122
58123       ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58128
58129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h.  */
58131 #include <math.h>
58132 int
58133 main ()
58134 {
58135  _sincosl(0, 0, 0);
58136   ;
58137   return 0;
58138 }
58139 _ACEOF
58140 if ac_fn_cxx_try_compile "$LINENO"; then :
58141   glibcxx_cv_func__sincosl_use=yes
58142 else
58143   glibcxx_cv_func__sincosl_use=no
58144 fi
58145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58146       ac_ext=c
58147 ac_cpp='$CPP $CPPFLAGS'
58148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58151
58152
58153 fi
58154
58155   fi
58156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58157 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58158
58159     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58160       for ac_func in _sincosl
58161 do :
58162   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58163 if test "x$ac_cv_func__sincosl" = x""yes; then :
58164   cat >>confdefs.h <<_ACEOF
58165 #define HAVE__SINCOSL 1
58166 _ACEOF
58167
58168 fi
58169 done
58170
58171     fi
58172   fi
58173
58174
58175
58176
58177
58178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58179 $as_echo_n "checking for finitel declaration... " >&6; }
58180   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58181     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58182   $as_echo_n "(cached) " >&6
58183 else
58184
58185
58186       ac_ext=cpp
58187 ac_cpp='$CXXCPP $CPPFLAGS'
58188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58191
58192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58193 /* end confdefs.h.  */
58194 #include <math.h>
58195                       #ifdef HAVE_IEEEFP_H
58196                       #include <ieeefp.h>
58197                       #endif
58198
58199 int
58200 main ()
58201 {
58202  finitel(0);
58203   ;
58204   return 0;
58205 }
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208   glibcxx_cv_func_finitel_use=yes
58209 else
58210   glibcxx_cv_func_finitel_use=no
58211 fi
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213       ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58218
58219
58220 fi
58221
58222   fi
58223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58224 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58225
58226   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58227     for ac_func in finitel
58228 do :
58229   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58230 if test "x$ac_cv_func_finitel" = x""yes; then :
58231   cat >>confdefs.h <<_ACEOF
58232 #define HAVE_FINITEL 1
58233 _ACEOF
58234
58235 fi
58236 done
58237
58238   else
58239
58240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58241 $as_echo_n "checking for _finitel declaration... " >&6; }
58242   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58243     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58244   $as_echo_n "(cached) " >&6
58245 else
58246
58247
58248       ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253
58254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h.  */
58256 #include <math.h>
58257                       #ifdef HAVE_IEEEFP_H
58258                       #include <ieeefp.h>
58259                       #endif
58260
58261 int
58262 main ()
58263 {
58264  _finitel(0);
58265   ;
58266   return 0;
58267 }
58268 _ACEOF
58269 if ac_fn_cxx_try_compile "$LINENO"; then :
58270   glibcxx_cv_func__finitel_use=yes
58271 else
58272   glibcxx_cv_func__finitel_use=no
58273 fi
58274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58275       ac_ext=c
58276 ac_cpp='$CPP $CPPFLAGS'
58277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58280
58281
58282 fi
58283
58284   fi
58285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58286 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58287
58288     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58289       for ac_func in _finitel
58290 do :
58291   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58292 if test "x$ac_cv_func__finitel" = x""yes; then :
58293   cat >>confdefs.h <<_ACEOF
58294 #define HAVE__FINITEL 1
58295 _ACEOF
58296
58297 fi
58298 done
58299
58300     fi
58301   fi
58302
58303
58304
58305
58306   LIBS="$ac_save_LIBS"
58307   CXXFLAGS="$ac_save_CXXFLAGS"
58308
58309
58310   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58311   ac_save_CXXFLAGS="$CXXFLAGS"
58312   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58313
58314
58315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58316 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58317   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58318     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58319   $as_echo_n "(cached) " >&6
58320 else
58321
58322
58323       ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328
58329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h.  */
58331 #include <stdlib.h>
58332 int
58333 main ()
58334 {
58335  at_quick_exit(0);
58336   ;
58337   return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341   glibcxx_cv_func_at_quick_exit_use=yes
58342 else
58343   glibcxx_cv_func_at_quick_exit_use=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346       ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353 fi
58354
58355   fi
58356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58357 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58358   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58359     for ac_func in at_quick_exit
58360 do :
58361   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58362 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58363   cat >>confdefs.h <<_ACEOF
58364 #define HAVE_AT_QUICK_EXIT 1
58365 _ACEOF
58366
58367 fi
58368 done
58369
58370   fi
58371
58372
58373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58374 $as_echo_n "checking for quick_exit declaration... " >&6; }
58375   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58376     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58377   $as_echo_n "(cached) " >&6
58378 else
58379
58380
58381       ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h.  */
58389 #include <stdlib.h>
58390 int
58391 main ()
58392 {
58393  quick_exit(0);
58394   ;
58395   return 0;
58396 }
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399   glibcxx_cv_func_quick_exit_use=yes
58400 else
58401   glibcxx_cv_func_quick_exit_use=no
58402 fi
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404       ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58409
58410
58411 fi
58412
58413   fi
58414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58415 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58416   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58417     for ac_func in quick_exit
58418 do :
58419   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58420 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58421   cat >>confdefs.h <<_ACEOF
58422 #define HAVE_QUICK_EXIT 1
58423 _ACEOF
58424
58425 fi
58426 done
58427
58428   fi
58429
58430
58431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58432 $as_echo_n "checking for strtold declaration... " >&6; }
58433   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58434     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58435   $as_echo_n "(cached) " >&6
58436 else
58437
58438
58439       ac_ext=cpp
58440 ac_cpp='$CXXCPP $CPPFLAGS'
58441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58444
58445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58446 /* end confdefs.h.  */
58447 #include <stdlib.h>
58448 int
58449 main ()
58450 {
58451  strtold(0, 0);
58452   ;
58453   return 0;
58454 }
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457   glibcxx_cv_func_strtold_use=yes
58458 else
58459   glibcxx_cv_func_strtold_use=no
58460 fi
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462       ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58467
58468
58469 fi
58470
58471   fi
58472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58473 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58474   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58475     for ac_func in strtold
58476 do :
58477   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58478 if test "x$ac_cv_func_strtold" = x""yes; then :
58479   cat >>confdefs.h <<_ACEOF
58480 #define HAVE_STRTOLD 1
58481 _ACEOF
58482
58483 fi
58484 done
58485
58486   fi
58487
58488
58489
58490
58491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58492 $as_echo_n "checking for strtof declaration... " >&6; }
58493   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58494     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58495   $as_echo_n "(cached) " >&6
58496 else
58497
58498
58499       ac_ext=cpp
58500 ac_cpp='$CXXCPP $CPPFLAGS'
58501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58504
58505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58506 /* end confdefs.h.  */
58507 #include <stdlib.h>
58508 int
58509 main ()
58510 {
58511  strtof(0, 0);
58512   ;
58513   return 0;
58514 }
58515 _ACEOF
58516 if ac_fn_cxx_try_compile "$LINENO"; then :
58517   glibcxx_cv_func_strtof_use=yes
58518 else
58519   glibcxx_cv_func_strtof_use=no
58520 fi
58521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58522       ac_ext=c
58523 ac_cpp='$CPP $CPPFLAGS'
58524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58527
58528
58529 fi
58530
58531   fi
58532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58533 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58534   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58535     for ac_func in strtof
58536 do :
58537   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58538 if test "x$ac_cv_func_strtof" = x""yes; then :
58539   cat >>confdefs.h <<_ACEOF
58540 #define HAVE_STRTOF 1
58541 _ACEOF
58542
58543 fi
58544 done
58545
58546   fi
58547
58548
58549
58550
58551   CXXFLAGS="$ac_save_CXXFLAGS"
58552
58553     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58554
58555
58556
58557    # Check whether --enable-tls was given.
58558 if test "${enable_tls+set}" = set; then :
58559   enableval=$enable_tls;
58560       case "$enableval" in
58561        yes|no) ;;
58562        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58563       esac
58564
58565 else
58566   enable_tls=yes
58567 fi
58568
58569
58570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58571 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58572 if test "${gcc_cv_have_tls+set}" = set; then :
58573   $as_echo_n "(cached) " >&6
58574 else
58575
58576     if test "$cross_compiling" = yes; then :
58577                 if test x$gcc_no_link = xyes; then
58578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58579 fi
58580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58581 /* end confdefs.h.  */
58582 __thread int a; int b; int main() { return a = b; }
58583 _ACEOF
58584 if ac_fn_c_try_link "$LINENO"; then :
58585   chktls_save_LDFLAGS="$LDFLAGS"
58586                           case $host in
58587             *-*-linux*)
58588               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58589               ;;
58590           esac
58591           chktls_save_CFLAGS="$CFLAGS"
58592           CFLAGS="-fPIC $CFLAGS"
58593                   if test x$gcc_no_link = xyes; then
58594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58595 fi
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h.  */
58598 int f() { return 0; }
58599 _ACEOF
58600 if ac_fn_c_try_link "$LINENO"; then :
58601   if test x$gcc_no_link = xyes; then
58602   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58603 fi
58604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58605 /* end confdefs.h.  */
58606 __thread int a; int b; int f() { return a = b; }
58607 _ACEOF
58608 if ac_fn_c_try_link "$LINENO"; then :
58609   gcc_cv_have_tls=yes
58610 else
58611   gcc_cv_have_tls=no
58612 fi
58613 rm -f core conftest.err conftest.$ac_objext \
58614     conftest$ac_exeext conftest.$ac_ext
58615 else
58616   gcc_cv_have_tls=yes
58617 fi
58618 rm -f core conftest.err conftest.$ac_objext \
58619     conftest$ac_exeext conftest.$ac_ext
58620           CFLAGS="$chktls_save_CFLAGS"
58621           LDFLAGS="$chktls_save_LDFLAGS"
58622 else
58623   gcc_cv_have_tls=no
58624 fi
58625 rm -f core conftest.err conftest.$ac_objext \
58626     conftest$ac_exeext conftest.$ac_ext
58627
58628
58629 else
58630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58631 /* end confdefs.h.  */
58632 __thread int a; int b; int main() { return a = b; }
58633 _ACEOF
58634 if ac_fn_c_try_run "$LINENO"; then :
58635                       chktls_save_LDFLAGS="$LDFLAGS"
58636       LDFLAGS="-static $LDFLAGS"
58637       if test x$gcc_no_link = xyes; then
58638   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58639 fi
58640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58641 /* end confdefs.h.  */
58642 int main() { return 0; }
58643 _ACEOF
58644 if ac_fn_c_try_link "$LINENO"; then :
58645   if test "$cross_compiling" = yes; then :
58646   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58648 as_fn_error "cannot run test program while cross compiling
58649 See \`config.log' for more details." "$LINENO" 5; }
58650 else
58651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h.  */
58653 __thread int a; int b; int main() { return a = b; }
58654 _ACEOF
58655 if ac_fn_c_try_run "$LINENO"; then :
58656   gcc_cv_have_tls=yes
58657 else
58658   gcc_cv_have_tls=no
58659 fi
58660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58661   conftest.$ac_objext conftest.beam conftest.$ac_ext
58662 fi
58663
58664 else
58665   gcc_cv_have_tls=yes
58666 fi
58667 rm -f core conftest.err conftest.$ac_objext \
58668     conftest$ac_exeext conftest.$ac_ext
58669       LDFLAGS="$chktls_save_LDFLAGS"
58670       if test $gcc_cv_have_tls = yes; then
58671                                                 chktls_save_CFLAGS="$CFLAGS"
58672         thread_CFLAGS=failed
58673         for flag in '' '-pthread' '-lpthread'; do
58674           CFLAGS="$flag $chktls_save_CFLAGS"
58675           if test x$gcc_no_link = xyes; then
58676   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58677 fi
58678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58679 /* end confdefs.h.  */
58680 #include <pthread.h>
58681                 void *g(void *d) { return NULL; }
58682 int
58683 main ()
58684 {
58685 pthread_t t; pthread_create(&t,NULL,g,NULL);
58686   ;
58687   return 0;
58688 }
58689 _ACEOF
58690 if ac_fn_c_try_link "$LINENO"; then :
58691   thread_CFLAGS="$flag"
58692 fi
58693 rm -f core conftest.err conftest.$ac_objext \
58694     conftest$ac_exeext conftest.$ac_ext
58695           if test "X$thread_CFLAGS" != Xfailed; then
58696             break
58697           fi
58698         done
58699         CFLAGS="$chktls_save_CFLAGS"
58700         if test "X$thread_CFLAGS" != Xfailed; then
58701           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58702                                                   if test "$cross_compiling" = yes; then :
58703   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58705 as_fn_error "cannot run test program while cross compiling
58706 See \`config.log' for more details." "$LINENO" 5; }
58707 else
58708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58709 /* end confdefs.h.  */
58710 #include <pthread.h>
58711                 __thread int a;
58712                 static int *volatile a_in_other_thread;
58713                 static void *
58714                 thread_func (void *arg)
58715                 {
58716                   a_in_other_thread = &a;
58717                   return (void *)0;
58718                 }
58719 int
58720 main ()
58721 {
58722 pthread_t thread;
58723                 void *thread_retval;
58724                 int *volatile a_in_main_thread;
58725                 a_in_main_thread = &a;
58726                 if (pthread_create (&thread, (pthread_attr_t *)0,
58727                                     thread_func, (void *)0))
58728                   return 0;
58729                 if (pthread_join (thread, &thread_retval))
58730                   return 0;
58731                 return (a_in_other_thread == a_in_main_thread);
58732   ;
58733   return 0;
58734 }
58735 _ACEOF
58736 if ac_fn_c_try_run "$LINENO"; then :
58737   gcc_cv_have_tls=yes
58738 else
58739   gcc_cv_have_tls=no
58740 fi
58741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58742   conftest.$ac_objext conftest.beam conftest.$ac_ext
58743 fi
58744
58745           CFLAGS="$chktls_save_CFLAGS"
58746         fi
58747       fi
58748 else
58749   gcc_cv_have_tls=no
58750 fi
58751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58752   conftest.$ac_objext conftest.beam conftest.$ac_ext
58753 fi
58754
58755 fi
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58757 $as_echo "$gcc_cv_have_tls" >&6; }
58758   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58759
58760 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58761
58762   fi
58763
58764
58765
58766
58767
58768           am_save_CPPFLAGS="$CPPFLAGS"
58769
58770   for element in $INCICONV; do
58771     haveit=
58772     for x in $CPPFLAGS; do
58773
58774   acl_save_prefix="$prefix"
58775   prefix="$acl_final_prefix"
58776   acl_save_exec_prefix="$exec_prefix"
58777   exec_prefix="$acl_final_exec_prefix"
58778   eval x=\"$x\"
58779   exec_prefix="$acl_save_exec_prefix"
58780   prefix="$acl_save_prefix"
58781
58782       if test "X$x" = "X$element"; then
58783         haveit=yes
58784         break
58785       fi
58786     done
58787     if test -z "$haveit"; then
58788       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58789     fi
58790   done
58791
58792
58793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58794 $as_echo_n "checking for iconv... " >&6; }
58795 if test "${am_cv_func_iconv+set}" = set; then :
58796   $as_echo_n "(cached) " >&6
58797 else
58798
58799     am_cv_func_iconv="no, consider installing GNU libiconv"
58800     am_cv_lib_iconv=no
58801     if test x$gcc_no_link = xyes; then
58802   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58803 fi
58804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58805 /* end confdefs.h.  */
58806 #include <stdlib.h>
58807 #include <iconv.h>
58808 int
58809 main ()
58810 {
58811 iconv_t cd = iconv_open("","");
58812        iconv(cd,NULL,NULL,NULL,NULL);
58813        iconv_close(cd);
58814   ;
58815   return 0;
58816 }
58817 _ACEOF
58818 if ac_fn_c_try_link "$LINENO"; then :
58819   am_cv_func_iconv=yes
58820 fi
58821 rm -f core conftest.err conftest.$ac_objext \
58822     conftest$ac_exeext conftest.$ac_ext
58823     if test "$am_cv_func_iconv" != yes; then
58824       am_save_LIBS="$LIBS"
58825       LIBS="$LIBS $LIBICONV"
58826       if test x$gcc_no_link = xyes; then
58827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58828 fi
58829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58830 /* end confdefs.h.  */
58831 #include <stdlib.h>
58832 #include <iconv.h>
58833 int
58834 main ()
58835 {
58836 iconv_t cd = iconv_open("","");
58837          iconv(cd,NULL,NULL,NULL,NULL);
58838          iconv_close(cd);
58839   ;
58840   return 0;
58841 }
58842 _ACEOF
58843 if ac_fn_c_try_link "$LINENO"; then :
58844   am_cv_lib_iconv=yes
58845         am_cv_func_iconv=yes
58846 fi
58847 rm -f core conftest.err conftest.$ac_objext \
58848     conftest$ac_exeext conftest.$ac_ext
58849       LIBS="$am_save_LIBS"
58850     fi
58851
58852 fi
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58854 $as_echo "$am_cv_func_iconv" >&6; }
58855   if test "$am_cv_func_iconv" = yes; then
58856
58857 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58858
58859   fi
58860   if test "$am_cv_lib_iconv" = yes; then
58861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58862 $as_echo_n "checking how to link with libiconv... " >&6; }
58863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58864 $as_echo "$LIBICONV" >&6; }
58865   else
58866             CPPFLAGS="$am_save_CPPFLAGS"
58867     LIBICONV=
58868     LTLIBICONV=
58869   fi
58870
58871
58872
58873   if test "$am_cv_func_iconv" = yes; then
58874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58875 $as_echo_n "checking for iconv declaration... " >&6; }
58876     if test "${am_cv_proto_iconv+set}" = set; then :
58877   $as_echo_n "(cached) " >&6
58878 else
58879
58880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h.  */
58882
58883 #include <stdlib.h>
58884 #include <iconv.h>
58885 extern
58886 #ifdef __cplusplus
58887 "C"
58888 #endif
58889 #if defined(__STDC__) || defined(__cplusplus)
58890 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58891 #else
58892 size_t iconv();
58893 #endif
58894
58895 int
58896 main ()
58897 {
58898
58899   ;
58900   return 0;
58901 }
58902 _ACEOF
58903 if ac_fn_c_try_compile "$LINENO"; then :
58904   am_cv_proto_iconv_arg1=""
58905 else
58906   am_cv_proto_iconv_arg1="const"
58907 fi
58908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58909       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);"
58910 fi
58911
58912     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58913     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58914          }$am_cv_proto_iconv" >&5
58915 $as_echo "${ac_t:-
58916          }$am_cv_proto_iconv" >&6; }
58917
58918 cat >>confdefs.h <<_ACEOF
58919 #define ICONV_CONST $am_cv_proto_iconv_arg1
58920 _ACEOF
58921
58922   fi
58923
58924     ;;
58925   *-mingw32*)
58926
58927   # If we're not using GNU ld, then there's no point in even trying these
58928   # tests.  Check for that first.  We should have already tested for gld
58929   # by now (in libtool), but require it now just to be safe...
58930   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58931   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58932
58933
58934
58935   # The name set by libtool depends on the version of libtool.  Shame on us
58936   # for depending on an impl detail, but c'est la vie.  Older versions used
58937   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58938   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58939   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
58940   # set (hence we're using an older libtool), then set it.
58941   if test x${with_gnu_ld+set} != xset; then
58942     if test x${ac_cv_prog_gnu_ld+set} != xset; then
58943       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
58944       with_gnu_ld=no
58945     else
58946       with_gnu_ld=$ac_cv_prog_gnu_ld
58947     fi
58948   fi
58949
58950   # Start by getting the version number.  I think the libtool test already
58951   # does some of this, but throws away the result.
58952   glibcxx_ld_is_gold=no
58953   if test x"$with_gnu_ld" = x"yes"; then
58954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58955 $as_echo_n "checking for ld version... " >&6; }
58956
58957     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58958       glibcxx_ld_is_gold=yes
58959     fi
58960     ldver=`$LD --version 2>/dev/null |
58961            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'`
58962
58963     glibcxx_gnu_ld_version=`echo $ldver | \
58964            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58967   fi
58968
58969   # Set --gc-sections.
58970   glibcxx_have_gc_sections=no
58971   if test "$glibcxx_ld_is_gold" = "yes"; then
58972     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58973       glibcxx_have_gc_sections=yes
58974     fi
58975   else
58976     glibcxx_gcsections_min_ld=21602
58977     if test x"$with_gnu_ld" = x"yes" &&
58978         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58979       glibcxx_have_gc_sections=yes
58980     fi
58981   fi
58982   if test "$glibcxx_have_gc_sections" = "yes"; then
58983     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58984     # NB: This flag only works reliably after 2.16.1. Configure tests
58985     # for this are difficult, so hard wire a value that should work.
58986
58987     ac_test_CFLAGS="${CFLAGS+set}"
58988     ac_save_CFLAGS="$CFLAGS"
58989     CFLAGS='-Wl,--gc-sections'
58990
58991     # Check for -Wl,--gc-sections
58992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58994     if test x$gcc_no_link = xyes; then
58995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58996 fi
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h.  */
58999  int one(void) { return 1; }
59000      int two(void) { return 2; }
59001
59002 int
59003 main ()
59004 {
59005  two();
59006   ;
59007   return 0;
59008 }
59009 _ACEOF
59010 if ac_fn_c_try_link "$LINENO"; then :
59011   ac_gcsections=yes
59012 else
59013   ac_gcsections=no
59014 fi
59015 rm -f core conftest.err conftest.$ac_objext \
59016     conftest$ac_exeext conftest.$ac_ext
59017     if test "$ac_gcsections" = "yes"; then
59018       rm -f conftest.c
59019       touch conftest.c
59020       if $CC -c conftest.c; then
59021         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59022            grep "Warning: gc-sections option ignored" > /dev/null; then
59023           ac_gcsections=no
59024         fi
59025       fi
59026       rm -f conftest.c conftest.o conftest
59027     fi
59028     if test "$ac_gcsections" = "yes"; then
59029       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59030     fi
59031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59032 $as_echo "$ac_gcsections" >&6; }
59033
59034     if test "$ac_test_CFLAGS" = set; then
59035       CFLAGS="$ac_save_CFLAGS"
59036     else
59037       # this is the suspicious part
59038       CFLAGS=''
59039     fi
59040   fi
59041
59042   # Set -z,relro.
59043   # Note this is only for shared objects.
59044   ac_ld_relro=no
59045   if test x"$with_gnu_ld" = x"yes"; then
59046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59048     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59049     if test -n "$cxx_z_relo"; then
59050       OPT_LDFLAGS="-Wl,-z,relro"
59051       ac_ld_relro=yes
59052     fi
59053     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59054 $as_echo "$ac_ld_relro" >&6; }
59055   fi
59056
59057   # Set linker optimization flags.
59058   if test x"$with_gnu_ld" = x"yes"; then
59059     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59060   fi
59061
59062
59063
59064
59065
59066   ac_test_CXXFLAGS="${CXXFLAGS+set}"
59067   ac_save_CXXFLAGS="$CXXFLAGS"
59068   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59069
59070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59071 $as_echo_n "checking for sin in -lm... " >&6; }
59072 if test "${ac_cv_lib_m_sin+set}" = set; then :
59073   $as_echo_n "(cached) " >&6
59074 else
59075   ac_check_lib_save_LIBS=$LIBS
59076 LIBS="-lm  $LIBS"
59077 if test x$gcc_no_link = xyes; then
59078   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59079 fi
59080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59081 /* end confdefs.h.  */
59082
59083 /* Override any GCC internal prototype to avoid an error.
59084    Use char because int might match the return type of a GCC
59085    builtin and then its argument prototype would still apply.  */
59086 #ifdef __cplusplus
59087 extern "C"
59088 #endif
59089 char sin ();
59090 int
59091 main ()
59092 {
59093 return sin ();
59094   ;
59095   return 0;
59096 }
59097 _ACEOF
59098 if ac_fn_c_try_link "$LINENO"; then :
59099   ac_cv_lib_m_sin=yes
59100 else
59101   ac_cv_lib_m_sin=no
59102 fi
59103 rm -f core conftest.err conftest.$ac_objext \
59104     conftest$ac_exeext conftest.$ac_ext
59105 LIBS=$ac_check_lib_save_LIBS
59106 fi
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59108 $as_echo "$ac_cv_lib_m_sin" >&6; }
59109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59110   libm="-lm"
59111 fi
59112
59113   ac_save_LIBS="$LIBS"
59114   LIBS="$LIBS $libm"
59115
59116
59117
59118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59119 $as_echo_n "checking for isinf declaration... " >&6; }
59120   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59121     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59122   $as_echo_n "(cached) " >&6
59123 else
59124
59125
59126       ac_ext=cpp
59127 ac_cpp='$CXXCPP $CPPFLAGS'
59128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59131
59132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59133 /* end confdefs.h.  */
59134 #include <math.h>
59135                       #ifdef HAVE_IEEEFP_H
59136                       #include <ieeefp.h>
59137                       #endif
59138
59139 int
59140 main ()
59141 {
59142  isinf(0);
59143   ;
59144   return 0;
59145 }
59146 _ACEOF
59147 if ac_fn_cxx_try_compile "$LINENO"; then :
59148   glibcxx_cv_func_isinf_use=yes
59149 else
59150   glibcxx_cv_func_isinf_use=no
59151 fi
59152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59153       ac_ext=c
59154 ac_cpp='$CPP $CPPFLAGS'
59155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59158
59159
59160 fi
59161
59162   fi
59163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59165
59166   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59167     for ac_func in isinf
59168 do :
59169   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59170 if test "x$ac_cv_func_isinf" = x""yes; then :
59171   cat >>confdefs.h <<_ACEOF
59172 #define HAVE_ISINF 1
59173 _ACEOF
59174
59175 fi
59176 done
59177
59178   else
59179
59180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59181 $as_echo_n "checking for _isinf declaration... " >&6; }
59182   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59183     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59184   $as_echo_n "(cached) " >&6
59185 else
59186
59187
59188       ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193
59194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h.  */
59196 #include <math.h>
59197                       #ifdef HAVE_IEEEFP_H
59198                       #include <ieeefp.h>
59199                       #endif
59200
59201 int
59202 main ()
59203 {
59204  _isinf(0);
59205   ;
59206   return 0;
59207 }
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210   glibcxx_cv_func__isinf_use=yes
59211 else
59212   glibcxx_cv_func__isinf_use=no
59213 fi
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215       ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220
59221
59222 fi
59223
59224   fi
59225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59227
59228     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59229       for ac_func in _isinf
59230 do :
59231   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59232 if test "x$ac_cv_func__isinf" = x""yes; then :
59233   cat >>confdefs.h <<_ACEOF
59234 #define HAVE__ISINF 1
59235 _ACEOF
59236
59237 fi
59238 done
59239
59240     fi
59241   fi
59242
59243
59244
59245
59246
59247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59248 $as_echo_n "checking for isnan declaration... " >&6; }
59249   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59250     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59251   $as_echo_n "(cached) " >&6
59252 else
59253
59254
59255       ac_ext=cpp
59256 ac_cpp='$CXXCPP $CPPFLAGS'
59257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59260
59261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59262 /* end confdefs.h.  */
59263 #include <math.h>
59264                       #ifdef HAVE_IEEEFP_H
59265                       #include <ieeefp.h>
59266                       #endif
59267
59268 int
59269 main ()
59270 {
59271  isnan(0);
59272   ;
59273   return 0;
59274 }
59275 _ACEOF
59276 if ac_fn_cxx_try_compile "$LINENO"; then :
59277   glibcxx_cv_func_isnan_use=yes
59278 else
59279   glibcxx_cv_func_isnan_use=no
59280 fi
59281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59282       ac_ext=c
59283 ac_cpp='$CPP $CPPFLAGS'
59284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287
59288
59289 fi
59290
59291   fi
59292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59294
59295   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59296     for ac_func in isnan
59297 do :
59298   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59299 if test "x$ac_cv_func_isnan" = x""yes; then :
59300   cat >>confdefs.h <<_ACEOF
59301 #define HAVE_ISNAN 1
59302 _ACEOF
59303
59304 fi
59305 done
59306
59307   else
59308
59309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59310 $as_echo_n "checking for _isnan declaration... " >&6; }
59311   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59312     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59313   $as_echo_n "(cached) " >&6
59314 else
59315
59316
59317       ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h.  */
59325 #include <math.h>
59326                       #ifdef HAVE_IEEEFP_H
59327                       #include <ieeefp.h>
59328                       #endif
59329
59330 int
59331 main ()
59332 {
59333  _isnan(0);
59334   ;
59335   return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339   glibcxx_cv_func__isnan_use=yes
59340 else
59341   glibcxx_cv_func__isnan_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344       ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353   fi
59354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59356
59357     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59358       for ac_func in _isnan
59359 do :
59360   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59361 if test "x$ac_cv_func__isnan" = x""yes; then :
59362   cat >>confdefs.h <<_ACEOF
59363 #define HAVE__ISNAN 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369     fi
59370   fi
59371
59372
59373
59374
59375
59376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59377 $as_echo_n "checking for finite declaration... " >&6; }
59378   if test x${glibcxx_cv_func_finite_use+set} != xset; then
59379     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59380   $as_echo_n "(cached) " >&6
59381 else
59382
59383
59384       ac_ext=cpp
59385 ac_cpp='$CXXCPP $CPPFLAGS'
59386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59389
59390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59391 /* end confdefs.h.  */
59392 #include <math.h>
59393                       #ifdef HAVE_IEEEFP_H
59394                       #include <ieeefp.h>
59395                       #endif
59396
59397 int
59398 main ()
59399 {
59400  finite(0);
59401   ;
59402   return 0;
59403 }
59404 _ACEOF
59405 if ac_fn_cxx_try_compile "$LINENO"; then :
59406   glibcxx_cv_func_finite_use=yes
59407 else
59408   glibcxx_cv_func_finite_use=no
59409 fi
59410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59411       ac_ext=c
59412 ac_cpp='$CPP $CPPFLAGS'
59413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416
59417
59418 fi
59419
59420   fi
59421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59423
59424   if test x$glibcxx_cv_func_finite_use = x"yes"; then
59425     for ac_func in finite
59426 do :
59427   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59428 if test "x$ac_cv_func_finite" = x""yes; then :
59429   cat >>confdefs.h <<_ACEOF
59430 #define HAVE_FINITE 1
59431 _ACEOF
59432
59433 fi
59434 done
59435
59436   else
59437
59438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59439 $as_echo_n "checking for _finite declaration... " >&6; }
59440   if test x${glibcxx_cv_func__finite_use+set} != xset; then
59441     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59442   $as_echo_n "(cached) " >&6
59443 else
59444
59445
59446       ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h.  */
59454 #include <math.h>
59455                       #ifdef HAVE_IEEEFP_H
59456                       #include <ieeefp.h>
59457                       #endif
59458
59459 int
59460 main ()
59461 {
59462  _finite(0);
59463   ;
59464   return 0;
59465 }
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468   glibcxx_cv_func__finite_use=yes
59469 else
59470   glibcxx_cv_func__finite_use=no
59471 fi
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473       ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480 fi
59481
59482   fi
59483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59485
59486     if test x$glibcxx_cv_func__finite_use = x"yes"; then
59487       for ac_func in _finite
59488 do :
59489   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59490 if test "x$ac_cv_func__finite" = x""yes; then :
59491   cat >>confdefs.h <<_ACEOF
59492 #define HAVE__FINITE 1
59493 _ACEOF
59494
59495 fi
59496 done
59497
59498     fi
59499   fi
59500
59501
59502
59503
59504
59505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59506 $as_echo_n "checking for sincos declaration... " >&6; }
59507   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59508     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59509   $as_echo_n "(cached) " >&6
59510 else
59511
59512
59513       ac_ext=cpp
59514 ac_cpp='$CXXCPP $CPPFLAGS'
59515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59518
59519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59520 /* end confdefs.h.  */
59521 #include <math.h>
59522 int
59523 main ()
59524 {
59525  sincos(0, 0, 0);
59526   ;
59527   return 0;
59528 }
59529 _ACEOF
59530 if ac_fn_cxx_try_compile "$LINENO"; then :
59531   glibcxx_cv_func_sincos_use=yes
59532 else
59533   glibcxx_cv_func_sincos_use=no
59534 fi
59535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59536       ac_ext=c
59537 ac_cpp='$CPP $CPPFLAGS'
59538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59541
59542
59543 fi
59544
59545   fi
59546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59548
59549   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59550     for ac_func in sincos
59551 do :
59552   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59553 if test "x$ac_cv_func_sincos" = x""yes; then :
59554   cat >>confdefs.h <<_ACEOF
59555 #define HAVE_SINCOS 1
59556 _ACEOF
59557
59558 fi
59559 done
59560
59561   else
59562
59563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59564 $as_echo_n "checking for _sincos declaration... " >&6; }
59565   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59566     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59567   $as_echo_n "(cached) " >&6
59568 else
59569
59570
59571       ac_ext=cpp
59572 ac_cpp='$CXXCPP $CPPFLAGS'
59573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59576
59577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59578 /* end confdefs.h.  */
59579 #include <math.h>
59580 int
59581 main ()
59582 {
59583  _sincos(0, 0, 0);
59584   ;
59585   return 0;
59586 }
59587 _ACEOF
59588 if ac_fn_cxx_try_compile "$LINENO"; then :
59589   glibcxx_cv_func__sincos_use=yes
59590 else
59591   glibcxx_cv_func__sincos_use=no
59592 fi
59593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59594       ac_ext=c
59595 ac_cpp='$CPP $CPPFLAGS'
59596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59599
59600
59601 fi
59602
59603   fi
59604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59606
59607     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59608       for ac_func in _sincos
59609 do :
59610   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59611 if test "x$ac_cv_func__sincos" = x""yes; then :
59612   cat >>confdefs.h <<_ACEOF
59613 #define HAVE__SINCOS 1
59614 _ACEOF
59615
59616 fi
59617 done
59618
59619     fi
59620   fi
59621
59622
59623
59624
59625
59626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59627 $as_echo_n "checking for fpclass declaration... " >&6; }
59628   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59629     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59630   $as_echo_n "(cached) " >&6
59631 else
59632
59633
59634       ac_ext=cpp
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639
59640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h.  */
59642 #include <math.h>
59643                       #ifdef HAVE_IEEEFP_H
59644                       #include <ieeefp.h>
59645                       #endif
59646
59647 int
59648 main ()
59649 {
59650  fpclass(0);
59651   ;
59652   return 0;
59653 }
59654 _ACEOF
59655 if ac_fn_cxx_try_compile "$LINENO"; then :
59656   glibcxx_cv_func_fpclass_use=yes
59657 else
59658   glibcxx_cv_func_fpclass_use=no
59659 fi
59660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59661       ac_ext=c
59662 ac_cpp='$CPP $CPPFLAGS'
59663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666
59667
59668 fi
59669
59670   fi
59671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59673
59674   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59675     for ac_func in fpclass
59676 do :
59677   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59678 if test "x$ac_cv_func_fpclass" = x""yes; then :
59679   cat >>confdefs.h <<_ACEOF
59680 #define HAVE_FPCLASS 1
59681 _ACEOF
59682
59683 fi
59684 done
59685
59686   else
59687
59688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59689 $as_echo_n "checking for _fpclass declaration... " >&6; }
59690   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59691     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59692   $as_echo_n "(cached) " >&6
59693 else
59694
59695
59696       ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h.  */
59704 #include <math.h>
59705                       #ifdef HAVE_IEEEFP_H
59706                       #include <ieeefp.h>
59707                       #endif
59708
59709 int
59710 main ()
59711 {
59712  _fpclass(0);
59713   ;
59714   return 0;
59715 }
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718   glibcxx_cv_func__fpclass_use=yes
59719 else
59720   glibcxx_cv_func__fpclass_use=no
59721 fi
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723       ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728
59729
59730 fi
59731
59732   fi
59733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59735
59736     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59737       for ac_func in _fpclass
59738 do :
59739   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59740 if test "x$ac_cv_func__fpclass" = x""yes; then :
59741   cat >>confdefs.h <<_ACEOF
59742 #define HAVE__FPCLASS 1
59743 _ACEOF
59744
59745 fi
59746 done
59747
59748     fi
59749   fi
59750
59751
59752
59753
59754
59755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59756 $as_echo_n "checking for qfpclass declaration... " >&6; }
59757   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59758     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59759   $as_echo_n "(cached) " >&6
59760 else
59761
59762
59763       ac_ext=cpp
59764 ac_cpp='$CXXCPP $CPPFLAGS'
59765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59768
59769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59770 /* end confdefs.h.  */
59771 #include <math.h>
59772                       #ifdef HAVE_IEEEFP_H
59773                       #include <ieeefp.h>
59774                       #endif
59775
59776 int
59777 main ()
59778 {
59779  qfpclass(0);
59780   ;
59781   return 0;
59782 }
59783 _ACEOF
59784 if ac_fn_cxx_try_compile "$LINENO"; then :
59785   glibcxx_cv_func_qfpclass_use=yes
59786 else
59787   glibcxx_cv_func_qfpclass_use=no
59788 fi
59789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59790       ac_ext=c
59791 ac_cpp='$CPP $CPPFLAGS'
59792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59795
59796
59797 fi
59798
59799   fi
59800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59802
59803   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59804     for ac_func in qfpclass
59805 do :
59806   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59808   cat >>confdefs.h <<_ACEOF
59809 #define HAVE_QFPCLASS 1
59810 _ACEOF
59811
59812 fi
59813 done
59814
59815   else
59816
59817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59819   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59820     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59821   $as_echo_n "(cached) " >&6
59822 else
59823
59824
59825       ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830
59831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h.  */
59833 #include <math.h>
59834                       #ifdef HAVE_IEEEFP_H
59835                       #include <ieeefp.h>
59836                       #endif
59837
59838 int
59839 main ()
59840 {
59841  _qfpclass(0);
59842   ;
59843   return 0;
59844 }
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847   glibcxx_cv_func__qfpclass_use=yes
59848 else
59849   glibcxx_cv_func__qfpclass_use=no
59850 fi
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852       ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859 fi
59860
59861   fi
59862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59864
59865     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59866       for ac_func in _qfpclass
59867 do :
59868   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59870   cat >>confdefs.h <<_ACEOF
59871 #define HAVE__QFPCLASS 1
59872 _ACEOF
59873
59874 fi
59875 done
59876
59877     fi
59878   fi
59879
59880
59881
59882
59883
59884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59885 $as_echo_n "checking for hypot declaration... " >&6; }
59886   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59887     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59888   $as_echo_n "(cached) " >&6
59889 else
59890
59891
59892       ac_ext=cpp
59893 ac_cpp='$CXXCPP $CPPFLAGS'
59894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59897
59898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59899 /* end confdefs.h.  */
59900 #include <math.h>
59901 int
59902 main ()
59903 {
59904  hypot(0, 0);
59905   ;
59906   return 0;
59907 }
59908 _ACEOF
59909 if ac_fn_cxx_try_compile "$LINENO"; then :
59910   glibcxx_cv_func_hypot_use=yes
59911 else
59912   glibcxx_cv_func_hypot_use=no
59913 fi
59914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59915       ac_ext=c
59916 ac_cpp='$CPP $CPPFLAGS'
59917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59920
59921
59922 fi
59923
59924   fi
59925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59927
59928   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59929     for ac_func in hypot
59930 do :
59931   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59932 if test "x$ac_cv_func_hypot" = x""yes; then :
59933   cat >>confdefs.h <<_ACEOF
59934 #define HAVE_HYPOT 1
59935 _ACEOF
59936
59937 fi
59938 done
59939
59940   else
59941
59942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59943 $as_echo_n "checking for _hypot declaration... " >&6; }
59944   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59945     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59946   $as_echo_n "(cached) " >&6
59947 else
59948
59949
59950       ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59955
59956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h.  */
59958 #include <math.h>
59959 int
59960 main ()
59961 {
59962  _hypot(0, 0);
59963   ;
59964   return 0;
59965 }
59966 _ACEOF
59967 if ac_fn_cxx_try_compile "$LINENO"; then :
59968   glibcxx_cv_func__hypot_use=yes
59969 else
59970   glibcxx_cv_func__hypot_use=no
59971 fi
59972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59973       ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59978
59979
59980 fi
59981
59982   fi
59983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59985
59986     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59987       for ac_func in _hypot
59988 do :
59989   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59990 if test "x$ac_cv_func__hypot" = x""yes; then :
59991   cat >>confdefs.h <<_ACEOF
59992 #define HAVE__HYPOT 1
59993 _ACEOF
59994
59995 fi
59996 done
59997
59998     fi
59999   fi
60000
60001
60002
60003
60004
60005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60006 $as_echo_n "checking for float trig functions... " >&6; }
60007   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60008   $as_echo_n "(cached) " >&6
60009 else
60010
60011
60012     ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60017
60018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h.  */
60020 #include <math.h>
60021 int
60022 main ()
60023 {
60024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60025   ;
60026   return 0;
60027 }
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030   glibcxx_cv_func_float_trig_use=yes
60031 else
60032   glibcxx_cv_func_float_trig_use=no
60033 fi
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035     ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040
60041 fi
60042
60043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60045   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60046     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60047 do :
60048   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60050 eval as_val=\$$as_ac_var
60051    if test "x$as_val" = x""yes; then :
60052   cat >>confdefs.h <<_ACEOF
60053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60054 _ACEOF
60055
60056 fi
60057 done
60058
60059   else
60060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60061 $as_echo_n "checking for _float trig functions... " >&6; }
60062     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60063   $as_echo_n "(cached) " >&6
60064 else
60065
60066
60067       ac_ext=cpp
60068 ac_cpp='$CXXCPP $CPPFLAGS'
60069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60072
60073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60074 /* end confdefs.h.  */
60075 #include <math.h>
60076 int
60077 main ()
60078 {
60079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60080   ;
60081   return 0;
60082 }
60083 _ACEOF
60084 if ac_fn_cxx_try_compile "$LINENO"; then :
60085   glibcxx_cv_func__float_trig_use=yes
60086 else
60087   glibcxx_cv_func__float_trig_use=no
60088 fi
60089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60090       ac_ext=c
60091 ac_cpp='$CPP $CPPFLAGS'
60092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60095
60096 fi
60097
60098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60100     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60101       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60102 do :
60103   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60105 eval as_val=\$$as_ac_var
60106    if test "x$as_val" = x""yes; then :
60107   cat >>confdefs.h <<_ACEOF
60108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60109 _ACEOF
60110
60111 fi
60112 done
60113
60114     fi
60115   fi
60116
60117
60118
60119
60120
60121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60122 $as_echo_n "checking for float round functions... " >&6; }
60123   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60124   $as_echo_n "(cached) " >&6
60125 else
60126
60127
60128     ac_ext=cpp
60129 ac_cpp='$CXXCPP $CPPFLAGS'
60130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60133
60134     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60135 /* end confdefs.h.  */
60136 #include <math.h>
60137 int
60138 main ()
60139 {
60140 ceilf (0); floorf (0);
60141   ;
60142   return 0;
60143 }
60144 _ACEOF
60145 if ac_fn_cxx_try_compile "$LINENO"; then :
60146   glibcxx_cv_func_float_round_use=yes
60147 else
60148   glibcxx_cv_func_float_round_use=no
60149 fi
60150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60151     ac_ext=c
60152 ac_cpp='$CPP $CPPFLAGS'
60153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60156
60157 fi
60158
60159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60161   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60162     for ac_func in ceilf floorf
60163 do :
60164   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60166 eval as_val=\$$as_ac_var
60167    if test "x$as_val" = x""yes; then :
60168   cat >>confdefs.h <<_ACEOF
60169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60170 _ACEOF
60171
60172 fi
60173 done
60174
60175   else
60176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60177 $as_echo_n "checking for _float round functions... " >&6; }
60178     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60179   $as_echo_n "(cached) " >&6
60180 else
60181
60182
60183       ac_ext=cpp
60184 ac_cpp='$CXXCPP $CPPFLAGS'
60185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60188
60189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h.  */
60191 #include <math.h>
60192 int
60193 main ()
60194 {
60195 _ceilf (0); _floorf (0);
60196   ;
60197   return 0;
60198 }
60199 _ACEOF
60200 if ac_fn_cxx_try_compile "$LINENO"; then :
60201   glibcxx_cv_func__float_round_use=yes
60202 else
60203   glibcxx_cv_func__float_round_use=no
60204 fi
60205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60206       ac_ext=c
60207 ac_cpp='$CPP $CPPFLAGS'
60208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60211
60212 fi
60213
60214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60216     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60217       for ac_func in _ceilf _floorf
60218 do :
60219   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60221 eval as_val=\$$as_ac_var
60222    if test "x$as_val" = x""yes; then :
60223   cat >>confdefs.h <<_ACEOF
60224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60225 _ACEOF
60226
60227 fi
60228 done
60229
60230     fi
60231   fi
60232
60233
60234
60235
60236
60237
60238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60239 $as_echo_n "checking for expf declaration... " >&6; }
60240   if test x${glibcxx_cv_func_expf_use+set} != xset; then
60241     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60242   $as_echo_n "(cached) " >&6
60243 else
60244
60245
60246       ac_ext=cpp
60247 ac_cpp='$CXXCPP $CPPFLAGS'
60248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251
60252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60253 /* end confdefs.h.  */
60254 #include <math.h>
60255                       #ifdef HAVE_IEEEFP_H
60256                       #include <ieeefp.h>
60257                       #endif
60258
60259 int
60260 main ()
60261 {
60262  expf(0);
60263   ;
60264   return 0;
60265 }
60266 _ACEOF
60267 if ac_fn_cxx_try_compile "$LINENO"; then :
60268   glibcxx_cv_func_expf_use=yes
60269 else
60270   glibcxx_cv_func_expf_use=no
60271 fi
60272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60273       ac_ext=c
60274 ac_cpp='$CPP $CPPFLAGS'
60275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60278
60279
60280 fi
60281
60282   fi
60283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60285
60286   if test x$glibcxx_cv_func_expf_use = x"yes"; then
60287     for ac_func in expf
60288 do :
60289   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60290 if test "x$ac_cv_func_expf" = x""yes; then :
60291   cat >>confdefs.h <<_ACEOF
60292 #define HAVE_EXPF 1
60293 _ACEOF
60294
60295 fi
60296 done
60297
60298   else
60299
60300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60301 $as_echo_n "checking for _expf declaration... " >&6; }
60302   if test x${glibcxx_cv_func__expf_use+set} != xset; then
60303     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60304   $as_echo_n "(cached) " >&6
60305 else
60306
60307
60308       ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60313
60314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h.  */
60316 #include <math.h>
60317                       #ifdef HAVE_IEEEFP_H
60318                       #include <ieeefp.h>
60319                       #endif
60320
60321 int
60322 main ()
60323 {
60324  _expf(0);
60325   ;
60326   return 0;
60327 }
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330   glibcxx_cv_func__expf_use=yes
60331 else
60332   glibcxx_cv_func__expf_use=no
60333 fi
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335       ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340
60341
60342 fi
60343
60344   fi
60345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60347
60348     if test x$glibcxx_cv_func__expf_use = x"yes"; then
60349       for ac_func in _expf
60350 do :
60351   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60352 if test "x$ac_cv_func__expf" = x""yes; then :
60353   cat >>confdefs.h <<_ACEOF
60354 #define HAVE__EXPF 1
60355 _ACEOF
60356
60357 fi
60358 done
60359
60360     fi
60361   fi
60362
60363
60364
60365
60366
60367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60368 $as_echo_n "checking for isnanf declaration... " >&6; }
60369   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60370     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60371   $as_echo_n "(cached) " >&6
60372 else
60373
60374
60375       ac_ext=cpp
60376 ac_cpp='$CXXCPP $CPPFLAGS'
60377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60380
60381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60382 /* end confdefs.h.  */
60383 #include <math.h>
60384                       #ifdef HAVE_IEEEFP_H
60385                       #include <ieeefp.h>
60386                       #endif
60387
60388 int
60389 main ()
60390 {
60391  isnanf(0);
60392   ;
60393   return 0;
60394 }
60395 _ACEOF
60396 if ac_fn_cxx_try_compile "$LINENO"; then :
60397   glibcxx_cv_func_isnanf_use=yes
60398 else
60399   glibcxx_cv_func_isnanf_use=no
60400 fi
60401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60402       ac_ext=c
60403 ac_cpp='$CPP $CPPFLAGS'
60404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60407
60408
60409 fi
60410
60411   fi
60412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60414
60415   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60416     for ac_func in isnanf
60417 do :
60418   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60419 if test "x$ac_cv_func_isnanf" = x""yes; then :
60420   cat >>confdefs.h <<_ACEOF
60421 #define HAVE_ISNANF 1
60422 _ACEOF
60423
60424 fi
60425 done
60426
60427   else
60428
60429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60430 $as_echo_n "checking for _isnanf declaration... " >&6; }
60431   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60432     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60433   $as_echo_n "(cached) " >&6
60434 else
60435
60436
60437       ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60442
60443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h.  */
60445 #include <math.h>
60446                       #ifdef HAVE_IEEEFP_H
60447                       #include <ieeefp.h>
60448                       #endif
60449
60450 int
60451 main ()
60452 {
60453  _isnanf(0);
60454   ;
60455   return 0;
60456 }
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459   glibcxx_cv_func__isnanf_use=yes
60460 else
60461   glibcxx_cv_func__isnanf_use=no
60462 fi
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464       ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60469
60470
60471 fi
60472
60473   fi
60474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60476
60477     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60478       for ac_func in _isnanf
60479 do :
60480   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60481 if test "x$ac_cv_func__isnanf" = x""yes; then :
60482   cat >>confdefs.h <<_ACEOF
60483 #define HAVE__ISNANF 1
60484 _ACEOF
60485
60486 fi
60487 done
60488
60489     fi
60490   fi
60491
60492
60493
60494
60495
60496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60497 $as_echo_n "checking for isinff declaration... " >&6; }
60498   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60499     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60500   $as_echo_n "(cached) " >&6
60501 else
60502
60503
60504       ac_ext=cpp
60505 ac_cpp='$CXXCPP $CPPFLAGS'
60506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60509
60510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60511 /* end confdefs.h.  */
60512 #include <math.h>
60513                       #ifdef HAVE_IEEEFP_H
60514                       #include <ieeefp.h>
60515                       #endif
60516
60517 int
60518 main ()
60519 {
60520  isinff(0);
60521   ;
60522   return 0;
60523 }
60524 _ACEOF
60525 if ac_fn_cxx_try_compile "$LINENO"; then :
60526   glibcxx_cv_func_isinff_use=yes
60527 else
60528   glibcxx_cv_func_isinff_use=no
60529 fi
60530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60531       ac_ext=c
60532 ac_cpp='$CPP $CPPFLAGS'
60533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60536
60537
60538 fi
60539
60540   fi
60541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60543
60544   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60545     for ac_func in isinff
60546 do :
60547   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60548 if test "x$ac_cv_func_isinff" = x""yes; then :
60549   cat >>confdefs.h <<_ACEOF
60550 #define HAVE_ISINFF 1
60551 _ACEOF
60552
60553 fi
60554 done
60555
60556   else
60557
60558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60559 $as_echo_n "checking for _isinff declaration... " >&6; }
60560   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60561     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60562   $as_echo_n "(cached) " >&6
60563 else
60564
60565
60566       ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571
60572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h.  */
60574 #include <math.h>
60575                       #ifdef HAVE_IEEEFP_H
60576                       #include <ieeefp.h>
60577                       #endif
60578
60579 int
60580 main ()
60581 {
60582  _isinff(0);
60583   ;
60584   return 0;
60585 }
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588   glibcxx_cv_func__isinff_use=yes
60589 else
60590   glibcxx_cv_func__isinff_use=no
60591 fi
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593       ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598
60599
60600 fi
60601
60602   fi
60603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60605
60606     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60607       for ac_func in _isinff
60608 do :
60609   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60610 if test "x$ac_cv_func__isinff" = x""yes; then :
60611   cat >>confdefs.h <<_ACEOF
60612 #define HAVE__ISINFF 1
60613 _ACEOF
60614
60615 fi
60616 done
60617
60618     fi
60619   fi
60620
60621
60622
60623
60624
60625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60626 $as_echo_n "checking for atan2f declaration... " >&6; }
60627   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60628     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60629   $as_echo_n "(cached) " >&6
60630 else
60631
60632
60633       ac_ext=cpp
60634 ac_cpp='$CXXCPP $CPPFLAGS'
60635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60638
60639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60640 /* end confdefs.h.  */
60641 #include <math.h>
60642 int
60643 main ()
60644 {
60645  atan2f(0, 0);
60646   ;
60647   return 0;
60648 }
60649 _ACEOF
60650 if ac_fn_cxx_try_compile "$LINENO"; then :
60651   glibcxx_cv_func_atan2f_use=yes
60652 else
60653   glibcxx_cv_func_atan2f_use=no
60654 fi
60655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60656       ac_ext=c
60657 ac_cpp='$CPP $CPPFLAGS'
60658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60661
60662
60663 fi
60664
60665   fi
60666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60668
60669   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60670     for ac_func in atan2f
60671 do :
60672   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60673 if test "x$ac_cv_func_atan2f" = x""yes; then :
60674   cat >>confdefs.h <<_ACEOF
60675 #define HAVE_ATAN2F 1
60676 _ACEOF
60677
60678 fi
60679 done
60680
60681   else
60682
60683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60684 $as_echo_n "checking for _atan2f declaration... " >&6; }
60685   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60686     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60687   $as_echo_n "(cached) " >&6
60688 else
60689
60690
60691       ac_ext=cpp
60692 ac_cpp='$CXXCPP $CPPFLAGS'
60693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60696
60697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60698 /* end confdefs.h.  */
60699 #include <math.h>
60700 int
60701 main ()
60702 {
60703  _atan2f(0, 0);
60704   ;
60705   return 0;
60706 }
60707 _ACEOF
60708 if ac_fn_cxx_try_compile "$LINENO"; then :
60709   glibcxx_cv_func__atan2f_use=yes
60710 else
60711   glibcxx_cv_func__atan2f_use=no
60712 fi
60713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60714       ac_ext=c
60715 ac_cpp='$CPP $CPPFLAGS'
60716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60719
60720
60721 fi
60722
60723   fi
60724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60726
60727     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60728       for ac_func in _atan2f
60729 do :
60730   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60731 if test "x$ac_cv_func__atan2f" = x""yes; then :
60732   cat >>confdefs.h <<_ACEOF
60733 #define HAVE__ATAN2F 1
60734 _ACEOF
60735
60736 fi
60737 done
60738
60739     fi
60740   fi
60741
60742
60743
60744
60745
60746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60747 $as_echo_n "checking for fabsf declaration... " >&6; }
60748   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60749     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60750   $as_echo_n "(cached) " >&6
60751 else
60752
60753
60754       ac_ext=cpp
60755 ac_cpp='$CXXCPP $CPPFLAGS'
60756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60759
60760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60761 /* end confdefs.h.  */
60762 #include <math.h>
60763                       #ifdef HAVE_IEEEFP_H
60764                       #include <ieeefp.h>
60765                       #endif
60766
60767 int
60768 main ()
60769 {
60770  fabsf(0);
60771   ;
60772   return 0;
60773 }
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776   glibcxx_cv_func_fabsf_use=yes
60777 else
60778   glibcxx_cv_func_fabsf_use=no
60779 fi
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781       ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786
60787
60788 fi
60789
60790   fi
60791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60793
60794   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60795     for ac_func in fabsf
60796 do :
60797   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60798 if test "x$ac_cv_func_fabsf" = x""yes; then :
60799   cat >>confdefs.h <<_ACEOF
60800 #define HAVE_FABSF 1
60801 _ACEOF
60802
60803 fi
60804 done
60805
60806   else
60807
60808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60809 $as_echo_n "checking for _fabsf declaration... " >&6; }
60810   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60811     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60812   $as_echo_n "(cached) " >&6
60813 else
60814
60815
60816       ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60821
60822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h.  */
60824 #include <math.h>
60825                       #ifdef HAVE_IEEEFP_H
60826                       #include <ieeefp.h>
60827                       #endif
60828
60829 int
60830 main ()
60831 {
60832  _fabsf(0);
60833   ;
60834   return 0;
60835 }
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838   glibcxx_cv_func__fabsf_use=yes
60839 else
60840   glibcxx_cv_func__fabsf_use=no
60841 fi
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843       ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60848
60849
60850 fi
60851
60852   fi
60853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60855
60856     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60857       for ac_func in _fabsf
60858 do :
60859   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60860 if test "x$ac_cv_func__fabsf" = x""yes; then :
60861   cat >>confdefs.h <<_ACEOF
60862 #define HAVE__FABSF 1
60863 _ACEOF
60864
60865 fi
60866 done
60867
60868     fi
60869   fi
60870
60871
60872
60873
60874
60875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60876 $as_echo_n "checking for fmodf declaration... " >&6; }
60877   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60878     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60879   $as_echo_n "(cached) " >&6
60880 else
60881
60882
60883       ac_ext=cpp
60884 ac_cpp='$CXXCPP $CPPFLAGS'
60885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60888
60889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60890 /* end confdefs.h.  */
60891 #include <math.h>
60892 int
60893 main ()
60894 {
60895  fmodf(0, 0);
60896   ;
60897   return 0;
60898 }
60899 _ACEOF
60900 if ac_fn_cxx_try_compile "$LINENO"; then :
60901   glibcxx_cv_func_fmodf_use=yes
60902 else
60903   glibcxx_cv_func_fmodf_use=no
60904 fi
60905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60906       ac_ext=c
60907 ac_cpp='$CPP $CPPFLAGS'
60908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60911
60912
60913 fi
60914
60915   fi
60916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60918
60919   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60920     for ac_func in fmodf
60921 do :
60922   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60923 if test "x$ac_cv_func_fmodf" = x""yes; then :
60924   cat >>confdefs.h <<_ACEOF
60925 #define HAVE_FMODF 1
60926 _ACEOF
60927
60928 fi
60929 done
60930
60931   else
60932
60933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60934 $as_echo_n "checking for _fmodf declaration... " >&6; }
60935   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60936     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60937   $as_echo_n "(cached) " >&6
60938 else
60939
60940
60941       ac_ext=cpp
60942 ac_cpp='$CXXCPP $CPPFLAGS'
60943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60946
60947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60948 /* end confdefs.h.  */
60949 #include <math.h>
60950 int
60951 main ()
60952 {
60953  _fmodf(0, 0);
60954   ;
60955   return 0;
60956 }
60957 _ACEOF
60958 if ac_fn_cxx_try_compile "$LINENO"; then :
60959   glibcxx_cv_func__fmodf_use=yes
60960 else
60961   glibcxx_cv_func__fmodf_use=no
60962 fi
60963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60964       ac_ext=c
60965 ac_cpp='$CPP $CPPFLAGS'
60966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60969
60970
60971 fi
60972
60973   fi
60974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60976
60977     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60978       for ac_func in _fmodf
60979 do :
60980   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60981 if test "x$ac_cv_func__fmodf" = x""yes; then :
60982   cat >>confdefs.h <<_ACEOF
60983 #define HAVE__FMODF 1
60984 _ACEOF
60985
60986 fi
60987 done
60988
60989     fi
60990   fi
60991
60992
60993
60994
60995
60996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60997 $as_echo_n "checking for frexpf declaration... " >&6; }
60998   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60999     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61000   $as_echo_n "(cached) " >&6
61001 else
61002
61003
61004       ac_ext=cpp
61005 ac_cpp='$CXXCPP $CPPFLAGS'
61006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61009
61010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011 /* end confdefs.h.  */
61012 #include <math.h>
61013 int
61014 main ()
61015 {
61016  frexpf(0, 0);
61017   ;
61018   return 0;
61019 }
61020 _ACEOF
61021 if ac_fn_cxx_try_compile "$LINENO"; then :
61022   glibcxx_cv_func_frexpf_use=yes
61023 else
61024   glibcxx_cv_func_frexpf_use=no
61025 fi
61026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61027       ac_ext=c
61028 ac_cpp='$CPP $CPPFLAGS'
61029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61032
61033
61034 fi
61035
61036   fi
61037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61039
61040   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61041     for ac_func in frexpf
61042 do :
61043   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61044 if test "x$ac_cv_func_frexpf" = x""yes; then :
61045   cat >>confdefs.h <<_ACEOF
61046 #define HAVE_FREXPF 1
61047 _ACEOF
61048
61049 fi
61050 done
61051
61052   else
61053
61054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61055 $as_echo_n "checking for _frexpf declaration... " >&6; }
61056   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61057     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61058   $as_echo_n "(cached) " >&6
61059 else
61060
61061
61062       ac_ext=cpp
61063 ac_cpp='$CXXCPP $CPPFLAGS'
61064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61067
61068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61069 /* end confdefs.h.  */
61070 #include <math.h>
61071 int
61072 main ()
61073 {
61074  _frexpf(0, 0);
61075   ;
61076   return 0;
61077 }
61078 _ACEOF
61079 if ac_fn_cxx_try_compile "$LINENO"; then :
61080   glibcxx_cv_func__frexpf_use=yes
61081 else
61082   glibcxx_cv_func__frexpf_use=no
61083 fi
61084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61085       ac_ext=c
61086 ac_cpp='$CPP $CPPFLAGS'
61087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61090
61091
61092 fi
61093
61094   fi
61095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61097
61098     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61099       for ac_func in _frexpf
61100 do :
61101   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61102 if test "x$ac_cv_func__frexpf" = x""yes; then :
61103   cat >>confdefs.h <<_ACEOF
61104 #define HAVE__FREXPF 1
61105 _ACEOF
61106
61107 fi
61108 done
61109
61110     fi
61111   fi
61112
61113
61114
61115
61116
61117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61118 $as_echo_n "checking for hypotf declaration... " >&6; }
61119   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61120     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61121   $as_echo_n "(cached) " >&6
61122 else
61123
61124
61125       ac_ext=cpp
61126 ac_cpp='$CXXCPP $CPPFLAGS'
61127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61130
61131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61132 /* end confdefs.h.  */
61133 #include <math.h>
61134 int
61135 main ()
61136 {
61137  hypotf(0, 0);
61138   ;
61139   return 0;
61140 }
61141 _ACEOF
61142 if ac_fn_cxx_try_compile "$LINENO"; then :
61143   glibcxx_cv_func_hypotf_use=yes
61144 else
61145   glibcxx_cv_func_hypotf_use=no
61146 fi
61147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61148       ac_ext=c
61149 ac_cpp='$CPP $CPPFLAGS'
61150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61153
61154
61155 fi
61156
61157   fi
61158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61160
61161   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61162     for ac_func in hypotf
61163 do :
61164   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61165 if test "x$ac_cv_func_hypotf" = x""yes; then :
61166   cat >>confdefs.h <<_ACEOF
61167 #define HAVE_HYPOTF 1
61168 _ACEOF
61169
61170 fi
61171 done
61172
61173   else
61174
61175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61176 $as_echo_n "checking for _hypotf declaration... " >&6; }
61177   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61178     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61179   $as_echo_n "(cached) " >&6
61180 else
61181
61182
61183       ac_ext=cpp
61184 ac_cpp='$CXXCPP $CPPFLAGS'
61185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61188
61189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h.  */
61191 #include <math.h>
61192 int
61193 main ()
61194 {
61195  _hypotf(0, 0);
61196   ;
61197   return 0;
61198 }
61199 _ACEOF
61200 if ac_fn_cxx_try_compile "$LINENO"; then :
61201   glibcxx_cv_func__hypotf_use=yes
61202 else
61203   glibcxx_cv_func__hypotf_use=no
61204 fi
61205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61206       ac_ext=c
61207 ac_cpp='$CPP $CPPFLAGS'
61208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61211
61212
61213 fi
61214
61215   fi
61216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61218
61219     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61220       for ac_func in _hypotf
61221 do :
61222   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61223 if test "x$ac_cv_func__hypotf" = x""yes; then :
61224   cat >>confdefs.h <<_ACEOF
61225 #define HAVE__HYPOTF 1
61226 _ACEOF
61227
61228 fi
61229 done
61230
61231     fi
61232   fi
61233
61234
61235
61236
61237
61238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61239 $as_echo_n "checking for ldexpf declaration... " >&6; }
61240   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61241     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61242   $as_echo_n "(cached) " >&6
61243 else
61244
61245
61246       ac_ext=cpp
61247 ac_cpp='$CXXCPP $CPPFLAGS'
61248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61251
61252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61253 /* end confdefs.h.  */
61254 #include <math.h>
61255 int
61256 main ()
61257 {
61258  ldexpf(0, 0);
61259   ;
61260   return 0;
61261 }
61262 _ACEOF
61263 if ac_fn_cxx_try_compile "$LINENO"; then :
61264   glibcxx_cv_func_ldexpf_use=yes
61265 else
61266   glibcxx_cv_func_ldexpf_use=no
61267 fi
61268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61269       ac_ext=c
61270 ac_cpp='$CPP $CPPFLAGS'
61271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274
61275
61276 fi
61277
61278   fi
61279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61281
61282   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61283     for ac_func in ldexpf
61284 do :
61285   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61287   cat >>confdefs.h <<_ACEOF
61288 #define HAVE_LDEXPF 1
61289 _ACEOF
61290
61291 fi
61292 done
61293
61294   else
61295
61296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61298   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61299     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61300   $as_echo_n "(cached) " >&6
61301 else
61302
61303
61304       ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61309
61310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h.  */
61312 #include <math.h>
61313 int
61314 main ()
61315 {
61316  _ldexpf(0, 0);
61317   ;
61318   return 0;
61319 }
61320 _ACEOF
61321 if ac_fn_cxx_try_compile "$LINENO"; then :
61322   glibcxx_cv_func__ldexpf_use=yes
61323 else
61324   glibcxx_cv_func__ldexpf_use=no
61325 fi
61326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61327       ac_ext=c
61328 ac_cpp='$CPP $CPPFLAGS'
61329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61332
61333
61334 fi
61335
61336   fi
61337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61339
61340     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61341       for ac_func in _ldexpf
61342 do :
61343   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61345   cat >>confdefs.h <<_ACEOF
61346 #define HAVE__LDEXPF 1
61347 _ACEOF
61348
61349 fi
61350 done
61351
61352     fi
61353   fi
61354
61355
61356
61357
61358
61359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61360 $as_echo_n "checking for logf declaration... " >&6; }
61361   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61362     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61363   $as_echo_n "(cached) " >&6
61364 else
61365
61366
61367       ac_ext=cpp
61368 ac_cpp='$CXXCPP $CPPFLAGS'
61369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372
61373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61374 /* end confdefs.h.  */
61375 #include <math.h>
61376                       #ifdef HAVE_IEEEFP_H
61377                       #include <ieeefp.h>
61378                       #endif
61379
61380 int
61381 main ()
61382 {
61383  logf(0);
61384   ;
61385   return 0;
61386 }
61387 _ACEOF
61388 if ac_fn_cxx_try_compile "$LINENO"; then :
61389   glibcxx_cv_func_logf_use=yes
61390 else
61391   glibcxx_cv_func_logf_use=no
61392 fi
61393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61394       ac_ext=c
61395 ac_cpp='$CPP $CPPFLAGS'
61396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61399
61400
61401 fi
61402
61403   fi
61404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61406
61407   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61408     for ac_func in logf
61409 do :
61410   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61411 if test "x$ac_cv_func_logf" = x""yes; then :
61412   cat >>confdefs.h <<_ACEOF
61413 #define HAVE_LOGF 1
61414 _ACEOF
61415
61416 fi
61417 done
61418
61419   else
61420
61421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61422 $as_echo_n "checking for _logf declaration... " >&6; }
61423   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61424     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61425   $as_echo_n "(cached) " >&6
61426 else
61427
61428
61429       ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61434
61435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h.  */
61437 #include <math.h>
61438                       #ifdef HAVE_IEEEFP_H
61439                       #include <ieeefp.h>
61440                       #endif
61441
61442 int
61443 main ()
61444 {
61445  _logf(0);
61446   ;
61447   return 0;
61448 }
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451   glibcxx_cv_func__logf_use=yes
61452 else
61453   glibcxx_cv_func__logf_use=no
61454 fi
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456       ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462
61463 fi
61464
61465   fi
61466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61468
61469     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61470       for ac_func in _logf
61471 do :
61472   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61473 if test "x$ac_cv_func__logf" = x""yes; then :
61474   cat >>confdefs.h <<_ACEOF
61475 #define HAVE__LOGF 1
61476 _ACEOF
61477
61478 fi
61479 done
61480
61481     fi
61482   fi
61483
61484
61485
61486
61487
61488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61489 $as_echo_n "checking for log10f declaration... " >&6; }
61490   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61491     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61492   $as_echo_n "(cached) " >&6
61493 else
61494
61495
61496       ac_ext=cpp
61497 ac_cpp='$CXXCPP $CPPFLAGS'
61498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61501
61502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61503 /* end confdefs.h.  */
61504 #include <math.h>
61505                       #ifdef HAVE_IEEEFP_H
61506                       #include <ieeefp.h>
61507                       #endif
61508
61509 int
61510 main ()
61511 {
61512  log10f(0);
61513   ;
61514   return 0;
61515 }
61516 _ACEOF
61517 if ac_fn_cxx_try_compile "$LINENO"; then :
61518   glibcxx_cv_func_log10f_use=yes
61519 else
61520   glibcxx_cv_func_log10f_use=no
61521 fi
61522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61523       ac_ext=c
61524 ac_cpp='$CPP $CPPFLAGS'
61525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61528
61529
61530 fi
61531
61532   fi
61533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61535
61536   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61537     for ac_func in log10f
61538 do :
61539   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61540 if test "x$ac_cv_func_log10f" = x""yes; then :
61541   cat >>confdefs.h <<_ACEOF
61542 #define HAVE_LOG10F 1
61543 _ACEOF
61544
61545 fi
61546 done
61547
61548   else
61549
61550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61551 $as_echo_n "checking for _log10f declaration... " >&6; }
61552   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61553     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61554   $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558       ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h.  */
61566 #include <math.h>
61567                       #ifdef HAVE_IEEEFP_H
61568                       #include <ieeefp.h>
61569                       #endif
61570
61571 int
61572 main ()
61573 {
61574  _log10f(0);
61575   ;
61576   return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580   glibcxx_cv_func__log10f_use=yes
61581 else
61582   glibcxx_cv_func__log10f_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585       ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591
61592 fi
61593
61594   fi
61595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61597
61598     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61599       for ac_func in _log10f
61600 do :
61601   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61602 if test "x$ac_cv_func__log10f" = x""yes; then :
61603   cat >>confdefs.h <<_ACEOF
61604 #define HAVE__LOG10F 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610     fi
61611   fi
61612
61613
61614
61615
61616
61617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61618 $as_echo_n "checking for modff declaration... " >&6; }
61619   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61620     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61621   $as_echo_n "(cached) " >&6
61622 else
61623
61624
61625       ac_ext=cpp
61626 ac_cpp='$CXXCPP $CPPFLAGS'
61627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61630
61631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61632 /* end confdefs.h.  */
61633 #include <math.h>
61634 int
61635 main ()
61636 {
61637  modff(0, 0);
61638   ;
61639   return 0;
61640 }
61641 _ACEOF
61642 if ac_fn_cxx_try_compile "$LINENO"; then :
61643   glibcxx_cv_func_modff_use=yes
61644 else
61645   glibcxx_cv_func_modff_use=no
61646 fi
61647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61648       ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653
61654
61655 fi
61656
61657   fi
61658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61660
61661   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61662     for ac_func in modff
61663 do :
61664   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61665 if test "x$ac_cv_func_modff" = x""yes; then :
61666   cat >>confdefs.h <<_ACEOF
61667 #define HAVE_MODFF 1
61668 _ACEOF
61669
61670 fi
61671 done
61672
61673   else
61674
61675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61676 $as_echo_n "checking for _modff declaration... " >&6; }
61677   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61678     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61679   $as_echo_n "(cached) " >&6
61680 else
61681
61682
61683       ac_ext=cpp
61684 ac_cpp='$CXXCPP $CPPFLAGS'
61685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61688
61689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61690 /* end confdefs.h.  */
61691 #include <math.h>
61692 int
61693 main ()
61694 {
61695  _modff(0, 0);
61696   ;
61697   return 0;
61698 }
61699 _ACEOF
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701   glibcxx_cv_func__modff_use=yes
61702 else
61703   glibcxx_cv_func__modff_use=no
61704 fi
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61706       ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61711
61712
61713 fi
61714
61715   fi
61716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61718
61719     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61720       for ac_func in _modff
61721 do :
61722   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61723 if test "x$ac_cv_func__modff" = x""yes; then :
61724   cat >>confdefs.h <<_ACEOF
61725 #define HAVE__MODFF 1
61726 _ACEOF
61727
61728 fi
61729 done
61730
61731     fi
61732   fi
61733
61734
61735
61736
61737
61738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61739 $as_echo_n "checking for modf declaration... " >&6; }
61740   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61741     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61742   $as_echo_n "(cached) " >&6
61743 else
61744
61745
61746       ac_ext=cpp
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751
61752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h.  */
61754 #include <math.h>
61755 int
61756 main ()
61757 {
61758  modf(0, 0);
61759   ;
61760   return 0;
61761 }
61762 _ACEOF
61763 if ac_fn_cxx_try_compile "$LINENO"; then :
61764   glibcxx_cv_func_modf_use=yes
61765 else
61766   glibcxx_cv_func_modf_use=no
61767 fi
61768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61769       ac_ext=c
61770 ac_cpp='$CPP $CPPFLAGS'
61771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61774
61775
61776 fi
61777
61778   fi
61779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61781
61782   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61783     for ac_func in modf
61784 do :
61785   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61786 if test "x$ac_cv_func_modf" = x""yes; then :
61787   cat >>confdefs.h <<_ACEOF
61788 #define HAVE_MODF 1
61789 _ACEOF
61790
61791 fi
61792 done
61793
61794   else
61795
61796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61797 $as_echo_n "checking for _modf declaration... " >&6; }
61798   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61799     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61800   $as_echo_n "(cached) " >&6
61801 else
61802
61803
61804       ac_ext=cpp
61805 ac_cpp='$CXXCPP $CPPFLAGS'
61806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61809
61810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61811 /* end confdefs.h.  */
61812 #include <math.h>
61813 int
61814 main ()
61815 {
61816  _modf(0, 0);
61817   ;
61818   return 0;
61819 }
61820 _ACEOF
61821 if ac_fn_cxx_try_compile "$LINENO"; then :
61822   glibcxx_cv_func__modf_use=yes
61823 else
61824   glibcxx_cv_func__modf_use=no
61825 fi
61826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61827       ac_ext=c
61828 ac_cpp='$CPP $CPPFLAGS'
61829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61832
61833
61834 fi
61835
61836   fi
61837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61839
61840     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61841       for ac_func in _modf
61842 do :
61843   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61844 if test "x$ac_cv_func__modf" = x""yes; then :
61845   cat >>confdefs.h <<_ACEOF
61846 #define HAVE__MODF 1
61847 _ACEOF
61848
61849 fi
61850 done
61851
61852     fi
61853   fi
61854
61855
61856
61857
61858
61859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61860 $as_echo_n "checking for powf declaration... " >&6; }
61861   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61862     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61863   $as_echo_n "(cached) " >&6
61864 else
61865
61866
61867       ac_ext=cpp
61868 ac_cpp='$CXXCPP $CPPFLAGS'
61869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61872
61873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61874 /* end confdefs.h.  */
61875 #include <math.h>
61876 int
61877 main ()
61878 {
61879  powf(0, 0);
61880   ;
61881   return 0;
61882 }
61883 _ACEOF
61884 if ac_fn_cxx_try_compile "$LINENO"; then :
61885   glibcxx_cv_func_powf_use=yes
61886 else
61887   glibcxx_cv_func_powf_use=no
61888 fi
61889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61890       ac_ext=c
61891 ac_cpp='$CPP $CPPFLAGS'
61892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61895
61896
61897 fi
61898
61899   fi
61900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61902
61903   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61904     for ac_func in powf
61905 do :
61906   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61907 if test "x$ac_cv_func_powf" = x""yes; then :
61908   cat >>confdefs.h <<_ACEOF
61909 #define HAVE_POWF 1
61910 _ACEOF
61911
61912 fi
61913 done
61914
61915   else
61916
61917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61918 $as_echo_n "checking for _powf declaration... " >&6; }
61919   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61920     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61921   $as_echo_n "(cached) " >&6
61922 else
61923
61924
61925       ac_ext=cpp
61926 ac_cpp='$CXXCPP $CPPFLAGS'
61927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61930
61931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61932 /* end confdefs.h.  */
61933 #include <math.h>
61934 int
61935 main ()
61936 {
61937  _powf(0, 0);
61938   ;
61939   return 0;
61940 }
61941 _ACEOF
61942 if ac_fn_cxx_try_compile "$LINENO"; then :
61943   glibcxx_cv_func__powf_use=yes
61944 else
61945   glibcxx_cv_func__powf_use=no
61946 fi
61947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61948       ac_ext=c
61949 ac_cpp='$CPP $CPPFLAGS'
61950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61953
61954
61955 fi
61956
61957   fi
61958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61960
61961     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61962       for ac_func in _powf
61963 do :
61964   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61965 if test "x$ac_cv_func__powf" = x""yes; then :
61966   cat >>confdefs.h <<_ACEOF
61967 #define HAVE__POWF 1
61968 _ACEOF
61969
61970 fi
61971 done
61972
61973     fi
61974   fi
61975
61976
61977
61978
61979
61980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61981 $as_echo_n "checking for sqrtf declaration... " >&6; }
61982   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61983     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61984   $as_echo_n "(cached) " >&6
61985 else
61986
61987
61988       ac_ext=cpp
61989 ac_cpp='$CXXCPP $CPPFLAGS'
61990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61993
61994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61995 /* end confdefs.h.  */
61996 #include <math.h>
61997                       #ifdef HAVE_IEEEFP_H
61998                       #include <ieeefp.h>
61999                       #endif
62000
62001 int
62002 main ()
62003 {
62004  sqrtf(0);
62005   ;
62006   return 0;
62007 }
62008 _ACEOF
62009 if ac_fn_cxx_try_compile "$LINENO"; then :
62010   glibcxx_cv_func_sqrtf_use=yes
62011 else
62012   glibcxx_cv_func_sqrtf_use=no
62013 fi
62014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62015       ac_ext=c
62016 ac_cpp='$CPP $CPPFLAGS'
62017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62020
62021
62022 fi
62023
62024   fi
62025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62027
62028   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62029     for ac_func in sqrtf
62030 do :
62031   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62033   cat >>confdefs.h <<_ACEOF
62034 #define HAVE_SQRTF 1
62035 _ACEOF
62036
62037 fi
62038 done
62039
62040   else
62041
62042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62044   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62045     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62046   $as_echo_n "(cached) " >&6
62047 else
62048
62049
62050       ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055
62056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h.  */
62058 #include <math.h>
62059                       #ifdef HAVE_IEEEFP_H
62060                       #include <ieeefp.h>
62061                       #endif
62062
62063 int
62064 main ()
62065 {
62066  _sqrtf(0);
62067   ;
62068   return 0;
62069 }
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072   glibcxx_cv_func__sqrtf_use=yes
62073 else
62074   glibcxx_cv_func__sqrtf_use=no
62075 fi
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077       ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082
62083
62084 fi
62085
62086   fi
62087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62089
62090     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62091       for ac_func in _sqrtf
62092 do :
62093   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62095   cat >>confdefs.h <<_ACEOF
62096 #define HAVE__SQRTF 1
62097 _ACEOF
62098
62099 fi
62100 done
62101
62102     fi
62103   fi
62104
62105
62106
62107
62108
62109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62110 $as_echo_n "checking for sincosf declaration... " >&6; }
62111   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62112     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62113   $as_echo_n "(cached) " >&6
62114 else
62115
62116
62117       ac_ext=cpp
62118 ac_cpp='$CXXCPP $CPPFLAGS'
62119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62122
62123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62124 /* end confdefs.h.  */
62125 #include <math.h>
62126 int
62127 main ()
62128 {
62129  sincosf(0, 0, 0);
62130   ;
62131   return 0;
62132 }
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135   glibcxx_cv_func_sincosf_use=yes
62136 else
62137   glibcxx_cv_func_sincosf_use=no
62138 fi
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140       ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62145
62146
62147 fi
62148
62149   fi
62150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62152
62153   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62154     for ac_func in sincosf
62155 do :
62156   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62157 if test "x$ac_cv_func_sincosf" = x""yes; then :
62158   cat >>confdefs.h <<_ACEOF
62159 #define HAVE_SINCOSF 1
62160 _ACEOF
62161
62162 fi
62163 done
62164
62165   else
62166
62167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62168 $as_echo_n "checking for _sincosf declaration... " >&6; }
62169   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62170     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62171   $as_echo_n "(cached) " >&6
62172 else
62173
62174
62175       ac_ext=cpp
62176 ac_cpp='$CXXCPP $CPPFLAGS'
62177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62180
62181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182 /* end confdefs.h.  */
62183 #include <math.h>
62184 int
62185 main ()
62186 {
62187  _sincosf(0, 0, 0);
62188   ;
62189   return 0;
62190 }
62191 _ACEOF
62192 if ac_fn_cxx_try_compile "$LINENO"; then :
62193   glibcxx_cv_func__sincosf_use=yes
62194 else
62195   glibcxx_cv_func__sincosf_use=no
62196 fi
62197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62198       ac_ext=c
62199 ac_cpp='$CPP $CPPFLAGS'
62200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62203
62204
62205 fi
62206
62207   fi
62208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62210
62211     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62212       for ac_func in _sincosf
62213 do :
62214   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62215 if test "x$ac_cv_func__sincosf" = x""yes; then :
62216   cat >>confdefs.h <<_ACEOF
62217 #define HAVE__SINCOSF 1
62218 _ACEOF
62219
62220 fi
62221 done
62222
62223     fi
62224   fi
62225
62226
62227
62228
62229
62230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62231 $as_echo_n "checking for finitef declaration... " >&6; }
62232   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62233     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62234   $as_echo_n "(cached) " >&6
62235 else
62236
62237
62238       ac_ext=cpp
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62243
62244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62245 /* end confdefs.h.  */
62246 #include <math.h>
62247                       #ifdef HAVE_IEEEFP_H
62248                       #include <ieeefp.h>
62249                       #endif
62250
62251 int
62252 main ()
62253 {
62254  finitef(0);
62255   ;
62256   return 0;
62257 }
62258 _ACEOF
62259 if ac_fn_cxx_try_compile "$LINENO"; then :
62260   glibcxx_cv_func_finitef_use=yes
62261 else
62262   glibcxx_cv_func_finitef_use=no
62263 fi
62264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62265       ac_ext=c
62266 ac_cpp='$CPP $CPPFLAGS'
62267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62270
62271
62272 fi
62273
62274   fi
62275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62277
62278   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62279     for ac_func in finitef
62280 do :
62281   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62282 if test "x$ac_cv_func_finitef" = x""yes; then :
62283   cat >>confdefs.h <<_ACEOF
62284 #define HAVE_FINITEF 1
62285 _ACEOF
62286
62287 fi
62288 done
62289
62290   else
62291
62292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62293 $as_echo_n "checking for _finitef declaration... " >&6; }
62294   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62295     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62296   $as_echo_n "(cached) " >&6
62297 else
62298
62299
62300       ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305
62306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h.  */
62308 #include <math.h>
62309                       #ifdef HAVE_IEEEFP_H
62310                       #include <ieeefp.h>
62311                       #endif
62312
62313 int
62314 main ()
62315 {
62316  _finitef(0);
62317   ;
62318   return 0;
62319 }
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322   glibcxx_cv_func__finitef_use=yes
62323 else
62324   glibcxx_cv_func__finitef_use=no
62325 fi
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327       ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332
62333
62334 fi
62335
62336   fi
62337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62339
62340     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62341       for ac_func in _finitef
62342 do :
62343   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62344 if test "x$ac_cv_func__finitef" = x""yes; then :
62345   cat >>confdefs.h <<_ACEOF
62346 #define HAVE__FINITEF 1
62347 _ACEOF
62348
62349 fi
62350 done
62351
62352     fi
62353   fi
62354
62355
62356
62357
62358
62359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62360 $as_echo_n "checking for long double trig functions... " >&6; }
62361   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62362   $as_echo_n "(cached) " >&6
62363 else
62364
62365
62366     ac_ext=cpp
62367 ac_cpp='$CXXCPP $CPPFLAGS'
62368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62371
62372     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62373 /* end confdefs.h.  */
62374 #include <math.h>
62375 int
62376 main ()
62377 {
62378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62379   ;
62380   return 0;
62381 }
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384   glibcxx_cv_func_long_double_trig_use=yes
62385 else
62386   glibcxx_cv_func_long_double_trig_use=no
62387 fi
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389     ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62394
62395 fi
62396
62397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62399   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62400     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62401 do :
62402   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62404 eval as_val=\$$as_ac_var
62405    if test "x$as_val" = x""yes; then :
62406   cat >>confdefs.h <<_ACEOF
62407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62408 _ACEOF
62409
62410 fi
62411 done
62412
62413   else
62414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62415 $as_echo_n "checking for _long double trig functions... " >&6; }
62416     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62417   $as_echo_n "(cached) " >&6
62418 else
62419
62420
62421       ac_ext=cpp
62422 ac_cpp='$CXXCPP $CPPFLAGS'
62423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62426
62427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62428 /* end confdefs.h.  */
62429 #include <math.h>
62430 int
62431 main ()
62432 {
62433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62434   ;
62435   return 0;
62436 }
62437 _ACEOF
62438 if ac_fn_cxx_try_compile "$LINENO"; then :
62439   glibcxx_cv_func__long_double_trig_use=yes
62440 else
62441   glibcxx_cv_func__long_double_trig_use=no
62442 fi
62443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62444       ac_ext=c
62445 ac_cpp='$CPP $CPPFLAGS'
62446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62449
62450 fi
62451
62452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62454     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62455       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62456 do :
62457   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62459 eval as_val=\$$as_ac_var
62460    if test "x$as_val" = x""yes; then :
62461   cat >>confdefs.h <<_ACEOF
62462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62463 _ACEOF
62464
62465 fi
62466 done
62467
62468     fi
62469   fi
62470
62471
62472
62473
62474
62475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62476 $as_echo_n "checking for long double round functions... " >&6; }
62477   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62478   $as_echo_n "(cached) " >&6
62479 else
62480
62481
62482     ac_ext=cpp
62483 ac_cpp='$CXXCPP $CPPFLAGS'
62484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62487
62488     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62489 /* end confdefs.h.  */
62490 #include <math.h>
62491 int
62492 main ()
62493 {
62494 ceill (0); floorl (0);
62495   ;
62496   return 0;
62497 }
62498 _ACEOF
62499 if ac_fn_cxx_try_compile "$LINENO"; then :
62500   glibcxx_cv_func_long_double_round_use=yes
62501 else
62502   glibcxx_cv_func_long_double_round_use=no
62503 fi
62504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62505     ac_ext=c
62506 ac_cpp='$CPP $CPPFLAGS'
62507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62510
62511 fi
62512
62513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62515   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62516     for ac_func in ceill floorl
62517 do :
62518   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62520 eval as_val=\$$as_ac_var
62521    if test "x$as_val" = x""yes; then :
62522   cat >>confdefs.h <<_ACEOF
62523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62524 _ACEOF
62525
62526 fi
62527 done
62528
62529   else
62530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62531 $as_echo_n "checking for _long double round functions... " >&6; }
62532     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62533   $as_echo_n "(cached) " >&6
62534 else
62535
62536
62537       ac_ext=cpp
62538 ac_cpp='$CXXCPP $CPPFLAGS'
62539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62542
62543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62544 /* end confdefs.h.  */
62545 #include <math.h>
62546 int
62547 main ()
62548 {
62549 _ceill (0); _floorl (0);
62550   ;
62551   return 0;
62552 }
62553 _ACEOF
62554 if ac_fn_cxx_try_compile "$LINENO"; then :
62555   glibcxx_cv_func__long_double_round_use=yes
62556 else
62557   glibcxx_cv_func__long_double_round_use=no
62558 fi
62559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62560       ac_ext=c
62561 ac_cpp='$CPP $CPPFLAGS'
62562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62565
62566 fi
62567
62568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62570     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62571       for ac_func in _ceill _floorl
62572 do :
62573   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62575 eval as_val=\$$as_ac_var
62576    if test "x$as_val" = x""yes; then :
62577   cat >>confdefs.h <<_ACEOF
62578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62579 _ACEOF
62580
62581 fi
62582 done
62583
62584     fi
62585   fi
62586
62587
62588
62589
62590
62591
62592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62593 $as_echo_n "checking for isnanl declaration... " >&6; }
62594   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62595     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62596   $as_echo_n "(cached) " >&6
62597 else
62598
62599
62600       ac_ext=cpp
62601 ac_cpp='$CXXCPP $CPPFLAGS'
62602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605
62606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62607 /* end confdefs.h.  */
62608 #include <math.h>
62609                       #ifdef HAVE_IEEEFP_H
62610                       #include <ieeefp.h>
62611                       #endif
62612
62613 int
62614 main ()
62615 {
62616  isnanl(0);
62617   ;
62618   return 0;
62619 }
62620 _ACEOF
62621 if ac_fn_cxx_try_compile "$LINENO"; then :
62622   glibcxx_cv_func_isnanl_use=yes
62623 else
62624   glibcxx_cv_func_isnanl_use=no
62625 fi
62626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62627       ac_ext=c
62628 ac_cpp='$CPP $CPPFLAGS'
62629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62632
62633
62634 fi
62635
62636   fi
62637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62639
62640   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62641     for ac_func in isnanl
62642 do :
62643   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62644 if test "x$ac_cv_func_isnanl" = x""yes; then :
62645   cat >>confdefs.h <<_ACEOF
62646 #define HAVE_ISNANL 1
62647 _ACEOF
62648
62649 fi
62650 done
62651
62652   else
62653
62654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62655 $as_echo_n "checking for _isnanl declaration... " >&6; }
62656   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62657     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62658   $as_echo_n "(cached) " >&6
62659 else
62660
62661
62662       ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62667
62668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h.  */
62670 #include <math.h>
62671                       #ifdef HAVE_IEEEFP_H
62672                       #include <ieeefp.h>
62673                       #endif
62674
62675 int
62676 main ()
62677 {
62678  _isnanl(0);
62679   ;
62680   return 0;
62681 }
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684   glibcxx_cv_func__isnanl_use=yes
62685 else
62686   glibcxx_cv_func__isnanl_use=no
62687 fi
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689       ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62694
62695
62696 fi
62697
62698   fi
62699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62701
62702     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62703       for ac_func in _isnanl
62704 do :
62705   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62706 if test "x$ac_cv_func__isnanl" = x""yes; then :
62707   cat >>confdefs.h <<_ACEOF
62708 #define HAVE__ISNANL 1
62709 _ACEOF
62710
62711 fi
62712 done
62713
62714     fi
62715   fi
62716
62717
62718
62719
62720
62721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62722 $as_echo_n "checking for isinfl declaration... " >&6; }
62723   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62724     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62725   $as_echo_n "(cached) " >&6
62726 else
62727
62728
62729       ac_ext=cpp
62730 ac_cpp='$CXXCPP $CPPFLAGS'
62731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62734
62735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62736 /* end confdefs.h.  */
62737 #include <math.h>
62738                       #ifdef HAVE_IEEEFP_H
62739                       #include <ieeefp.h>
62740                       #endif
62741
62742 int
62743 main ()
62744 {
62745  isinfl(0);
62746   ;
62747   return 0;
62748 }
62749 _ACEOF
62750 if ac_fn_cxx_try_compile "$LINENO"; then :
62751   glibcxx_cv_func_isinfl_use=yes
62752 else
62753   glibcxx_cv_func_isinfl_use=no
62754 fi
62755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62756       ac_ext=c
62757 ac_cpp='$CPP $CPPFLAGS'
62758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62761
62762
62763 fi
62764
62765   fi
62766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62768
62769   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62770     for ac_func in isinfl
62771 do :
62772   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62773 if test "x$ac_cv_func_isinfl" = x""yes; then :
62774   cat >>confdefs.h <<_ACEOF
62775 #define HAVE_ISINFL 1
62776 _ACEOF
62777
62778 fi
62779 done
62780
62781   else
62782
62783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62784 $as_echo_n "checking for _isinfl declaration... " >&6; }
62785   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62786     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62787   $as_echo_n "(cached) " >&6
62788 else
62789
62790
62791       ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62796
62797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h.  */
62799 #include <math.h>
62800                       #ifdef HAVE_IEEEFP_H
62801                       #include <ieeefp.h>
62802                       #endif
62803
62804 int
62805 main ()
62806 {
62807  _isinfl(0);
62808   ;
62809   return 0;
62810 }
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813   glibcxx_cv_func__isinfl_use=yes
62814 else
62815   glibcxx_cv_func__isinfl_use=no
62816 fi
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818       ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62823
62824
62825 fi
62826
62827   fi
62828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62830
62831     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62832       for ac_func in _isinfl
62833 do :
62834   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62835 if test "x$ac_cv_func__isinfl" = x""yes; then :
62836   cat >>confdefs.h <<_ACEOF
62837 #define HAVE__ISINFL 1
62838 _ACEOF
62839
62840 fi
62841 done
62842
62843     fi
62844   fi
62845
62846
62847
62848
62849
62850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62851 $as_echo_n "checking for atan2l declaration... " >&6; }
62852   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62853     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62854   $as_echo_n "(cached) " >&6
62855 else
62856
62857
62858       ac_ext=cpp
62859 ac_cpp='$CXXCPP $CPPFLAGS'
62860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62863
62864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62865 /* end confdefs.h.  */
62866 #include <math.h>
62867 int
62868 main ()
62869 {
62870  atan2l(0, 0);
62871   ;
62872   return 0;
62873 }
62874 _ACEOF
62875 if ac_fn_cxx_try_compile "$LINENO"; then :
62876   glibcxx_cv_func_atan2l_use=yes
62877 else
62878   glibcxx_cv_func_atan2l_use=no
62879 fi
62880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62881       ac_ext=c
62882 ac_cpp='$CPP $CPPFLAGS'
62883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62886
62887
62888 fi
62889
62890   fi
62891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62893
62894   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62895     for ac_func in atan2l
62896 do :
62897   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62898 if test "x$ac_cv_func_atan2l" = x""yes; then :
62899   cat >>confdefs.h <<_ACEOF
62900 #define HAVE_ATAN2L 1
62901 _ACEOF
62902
62903 fi
62904 done
62905
62906   else
62907
62908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62909 $as_echo_n "checking for _atan2l declaration... " >&6; }
62910   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62911     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62912   $as_echo_n "(cached) " >&6
62913 else
62914
62915
62916       ac_ext=cpp
62917 ac_cpp='$CXXCPP $CPPFLAGS'
62918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62921
62922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62923 /* end confdefs.h.  */
62924 #include <math.h>
62925 int
62926 main ()
62927 {
62928  _atan2l(0, 0);
62929   ;
62930   return 0;
62931 }
62932 _ACEOF
62933 if ac_fn_cxx_try_compile "$LINENO"; then :
62934   glibcxx_cv_func__atan2l_use=yes
62935 else
62936   glibcxx_cv_func__atan2l_use=no
62937 fi
62938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62939       ac_ext=c
62940 ac_cpp='$CPP $CPPFLAGS'
62941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62944
62945
62946 fi
62947
62948   fi
62949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62951
62952     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62953       for ac_func in _atan2l
62954 do :
62955   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62956 if test "x$ac_cv_func__atan2l" = x""yes; then :
62957   cat >>confdefs.h <<_ACEOF
62958 #define HAVE__ATAN2L 1
62959 _ACEOF
62960
62961 fi
62962 done
62963
62964     fi
62965   fi
62966
62967
62968
62969
62970
62971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62972 $as_echo_n "checking for expl declaration... " >&6; }
62973   if test x${glibcxx_cv_func_expl_use+set} != xset; then
62974     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62975   $as_echo_n "(cached) " >&6
62976 else
62977
62978
62979       ac_ext=cpp
62980 ac_cpp='$CXXCPP $CPPFLAGS'
62981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62984
62985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62986 /* end confdefs.h.  */
62987 #include <math.h>
62988                       #ifdef HAVE_IEEEFP_H
62989                       #include <ieeefp.h>
62990                       #endif
62991
62992 int
62993 main ()
62994 {
62995  expl(0);
62996   ;
62997   return 0;
62998 }
62999 _ACEOF
63000 if ac_fn_cxx_try_compile "$LINENO"; then :
63001   glibcxx_cv_func_expl_use=yes
63002 else
63003   glibcxx_cv_func_expl_use=no
63004 fi
63005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63006       ac_ext=c
63007 ac_cpp='$CPP $CPPFLAGS'
63008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63011
63012
63013 fi
63014
63015   fi
63016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63018
63019   if test x$glibcxx_cv_func_expl_use = x"yes"; then
63020     for ac_func in expl
63021 do :
63022   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63023 if test "x$ac_cv_func_expl" = x""yes; then :
63024   cat >>confdefs.h <<_ACEOF
63025 #define HAVE_EXPL 1
63026 _ACEOF
63027
63028 fi
63029 done
63030
63031   else
63032
63033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63034 $as_echo_n "checking for _expl declaration... " >&6; }
63035   if test x${glibcxx_cv_func__expl_use+set} != xset; then
63036     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63037   $as_echo_n "(cached) " >&6
63038 else
63039
63040
63041       ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63046
63047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h.  */
63049 #include <math.h>
63050                       #ifdef HAVE_IEEEFP_H
63051                       #include <ieeefp.h>
63052                       #endif
63053
63054 int
63055 main ()
63056 {
63057  _expl(0);
63058   ;
63059   return 0;
63060 }
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063   glibcxx_cv_func__expl_use=yes
63064 else
63065   glibcxx_cv_func__expl_use=no
63066 fi
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068       ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63073
63074
63075 fi
63076
63077   fi
63078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63080
63081     if test x$glibcxx_cv_func__expl_use = x"yes"; then
63082       for ac_func in _expl
63083 do :
63084   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63085 if test "x$ac_cv_func__expl" = x""yes; then :
63086   cat >>confdefs.h <<_ACEOF
63087 #define HAVE__EXPL 1
63088 _ACEOF
63089
63090 fi
63091 done
63092
63093     fi
63094   fi
63095
63096
63097
63098
63099
63100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63101 $as_echo_n "checking for fabsl declaration... " >&6; }
63102   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63103     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63104   $as_echo_n "(cached) " >&6
63105 else
63106
63107
63108       ac_ext=cpp
63109 ac_cpp='$CXXCPP $CPPFLAGS'
63110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63113
63114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63115 /* end confdefs.h.  */
63116 #include <math.h>
63117                       #ifdef HAVE_IEEEFP_H
63118                       #include <ieeefp.h>
63119                       #endif
63120
63121 int
63122 main ()
63123 {
63124  fabsl(0);
63125   ;
63126   return 0;
63127 }
63128 _ACEOF
63129 if ac_fn_cxx_try_compile "$LINENO"; then :
63130   glibcxx_cv_func_fabsl_use=yes
63131 else
63132   glibcxx_cv_func_fabsl_use=no
63133 fi
63134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63135       ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140
63141
63142 fi
63143
63144   fi
63145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63147
63148   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63149     for ac_func in fabsl
63150 do :
63151   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63152 if test "x$ac_cv_func_fabsl" = x""yes; then :
63153   cat >>confdefs.h <<_ACEOF
63154 #define HAVE_FABSL 1
63155 _ACEOF
63156
63157 fi
63158 done
63159
63160   else
63161
63162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63163 $as_echo_n "checking for _fabsl declaration... " >&6; }
63164   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63165     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63166   $as_echo_n "(cached) " >&6
63167 else
63168
63169
63170       ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175
63176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h.  */
63178 #include <math.h>
63179                       #ifdef HAVE_IEEEFP_H
63180                       #include <ieeefp.h>
63181                       #endif
63182
63183 int
63184 main ()
63185 {
63186  _fabsl(0);
63187   ;
63188   return 0;
63189 }
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192   glibcxx_cv_func__fabsl_use=yes
63193 else
63194   glibcxx_cv_func__fabsl_use=no
63195 fi
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197       ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202
63203
63204 fi
63205
63206   fi
63207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63209
63210     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63211       for ac_func in _fabsl
63212 do :
63213   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63214 if test "x$ac_cv_func__fabsl" = x""yes; then :
63215   cat >>confdefs.h <<_ACEOF
63216 #define HAVE__FABSL 1
63217 _ACEOF
63218
63219 fi
63220 done
63221
63222     fi
63223   fi
63224
63225
63226
63227
63228
63229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63230 $as_echo_n "checking for fmodl declaration... " >&6; }
63231   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63232     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63233   $as_echo_n "(cached) " >&6
63234 else
63235
63236
63237       ac_ext=cpp
63238 ac_cpp='$CXXCPP $CPPFLAGS'
63239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63242
63243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63244 /* end confdefs.h.  */
63245 #include <math.h>
63246 int
63247 main ()
63248 {
63249  fmodl(0, 0);
63250   ;
63251   return 0;
63252 }
63253 _ACEOF
63254 if ac_fn_cxx_try_compile "$LINENO"; then :
63255   glibcxx_cv_func_fmodl_use=yes
63256 else
63257   glibcxx_cv_func_fmodl_use=no
63258 fi
63259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63260       ac_ext=c
63261 ac_cpp='$CPP $CPPFLAGS'
63262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63265
63266
63267 fi
63268
63269   fi
63270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63272
63273   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63274     for ac_func in fmodl
63275 do :
63276   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63277 if test "x$ac_cv_func_fmodl" = x""yes; then :
63278   cat >>confdefs.h <<_ACEOF
63279 #define HAVE_FMODL 1
63280 _ACEOF
63281
63282 fi
63283 done
63284
63285   else
63286
63287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63288 $as_echo_n "checking for _fmodl declaration... " >&6; }
63289   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63290     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63291   $as_echo_n "(cached) " >&6
63292 else
63293
63294
63295       ac_ext=cpp
63296 ac_cpp='$CXXCPP $CPPFLAGS'
63297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63300
63301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63302 /* end confdefs.h.  */
63303 #include <math.h>
63304 int
63305 main ()
63306 {
63307  _fmodl(0, 0);
63308   ;
63309   return 0;
63310 }
63311 _ACEOF
63312 if ac_fn_cxx_try_compile "$LINENO"; then :
63313   glibcxx_cv_func__fmodl_use=yes
63314 else
63315   glibcxx_cv_func__fmodl_use=no
63316 fi
63317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63318       ac_ext=c
63319 ac_cpp='$CPP $CPPFLAGS'
63320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63323
63324
63325 fi
63326
63327   fi
63328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63330
63331     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63332       for ac_func in _fmodl
63333 do :
63334   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63335 if test "x$ac_cv_func__fmodl" = x""yes; then :
63336   cat >>confdefs.h <<_ACEOF
63337 #define HAVE__FMODL 1
63338 _ACEOF
63339
63340 fi
63341 done
63342
63343     fi
63344   fi
63345
63346
63347
63348
63349
63350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63351 $as_echo_n "checking for frexpl declaration... " >&6; }
63352   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63353     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63354   $as_echo_n "(cached) " >&6
63355 else
63356
63357
63358       ac_ext=cpp
63359 ac_cpp='$CXXCPP $CPPFLAGS'
63360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63363
63364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63365 /* end confdefs.h.  */
63366 #include <math.h>
63367 int
63368 main ()
63369 {
63370  frexpl(0, 0);
63371   ;
63372   return 0;
63373 }
63374 _ACEOF
63375 if ac_fn_cxx_try_compile "$LINENO"; then :
63376   glibcxx_cv_func_frexpl_use=yes
63377 else
63378   glibcxx_cv_func_frexpl_use=no
63379 fi
63380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63381       ac_ext=c
63382 ac_cpp='$CPP $CPPFLAGS'
63383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63386
63387
63388 fi
63389
63390   fi
63391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63393
63394   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63395     for ac_func in frexpl
63396 do :
63397   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63398 if test "x$ac_cv_func_frexpl" = x""yes; then :
63399   cat >>confdefs.h <<_ACEOF
63400 #define HAVE_FREXPL 1
63401 _ACEOF
63402
63403 fi
63404 done
63405
63406   else
63407
63408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63409 $as_echo_n "checking for _frexpl declaration... " >&6; }
63410   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63411     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63412   $as_echo_n "(cached) " >&6
63413 else
63414
63415
63416       ac_ext=cpp
63417 ac_cpp='$CXXCPP $CPPFLAGS'
63418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63421
63422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63423 /* end confdefs.h.  */
63424 #include <math.h>
63425 int
63426 main ()
63427 {
63428  _frexpl(0, 0);
63429   ;
63430   return 0;
63431 }
63432 _ACEOF
63433 if ac_fn_cxx_try_compile "$LINENO"; then :
63434   glibcxx_cv_func__frexpl_use=yes
63435 else
63436   glibcxx_cv_func__frexpl_use=no
63437 fi
63438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63439       ac_ext=c
63440 ac_cpp='$CPP $CPPFLAGS'
63441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63444
63445
63446 fi
63447
63448   fi
63449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63451
63452     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63453       for ac_func in _frexpl
63454 do :
63455   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63456 if test "x$ac_cv_func__frexpl" = x""yes; then :
63457   cat >>confdefs.h <<_ACEOF
63458 #define HAVE__FREXPL 1
63459 _ACEOF
63460
63461 fi
63462 done
63463
63464     fi
63465   fi
63466
63467
63468
63469
63470
63471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63472 $as_echo_n "checking for hypotl declaration... " >&6; }
63473   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63474     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63475   $as_echo_n "(cached) " >&6
63476 else
63477
63478
63479       ac_ext=cpp
63480 ac_cpp='$CXXCPP $CPPFLAGS'
63481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63484
63485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63486 /* end confdefs.h.  */
63487 #include <math.h>
63488 int
63489 main ()
63490 {
63491  hypotl(0, 0);
63492   ;
63493   return 0;
63494 }
63495 _ACEOF
63496 if ac_fn_cxx_try_compile "$LINENO"; then :
63497   glibcxx_cv_func_hypotl_use=yes
63498 else
63499   glibcxx_cv_func_hypotl_use=no
63500 fi
63501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63502       ac_ext=c
63503 ac_cpp='$CPP $CPPFLAGS'
63504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63507
63508
63509 fi
63510
63511   fi
63512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63514
63515   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63516     for ac_func in hypotl
63517 do :
63518   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63519 if test "x$ac_cv_func_hypotl" = x""yes; then :
63520   cat >>confdefs.h <<_ACEOF
63521 #define HAVE_HYPOTL 1
63522 _ACEOF
63523
63524 fi
63525 done
63526
63527   else
63528
63529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63530 $as_echo_n "checking for _hypotl declaration... " >&6; }
63531   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63532     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63533   $as_echo_n "(cached) " >&6
63534 else
63535
63536
63537       ac_ext=cpp
63538 ac_cpp='$CXXCPP $CPPFLAGS'
63539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63542
63543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63544 /* end confdefs.h.  */
63545 #include <math.h>
63546 int
63547 main ()
63548 {
63549  _hypotl(0, 0);
63550   ;
63551   return 0;
63552 }
63553 _ACEOF
63554 if ac_fn_cxx_try_compile "$LINENO"; then :
63555   glibcxx_cv_func__hypotl_use=yes
63556 else
63557   glibcxx_cv_func__hypotl_use=no
63558 fi
63559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63560       ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63565
63566
63567 fi
63568
63569   fi
63570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63572
63573     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63574       for ac_func in _hypotl
63575 do :
63576   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63577 if test "x$ac_cv_func__hypotl" = x""yes; then :
63578   cat >>confdefs.h <<_ACEOF
63579 #define HAVE__HYPOTL 1
63580 _ACEOF
63581
63582 fi
63583 done
63584
63585     fi
63586   fi
63587
63588
63589
63590
63591
63592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63593 $as_echo_n "checking for ldexpl declaration... " >&6; }
63594   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63595     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63596   $as_echo_n "(cached) " >&6
63597 else
63598
63599
63600       ac_ext=cpp
63601 ac_cpp='$CXXCPP $CPPFLAGS'
63602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63605
63606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63607 /* end confdefs.h.  */
63608 #include <math.h>
63609 int
63610 main ()
63611 {
63612  ldexpl(0, 0);
63613   ;
63614   return 0;
63615 }
63616 _ACEOF
63617 if ac_fn_cxx_try_compile "$LINENO"; then :
63618   glibcxx_cv_func_ldexpl_use=yes
63619 else
63620   glibcxx_cv_func_ldexpl_use=no
63621 fi
63622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63623       ac_ext=c
63624 ac_cpp='$CPP $CPPFLAGS'
63625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63628
63629
63630 fi
63631
63632   fi
63633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63635
63636   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63637     for ac_func in ldexpl
63638 do :
63639   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63641   cat >>confdefs.h <<_ACEOF
63642 #define HAVE_LDEXPL 1
63643 _ACEOF
63644
63645 fi
63646 done
63647
63648   else
63649
63650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63652   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63653     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63654   $as_echo_n "(cached) " >&6
63655 else
63656
63657
63658       ac_ext=cpp
63659 ac_cpp='$CXXCPP $CPPFLAGS'
63660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63663
63664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63665 /* end confdefs.h.  */
63666 #include <math.h>
63667 int
63668 main ()
63669 {
63670  _ldexpl(0, 0);
63671   ;
63672   return 0;
63673 }
63674 _ACEOF
63675 if ac_fn_cxx_try_compile "$LINENO"; then :
63676   glibcxx_cv_func__ldexpl_use=yes
63677 else
63678   glibcxx_cv_func__ldexpl_use=no
63679 fi
63680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63681       ac_ext=c
63682 ac_cpp='$CPP $CPPFLAGS'
63683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63686
63687
63688 fi
63689
63690   fi
63691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63693
63694     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63695       for ac_func in _ldexpl
63696 do :
63697   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63699   cat >>confdefs.h <<_ACEOF
63700 #define HAVE__LDEXPL 1
63701 _ACEOF
63702
63703 fi
63704 done
63705
63706     fi
63707   fi
63708
63709
63710
63711
63712
63713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63714 $as_echo_n "checking for logl declaration... " >&6; }
63715   if test x${glibcxx_cv_func_logl_use+set} != xset; then
63716     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63717   $as_echo_n "(cached) " >&6
63718 else
63719
63720
63721       ac_ext=cpp
63722 ac_cpp='$CXXCPP $CPPFLAGS'
63723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63726
63727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63728 /* end confdefs.h.  */
63729 #include <math.h>
63730                       #ifdef HAVE_IEEEFP_H
63731                       #include <ieeefp.h>
63732                       #endif
63733
63734 int
63735 main ()
63736 {
63737  logl(0);
63738   ;
63739   return 0;
63740 }
63741 _ACEOF
63742 if ac_fn_cxx_try_compile "$LINENO"; then :
63743   glibcxx_cv_func_logl_use=yes
63744 else
63745   glibcxx_cv_func_logl_use=no
63746 fi
63747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63748       ac_ext=c
63749 ac_cpp='$CPP $CPPFLAGS'
63750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63753
63754
63755 fi
63756
63757   fi
63758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63760
63761   if test x$glibcxx_cv_func_logl_use = x"yes"; then
63762     for ac_func in logl
63763 do :
63764   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63765 if test "x$ac_cv_func_logl" = x""yes; then :
63766   cat >>confdefs.h <<_ACEOF
63767 #define HAVE_LOGL 1
63768 _ACEOF
63769
63770 fi
63771 done
63772
63773   else
63774
63775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63776 $as_echo_n "checking for _logl declaration... " >&6; }
63777   if test x${glibcxx_cv_func__logl_use+set} != xset; then
63778     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63779   $as_echo_n "(cached) " >&6
63780 else
63781
63782
63783       ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63788
63789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h.  */
63791 #include <math.h>
63792                       #ifdef HAVE_IEEEFP_H
63793                       #include <ieeefp.h>
63794                       #endif
63795
63796 int
63797 main ()
63798 {
63799  _logl(0);
63800   ;
63801   return 0;
63802 }
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805   glibcxx_cv_func__logl_use=yes
63806 else
63807   glibcxx_cv_func__logl_use=no
63808 fi
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810       ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63815
63816
63817 fi
63818
63819   fi
63820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63822
63823     if test x$glibcxx_cv_func__logl_use = x"yes"; then
63824       for ac_func in _logl
63825 do :
63826   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63827 if test "x$ac_cv_func__logl" = x""yes; then :
63828   cat >>confdefs.h <<_ACEOF
63829 #define HAVE__LOGL 1
63830 _ACEOF
63831
63832 fi
63833 done
63834
63835     fi
63836   fi
63837
63838
63839
63840
63841
63842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63843 $as_echo_n "checking for log10l declaration... " >&6; }
63844   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63845     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63846   $as_echo_n "(cached) " >&6
63847 else
63848
63849
63850       ac_ext=cpp
63851 ac_cpp='$CXXCPP $CPPFLAGS'
63852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63855
63856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63857 /* end confdefs.h.  */
63858 #include <math.h>
63859                       #ifdef HAVE_IEEEFP_H
63860                       #include <ieeefp.h>
63861                       #endif
63862
63863 int
63864 main ()
63865 {
63866  log10l(0);
63867   ;
63868   return 0;
63869 }
63870 _ACEOF
63871 if ac_fn_cxx_try_compile "$LINENO"; then :
63872   glibcxx_cv_func_log10l_use=yes
63873 else
63874   glibcxx_cv_func_log10l_use=no
63875 fi
63876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63877       ac_ext=c
63878 ac_cpp='$CPP $CPPFLAGS'
63879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63882
63883
63884 fi
63885
63886   fi
63887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63889
63890   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63891     for ac_func in log10l
63892 do :
63893   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63894 if test "x$ac_cv_func_log10l" = x""yes; then :
63895   cat >>confdefs.h <<_ACEOF
63896 #define HAVE_LOG10L 1
63897 _ACEOF
63898
63899 fi
63900 done
63901
63902   else
63903
63904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63905 $as_echo_n "checking for _log10l declaration... " >&6; }
63906   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63907     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63908   $as_echo_n "(cached) " >&6
63909 else
63910
63911
63912       ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63917
63918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h.  */
63920 #include <math.h>
63921                       #ifdef HAVE_IEEEFP_H
63922                       #include <ieeefp.h>
63923                       #endif
63924
63925 int
63926 main ()
63927 {
63928  _log10l(0);
63929   ;
63930   return 0;
63931 }
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934   glibcxx_cv_func__log10l_use=yes
63935 else
63936   glibcxx_cv_func__log10l_use=no
63937 fi
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939       ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63944
63945
63946 fi
63947
63948   fi
63949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63951
63952     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63953       for ac_func in _log10l
63954 do :
63955   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63956 if test "x$ac_cv_func__log10l" = x""yes; then :
63957   cat >>confdefs.h <<_ACEOF
63958 #define HAVE__LOG10L 1
63959 _ACEOF
63960
63961 fi
63962 done
63963
63964     fi
63965   fi
63966
63967
63968
63969
63970
63971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63972 $as_echo_n "checking for modfl declaration... " >&6; }
63973   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63974     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63975   $as_echo_n "(cached) " >&6
63976 else
63977
63978
63979       ac_ext=cpp
63980 ac_cpp='$CXXCPP $CPPFLAGS'
63981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63984
63985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63986 /* end confdefs.h.  */
63987 #include <math.h>
63988 int
63989 main ()
63990 {
63991  modfl(0, 0);
63992   ;
63993   return 0;
63994 }
63995 _ACEOF
63996 if ac_fn_cxx_try_compile "$LINENO"; then :
63997   glibcxx_cv_func_modfl_use=yes
63998 else
63999   glibcxx_cv_func_modfl_use=no
64000 fi
64001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64002       ac_ext=c
64003 ac_cpp='$CPP $CPPFLAGS'
64004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64007
64008
64009 fi
64010
64011   fi
64012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64014
64015   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64016     for ac_func in modfl
64017 do :
64018   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64019 if test "x$ac_cv_func_modfl" = x""yes; then :
64020   cat >>confdefs.h <<_ACEOF
64021 #define HAVE_MODFL 1
64022 _ACEOF
64023
64024 fi
64025 done
64026
64027   else
64028
64029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64030 $as_echo_n "checking for _modfl declaration... " >&6; }
64031   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64032     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64033   $as_echo_n "(cached) " >&6
64034 else
64035
64036
64037       ac_ext=cpp
64038 ac_cpp='$CXXCPP $CPPFLAGS'
64039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64042
64043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64044 /* end confdefs.h.  */
64045 #include <math.h>
64046 int
64047 main ()
64048 {
64049  _modfl(0, 0);
64050   ;
64051   return 0;
64052 }
64053 _ACEOF
64054 if ac_fn_cxx_try_compile "$LINENO"; then :
64055   glibcxx_cv_func__modfl_use=yes
64056 else
64057   glibcxx_cv_func__modfl_use=no
64058 fi
64059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64060       ac_ext=c
64061 ac_cpp='$CPP $CPPFLAGS'
64062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64065
64066
64067 fi
64068
64069   fi
64070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64072
64073     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64074       for ac_func in _modfl
64075 do :
64076   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64077 if test "x$ac_cv_func__modfl" = x""yes; then :
64078   cat >>confdefs.h <<_ACEOF
64079 #define HAVE__MODFL 1
64080 _ACEOF
64081
64082 fi
64083 done
64084
64085     fi
64086   fi
64087
64088
64089
64090
64091
64092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64093 $as_echo_n "checking for powl declaration... " >&6; }
64094   if test x${glibcxx_cv_func_powl_use+set} != xset; then
64095     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64096   $as_echo_n "(cached) " >&6
64097 else
64098
64099
64100       ac_ext=cpp
64101 ac_cpp='$CXXCPP $CPPFLAGS'
64102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64105
64106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64107 /* end confdefs.h.  */
64108 #include <math.h>
64109 int
64110 main ()
64111 {
64112  powl(0, 0);
64113   ;
64114   return 0;
64115 }
64116 _ACEOF
64117 if ac_fn_cxx_try_compile "$LINENO"; then :
64118   glibcxx_cv_func_powl_use=yes
64119 else
64120   glibcxx_cv_func_powl_use=no
64121 fi
64122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64123       ac_ext=c
64124 ac_cpp='$CPP $CPPFLAGS'
64125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64128
64129
64130 fi
64131
64132   fi
64133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64135
64136   if test x$glibcxx_cv_func_powl_use = x"yes"; then
64137     for ac_func in powl
64138 do :
64139   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64140 if test "x$ac_cv_func_powl" = x""yes; then :
64141   cat >>confdefs.h <<_ACEOF
64142 #define HAVE_POWL 1
64143 _ACEOF
64144
64145 fi
64146 done
64147
64148   else
64149
64150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64151 $as_echo_n "checking for _powl declaration... " >&6; }
64152   if test x${glibcxx_cv_func__powl_use+set} != xset; then
64153     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64154   $as_echo_n "(cached) " >&6
64155 else
64156
64157
64158       ac_ext=cpp
64159 ac_cpp='$CXXCPP $CPPFLAGS'
64160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64163
64164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64165 /* end confdefs.h.  */
64166 #include <math.h>
64167 int
64168 main ()
64169 {
64170  _powl(0, 0);
64171   ;
64172   return 0;
64173 }
64174 _ACEOF
64175 if ac_fn_cxx_try_compile "$LINENO"; then :
64176   glibcxx_cv_func__powl_use=yes
64177 else
64178   glibcxx_cv_func__powl_use=no
64179 fi
64180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64181       ac_ext=c
64182 ac_cpp='$CPP $CPPFLAGS'
64183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64186
64187
64188 fi
64189
64190   fi
64191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64193
64194     if test x$glibcxx_cv_func__powl_use = x"yes"; then
64195       for ac_func in _powl
64196 do :
64197   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64198 if test "x$ac_cv_func__powl" = x""yes; then :
64199   cat >>confdefs.h <<_ACEOF
64200 #define HAVE__POWL 1
64201 _ACEOF
64202
64203 fi
64204 done
64205
64206     fi
64207   fi
64208
64209
64210
64211
64212
64213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64214 $as_echo_n "checking for sqrtl declaration... " >&6; }
64215   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64216     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64217   $as_echo_n "(cached) " >&6
64218 else
64219
64220
64221       ac_ext=cpp
64222 ac_cpp='$CXXCPP $CPPFLAGS'
64223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226
64227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64228 /* end confdefs.h.  */
64229 #include <math.h>
64230                       #ifdef HAVE_IEEEFP_H
64231                       #include <ieeefp.h>
64232                       #endif
64233
64234 int
64235 main ()
64236 {
64237  sqrtl(0);
64238   ;
64239   return 0;
64240 }
64241 _ACEOF
64242 if ac_fn_cxx_try_compile "$LINENO"; then :
64243   glibcxx_cv_func_sqrtl_use=yes
64244 else
64245   glibcxx_cv_func_sqrtl_use=no
64246 fi
64247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64248       ac_ext=c
64249 ac_cpp='$CPP $CPPFLAGS'
64250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64253
64254
64255 fi
64256
64257   fi
64258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64260
64261   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64262     for ac_func in sqrtl
64263 do :
64264   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64266   cat >>confdefs.h <<_ACEOF
64267 #define HAVE_SQRTL 1
64268 _ACEOF
64269
64270 fi
64271 done
64272
64273   else
64274
64275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64277   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64278     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64279   $as_echo_n "(cached) " >&6
64280 else
64281
64282
64283       ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64288
64289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h.  */
64291 #include <math.h>
64292                       #ifdef HAVE_IEEEFP_H
64293                       #include <ieeefp.h>
64294                       #endif
64295
64296 int
64297 main ()
64298 {
64299  _sqrtl(0);
64300   ;
64301   return 0;
64302 }
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305   glibcxx_cv_func__sqrtl_use=yes
64306 else
64307   glibcxx_cv_func__sqrtl_use=no
64308 fi
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310       ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64315
64316
64317 fi
64318
64319   fi
64320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64322
64323     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64324       for ac_func in _sqrtl
64325 do :
64326   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64328   cat >>confdefs.h <<_ACEOF
64329 #define HAVE__SQRTL 1
64330 _ACEOF
64331
64332 fi
64333 done
64334
64335     fi
64336   fi
64337
64338
64339
64340
64341
64342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64343 $as_echo_n "checking for sincosl declaration... " >&6; }
64344   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64345     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64346   $as_echo_n "(cached) " >&6
64347 else
64348
64349
64350       ac_ext=cpp
64351 ac_cpp='$CXXCPP $CPPFLAGS'
64352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64355
64356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64357 /* end confdefs.h.  */
64358 #include <math.h>
64359 int
64360 main ()
64361 {
64362  sincosl(0, 0, 0);
64363   ;
64364   return 0;
64365 }
64366 _ACEOF
64367 if ac_fn_cxx_try_compile "$LINENO"; then :
64368   glibcxx_cv_func_sincosl_use=yes
64369 else
64370   glibcxx_cv_func_sincosl_use=no
64371 fi
64372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64373       ac_ext=c
64374 ac_cpp='$CPP $CPPFLAGS'
64375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64378
64379
64380 fi
64381
64382   fi
64383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64385
64386   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64387     for ac_func in sincosl
64388 do :
64389   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64390 if test "x$ac_cv_func_sincosl" = x""yes; then :
64391   cat >>confdefs.h <<_ACEOF
64392 #define HAVE_SINCOSL 1
64393 _ACEOF
64394
64395 fi
64396 done
64397
64398   else
64399
64400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64401 $as_echo_n "checking for _sincosl declaration... " >&6; }
64402   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64403     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64404   $as_echo_n "(cached) " >&6
64405 else
64406
64407
64408       ac_ext=cpp
64409 ac_cpp='$CXXCPP $CPPFLAGS'
64410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64413
64414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64415 /* end confdefs.h.  */
64416 #include <math.h>
64417 int
64418 main ()
64419 {
64420  _sincosl(0, 0, 0);
64421   ;
64422   return 0;
64423 }
64424 _ACEOF
64425 if ac_fn_cxx_try_compile "$LINENO"; then :
64426   glibcxx_cv_func__sincosl_use=yes
64427 else
64428   glibcxx_cv_func__sincosl_use=no
64429 fi
64430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64431       ac_ext=c
64432 ac_cpp='$CPP $CPPFLAGS'
64433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64436
64437
64438 fi
64439
64440   fi
64441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64443
64444     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64445       for ac_func in _sincosl
64446 do :
64447   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64448 if test "x$ac_cv_func__sincosl" = x""yes; then :
64449   cat >>confdefs.h <<_ACEOF
64450 #define HAVE__SINCOSL 1
64451 _ACEOF
64452
64453 fi
64454 done
64455
64456     fi
64457   fi
64458
64459
64460
64461
64462
64463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64464 $as_echo_n "checking for finitel declaration... " >&6; }
64465   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64466     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64467   $as_echo_n "(cached) " >&6
64468 else
64469
64470
64471       ac_ext=cpp
64472 ac_cpp='$CXXCPP $CPPFLAGS'
64473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64476
64477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64478 /* end confdefs.h.  */
64479 #include <math.h>
64480                       #ifdef HAVE_IEEEFP_H
64481                       #include <ieeefp.h>
64482                       #endif
64483
64484 int
64485 main ()
64486 {
64487  finitel(0);
64488   ;
64489   return 0;
64490 }
64491 _ACEOF
64492 if ac_fn_cxx_try_compile "$LINENO"; then :
64493   glibcxx_cv_func_finitel_use=yes
64494 else
64495   glibcxx_cv_func_finitel_use=no
64496 fi
64497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64498       ac_ext=c
64499 ac_cpp='$CPP $CPPFLAGS'
64500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64503
64504
64505 fi
64506
64507   fi
64508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64510
64511   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64512     for ac_func in finitel
64513 do :
64514   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64515 if test "x$ac_cv_func_finitel" = x""yes; then :
64516   cat >>confdefs.h <<_ACEOF
64517 #define HAVE_FINITEL 1
64518 _ACEOF
64519
64520 fi
64521 done
64522
64523   else
64524
64525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64526 $as_echo_n "checking for _finitel declaration... " >&6; }
64527   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64528     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64529   $as_echo_n "(cached) " >&6
64530 else
64531
64532
64533       ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64538
64539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h.  */
64541 #include <math.h>
64542                       #ifdef HAVE_IEEEFP_H
64543                       #include <ieeefp.h>
64544                       #endif
64545
64546 int
64547 main ()
64548 {
64549  _finitel(0);
64550   ;
64551   return 0;
64552 }
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555   glibcxx_cv_func__finitel_use=yes
64556 else
64557   glibcxx_cv_func__finitel_use=no
64558 fi
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560       ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64565
64566
64567 fi
64568
64569   fi
64570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64572
64573     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64574       for ac_func in _finitel
64575 do :
64576   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64577 if test "x$ac_cv_func__finitel" = x""yes; then :
64578   cat >>confdefs.h <<_ACEOF
64579 #define HAVE__FINITEL 1
64580 _ACEOF
64581
64582 fi
64583 done
64584
64585     fi
64586   fi
64587
64588
64589
64590
64591   LIBS="$ac_save_LIBS"
64592   CXXFLAGS="$ac_save_CXXFLAGS"
64593
64594
64595   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64596   ac_save_CXXFLAGS="$CXXFLAGS"
64597   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64598
64599
64600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64602   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64603     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64604   $as_echo_n "(cached) " >&6
64605 else
64606
64607
64608       ac_ext=cpp
64609 ac_cpp='$CXXCPP $CPPFLAGS'
64610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64613
64614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64615 /* end confdefs.h.  */
64616 #include <stdlib.h>
64617 int
64618 main ()
64619 {
64620  at_quick_exit(0);
64621   ;
64622   return 0;
64623 }
64624 _ACEOF
64625 if ac_fn_cxx_try_compile "$LINENO"; then :
64626   glibcxx_cv_func_at_quick_exit_use=yes
64627 else
64628   glibcxx_cv_func_at_quick_exit_use=no
64629 fi
64630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64631       ac_ext=c
64632 ac_cpp='$CPP $CPPFLAGS'
64633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64636
64637
64638 fi
64639
64640   fi
64641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64643   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64644     for ac_func in at_quick_exit
64645 do :
64646   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64648   cat >>confdefs.h <<_ACEOF
64649 #define HAVE_AT_QUICK_EXIT 1
64650 _ACEOF
64651
64652 fi
64653 done
64654
64655   fi
64656
64657
64658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64659 $as_echo_n "checking for quick_exit declaration... " >&6; }
64660   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64661     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64662   $as_echo_n "(cached) " >&6
64663 else
64664
64665
64666       ac_ext=cpp
64667 ac_cpp='$CXXCPP $CPPFLAGS'
64668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64671
64672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64673 /* end confdefs.h.  */
64674 #include <stdlib.h>
64675 int
64676 main ()
64677 {
64678  quick_exit(0);
64679   ;
64680   return 0;
64681 }
64682 _ACEOF
64683 if ac_fn_cxx_try_compile "$LINENO"; then :
64684   glibcxx_cv_func_quick_exit_use=yes
64685 else
64686   glibcxx_cv_func_quick_exit_use=no
64687 fi
64688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64689       ac_ext=c
64690 ac_cpp='$CPP $CPPFLAGS'
64691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64694
64695
64696 fi
64697
64698   fi
64699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64701   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64702     for ac_func in quick_exit
64703 do :
64704   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64706   cat >>confdefs.h <<_ACEOF
64707 #define HAVE_QUICK_EXIT 1
64708 _ACEOF
64709
64710 fi
64711 done
64712
64713   fi
64714
64715
64716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64717 $as_echo_n "checking for strtold declaration... " >&6; }
64718   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64719     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64720   $as_echo_n "(cached) " >&6
64721 else
64722
64723
64724       ac_ext=cpp
64725 ac_cpp='$CXXCPP $CPPFLAGS'
64726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64729
64730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64731 /* end confdefs.h.  */
64732 #include <stdlib.h>
64733 int
64734 main ()
64735 {
64736  strtold(0, 0);
64737   ;
64738   return 0;
64739 }
64740 _ACEOF
64741 if ac_fn_cxx_try_compile "$LINENO"; then :
64742   glibcxx_cv_func_strtold_use=yes
64743 else
64744   glibcxx_cv_func_strtold_use=no
64745 fi
64746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64747       ac_ext=c
64748 ac_cpp='$CPP $CPPFLAGS'
64749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64752
64753
64754 fi
64755
64756   fi
64757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64759   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64760     for ac_func in strtold
64761 do :
64762   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64763 if test "x$ac_cv_func_strtold" = x""yes; then :
64764   cat >>confdefs.h <<_ACEOF
64765 #define HAVE_STRTOLD 1
64766 _ACEOF
64767
64768 fi
64769 done
64770
64771   fi
64772
64773
64774
64775
64776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64777 $as_echo_n "checking for strtof declaration... " >&6; }
64778   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64779     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64780   $as_echo_n "(cached) " >&6
64781 else
64782
64783
64784       ac_ext=cpp
64785 ac_cpp='$CXXCPP $CPPFLAGS'
64786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64789
64790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64791 /* end confdefs.h.  */
64792 #include <stdlib.h>
64793 int
64794 main ()
64795 {
64796  strtof(0, 0);
64797   ;
64798   return 0;
64799 }
64800 _ACEOF
64801 if ac_fn_cxx_try_compile "$LINENO"; then :
64802   glibcxx_cv_func_strtof_use=yes
64803 else
64804   glibcxx_cv_func_strtof_use=no
64805 fi
64806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64807       ac_ext=c
64808 ac_cpp='$CPP $CPPFLAGS'
64809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64812
64813
64814 fi
64815
64816   fi
64817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64819   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64820     for ac_func in strtof
64821 do :
64822   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64823 if test "x$ac_cv_func_strtof" = x""yes; then :
64824   cat >>confdefs.h <<_ACEOF
64825 #define HAVE_STRTOF 1
64826 _ACEOF
64827
64828 fi
64829 done
64830
64831   fi
64832
64833
64834
64835
64836   CXXFLAGS="$ac_save_CXXFLAGS"
64837
64838     ;;
64839   *-netbsd*)
64840     SECTION_FLAGS='-ffunction-sections -fdata-sections'
64841
64842
64843   # If we're not using GNU ld, then there's no point in even trying these
64844   # tests.  Check for that first.  We should have already tested for gld
64845   # by now (in libtool), but require it now just to be safe...
64846   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64847   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64848
64849
64850
64851   # The name set by libtool depends on the version of libtool.  Shame on us
64852   # for depending on an impl detail, but c'est la vie.  Older versions used
64853   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64854   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64855   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
64856   # set (hence we're using an older libtool), then set it.
64857   if test x${with_gnu_ld+set} != xset; then
64858     if test x${ac_cv_prog_gnu_ld+set} != xset; then
64859       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
64860       with_gnu_ld=no
64861     else
64862       with_gnu_ld=$ac_cv_prog_gnu_ld
64863     fi
64864   fi
64865
64866   # Start by getting the version number.  I think the libtool test already
64867   # does some of this, but throws away the result.
64868   glibcxx_ld_is_gold=no
64869   if test x"$with_gnu_ld" = x"yes"; then
64870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64871 $as_echo_n "checking for ld version... " >&6; }
64872
64873     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64874       glibcxx_ld_is_gold=yes
64875     fi
64876     ldver=`$LD --version 2>/dev/null |
64877            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'`
64878
64879     glibcxx_gnu_ld_version=`echo $ldver | \
64880            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64881     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64883   fi
64884
64885   # Set --gc-sections.
64886   glibcxx_have_gc_sections=no
64887   if test "$glibcxx_ld_is_gold" = "yes"; then
64888     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64889       glibcxx_have_gc_sections=yes
64890     fi
64891   else
64892     glibcxx_gcsections_min_ld=21602
64893     if test x"$with_gnu_ld" = x"yes" &&
64894         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64895       glibcxx_have_gc_sections=yes
64896     fi
64897   fi
64898   if test "$glibcxx_have_gc_sections" = "yes"; then
64899     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
64900     # NB: This flag only works reliably after 2.16.1. Configure tests
64901     # for this are difficult, so hard wire a value that should work.
64902
64903     ac_test_CFLAGS="${CFLAGS+set}"
64904     ac_save_CFLAGS="$CFLAGS"
64905     CFLAGS='-Wl,--gc-sections'
64906
64907     # Check for -Wl,--gc-sections
64908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64910     if test x$gcc_no_link = xyes; then
64911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64912 fi
64913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64914 /* end confdefs.h.  */
64915  int one(void) { return 1; }
64916      int two(void) { return 2; }
64917
64918 int
64919 main ()
64920 {
64921  two();
64922   ;
64923   return 0;
64924 }
64925 _ACEOF
64926 if ac_fn_c_try_link "$LINENO"; then :
64927   ac_gcsections=yes
64928 else
64929   ac_gcsections=no
64930 fi
64931 rm -f core conftest.err conftest.$ac_objext \
64932     conftest$ac_exeext conftest.$ac_ext
64933     if test "$ac_gcsections" = "yes"; then
64934       rm -f conftest.c
64935       touch conftest.c
64936       if $CC -c conftest.c; then
64937         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64938            grep "Warning: gc-sections option ignored" > /dev/null; then
64939           ac_gcsections=no
64940         fi
64941       fi
64942       rm -f conftest.c conftest.o conftest
64943     fi
64944     if test "$ac_gcsections" = "yes"; then
64945       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64946     fi
64947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64948 $as_echo "$ac_gcsections" >&6; }
64949
64950     if test "$ac_test_CFLAGS" = set; then
64951       CFLAGS="$ac_save_CFLAGS"
64952     else
64953       # this is the suspicious part
64954       CFLAGS=''
64955     fi
64956   fi
64957
64958   # Set -z,relro.
64959   # Note this is only for shared objects.
64960   ac_ld_relro=no
64961   if test x"$with_gnu_ld" = x"yes"; then
64962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64964     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64965     if test -n "$cxx_z_relo"; then
64966       OPT_LDFLAGS="-Wl,-z,relro"
64967       ac_ld_relro=yes
64968     fi
64969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64970 $as_echo "$ac_ld_relro" >&6; }
64971   fi
64972
64973   # Set linker optimization flags.
64974   if test x"$with_gnu_ld" = x"yes"; then
64975     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64976   fi
64977
64978
64979
64980
64981     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64982
64983     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64984
64985     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64986
64987     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64988
64989     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64990
64991     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64992
64993     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64994
64995     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64996
64997     if test x"long_double_math_on_this_cpu" = x"yes"; then
64998       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64999
65000       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65001
65002       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65003
65004     fi
65005     ;;
65006   *-qnx6.1* | *-qnx6.2*)
65007     SECTION_FLAGS='-ffunction-sections -fdata-sections'
65008
65009
65010   # If we're not using GNU ld, then there's no point in even trying these
65011   # tests.  Check for that first.  We should have already tested for gld
65012   # by now (in libtool), but require it now just to be safe...
65013   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65014   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65015
65016
65017
65018   # The name set by libtool depends on the version of libtool.  Shame on us
65019   # for depending on an impl detail, but c'est la vie.  Older versions used
65020   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65021   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65022   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
65023   # set (hence we're using an older libtool), then set it.
65024   if test x${with_gnu_ld+set} != xset; then
65025     if test x${ac_cv_prog_gnu_ld+set} != xset; then
65026       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
65027       with_gnu_ld=no
65028     else
65029       with_gnu_ld=$ac_cv_prog_gnu_ld
65030     fi
65031   fi
65032
65033   # Start by getting the version number.  I think the libtool test already
65034   # does some of this, but throws away the result.
65035   glibcxx_ld_is_gold=no
65036   if test x"$with_gnu_ld" = x"yes"; then
65037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65038 $as_echo_n "checking for ld version... " >&6; }
65039
65040     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65041       glibcxx_ld_is_gold=yes
65042     fi
65043     ldver=`$LD --version 2>/dev/null |
65044            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'`
65045
65046     glibcxx_gnu_ld_version=`echo $ldver | \
65047            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65049 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65050   fi
65051
65052   # Set --gc-sections.
65053   glibcxx_have_gc_sections=no
65054   if test "$glibcxx_ld_is_gold" = "yes"; then
65055     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65056       glibcxx_have_gc_sections=yes
65057     fi
65058   else
65059     glibcxx_gcsections_min_ld=21602
65060     if test x"$with_gnu_ld" = x"yes" &&
65061         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65062       glibcxx_have_gc_sections=yes
65063     fi
65064   fi
65065   if test "$glibcxx_have_gc_sections" = "yes"; then
65066     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
65067     # NB: This flag only works reliably after 2.16.1. Configure tests
65068     # for this are difficult, so hard wire a value that should work.
65069
65070     ac_test_CFLAGS="${CFLAGS+set}"
65071     ac_save_CFLAGS="$CFLAGS"
65072     CFLAGS='-Wl,--gc-sections'
65073
65074     # Check for -Wl,--gc-sections
65075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65076 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65077     if test x$gcc_no_link = xyes; then
65078   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65079 fi
65080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65081 /* end confdefs.h.  */
65082  int one(void) { return 1; }
65083      int two(void) { return 2; }
65084
65085 int
65086 main ()
65087 {
65088  two();
65089   ;
65090   return 0;
65091 }
65092 _ACEOF
65093 if ac_fn_c_try_link "$LINENO"; then :
65094   ac_gcsections=yes
65095 else
65096   ac_gcsections=no
65097 fi
65098 rm -f core conftest.err conftest.$ac_objext \
65099     conftest$ac_exeext conftest.$ac_ext
65100     if test "$ac_gcsections" = "yes"; then
65101       rm -f conftest.c
65102       touch conftest.c
65103       if $CC -c conftest.c; then
65104         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65105            grep "Warning: gc-sections option ignored" > /dev/null; then
65106           ac_gcsections=no
65107         fi
65108       fi
65109       rm -f conftest.c conftest.o conftest
65110     fi
65111     if test "$ac_gcsections" = "yes"; then
65112       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65113     fi
65114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65115 $as_echo "$ac_gcsections" >&6; }
65116
65117     if test "$ac_test_CFLAGS" = set; then
65118       CFLAGS="$ac_save_CFLAGS"
65119     else
65120       # this is the suspicious part
65121       CFLAGS=''
65122     fi
65123   fi
65124
65125   # Set -z,relro.
65126   # Note this is only for shared objects.
65127   ac_ld_relro=no
65128   if test x"$with_gnu_ld" = x"yes"; then
65129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65130 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65131     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65132     if test -n "$cxx_z_relo"; then
65133       OPT_LDFLAGS="-Wl,-z,relro"
65134       ac_ld_relro=yes
65135     fi
65136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65137 $as_echo "$ac_ld_relro" >&6; }
65138   fi
65139
65140   # Set linker optimization flags.
65141   if test x"$with_gnu_ld" = x"yes"; then
65142     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65143   fi
65144
65145
65146
65147
65148     $as_echo "#define HAVE_COSF 1" >>confdefs.h
65149
65150     $as_echo "#define HAVE_COSL 1" >>confdefs.h
65151
65152     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65153
65154     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65155
65156     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65157
65158     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65159
65160     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65161
65162     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65163
65164     $as_echo "#define HAVE_SINF 1" >>confdefs.h
65165
65166     $as_echo "#define HAVE_SINL 1" >>confdefs.h
65167
65168     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65169
65170     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65171
65172     ;;
65173   *-rtems*)
65174
65175   # All these tests are for C++; save the language and the compiler flags.
65176   # The CXXFLAGS thing is suspicious, but based on similar bits previously
65177   # found in GLIBCXX_CONFIGURE.
65178
65179   ac_ext=cpp
65180 ac_cpp='$CXXCPP $CPPFLAGS'
65181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65184
65185   ac_test_CXXFLAGS="${CXXFLAGS+set}"
65186   ac_save_CXXFLAGS="$CXXFLAGS"
65187
65188   # Check for maintainer-mode bits.
65189   if test x"$USE_MAINTAINER_MODE" = xno; then
65190     WERROR=''
65191   else
65192     WERROR='-Werror'
65193   fi
65194
65195   # Check for -ffunction-sections -fdata-sections
65196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65197 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65198   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65200 /* end confdefs.h.  */
65201 int foo; void bar() { };
65202 int
65203 main ()
65204 {
65205
65206   ;
65207   return 0;
65208 }
65209 _ACEOF
65210 if ac_fn_cxx_try_compile "$LINENO"; then :
65211   ac_fdsections=yes
65212 else
65213   ac_fdsections=no
65214 fi
65215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65216   if test "$ac_test_CXXFLAGS" = set; then
65217     CXXFLAGS="$ac_save_CXXFLAGS"
65218   else
65219     # this is the suspicious part
65220     CXXFLAGS=''
65221   fi
65222   if test x"$ac_fdsections" = x"yes"; then
65223     SECTION_FLAGS='-ffunction-sections -fdata-sections'
65224   fi
65225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65226 $as_echo "$ac_fdsections" >&6; }
65227
65228   ac_ext=c
65229 ac_cpp='$CPP $CPPFLAGS'
65230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65233
65234
65235
65236
65237
65238   # If we're not using GNU ld, then there's no point in even trying these
65239   # tests.  Check for that first.  We should have already tested for gld
65240   # by now (in libtool), but require it now just to be safe...
65241   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65242   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65243
65244
65245
65246   # The name set by libtool depends on the version of libtool.  Shame on us
65247   # for depending on an impl detail, but c'est la vie.  Older versions used
65248   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65249   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65250   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
65251   # set (hence we're using an older libtool), then set it.
65252   if test x${with_gnu_ld+set} != xset; then
65253     if test x${ac_cv_prog_gnu_ld+set} != xset; then
65254       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
65255       with_gnu_ld=no
65256     else
65257       with_gnu_ld=$ac_cv_prog_gnu_ld
65258     fi
65259   fi
65260
65261   # Start by getting the version number.  I think the libtool test already
65262   # does some of this, but throws away the result.
65263   glibcxx_ld_is_gold=no
65264   if test x"$with_gnu_ld" = x"yes"; then
65265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65266 $as_echo_n "checking for ld version... " >&6; }
65267
65268     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65269       glibcxx_ld_is_gold=yes
65270     fi
65271     ldver=`$LD --version 2>/dev/null |
65272            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'`
65273
65274     glibcxx_gnu_ld_version=`echo $ldver | \
65275            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65277 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65278   fi
65279
65280   # Set --gc-sections.
65281   glibcxx_have_gc_sections=no
65282   if test "$glibcxx_ld_is_gold" = "yes"; then
65283     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65284       glibcxx_have_gc_sections=yes
65285     fi
65286   else
65287     glibcxx_gcsections_min_ld=21602
65288     if test x"$with_gnu_ld" = x"yes" &&
65289         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65290       glibcxx_have_gc_sections=yes
65291     fi
65292   fi
65293   if test "$glibcxx_have_gc_sections" = "yes"; then
65294     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
65295     # NB: This flag only works reliably after 2.16.1. Configure tests
65296     # for this are difficult, so hard wire a value that should work.
65297
65298     ac_test_CFLAGS="${CFLAGS+set}"
65299     ac_save_CFLAGS="$CFLAGS"
65300     CFLAGS='-Wl,--gc-sections'
65301
65302     # Check for -Wl,--gc-sections
65303     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65304 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65305     if test x$gcc_no_link = xyes; then
65306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65307 fi
65308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65309 /* end confdefs.h.  */
65310  int one(void) { return 1; }
65311      int two(void) { return 2; }
65312
65313 int
65314 main ()
65315 {
65316  two();
65317   ;
65318   return 0;
65319 }
65320 _ACEOF
65321 if ac_fn_c_try_link "$LINENO"; then :
65322   ac_gcsections=yes
65323 else
65324   ac_gcsections=no
65325 fi
65326 rm -f core conftest.err conftest.$ac_objext \
65327     conftest$ac_exeext conftest.$ac_ext
65328     if test "$ac_gcsections" = "yes"; then
65329       rm -f conftest.c
65330       touch conftest.c
65331       if $CC -c conftest.c; then
65332         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65333            grep "Warning: gc-sections option ignored" > /dev/null; then
65334           ac_gcsections=no
65335         fi
65336       fi
65337       rm -f conftest.c conftest.o conftest
65338     fi
65339     if test "$ac_gcsections" = "yes"; then
65340       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65341     fi
65342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65343 $as_echo "$ac_gcsections" >&6; }
65344
65345     if test "$ac_test_CFLAGS" = set; then
65346       CFLAGS="$ac_save_CFLAGS"
65347     else
65348       # this is the suspicious part
65349       CFLAGS=''
65350     fi
65351   fi
65352
65353   # Set -z,relro.
65354   # Note this is only for shared objects.
65355   ac_ld_relro=no
65356   if test x"$with_gnu_ld" = x"yes"; then
65357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65358 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65359     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65360     if test -n "$cxx_z_relo"; then
65361       OPT_LDFLAGS="-Wl,-z,relro"
65362       ac_ld_relro=yes
65363     fi
65364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65365 $as_echo "$ac_ld_relro" >&6; }
65366   fi
65367
65368   # Set linker optimization flags.
65369   if test x"$with_gnu_ld" = x"yes"; then
65370     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65371   fi
65372
65373
65374
65375
65376
65377   ac_test_CXXFLAGS="${CXXFLAGS+set}"
65378   ac_save_CXXFLAGS="$CXXFLAGS"
65379   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65380
65381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65382 $as_echo_n "checking for sin in -lm... " >&6; }
65383 if test "${ac_cv_lib_m_sin+set}" = set; then :
65384   $as_echo_n "(cached) " >&6
65385 else
65386   ac_check_lib_save_LIBS=$LIBS
65387 LIBS="-lm  $LIBS"
65388 if test x$gcc_no_link = xyes; then
65389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65390 fi
65391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65392 /* end confdefs.h.  */
65393
65394 /* Override any GCC internal prototype to avoid an error.
65395    Use char because int might match the return type of a GCC
65396    builtin and then its argument prototype would still apply.  */
65397 #ifdef __cplusplus
65398 extern "C"
65399 #endif
65400 char sin ();
65401 int
65402 main ()
65403 {
65404 return sin ();
65405   ;
65406   return 0;
65407 }
65408 _ACEOF
65409 if ac_fn_c_try_link "$LINENO"; then :
65410   ac_cv_lib_m_sin=yes
65411 else
65412   ac_cv_lib_m_sin=no
65413 fi
65414 rm -f core conftest.err conftest.$ac_objext \
65415     conftest$ac_exeext conftest.$ac_ext
65416 LIBS=$ac_check_lib_save_LIBS
65417 fi
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65419 $as_echo "$ac_cv_lib_m_sin" >&6; }
65420 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65421   libm="-lm"
65422 fi
65423
65424   ac_save_LIBS="$LIBS"
65425   LIBS="$LIBS $libm"
65426
65427
65428
65429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65430 $as_echo_n "checking for isinf declaration... " >&6; }
65431   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65432     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65433   $as_echo_n "(cached) " >&6
65434 else
65435
65436
65437       ac_ext=cpp
65438 ac_cpp='$CXXCPP $CPPFLAGS'
65439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65442
65443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65444 /* end confdefs.h.  */
65445 #include <math.h>
65446                       #ifdef HAVE_IEEEFP_H
65447                       #include <ieeefp.h>
65448                       #endif
65449
65450 int
65451 main ()
65452 {
65453  isinf(0);
65454   ;
65455   return 0;
65456 }
65457 _ACEOF
65458 if ac_fn_cxx_try_compile "$LINENO"; then :
65459   glibcxx_cv_func_isinf_use=yes
65460 else
65461   glibcxx_cv_func_isinf_use=no
65462 fi
65463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65464       ac_ext=c
65465 ac_cpp='$CPP $CPPFLAGS'
65466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65469
65470
65471 fi
65472
65473   fi
65474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65475 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65476
65477   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65478     for ac_func in isinf
65479 do :
65480   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65481 if test "x$ac_cv_func_isinf" = x""yes; then :
65482   cat >>confdefs.h <<_ACEOF
65483 #define HAVE_ISINF 1
65484 _ACEOF
65485
65486 fi
65487 done
65488
65489   else
65490
65491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65492 $as_echo_n "checking for _isinf declaration... " >&6; }
65493   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65494     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65495   $as_echo_n "(cached) " >&6
65496 else
65497
65498
65499       ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504
65505       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h.  */
65507 #include <math.h>
65508                       #ifdef HAVE_IEEEFP_H
65509                       #include <ieeefp.h>
65510                       #endif
65511
65512 int
65513 main ()
65514 {
65515  _isinf(0);
65516   ;
65517   return 0;
65518 }
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521   glibcxx_cv_func__isinf_use=yes
65522 else
65523   glibcxx_cv_func__isinf_use=no
65524 fi
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526       ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65531
65532
65533 fi
65534
65535   fi
65536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65537 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65538
65539     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65540       for ac_func in _isinf
65541 do :
65542   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65543 if test "x$ac_cv_func__isinf" = x""yes; then :
65544   cat >>confdefs.h <<_ACEOF
65545 #define HAVE__ISINF 1
65546 _ACEOF
65547
65548 fi
65549 done
65550
65551     fi
65552   fi
65553
65554
65555
65556
65557
65558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65559 $as_echo_n "checking for isnan declaration... " >&6; }
65560   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65561     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65562   $as_echo_n "(cached) " >&6
65563 else
65564
65565
65566       ac_ext=cpp
65567 ac_cpp='$CXXCPP $CPPFLAGS'
65568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65571
65572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65573 /* end confdefs.h.  */
65574 #include <math.h>
65575                       #ifdef HAVE_IEEEFP_H
65576                       #include <ieeefp.h>
65577                       #endif
65578
65579 int
65580 main ()
65581 {
65582  isnan(0);
65583   ;
65584   return 0;
65585 }
65586 _ACEOF
65587 if ac_fn_cxx_try_compile "$LINENO"; then :
65588   glibcxx_cv_func_isnan_use=yes
65589 else
65590   glibcxx_cv_func_isnan_use=no
65591 fi
65592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65593       ac_ext=c
65594 ac_cpp='$CPP $CPPFLAGS'
65595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65598
65599
65600 fi
65601
65602   fi
65603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65604 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65605
65606   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65607     for ac_func in isnan
65608 do :
65609   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65610 if test "x$ac_cv_func_isnan" = x""yes; then :
65611   cat >>confdefs.h <<_ACEOF
65612 #define HAVE_ISNAN 1
65613 _ACEOF
65614
65615 fi
65616 done
65617
65618   else
65619
65620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65621 $as_echo_n "checking for _isnan declaration... " >&6; }
65622   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65623     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65624   $as_echo_n "(cached) " >&6
65625 else
65626
65627
65628       ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633
65634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h.  */
65636 #include <math.h>
65637                       #ifdef HAVE_IEEEFP_H
65638                       #include <ieeefp.h>
65639                       #endif
65640
65641 int
65642 main ()
65643 {
65644  _isnan(0);
65645   ;
65646   return 0;
65647 }
65648 _ACEOF
65649 if ac_fn_cxx_try_compile "$LINENO"; then :
65650   glibcxx_cv_func__isnan_use=yes
65651 else
65652   glibcxx_cv_func__isnan_use=no
65653 fi
65654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65655       ac_ext=c
65656 ac_cpp='$CPP $CPPFLAGS'
65657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660
65661
65662 fi
65663
65664   fi
65665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65666 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65667
65668     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65669       for ac_func in _isnan
65670 do :
65671   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65672 if test "x$ac_cv_func__isnan" = x""yes; then :
65673   cat >>confdefs.h <<_ACEOF
65674 #define HAVE__ISNAN 1
65675 _ACEOF
65676
65677 fi
65678 done
65679
65680     fi
65681   fi
65682
65683
65684
65685
65686
65687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65688 $as_echo_n "checking for finite declaration... " >&6; }
65689   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65690     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65691   $as_echo_n "(cached) " >&6
65692 else
65693
65694
65695       ac_ext=cpp
65696 ac_cpp='$CXXCPP $CPPFLAGS'
65697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65700
65701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65702 /* end confdefs.h.  */
65703 #include <math.h>
65704                       #ifdef HAVE_IEEEFP_H
65705                       #include <ieeefp.h>
65706                       #endif
65707
65708 int
65709 main ()
65710 {
65711  finite(0);
65712   ;
65713   return 0;
65714 }
65715 _ACEOF
65716 if ac_fn_cxx_try_compile "$LINENO"; then :
65717   glibcxx_cv_func_finite_use=yes
65718 else
65719   glibcxx_cv_func_finite_use=no
65720 fi
65721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65722       ac_ext=c
65723 ac_cpp='$CPP $CPPFLAGS'
65724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65727
65728
65729 fi
65730
65731   fi
65732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65733 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65734
65735   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65736     for ac_func in finite
65737 do :
65738   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65739 if test "x$ac_cv_func_finite" = x""yes; then :
65740   cat >>confdefs.h <<_ACEOF
65741 #define HAVE_FINITE 1
65742 _ACEOF
65743
65744 fi
65745 done
65746
65747   else
65748
65749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65750 $as_echo_n "checking for _finite declaration... " >&6; }
65751   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65752     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65753   $as_echo_n "(cached) " >&6
65754 else
65755
65756
65757       ac_ext=cpp
65758 ac_cpp='$CXXCPP $CPPFLAGS'
65759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65762
65763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65764 /* end confdefs.h.  */
65765 #include <math.h>
65766                       #ifdef HAVE_IEEEFP_H
65767                       #include <ieeefp.h>
65768                       #endif
65769
65770 int
65771 main ()
65772 {
65773  _finite(0);
65774   ;
65775   return 0;
65776 }
65777 _ACEOF
65778 if ac_fn_cxx_try_compile "$LINENO"; then :
65779   glibcxx_cv_func__finite_use=yes
65780 else
65781   glibcxx_cv_func__finite_use=no
65782 fi
65783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65784       ac_ext=c
65785 ac_cpp='$CPP $CPPFLAGS'
65786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65789
65790
65791 fi
65792
65793   fi
65794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65795 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65796
65797     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65798       for ac_func in _finite
65799 do :
65800   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65801 if test "x$ac_cv_func__finite" = x""yes; then :
65802   cat >>confdefs.h <<_ACEOF
65803 #define HAVE__FINITE 1
65804 _ACEOF
65805
65806 fi
65807 done
65808
65809     fi
65810   fi
65811
65812
65813
65814
65815
65816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65817 $as_echo_n "checking for sincos declaration... " >&6; }
65818   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65819     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65820   $as_echo_n "(cached) " >&6
65821 else
65822
65823
65824       ac_ext=cpp
65825 ac_cpp='$CXXCPP $CPPFLAGS'
65826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65829
65830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65831 /* end confdefs.h.  */
65832 #include <math.h>
65833 int
65834 main ()
65835 {
65836  sincos(0, 0, 0);
65837   ;
65838   return 0;
65839 }
65840 _ACEOF
65841 if ac_fn_cxx_try_compile "$LINENO"; then :
65842   glibcxx_cv_func_sincos_use=yes
65843 else
65844   glibcxx_cv_func_sincos_use=no
65845 fi
65846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65847       ac_ext=c
65848 ac_cpp='$CPP $CPPFLAGS'
65849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65852
65853
65854 fi
65855
65856   fi
65857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65858 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65859
65860   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65861     for ac_func in sincos
65862 do :
65863   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65864 if test "x$ac_cv_func_sincos" = x""yes; then :
65865   cat >>confdefs.h <<_ACEOF
65866 #define HAVE_SINCOS 1
65867 _ACEOF
65868
65869 fi
65870 done
65871
65872   else
65873
65874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65875 $as_echo_n "checking for _sincos declaration... " >&6; }
65876   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65877     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65878   $as_echo_n "(cached) " >&6
65879 else
65880
65881
65882       ac_ext=cpp
65883 ac_cpp='$CXXCPP $CPPFLAGS'
65884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65887
65888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65889 /* end confdefs.h.  */
65890 #include <math.h>
65891 int
65892 main ()
65893 {
65894  _sincos(0, 0, 0);
65895   ;
65896   return 0;
65897 }
65898 _ACEOF
65899 if ac_fn_cxx_try_compile "$LINENO"; then :
65900   glibcxx_cv_func__sincos_use=yes
65901 else
65902   glibcxx_cv_func__sincos_use=no
65903 fi
65904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65905       ac_ext=c
65906 ac_cpp='$CPP $CPPFLAGS'
65907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65910
65911
65912 fi
65913
65914   fi
65915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65916 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65917
65918     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65919       for ac_func in _sincos
65920 do :
65921   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65922 if test "x$ac_cv_func__sincos" = x""yes; then :
65923   cat >>confdefs.h <<_ACEOF
65924 #define HAVE__SINCOS 1
65925 _ACEOF
65926
65927 fi
65928 done
65929
65930     fi
65931   fi
65932
65933
65934
65935
65936
65937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65938 $as_echo_n "checking for fpclass declaration... " >&6; }
65939   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65940     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65941   $as_echo_n "(cached) " >&6
65942 else
65943
65944
65945       ac_ext=cpp
65946 ac_cpp='$CXXCPP $CPPFLAGS'
65947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65950
65951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65952 /* end confdefs.h.  */
65953 #include <math.h>
65954                       #ifdef HAVE_IEEEFP_H
65955                       #include <ieeefp.h>
65956                       #endif
65957
65958 int
65959 main ()
65960 {
65961  fpclass(0);
65962   ;
65963   return 0;
65964 }
65965 _ACEOF
65966 if ac_fn_cxx_try_compile "$LINENO"; then :
65967   glibcxx_cv_func_fpclass_use=yes
65968 else
65969   glibcxx_cv_func_fpclass_use=no
65970 fi
65971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65972       ac_ext=c
65973 ac_cpp='$CPP $CPPFLAGS'
65974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65977
65978
65979 fi
65980
65981   fi
65982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65983 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65984
65985   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65986     for ac_func in fpclass
65987 do :
65988   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65989 if test "x$ac_cv_func_fpclass" = x""yes; then :
65990   cat >>confdefs.h <<_ACEOF
65991 #define HAVE_FPCLASS 1
65992 _ACEOF
65993
65994 fi
65995 done
65996
65997   else
65998
65999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66000 $as_echo_n "checking for _fpclass declaration... " >&6; }
66001   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66002     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66003   $as_echo_n "(cached) " >&6
66004 else
66005
66006
66007       ac_ext=cpp
66008 ac_cpp='$CXXCPP $CPPFLAGS'
66009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66012
66013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66014 /* end confdefs.h.  */
66015 #include <math.h>
66016                       #ifdef HAVE_IEEEFP_H
66017                       #include <ieeefp.h>
66018                       #endif
66019
66020 int
66021 main ()
66022 {
66023  _fpclass(0);
66024   ;
66025   return 0;
66026 }
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029   glibcxx_cv_func__fpclass_use=yes
66030 else
66031   glibcxx_cv_func__fpclass_use=no
66032 fi
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034       ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66039
66040
66041 fi
66042
66043   fi
66044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66045 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66046
66047     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66048       for ac_func in _fpclass
66049 do :
66050   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66051 if test "x$ac_cv_func__fpclass" = x""yes; then :
66052   cat >>confdefs.h <<_ACEOF
66053 #define HAVE__FPCLASS 1
66054 _ACEOF
66055
66056 fi
66057 done
66058
66059     fi
66060   fi
66061
66062
66063
66064
66065
66066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66067 $as_echo_n "checking for qfpclass declaration... " >&6; }
66068   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66069     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66070   $as_echo_n "(cached) " >&6
66071 else
66072
66073
66074       ac_ext=cpp
66075 ac_cpp='$CXXCPP $CPPFLAGS'
66076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66079
66080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66081 /* end confdefs.h.  */
66082 #include <math.h>
66083                       #ifdef HAVE_IEEEFP_H
66084                       #include <ieeefp.h>
66085                       #endif
66086
66087 int
66088 main ()
66089 {
66090  qfpclass(0);
66091   ;
66092   return 0;
66093 }
66094 _ACEOF
66095 if ac_fn_cxx_try_compile "$LINENO"; then :
66096   glibcxx_cv_func_qfpclass_use=yes
66097 else
66098   glibcxx_cv_func_qfpclass_use=no
66099 fi
66100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66101       ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66106
66107
66108 fi
66109
66110   fi
66111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66112 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66113
66114   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66115     for ac_func in qfpclass
66116 do :
66117   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66118 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66119   cat >>confdefs.h <<_ACEOF
66120 #define HAVE_QFPCLASS 1
66121 _ACEOF
66122
66123 fi
66124 done
66125
66126   else
66127
66128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66129 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66130   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66131     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66132   $as_echo_n "(cached) " >&6
66133 else
66134
66135
66136       ac_ext=cpp
66137 ac_cpp='$CXXCPP $CPPFLAGS'
66138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66141
66142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66143 /* end confdefs.h.  */
66144 #include <math.h>
66145                       #ifdef HAVE_IEEEFP_H
66146                       #include <ieeefp.h>
66147                       #endif
66148
66149 int
66150 main ()
66151 {
66152  _qfpclass(0);
66153   ;
66154   return 0;
66155 }
66156 _ACEOF
66157 if ac_fn_cxx_try_compile "$LINENO"; then :
66158   glibcxx_cv_func__qfpclass_use=yes
66159 else
66160   glibcxx_cv_func__qfpclass_use=no
66161 fi
66162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66163       ac_ext=c
66164 ac_cpp='$CPP $CPPFLAGS'
66165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66168
66169
66170 fi
66171
66172   fi
66173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66174 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66175
66176     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66177       for ac_func in _qfpclass
66178 do :
66179   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66180 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66181   cat >>confdefs.h <<_ACEOF
66182 #define HAVE__QFPCLASS 1
66183 _ACEOF
66184
66185 fi
66186 done
66187
66188     fi
66189   fi
66190
66191
66192
66193
66194
66195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66196 $as_echo_n "checking for hypot declaration... " >&6; }
66197   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66198     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66199   $as_echo_n "(cached) " >&6
66200 else
66201
66202
66203       ac_ext=cpp
66204 ac_cpp='$CXXCPP $CPPFLAGS'
66205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66208
66209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66210 /* end confdefs.h.  */
66211 #include <math.h>
66212 int
66213 main ()
66214 {
66215  hypot(0, 0);
66216   ;
66217   return 0;
66218 }
66219 _ACEOF
66220 if ac_fn_cxx_try_compile "$LINENO"; then :
66221   glibcxx_cv_func_hypot_use=yes
66222 else
66223   glibcxx_cv_func_hypot_use=no
66224 fi
66225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66226       ac_ext=c
66227 ac_cpp='$CPP $CPPFLAGS'
66228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66231
66232
66233 fi
66234
66235   fi
66236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66237 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66238
66239   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66240     for ac_func in hypot
66241 do :
66242   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66243 if test "x$ac_cv_func_hypot" = x""yes; then :
66244   cat >>confdefs.h <<_ACEOF
66245 #define HAVE_HYPOT 1
66246 _ACEOF
66247
66248 fi
66249 done
66250
66251   else
66252
66253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66254 $as_echo_n "checking for _hypot declaration... " >&6; }
66255   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66256     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66257   $as_echo_n "(cached) " >&6
66258 else
66259
66260
66261       ac_ext=cpp
66262 ac_cpp='$CXXCPP $CPPFLAGS'
66263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66266
66267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66268 /* end confdefs.h.  */
66269 #include <math.h>
66270 int
66271 main ()
66272 {
66273  _hypot(0, 0);
66274   ;
66275   return 0;
66276 }
66277 _ACEOF
66278 if ac_fn_cxx_try_compile "$LINENO"; then :
66279   glibcxx_cv_func__hypot_use=yes
66280 else
66281   glibcxx_cv_func__hypot_use=no
66282 fi
66283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66284       ac_ext=c
66285 ac_cpp='$CPP $CPPFLAGS'
66286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66289
66290
66291 fi
66292
66293   fi
66294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66295 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66296
66297     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66298       for ac_func in _hypot
66299 do :
66300   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66301 if test "x$ac_cv_func__hypot" = x""yes; then :
66302   cat >>confdefs.h <<_ACEOF
66303 #define HAVE__HYPOT 1
66304 _ACEOF
66305
66306 fi
66307 done
66308
66309     fi
66310   fi
66311
66312
66313
66314
66315
66316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66317 $as_echo_n "checking for float trig functions... " >&6; }
66318   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66319   $as_echo_n "(cached) " >&6
66320 else
66321
66322
66323     ac_ext=cpp
66324 ac_cpp='$CXXCPP $CPPFLAGS'
66325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66328
66329     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66330 /* end confdefs.h.  */
66331 #include <math.h>
66332 int
66333 main ()
66334 {
66335 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66336   ;
66337   return 0;
66338 }
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341   glibcxx_cv_func_float_trig_use=yes
66342 else
66343   glibcxx_cv_func_float_trig_use=no
66344 fi
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346     ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66351
66352 fi
66353
66354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66355 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66356   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66357     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66358 do :
66359   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66361 eval as_val=\$$as_ac_var
66362    if test "x$as_val" = x""yes; then :
66363   cat >>confdefs.h <<_ACEOF
66364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66365 _ACEOF
66366
66367 fi
66368 done
66369
66370   else
66371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66372 $as_echo_n "checking for _float trig functions... " >&6; }
66373     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66374   $as_echo_n "(cached) " >&6
66375 else
66376
66377
66378       ac_ext=cpp
66379 ac_cpp='$CXXCPP $CPPFLAGS'
66380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66383
66384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66385 /* end confdefs.h.  */
66386 #include <math.h>
66387 int
66388 main ()
66389 {
66390 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66391   ;
66392   return 0;
66393 }
66394 _ACEOF
66395 if ac_fn_cxx_try_compile "$LINENO"; then :
66396   glibcxx_cv_func__float_trig_use=yes
66397 else
66398   glibcxx_cv_func__float_trig_use=no
66399 fi
66400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66401       ac_ext=c
66402 ac_cpp='$CPP $CPPFLAGS'
66403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66406
66407 fi
66408
66409     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66410 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66411     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66412       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66413 do :
66414   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66416 eval as_val=\$$as_ac_var
66417    if test "x$as_val" = x""yes; then :
66418   cat >>confdefs.h <<_ACEOF
66419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66420 _ACEOF
66421
66422 fi
66423 done
66424
66425     fi
66426   fi
66427
66428
66429
66430
66431
66432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66433 $as_echo_n "checking for float round functions... " >&6; }
66434   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66435   $as_echo_n "(cached) " >&6
66436 else
66437
66438
66439     ac_ext=cpp
66440 ac_cpp='$CXXCPP $CPPFLAGS'
66441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66444
66445     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66446 /* end confdefs.h.  */
66447 #include <math.h>
66448 int
66449 main ()
66450 {
66451 ceilf (0); floorf (0);
66452   ;
66453   return 0;
66454 }
66455 _ACEOF
66456 if ac_fn_cxx_try_compile "$LINENO"; then :
66457   glibcxx_cv_func_float_round_use=yes
66458 else
66459   glibcxx_cv_func_float_round_use=no
66460 fi
66461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66462     ac_ext=c
66463 ac_cpp='$CPP $CPPFLAGS'
66464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66467
66468 fi
66469
66470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66471 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66472   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66473     for ac_func in ceilf floorf
66474 do :
66475   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66477 eval as_val=\$$as_ac_var
66478    if test "x$as_val" = x""yes; then :
66479   cat >>confdefs.h <<_ACEOF
66480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66481 _ACEOF
66482
66483 fi
66484 done
66485
66486   else
66487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66488 $as_echo_n "checking for _float round functions... " >&6; }
66489     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66490   $as_echo_n "(cached) " >&6
66491 else
66492
66493
66494       ac_ext=cpp
66495 ac_cpp='$CXXCPP $CPPFLAGS'
66496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66499
66500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66501 /* end confdefs.h.  */
66502 #include <math.h>
66503 int
66504 main ()
66505 {
66506 _ceilf (0); _floorf (0);
66507   ;
66508   return 0;
66509 }
66510 _ACEOF
66511 if ac_fn_cxx_try_compile "$LINENO"; then :
66512   glibcxx_cv_func__float_round_use=yes
66513 else
66514   glibcxx_cv_func__float_round_use=no
66515 fi
66516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66517       ac_ext=c
66518 ac_cpp='$CPP $CPPFLAGS'
66519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66522
66523 fi
66524
66525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66526 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66527     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66528       for ac_func in _ceilf _floorf
66529 do :
66530   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66532 eval as_val=\$$as_ac_var
66533    if test "x$as_val" = x""yes; then :
66534   cat >>confdefs.h <<_ACEOF
66535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66536 _ACEOF
66537
66538 fi
66539 done
66540
66541     fi
66542   fi
66543
66544
66545
66546
66547
66548
66549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66550 $as_echo_n "checking for expf declaration... " >&6; }
66551   if test x${glibcxx_cv_func_expf_use+set} != xset; then
66552     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66553   $as_echo_n "(cached) " >&6
66554 else
66555
66556
66557       ac_ext=cpp
66558 ac_cpp='$CXXCPP $CPPFLAGS'
66559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66562
66563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66564 /* end confdefs.h.  */
66565 #include <math.h>
66566                       #ifdef HAVE_IEEEFP_H
66567                       #include <ieeefp.h>
66568                       #endif
66569
66570 int
66571 main ()
66572 {
66573  expf(0);
66574   ;
66575   return 0;
66576 }
66577 _ACEOF
66578 if ac_fn_cxx_try_compile "$LINENO"; then :
66579   glibcxx_cv_func_expf_use=yes
66580 else
66581   glibcxx_cv_func_expf_use=no
66582 fi
66583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66584       ac_ext=c
66585 ac_cpp='$CPP $CPPFLAGS'
66586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66589
66590
66591 fi
66592
66593   fi
66594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66595 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66596
66597   if test x$glibcxx_cv_func_expf_use = x"yes"; then
66598     for ac_func in expf
66599 do :
66600   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66601 if test "x$ac_cv_func_expf" = x""yes; then :
66602   cat >>confdefs.h <<_ACEOF
66603 #define HAVE_EXPF 1
66604 _ACEOF
66605
66606 fi
66607 done
66608
66609   else
66610
66611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66612 $as_echo_n "checking for _expf declaration... " >&6; }
66613   if test x${glibcxx_cv_func__expf_use+set} != xset; then
66614     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66615   $as_echo_n "(cached) " >&6
66616 else
66617
66618
66619       ac_ext=cpp
66620 ac_cpp='$CXXCPP $CPPFLAGS'
66621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66624
66625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66626 /* end confdefs.h.  */
66627 #include <math.h>
66628                       #ifdef HAVE_IEEEFP_H
66629                       #include <ieeefp.h>
66630                       #endif
66631
66632 int
66633 main ()
66634 {
66635  _expf(0);
66636   ;
66637   return 0;
66638 }
66639 _ACEOF
66640 if ac_fn_cxx_try_compile "$LINENO"; then :
66641   glibcxx_cv_func__expf_use=yes
66642 else
66643   glibcxx_cv_func__expf_use=no
66644 fi
66645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66646       ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66651
66652
66653 fi
66654
66655   fi
66656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66657 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66658
66659     if test x$glibcxx_cv_func__expf_use = x"yes"; then
66660       for ac_func in _expf
66661 do :
66662   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66663 if test "x$ac_cv_func__expf" = x""yes; then :
66664   cat >>confdefs.h <<_ACEOF
66665 #define HAVE__EXPF 1
66666 _ACEOF
66667
66668 fi
66669 done
66670
66671     fi
66672   fi
66673
66674
66675
66676
66677
66678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66679 $as_echo_n "checking for isnanf declaration... " >&6; }
66680   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66681     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66682   $as_echo_n "(cached) " >&6
66683 else
66684
66685
66686       ac_ext=cpp
66687 ac_cpp='$CXXCPP $CPPFLAGS'
66688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66691
66692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66693 /* end confdefs.h.  */
66694 #include <math.h>
66695                       #ifdef HAVE_IEEEFP_H
66696                       #include <ieeefp.h>
66697                       #endif
66698
66699 int
66700 main ()
66701 {
66702  isnanf(0);
66703   ;
66704   return 0;
66705 }
66706 _ACEOF
66707 if ac_fn_cxx_try_compile "$LINENO"; then :
66708   glibcxx_cv_func_isnanf_use=yes
66709 else
66710   glibcxx_cv_func_isnanf_use=no
66711 fi
66712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66713       ac_ext=c
66714 ac_cpp='$CPP $CPPFLAGS'
66715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66718
66719
66720 fi
66721
66722   fi
66723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66724 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66725
66726   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66727     for ac_func in isnanf
66728 do :
66729   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66730 if test "x$ac_cv_func_isnanf" = x""yes; then :
66731   cat >>confdefs.h <<_ACEOF
66732 #define HAVE_ISNANF 1
66733 _ACEOF
66734
66735 fi
66736 done
66737
66738   else
66739
66740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66741 $as_echo_n "checking for _isnanf declaration... " >&6; }
66742   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66743     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66744   $as_echo_n "(cached) " >&6
66745 else
66746
66747
66748       ac_ext=cpp
66749 ac_cpp='$CXXCPP $CPPFLAGS'
66750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66753
66754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66755 /* end confdefs.h.  */
66756 #include <math.h>
66757                       #ifdef HAVE_IEEEFP_H
66758                       #include <ieeefp.h>
66759                       #endif
66760
66761 int
66762 main ()
66763 {
66764  _isnanf(0);
66765   ;
66766   return 0;
66767 }
66768 _ACEOF
66769 if ac_fn_cxx_try_compile "$LINENO"; then :
66770   glibcxx_cv_func__isnanf_use=yes
66771 else
66772   glibcxx_cv_func__isnanf_use=no
66773 fi
66774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66775       ac_ext=c
66776 ac_cpp='$CPP $CPPFLAGS'
66777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66780
66781
66782 fi
66783
66784   fi
66785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66786 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66787
66788     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66789       for ac_func in _isnanf
66790 do :
66791   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66792 if test "x$ac_cv_func__isnanf" = x""yes; then :
66793   cat >>confdefs.h <<_ACEOF
66794 #define HAVE__ISNANF 1
66795 _ACEOF
66796
66797 fi
66798 done
66799
66800     fi
66801   fi
66802
66803
66804
66805
66806
66807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66808 $as_echo_n "checking for isinff declaration... " >&6; }
66809   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66810     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66811   $as_echo_n "(cached) " >&6
66812 else
66813
66814
66815       ac_ext=cpp
66816 ac_cpp='$CXXCPP $CPPFLAGS'
66817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66820
66821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66822 /* end confdefs.h.  */
66823 #include <math.h>
66824                       #ifdef HAVE_IEEEFP_H
66825                       #include <ieeefp.h>
66826                       #endif
66827
66828 int
66829 main ()
66830 {
66831  isinff(0);
66832   ;
66833   return 0;
66834 }
66835 _ACEOF
66836 if ac_fn_cxx_try_compile "$LINENO"; then :
66837   glibcxx_cv_func_isinff_use=yes
66838 else
66839   glibcxx_cv_func_isinff_use=no
66840 fi
66841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66842       ac_ext=c
66843 ac_cpp='$CPP $CPPFLAGS'
66844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66847
66848
66849 fi
66850
66851   fi
66852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66853 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66854
66855   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66856     for ac_func in isinff
66857 do :
66858   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66859 if test "x$ac_cv_func_isinff" = x""yes; then :
66860   cat >>confdefs.h <<_ACEOF
66861 #define HAVE_ISINFF 1
66862 _ACEOF
66863
66864 fi
66865 done
66866
66867   else
66868
66869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66870 $as_echo_n "checking for _isinff declaration... " >&6; }
66871   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66872     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66873   $as_echo_n "(cached) " >&6
66874 else
66875
66876
66877       ac_ext=cpp
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66882
66883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h.  */
66885 #include <math.h>
66886                       #ifdef HAVE_IEEEFP_H
66887                       #include <ieeefp.h>
66888                       #endif
66889
66890 int
66891 main ()
66892 {
66893  _isinff(0);
66894   ;
66895   return 0;
66896 }
66897 _ACEOF
66898 if ac_fn_cxx_try_compile "$LINENO"; then :
66899   glibcxx_cv_func__isinff_use=yes
66900 else
66901   glibcxx_cv_func__isinff_use=no
66902 fi
66903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66904       ac_ext=c
66905 ac_cpp='$CPP $CPPFLAGS'
66906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66909
66910
66911 fi
66912
66913   fi
66914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66915 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66916
66917     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66918       for ac_func in _isinff
66919 do :
66920   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66921 if test "x$ac_cv_func__isinff" = x""yes; then :
66922   cat >>confdefs.h <<_ACEOF
66923 #define HAVE__ISINFF 1
66924 _ACEOF
66925
66926 fi
66927 done
66928
66929     fi
66930   fi
66931
66932
66933
66934
66935
66936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66937 $as_echo_n "checking for atan2f declaration... " >&6; }
66938   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66939     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66940   $as_echo_n "(cached) " >&6
66941 else
66942
66943
66944       ac_ext=cpp
66945 ac_cpp='$CXXCPP $CPPFLAGS'
66946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66949
66950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66951 /* end confdefs.h.  */
66952 #include <math.h>
66953 int
66954 main ()
66955 {
66956  atan2f(0, 0);
66957   ;
66958   return 0;
66959 }
66960 _ACEOF
66961 if ac_fn_cxx_try_compile "$LINENO"; then :
66962   glibcxx_cv_func_atan2f_use=yes
66963 else
66964   glibcxx_cv_func_atan2f_use=no
66965 fi
66966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66967       ac_ext=c
66968 ac_cpp='$CPP $CPPFLAGS'
66969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66972
66973
66974 fi
66975
66976   fi
66977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66978 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66979
66980   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66981     for ac_func in atan2f
66982 do :
66983   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66984 if test "x$ac_cv_func_atan2f" = x""yes; then :
66985   cat >>confdefs.h <<_ACEOF
66986 #define HAVE_ATAN2F 1
66987 _ACEOF
66988
66989 fi
66990 done
66991
66992   else
66993
66994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66995 $as_echo_n "checking for _atan2f declaration... " >&6; }
66996   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66997     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66998   $as_echo_n "(cached) " >&6
66999 else
67000
67001
67002       ac_ext=cpp
67003 ac_cpp='$CXXCPP $CPPFLAGS'
67004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67007
67008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67009 /* end confdefs.h.  */
67010 #include <math.h>
67011 int
67012 main ()
67013 {
67014  _atan2f(0, 0);
67015   ;
67016   return 0;
67017 }
67018 _ACEOF
67019 if ac_fn_cxx_try_compile "$LINENO"; then :
67020   glibcxx_cv_func__atan2f_use=yes
67021 else
67022   glibcxx_cv_func__atan2f_use=no
67023 fi
67024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67025       ac_ext=c
67026 ac_cpp='$CPP $CPPFLAGS'
67027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67030
67031
67032 fi
67033
67034   fi
67035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67036 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67037
67038     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67039       for ac_func in _atan2f
67040 do :
67041   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67042 if test "x$ac_cv_func__atan2f" = x""yes; then :
67043   cat >>confdefs.h <<_ACEOF
67044 #define HAVE__ATAN2F 1
67045 _ACEOF
67046
67047 fi
67048 done
67049
67050     fi
67051   fi
67052
67053
67054
67055
67056
67057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67058 $as_echo_n "checking for fabsf declaration... " >&6; }
67059   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67060     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67061   $as_echo_n "(cached) " >&6
67062 else
67063
67064
67065       ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070
67071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h.  */
67073 #include <math.h>
67074                       #ifdef HAVE_IEEEFP_H
67075                       #include <ieeefp.h>
67076                       #endif
67077
67078 int
67079 main ()
67080 {
67081  fabsf(0);
67082   ;
67083   return 0;
67084 }
67085 _ACEOF
67086 if ac_fn_cxx_try_compile "$LINENO"; then :
67087   glibcxx_cv_func_fabsf_use=yes
67088 else
67089   glibcxx_cv_func_fabsf_use=no
67090 fi
67091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67092       ac_ext=c
67093 ac_cpp='$CPP $CPPFLAGS'
67094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67097
67098
67099 fi
67100
67101   fi
67102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67103 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67104
67105   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67106     for ac_func in fabsf
67107 do :
67108   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67109 if test "x$ac_cv_func_fabsf" = x""yes; then :
67110   cat >>confdefs.h <<_ACEOF
67111 #define HAVE_FABSF 1
67112 _ACEOF
67113
67114 fi
67115 done
67116
67117   else
67118
67119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67120 $as_echo_n "checking for _fabsf declaration... " >&6; }
67121   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67122     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67123   $as_echo_n "(cached) " >&6
67124 else
67125
67126
67127       ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132
67133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h.  */
67135 #include <math.h>
67136                       #ifdef HAVE_IEEEFP_H
67137                       #include <ieeefp.h>
67138                       #endif
67139
67140 int
67141 main ()
67142 {
67143  _fabsf(0);
67144   ;
67145   return 0;
67146 }
67147 _ACEOF
67148 if ac_fn_cxx_try_compile "$LINENO"; then :
67149   glibcxx_cv_func__fabsf_use=yes
67150 else
67151   glibcxx_cv_func__fabsf_use=no
67152 fi
67153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67154       ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67159
67160
67161 fi
67162
67163   fi
67164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67165 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67166
67167     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67168       for ac_func in _fabsf
67169 do :
67170   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67171 if test "x$ac_cv_func__fabsf" = x""yes; then :
67172   cat >>confdefs.h <<_ACEOF
67173 #define HAVE__FABSF 1
67174 _ACEOF
67175
67176 fi
67177 done
67178
67179     fi
67180   fi
67181
67182
67183
67184
67185
67186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67187 $as_echo_n "checking for fmodf declaration... " >&6; }
67188   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67189     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67190   $as_echo_n "(cached) " >&6
67191 else
67192
67193
67194       ac_ext=cpp
67195 ac_cpp='$CXXCPP $CPPFLAGS'
67196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67199
67200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67201 /* end confdefs.h.  */
67202 #include <math.h>
67203 int
67204 main ()
67205 {
67206  fmodf(0, 0);
67207   ;
67208   return 0;
67209 }
67210 _ACEOF
67211 if ac_fn_cxx_try_compile "$LINENO"; then :
67212   glibcxx_cv_func_fmodf_use=yes
67213 else
67214   glibcxx_cv_func_fmodf_use=no
67215 fi
67216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67217       ac_ext=c
67218 ac_cpp='$CPP $CPPFLAGS'
67219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67222
67223
67224 fi
67225
67226   fi
67227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67228 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67229
67230   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67231     for ac_func in fmodf
67232 do :
67233   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67234 if test "x$ac_cv_func_fmodf" = x""yes; then :
67235   cat >>confdefs.h <<_ACEOF
67236 #define HAVE_FMODF 1
67237 _ACEOF
67238
67239 fi
67240 done
67241
67242   else
67243
67244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67245 $as_echo_n "checking for _fmodf declaration... " >&6; }
67246   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67247     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67248   $as_echo_n "(cached) " >&6
67249 else
67250
67251
67252       ac_ext=cpp
67253 ac_cpp='$CXXCPP $CPPFLAGS'
67254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67257
67258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67259 /* end confdefs.h.  */
67260 #include <math.h>
67261 int
67262 main ()
67263 {
67264  _fmodf(0, 0);
67265   ;
67266   return 0;
67267 }
67268 _ACEOF
67269 if ac_fn_cxx_try_compile "$LINENO"; then :
67270   glibcxx_cv_func__fmodf_use=yes
67271 else
67272   glibcxx_cv_func__fmodf_use=no
67273 fi
67274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67275       ac_ext=c
67276 ac_cpp='$CPP $CPPFLAGS'
67277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67280
67281
67282 fi
67283
67284   fi
67285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67286 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67287
67288     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67289       for ac_func in _fmodf
67290 do :
67291   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67292 if test "x$ac_cv_func__fmodf" = x""yes; then :
67293   cat >>confdefs.h <<_ACEOF
67294 #define HAVE__FMODF 1
67295 _ACEOF
67296
67297 fi
67298 done
67299
67300     fi
67301   fi
67302
67303
67304
67305
67306
67307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67308 $as_echo_n "checking for frexpf declaration... " >&6; }
67309   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67310     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67311   $as_echo_n "(cached) " >&6
67312 else
67313
67314
67315       ac_ext=cpp
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67320
67321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67322 /* end confdefs.h.  */
67323 #include <math.h>
67324 int
67325 main ()
67326 {
67327  frexpf(0, 0);
67328   ;
67329   return 0;
67330 }
67331 _ACEOF
67332 if ac_fn_cxx_try_compile "$LINENO"; then :
67333   glibcxx_cv_func_frexpf_use=yes
67334 else
67335   glibcxx_cv_func_frexpf_use=no
67336 fi
67337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67338       ac_ext=c
67339 ac_cpp='$CPP $CPPFLAGS'
67340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67343
67344
67345 fi
67346
67347   fi
67348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67349 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67350
67351   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67352     for ac_func in frexpf
67353 do :
67354   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67355 if test "x$ac_cv_func_frexpf" = x""yes; then :
67356   cat >>confdefs.h <<_ACEOF
67357 #define HAVE_FREXPF 1
67358 _ACEOF
67359
67360 fi
67361 done
67362
67363   else
67364
67365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67366 $as_echo_n "checking for _frexpf declaration... " >&6; }
67367   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67368     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67369   $as_echo_n "(cached) " >&6
67370 else
67371
67372
67373       ac_ext=cpp
67374 ac_cpp='$CXXCPP $CPPFLAGS'
67375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67378
67379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67380 /* end confdefs.h.  */
67381 #include <math.h>
67382 int
67383 main ()
67384 {
67385  _frexpf(0, 0);
67386   ;
67387   return 0;
67388 }
67389 _ACEOF
67390 if ac_fn_cxx_try_compile "$LINENO"; then :
67391   glibcxx_cv_func__frexpf_use=yes
67392 else
67393   glibcxx_cv_func__frexpf_use=no
67394 fi
67395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396       ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401
67402
67403 fi
67404
67405   fi
67406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67407 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67408
67409     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67410       for ac_func in _frexpf
67411 do :
67412   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67413 if test "x$ac_cv_func__frexpf" = x""yes; then :
67414   cat >>confdefs.h <<_ACEOF
67415 #define HAVE__FREXPF 1
67416 _ACEOF
67417
67418 fi
67419 done
67420
67421     fi
67422   fi
67423
67424
67425
67426
67427
67428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67429 $as_echo_n "checking for hypotf declaration... " >&6; }
67430   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67431     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67432   $as_echo_n "(cached) " >&6
67433 else
67434
67435
67436       ac_ext=cpp
67437 ac_cpp='$CXXCPP $CPPFLAGS'
67438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67441
67442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67443 /* end confdefs.h.  */
67444 #include <math.h>
67445 int
67446 main ()
67447 {
67448  hypotf(0, 0);
67449   ;
67450   return 0;
67451 }
67452 _ACEOF
67453 if ac_fn_cxx_try_compile "$LINENO"; then :
67454   glibcxx_cv_func_hypotf_use=yes
67455 else
67456   glibcxx_cv_func_hypotf_use=no
67457 fi
67458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67459       ac_ext=c
67460 ac_cpp='$CPP $CPPFLAGS'
67461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67464
67465
67466 fi
67467
67468   fi
67469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67470 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67471
67472   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67473     for ac_func in hypotf
67474 do :
67475   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67476 if test "x$ac_cv_func_hypotf" = x""yes; then :
67477   cat >>confdefs.h <<_ACEOF
67478 #define HAVE_HYPOTF 1
67479 _ACEOF
67480
67481 fi
67482 done
67483
67484   else
67485
67486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67487 $as_echo_n "checking for _hypotf declaration... " >&6; }
67488   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67489     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67490   $as_echo_n "(cached) " >&6
67491 else
67492
67493
67494       ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499
67500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h.  */
67502 #include <math.h>
67503 int
67504 main ()
67505 {
67506  _hypotf(0, 0);
67507   ;
67508   return 0;
67509 }
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512   glibcxx_cv_func__hypotf_use=yes
67513 else
67514   glibcxx_cv_func__hypotf_use=no
67515 fi
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517       ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67522
67523
67524 fi
67525
67526   fi
67527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67528 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67529
67530     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67531       for ac_func in _hypotf
67532 do :
67533   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67534 if test "x$ac_cv_func__hypotf" = x""yes; then :
67535   cat >>confdefs.h <<_ACEOF
67536 #define HAVE__HYPOTF 1
67537 _ACEOF
67538
67539 fi
67540 done
67541
67542     fi
67543   fi
67544
67545
67546
67547
67548
67549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67550 $as_echo_n "checking for ldexpf declaration... " >&6; }
67551   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67552     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67553   $as_echo_n "(cached) " >&6
67554 else
67555
67556
67557       ac_ext=cpp
67558 ac_cpp='$CXXCPP $CPPFLAGS'
67559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67562
67563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67564 /* end confdefs.h.  */
67565 #include <math.h>
67566 int
67567 main ()
67568 {
67569  ldexpf(0, 0);
67570   ;
67571   return 0;
67572 }
67573 _ACEOF
67574 if ac_fn_cxx_try_compile "$LINENO"; then :
67575   glibcxx_cv_func_ldexpf_use=yes
67576 else
67577   glibcxx_cv_func_ldexpf_use=no
67578 fi
67579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67580       ac_ext=c
67581 ac_cpp='$CPP $CPPFLAGS'
67582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585
67586
67587 fi
67588
67589   fi
67590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67591 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67592
67593   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67594     for ac_func in ldexpf
67595 do :
67596   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67597 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67598   cat >>confdefs.h <<_ACEOF
67599 #define HAVE_LDEXPF 1
67600 _ACEOF
67601
67602 fi
67603 done
67604
67605   else
67606
67607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67608 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67609   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67610     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67611   $as_echo_n "(cached) " >&6
67612 else
67613
67614
67615       ac_ext=cpp
67616 ac_cpp='$CXXCPP $CPPFLAGS'
67617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67620
67621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67622 /* end confdefs.h.  */
67623 #include <math.h>
67624 int
67625 main ()
67626 {
67627  _ldexpf(0, 0);
67628   ;
67629   return 0;
67630 }
67631 _ACEOF
67632 if ac_fn_cxx_try_compile "$LINENO"; then :
67633   glibcxx_cv_func__ldexpf_use=yes
67634 else
67635   glibcxx_cv_func__ldexpf_use=no
67636 fi
67637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67638       ac_ext=c
67639 ac_cpp='$CPP $CPPFLAGS'
67640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67643
67644
67645 fi
67646
67647   fi
67648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67649 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67650
67651     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67652       for ac_func in _ldexpf
67653 do :
67654   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67655 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67656   cat >>confdefs.h <<_ACEOF
67657 #define HAVE__LDEXPF 1
67658 _ACEOF
67659
67660 fi
67661 done
67662
67663     fi
67664   fi
67665
67666
67667
67668
67669
67670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67671 $as_echo_n "checking for logf declaration... " >&6; }
67672   if test x${glibcxx_cv_func_logf_use+set} != xset; then
67673     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67674   $as_echo_n "(cached) " >&6
67675 else
67676
67677
67678       ac_ext=cpp
67679 ac_cpp='$CXXCPP $CPPFLAGS'
67680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67683
67684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67685 /* end confdefs.h.  */
67686 #include <math.h>
67687                       #ifdef HAVE_IEEEFP_H
67688                       #include <ieeefp.h>
67689                       #endif
67690
67691 int
67692 main ()
67693 {
67694  logf(0);
67695   ;
67696   return 0;
67697 }
67698 _ACEOF
67699 if ac_fn_cxx_try_compile "$LINENO"; then :
67700   glibcxx_cv_func_logf_use=yes
67701 else
67702   glibcxx_cv_func_logf_use=no
67703 fi
67704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67705       ac_ext=c
67706 ac_cpp='$CPP $CPPFLAGS'
67707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67710
67711
67712 fi
67713
67714   fi
67715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67716 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67717
67718   if test x$glibcxx_cv_func_logf_use = x"yes"; then
67719     for ac_func in logf
67720 do :
67721   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67722 if test "x$ac_cv_func_logf" = x""yes; then :
67723   cat >>confdefs.h <<_ACEOF
67724 #define HAVE_LOGF 1
67725 _ACEOF
67726
67727 fi
67728 done
67729
67730   else
67731
67732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67733 $as_echo_n "checking for _logf declaration... " >&6; }
67734   if test x${glibcxx_cv_func__logf_use+set} != xset; then
67735     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67736   $as_echo_n "(cached) " >&6
67737 else
67738
67739
67740       ac_ext=cpp
67741 ac_cpp='$CXXCPP $CPPFLAGS'
67742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67745
67746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67747 /* end confdefs.h.  */
67748 #include <math.h>
67749                       #ifdef HAVE_IEEEFP_H
67750                       #include <ieeefp.h>
67751                       #endif
67752
67753 int
67754 main ()
67755 {
67756  _logf(0);
67757   ;
67758   return 0;
67759 }
67760 _ACEOF
67761 if ac_fn_cxx_try_compile "$LINENO"; then :
67762   glibcxx_cv_func__logf_use=yes
67763 else
67764   glibcxx_cv_func__logf_use=no
67765 fi
67766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67767       ac_ext=c
67768 ac_cpp='$CPP $CPPFLAGS'
67769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67772
67773
67774 fi
67775
67776   fi
67777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67778 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67779
67780     if test x$glibcxx_cv_func__logf_use = x"yes"; then
67781       for ac_func in _logf
67782 do :
67783   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67784 if test "x$ac_cv_func__logf" = x""yes; then :
67785   cat >>confdefs.h <<_ACEOF
67786 #define HAVE__LOGF 1
67787 _ACEOF
67788
67789 fi
67790 done
67791
67792     fi
67793   fi
67794
67795
67796
67797
67798
67799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67800 $as_echo_n "checking for log10f declaration... " >&6; }
67801   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67802     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67803   $as_echo_n "(cached) " >&6
67804 else
67805
67806
67807       ac_ext=cpp
67808 ac_cpp='$CXXCPP $CPPFLAGS'
67809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67812
67813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67814 /* end confdefs.h.  */
67815 #include <math.h>
67816                       #ifdef HAVE_IEEEFP_H
67817                       #include <ieeefp.h>
67818                       #endif
67819
67820 int
67821 main ()
67822 {
67823  log10f(0);
67824   ;
67825   return 0;
67826 }
67827 _ACEOF
67828 if ac_fn_cxx_try_compile "$LINENO"; then :
67829   glibcxx_cv_func_log10f_use=yes
67830 else
67831   glibcxx_cv_func_log10f_use=no
67832 fi
67833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67834       ac_ext=c
67835 ac_cpp='$CPP $CPPFLAGS'
67836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67839
67840
67841 fi
67842
67843   fi
67844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67845 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67846
67847   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67848     for ac_func in log10f
67849 do :
67850   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67851 if test "x$ac_cv_func_log10f" = x""yes; then :
67852   cat >>confdefs.h <<_ACEOF
67853 #define HAVE_LOG10F 1
67854 _ACEOF
67855
67856 fi
67857 done
67858
67859   else
67860
67861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67862 $as_echo_n "checking for _log10f declaration... " >&6; }
67863   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67864     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67865   $as_echo_n "(cached) " >&6
67866 else
67867
67868
67869       ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67874
67875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h.  */
67877 #include <math.h>
67878                       #ifdef HAVE_IEEEFP_H
67879                       #include <ieeefp.h>
67880                       #endif
67881
67882 int
67883 main ()
67884 {
67885  _log10f(0);
67886   ;
67887   return 0;
67888 }
67889 _ACEOF
67890 if ac_fn_cxx_try_compile "$LINENO"; then :
67891   glibcxx_cv_func__log10f_use=yes
67892 else
67893   glibcxx_cv_func__log10f_use=no
67894 fi
67895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67896       ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67901
67902
67903 fi
67904
67905   fi
67906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67907 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67908
67909     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67910       for ac_func in _log10f
67911 do :
67912   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67913 if test "x$ac_cv_func__log10f" = x""yes; then :
67914   cat >>confdefs.h <<_ACEOF
67915 #define HAVE__LOG10F 1
67916 _ACEOF
67917
67918 fi
67919 done
67920
67921     fi
67922   fi
67923
67924
67925
67926
67927
67928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67929 $as_echo_n "checking for modff declaration... " >&6; }
67930   if test x${glibcxx_cv_func_modff_use+set} != xset; then
67931     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67932   $as_echo_n "(cached) " >&6
67933 else
67934
67935
67936       ac_ext=cpp
67937 ac_cpp='$CXXCPP $CPPFLAGS'
67938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67941
67942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67943 /* end confdefs.h.  */
67944 #include <math.h>
67945 int
67946 main ()
67947 {
67948  modff(0, 0);
67949   ;
67950   return 0;
67951 }
67952 _ACEOF
67953 if ac_fn_cxx_try_compile "$LINENO"; then :
67954   glibcxx_cv_func_modff_use=yes
67955 else
67956   glibcxx_cv_func_modff_use=no
67957 fi
67958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67959       ac_ext=c
67960 ac_cpp='$CPP $CPPFLAGS'
67961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67964
67965
67966 fi
67967
67968   fi
67969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67970 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67971
67972   if test x$glibcxx_cv_func_modff_use = x"yes"; then
67973     for ac_func in modff
67974 do :
67975   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67976 if test "x$ac_cv_func_modff" = x""yes; then :
67977   cat >>confdefs.h <<_ACEOF
67978 #define HAVE_MODFF 1
67979 _ACEOF
67980
67981 fi
67982 done
67983
67984   else
67985
67986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67987 $as_echo_n "checking for _modff declaration... " >&6; }
67988   if test x${glibcxx_cv_func__modff_use+set} != xset; then
67989     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67990   $as_echo_n "(cached) " >&6
67991 else
67992
67993
67994       ac_ext=cpp
67995 ac_cpp='$CXXCPP $CPPFLAGS'
67996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67999
68000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68001 /* end confdefs.h.  */
68002 #include <math.h>
68003 int
68004 main ()
68005 {
68006  _modff(0, 0);
68007   ;
68008   return 0;
68009 }
68010 _ACEOF
68011 if ac_fn_cxx_try_compile "$LINENO"; then :
68012   glibcxx_cv_func__modff_use=yes
68013 else
68014   glibcxx_cv_func__modff_use=no
68015 fi
68016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68017       ac_ext=c
68018 ac_cpp='$CPP $CPPFLAGS'
68019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68022
68023
68024 fi
68025
68026   fi
68027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68028 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68029
68030     if test x$glibcxx_cv_func__modff_use = x"yes"; then
68031       for ac_func in _modff
68032 do :
68033   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68034 if test "x$ac_cv_func__modff" = x""yes; then :
68035   cat >>confdefs.h <<_ACEOF
68036 #define HAVE__MODFF 1
68037 _ACEOF
68038
68039 fi
68040 done
68041
68042     fi
68043   fi
68044
68045
68046
68047
68048
68049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68050 $as_echo_n "checking for modf declaration... " >&6; }
68051   if test x${glibcxx_cv_func_modf_use+set} != xset; then
68052     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68053   $as_echo_n "(cached) " >&6
68054 else
68055
68056
68057       ac_ext=cpp
68058 ac_cpp='$CXXCPP $CPPFLAGS'
68059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062
68063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68064 /* end confdefs.h.  */
68065 #include <math.h>
68066 int
68067 main ()
68068 {
68069  modf(0, 0);
68070   ;
68071   return 0;
68072 }
68073 _ACEOF
68074 if ac_fn_cxx_try_compile "$LINENO"; then :
68075   glibcxx_cv_func_modf_use=yes
68076 else
68077   glibcxx_cv_func_modf_use=no
68078 fi
68079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68080       ac_ext=c
68081 ac_cpp='$CPP $CPPFLAGS'
68082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68085
68086
68087 fi
68088
68089   fi
68090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68091 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68092
68093   if test x$glibcxx_cv_func_modf_use = x"yes"; then
68094     for ac_func in modf
68095 do :
68096   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68097 if test "x$ac_cv_func_modf" = x""yes; then :
68098   cat >>confdefs.h <<_ACEOF
68099 #define HAVE_MODF 1
68100 _ACEOF
68101
68102 fi
68103 done
68104
68105   else
68106
68107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68108 $as_echo_n "checking for _modf declaration... " >&6; }
68109   if test x${glibcxx_cv_func__modf_use+set} != xset; then
68110     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68111   $as_echo_n "(cached) " >&6
68112 else
68113
68114
68115       ac_ext=cpp
68116 ac_cpp='$CXXCPP $CPPFLAGS'
68117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68120
68121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68122 /* end confdefs.h.  */
68123 #include <math.h>
68124 int
68125 main ()
68126 {
68127  _modf(0, 0);
68128   ;
68129   return 0;
68130 }
68131 _ACEOF
68132 if ac_fn_cxx_try_compile "$LINENO"; then :
68133   glibcxx_cv_func__modf_use=yes
68134 else
68135   glibcxx_cv_func__modf_use=no
68136 fi
68137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68138       ac_ext=c
68139 ac_cpp='$CPP $CPPFLAGS'
68140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68143
68144
68145 fi
68146
68147   fi
68148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68149 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68150
68151     if test x$glibcxx_cv_func__modf_use = x"yes"; then
68152       for ac_func in _modf
68153 do :
68154   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68155 if test "x$ac_cv_func__modf" = x""yes; then :
68156   cat >>confdefs.h <<_ACEOF
68157 #define HAVE__MODF 1
68158 _ACEOF
68159
68160 fi
68161 done
68162
68163     fi
68164   fi
68165
68166
68167
68168
68169
68170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68171 $as_echo_n "checking for powf declaration... " >&6; }
68172   if test x${glibcxx_cv_func_powf_use+set} != xset; then
68173     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68174   $as_echo_n "(cached) " >&6
68175 else
68176
68177
68178       ac_ext=cpp
68179 ac_cpp='$CXXCPP $CPPFLAGS'
68180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68183
68184       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68185 /* end confdefs.h.  */
68186 #include <math.h>
68187 int
68188 main ()
68189 {
68190  powf(0, 0);
68191   ;
68192   return 0;
68193 }
68194 _ACEOF
68195 if ac_fn_cxx_try_compile "$LINENO"; then :
68196   glibcxx_cv_func_powf_use=yes
68197 else
68198   glibcxx_cv_func_powf_use=no
68199 fi
68200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68201       ac_ext=c
68202 ac_cpp='$CPP $CPPFLAGS'
68203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68206
68207
68208 fi
68209
68210   fi
68211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68212 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68213
68214   if test x$glibcxx_cv_func_powf_use = x"yes"; then
68215     for ac_func in powf
68216 do :
68217   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68218 if test "x$ac_cv_func_powf" = x""yes; then :
68219   cat >>confdefs.h <<_ACEOF
68220 #define HAVE_POWF 1
68221 _ACEOF
68222
68223 fi
68224 done
68225
68226   else
68227
68228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68229 $as_echo_n "checking for _powf declaration... " >&6; }
68230   if test x${glibcxx_cv_func__powf_use+set} != xset; then
68231     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68232   $as_echo_n "(cached) " >&6
68233 else
68234
68235
68236       ac_ext=cpp
68237 ac_cpp='$CXXCPP $CPPFLAGS'
68238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68241
68242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68243 /* end confdefs.h.  */
68244 #include <math.h>
68245 int
68246 main ()
68247 {
68248  _powf(0, 0);
68249   ;
68250   return 0;
68251 }
68252 _ACEOF
68253 if ac_fn_cxx_try_compile "$LINENO"; then :
68254   glibcxx_cv_func__powf_use=yes
68255 else
68256   glibcxx_cv_func__powf_use=no
68257 fi
68258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68259       ac_ext=c
68260 ac_cpp='$CPP $CPPFLAGS'
68261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68264
68265
68266 fi
68267
68268   fi
68269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68270 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68271
68272     if test x$glibcxx_cv_func__powf_use = x"yes"; then
68273       for ac_func in _powf
68274 do :
68275   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68276 if test "x$ac_cv_func__powf" = x""yes; then :
68277   cat >>confdefs.h <<_ACEOF
68278 #define HAVE__POWF 1
68279 _ACEOF
68280
68281 fi
68282 done
68283
68284     fi
68285   fi
68286
68287
68288
68289
68290
68291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68292 $as_echo_n "checking for sqrtf declaration... " >&6; }
68293   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68294     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68295   $as_echo_n "(cached) " >&6
68296 else
68297
68298
68299       ac_ext=cpp
68300 ac_cpp='$CXXCPP $CPPFLAGS'
68301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68304
68305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68306 /* end confdefs.h.  */
68307 #include <math.h>
68308                       #ifdef HAVE_IEEEFP_H
68309                       #include <ieeefp.h>
68310                       #endif
68311
68312 int
68313 main ()
68314 {
68315  sqrtf(0);
68316   ;
68317   return 0;
68318 }
68319 _ACEOF
68320 if ac_fn_cxx_try_compile "$LINENO"; then :
68321   glibcxx_cv_func_sqrtf_use=yes
68322 else
68323   glibcxx_cv_func_sqrtf_use=no
68324 fi
68325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68326       ac_ext=c
68327 ac_cpp='$CPP $CPPFLAGS'
68328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68331
68332
68333 fi
68334
68335   fi
68336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68337 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68338
68339   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68340     for ac_func in sqrtf
68341 do :
68342   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68343 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68344   cat >>confdefs.h <<_ACEOF
68345 #define HAVE_SQRTF 1
68346 _ACEOF
68347
68348 fi
68349 done
68350
68351   else
68352
68353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68354 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68355   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68356     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68357   $as_echo_n "(cached) " >&6
68358 else
68359
68360
68361       ac_ext=cpp
68362 ac_cpp='$CXXCPP $CPPFLAGS'
68363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68366
68367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68368 /* end confdefs.h.  */
68369 #include <math.h>
68370                       #ifdef HAVE_IEEEFP_H
68371                       #include <ieeefp.h>
68372                       #endif
68373
68374 int
68375 main ()
68376 {
68377  _sqrtf(0);
68378   ;
68379   return 0;
68380 }
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383   glibcxx_cv_func__sqrtf_use=yes
68384 else
68385   glibcxx_cv_func__sqrtf_use=no
68386 fi
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388       ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393
68394
68395 fi
68396
68397   fi
68398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68399 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68400
68401     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68402       for ac_func in _sqrtf
68403 do :
68404   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68405 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68406   cat >>confdefs.h <<_ACEOF
68407 #define HAVE__SQRTF 1
68408 _ACEOF
68409
68410 fi
68411 done
68412
68413     fi
68414   fi
68415
68416
68417
68418
68419
68420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68421 $as_echo_n "checking for sincosf declaration... " >&6; }
68422   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68423     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68424   $as_echo_n "(cached) " >&6
68425 else
68426
68427
68428       ac_ext=cpp
68429 ac_cpp='$CXXCPP $CPPFLAGS'
68430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68433
68434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68435 /* end confdefs.h.  */
68436 #include <math.h>
68437 int
68438 main ()
68439 {
68440  sincosf(0, 0, 0);
68441   ;
68442   return 0;
68443 }
68444 _ACEOF
68445 if ac_fn_cxx_try_compile "$LINENO"; then :
68446   glibcxx_cv_func_sincosf_use=yes
68447 else
68448   glibcxx_cv_func_sincosf_use=no
68449 fi
68450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68451       ac_ext=c
68452 ac_cpp='$CPP $CPPFLAGS'
68453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68456
68457
68458 fi
68459
68460   fi
68461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68462 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68463
68464   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68465     for ac_func in sincosf
68466 do :
68467   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68468 if test "x$ac_cv_func_sincosf" = x""yes; then :
68469   cat >>confdefs.h <<_ACEOF
68470 #define HAVE_SINCOSF 1
68471 _ACEOF
68472
68473 fi
68474 done
68475
68476   else
68477
68478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68479 $as_echo_n "checking for _sincosf declaration... " >&6; }
68480   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68481     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68482   $as_echo_n "(cached) " >&6
68483 else
68484
68485
68486       ac_ext=cpp
68487 ac_cpp='$CXXCPP $CPPFLAGS'
68488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68491
68492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68493 /* end confdefs.h.  */
68494 #include <math.h>
68495 int
68496 main ()
68497 {
68498  _sincosf(0, 0, 0);
68499   ;
68500   return 0;
68501 }
68502 _ACEOF
68503 if ac_fn_cxx_try_compile "$LINENO"; then :
68504   glibcxx_cv_func__sincosf_use=yes
68505 else
68506   glibcxx_cv_func__sincosf_use=no
68507 fi
68508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68509       ac_ext=c
68510 ac_cpp='$CPP $CPPFLAGS'
68511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68514
68515
68516 fi
68517
68518   fi
68519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68520 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68521
68522     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68523       for ac_func in _sincosf
68524 do :
68525   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68526 if test "x$ac_cv_func__sincosf" = x""yes; then :
68527   cat >>confdefs.h <<_ACEOF
68528 #define HAVE__SINCOSF 1
68529 _ACEOF
68530
68531 fi
68532 done
68533
68534     fi
68535   fi
68536
68537
68538
68539
68540
68541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68542 $as_echo_n "checking for finitef declaration... " >&6; }
68543   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68544     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68545   $as_echo_n "(cached) " >&6
68546 else
68547
68548
68549       ac_ext=cpp
68550 ac_cpp='$CXXCPP $CPPFLAGS'
68551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68554
68555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68556 /* end confdefs.h.  */
68557 #include <math.h>
68558                       #ifdef HAVE_IEEEFP_H
68559                       #include <ieeefp.h>
68560                       #endif
68561
68562 int
68563 main ()
68564 {
68565  finitef(0);
68566   ;
68567   return 0;
68568 }
68569 _ACEOF
68570 if ac_fn_cxx_try_compile "$LINENO"; then :
68571   glibcxx_cv_func_finitef_use=yes
68572 else
68573   glibcxx_cv_func_finitef_use=no
68574 fi
68575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68576       ac_ext=c
68577 ac_cpp='$CPP $CPPFLAGS'
68578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68581
68582
68583 fi
68584
68585   fi
68586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68587 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68588
68589   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68590     for ac_func in finitef
68591 do :
68592   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68593 if test "x$ac_cv_func_finitef" = x""yes; then :
68594   cat >>confdefs.h <<_ACEOF
68595 #define HAVE_FINITEF 1
68596 _ACEOF
68597
68598 fi
68599 done
68600
68601   else
68602
68603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68604 $as_echo_n "checking for _finitef declaration... " >&6; }
68605   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68606     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68607   $as_echo_n "(cached) " >&6
68608 else
68609
68610
68611       ac_ext=cpp
68612 ac_cpp='$CXXCPP $CPPFLAGS'
68613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68616
68617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68618 /* end confdefs.h.  */
68619 #include <math.h>
68620                       #ifdef HAVE_IEEEFP_H
68621                       #include <ieeefp.h>
68622                       #endif
68623
68624 int
68625 main ()
68626 {
68627  _finitef(0);
68628   ;
68629   return 0;
68630 }
68631 _ACEOF
68632 if ac_fn_cxx_try_compile "$LINENO"; then :
68633   glibcxx_cv_func__finitef_use=yes
68634 else
68635   glibcxx_cv_func__finitef_use=no
68636 fi
68637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68638       ac_ext=c
68639 ac_cpp='$CPP $CPPFLAGS'
68640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68643
68644
68645 fi
68646
68647   fi
68648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68649 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68650
68651     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68652       for ac_func in _finitef
68653 do :
68654   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68655 if test "x$ac_cv_func__finitef" = x""yes; then :
68656   cat >>confdefs.h <<_ACEOF
68657 #define HAVE__FINITEF 1
68658 _ACEOF
68659
68660 fi
68661 done
68662
68663     fi
68664   fi
68665
68666
68667
68668
68669
68670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68671 $as_echo_n "checking for long double trig functions... " >&6; }
68672   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68673   $as_echo_n "(cached) " >&6
68674 else
68675
68676
68677     ac_ext=cpp
68678 ac_cpp='$CXXCPP $CPPFLAGS'
68679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68682
68683     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68684 /* end confdefs.h.  */
68685 #include <math.h>
68686 int
68687 main ()
68688 {
68689 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68690   ;
68691   return 0;
68692 }
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695   glibcxx_cv_func_long_double_trig_use=yes
68696 else
68697   glibcxx_cv_func_long_double_trig_use=no
68698 fi
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700     ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68705
68706 fi
68707
68708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68709 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68710   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68711     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68712 do :
68713   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68715 eval as_val=\$$as_ac_var
68716    if test "x$as_val" = x""yes; then :
68717   cat >>confdefs.h <<_ACEOF
68718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68719 _ACEOF
68720
68721 fi
68722 done
68723
68724   else
68725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68726 $as_echo_n "checking for _long double trig functions... " >&6; }
68727     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68728   $as_echo_n "(cached) " >&6
68729 else
68730
68731
68732       ac_ext=cpp
68733 ac_cpp='$CXXCPP $CPPFLAGS'
68734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68737
68738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68739 /* end confdefs.h.  */
68740 #include <math.h>
68741 int
68742 main ()
68743 {
68744 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68745   ;
68746   return 0;
68747 }
68748 _ACEOF
68749 if ac_fn_cxx_try_compile "$LINENO"; then :
68750   glibcxx_cv_func__long_double_trig_use=yes
68751 else
68752   glibcxx_cv_func__long_double_trig_use=no
68753 fi
68754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68755       ac_ext=c
68756 ac_cpp='$CPP $CPPFLAGS'
68757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68760
68761 fi
68762
68763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68764 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68765     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68766       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68767 do :
68768   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68770 eval as_val=\$$as_ac_var
68771    if test "x$as_val" = x""yes; then :
68772   cat >>confdefs.h <<_ACEOF
68773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68774 _ACEOF
68775
68776 fi
68777 done
68778
68779     fi
68780   fi
68781
68782
68783
68784
68785
68786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68787 $as_echo_n "checking for long double round functions... " >&6; }
68788   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68789   $as_echo_n "(cached) " >&6
68790 else
68791
68792
68793     ac_ext=cpp
68794 ac_cpp='$CXXCPP $CPPFLAGS'
68795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68798
68799     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68800 /* end confdefs.h.  */
68801 #include <math.h>
68802 int
68803 main ()
68804 {
68805 ceill (0); floorl (0);
68806   ;
68807   return 0;
68808 }
68809 _ACEOF
68810 if ac_fn_cxx_try_compile "$LINENO"; then :
68811   glibcxx_cv_func_long_double_round_use=yes
68812 else
68813   glibcxx_cv_func_long_double_round_use=no
68814 fi
68815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68816     ac_ext=c
68817 ac_cpp='$CPP $CPPFLAGS'
68818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68821
68822 fi
68823
68824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68825 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68826   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68827     for ac_func in ceill floorl
68828 do :
68829   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68831 eval as_val=\$$as_ac_var
68832    if test "x$as_val" = x""yes; then :
68833   cat >>confdefs.h <<_ACEOF
68834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68835 _ACEOF
68836
68837 fi
68838 done
68839
68840   else
68841     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68842 $as_echo_n "checking for _long double round functions... " >&6; }
68843     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68844   $as_echo_n "(cached) " >&6
68845 else
68846
68847
68848       ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853
68854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h.  */
68856 #include <math.h>
68857 int
68858 main ()
68859 {
68860 _ceill (0); _floorl (0);
68861   ;
68862   return 0;
68863 }
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866   glibcxx_cv_func__long_double_round_use=yes
68867 else
68868   glibcxx_cv_func__long_double_round_use=no
68869 fi
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871       ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68876
68877 fi
68878
68879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68880 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68881     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68882       for ac_func in _ceill _floorl
68883 do :
68884   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68886 eval as_val=\$$as_ac_var
68887    if test "x$as_val" = x""yes; then :
68888   cat >>confdefs.h <<_ACEOF
68889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68890 _ACEOF
68891
68892 fi
68893 done
68894
68895     fi
68896   fi
68897
68898
68899
68900
68901
68902
68903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68904 $as_echo_n "checking for isnanl declaration... " >&6; }
68905   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68906     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68907   $as_echo_n "(cached) " >&6
68908 else
68909
68910
68911       ac_ext=cpp
68912 ac_cpp='$CXXCPP $CPPFLAGS'
68913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68916
68917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68918 /* end confdefs.h.  */
68919 #include <math.h>
68920                       #ifdef HAVE_IEEEFP_H
68921                       #include <ieeefp.h>
68922                       #endif
68923
68924 int
68925 main ()
68926 {
68927  isnanl(0);
68928   ;
68929   return 0;
68930 }
68931 _ACEOF
68932 if ac_fn_cxx_try_compile "$LINENO"; then :
68933   glibcxx_cv_func_isnanl_use=yes
68934 else
68935   glibcxx_cv_func_isnanl_use=no
68936 fi
68937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938       ac_ext=c
68939 ac_cpp='$CPP $CPPFLAGS'
68940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68943
68944
68945 fi
68946
68947   fi
68948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68949 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68950
68951   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68952     for ac_func in isnanl
68953 do :
68954   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68955 if test "x$ac_cv_func_isnanl" = x""yes; then :
68956   cat >>confdefs.h <<_ACEOF
68957 #define HAVE_ISNANL 1
68958 _ACEOF
68959
68960 fi
68961 done
68962
68963   else
68964
68965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68966 $as_echo_n "checking for _isnanl declaration... " >&6; }
68967   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68968     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68969   $as_echo_n "(cached) " >&6
68970 else
68971
68972
68973       ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68978
68979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h.  */
68981 #include <math.h>
68982                       #ifdef HAVE_IEEEFP_H
68983                       #include <ieeefp.h>
68984                       #endif
68985
68986 int
68987 main ()
68988 {
68989  _isnanl(0);
68990   ;
68991   return 0;
68992 }
68993 _ACEOF
68994 if ac_fn_cxx_try_compile "$LINENO"; then :
68995   glibcxx_cv_func__isnanl_use=yes
68996 else
68997   glibcxx_cv_func__isnanl_use=no
68998 fi
68999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69000       ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005
69006
69007 fi
69008
69009   fi
69010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69011 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69012
69013     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69014       for ac_func in _isnanl
69015 do :
69016   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69017 if test "x$ac_cv_func__isnanl" = x""yes; then :
69018   cat >>confdefs.h <<_ACEOF
69019 #define HAVE__ISNANL 1
69020 _ACEOF
69021
69022 fi
69023 done
69024
69025     fi
69026   fi
69027
69028
69029
69030
69031
69032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69033 $as_echo_n "checking for isinfl declaration... " >&6; }
69034   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69035     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69036   $as_echo_n "(cached) " >&6
69037 else
69038
69039
69040       ac_ext=cpp
69041 ac_cpp='$CXXCPP $CPPFLAGS'
69042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69045
69046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69047 /* end confdefs.h.  */
69048 #include <math.h>
69049                       #ifdef HAVE_IEEEFP_H
69050                       #include <ieeefp.h>
69051                       #endif
69052
69053 int
69054 main ()
69055 {
69056  isinfl(0);
69057   ;
69058   return 0;
69059 }
69060 _ACEOF
69061 if ac_fn_cxx_try_compile "$LINENO"; then :
69062   glibcxx_cv_func_isinfl_use=yes
69063 else
69064   glibcxx_cv_func_isinfl_use=no
69065 fi
69066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69067       ac_ext=c
69068 ac_cpp='$CPP $CPPFLAGS'
69069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69072
69073
69074 fi
69075
69076   fi
69077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69078 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69079
69080   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69081     for ac_func in isinfl
69082 do :
69083   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69084 if test "x$ac_cv_func_isinfl" = x""yes; then :
69085   cat >>confdefs.h <<_ACEOF
69086 #define HAVE_ISINFL 1
69087 _ACEOF
69088
69089 fi
69090 done
69091
69092   else
69093
69094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69095 $as_echo_n "checking for _isinfl declaration... " >&6; }
69096   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69097     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69098   $as_echo_n "(cached) " >&6
69099 else
69100
69101
69102       ac_ext=cpp
69103 ac_cpp='$CXXCPP $CPPFLAGS'
69104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69107
69108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h.  */
69110 #include <math.h>
69111                       #ifdef HAVE_IEEEFP_H
69112                       #include <ieeefp.h>
69113                       #endif
69114
69115 int
69116 main ()
69117 {
69118  _isinfl(0);
69119   ;
69120   return 0;
69121 }
69122 _ACEOF
69123 if ac_fn_cxx_try_compile "$LINENO"; then :
69124   glibcxx_cv_func__isinfl_use=yes
69125 else
69126   glibcxx_cv_func__isinfl_use=no
69127 fi
69128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69129       ac_ext=c
69130 ac_cpp='$CPP $CPPFLAGS'
69131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134
69135
69136 fi
69137
69138   fi
69139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69140 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69141
69142     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69143       for ac_func in _isinfl
69144 do :
69145   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69146 if test "x$ac_cv_func__isinfl" = x""yes; then :
69147   cat >>confdefs.h <<_ACEOF
69148 #define HAVE__ISINFL 1
69149 _ACEOF
69150
69151 fi
69152 done
69153
69154     fi
69155   fi
69156
69157
69158
69159
69160
69161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69162 $as_echo_n "checking for atan2l declaration... " >&6; }
69163   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69164     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69165   $as_echo_n "(cached) " >&6
69166 else
69167
69168
69169       ac_ext=cpp
69170 ac_cpp='$CXXCPP $CPPFLAGS'
69171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69174
69175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69176 /* end confdefs.h.  */
69177 #include <math.h>
69178 int
69179 main ()
69180 {
69181  atan2l(0, 0);
69182   ;
69183   return 0;
69184 }
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187   glibcxx_cv_func_atan2l_use=yes
69188 else
69189   glibcxx_cv_func_atan2l_use=no
69190 fi
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192       ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69197
69198
69199 fi
69200
69201   fi
69202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69203 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69204
69205   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69206     for ac_func in atan2l
69207 do :
69208   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69209 if test "x$ac_cv_func_atan2l" = x""yes; then :
69210   cat >>confdefs.h <<_ACEOF
69211 #define HAVE_ATAN2L 1
69212 _ACEOF
69213
69214 fi
69215 done
69216
69217   else
69218
69219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69220 $as_echo_n "checking for _atan2l declaration... " >&6; }
69221   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69222     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69223   $as_echo_n "(cached) " >&6
69224 else
69225
69226
69227       ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232
69233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h.  */
69235 #include <math.h>
69236 int
69237 main ()
69238 {
69239  _atan2l(0, 0);
69240   ;
69241   return 0;
69242 }
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245   glibcxx_cv_func__atan2l_use=yes
69246 else
69247   glibcxx_cv_func__atan2l_use=no
69248 fi
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250       ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69255
69256
69257 fi
69258
69259   fi
69260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69261 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69262
69263     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69264       for ac_func in _atan2l
69265 do :
69266   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69267 if test "x$ac_cv_func__atan2l" = x""yes; then :
69268   cat >>confdefs.h <<_ACEOF
69269 #define HAVE__ATAN2L 1
69270 _ACEOF
69271
69272 fi
69273 done
69274
69275     fi
69276   fi
69277
69278
69279
69280
69281
69282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69283 $as_echo_n "checking for expl declaration... " >&6; }
69284   if test x${glibcxx_cv_func_expl_use+set} != xset; then
69285     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69286   $as_echo_n "(cached) " >&6
69287 else
69288
69289
69290       ac_ext=cpp
69291 ac_cpp='$CXXCPP $CPPFLAGS'
69292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69295
69296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69297 /* end confdefs.h.  */
69298 #include <math.h>
69299                       #ifdef HAVE_IEEEFP_H
69300                       #include <ieeefp.h>
69301                       #endif
69302
69303 int
69304 main ()
69305 {
69306  expl(0);
69307   ;
69308   return 0;
69309 }
69310 _ACEOF
69311 if ac_fn_cxx_try_compile "$LINENO"; then :
69312   glibcxx_cv_func_expl_use=yes
69313 else
69314   glibcxx_cv_func_expl_use=no
69315 fi
69316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69317       ac_ext=c
69318 ac_cpp='$CPP $CPPFLAGS'
69319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69322
69323
69324 fi
69325
69326   fi
69327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69328 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69329
69330   if test x$glibcxx_cv_func_expl_use = x"yes"; then
69331     for ac_func in expl
69332 do :
69333   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69334 if test "x$ac_cv_func_expl" = x""yes; then :
69335   cat >>confdefs.h <<_ACEOF
69336 #define HAVE_EXPL 1
69337 _ACEOF
69338
69339 fi
69340 done
69341
69342   else
69343
69344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69345 $as_echo_n "checking for _expl declaration... " >&6; }
69346   if test x${glibcxx_cv_func__expl_use+set} != xset; then
69347     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69348   $as_echo_n "(cached) " >&6
69349 else
69350
69351
69352       ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357
69358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h.  */
69360 #include <math.h>
69361                       #ifdef HAVE_IEEEFP_H
69362                       #include <ieeefp.h>
69363                       #endif
69364
69365 int
69366 main ()
69367 {
69368  _expl(0);
69369   ;
69370   return 0;
69371 }
69372 _ACEOF
69373 if ac_fn_cxx_try_compile "$LINENO"; then :
69374   glibcxx_cv_func__expl_use=yes
69375 else
69376   glibcxx_cv_func__expl_use=no
69377 fi
69378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69379       ac_ext=c
69380 ac_cpp='$CPP $CPPFLAGS'
69381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69384
69385
69386 fi
69387
69388   fi
69389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69390 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69391
69392     if test x$glibcxx_cv_func__expl_use = x"yes"; then
69393       for ac_func in _expl
69394 do :
69395   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69396 if test "x$ac_cv_func__expl" = x""yes; then :
69397   cat >>confdefs.h <<_ACEOF
69398 #define HAVE__EXPL 1
69399 _ACEOF
69400
69401 fi
69402 done
69403
69404     fi
69405   fi
69406
69407
69408
69409
69410
69411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69412 $as_echo_n "checking for fabsl declaration... " >&6; }
69413   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69414     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69415   $as_echo_n "(cached) " >&6
69416 else
69417
69418
69419       ac_ext=cpp
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69424
69425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69426 /* end confdefs.h.  */
69427 #include <math.h>
69428                       #ifdef HAVE_IEEEFP_H
69429                       #include <ieeefp.h>
69430                       #endif
69431
69432 int
69433 main ()
69434 {
69435  fabsl(0);
69436   ;
69437   return 0;
69438 }
69439 _ACEOF
69440 if ac_fn_cxx_try_compile "$LINENO"; then :
69441   glibcxx_cv_func_fabsl_use=yes
69442 else
69443   glibcxx_cv_func_fabsl_use=no
69444 fi
69445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69446       ac_ext=c
69447 ac_cpp='$CPP $CPPFLAGS'
69448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69451
69452
69453 fi
69454
69455   fi
69456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69457 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69458
69459   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69460     for ac_func in fabsl
69461 do :
69462   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69463 if test "x$ac_cv_func_fabsl" = x""yes; then :
69464   cat >>confdefs.h <<_ACEOF
69465 #define HAVE_FABSL 1
69466 _ACEOF
69467
69468 fi
69469 done
69470
69471   else
69472
69473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69474 $as_echo_n "checking for _fabsl declaration... " >&6; }
69475   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69476     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69477   $as_echo_n "(cached) " >&6
69478 else
69479
69480
69481       ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69486
69487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h.  */
69489 #include <math.h>
69490                       #ifdef HAVE_IEEEFP_H
69491                       #include <ieeefp.h>
69492                       #endif
69493
69494 int
69495 main ()
69496 {
69497  _fabsl(0);
69498   ;
69499   return 0;
69500 }
69501 _ACEOF
69502 if ac_fn_cxx_try_compile "$LINENO"; then :
69503   glibcxx_cv_func__fabsl_use=yes
69504 else
69505   glibcxx_cv_func__fabsl_use=no
69506 fi
69507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69508       ac_ext=c
69509 ac_cpp='$CPP $CPPFLAGS'
69510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69513
69514
69515 fi
69516
69517   fi
69518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69519 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69520
69521     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69522       for ac_func in _fabsl
69523 do :
69524   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69525 if test "x$ac_cv_func__fabsl" = x""yes; then :
69526   cat >>confdefs.h <<_ACEOF
69527 #define HAVE__FABSL 1
69528 _ACEOF
69529
69530 fi
69531 done
69532
69533     fi
69534   fi
69535
69536
69537
69538
69539
69540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69541 $as_echo_n "checking for fmodl declaration... " >&6; }
69542   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69543     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69544   $as_echo_n "(cached) " >&6
69545 else
69546
69547
69548       ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69553
69554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h.  */
69556 #include <math.h>
69557 int
69558 main ()
69559 {
69560  fmodl(0, 0);
69561   ;
69562   return 0;
69563 }
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566   glibcxx_cv_func_fmodl_use=yes
69567 else
69568   glibcxx_cv_func_fmodl_use=no
69569 fi
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571       ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69576
69577
69578 fi
69579
69580   fi
69581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69582 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69583
69584   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69585     for ac_func in fmodl
69586 do :
69587   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69588 if test "x$ac_cv_func_fmodl" = x""yes; then :
69589   cat >>confdefs.h <<_ACEOF
69590 #define HAVE_FMODL 1
69591 _ACEOF
69592
69593 fi
69594 done
69595
69596   else
69597
69598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69599 $as_echo_n "checking for _fmodl declaration... " >&6; }
69600   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69601     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69602   $as_echo_n "(cached) " >&6
69603 else
69604
69605
69606       ac_ext=cpp
69607 ac_cpp='$CXXCPP $CPPFLAGS'
69608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69611
69612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69613 /* end confdefs.h.  */
69614 #include <math.h>
69615 int
69616 main ()
69617 {
69618  _fmodl(0, 0);
69619   ;
69620   return 0;
69621 }
69622 _ACEOF
69623 if ac_fn_cxx_try_compile "$LINENO"; then :
69624   glibcxx_cv_func__fmodl_use=yes
69625 else
69626   glibcxx_cv_func__fmodl_use=no
69627 fi
69628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69629       ac_ext=c
69630 ac_cpp='$CPP $CPPFLAGS'
69631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69634
69635
69636 fi
69637
69638   fi
69639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69640 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69641
69642     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69643       for ac_func in _fmodl
69644 do :
69645   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69646 if test "x$ac_cv_func__fmodl" = x""yes; then :
69647   cat >>confdefs.h <<_ACEOF
69648 #define HAVE__FMODL 1
69649 _ACEOF
69650
69651 fi
69652 done
69653
69654     fi
69655   fi
69656
69657
69658
69659
69660
69661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69662 $as_echo_n "checking for frexpl declaration... " >&6; }
69663   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69664     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69665   $as_echo_n "(cached) " >&6
69666 else
69667
69668
69669       ac_ext=cpp
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69674
69675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69676 /* end confdefs.h.  */
69677 #include <math.h>
69678 int
69679 main ()
69680 {
69681  frexpl(0, 0);
69682   ;
69683   return 0;
69684 }
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687   glibcxx_cv_func_frexpl_use=yes
69688 else
69689   glibcxx_cv_func_frexpl_use=no
69690 fi
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692       ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69697
69698
69699 fi
69700
69701   fi
69702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69703 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69704
69705   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69706     for ac_func in frexpl
69707 do :
69708   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69709 if test "x$ac_cv_func_frexpl" = x""yes; then :
69710   cat >>confdefs.h <<_ACEOF
69711 #define HAVE_FREXPL 1
69712 _ACEOF
69713
69714 fi
69715 done
69716
69717   else
69718
69719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69720 $as_echo_n "checking for _frexpl declaration... " >&6; }
69721   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69722     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69723   $as_echo_n "(cached) " >&6
69724 else
69725
69726
69727       ac_ext=cpp
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69732
69733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69734 /* end confdefs.h.  */
69735 #include <math.h>
69736 int
69737 main ()
69738 {
69739  _frexpl(0, 0);
69740   ;
69741   return 0;
69742 }
69743 _ACEOF
69744 if ac_fn_cxx_try_compile "$LINENO"; then :
69745   glibcxx_cv_func__frexpl_use=yes
69746 else
69747   glibcxx_cv_func__frexpl_use=no
69748 fi
69749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69750       ac_ext=c
69751 ac_cpp='$CPP $CPPFLAGS'
69752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69755
69756
69757 fi
69758
69759   fi
69760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69761 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69762
69763     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69764       for ac_func in _frexpl
69765 do :
69766   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69767 if test "x$ac_cv_func__frexpl" = x""yes; then :
69768   cat >>confdefs.h <<_ACEOF
69769 #define HAVE__FREXPL 1
69770 _ACEOF
69771
69772 fi
69773 done
69774
69775     fi
69776   fi
69777
69778
69779
69780
69781
69782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69783 $as_echo_n "checking for hypotl declaration... " >&6; }
69784   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69785     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69786   $as_echo_n "(cached) " >&6
69787 else
69788
69789
69790       ac_ext=cpp
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69795
69796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69797 /* end confdefs.h.  */
69798 #include <math.h>
69799 int
69800 main ()
69801 {
69802  hypotl(0, 0);
69803   ;
69804   return 0;
69805 }
69806 _ACEOF
69807 if ac_fn_cxx_try_compile "$LINENO"; then :
69808   glibcxx_cv_func_hypotl_use=yes
69809 else
69810   glibcxx_cv_func_hypotl_use=no
69811 fi
69812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69813       ac_ext=c
69814 ac_cpp='$CPP $CPPFLAGS'
69815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69818
69819
69820 fi
69821
69822   fi
69823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69824 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69825
69826   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69827     for ac_func in hypotl
69828 do :
69829   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69830 if test "x$ac_cv_func_hypotl" = x""yes; then :
69831   cat >>confdefs.h <<_ACEOF
69832 #define HAVE_HYPOTL 1
69833 _ACEOF
69834
69835 fi
69836 done
69837
69838   else
69839
69840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69841 $as_echo_n "checking for _hypotl declaration... " >&6; }
69842   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69843     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69844   $as_echo_n "(cached) " >&6
69845 else
69846
69847
69848       ac_ext=cpp
69849 ac_cpp='$CXXCPP $CPPFLAGS'
69850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69853
69854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69855 /* end confdefs.h.  */
69856 #include <math.h>
69857 int
69858 main ()
69859 {
69860  _hypotl(0, 0);
69861   ;
69862   return 0;
69863 }
69864 _ACEOF
69865 if ac_fn_cxx_try_compile "$LINENO"; then :
69866   glibcxx_cv_func__hypotl_use=yes
69867 else
69868   glibcxx_cv_func__hypotl_use=no
69869 fi
69870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69871       ac_ext=c
69872 ac_cpp='$CPP $CPPFLAGS'
69873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69876
69877
69878 fi
69879
69880   fi
69881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69882 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69883
69884     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69885       for ac_func in _hypotl
69886 do :
69887   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69888 if test "x$ac_cv_func__hypotl" = x""yes; then :
69889   cat >>confdefs.h <<_ACEOF
69890 #define HAVE__HYPOTL 1
69891 _ACEOF
69892
69893 fi
69894 done
69895
69896     fi
69897   fi
69898
69899
69900
69901
69902
69903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69904 $as_echo_n "checking for ldexpl declaration... " >&6; }
69905   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69906     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69907   $as_echo_n "(cached) " >&6
69908 else
69909
69910
69911       ac_ext=cpp
69912 ac_cpp='$CXXCPP $CPPFLAGS'
69913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69916
69917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69918 /* end confdefs.h.  */
69919 #include <math.h>
69920 int
69921 main ()
69922 {
69923  ldexpl(0, 0);
69924   ;
69925   return 0;
69926 }
69927 _ACEOF
69928 if ac_fn_cxx_try_compile "$LINENO"; then :
69929   glibcxx_cv_func_ldexpl_use=yes
69930 else
69931   glibcxx_cv_func_ldexpl_use=no
69932 fi
69933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69934       ac_ext=c
69935 ac_cpp='$CPP $CPPFLAGS'
69936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69939
69940
69941 fi
69942
69943   fi
69944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69945 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69946
69947   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69948     for ac_func in ldexpl
69949 do :
69950   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69951 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69952   cat >>confdefs.h <<_ACEOF
69953 #define HAVE_LDEXPL 1
69954 _ACEOF
69955
69956 fi
69957 done
69958
69959   else
69960
69961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69962 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69963   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69964     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69965   $as_echo_n "(cached) " >&6
69966 else
69967
69968
69969       ac_ext=cpp
69970 ac_cpp='$CXXCPP $CPPFLAGS'
69971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974
69975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h.  */
69977 #include <math.h>
69978 int
69979 main ()
69980 {
69981  _ldexpl(0, 0);
69982   ;
69983   return 0;
69984 }
69985 _ACEOF
69986 if ac_fn_cxx_try_compile "$LINENO"; then :
69987   glibcxx_cv_func__ldexpl_use=yes
69988 else
69989   glibcxx_cv_func__ldexpl_use=no
69990 fi
69991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69992       ac_ext=c
69993 ac_cpp='$CPP $CPPFLAGS'
69994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69997
69998
69999 fi
70000
70001   fi
70002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70003 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70004
70005     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70006       for ac_func in _ldexpl
70007 do :
70008   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70009 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70010   cat >>confdefs.h <<_ACEOF
70011 #define HAVE__LDEXPL 1
70012 _ACEOF
70013
70014 fi
70015 done
70016
70017     fi
70018   fi
70019
70020
70021
70022
70023
70024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70025 $as_echo_n "checking for logl declaration... " >&6; }
70026   if test x${glibcxx_cv_func_logl_use+set} != xset; then
70027     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70028   $as_echo_n "(cached) " >&6
70029 else
70030
70031
70032       ac_ext=cpp
70033 ac_cpp='$CXXCPP $CPPFLAGS'
70034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70037
70038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70039 /* end confdefs.h.  */
70040 #include <math.h>
70041                       #ifdef HAVE_IEEEFP_H
70042                       #include <ieeefp.h>
70043                       #endif
70044
70045 int
70046 main ()
70047 {
70048  logl(0);
70049   ;
70050   return 0;
70051 }
70052 _ACEOF
70053 if ac_fn_cxx_try_compile "$LINENO"; then :
70054   glibcxx_cv_func_logl_use=yes
70055 else
70056   glibcxx_cv_func_logl_use=no
70057 fi
70058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70059       ac_ext=c
70060 ac_cpp='$CPP $CPPFLAGS'
70061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70064
70065
70066 fi
70067
70068   fi
70069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70070 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70071
70072   if test x$glibcxx_cv_func_logl_use = x"yes"; then
70073     for ac_func in logl
70074 do :
70075   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70076 if test "x$ac_cv_func_logl" = x""yes; then :
70077   cat >>confdefs.h <<_ACEOF
70078 #define HAVE_LOGL 1
70079 _ACEOF
70080
70081 fi
70082 done
70083
70084   else
70085
70086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70087 $as_echo_n "checking for _logl declaration... " >&6; }
70088   if test x${glibcxx_cv_func__logl_use+set} != xset; then
70089     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70090   $as_echo_n "(cached) " >&6
70091 else
70092
70093
70094       ac_ext=cpp
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70099
70100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h.  */
70102 #include <math.h>
70103                       #ifdef HAVE_IEEEFP_H
70104                       #include <ieeefp.h>
70105                       #endif
70106
70107 int
70108 main ()
70109 {
70110  _logl(0);
70111   ;
70112   return 0;
70113 }
70114 _ACEOF
70115 if ac_fn_cxx_try_compile "$LINENO"; then :
70116   glibcxx_cv_func__logl_use=yes
70117 else
70118   glibcxx_cv_func__logl_use=no
70119 fi
70120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70121       ac_ext=c
70122 ac_cpp='$CPP $CPPFLAGS'
70123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70126
70127
70128 fi
70129
70130   fi
70131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70132 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70133
70134     if test x$glibcxx_cv_func__logl_use = x"yes"; then
70135       for ac_func in _logl
70136 do :
70137   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70138 if test "x$ac_cv_func__logl" = x""yes; then :
70139   cat >>confdefs.h <<_ACEOF
70140 #define HAVE__LOGL 1
70141 _ACEOF
70142
70143 fi
70144 done
70145
70146     fi
70147   fi
70148
70149
70150
70151
70152
70153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70154 $as_echo_n "checking for log10l declaration... " >&6; }
70155   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70156     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70157   $as_echo_n "(cached) " >&6
70158 else
70159
70160
70161       ac_ext=cpp
70162 ac_cpp='$CXXCPP $CPPFLAGS'
70163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70166
70167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70168 /* end confdefs.h.  */
70169 #include <math.h>
70170                       #ifdef HAVE_IEEEFP_H
70171                       #include <ieeefp.h>
70172                       #endif
70173
70174 int
70175 main ()
70176 {
70177  log10l(0);
70178   ;
70179   return 0;
70180 }
70181 _ACEOF
70182 if ac_fn_cxx_try_compile "$LINENO"; then :
70183   glibcxx_cv_func_log10l_use=yes
70184 else
70185   glibcxx_cv_func_log10l_use=no
70186 fi
70187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70188       ac_ext=c
70189 ac_cpp='$CPP $CPPFLAGS'
70190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70193
70194
70195 fi
70196
70197   fi
70198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70199 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70200
70201   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70202     for ac_func in log10l
70203 do :
70204   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70205 if test "x$ac_cv_func_log10l" = x""yes; then :
70206   cat >>confdefs.h <<_ACEOF
70207 #define HAVE_LOG10L 1
70208 _ACEOF
70209
70210 fi
70211 done
70212
70213   else
70214
70215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70216 $as_echo_n "checking for _log10l declaration... " >&6; }
70217   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70218     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70219   $as_echo_n "(cached) " >&6
70220 else
70221
70222
70223       ac_ext=cpp
70224 ac_cpp='$CXXCPP $CPPFLAGS'
70225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70228
70229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70230 /* end confdefs.h.  */
70231 #include <math.h>
70232                       #ifdef HAVE_IEEEFP_H
70233                       #include <ieeefp.h>
70234                       #endif
70235
70236 int
70237 main ()
70238 {
70239  _log10l(0);
70240   ;
70241   return 0;
70242 }
70243 _ACEOF
70244 if ac_fn_cxx_try_compile "$LINENO"; then :
70245   glibcxx_cv_func__log10l_use=yes
70246 else
70247   glibcxx_cv_func__log10l_use=no
70248 fi
70249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70250       ac_ext=c
70251 ac_cpp='$CPP $CPPFLAGS'
70252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70255
70256
70257 fi
70258
70259   fi
70260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70261 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70262
70263     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70264       for ac_func in _log10l
70265 do :
70266   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70267 if test "x$ac_cv_func__log10l" = x""yes; then :
70268   cat >>confdefs.h <<_ACEOF
70269 #define HAVE__LOG10L 1
70270 _ACEOF
70271
70272 fi
70273 done
70274
70275     fi
70276   fi
70277
70278
70279
70280
70281
70282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70283 $as_echo_n "checking for modfl declaration... " >&6; }
70284   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70285     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70286   $as_echo_n "(cached) " >&6
70287 else
70288
70289
70290       ac_ext=cpp
70291 ac_cpp='$CXXCPP $CPPFLAGS'
70292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70295
70296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70297 /* end confdefs.h.  */
70298 #include <math.h>
70299 int
70300 main ()
70301 {
70302  modfl(0, 0);
70303   ;
70304   return 0;
70305 }
70306 _ACEOF
70307 if ac_fn_cxx_try_compile "$LINENO"; then :
70308   glibcxx_cv_func_modfl_use=yes
70309 else
70310   glibcxx_cv_func_modfl_use=no
70311 fi
70312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70313       ac_ext=c
70314 ac_cpp='$CPP $CPPFLAGS'
70315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70318
70319
70320 fi
70321
70322   fi
70323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70324 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70325
70326   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70327     for ac_func in modfl
70328 do :
70329   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70330 if test "x$ac_cv_func_modfl" = x""yes; then :
70331   cat >>confdefs.h <<_ACEOF
70332 #define HAVE_MODFL 1
70333 _ACEOF
70334
70335 fi
70336 done
70337
70338   else
70339
70340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70341 $as_echo_n "checking for _modfl declaration... " >&6; }
70342   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70343     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70344   $as_echo_n "(cached) " >&6
70345 else
70346
70347
70348       ac_ext=cpp
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70353
70354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70355 /* end confdefs.h.  */
70356 #include <math.h>
70357 int
70358 main ()
70359 {
70360  _modfl(0, 0);
70361   ;
70362   return 0;
70363 }
70364 _ACEOF
70365 if ac_fn_cxx_try_compile "$LINENO"; then :
70366   glibcxx_cv_func__modfl_use=yes
70367 else
70368   glibcxx_cv_func__modfl_use=no
70369 fi
70370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70371       ac_ext=c
70372 ac_cpp='$CPP $CPPFLAGS'
70373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70376
70377
70378 fi
70379
70380   fi
70381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70382 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70383
70384     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70385       for ac_func in _modfl
70386 do :
70387   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70388 if test "x$ac_cv_func__modfl" = x""yes; then :
70389   cat >>confdefs.h <<_ACEOF
70390 #define HAVE__MODFL 1
70391 _ACEOF
70392
70393 fi
70394 done
70395
70396     fi
70397   fi
70398
70399
70400
70401
70402
70403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70404 $as_echo_n "checking for powl declaration... " >&6; }
70405   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70406     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70407   $as_echo_n "(cached) " >&6
70408 else
70409
70410
70411       ac_ext=cpp
70412 ac_cpp='$CXXCPP $CPPFLAGS'
70413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70416
70417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70418 /* end confdefs.h.  */
70419 #include <math.h>
70420 int
70421 main ()
70422 {
70423  powl(0, 0);
70424   ;
70425   return 0;
70426 }
70427 _ACEOF
70428 if ac_fn_cxx_try_compile "$LINENO"; then :
70429   glibcxx_cv_func_powl_use=yes
70430 else
70431   glibcxx_cv_func_powl_use=no
70432 fi
70433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70434       ac_ext=c
70435 ac_cpp='$CPP $CPPFLAGS'
70436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70439
70440
70441 fi
70442
70443   fi
70444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70445 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70446
70447   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70448     for ac_func in powl
70449 do :
70450   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70451 if test "x$ac_cv_func_powl" = x""yes; then :
70452   cat >>confdefs.h <<_ACEOF
70453 #define HAVE_POWL 1
70454 _ACEOF
70455
70456 fi
70457 done
70458
70459   else
70460
70461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70462 $as_echo_n "checking for _powl declaration... " >&6; }
70463   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70464     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70465   $as_echo_n "(cached) " >&6
70466 else
70467
70468
70469       ac_ext=cpp
70470 ac_cpp='$CXXCPP $CPPFLAGS'
70471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70474
70475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h.  */
70477 #include <math.h>
70478 int
70479 main ()
70480 {
70481  _powl(0, 0);
70482   ;
70483   return 0;
70484 }
70485 _ACEOF
70486 if ac_fn_cxx_try_compile "$LINENO"; then :
70487   glibcxx_cv_func__powl_use=yes
70488 else
70489   glibcxx_cv_func__powl_use=no
70490 fi
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492       ac_ext=c
70493 ac_cpp='$CPP $CPPFLAGS'
70494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70497
70498
70499 fi
70500
70501   fi
70502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70503 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70504
70505     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70506       for ac_func in _powl
70507 do :
70508   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70509 if test "x$ac_cv_func__powl" = x""yes; then :
70510   cat >>confdefs.h <<_ACEOF
70511 #define HAVE__POWL 1
70512 _ACEOF
70513
70514 fi
70515 done
70516
70517     fi
70518   fi
70519
70520
70521
70522
70523
70524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70525 $as_echo_n "checking for sqrtl declaration... " >&6; }
70526   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70527     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70528   $as_echo_n "(cached) " >&6
70529 else
70530
70531
70532       ac_ext=cpp
70533 ac_cpp='$CXXCPP $CPPFLAGS'
70534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70537
70538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70539 /* end confdefs.h.  */
70540 #include <math.h>
70541                       #ifdef HAVE_IEEEFP_H
70542                       #include <ieeefp.h>
70543                       #endif
70544
70545 int
70546 main ()
70547 {
70548  sqrtl(0);
70549   ;
70550   return 0;
70551 }
70552 _ACEOF
70553 if ac_fn_cxx_try_compile "$LINENO"; then :
70554   glibcxx_cv_func_sqrtl_use=yes
70555 else
70556   glibcxx_cv_func_sqrtl_use=no
70557 fi
70558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70559       ac_ext=c
70560 ac_cpp='$CPP $CPPFLAGS'
70561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70564
70565
70566 fi
70567
70568   fi
70569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70570 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70571
70572   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70573     for ac_func in sqrtl
70574 do :
70575   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70576 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70577   cat >>confdefs.h <<_ACEOF
70578 #define HAVE_SQRTL 1
70579 _ACEOF
70580
70581 fi
70582 done
70583
70584   else
70585
70586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70587 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70588   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70589     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70590   $as_echo_n "(cached) " >&6
70591 else
70592
70593
70594       ac_ext=cpp
70595 ac_cpp='$CXXCPP $CPPFLAGS'
70596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70599
70600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70601 /* end confdefs.h.  */
70602 #include <math.h>
70603                       #ifdef HAVE_IEEEFP_H
70604                       #include <ieeefp.h>
70605                       #endif
70606
70607 int
70608 main ()
70609 {
70610  _sqrtl(0);
70611   ;
70612   return 0;
70613 }
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616   glibcxx_cv_func__sqrtl_use=yes
70617 else
70618   glibcxx_cv_func__sqrtl_use=no
70619 fi
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621       ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70626
70627
70628 fi
70629
70630   fi
70631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70632 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70633
70634     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70635       for ac_func in _sqrtl
70636 do :
70637   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70638 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70639   cat >>confdefs.h <<_ACEOF
70640 #define HAVE__SQRTL 1
70641 _ACEOF
70642
70643 fi
70644 done
70645
70646     fi
70647   fi
70648
70649
70650
70651
70652
70653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70654 $as_echo_n "checking for sincosl declaration... " >&6; }
70655   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70656     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70657   $as_echo_n "(cached) " >&6
70658 else
70659
70660
70661       ac_ext=cpp
70662 ac_cpp='$CXXCPP $CPPFLAGS'
70663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70666
70667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70668 /* end confdefs.h.  */
70669 #include <math.h>
70670 int
70671 main ()
70672 {
70673  sincosl(0, 0, 0);
70674   ;
70675   return 0;
70676 }
70677 _ACEOF
70678 if ac_fn_cxx_try_compile "$LINENO"; then :
70679   glibcxx_cv_func_sincosl_use=yes
70680 else
70681   glibcxx_cv_func_sincosl_use=no
70682 fi
70683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70684       ac_ext=c
70685 ac_cpp='$CPP $CPPFLAGS'
70686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70689
70690
70691 fi
70692
70693   fi
70694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70695 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70696
70697   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70698     for ac_func in sincosl
70699 do :
70700   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70701 if test "x$ac_cv_func_sincosl" = x""yes; then :
70702   cat >>confdefs.h <<_ACEOF
70703 #define HAVE_SINCOSL 1
70704 _ACEOF
70705
70706 fi
70707 done
70708
70709   else
70710
70711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70712 $as_echo_n "checking for _sincosl declaration... " >&6; }
70713   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70714     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70715   $as_echo_n "(cached) " >&6
70716 else
70717
70718
70719       ac_ext=cpp
70720 ac_cpp='$CXXCPP $CPPFLAGS'
70721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70724
70725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70726 /* end confdefs.h.  */
70727 #include <math.h>
70728 int
70729 main ()
70730 {
70731  _sincosl(0, 0, 0);
70732   ;
70733   return 0;
70734 }
70735 _ACEOF
70736 if ac_fn_cxx_try_compile "$LINENO"; then :
70737   glibcxx_cv_func__sincosl_use=yes
70738 else
70739   glibcxx_cv_func__sincosl_use=no
70740 fi
70741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70742       ac_ext=c
70743 ac_cpp='$CPP $CPPFLAGS'
70744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70747
70748
70749 fi
70750
70751   fi
70752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70753 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70754
70755     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70756       for ac_func in _sincosl
70757 do :
70758   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70759 if test "x$ac_cv_func__sincosl" = x""yes; then :
70760   cat >>confdefs.h <<_ACEOF
70761 #define HAVE__SINCOSL 1
70762 _ACEOF
70763
70764 fi
70765 done
70766
70767     fi
70768   fi
70769
70770
70771
70772
70773
70774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70775 $as_echo_n "checking for finitel declaration... " >&6; }
70776   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70777     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70778   $as_echo_n "(cached) " >&6
70779 else
70780
70781
70782       ac_ext=cpp
70783 ac_cpp='$CXXCPP $CPPFLAGS'
70784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70787
70788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70789 /* end confdefs.h.  */
70790 #include <math.h>
70791                       #ifdef HAVE_IEEEFP_H
70792                       #include <ieeefp.h>
70793                       #endif
70794
70795 int
70796 main ()
70797 {
70798  finitel(0);
70799   ;
70800   return 0;
70801 }
70802 _ACEOF
70803 if ac_fn_cxx_try_compile "$LINENO"; then :
70804   glibcxx_cv_func_finitel_use=yes
70805 else
70806   glibcxx_cv_func_finitel_use=no
70807 fi
70808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70809       ac_ext=c
70810 ac_cpp='$CPP $CPPFLAGS'
70811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70814
70815
70816 fi
70817
70818   fi
70819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70820 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70821
70822   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70823     for ac_func in finitel
70824 do :
70825   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70826 if test "x$ac_cv_func_finitel" = x""yes; then :
70827   cat >>confdefs.h <<_ACEOF
70828 #define HAVE_FINITEL 1
70829 _ACEOF
70830
70831 fi
70832 done
70833
70834   else
70835
70836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70837 $as_echo_n "checking for _finitel declaration... " >&6; }
70838   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70839     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70840   $as_echo_n "(cached) " >&6
70841 else
70842
70843
70844       ac_ext=cpp
70845 ac_cpp='$CXXCPP $CPPFLAGS'
70846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70849
70850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70851 /* end confdefs.h.  */
70852 #include <math.h>
70853                       #ifdef HAVE_IEEEFP_H
70854                       #include <ieeefp.h>
70855                       #endif
70856
70857 int
70858 main ()
70859 {
70860  _finitel(0);
70861   ;
70862   return 0;
70863 }
70864 _ACEOF
70865 if ac_fn_cxx_try_compile "$LINENO"; then :
70866   glibcxx_cv_func__finitel_use=yes
70867 else
70868   glibcxx_cv_func__finitel_use=no
70869 fi
70870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70871       ac_ext=c
70872 ac_cpp='$CPP $CPPFLAGS'
70873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70876
70877
70878 fi
70879
70880   fi
70881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70882 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70883
70884     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70885       for ac_func in _finitel
70886 do :
70887   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70888 if test "x$ac_cv_func__finitel" = x""yes; then :
70889   cat >>confdefs.h <<_ACEOF
70890 #define HAVE__FINITEL 1
70891 _ACEOF
70892
70893 fi
70894 done
70895
70896     fi
70897   fi
70898
70899
70900
70901
70902   LIBS="$ac_save_LIBS"
70903   CXXFLAGS="$ac_save_CXXFLAGS"
70904
70905
70906   ac_test_CXXFLAGS="${CXXFLAGS+set}"
70907   ac_save_CXXFLAGS="$CXXFLAGS"
70908   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70909
70910
70911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70912 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70913   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70914     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70915   $as_echo_n "(cached) " >&6
70916 else
70917
70918
70919       ac_ext=cpp
70920 ac_cpp='$CXXCPP $CPPFLAGS'
70921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70924
70925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70926 /* end confdefs.h.  */
70927 #include <stdlib.h>
70928 int
70929 main ()
70930 {
70931  at_quick_exit(0);
70932   ;
70933   return 0;
70934 }
70935 _ACEOF
70936 if ac_fn_cxx_try_compile "$LINENO"; then :
70937   glibcxx_cv_func_at_quick_exit_use=yes
70938 else
70939   glibcxx_cv_func_at_quick_exit_use=no
70940 fi
70941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70942       ac_ext=c
70943 ac_cpp='$CPP $CPPFLAGS'
70944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70947
70948
70949 fi
70950
70951   fi
70952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70953 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70954   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70955     for ac_func in at_quick_exit
70956 do :
70957   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70958 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70959   cat >>confdefs.h <<_ACEOF
70960 #define HAVE_AT_QUICK_EXIT 1
70961 _ACEOF
70962
70963 fi
70964 done
70965
70966   fi
70967
70968
70969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70970 $as_echo_n "checking for quick_exit declaration... " >&6; }
70971   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70972     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70973   $as_echo_n "(cached) " >&6
70974 else
70975
70976
70977       ac_ext=cpp
70978 ac_cpp='$CXXCPP $CPPFLAGS'
70979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70982
70983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70984 /* end confdefs.h.  */
70985 #include <stdlib.h>
70986 int
70987 main ()
70988 {
70989  quick_exit(0);
70990   ;
70991   return 0;
70992 }
70993 _ACEOF
70994 if ac_fn_cxx_try_compile "$LINENO"; then :
70995   glibcxx_cv_func_quick_exit_use=yes
70996 else
70997   glibcxx_cv_func_quick_exit_use=no
70998 fi
70999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71000       ac_ext=c
71001 ac_cpp='$CPP $CPPFLAGS'
71002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71005
71006
71007 fi
71008
71009   fi
71010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71011 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71012   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71013     for ac_func in quick_exit
71014 do :
71015   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71016 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71017   cat >>confdefs.h <<_ACEOF
71018 #define HAVE_QUICK_EXIT 1
71019 _ACEOF
71020
71021 fi
71022 done
71023
71024   fi
71025
71026
71027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71028 $as_echo_n "checking for strtold declaration... " >&6; }
71029   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71030     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71031   $as_echo_n "(cached) " >&6
71032 else
71033
71034
71035       ac_ext=cpp
71036 ac_cpp='$CXXCPP $CPPFLAGS'
71037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71040
71041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71042 /* end confdefs.h.  */
71043 #include <stdlib.h>
71044 int
71045 main ()
71046 {
71047  strtold(0, 0);
71048   ;
71049   return 0;
71050 }
71051 _ACEOF
71052 if ac_fn_cxx_try_compile "$LINENO"; then :
71053   glibcxx_cv_func_strtold_use=yes
71054 else
71055   glibcxx_cv_func_strtold_use=no
71056 fi
71057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71058       ac_ext=c
71059 ac_cpp='$CPP $CPPFLAGS'
71060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71063
71064
71065 fi
71066
71067   fi
71068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71069 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71070   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71071     for ac_func in strtold
71072 do :
71073   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71074 if test "x$ac_cv_func_strtold" = x""yes; then :
71075   cat >>confdefs.h <<_ACEOF
71076 #define HAVE_STRTOLD 1
71077 _ACEOF
71078
71079 fi
71080 done
71081
71082   fi
71083
71084
71085
71086
71087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71088 $as_echo_n "checking for strtof declaration... " >&6; }
71089   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71090     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71091   $as_echo_n "(cached) " >&6
71092 else
71093
71094
71095       ac_ext=cpp
71096 ac_cpp='$CXXCPP $CPPFLAGS'
71097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71100
71101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71102 /* end confdefs.h.  */
71103 #include <stdlib.h>
71104 int
71105 main ()
71106 {
71107  strtof(0, 0);
71108   ;
71109   return 0;
71110 }
71111 _ACEOF
71112 if ac_fn_cxx_try_compile "$LINENO"; then :
71113   glibcxx_cv_func_strtof_use=yes
71114 else
71115   glibcxx_cv_func_strtof_use=no
71116 fi
71117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71118       ac_ext=c
71119 ac_cpp='$CPP $CPPFLAGS'
71120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71123
71124
71125 fi
71126
71127   fi
71128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71129 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71130   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71131     for ac_func in strtof
71132 do :
71133   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71134 if test "x$ac_cv_func_strtof" = x""yes; then :
71135   cat >>confdefs.h <<_ACEOF
71136 #define HAVE_STRTOF 1
71137 _ACEOF
71138
71139 fi
71140 done
71141
71142   fi
71143
71144
71145
71146
71147   CXXFLAGS="$ac_save_CXXFLAGS"
71148
71149     ;;
71150   *-solaris*)
71151
71152   # If we're not using GNU ld, then there's no point in even trying these
71153   # tests.  Check for that first.  We should have already tested for gld
71154   # by now (in libtool), but require it now just to be safe...
71155   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71156   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71157
71158
71159
71160   # The name set by libtool depends on the version of libtool.  Shame on us
71161   # for depending on an impl detail, but c'est la vie.  Older versions used
71162   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71163   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71164   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
71165   # set (hence we're using an older libtool), then set it.
71166   if test x${with_gnu_ld+set} != xset; then
71167     if test x${ac_cv_prog_gnu_ld+set} != xset; then
71168       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
71169       with_gnu_ld=no
71170     else
71171       with_gnu_ld=$ac_cv_prog_gnu_ld
71172     fi
71173   fi
71174
71175   # Start by getting the version number.  I think the libtool test already
71176   # does some of this, but throws away the result.
71177   glibcxx_ld_is_gold=no
71178   if test x"$with_gnu_ld" = x"yes"; then
71179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71180 $as_echo_n "checking for ld version... " >&6; }
71181
71182     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71183       glibcxx_ld_is_gold=yes
71184     fi
71185     ldver=`$LD --version 2>/dev/null |
71186            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'`
71187
71188     glibcxx_gnu_ld_version=`echo $ldver | \
71189            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71191 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71192   fi
71193
71194   # Set --gc-sections.
71195   glibcxx_have_gc_sections=no
71196   if test "$glibcxx_ld_is_gold" = "yes"; then
71197     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71198       glibcxx_have_gc_sections=yes
71199     fi
71200   else
71201     glibcxx_gcsections_min_ld=21602
71202     if test x"$with_gnu_ld" = x"yes" &&
71203         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71204       glibcxx_have_gc_sections=yes
71205     fi
71206   fi
71207   if test "$glibcxx_have_gc_sections" = "yes"; then
71208     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
71209     # NB: This flag only works reliably after 2.16.1. Configure tests
71210     # for this are difficult, so hard wire a value that should work.
71211
71212     ac_test_CFLAGS="${CFLAGS+set}"
71213     ac_save_CFLAGS="$CFLAGS"
71214     CFLAGS='-Wl,--gc-sections'
71215
71216     # Check for -Wl,--gc-sections
71217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71218 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71219     if test x$gcc_no_link = xyes; then
71220   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71221 fi
71222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71223 /* end confdefs.h.  */
71224  int one(void) { return 1; }
71225      int two(void) { return 2; }
71226
71227 int
71228 main ()
71229 {
71230  two();
71231   ;
71232   return 0;
71233 }
71234 _ACEOF
71235 if ac_fn_c_try_link "$LINENO"; then :
71236   ac_gcsections=yes
71237 else
71238   ac_gcsections=no
71239 fi
71240 rm -f core conftest.err conftest.$ac_objext \
71241     conftest$ac_exeext conftest.$ac_ext
71242     if test "$ac_gcsections" = "yes"; then
71243       rm -f conftest.c
71244       touch conftest.c
71245       if $CC -c conftest.c; then
71246         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71247            grep "Warning: gc-sections option ignored" > /dev/null; then
71248           ac_gcsections=no
71249         fi
71250       fi
71251       rm -f conftest.c conftest.o conftest
71252     fi
71253     if test "$ac_gcsections" = "yes"; then
71254       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71255     fi
71256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71257 $as_echo "$ac_gcsections" >&6; }
71258
71259     if test "$ac_test_CFLAGS" = set; then
71260       CFLAGS="$ac_save_CFLAGS"
71261     else
71262       # this is the suspicious part
71263       CFLAGS=''
71264     fi
71265   fi
71266
71267   # Set -z,relro.
71268   # Note this is only for shared objects.
71269   ac_ld_relro=no
71270   if test x"$with_gnu_ld" = x"yes"; then
71271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71272 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71273     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71274     if test -n "$cxx_z_relo"; then
71275       OPT_LDFLAGS="-Wl,-z,relro"
71276       ac_ld_relro=yes
71277     fi
71278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71279 $as_echo "$ac_ld_relro" >&6; }
71280   fi
71281
71282   # Set linker optimization flags.
71283   if test x"$with_gnu_ld" = x"yes"; then
71284     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71285   fi
71286
71287
71288
71289
71290     $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71291
71292     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71293
71294     $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71295
71296     # All of the dependencies for wide character support are here, so
71297     # turn it on.
71298     $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71299
71300     # These two C99 functions are present only in Solaris >= 10
71301     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71302
71303     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71304
71305     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71306
71307     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71308
71309     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71310
71311     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71312
71313     ;;
71314   *-tpf)
71315     SECTION_FLAGS='-ffunction-sections -fdata-sections'
71316     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71317
71318     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71319
71320     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71321
71322     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71323
71324     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71325
71326     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71327
71328     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71329
71330     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71331
71332     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71333
71334     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71335
71336     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71337
71338     if test x"long_double_math_on_this_cpu" = x"yes"; then
71339       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71340
71341       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71342
71343       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71344
71345       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71346
71347     fi
71348     ;;
71349   *-*vms*)
71350     # Check for available headers.
71351     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71352
71353   ac_test_CXXFLAGS="${CXXFLAGS+set}"
71354   ac_save_CXXFLAGS="$CXXFLAGS"
71355   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71356
71357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71358 $as_echo_n "checking for sin in -lm... " >&6; }
71359 if test "${ac_cv_lib_m_sin+set}" = set; then :
71360   $as_echo_n "(cached) " >&6
71361 else
71362   ac_check_lib_save_LIBS=$LIBS
71363 LIBS="-lm  $LIBS"
71364 if test x$gcc_no_link = xyes; then
71365   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71366 fi
71367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71368 /* end confdefs.h.  */
71369
71370 /* Override any GCC internal prototype to avoid an error.
71371    Use char because int might match the return type of a GCC
71372    builtin and then its argument prototype would still apply.  */
71373 #ifdef __cplusplus
71374 extern "C"
71375 #endif
71376 char sin ();
71377 int
71378 main ()
71379 {
71380 return sin ();
71381   ;
71382   return 0;
71383 }
71384 _ACEOF
71385 if ac_fn_c_try_link "$LINENO"; then :
71386   ac_cv_lib_m_sin=yes
71387 else
71388   ac_cv_lib_m_sin=no
71389 fi
71390 rm -f core conftest.err conftest.$ac_objext \
71391     conftest$ac_exeext conftest.$ac_ext
71392 LIBS=$ac_check_lib_save_LIBS
71393 fi
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71395 $as_echo "$ac_cv_lib_m_sin" >&6; }
71396 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71397   libm="-lm"
71398 fi
71399
71400   ac_save_LIBS="$LIBS"
71401   LIBS="$LIBS $libm"
71402
71403
71404
71405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71406 $as_echo_n "checking for isinf declaration... " >&6; }
71407   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71408     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71409   $as_echo_n "(cached) " >&6
71410 else
71411
71412
71413       ac_ext=cpp
71414 ac_cpp='$CXXCPP $CPPFLAGS'
71415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71418
71419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71420 /* end confdefs.h.  */
71421 #include <math.h>
71422                       #ifdef HAVE_IEEEFP_H
71423                       #include <ieeefp.h>
71424                       #endif
71425
71426 int
71427 main ()
71428 {
71429  isinf(0);
71430   ;
71431   return 0;
71432 }
71433 _ACEOF
71434 if ac_fn_cxx_try_compile "$LINENO"; then :
71435   glibcxx_cv_func_isinf_use=yes
71436 else
71437   glibcxx_cv_func_isinf_use=no
71438 fi
71439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71440       ac_ext=c
71441 ac_cpp='$CPP $CPPFLAGS'
71442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71445
71446
71447 fi
71448
71449   fi
71450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71451 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71452
71453   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71454     for ac_func in isinf
71455 do :
71456   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71457 if test "x$ac_cv_func_isinf" = x""yes; then :
71458   cat >>confdefs.h <<_ACEOF
71459 #define HAVE_ISINF 1
71460 _ACEOF
71461
71462 fi
71463 done
71464
71465   else
71466
71467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71468 $as_echo_n "checking for _isinf declaration... " >&6; }
71469   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71470     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71471   $as_echo_n "(cached) " >&6
71472 else
71473
71474
71475       ac_ext=cpp
71476 ac_cpp='$CXXCPP $CPPFLAGS'
71477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71480
71481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71482 /* end confdefs.h.  */
71483 #include <math.h>
71484                       #ifdef HAVE_IEEEFP_H
71485                       #include <ieeefp.h>
71486                       #endif
71487
71488 int
71489 main ()
71490 {
71491  _isinf(0);
71492   ;
71493   return 0;
71494 }
71495 _ACEOF
71496 if ac_fn_cxx_try_compile "$LINENO"; then :
71497   glibcxx_cv_func__isinf_use=yes
71498 else
71499   glibcxx_cv_func__isinf_use=no
71500 fi
71501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71502       ac_ext=c
71503 ac_cpp='$CPP $CPPFLAGS'
71504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71507
71508
71509 fi
71510
71511   fi
71512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71513 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71514
71515     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71516       for ac_func in _isinf
71517 do :
71518   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71519 if test "x$ac_cv_func__isinf" = x""yes; then :
71520   cat >>confdefs.h <<_ACEOF
71521 #define HAVE__ISINF 1
71522 _ACEOF
71523
71524 fi
71525 done
71526
71527     fi
71528   fi
71529
71530
71531
71532
71533
71534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71535 $as_echo_n "checking for isnan declaration... " >&6; }
71536   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71537     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71538   $as_echo_n "(cached) " >&6
71539 else
71540
71541
71542       ac_ext=cpp
71543 ac_cpp='$CXXCPP $CPPFLAGS'
71544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71547
71548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71549 /* end confdefs.h.  */
71550 #include <math.h>
71551                       #ifdef HAVE_IEEEFP_H
71552                       #include <ieeefp.h>
71553                       #endif
71554
71555 int
71556 main ()
71557 {
71558  isnan(0);
71559   ;
71560   return 0;
71561 }
71562 _ACEOF
71563 if ac_fn_cxx_try_compile "$LINENO"; then :
71564   glibcxx_cv_func_isnan_use=yes
71565 else
71566   glibcxx_cv_func_isnan_use=no
71567 fi
71568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71569       ac_ext=c
71570 ac_cpp='$CPP $CPPFLAGS'
71571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71574
71575
71576 fi
71577
71578   fi
71579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71580 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71581
71582   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71583     for ac_func in isnan
71584 do :
71585   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71586 if test "x$ac_cv_func_isnan" = x""yes; then :
71587   cat >>confdefs.h <<_ACEOF
71588 #define HAVE_ISNAN 1
71589 _ACEOF
71590
71591 fi
71592 done
71593
71594   else
71595
71596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71597 $as_echo_n "checking for _isnan declaration... " >&6; }
71598   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71599     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71600   $as_echo_n "(cached) " >&6
71601 else
71602
71603
71604       ac_ext=cpp
71605 ac_cpp='$CXXCPP $CPPFLAGS'
71606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71609
71610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71611 /* end confdefs.h.  */
71612 #include <math.h>
71613                       #ifdef HAVE_IEEEFP_H
71614                       #include <ieeefp.h>
71615                       #endif
71616
71617 int
71618 main ()
71619 {
71620  _isnan(0);
71621   ;
71622   return 0;
71623 }
71624 _ACEOF
71625 if ac_fn_cxx_try_compile "$LINENO"; then :
71626   glibcxx_cv_func__isnan_use=yes
71627 else
71628   glibcxx_cv_func__isnan_use=no
71629 fi
71630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71631       ac_ext=c
71632 ac_cpp='$CPP $CPPFLAGS'
71633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71636
71637
71638 fi
71639
71640   fi
71641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71642 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71643
71644     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71645       for ac_func in _isnan
71646 do :
71647   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71648 if test "x$ac_cv_func__isnan" = x""yes; then :
71649   cat >>confdefs.h <<_ACEOF
71650 #define HAVE__ISNAN 1
71651 _ACEOF
71652
71653 fi
71654 done
71655
71656     fi
71657   fi
71658
71659
71660
71661
71662
71663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71664 $as_echo_n "checking for finite declaration... " >&6; }
71665   if test x${glibcxx_cv_func_finite_use+set} != xset; then
71666     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71667   $as_echo_n "(cached) " >&6
71668 else
71669
71670
71671       ac_ext=cpp
71672 ac_cpp='$CXXCPP $CPPFLAGS'
71673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71676
71677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71678 /* end confdefs.h.  */
71679 #include <math.h>
71680                       #ifdef HAVE_IEEEFP_H
71681                       #include <ieeefp.h>
71682                       #endif
71683
71684 int
71685 main ()
71686 {
71687  finite(0);
71688   ;
71689   return 0;
71690 }
71691 _ACEOF
71692 if ac_fn_cxx_try_compile "$LINENO"; then :
71693   glibcxx_cv_func_finite_use=yes
71694 else
71695   glibcxx_cv_func_finite_use=no
71696 fi
71697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71698       ac_ext=c
71699 ac_cpp='$CPP $CPPFLAGS'
71700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71703
71704
71705 fi
71706
71707   fi
71708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71709 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71710
71711   if test x$glibcxx_cv_func_finite_use = x"yes"; then
71712     for ac_func in finite
71713 do :
71714   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71715 if test "x$ac_cv_func_finite" = x""yes; then :
71716   cat >>confdefs.h <<_ACEOF
71717 #define HAVE_FINITE 1
71718 _ACEOF
71719
71720 fi
71721 done
71722
71723   else
71724
71725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71726 $as_echo_n "checking for _finite declaration... " >&6; }
71727   if test x${glibcxx_cv_func__finite_use+set} != xset; then
71728     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71729   $as_echo_n "(cached) " >&6
71730 else
71731
71732
71733       ac_ext=cpp
71734 ac_cpp='$CXXCPP $CPPFLAGS'
71735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71738
71739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71740 /* end confdefs.h.  */
71741 #include <math.h>
71742                       #ifdef HAVE_IEEEFP_H
71743                       #include <ieeefp.h>
71744                       #endif
71745
71746 int
71747 main ()
71748 {
71749  _finite(0);
71750   ;
71751   return 0;
71752 }
71753 _ACEOF
71754 if ac_fn_cxx_try_compile "$LINENO"; then :
71755   glibcxx_cv_func__finite_use=yes
71756 else
71757   glibcxx_cv_func__finite_use=no
71758 fi
71759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71760       ac_ext=c
71761 ac_cpp='$CPP $CPPFLAGS'
71762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71765
71766
71767 fi
71768
71769   fi
71770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71771 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71772
71773     if test x$glibcxx_cv_func__finite_use = x"yes"; then
71774       for ac_func in _finite
71775 do :
71776   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71777 if test "x$ac_cv_func__finite" = x""yes; then :
71778   cat >>confdefs.h <<_ACEOF
71779 #define HAVE__FINITE 1
71780 _ACEOF
71781
71782 fi
71783 done
71784
71785     fi
71786   fi
71787
71788
71789
71790
71791
71792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71793 $as_echo_n "checking for sincos declaration... " >&6; }
71794   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71795     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71796   $as_echo_n "(cached) " >&6
71797 else
71798
71799
71800       ac_ext=cpp
71801 ac_cpp='$CXXCPP $CPPFLAGS'
71802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71805
71806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71807 /* end confdefs.h.  */
71808 #include <math.h>
71809 int
71810 main ()
71811 {
71812  sincos(0, 0, 0);
71813   ;
71814   return 0;
71815 }
71816 _ACEOF
71817 if ac_fn_cxx_try_compile "$LINENO"; then :
71818   glibcxx_cv_func_sincos_use=yes
71819 else
71820   glibcxx_cv_func_sincos_use=no
71821 fi
71822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71823       ac_ext=c
71824 ac_cpp='$CPP $CPPFLAGS'
71825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71828
71829
71830 fi
71831
71832   fi
71833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71834 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71835
71836   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71837     for ac_func in sincos
71838 do :
71839   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71840 if test "x$ac_cv_func_sincos" = x""yes; then :
71841   cat >>confdefs.h <<_ACEOF
71842 #define HAVE_SINCOS 1
71843 _ACEOF
71844
71845 fi
71846 done
71847
71848   else
71849
71850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71851 $as_echo_n "checking for _sincos declaration... " >&6; }
71852   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71853     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71854   $as_echo_n "(cached) " >&6
71855 else
71856
71857
71858       ac_ext=cpp
71859 ac_cpp='$CXXCPP $CPPFLAGS'
71860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71863
71864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71865 /* end confdefs.h.  */
71866 #include <math.h>
71867 int
71868 main ()
71869 {
71870  _sincos(0, 0, 0);
71871   ;
71872   return 0;
71873 }
71874 _ACEOF
71875 if ac_fn_cxx_try_compile "$LINENO"; then :
71876   glibcxx_cv_func__sincos_use=yes
71877 else
71878   glibcxx_cv_func__sincos_use=no
71879 fi
71880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71881       ac_ext=c
71882 ac_cpp='$CPP $CPPFLAGS'
71883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71886
71887
71888 fi
71889
71890   fi
71891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71892 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71893
71894     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71895       for ac_func in _sincos
71896 do :
71897   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71898 if test "x$ac_cv_func__sincos" = x""yes; then :
71899   cat >>confdefs.h <<_ACEOF
71900 #define HAVE__SINCOS 1
71901 _ACEOF
71902
71903 fi
71904 done
71905
71906     fi
71907   fi
71908
71909
71910
71911
71912
71913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71914 $as_echo_n "checking for fpclass declaration... " >&6; }
71915   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71916     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71917   $as_echo_n "(cached) " >&6
71918 else
71919
71920
71921       ac_ext=cpp
71922 ac_cpp='$CXXCPP $CPPFLAGS'
71923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71926
71927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71928 /* end confdefs.h.  */
71929 #include <math.h>
71930                       #ifdef HAVE_IEEEFP_H
71931                       #include <ieeefp.h>
71932                       #endif
71933
71934 int
71935 main ()
71936 {
71937  fpclass(0);
71938   ;
71939   return 0;
71940 }
71941 _ACEOF
71942 if ac_fn_cxx_try_compile "$LINENO"; then :
71943   glibcxx_cv_func_fpclass_use=yes
71944 else
71945   glibcxx_cv_func_fpclass_use=no
71946 fi
71947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71948       ac_ext=c
71949 ac_cpp='$CPP $CPPFLAGS'
71950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71953
71954
71955 fi
71956
71957   fi
71958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71959 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71960
71961   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71962     for ac_func in fpclass
71963 do :
71964   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71965 if test "x$ac_cv_func_fpclass" = x""yes; then :
71966   cat >>confdefs.h <<_ACEOF
71967 #define HAVE_FPCLASS 1
71968 _ACEOF
71969
71970 fi
71971 done
71972
71973   else
71974
71975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71976 $as_echo_n "checking for _fpclass declaration... " >&6; }
71977   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71978     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71979   $as_echo_n "(cached) " >&6
71980 else
71981
71982
71983       ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71988
71989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h.  */
71991 #include <math.h>
71992                       #ifdef HAVE_IEEEFP_H
71993                       #include <ieeefp.h>
71994                       #endif
71995
71996 int
71997 main ()
71998 {
71999  _fpclass(0);
72000   ;
72001   return 0;
72002 }
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005   glibcxx_cv_func__fpclass_use=yes
72006 else
72007   glibcxx_cv_func__fpclass_use=no
72008 fi
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010       ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72015
72016
72017 fi
72018
72019   fi
72020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72021 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72022
72023     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72024       for ac_func in _fpclass
72025 do :
72026   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72027 if test "x$ac_cv_func__fpclass" = x""yes; then :
72028   cat >>confdefs.h <<_ACEOF
72029 #define HAVE__FPCLASS 1
72030 _ACEOF
72031
72032 fi
72033 done
72034
72035     fi
72036   fi
72037
72038
72039
72040
72041
72042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72043 $as_echo_n "checking for qfpclass declaration... " >&6; }
72044   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72045     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72046   $as_echo_n "(cached) " >&6
72047 else
72048
72049
72050       ac_ext=cpp
72051 ac_cpp='$CXXCPP $CPPFLAGS'
72052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72055
72056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72057 /* end confdefs.h.  */
72058 #include <math.h>
72059                       #ifdef HAVE_IEEEFP_H
72060                       #include <ieeefp.h>
72061                       #endif
72062
72063 int
72064 main ()
72065 {
72066  qfpclass(0);
72067   ;
72068   return 0;
72069 }
72070 _ACEOF
72071 if ac_fn_cxx_try_compile "$LINENO"; then :
72072   glibcxx_cv_func_qfpclass_use=yes
72073 else
72074   glibcxx_cv_func_qfpclass_use=no
72075 fi
72076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72077       ac_ext=c
72078 ac_cpp='$CPP $CPPFLAGS'
72079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72082
72083
72084 fi
72085
72086   fi
72087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72088 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72089
72090   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72091     for ac_func in qfpclass
72092 do :
72093   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72094 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72095   cat >>confdefs.h <<_ACEOF
72096 #define HAVE_QFPCLASS 1
72097 _ACEOF
72098
72099 fi
72100 done
72101
72102   else
72103
72104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72105 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72106   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72107     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72108   $as_echo_n "(cached) " >&6
72109 else
72110
72111
72112       ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72117
72118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h.  */
72120 #include <math.h>
72121                       #ifdef HAVE_IEEEFP_H
72122                       #include <ieeefp.h>
72123                       #endif
72124
72125 int
72126 main ()
72127 {
72128  _qfpclass(0);
72129   ;
72130   return 0;
72131 }
72132 _ACEOF
72133 if ac_fn_cxx_try_compile "$LINENO"; then :
72134   glibcxx_cv_func__qfpclass_use=yes
72135 else
72136   glibcxx_cv_func__qfpclass_use=no
72137 fi
72138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139       ac_ext=c
72140 ac_cpp='$CPP $CPPFLAGS'
72141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72144
72145
72146 fi
72147
72148   fi
72149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72150 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72151
72152     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72153       for ac_func in _qfpclass
72154 do :
72155   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72156 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72157   cat >>confdefs.h <<_ACEOF
72158 #define HAVE__QFPCLASS 1
72159 _ACEOF
72160
72161 fi
72162 done
72163
72164     fi
72165   fi
72166
72167
72168
72169
72170
72171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72172 $as_echo_n "checking for hypot declaration... " >&6; }
72173   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72174     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72175   $as_echo_n "(cached) " >&6
72176 else
72177
72178
72179       ac_ext=cpp
72180 ac_cpp='$CXXCPP $CPPFLAGS'
72181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72184
72185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72186 /* end confdefs.h.  */
72187 #include <math.h>
72188 int
72189 main ()
72190 {
72191  hypot(0, 0);
72192   ;
72193   return 0;
72194 }
72195 _ACEOF
72196 if ac_fn_cxx_try_compile "$LINENO"; then :
72197   glibcxx_cv_func_hypot_use=yes
72198 else
72199   glibcxx_cv_func_hypot_use=no
72200 fi
72201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72202       ac_ext=c
72203 ac_cpp='$CPP $CPPFLAGS'
72204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72207
72208
72209 fi
72210
72211   fi
72212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72213 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72214
72215   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72216     for ac_func in hypot
72217 do :
72218   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72219 if test "x$ac_cv_func_hypot" = x""yes; then :
72220   cat >>confdefs.h <<_ACEOF
72221 #define HAVE_HYPOT 1
72222 _ACEOF
72223
72224 fi
72225 done
72226
72227   else
72228
72229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72230 $as_echo_n "checking for _hypot declaration... " >&6; }
72231   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72232     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72233   $as_echo_n "(cached) " >&6
72234 else
72235
72236
72237       ac_ext=cpp
72238 ac_cpp='$CXXCPP $CPPFLAGS'
72239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72242
72243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72244 /* end confdefs.h.  */
72245 #include <math.h>
72246 int
72247 main ()
72248 {
72249  _hypot(0, 0);
72250   ;
72251   return 0;
72252 }
72253 _ACEOF
72254 if ac_fn_cxx_try_compile "$LINENO"; then :
72255   glibcxx_cv_func__hypot_use=yes
72256 else
72257   glibcxx_cv_func__hypot_use=no
72258 fi
72259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72260       ac_ext=c
72261 ac_cpp='$CPP $CPPFLAGS'
72262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72265
72266
72267 fi
72268
72269   fi
72270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72271 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72272
72273     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72274       for ac_func in _hypot
72275 do :
72276   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72277 if test "x$ac_cv_func__hypot" = x""yes; then :
72278   cat >>confdefs.h <<_ACEOF
72279 #define HAVE__HYPOT 1
72280 _ACEOF
72281
72282 fi
72283 done
72284
72285     fi
72286   fi
72287
72288
72289
72290
72291
72292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72293 $as_echo_n "checking for float trig functions... " >&6; }
72294   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72295   $as_echo_n "(cached) " >&6
72296 else
72297
72298
72299     ac_ext=cpp
72300 ac_cpp='$CXXCPP $CPPFLAGS'
72301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72304
72305     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72306 /* end confdefs.h.  */
72307 #include <math.h>
72308 int
72309 main ()
72310 {
72311 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72312   ;
72313   return 0;
72314 }
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317   glibcxx_cv_func_float_trig_use=yes
72318 else
72319   glibcxx_cv_func_float_trig_use=no
72320 fi
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322     ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327
72328 fi
72329
72330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72331 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72332   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72333     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72334 do :
72335   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72337 eval as_val=\$$as_ac_var
72338    if test "x$as_val" = x""yes; then :
72339   cat >>confdefs.h <<_ACEOF
72340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72341 _ACEOF
72342
72343 fi
72344 done
72345
72346   else
72347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72348 $as_echo_n "checking for _float trig functions... " >&6; }
72349     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72350   $as_echo_n "(cached) " >&6
72351 else
72352
72353
72354       ac_ext=cpp
72355 ac_cpp='$CXXCPP $CPPFLAGS'
72356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72359
72360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72361 /* end confdefs.h.  */
72362 #include <math.h>
72363 int
72364 main ()
72365 {
72366 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72367   ;
72368   return 0;
72369 }
72370 _ACEOF
72371 if ac_fn_cxx_try_compile "$LINENO"; then :
72372   glibcxx_cv_func__float_trig_use=yes
72373 else
72374   glibcxx_cv_func__float_trig_use=no
72375 fi
72376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72377       ac_ext=c
72378 ac_cpp='$CPP $CPPFLAGS'
72379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72382
72383 fi
72384
72385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72386 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72387     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72388       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72389 do :
72390   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72392 eval as_val=\$$as_ac_var
72393    if test "x$as_val" = x""yes; then :
72394   cat >>confdefs.h <<_ACEOF
72395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72396 _ACEOF
72397
72398 fi
72399 done
72400
72401     fi
72402   fi
72403
72404
72405
72406
72407
72408     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72409 $as_echo_n "checking for float round functions... " >&6; }
72410   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72411   $as_echo_n "(cached) " >&6
72412 else
72413
72414
72415     ac_ext=cpp
72416 ac_cpp='$CXXCPP $CPPFLAGS'
72417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72420
72421     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72422 /* end confdefs.h.  */
72423 #include <math.h>
72424 int
72425 main ()
72426 {
72427 ceilf (0); floorf (0);
72428   ;
72429   return 0;
72430 }
72431 _ACEOF
72432 if ac_fn_cxx_try_compile "$LINENO"; then :
72433   glibcxx_cv_func_float_round_use=yes
72434 else
72435   glibcxx_cv_func_float_round_use=no
72436 fi
72437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72438     ac_ext=c
72439 ac_cpp='$CPP $CPPFLAGS'
72440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72443
72444 fi
72445
72446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72447 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72448   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72449     for ac_func in ceilf floorf
72450 do :
72451   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72453 eval as_val=\$$as_ac_var
72454    if test "x$as_val" = x""yes; then :
72455   cat >>confdefs.h <<_ACEOF
72456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72457 _ACEOF
72458
72459 fi
72460 done
72461
72462   else
72463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72464 $as_echo_n "checking for _float round functions... " >&6; }
72465     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72466   $as_echo_n "(cached) " >&6
72467 else
72468
72469
72470       ac_ext=cpp
72471 ac_cpp='$CXXCPP $CPPFLAGS'
72472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72475
72476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72477 /* end confdefs.h.  */
72478 #include <math.h>
72479 int
72480 main ()
72481 {
72482 _ceilf (0); _floorf (0);
72483   ;
72484   return 0;
72485 }
72486 _ACEOF
72487 if ac_fn_cxx_try_compile "$LINENO"; then :
72488   glibcxx_cv_func__float_round_use=yes
72489 else
72490   glibcxx_cv_func__float_round_use=no
72491 fi
72492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72493       ac_ext=c
72494 ac_cpp='$CPP $CPPFLAGS'
72495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72498
72499 fi
72500
72501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72502 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72503     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72504       for ac_func in _ceilf _floorf
72505 do :
72506   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72508 eval as_val=\$$as_ac_var
72509    if test "x$as_val" = x""yes; then :
72510   cat >>confdefs.h <<_ACEOF
72511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72512 _ACEOF
72513
72514 fi
72515 done
72516
72517     fi
72518   fi
72519
72520
72521
72522
72523
72524
72525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72526 $as_echo_n "checking for expf declaration... " >&6; }
72527   if test x${glibcxx_cv_func_expf_use+set} != xset; then
72528     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72529   $as_echo_n "(cached) " >&6
72530 else
72531
72532
72533       ac_ext=cpp
72534 ac_cpp='$CXXCPP $CPPFLAGS'
72535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72538
72539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72540 /* end confdefs.h.  */
72541 #include <math.h>
72542                       #ifdef HAVE_IEEEFP_H
72543                       #include <ieeefp.h>
72544                       #endif
72545
72546 int
72547 main ()
72548 {
72549  expf(0);
72550   ;
72551   return 0;
72552 }
72553 _ACEOF
72554 if ac_fn_cxx_try_compile "$LINENO"; then :
72555   glibcxx_cv_func_expf_use=yes
72556 else
72557   glibcxx_cv_func_expf_use=no
72558 fi
72559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72560       ac_ext=c
72561 ac_cpp='$CPP $CPPFLAGS'
72562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72565
72566
72567 fi
72568
72569   fi
72570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72571 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72572
72573   if test x$glibcxx_cv_func_expf_use = x"yes"; then
72574     for ac_func in expf
72575 do :
72576   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72577 if test "x$ac_cv_func_expf" = x""yes; then :
72578   cat >>confdefs.h <<_ACEOF
72579 #define HAVE_EXPF 1
72580 _ACEOF
72581
72582 fi
72583 done
72584
72585   else
72586
72587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72588 $as_echo_n "checking for _expf declaration... " >&6; }
72589   if test x${glibcxx_cv_func__expf_use+set} != xset; then
72590     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72591   $as_echo_n "(cached) " >&6
72592 else
72593
72594
72595       ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72600
72601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h.  */
72603 #include <math.h>
72604                       #ifdef HAVE_IEEEFP_H
72605                       #include <ieeefp.h>
72606                       #endif
72607
72608 int
72609 main ()
72610 {
72611  _expf(0);
72612   ;
72613   return 0;
72614 }
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617   glibcxx_cv_func__expf_use=yes
72618 else
72619   glibcxx_cv_func__expf_use=no
72620 fi
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622       ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72627
72628
72629 fi
72630
72631   fi
72632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72633 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72634
72635     if test x$glibcxx_cv_func__expf_use = x"yes"; then
72636       for ac_func in _expf
72637 do :
72638   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72639 if test "x$ac_cv_func__expf" = x""yes; then :
72640   cat >>confdefs.h <<_ACEOF
72641 #define HAVE__EXPF 1
72642 _ACEOF
72643
72644 fi
72645 done
72646
72647     fi
72648   fi
72649
72650
72651
72652
72653
72654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72655 $as_echo_n "checking for isnanf declaration... " >&6; }
72656   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72657     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72658   $as_echo_n "(cached) " >&6
72659 else
72660
72661
72662       ac_ext=cpp
72663 ac_cpp='$CXXCPP $CPPFLAGS'
72664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72667
72668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72669 /* end confdefs.h.  */
72670 #include <math.h>
72671                       #ifdef HAVE_IEEEFP_H
72672                       #include <ieeefp.h>
72673                       #endif
72674
72675 int
72676 main ()
72677 {
72678  isnanf(0);
72679   ;
72680   return 0;
72681 }
72682 _ACEOF
72683 if ac_fn_cxx_try_compile "$LINENO"; then :
72684   glibcxx_cv_func_isnanf_use=yes
72685 else
72686   glibcxx_cv_func_isnanf_use=no
72687 fi
72688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72689       ac_ext=c
72690 ac_cpp='$CPP $CPPFLAGS'
72691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72694
72695
72696 fi
72697
72698   fi
72699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72700 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72701
72702   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72703     for ac_func in isnanf
72704 do :
72705   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72706 if test "x$ac_cv_func_isnanf" = x""yes; then :
72707   cat >>confdefs.h <<_ACEOF
72708 #define HAVE_ISNANF 1
72709 _ACEOF
72710
72711 fi
72712 done
72713
72714   else
72715
72716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72717 $as_echo_n "checking for _isnanf declaration... " >&6; }
72718   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72719     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72720   $as_echo_n "(cached) " >&6
72721 else
72722
72723
72724       ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72729
72730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h.  */
72732 #include <math.h>
72733                       #ifdef HAVE_IEEEFP_H
72734                       #include <ieeefp.h>
72735                       #endif
72736
72737 int
72738 main ()
72739 {
72740  _isnanf(0);
72741   ;
72742   return 0;
72743 }
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746   glibcxx_cv_func__isnanf_use=yes
72747 else
72748   glibcxx_cv_func__isnanf_use=no
72749 fi
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751       ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72756
72757
72758 fi
72759
72760   fi
72761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72762 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72763
72764     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72765       for ac_func in _isnanf
72766 do :
72767   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72768 if test "x$ac_cv_func__isnanf" = x""yes; then :
72769   cat >>confdefs.h <<_ACEOF
72770 #define HAVE__ISNANF 1
72771 _ACEOF
72772
72773 fi
72774 done
72775
72776     fi
72777   fi
72778
72779
72780
72781
72782
72783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72784 $as_echo_n "checking for isinff declaration... " >&6; }
72785   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72786     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72787   $as_echo_n "(cached) " >&6
72788 else
72789
72790
72791       ac_ext=cpp
72792 ac_cpp='$CXXCPP $CPPFLAGS'
72793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72796
72797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72798 /* end confdefs.h.  */
72799 #include <math.h>
72800                       #ifdef HAVE_IEEEFP_H
72801                       #include <ieeefp.h>
72802                       #endif
72803
72804 int
72805 main ()
72806 {
72807  isinff(0);
72808   ;
72809   return 0;
72810 }
72811 _ACEOF
72812 if ac_fn_cxx_try_compile "$LINENO"; then :
72813   glibcxx_cv_func_isinff_use=yes
72814 else
72815   glibcxx_cv_func_isinff_use=no
72816 fi
72817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72818       ac_ext=c
72819 ac_cpp='$CPP $CPPFLAGS'
72820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72823
72824
72825 fi
72826
72827   fi
72828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72829 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72830
72831   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72832     for ac_func in isinff
72833 do :
72834   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72835 if test "x$ac_cv_func_isinff" = x""yes; then :
72836   cat >>confdefs.h <<_ACEOF
72837 #define HAVE_ISINFF 1
72838 _ACEOF
72839
72840 fi
72841 done
72842
72843   else
72844
72845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72846 $as_echo_n "checking for _isinff declaration... " >&6; }
72847   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72848     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72849   $as_echo_n "(cached) " >&6
72850 else
72851
72852
72853       ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72858
72859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h.  */
72861 #include <math.h>
72862                       #ifdef HAVE_IEEEFP_H
72863                       #include <ieeefp.h>
72864                       #endif
72865
72866 int
72867 main ()
72868 {
72869  _isinff(0);
72870   ;
72871   return 0;
72872 }
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875   glibcxx_cv_func__isinff_use=yes
72876 else
72877   glibcxx_cv_func__isinff_use=no
72878 fi
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880       ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72885
72886
72887 fi
72888
72889   fi
72890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72891 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72892
72893     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72894       for ac_func in _isinff
72895 do :
72896   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72897 if test "x$ac_cv_func__isinff" = x""yes; then :
72898   cat >>confdefs.h <<_ACEOF
72899 #define HAVE__ISINFF 1
72900 _ACEOF
72901
72902 fi
72903 done
72904
72905     fi
72906   fi
72907
72908
72909
72910
72911
72912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72913 $as_echo_n "checking for atan2f declaration... " >&6; }
72914   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72915     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72916   $as_echo_n "(cached) " >&6
72917 else
72918
72919
72920       ac_ext=cpp
72921 ac_cpp='$CXXCPP $CPPFLAGS'
72922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72925
72926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72927 /* end confdefs.h.  */
72928 #include <math.h>
72929 int
72930 main ()
72931 {
72932  atan2f(0, 0);
72933   ;
72934   return 0;
72935 }
72936 _ACEOF
72937 if ac_fn_cxx_try_compile "$LINENO"; then :
72938   glibcxx_cv_func_atan2f_use=yes
72939 else
72940   glibcxx_cv_func_atan2f_use=no
72941 fi
72942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72943       ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72948
72949
72950 fi
72951
72952   fi
72953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72954 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72955
72956   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72957     for ac_func in atan2f
72958 do :
72959   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72960 if test "x$ac_cv_func_atan2f" = x""yes; then :
72961   cat >>confdefs.h <<_ACEOF
72962 #define HAVE_ATAN2F 1
72963 _ACEOF
72964
72965 fi
72966 done
72967
72968   else
72969
72970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72971 $as_echo_n "checking for _atan2f declaration... " >&6; }
72972   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72973     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72974   $as_echo_n "(cached) " >&6
72975 else
72976
72977
72978       ac_ext=cpp
72979 ac_cpp='$CXXCPP $CPPFLAGS'
72980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72983
72984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72985 /* end confdefs.h.  */
72986 #include <math.h>
72987 int
72988 main ()
72989 {
72990  _atan2f(0, 0);
72991   ;
72992   return 0;
72993 }
72994 _ACEOF
72995 if ac_fn_cxx_try_compile "$LINENO"; then :
72996   glibcxx_cv_func__atan2f_use=yes
72997 else
72998   glibcxx_cv_func__atan2f_use=no
72999 fi
73000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73001       ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73006
73007
73008 fi
73009
73010   fi
73011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73012 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73013
73014     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73015       for ac_func in _atan2f
73016 do :
73017   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73018 if test "x$ac_cv_func__atan2f" = x""yes; then :
73019   cat >>confdefs.h <<_ACEOF
73020 #define HAVE__ATAN2F 1
73021 _ACEOF
73022
73023 fi
73024 done
73025
73026     fi
73027   fi
73028
73029
73030
73031
73032
73033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73034 $as_echo_n "checking for fabsf declaration... " >&6; }
73035   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73036     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73037   $as_echo_n "(cached) " >&6
73038 else
73039
73040
73041       ac_ext=cpp
73042 ac_cpp='$CXXCPP $CPPFLAGS'
73043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73046
73047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73048 /* end confdefs.h.  */
73049 #include <math.h>
73050                       #ifdef HAVE_IEEEFP_H
73051                       #include <ieeefp.h>
73052                       #endif
73053
73054 int
73055 main ()
73056 {
73057  fabsf(0);
73058   ;
73059   return 0;
73060 }
73061 _ACEOF
73062 if ac_fn_cxx_try_compile "$LINENO"; then :
73063   glibcxx_cv_func_fabsf_use=yes
73064 else
73065   glibcxx_cv_func_fabsf_use=no
73066 fi
73067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73068       ac_ext=c
73069 ac_cpp='$CPP $CPPFLAGS'
73070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73073
73074
73075 fi
73076
73077   fi
73078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73079 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73080
73081   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73082     for ac_func in fabsf
73083 do :
73084   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73085 if test "x$ac_cv_func_fabsf" = x""yes; then :
73086   cat >>confdefs.h <<_ACEOF
73087 #define HAVE_FABSF 1
73088 _ACEOF
73089
73090 fi
73091 done
73092
73093   else
73094
73095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73096 $as_echo_n "checking for _fabsf declaration... " >&6; }
73097   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73098     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73099   $as_echo_n "(cached) " >&6
73100 else
73101
73102
73103       ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73108
73109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h.  */
73111 #include <math.h>
73112                       #ifdef HAVE_IEEEFP_H
73113                       #include <ieeefp.h>
73114                       #endif
73115
73116 int
73117 main ()
73118 {
73119  _fabsf(0);
73120   ;
73121   return 0;
73122 }
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125   glibcxx_cv_func__fabsf_use=yes
73126 else
73127   glibcxx_cv_func__fabsf_use=no
73128 fi
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130       ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73135
73136
73137 fi
73138
73139   fi
73140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73141 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73142
73143     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73144       for ac_func in _fabsf
73145 do :
73146   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73147 if test "x$ac_cv_func__fabsf" = x""yes; then :
73148   cat >>confdefs.h <<_ACEOF
73149 #define HAVE__FABSF 1
73150 _ACEOF
73151
73152 fi
73153 done
73154
73155     fi
73156   fi
73157
73158
73159
73160
73161
73162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73163 $as_echo_n "checking for fmodf declaration... " >&6; }
73164   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73165     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73166   $as_echo_n "(cached) " >&6
73167 else
73168
73169
73170       ac_ext=cpp
73171 ac_cpp='$CXXCPP $CPPFLAGS'
73172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73175
73176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73177 /* end confdefs.h.  */
73178 #include <math.h>
73179 int
73180 main ()
73181 {
73182  fmodf(0, 0);
73183   ;
73184   return 0;
73185 }
73186 _ACEOF
73187 if ac_fn_cxx_try_compile "$LINENO"; then :
73188   glibcxx_cv_func_fmodf_use=yes
73189 else
73190   glibcxx_cv_func_fmodf_use=no
73191 fi
73192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73193       ac_ext=c
73194 ac_cpp='$CPP $CPPFLAGS'
73195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73198
73199
73200 fi
73201
73202   fi
73203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73204 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73205
73206   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73207     for ac_func in fmodf
73208 do :
73209   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73210 if test "x$ac_cv_func_fmodf" = x""yes; then :
73211   cat >>confdefs.h <<_ACEOF
73212 #define HAVE_FMODF 1
73213 _ACEOF
73214
73215 fi
73216 done
73217
73218   else
73219
73220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73221 $as_echo_n "checking for _fmodf declaration... " >&6; }
73222   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73223     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73224   $as_echo_n "(cached) " >&6
73225 else
73226
73227
73228       ac_ext=cpp
73229 ac_cpp='$CXXCPP $CPPFLAGS'
73230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73233
73234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73235 /* end confdefs.h.  */
73236 #include <math.h>
73237 int
73238 main ()
73239 {
73240  _fmodf(0, 0);
73241   ;
73242   return 0;
73243 }
73244 _ACEOF
73245 if ac_fn_cxx_try_compile "$LINENO"; then :
73246   glibcxx_cv_func__fmodf_use=yes
73247 else
73248   glibcxx_cv_func__fmodf_use=no
73249 fi
73250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73251       ac_ext=c
73252 ac_cpp='$CPP $CPPFLAGS'
73253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73256
73257
73258 fi
73259
73260   fi
73261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73262 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73263
73264     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73265       for ac_func in _fmodf
73266 do :
73267   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73268 if test "x$ac_cv_func__fmodf" = x""yes; then :
73269   cat >>confdefs.h <<_ACEOF
73270 #define HAVE__FMODF 1
73271 _ACEOF
73272
73273 fi
73274 done
73275
73276     fi
73277   fi
73278
73279
73280
73281
73282
73283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73284 $as_echo_n "checking for frexpf declaration... " >&6; }
73285   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73286     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73287   $as_echo_n "(cached) " >&6
73288 else
73289
73290
73291       ac_ext=cpp
73292 ac_cpp='$CXXCPP $CPPFLAGS'
73293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73296
73297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73298 /* end confdefs.h.  */
73299 #include <math.h>
73300 int
73301 main ()
73302 {
73303  frexpf(0, 0);
73304   ;
73305   return 0;
73306 }
73307 _ACEOF
73308 if ac_fn_cxx_try_compile "$LINENO"; then :
73309   glibcxx_cv_func_frexpf_use=yes
73310 else
73311   glibcxx_cv_func_frexpf_use=no
73312 fi
73313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73314       ac_ext=c
73315 ac_cpp='$CPP $CPPFLAGS'
73316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73319
73320
73321 fi
73322
73323   fi
73324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73325 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73326
73327   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73328     for ac_func in frexpf
73329 do :
73330   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73331 if test "x$ac_cv_func_frexpf" = x""yes; then :
73332   cat >>confdefs.h <<_ACEOF
73333 #define HAVE_FREXPF 1
73334 _ACEOF
73335
73336 fi
73337 done
73338
73339   else
73340
73341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73342 $as_echo_n "checking for _frexpf declaration... " >&6; }
73343   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73344     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73345   $as_echo_n "(cached) " >&6
73346 else
73347
73348
73349       ac_ext=cpp
73350 ac_cpp='$CXXCPP $CPPFLAGS'
73351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73354
73355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73356 /* end confdefs.h.  */
73357 #include <math.h>
73358 int
73359 main ()
73360 {
73361  _frexpf(0, 0);
73362   ;
73363   return 0;
73364 }
73365 _ACEOF
73366 if ac_fn_cxx_try_compile "$LINENO"; then :
73367   glibcxx_cv_func__frexpf_use=yes
73368 else
73369   glibcxx_cv_func__frexpf_use=no
73370 fi
73371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73372       ac_ext=c
73373 ac_cpp='$CPP $CPPFLAGS'
73374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73377
73378
73379 fi
73380
73381   fi
73382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73383 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73384
73385     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73386       for ac_func in _frexpf
73387 do :
73388   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73389 if test "x$ac_cv_func__frexpf" = x""yes; then :
73390   cat >>confdefs.h <<_ACEOF
73391 #define HAVE__FREXPF 1
73392 _ACEOF
73393
73394 fi
73395 done
73396
73397     fi
73398   fi
73399
73400
73401
73402
73403
73404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73405 $as_echo_n "checking for hypotf declaration... " >&6; }
73406   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73407     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73408   $as_echo_n "(cached) " >&6
73409 else
73410
73411
73412       ac_ext=cpp
73413 ac_cpp='$CXXCPP $CPPFLAGS'
73414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73417
73418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73419 /* end confdefs.h.  */
73420 #include <math.h>
73421 int
73422 main ()
73423 {
73424  hypotf(0, 0);
73425   ;
73426   return 0;
73427 }
73428 _ACEOF
73429 if ac_fn_cxx_try_compile "$LINENO"; then :
73430   glibcxx_cv_func_hypotf_use=yes
73431 else
73432   glibcxx_cv_func_hypotf_use=no
73433 fi
73434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73435       ac_ext=c
73436 ac_cpp='$CPP $CPPFLAGS'
73437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73440
73441
73442 fi
73443
73444   fi
73445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73446 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73447
73448   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73449     for ac_func in hypotf
73450 do :
73451   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73452 if test "x$ac_cv_func_hypotf" = x""yes; then :
73453   cat >>confdefs.h <<_ACEOF
73454 #define HAVE_HYPOTF 1
73455 _ACEOF
73456
73457 fi
73458 done
73459
73460   else
73461
73462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73463 $as_echo_n "checking for _hypotf declaration... " >&6; }
73464   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73465     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73466   $as_echo_n "(cached) " >&6
73467 else
73468
73469
73470       ac_ext=cpp
73471 ac_cpp='$CXXCPP $CPPFLAGS'
73472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73475
73476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73477 /* end confdefs.h.  */
73478 #include <math.h>
73479 int
73480 main ()
73481 {
73482  _hypotf(0, 0);
73483   ;
73484   return 0;
73485 }
73486 _ACEOF
73487 if ac_fn_cxx_try_compile "$LINENO"; then :
73488   glibcxx_cv_func__hypotf_use=yes
73489 else
73490   glibcxx_cv_func__hypotf_use=no
73491 fi
73492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73493       ac_ext=c
73494 ac_cpp='$CPP $CPPFLAGS'
73495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73498
73499
73500 fi
73501
73502   fi
73503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73504 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73505
73506     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73507       for ac_func in _hypotf
73508 do :
73509   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73510 if test "x$ac_cv_func__hypotf" = x""yes; then :
73511   cat >>confdefs.h <<_ACEOF
73512 #define HAVE__HYPOTF 1
73513 _ACEOF
73514
73515 fi
73516 done
73517
73518     fi
73519   fi
73520
73521
73522
73523
73524
73525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73526 $as_echo_n "checking for ldexpf declaration... " >&6; }
73527   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73528     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73529   $as_echo_n "(cached) " >&6
73530 else
73531
73532
73533       ac_ext=cpp
73534 ac_cpp='$CXXCPP $CPPFLAGS'
73535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73538
73539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73540 /* end confdefs.h.  */
73541 #include <math.h>
73542 int
73543 main ()
73544 {
73545  ldexpf(0, 0);
73546   ;
73547   return 0;
73548 }
73549 _ACEOF
73550 if ac_fn_cxx_try_compile "$LINENO"; then :
73551   glibcxx_cv_func_ldexpf_use=yes
73552 else
73553   glibcxx_cv_func_ldexpf_use=no
73554 fi
73555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73556       ac_ext=c
73557 ac_cpp='$CPP $CPPFLAGS'
73558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73561
73562
73563 fi
73564
73565   fi
73566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73567 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73568
73569   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73570     for ac_func in ldexpf
73571 do :
73572   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73573 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73574   cat >>confdefs.h <<_ACEOF
73575 #define HAVE_LDEXPF 1
73576 _ACEOF
73577
73578 fi
73579 done
73580
73581   else
73582
73583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73584 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73585   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73586     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73587   $as_echo_n "(cached) " >&6
73588 else
73589
73590
73591       ac_ext=cpp
73592 ac_cpp='$CXXCPP $CPPFLAGS'
73593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73596
73597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73598 /* end confdefs.h.  */
73599 #include <math.h>
73600 int
73601 main ()
73602 {
73603  _ldexpf(0, 0);
73604   ;
73605   return 0;
73606 }
73607 _ACEOF
73608 if ac_fn_cxx_try_compile "$LINENO"; then :
73609   glibcxx_cv_func__ldexpf_use=yes
73610 else
73611   glibcxx_cv_func__ldexpf_use=no
73612 fi
73613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73614       ac_ext=c
73615 ac_cpp='$CPP $CPPFLAGS'
73616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73619
73620
73621 fi
73622
73623   fi
73624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73625 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73626
73627     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73628       for ac_func in _ldexpf
73629 do :
73630   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73631 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73632   cat >>confdefs.h <<_ACEOF
73633 #define HAVE__LDEXPF 1
73634 _ACEOF
73635
73636 fi
73637 done
73638
73639     fi
73640   fi
73641
73642
73643
73644
73645
73646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73647 $as_echo_n "checking for logf declaration... " >&6; }
73648   if test x${glibcxx_cv_func_logf_use+set} != xset; then
73649     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73650   $as_echo_n "(cached) " >&6
73651 else
73652
73653
73654       ac_ext=cpp
73655 ac_cpp='$CXXCPP $CPPFLAGS'
73656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73659
73660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73661 /* end confdefs.h.  */
73662 #include <math.h>
73663                       #ifdef HAVE_IEEEFP_H
73664                       #include <ieeefp.h>
73665                       #endif
73666
73667 int
73668 main ()
73669 {
73670  logf(0);
73671   ;
73672   return 0;
73673 }
73674 _ACEOF
73675 if ac_fn_cxx_try_compile "$LINENO"; then :
73676   glibcxx_cv_func_logf_use=yes
73677 else
73678   glibcxx_cv_func_logf_use=no
73679 fi
73680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73681       ac_ext=c
73682 ac_cpp='$CPP $CPPFLAGS'
73683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73686
73687
73688 fi
73689
73690   fi
73691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73692 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73693
73694   if test x$glibcxx_cv_func_logf_use = x"yes"; then
73695     for ac_func in logf
73696 do :
73697   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73698 if test "x$ac_cv_func_logf" = x""yes; then :
73699   cat >>confdefs.h <<_ACEOF
73700 #define HAVE_LOGF 1
73701 _ACEOF
73702
73703 fi
73704 done
73705
73706   else
73707
73708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73709 $as_echo_n "checking for _logf declaration... " >&6; }
73710   if test x${glibcxx_cv_func__logf_use+set} != xset; then
73711     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73712   $as_echo_n "(cached) " >&6
73713 else
73714
73715
73716       ac_ext=cpp
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73721
73722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73723 /* end confdefs.h.  */
73724 #include <math.h>
73725                       #ifdef HAVE_IEEEFP_H
73726                       #include <ieeefp.h>
73727                       #endif
73728
73729 int
73730 main ()
73731 {
73732  _logf(0);
73733   ;
73734   return 0;
73735 }
73736 _ACEOF
73737 if ac_fn_cxx_try_compile "$LINENO"; then :
73738   glibcxx_cv_func__logf_use=yes
73739 else
73740   glibcxx_cv_func__logf_use=no
73741 fi
73742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73743       ac_ext=c
73744 ac_cpp='$CPP $CPPFLAGS'
73745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73748
73749
73750 fi
73751
73752   fi
73753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73754 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73755
73756     if test x$glibcxx_cv_func__logf_use = x"yes"; then
73757       for ac_func in _logf
73758 do :
73759   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73760 if test "x$ac_cv_func__logf" = x""yes; then :
73761   cat >>confdefs.h <<_ACEOF
73762 #define HAVE__LOGF 1
73763 _ACEOF
73764
73765 fi
73766 done
73767
73768     fi
73769   fi
73770
73771
73772
73773
73774
73775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73776 $as_echo_n "checking for log10f declaration... " >&6; }
73777   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73778     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73779   $as_echo_n "(cached) " >&6
73780 else
73781
73782
73783       ac_ext=cpp
73784 ac_cpp='$CXXCPP $CPPFLAGS'
73785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73788
73789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73790 /* end confdefs.h.  */
73791 #include <math.h>
73792                       #ifdef HAVE_IEEEFP_H
73793                       #include <ieeefp.h>
73794                       #endif
73795
73796 int
73797 main ()
73798 {
73799  log10f(0);
73800   ;
73801   return 0;
73802 }
73803 _ACEOF
73804 if ac_fn_cxx_try_compile "$LINENO"; then :
73805   glibcxx_cv_func_log10f_use=yes
73806 else
73807   glibcxx_cv_func_log10f_use=no
73808 fi
73809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73810       ac_ext=c
73811 ac_cpp='$CPP $CPPFLAGS'
73812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73815
73816
73817 fi
73818
73819   fi
73820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73821 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73822
73823   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73824     for ac_func in log10f
73825 do :
73826   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73827 if test "x$ac_cv_func_log10f" = x""yes; then :
73828   cat >>confdefs.h <<_ACEOF
73829 #define HAVE_LOG10F 1
73830 _ACEOF
73831
73832 fi
73833 done
73834
73835   else
73836
73837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73838 $as_echo_n "checking for _log10f declaration... " >&6; }
73839   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73840     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73841   $as_echo_n "(cached) " >&6
73842 else
73843
73844
73845       ac_ext=cpp
73846 ac_cpp='$CXXCPP $CPPFLAGS'
73847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73850
73851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73852 /* end confdefs.h.  */
73853 #include <math.h>
73854                       #ifdef HAVE_IEEEFP_H
73855                       #include <ieeefp.h>
73856                       #endif
73857
73858 int
73859 main ()
73860 {
73861  _log10f(0);
73862   ;
73863   return 0;
73864 }
73865 _ACEOF
73866 if ac_fn_cxx_try_compile "$LINENO"; then :
73867   glibcxx_cv_func__log10f_use=yes
73868 else
73869   glibcxx_cv_func__log10f_use=no
73870 fi
73871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872       ac_ext=c
73873 ac_cpp='$CPP $CPPFLAGS'
73874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73877
73878
73879 fi
73880
73881   fi
73882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73883 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73884
73885     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73886       for ac_func in _log10f
73887 do :
73888   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73889 if test "x$ac_cv_func__log10f" = x""yes; then :
73890   cat >>confdefs.h <<_ACEOF
73891 #define HAVE__LOG10F 1
73892 _ACEOF
73893
73894 fi
73895 done
73896
73897     fi
73898   fi
73899
73900
73901
73902
73903
73904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73905 $as_echo_n "checking for modff declaration... " >&6; }
73906   if test x${glibcxx_cv_func_modff_use+set} != xset; then
73907     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73908   $as_echo_n "(cached) " >&6
73909 else
73910
73911
73912       ac_ext=cpp
73913 ac_cpp='$CXXCPP $CPPFLAGS'
73914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73917
73918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73919 /* end confdefs.h.  */
73920 #include <math.h>
73921 int
73922 main ()
73923 {
73924  modff(0, 0);
73925   ;
73926   return 0;
73927 }
73928 _ACEOF
73929 if ac_fn_cxx_try_compile "$LINENO"; then :
73930   glibcxx_cv_func_modff_use=yes
73931 else
73932   glibcxx_cv_func_modff_use=no
73933 fi
73934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73935       ac_ext=c
73936 ac_cpp='$CPP $CPPFLAGS'
73937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73940
73941
73942 fi
73943
73944   fi
73945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73946 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73947
73948   if test x$glibcxx_cv_func_modff_use = x"yes"; then
73949     for ac_func in modff
73950 do :
73951   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73952 if test "x$ac_cv_func_modff" = x""yes; then :
73953   cat >>confdefs.h <<_ACEOF
73954 #define HAVE_MODFF 1
73955 _ACEOF
73956
73957 fi
73958 done
73959
73960   else
73961
73962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73963 $as_echo_n "checking for _modff declaration... " >&6; }
73964   if test x${glibcxx_cv_func__modff_use+set} != xset; then
73965     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73966   $as_echo_n "(cached) " >&6
73967 else
73968
73969
73970       ac_ext=cpp
73971 ac_cpp='$CXXCPP $CPPFLAGS'
73972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73975
73976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73977 /* end confdefs.h.  */
73978 #include <math.h>
73979 int
73980 main ()
73981 {
73982  _modff(0, 0);
73983   ;
73984   return 0;
73985 }
73986 _ACEOF
73987 if ac_fn_cxx_try_compile "$LINENO"; then :
73988   glibcxx_cv_func__modff_use=yes
73989 else
73990   glibcxx_cv_func__modff_use=no
73991 fi
73992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73993       ac_ext=c
73994 ac_cpp='$CPP $CPPFLAGS'
73995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73998
73999
74000 fi
74001
74002   fi
74003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74004 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74005
74006     if test x$glibcxx_cv_func__modff_use = x"yes"; then
74007       for ac_func in _modff
74008 do :
74009   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74010 if test "x$ac_cv_func__modff" = x""yes; then :
74011   cat >>confdefs.h <<_ACEOF
74012 #define HAVE__MODFF 1
74013 _ACEOF
74014
74015 fi
74016 done
74017
74018     fi
74019   fi
74020
74021
74022
74023
74024
74025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74026 $as_echo_n "checking for modf declaration... " >&6; }
74027   if test x${glibcxx_cv_func_modf_use+set} != xset; then
74028     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74029   $as_echo_n "(cached) " >&6
74030 else
74031
74032
74033       ac_ext=cpp
74034 ac_cpp='$CXXCPP $CPPFLAGS'
74035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74038
74039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74040 /* end confdefs.h.  */
74041 #include <math.h>
74042 int
74043 main ()
74044 {
74045  modf(0, 0);
74046   ;
74047   return 0;
74048 }
74049 _ACEOF
74050 if ac_fn_cxx_try_compile "$LINENO"; then :
74051   glibcxx_cv_func_modf_use=yes
74052 else
74053   glibcxx_cv_func_modf_use=no
74054 fi
74055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74056       ac_ext=c
74057 ac_cpp='$CPP $CPPFLAGS'
74058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74061
74062
74063 fi
74064
74065   fi
74066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74067 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74068
74069   if test x$glibcxx_cv_func_modf_use = x"yes"; then
74070     for ac_func in modf
74071 do :
74072   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74073 if test "x$ac_cv_func_modf" = x""yes; then :
74074   cat >>confdefs.h <<_ACEOF
74075 #define HAVE_MODF 1
74076 _ACEOF
74077
74078 fi
74079 done
74080
74081   else
74082
74083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74084 $as_echo_n "checking for _modf declaration... " >&6; }
74085   if test x${glibcxx_cv_func__modf_use+set} != xset; then
74086     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74087   $as_echo_n "(cached) " >&6
74088 else
74089
74090
74091       ac_ext=cpp
74092 ac_cpp='$CXXCPP $CPPFLAGS'
74093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74096
74097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74098 /* end confdefs.h.  */
74099 #include <math.h>
74100 int
74101 main ()
74102 {
74103  _modf(0, 0);
74104   ;
74105   return 0;
74106 }
74107 _ACEOF
74108 if ac_fn_cxx_try_compile "$LINENO"; then :
74109   glibcxx_cv_func__modf_use=yes
74110 else
74111   glibcxx_cv_func__modf_use=no
74112 fi
74113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74114       ac_ext=c
74115 ac_cpp='$CPP $CPPFLAGS'
74116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74119
74120
74121 fi
74122
74123   fi
74124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74125 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74126
74127     if test x$glibcxx_cv_func__modf_use = x"yes"; then
74128       for ac_func in _modf
74129 do :
74130   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74131 if test "x$ac_cv_func__modf" = x""yes; then :
74132   cat >>confdefs.h <<_ACEOF
74133 #define HAVE__MODF 1
74134 _ACEOF
74135
74136 fi
74137 done
74138
74139     fi
74140   fi
74141
74142
74143
74144
74145
74146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74147 $as_echo_n "checking for powf declaration... " >&6; }
74148   if test x${glibcxx_cv_func_powf_use+set} != xset; then
74149     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74150   $as_echo_n "(cached) " >&6
74151 else
74152
74153
74154       ac_ext=cpp
74155 ac_cpp='$CXXCPP $CPPFLAGS'
74156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74159
74160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74161 /* end confdefs.h.  */
74162 #include <math.h>
74163 int
74164 main ()
74165 {
74166  powf(0, 0);
74167   ;
74168   return 0;
74169 }
74170 _ACEOF
74171 if ac_fn_cxx_try_compile "$LINENO"; then :
74172   glibcxx_cv_func_powf_use=yes
74173 else
74174   glibcxx_cv_func_powf_use=no
74175 fi
74176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74177       ac_ext=c
74178 ac_cpp='$CPP $CPPFLAGS'
74179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74182
74183
74184 fi
74185
74186   fi
74187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74188 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74189
74190   if test x$glibcxx_cv_func_powf_use = x"yes"; then
74191     for ac_func in powf
74192 do :
74193   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74194 if test "x$ac_cv_func_powf" = x""yes; then :
74195   cat >>confdefs.h <<_ACEOF
74196 #define HAVE_POWF 1
74197 _ACEOF
74198
74199 fi
74200 done
74201
74202   else
74203
74204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74205 $as_echo_n "checking for _powf declaration... " >&6; }
74206   if test x${glibcxx_cv_func__powf_use+set} != xset; then
74207     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74208   $as_echo_n "(cached) " >&6
74209 else
74210
74211
74212       ac_ext=cpp
74213 ac_cpp='$CXXCPP $CPPFLAGS'
74214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74217
74218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74219 /* end confdefs.h.  */
74220 #include <math.h>
74221 int
74222 main ()
74223 {
74224  _powf(0, 0);
74225   ;
74226   return 0;
74227 }
74228 _ACEOF
74229 if ac_fn_cxx_try_compile "$LINENO"; then :
74230   glibcxx_cv_func__powf_use=yes
74231 else
74232   glibcxx_cv_func__powf_use=no
74233 fi
74234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74235       ac_ext=c
74236 ac_cpp='$CPP $CPPFLAGS'
74237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74240
74241
74242 fi
74243
74244   fi
74245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74246 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74247
74248     if test x$glibcxx_cv_func__powf_use = x"yes"; then
74249       for ac_func in _powf
74250 do :
74251   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74252 if test "x$ac_cv_func__powf" = x""yes; then :
74253   cat >>confdefs.h <<_ACEOF
74254 #define HAVE__POWF 1
74255 _ACEOF
74256
74257 fi
74258 done
74259
74260     fi
74261   fi
74262
74263
74264
74265
74266
74267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74268 $as_echo_n "checking for sqrtf declaration... " >&6; }
74269   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74270     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74271   $as_echo_n "(cached) " >&6
74272 else
74273
74274
74275       ac_ext=cpp
74276 ac_cpp='$CXXCPP $CPPFLAGS'
74277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74280
74281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74282 /* end confdefs.h.  */
74283 #include <math.h>
74284                       #ifdef HAVE_IEEEFP_H
74285                       #include <ieeefp.h>
74286                       #endif
74287
74288 int
74289 main ()
74290 {
74291  sqrtf(0);
74292   ;
74293   return 0;
74294 }
74295 _ACEOF
74296 if ac_fn_cxx_try_compile "$LINENO"; then :
74297   glibcxx_cv_func_sqrtf_use=yes
74298 else
74299   glibcxx_cv_func_sqrtf_use=no
74300 fi
74301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74302       ac_ext=c
74303 ac_cpp='$CPP $CPPFLAGS'
74304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74307
74308
74309 fi
74310
74311   fi
74312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74313 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74314
74315   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74316     for ac_func in sqrtf
74317 do :
74318   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74319 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74320   cat >>confdefs.h <<_ACEOF
74321 #define HAVE_SQRTF 1
74322 _ACEOF
74323
74324 fi
74325 done
74326
74327   else
74328
74329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74330 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74331   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74332     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74333   $as_echo_n "(cached) " >&6
74334 else
74335
74336
74337       ac_ext=cpp
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74342
74343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74344 /* end confdefs.h.  */
74345 #include <math.h>
74346                       #ifdef HAVE_IEEEFP_H
74347                       #include <ieeefp.h>
74348                       #endif
74349
74350 int
74351 main ()
74352 {
74353  _sqrtf(0);
74354   ;
74355   return 0;
74356 }
74357 _ACEOF
74358 if ac_fn_cxx_try_compile "$LINENO"; then :
74359   glibcxx_cv_func__sqrtf_use=yes
74360 else
74361   glibcxx_cv_func__sqrtf_use=no
74362 fi
74363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74364       ac_ext=c
74365 ac_cpp='$CPP $CPPFLAGS'
74366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74369
74370
74371 fi
74372
74373   fi
74374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74375 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74376
74377     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74378       for ac_func in _sqrtf
74379 do :
74380   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74381 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74382   cat >>confdefs.h <<_ACEOF
74383 #define HAVE__SQRTF 1
74384 _ACEOF
74385
74386 fi
74387 done
74388
74389     fi
74390   fi
74391
74392
74393
74394
74395
74396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74397 $as_echo_n "checking for sincosf declaration... " >&6; }
74398   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74399     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74400   $as_echo_n "(cached) " >&6
74401 else
74402
74403
74404       ac_ext=cpp
74405 ac_cpp='$CXXCPP $CPPFLAGS'
74406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74409
74410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74411 /* end confdefs.h.  */
74412 #include <math.h>
74413 int
74414 main ()
74415 {
74416  sincosf(0, 0, 0);
74417   ;
74418   return 0;
74419 }
74420 _ACEOF
74421 if ac_fn_cxx_try_compile "$LINENO"; then :
74422   glibcxx_cv_func_sincosf_use=yes
74423 else
74424   glibcxx_cv_func_sincosf_use=no
74425 fi
74426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74427       ac_ext=c
74428 ac_cpp='$CPP $CPPFLAGS'
74429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74432
74433
74434 fi
74435
74436   fi
74437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74438 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74439
74440   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74441     for ac_func in sincosf
74442 do :
74443   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74444 if test "x$ac_cv_func_sincosf" = x""yes; then :
74445   cat >>confdefs.h <<_ACEOF
74446 #define HAVE_SINCOSF 1
74447 _ACEOF
74448
74449 fi
74450 done
74451
74452   else
74453
74454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74455 $as_echo_n "checking for _sincosf declaration... " >&6; }
74456   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74457     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74458   $as_echo_n "(cached) " >&6
74459 else
74460
74461
74462       ac_ext=cpp
74463 ac_cpp='$CXXCPP $CPPFLAGS'
74464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74467
74468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74469 /* end confdefs.h.  */
74470 #include <math.h>
74471 int
74472 main ()
74473 {
74474  _sincosf(0, 0, 0);
74475   ;
74476   return 0;
74477 }
74478 _ACEOF
74479 if ac_fn_cxx_try_compile "$LINENO"; then :
74480   glibcxx_cv_func__sincosf_use=yes
74481 else
74482   glibcxx_cv_func__sincosf_use=no
74483 fi
74484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74485       ac_ext=c
74486 ac_cpp='$CPP $CPPFLAGS'
74487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74490
74491
74492 fi
74493
74494   fi
74495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74496 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74497
74498     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74499       for ac_func in _sincosf
74500 do :
74501   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74502 if test "x$ac_cv_func__sincosf" = x""yes; then :
74503   cat >>confdefs.h <<_ACEOF
74504 #define HAVE__SINCOSF 1
74505 _ACEOF
74506
74507 fi
74508 done
74509
74510     fi
74511   fi
74512
74513
74514
74515
74516
74517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74518 $as_echo_n "checking for finitef declaration... " >&6; }
74519   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74520     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74521   $as_echo_n "(cached) " >&6
74522 else
74523
74524
74525       ac_ext=cpp
74526 ac_cpp='$CXXCPP $CPPFLAGS'
74527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74530
74531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74532 /* end confdefs.h.  */
74533 #include <math.h>
74534                       #ifdef HAVE_IEEEFP_H
74535                       #include <ieeefp.h>
74536                       #endif
74537
74538 int
74539 main ()
74540 {
74541  finitef(0);
74542   ;
74543   return 0;
74544 }
74545 _ACEOF
74546 if ac_fn_cxx_try_compile "$LINENO"; then :
74547   glibcxx_cv_func_finitef_use=yes
74548 else
74549   glibcxx_cv_func_finitef_use=no
74550 fi
74551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74552       ac_ext=c
74553 ac_cpp='$CPP $CPPFLAGS'
74554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74557
74558
74559 fi
74560
74561   fi
74562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74563 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74564
74565   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74566     for ac_func in finitef
74567 do :
74568   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74569 if test "x$ac_cv_func_finitef" = x""yes; then :
74570   cat >>confdefs.h <<_ACEOF
74571 #define HAVE_FINITEF 1
74572 _ACEOF
74573
74574 fi
74575 done
74576
74577   else
74578
74579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74580 $as_echo_n "checking for _finitef declaration... " >&6; }
74581   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74582     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74583   $as_echo_n "(cached) " >&6
74584 else
74585
74586
74587       ac_ext=cpp
74588 ac_cpp='$CXXCPP $CPPFLAGS'
74589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74592
74593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74594 /* end confdefs.h.  */
74595 #include <math.h>
74596                       #ifdef HAVE_IEEEFP_H
74597                       #include <ieeefp.h>
74598                       #endif
74599
74600 int
74601 main ()
74602 {
74603  _finitef(0);
74604   ;
74605   return 0;
74606 }
74607 _ACEOF
74608 if ac_fn_cxx_try_compile "$LINENO"; then :
74609   glibcxx_cv_func__finitef_use=yes
74610 else
74611   glibcxx_cv_func__finitef_use=no
74612 fi
74613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74614       ac_ext=c
74615 ac_cpp='$CPP $CPPFLAGS'
74616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74619
74620
74621 fi
74622
74623   fi
74624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74625 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74626
74627     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74628       for ac_func in _finitef
74629 do :
74630   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74631 if test "x$ac_cv_func__finitef" = x""yes; then :
74632   cat >>confdefs.h <<_ACEOF
74633 #define HAVE__FINITEF 1
74634 _ACEOF
74635
74636 fi
74637 done
74638
74639     fi
74640   fi
74641
74642
74643
74644
74645
74646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74647 $as_echo_n "checking for long double trig functions... " >&6; }
74648   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74649   $as_echo_n "(cached) " >&6
74650 else
74651
74652
74653     ac_ext=cpp
74654 ac_cpp='$CXXCPP $CPPFLAGS'
74655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74658
74659     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74660 /* end confdefs.h.  */
74661 #include <math.h>
74662 int
74663 main ()
74664 {
74665 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74666   ;
74667   return 0;
74668 }
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671   glibcxx_cv_func_long_double_trig_use=yes
74672 else
74673   glibcxx_cv_func_long_double_trig_use=no
74674 fi
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676     ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74681
74682 fi
74683
74684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74685 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74686   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74687     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74688 do :
74689   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74691 eval as_val=\$$as_ac_var
74692    if test "x$as_val" = x""yes; then :
74693   cat >>confdefs.h <<_ACEOF
74694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74695 _ACEOF
74696
74697 fi
74698 done
74699
74700   else
74701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74702 $as_echo_n "checking for _long double trig functions... " >&6; }
74703     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74704   $as_echo_n "(cached) " >&6
74705 else
74706
74707
74708       ac_ext=cpp
74709 ac_cpp='$CXXCPP $CPPFLAGS'
74710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74713
74714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74715 /* end confdefs.h.  */
74716 #include <math.h>
74717 int
74718 main ()
74719 {
74720 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74721   ;
74722   return 0;
74723 }
74724 _ACEOF
74725 if ac_fn_cxx_try_compile "$LINENO"; then :
74726   glibcxx_cv_func__long_double_trig_use=yes
74727 else
74728   glibcxx_cv_func__long_double_trig_use=no
74729 fi
74730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74731       ac_ext=c
74732 ac_cpp='$CPP $CPPFLAGS'
74733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74736
74737 fi
74738
74739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74740 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74741     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74742       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74743 do :
74744   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74746 eval as_val=\$$as_ac_var
74747    if test "x$as_val" = x""yes; then :
74748   cat >>confdefs.h <<_ACEOF
74749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74750 _ACEOF
74751
74752 fi
74753 done
74754
74755     fi
74756   fi
74757
74758
74759
74760
74761
74762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74763 $as_echo_n "checking for long double round functions... " >&6; }
74764   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74765   $as_echo_n "(cached) " >&6
74766 else
74767
74768
74769     ac_ext=cpp
74770 ac_cpp='$CXXCPP $CPPFLAGS'
74771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74774
74775     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74776 /* end confdefs.h.  */
74777 #include <math.h>
74778 int
74779 main ()
74780 {
74781 ceill (0); floorl (0);
74782   ;
74783   return 0;
74784 }
74785 _ACEOF
74786 if ac_fn_cxx_try_compile "$LINENO"; then :
74787   glibcxx_cv_func_long_double_round_use=yes
74788 else
74789   glibcxx_cv_func_long_double_round_use=no
74790 fi
74791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74792     ac_ext=c
74793 ac_cpp='$CPP $CPPFLAGS'
74794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74797
74798 fi
74799
74800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74801 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74802   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74803     for ac_func in ceill floorl
74804 do :
74805   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74807 eval as_val=\$$as_ac_var
74808    if test "x$as_val" = x""yes; then :
74809   cat >>confdefs.h <<_ACEOF
74810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74811 _ACEOF
74812
74813 fi
74814 done
74815
74816   else
74817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74818 $as_echo_n "checking for _long double round functions... " >&6; }
74819     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74820   $as_echo_n "(cached) " >&6
74821 else
74822
74823
74824       ac_ext=cpp
74825 ac_cpp='$CXXCPP $CPPFLAGS'
74826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74829
74830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74831 /* end confdefs.h.  */
74832 #include <math.h>
74833 int
74834 main ()
74835 {
74836 _ceill (0); _floorl (0);
74837   ;
74838   return 0;
74839 }
74840 _ACEOF
74841 if ac_fn_cxx_try_compile "$LINENO"; then :
74842   glibcxx_cv_func__long_double_round_use=yes
74843 else
74844   glibcxx_cv_func__long_double_round_use=no
74845 fi
74846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74847       ac_ext=c
74848 ac_cpp='$CPP $CPPFLAGS'
74849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74852
74853 fi
74854
74855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74856 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74857     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74858       for ac_func in _ceill _floorl
74859 do :
74860   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74861 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74862 eval as_val=\$$as_ac_var
74863    if test "x$as_val" = x""yes; then :
74864   cat >>confdefs.h <<_ACEOF
74865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74866 _ACEOF
74867
74868 fi
74869 done
74870
74871     fi
74872   fi
74873
74874
74875
74876
74877
74878
74879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74880 $as_echo_n "checking for isnanl declaration... " >&6; }
74881   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74882     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74883   $as_echo_n "(cached) " >&6
74884 else
74885
74886
74887       ac_ext=cpp
74888 ac_cpp='$CXXCPP $CPPFLAGS'
74889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74892
74893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74894 /* end confdefs.h.  */
74895 #include <math.h>
74896                       #ifdef HAVE_IEEEFP_H
74897                       #include <ieeefp.h>
74898                       #endif
74899
74900 int
74901 main ()
74902 {
74903  isnanl(0);
74904   ;
74905   return 0;
74906 }
74907 _ACEOF
74908 if ac_fn_cxx_try_compile "$LINENO"; then :
74909   glibcxx_cv_func_isnanl_use=yes
74910 else
74911   glibcxx_cv_func_isnanl_use=no
74912 fi
74913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74914       ac_ext=c
74915 ac_cpp='$CPP $CPPFLAGS'
74916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74919
74920
74921 fi
74922
74923   fi
74924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74925 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74926
74927   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74928     for ac_func in isnanl
74929 do :
74930   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74931 if test "x$ac_cv_func_isnanl" = x""yes; then :
74932   cat >>confdefs.h <<_ACEOF
74933 #define HAVE_ISNANL 1
74934 _ACEOF
74935
74936 fi
74937 done
74938
74939   else
74940
74941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74942 $as_echo_n "checking for _isnanl declaration... " >&6; }
74943   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74944     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74945   $as_echo_n "(cached) " >&6
74946 else
74947
74948
74949       ac_ext=cpp
74950 ac_cpp='$CXXCPP $CPPFLAGS'
74951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74954
74955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74956 /* end confdefs.h.  */
74957 #include <math.h>
74958                       #ifdef HAVE_IEEEFP_H
74959                       #include <ieeefp.h>
74960                       #endif
74961
74962 int
74963 main ()
74964 {
74965  _isnanl(0);
74966   ;
74967   return 0;
74968 }
74969 _ACEOF
74970 if ac_fn_cxx_try_compile "$LINENO"; then :
74971   glibcxx_cv_func__isnanl_use=yes
74972 else
74973   glibcxx_cv_func__isnanl_use=no
74974 fi
74975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74976       ac_ext=c
74977 ac_cpp='$CPP $CPPFLAGS'
74978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74981
74982
74983 fi
74984
74985   fi
74986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74987 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74988
74989     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74990       for ac_func in _isnanl
74991 do :
74992   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74993 if test "x$ac_cv_func__isnanl" = x""yes; then :
74994   cat >>confdefs.h <<_ACEOF
74995 #define HAVE__ISNANL 1
74996 _ACEOF
74997
74998 fi
74999 done
75000
75001     fi
75002   fi
75003
75004
75005
75006
75007
75008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75009 $as_echo_n "checking for isinfl declaration... " >&6; }
75010   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75011     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75012   $as_echo_n "(cached) " >&6
75013 else
75014
75015
75016       ac_ext=cpp
75017 ac_cpp='$CXXCPP $CPPFLAGS'
75018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75021
75022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75023 /* end confdefs.h.  */
75024 #include <math.h>
75025                       #ifdef HAVE_IEEEFP_H
75026                       #include <ieeefp.h>
75027                       #endif
75028
75029 int
75030 main ()
75031 {
75032  isinfl(0);
75033   ;
75034   return 0;
75035 }
75036 _ACEOF
75037 if ac_fn_cxx_try_compile "$LINENO"; then :
75038   glibcxx_cv_func_isinfl_use=yes
75039 else
75040   glibcxx_cv_func_isinfl_use=no
75041 fi
75042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75043       ac_ext=c
75044 ac_cpp='$CPP $CPPFLAGS'
75045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75048
75049
75050 fi
75051
75052   fi
75053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75054 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75055
75056   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75057     for ac_func in isinfl
75058 do :
75059   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75060 if test "x$ac_cv_func_isinfl" = x""yes; then :
75061   cat >>confdefs.h <<_ACEOF
75062 #define HAVE_ISINFL 1
75063 _ACEOF
75064
75065 fi
75066 done
75067
75068   else
75069
75070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75071 $as_echo_n "checking for _isinfl declaration... " >&6; }
75072   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75073     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75074   $as_echo_n "(cached) " >&6
75075 else
75076
75077
75078       ac_ext=cpp
75079 ac_cpp='$CXXCPP $CPPFLAGS'
75080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75083
75084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75085 /* end confdefs.h.  */
75086 #include <math.h>
75087                       #ifdef HAVE_IEEEFP_H
75088                       #include <ieeefp.h>
75089                       #endif
75090
75091 int
75092 main ()
75093 {
75094  _isinfl(0);
75095   ;
75096   return 0;
75097 }
75098 _ACEOF
75099 if ac_fn_cxx_try_compile "$LINENO"; then :
75100   glibcxx_cv_func__isinfl_use=yes
75101 else
75102   glibcxx_cv_func__isinfl_use=no
75103 fi
75104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75105       ac_ext=c
75106 ac_cpp='$CPP $CPPFLAGS'
75107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75110
75111
75112 fi
75113
75114   fi
75115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75116 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75117
75118     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75119       for ac_func in _isinfl
75120 do :
75121   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75122 if test "x$ac_cv_func__isinfl" = x""yes; then :
75123   cat >>confdefs.h <<_ACEOF
75124 #define HAVE__ISINFL 1
75125 _ACEOF
75126
75127 fi
75128 done
75129
75130     fi
75131   fi
75132
75133
75134
75135
75136
75137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75138 $as_echo_n "checking for atan2l declaration... " >&6; }
75139   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75140     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75141   $as_echo_n "(cached) " >&6
75142 else
75143
75144
75145       ac_ext=cpp
75146 ac_cpp='$CXXCPP $CPPFLAGS'
75147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75150
75151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75152 /* end confdefs.h.  */
75153 #include <math.h>
75154 int
75155 main ()
75156 {
75157  atan2l(0, 0);
75158   ;
75159   return 0;
75160 }
75161 _ACEOF
75162 if ac_fn_cxx_try_compile "$LINENO"; then :
75163   glibcxx_cv_func_atan2l_use=yes
75164 else
75165   glibcxx_cv_func_atan2l_use=no
75166 fi
75167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75168       ac_ext=c
75169 ac_cpp='$CPP $CPPFLAGS'
75170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75173
75174
75175 fi
75176
75177   fi
75178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75179 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75180
75181   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75182     for ac_func in atan2l
75183 do :
75184   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75185 if test "x$ac_cv_func_atan2l" = x""yes; then :
75186   cat >>confdefs.h <<_ACEOF
75187 #define HAVE_ATAN2L 1
75188 _ACEOF
75189
75190 fi
75191 done
75192
75193   else
75194
75195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75196 $as_echo_n "checking for _atan2l declaration... " >&6; }
75197   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75198     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75199   $as_echo_n "(cached) " >&6
75200 else
75201
75202
75203       ac_ext=cpp
75204 ac_cpp='$CXXCPP $CPPFLAGS'
75205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75208
75209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210 /* end confdefs.h.  */
75211 #include <math.h>
75212 int
75213 main ()
75214 {
75215  _atan2l(0, 0);
75216   ;
75217   return 0;
75218 }
75219 _ACEOF
75220 if ac_fn_cxx_try_compile "$LINENO"; then :
75221   glibcxx_cv_func__atan2l_use=yes
75222 else
75223   glibcxx_cv_func__atan2l_use=no
75224 fi
75225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75226       ac_ext=c
75227 ac_cpp='$CPP $CPPFLAGS'
75228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75231
75232
75233 fi
75234
75235   fi
75236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75237 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75238
75239     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75240       for ac_func in _atan2l
75241 do :
75242   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75243 if test "x$ac_cv_func__atan2l" = x""yes; then :
75244   cat >>confdefs.h <<_ACEOF
75245 #define HAVE__ATAN2L 1
75246 _ACEOF
75247
75248 fi
75249 done
75250
75251     fi
75252   fi
75253
75254
75255
75256
75257
75258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75259 $as_echo_n "checking for expl declaration... " >&6; }
75260   if test x${glibcxx_cv_func_expl_use+set} != xset; then
75261     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75262   $as_echo_n "(cached) " >&6
75263 else
75264
75265
75266       ac_ext=cpp
75267 ac_cpp='$CXXCPP $CPPFLAGS'
75268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75271
75272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75273 /* end confdefs.h.  */
75274 #include <math.h>
75275                       #ifdef HAVE_IEEEFP_H
75276                       #include <ieeefp.h>
75277                       #endif
75278
75279 int
75280 main ()
75281 {
75282  expl(0);
75283   ;
75284   return 0;
75285 }
75286 _ACEOF
75287 if ac_fn_cxx_try_compile "$LINENO"; then :
75288   glibcxx_cv_func_expl_use=yes
75289 else
75290   glibcxx_cv_func_expl_use=no
75291 fi
75292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75293       ac_ext=c
75294 ac_cpp='$CPP $CPPFLAGS'
75295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75298
75299
75300 fi
75301
75302   fi
75303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75304 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75305
75306   if test x$glibcxx_cv_func_expl_use = x"yes"; then
75307     for ac_func in expl
75308 do :
75309   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75310 if test "x$ac_cv_func_expl" = x""yes; then :
75311   cat >>confdefs.h <<_ACEOF
75312 #define HAVE_EXPL 1
75313 _ACEOF
75314
75315 fi
75316 done
75317
75318   else
75319
75320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75321 $as_echo_n "checking for _expl declaration... " >&6; }
75322   if test x${glibcxx_cv_func__expl_use+set} != xset; then
75323     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75324   $as_echo_n "(cached) " >&6
75325 else
75326
75327
75328       ac_ext=cpp
75329 ac_cpp='$CXXCPP $CPPFLAGS'
75330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75333
75334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75335 /* end confdefs.h.  */
75336 #include <math.h>
75337                       #ifdef HAVE_IEEEFP_H
75338                       #include <ieeefp.h>
75339                       #endif
75340
75341 int
75342 main ()
75343 {
75344  _expl(0);
75345   ;
75346   return 0;
75347 }
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350   glibcxx_cv_func__expl_use=yes
75351 else
75352   glibcxx_cv_func__expl_use=no
75353 fi
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355       ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75360
75361
75362 fi
75363
75364   fi
75365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75366 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75367
75368     if test x$glibcxx_cv_func__expl_use = x"yes"; then
75369       for ac_func in _expl
75370 do :
75371   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75372 if test "x$ac_cv_func__expl" = x""yes; then :
75373   cat >>confdefs.h <<_ACEOF
75374 #define HAVE__EXPL 1
75375 _ACEOF
75376
75377 fi
75378 done
75379
75380     fi
75381   fi
75382
75383
75384
75385
75386
75387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75388 $as_echo_n "checking for fabsl declaration... " >&6; }
75389   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75390     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75391   $as_echo_n "(cached) " >&6
75392 else
75393
75394
75395       ac_ext=cpp
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75400
75401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75402 /* end confdefs.h.  */
75403 #include <math.h>
75404                       #ifdef HAVE_IEEEFP_H
75405                       #include <ieeefp.h>
75406                       #endif
75407
75408 int
75409 main ()
75410 {
75411  fabsl(0);
75412   ;
75413   return 0;
75414 }
75415 _ACEOF
75416 if ac_fn_cxx_try_compile "$LINENO"; then :
75417   glibcxx_cv_func_fabsl_use=yes
75418 else
75419   glibcxx_cv_func_fabsl_use=no
75420 fi
75421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75422       ac_ext=c
75423 ac_cpp='$CPP $CPPFLAGS'
75424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75427
75428
75429 fi
75430
75431   fi
75432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75433 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75434
75435   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75436     for ac_func in fabsl
75437 do :
75438   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75439 if test "x$ac_cv_func_fabsl" = x""yes; then :
75440   cat >>confdefs.h <<_ACEOF
75441 #define HAVE_FABSL 1
75442 _ACEOF
75443
75444 fi
75445 done
75446
75447   else
75448
75449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75450 $as_echo_n "checking for _fabsl declaration... " >&6; }
75451   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75452     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75453   $as_echo_n "(cached) " >&6
75454 else
75455
75456
75457       ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75462
75463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h.  */
75465 #include <math.h>
75466                       #ifdef HAVE_IEEEFP_H
75467                       #include <ieeefp.h>
75468                       #endif
75469
75470 int
75471 main ()
75472 {
75473  _fabsl(0);
75474   ;
75475   return 0;
75476 }
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479   glibcxx_cv_func__fabsl_use=yes
75480 else
75481   glibcxx_cv_func__fabsl_use=no
75482 fi
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484       ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75489
75490
75491 fi
75492
75493   fi
75494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75495 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75496
75497     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75498       for ac_func in _fabsl
75499 do :
75500   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75501 if test "x$ac_cv_func__fabsl" = x""yes; then :
75502   cat >>confdefs.h <<_ACEOF
75503 #define HAVE__FABSL 1
75504 _ACEOF
75505
75506 fi
75507 done
75508
75509     fi
75510   fi
75511
75512
75513
75514
75515
75516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75517 $as_echo_n "checking for fmodl declaration... " >&6; }
75518   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75519     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75520   $as_echo_n "(cached) " >&6
75521 else
75522
75523
75524       ac_ext=cpp
75525 ac_cpp='$CXXCPP $CPPFLAGS'
75526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75529
75530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75531 /* end confdefs.h.  */
75532 #include <math.h>
75533 int
75534 main ()
75535 {
75536  fmodl(0, 0);
75537   ;
75538   return 0;
75539 }
75540 _ACEOF
75541 if ac_fn_cxx_try_compile "$LINENO"; then :
75542   glibcxx_cv_func_fmodl_use=yes
75543 else
75544   glibcxx_cv_func_fmodl_use=no
75545 fi
75546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75547       ac_ext=c
75548 ac_cpp='$CPP $CPPFLAGS'
75549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75552
75553
75554 fi
75555
75556   fi
75557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75558 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75559
75560   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75561     for ac_func in fmodl
75562 do :
75563   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75564 if test "x$ac_cv_func_fmodl" = x""yes; then :
75565   cat >>confdefs.h <<_ACEOF
75566 #define HAVE_FMODL 1
75567 _ACEOF
75568
75569 fi
75570 done
75571
75572   else
75573
75574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75575 $as_echo_n "checking for _fmodl declaration... " >&6; }
75576   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75577     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75578   $as_echo_n "(cached) " >&6
75579 else
75580
75581
75582       ac_ext=cpp
75583 ac_cpp='$CXXCPP $CPPFLAGS'
75584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75587
75588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75589 /* end confdefs.h.  */
75590 #include <math.h>
75591 int
75592 main ()
75593 {
75594  _fmodl(0, 0);
75595   ;
75596   return 0;
75597 }
75598 _ACEOF
75599 if ac_fn_cxx_try_compile "$LINENO"; then :
75600   glibcxx_cv_func__fmodl_use=yes
75601 else
75602   glibcxx_cv_func__fmodl_use=no
75603 fi
75604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75605       ac_ext=c
75606 ac_cpp='$CPP $CPPFLAGS'
75607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75610
75611
75612 fi
75613
75614   fi
75615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75616 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75617
75618     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75619       for ac_func in _fmodl
75620 do :
75621   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75622 if test "x$ac_cv_func__fmodl" = x""yes; then :
75623   cat >>confdefs.h <<_ACEOF
75624 #define HAVE__FMODL 1
75625 _ACEOF
75626
75627 fi
75628 done
75629
75630     fi
75631   fi
75632
75633
75634
75635
75636
75637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75638 $as_echo_n "checking for frexpl declaration... " >&6; }
75639   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75640     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75641   $as_echo_n "(cached) " >&6
75642 else
75643
75644
75645       ac_ext=cpp
75646 ac_cpp='$CXXCPP $CPPFLAGS'
75647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75650
75651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652 /* end confdefs.h.  */
75653 #include <math.h>
75654 int
75655 main ()
75656 {
75657  frexpl(0, 0);
75658   ;
75659   return 0;
75660 }
75661 _ACEOF
75662 if ac_fn_cxx_try_compile "$LINENO"; then :
75663   glibcxx_cv_func_frexpl_use=yes
75664 else
75665   glibcxx_cv_func_frexpl_use=no
75666 fi
75667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75668       ac_ext=c
75669 ac_cpp='$CPP $CPPFLAGS'
75670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75673
75674
75675 fi
75676
75677   fi
75678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75679 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75680
75681   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75682     for ac_func in frexpl
75683 do :
75684   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75685 if test "x$ac_cv_func_frexpl" = x""yes; then :
75686   cat >>confdefs.h <<_ACEOF
75687 #define HAVE_FREXPL 1
75688 _ACEOF
75689
75690 fi
75691 done
75692
75693   else
75694
75695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75696 $as_echo_n "checking for _frexpl declaration... " >&6; }
75697   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75698     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75699   $as_echo_n "(cached) " >&6
75700 else
75701
75702
75703       ac_ext=cpp
75704 ac_cpp='$CXXCPP $CPPFLAGS'
75705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75708
75709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75710 /* end confdefs.h.  */
75711 #include <math.h>
75712 int
75713 main ()
75714 {
75715  _frexpl(0, 0);
75716   ;
75717   return 0;
75718 }
75719 _ACEOF
75720 if ac_fn_cxx_try_compile "$LINENO"; then :
75721   glibcxx_cv_func__frexpl_use=yes
75722 else
75723   glibcxx_cv_func__frexpl_use=no
75724 fi
75725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75726       ac_ext=c
75727 ac_cpp='$CPP $CPPFLAGS'
75728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75731
75732
75733 fi
75734
75735   fi
75736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75737 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75738
75739     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75740       for ac_func in _frexpl
75741 do :
75742   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75743 if test "x$ac_cv_func__frexpl" = x""yes; then :
75744   cat >>confdefs.h <<_ACEOF
75745 #define HAVE__FREXPL 1
75746 _ACEOF
75747
75748 fi
75749 done
75750
75751     fi
75752   fi
75753
75754
75755
75756
75757
75758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75759 $as_echo_n "checking for hypotl declaration... " >&6; }
75760   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75761     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75762   $as_echo_n "(cached) " >&6
75763 else
75764
75765
75766       ac_ext=cpp
75767 ac_cpp='$CXXCPP $CPPFLAGS'
75768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75771
75772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75773 /* end confdefs.h.  */
75774 #include <math.h>
75775 int
75776 main ()
75777 {
75778  hypotl(0, 0);
75779   ;
75780   return 0;
75781 }
75782 _ACEOF
75783 if ac_fn_cxx_try_compile "$LINENO"; then :
75784   glibcxx_cv_func_hypotl_use=yes
75785 else
75786   glibcxx_cv_func_hypotl_use=no
75787 fi
75788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75789       ac_ext=c
75790 ac_cpp='$CPP $CPPFLAGS'
75791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75794
75795
75796 fi
75797
75798   fi
75799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75800 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75801
75802   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75803     for ac_func in hypotl
75804 do :
75805   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75806 if test "x$ac_cv_func_hypotl" = x""yes; then :
75807   cat >>confdefs.h <<_ACEOF
75808 #define HAVE_HYPOTL 1
75809 _ACEOF
75810
75811 fi
75812 done
75813
75814   else
75815
75816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75817 $as_echo_n "checking for _hypotl declaration... " >&6; }
75818   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75819     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75820   $as_echo_n "(cached) " >&6
75821 else
75822
75823
75824       ac_ext=cpp
75825 ac_cpp='$CXXCPP $CPPFLAGS'
75826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75829
75830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75831 /* end confdefs.h.  */
75832 #include <math.h>
75833 int
75834 main ()
75835 {
75836  _hypotl(0, 0);
75837   ;
75838   return 0;
75839 }
75840 _ACEOF
75841 if ac_fn_cxx_try_compile "$LINENO"; then :
75842   glibcxx_cv_func__hypotl_use=yes
75843 else
75844   glibcxx_cv_func__hypotl_use=no
75845 fi
75846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75847       ac_ext=c
75848 ac_cpp='$CPP $CPPFLAGS'
75849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75852
75853
75854 fi
75855
75856   fi
75857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75858 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75859
75860     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75861       for ac_func in _hypotl
75862 do :
75863   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75864 if test "x$ac_cv_func__hypotl" = x""yes; then :
75865   cat >>confdefs.h <<_ACEOF
75866 #define HAVE__HYPOTL 1
75867 _ACEOF
75868
75869 fi
75870 done
75871
75872     fi
75873   fi
75874
75875
75876
75877
75878
75879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75880 $as_echo_n "checking for ldexpl declaration... " >&6; }
75881   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75882     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75883   $as_echo_n "(cached) " >&6
75884 else
75885
75886
75887       ac_ext=cpp
75888 ac_cpp='$CXXCPP $CPPFLAGS'
75889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75892
75893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75894 /* end confdefs.h.  */
75895 #include <math.h>
75896 int
75897 main ()
75898 {
75899  ldexpl(0, 0);
75900   ;
75901   return 0;
75902 }
75903 _ACEOF
75904 if ac_fn_cxx_try_compile "$LINENO"; then :
75905   glibcxx_cv_func_ldexpl_use=yes
75906 else
75907   glibcxx_cv_func_ldexpl_use=no
75908 fi
75909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75910       ac_ext=c
75911 ac_cpp='$CPP $CPPFLAGS'
75912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75915
75916
75917 fi
75918
75919   fi
75920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75921 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75922
75923   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75924     for ac_func in ldexpl
75925 do :
75926   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75927 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75928   cat >>confdefs.h <<_ACEOF
75929 #define HAVE_LDEXPL 1
75930 _ACEOF
75931
75932 fi
75933 done
75934
75935   else
75936
75937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75938 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75939   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75940     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75941   $as_echo_n "(cached) " >&6
75942 else
75943
75944
75945       ac_ext=cpp
75946 ac_cpp='$CXXCPP $CPPFLAGS'
75947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75950
75951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75952 /* end confdefs.h.  */
75953 #include <math.h>
75954 int
75955 main ()
75956 {
75957  _ldexpl(0, 0);
75958   ;
75959   return 0;
75960 }
75961 _ACEOF
75962 if ac_fn_cxx_try_compile "$LINENO"; then :
75963   glibcxx_cv_func__ldexpl_use=yes
75964 else
75965   glibcxx_cv_func__ldexpl_use=no
75966 fi
75967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75968       ac_ext=c
75969 ac_cpp='$CPP $CPPFLAGS'
75970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75973
75974
75975 fi
75976
75977   fi
75978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75979 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75980
75981     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75982       for ac_func in _ldexpl
75983 do :
75984   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75985 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75986   cat >>confdefs.h <<_ACEOF
75987 #define HAVE__LDEXPL 1
75988 _ACEOF
75989
75990 fi
75991 done
75992
75993     fi
75994   fi
75995
75996
75997
75998
75999
76000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76001 $as_echo_n "checking for logl declaration... " >&6; }
76002   if test x${glibcxx_cv_func_logl_use+set} != xset; then
76003     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76004   $as_echo_n "(cached) " >&6
76005 else
76006
76007
76008       ac_ext=cpp
76009 ac_cpp='$CXXCPP $CPPFLAGS'
76010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76013
76014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76015 /* end confdefs.h.  */
76016 #include <math.h>
76017                       #ifdef HAVE_IEEEFP_H
76018                       #include <ieeefp.h>
76019                       #endif
76020
76021 int
76022 main ()
76023 {
76024  logl(0);
76025   ;
76026   return 0;
76027 }
76028 _ACEOF
76029 if ac_fn_cxx_try_compile "$LINENO"; then :
76030   glibcxx_cv_func_logl_use=yes
76031 else
76032   glibcxx_cv_func_logl_use=no
76033 fi
76034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76035       ac_ext=c
76036 ac_cpp='$CPP $CPPFLAGS'
76037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76040
76041
76042 fi
76043
76044   fi
76045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76046 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76047
76048   if test x$glibcxx_cv_func_logl_use = x"yes"; then
76049     for ac_func in logl
76050 do :
76051   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76052 if test "x$ac_cv_func_logl" = x""yes; then :
76053   cat >>confdefs.h <<_ACEOF
76054 #define HAVE_LOGL 1
76055 _ACEOF
76056
76057 fi
76058 done
76059
76060   else
76061
76062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76063 $as_echo_n "checking for _logl declaration... " >&6; }
76064   if test x${glibcxx_cv_func__logl_use+set} != xset; then
76065     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76066   $as_echo_n "(cached) " >&6
76067 else
76068
76069
76070       ac_ext=cpp
76071 ac_cpp='$CXXCPP $CPPFLAGS'
76072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76075
76076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077 /* end confdefs.h.  */
76078 #include <math.h>
76079                       #ifdef HAVE_IEEEFP_H
76080                       #include <ieeefp.h>
76081                       #endif
76082
76083 int
76084 main ()
76085 {
76086  _logl(0);
76087   ;
76088   return 0;
76089 }
76090 _ACEOF
76091 if ac_fn_cxx_try_compile "$LINENO"; then :
76092   glibcxx_cv_func__logl_use=yes
76093 else
76094   glibcxx_cv_func__logl_use=no
76095 fi
76096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76097       ac_ext=c
76098 ac_cpp='$CPP $CPPFLAGS'
76099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76102
76103
76104 fi
76105
76106   fi
76107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76108 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76109
76110     if test x$glibcxx_cv_func__logl_use = x"yes"; then
76111       for ac_func in _logl
76112 do :
76113   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76114 if test "x$ac_cv_func__logl" = x""yes; then :
76115   cat >>confdefs.h <<_ACEOF
76116 #define HAVE__LOGL 1
76117 _ACEOF
76118
76119 fi
76120 done
76121
76122     fi
76123   fi
76124
76125
76126
76127
76128
76129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76130 $as_echo_n "checking for log10l declaration... " >&6; }
76131   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76132     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76133   $as_echo_n "(cached) " >&6
76134 else
76135
76136
76137       ac_ext=cpp
76138 ac_cpp='$CXXCPP $CPPFLAGS'
76139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76142
76143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76144 /* end confdefs.h.  */
76145 #include <math.h>
76146                       #ifdef HAVE_IEEEFP_H
76147                       #include <ieeefp.h>
76148                       #endif
76149
76150 int
76151 main ()
76152 {
76153  log10l(0);
76154   ;
76155   return 0;
76156 }
76157 _ACEOF
76158 if ac_fn_cxx_try_compile "$LINENO"; then :
76159   glibcxx_cv_func_log10l_use=yes
76160 else
76161   glibcxx_cv_func_log10l_use=no
76162 fi
76163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76164       ac_ext=c
76165 ac_cpp='$CPP $CPPFLAGS'
76166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76169
76170
76171 fi
76172
76173   fi
76174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76175 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76176
76177   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76178     for ac_func in log10l
76179 do :
76180   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76181 if test "x$ac_cv_func_log10l" = x""yes; then :
76182   cat >>confdefs.h <<_ACEOF
76183 #define HAVE_LOG10L 1
76184 _ACEOF
76185
76186 fi
76187 done
76188
76189   else
76190
76191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76192 $as_echo_n "checking for _log10l declaration... " >&6; }
76193   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76194     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76195   $as_echo_n "(cached) " >&6
76196 else
76197
76198
76199       ac_ext=cpp
76200 ac_cpp='$CXXCPP $CPPFLAGS'
76201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76204
76205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h.  */
76207 #include <math.h>
76208                       #ifdef HAVE_IEEEFP_H
76209                       #include <ieeefp.h>
76210                       #endif
76211
76212 int
76213 main ()
76214 {
76215  _log10l(0);
76216   ;
76217   return 0;
76218 }
76219 _ACEOF
76220 if ac_fn_cxx_try_compile "$LINENO"; then :
76221   glibcxx_cv_func__log10l_use=yes
76222 else
76223   glibcxx_cv_func__log10l_use=no
76224 fi
76225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76226       ac_ext=c
76227 ac_cpp='$CPP $CPPFLAGS'
76228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76231
76232
76233 fi
76234
76235   fi
76236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76237 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76238
76239     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76240       for ac_func in _log10l
76241 do :
76242   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76243 if test "x$ac_cv_func__log10l" = x""yes; then :
76244   cat >>confdefs.h <<_ACEOF
76245 #define HAVE__LOG10L 1
76246 _ACEOF
76247
76248 fi
76249 done
76250
76251     fi
76252   fi
76253
76254
76255
76256
76257
76258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76259 $as_echo_n "checking for modfl declaration... " >&6; }
76260   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76261     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76262   $as_echo_n "(cached) " >&6
76263 else
76264
76265
76266       ac_ext=cpp
76267 ac_cpp='$CXXCPP $CPPFLAGS'
76268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76271
76272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76273 /* end confdefs.h.  */
76274 #include <math.h>
76275 int
76276 main ()
76277 {
76278  modfl(0, 0);
76279   ;
76280   return 0;
76281 }
76282 _ACEOF
76283 if ac_fn_cxx_try_compile "$LINENO"; then :
76284   glibcxx_cv_func_modfl_use=yes
76285 else
76286   glibcxx_cv_func_modfl_use=no
76287 fi
76288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76289       ac_ext=c
76290 ac_cpp='$CPP $CPPFLAGS'
76291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76294
76295
76296 fi
76297
76298   fi
76299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76300 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76301
76302   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76303     for ac_func in modfl
76304 do :
76305   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76306 if test "x$ac_cv_func_modfl" = x""yes; then :
76307   cat >>confdefs.h <<_ACEOF
76308 #define HAVE_MODFL 1
76309 _ACEOF
76310
76311 fi
76312 done
76313
76314   else
76315
76316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76317 $as_echo_n "checking for _modfl declaration... " >&6; }
76318   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76319     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76320   $as_echo_n "(cached) " >&6
76321 else
76322
76323
76324       ac_ext=cpp
76325 ac_cpp='$CXXCPP $CPPFLAGS'
76326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76329
76330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76331 /* end confdefs.h.  */
76332 #include <math.h>
76333 int
76334 main ()
76335 {
76336  _modfl(0, 0);
76337   ;
76338   return 0;
76339 }
76340 _ACEOF
76341 if ac_fn_cxx_try_compile "$LINENO"; then :
76342   glibcxx_cv_func__modfl_use=yes
76343 else
76344   glibcxx_cv_func__modfl_use=no
76345 fi
76346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76347       ac_ext=c
76348 ac_cpp='$CPP $CPPFLAGS'
76349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76352
76353
76354 fi
76355
76356   fi
76357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76358 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76359
76360     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76361       for ac_func in _modfl
76362 do :
76363   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76364 if test "x$ac_cv_func__modfl" = x""yes; then :
76365   cat >>confdefs.h <<_ACEOF
76366 #define HAVE__MODFL 1
76367 _ACEOF
76368
76369 fi
76370 done
76371
76372     fi
76373   fi
76374
76375
76376
76377
76378
76379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76380 $as_echo_n "checking for powl declaration... " >&6; }
76381   if test x${glibcxx_cv_func_powl_use+set} != xset; then
76382     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76383   $as_echo_n "(cached) " >&6
76384 else
76385
76386
76387       ac_ext=cpp
76388 ac_cpp='$CXXCPP $CPPFLAGS'
76389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76392
76393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76394 /* end confdefs.h.  */
76395 #include <math.h>
76396 int
76397 main ()
76398 {
76399  powl(0, 0);
76400   ;
76401   return 0;
76402 }
76403 _ACEOF
76404 if ac_fn_cxx_try_compile "$LINENO"; then :
76405   glibcxx_cv_func_powl_use=yes
76406 else
76407   glibcxx_cv_func_powl_use=no
76408 fi
76409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76410       ac_ext=c
76411 ac_cpp='$CPP $CPPFLAGS'
76412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76415
76416
76417 fi
76418
76419   fi
76420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76421 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76422
76423   if test x$glibcxx_cv_func_powl_use = x"yes"; then
76424     for ac_func in powl
76425 do :
76426   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76427 if test "x$ac_cv_func_powl" = x""yes; then :
76428   cat >>confdefs.h <<_ACEOF
76429 #define HAVE_POWL 1
76430 _ACEOF
76431
76432 fi
76433 done
76434
76435   else
76436
76437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76438 $as_echo_n "checking for _powl declaration... " >&6; }
76439   if test x${glibcxx_cv_func__powl_use+set} != xset; then
76440     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76441   $as_echo_n "(cached) " >&6
76442 else
76443
76444
76445       ac_ext=cpp
76446 ac_cpp='$CXXCPP $CPPFLAGS'
76447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76450
76451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76452 /* end confdefs.h.  */
76453 #include <math.h>
76454 int
76455 main ()
76456 {
76457  _powl(0, 0);
76458   ;
76459   return 0;
76460 }
76461 _ACEOF
76462 if ac_fn_cxx_try_compile "$LINENO"; then :
76463   glibcxx_cv_func__powl_use=yes
76464 else
76465   glibcxx_cv_func__powl_use=no
76466 fi
76467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76468       ac_ext=c
76469 ac_cpp='$CPP $CPPFLAGS'
76470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76473
76474
76475 fi
76476
76477   fi
76478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76479 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76480
76481     if test x$glibcxx_cv_func__powl_use = x"yes"; then
76482       for ac_func in _powl
76483 do :
76484   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76485 if test "x$ac_cv_func__powl" = x""yes; then :
76486   cat >>confdefs.h <<_ACEOF
76487 #define HAVE__POWL 1
76488 _ACEOF
76489
76490 fi
76491 done
76492
76493     fi
76494   fi
76495
76496
76497
76498
76499
76500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76501 $as_echo_n "checking for sqrtl declaration... " >&6; }
76502   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76503     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76504   $as_echo_n "(cached) " >&6
76505 else
76506
76507
76508       ac_ext=cpp
76509 ac_cpp='$CXXCPP $CPPFLAGS'
76510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76513
76514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76515 /* end confdefs.h.  */
76516 #include <math.h>
76517                       #ifdef HAVE_IEEEFP_H
76518                       #include <ieeefp.h>
76519                       #endif
76520
76521 int
76522 main ()
76523 {
76524  sqrtl(0);
76525   ;
76526   return 0;
76527 }
76528 _ACEOF
76529 if ac_fn_cxx_try_compile "$LINENO"; then :
76530   glibcxx_cv_func_sqrtl_use=yes
76531 else
76532   glibcxx_cv_func_sqrtl_use=no
76533 fi
76534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76535       ac_ext=c
76536 ac_cpp='$CPP $CPPFLAGS'
76537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76540
76541
76542 fi
76543
76544   fi
76545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76546 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76547
76548   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76549     for ac_func in sqrtl
76550 do :
76551   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76552 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76553   cat >>confdefs.h <<_ACEOF
76554 #define HAVE_SQRTL 1
76555 _ACEOF
76556
76557 fi
76558 done
76559
76560   else
76561
76562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76563 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76564   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76565     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76566   $as_echo_n "(cached) " >&6
76567 else
76568
76569
76570       ac_ext=cpp
76571 ac_cpp='$CXXCPP $CPPFLAGS'
76572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76575
76576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h.  */
76578 #include <math.h>
76579                       #ifdef HAVE_IEEEFP_H
76580                       #include <ieeefp.h>
76581                       #endif
76582
76583 int
76584 main ()
76585 {
76586  _sqrtl(0);
76587   ;
76588   return 0;
76589 }
76590 _ACEOF
76591 if ac_fn_cxx_try_compile "$LINENO"; then :
76592   glibcxx_cv_func__sqrtl_use=yes
76593 else
76594   glibcxx_cv_func__sqrtl_use=no
76595 fi
76596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76597       ac_ext=c
76598 ac_cpp='$CPP $CPPFLAGS'
76599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76602
76603
76604 fi
76605
76606   fi
76607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76608 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76609
76610     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76611       for ac_func in _sqrtl
76612 do :
76613   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76614 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76615   cat >>confdefs.h <<_ACEOF
76616 #define HAVE__SQRTL 1
76617 _ACEOF
76618
76619 fi
76620 done
76621
76622     fi
76623   fi
76624
76625
76626
76627
76628
76629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76630 $as_echo_n "checking for sincosl declaration... " >&6; }
76631   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76632     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76633   $as_echo_n "(cached) " >&6
76634 else
76635
76636
76637       ac_ext=cpp
76638 ac_cpp='$CXXCPP $CPPFLAGS'
76639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76642
76643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76644 /* end confdefs.h.  */
76645 #include <math.h>
76646 int
76647 main ()
76648 {
76649  sincosl(0, 0, 0);
76650   ;
76651   return 0;
76652 }
76653 _ACEOF
76654 if ac_fn_cxx_try_compile "$LINENO"; then :
76655   glibcxx_cv_func_sincosl_use=yes
76656 else
76657   glibcxx_cv_func_sincosl_use=no
76658 fi
76659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76660       ac_ext=c
76661 ac_cpp='$CPP $CPPFLAGS'
76662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76665
76666
76667 fi
76668
76669   fi
76670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76671 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76672
76673   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76674     for ac_func in sincosl
76675 do :
76676   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76677 if test "x$ac_cv_func_sincosl" = x""yes; then :
76678   cat >>confdefs.h <<_ACEOF
76679 #define HAVE_SINCOSL 1
76680 _ACEOF
76681
76682 fi
76683 done
76684
76685   else
76686
76687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76688 $as_echo_n "checking for _sincosl declaration... " >&6; }
76689   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76690     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76691   $as_echo_n "(cached) " >&6
76692 else
76693
76694
76695       ac_ext=cpp
76696 ac_cpp='$CXXCPP $CPPFLAGS'
76697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76700
76701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76702 /* end confdefs.h.  */
76703 #include <math.h>
76704 int
76705 main ()
76706 {
76707  _sincosl(0, 0, 0);
76708   ;
76709   return 0;
76710 }
76711 _ACEOF
76712 if ac_fn_cxx_try_compile "$LINENO"; then :
76713   glibcxx_cv_func__sincosl_use=yes
76714 else
76715   glibcxx_cv_func__sincosl_use=no
76716 fi
76717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76718       ac_ext=c
76719 ac_cpp='$CPP $CPPFLAGS'
76720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76723
76724
76725 fi
76726
76727   fi
76728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76729 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76730
76731     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76732       for ac_func in _sincosl
76733 do :
76734   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76735 if test "x$ac_cv_func__sincosl" = x""yes; then :
76736   cat >>confdefs.h <<_ACEOF
76737 #define HAVE__SINCOSL 1
76738 _ACEOF
76739
76740 fi
76741 done
76742
76743     fi
76744   fi
76745
76746
76747
76748
76749
76750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76751 $as_echo_n "checking for finitel declaration... " >&6; }
76752   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76753     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76754   $as_echo_n "(cached) " >&6
76755 else
76756
76757
76758       ac_ext=cpp
76759 ac_cpp='$CXXCPP $CPPFLAGS'
76760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76763
76764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76765 /* end confdefs.h.  */
76766 #include <math.h>
76767                       #ifdef HAVE_IEEEFP_H
76768                       #include <ieeefp.h>
76769                       #endif
76770
76771 int
76772 main ()
76773 {
76774  finitel(0);
76775   ;
76776   return 0;
76777 }
76778 _ACEOF
76779 if ac_fn_cxx_try_compile "$LINENO"; then :
76780   glibcxx_cv_func_finitel_use=yes
76781 else
76782   glibcxx_cv_func_finitel_use=no
76783 fi
76784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76785       ac_ext=c
76786 ac_cpp='$CPP $CPPFLAGS'
76787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76790
76791
76792 fi
76793
76794   fi
76795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76796 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76797
76798   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76799     for ac_func in finitel
76800 do :
76801   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76802 if test "x$ac_cv_func_finitel" = x""yes; then :
76803   cat >>confdefs.h <<_ACEOF
76804 #define HAVE_FINITEL 1
76805 _ACEOF
76806
76807 fi
76808 done
76809
76810   else
76811
76812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76813 $as_echo_n "checking for _finitel declaration... " >&6; }
76814   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76815     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76816   $as_echo_n "(cached) " >&6
76817 else
76818
76819
76820       ac_ext=cpp
76821 ac_cpp='$CXXCPP $CPPFLAGS'
76822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76825
76826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827 /* end confdefs.h.  */
76828 #include <math.h>
76829                       #ifdef HAVE_IEEEFP_H
76830                       #include <ieeefp.h>
76831                       #endif
76832
76833 int
76834 main ()
76835 {
76836  _finitel(0);
76837   ;
76838   return 0;
76839 }
76840 _ACEOF
76841 if ac_fn_cxx_try_compile "$LINENO"; then :
76842   glibcxx_cv_func__finitel_use=yes
76843 else
76844   glibcxx_cv_func__finitel_use=no
76845 fi
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76847       ac_ext=c
76848 ac_cpp='$CPP $CPPFLAGS'
76849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76852
76853
76854 fi
76855
76856   fi
76857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76858 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76859
76860     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76861       for ac_func in _finitel
76862 do :
76863   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76864 if test "x$ac_cv_func__finitel" = x""yes; then :
76865   cat >>confdefs.h <<_ACEOF
76866 #define HAVE__FINITEL 1
76867 _ACEOF
76868
76869 fi
76870 done
76871
76872     fi
76873   fi
76874
76875
76876
76877
76878   LIBS="$ac_save_LIBS"
76879   CXXFLAGS="$ac_save_CXXFLAGS"
76880
76881
76882   ac_test_CXXFLAGS="${CXXFLAGS+set}"
76883   ac_save_CXXFLAGS="$CXXFLAGS"
76884   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76885
76886
76887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76888 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76889   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76890     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76891   $as_echo_n "(cached) " >&6
76892 else
76893
76894
76895       ac_ext=cpp
76896 ac_cpp='$CXXCPP $CPPFLAGS'
76897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76900
76901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76902 /* end confdefs.h.  */
76903 #include <stdlib.h>
76904 int
76905 main ()
76906 {
76907  at_quick_exit(0);
76908   ;
76909   return 0;
76910 }
76911 _ACEOF
76912 if ac_fn_cxx_try_compile "$LINENO"; then :
76913   glibcxx_cv_func_at_quick_exit_use=yes
76914 else
76915   glibcxx_cv_func_at_quick_exit_use=no
76916 fi
76917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76918       ac_ext=c
76919 ac_cpp='$CPP $CPPFLAGS'
76920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76923
76924
76925 fi
76926
76927   fi
76928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76929 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76930   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76931     for ac_func in at_quick_exit
76932 do :
76933   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76934 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76935   cat >>confdefs.h <<_ACEOF
76936 #define HAVE_AT_QUICK_EXIT 1
76937 _ACEOF
76938
76939 fi
76940 done
76941
76942   fi
76943
76944
76945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76946 $as_echo_n "checking for quick_exit declaration... " >&6; }
76947   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76948     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76949   $as_echo_n "(cached) " >&6
76950 else
76951
76952
76953       ac_ext=cpp
76954 ac_cpp='$CXXCPP $CPPFLAGS'
76955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76958
76959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76960 /* end confdefs.h.  */
76961 #include <stdlib.h>
76962 int
76963 main ()
76964 {
76965  quick_exit(0);
76966   ;
76967   return 0;
76968 }
76969 _ACEOF
76970 if ac_fn_cxx_try_compile "$LINENO"; then :
76971   glibcxx_cv_func_quick_exit_use=yes
76972 else
76973   glibcxx_cv_func_quick_exit_use=no
76974 fi
76975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76976       ac_ext=c
76977 ac_cpp='$CPP $CPPFLAGS'
76978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76981
76982
76983 fi
76984
76985   fi
76986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76987 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76988   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76989     for ac_func in quick_exit
76990 do :
76991   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76992 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76993   cat >>confdefs.h <<_ACEOF
76994 #define HAVE_QUICK_EXIT 1
76995 _ACEOF
76996
76997 fi
76998 done
76999
77000   fi
77001
77002
77003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77004 $as_echo_n "checking for strtold declaration... " >&6; }
77005   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77006     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77007   $as_echo_n "(cached) " >&6
77008 else
77009
77010
77011       ac_ext=cpp
77012 ac_cpp='$CXXCPP $CPPFLAGS'
77013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77016
77017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77018 /* end confdefs.h.  */
77019 #include <stdlib.h>
77020 int
77021 main ()
77022 {
77023  strtold(0, 0);
77024   ;
77025   return 0;
77026 }
77027 _ACEOF
77028 if ac_fn_cxx_try_compile "$LINENO"; then :
77029   glibcxx_cv_func_strtold_use=yes
77030 else
77031   glibcxx_cv_func_strtold_use=no
77032 fi
77033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77034       ac_ext=c
77035 ac_cpp='$CPP $CPPFLAGS'
77036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77039
77040
77041 fi
77042
77043   fi
77044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77045 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77046   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77047     for ac_func in strtold
77048 do :
77049   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77050 if test "x$ac_cv_func_strtold" = x""yes; then :
77051   cat >>confdefs.h <<_ACEOF
77052 #define HAVE_STRTOLD 1
77053 _ACEOF
77054
77055 fi
77056 done
77057
77058   fi
77059
77060
77061
77062
77063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77064 $as_echo_n "checking for strtof declaration... " >&6; }
77065   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77066     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77067   $as_echo_n "(cached) " >&6
77068 else
77069
77070
77071       ac_ext=cpp
77072 ac_cpp='$CXXCPP $CPPFLAGS'
77073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77076
77077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h.  */
77079 #include <stdlib.h>
77080 int
77081 main ()
77082 {
77083  strtof(0, 0);
77084   ;
77085   return 0;
77086 }
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089   glibcxx_cv_func_strtof_use=yes
77090 else
77091   glibcxx_cv_func_strtof_use=no
77092 fi
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094       ac_ext=c
77095 ac_cpp='$CPP $CPPFLAGS'
77096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77099
77100
77101 fi
77102
77103   fi
77104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77105 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77106   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77107     for ac_func in strtof
77108 do :
77109   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77110 if test "x$ac_cv_func_strtof" = x""yes; then :
77111   cat >>confdefs.h <<_ACEOF
77112 #define HAVE_STRTOF 1
77113 _ACEOF
77114
77115 fi
77116 done
77117
77118   fi
77119
77120
77121
77122
77123   CXXFLAGS="$ac_save_CXXFLAGS"
77124
77125     ;;
77126   *-vxworks)
77127     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77128
77129     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77130
77131     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77132
77133     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77134
77135     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77136
77137     $as_echo "#define HAVE_COSF 1" >>confdefs.h
77138
77139     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77140
77141     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77142
77143     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77144
77145     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77146
77147     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77148
77149     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77150
77151     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77152
77153     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77154
77155     $as_echo "#define HAVE_POWF 1" >>confdefs.h
77156
77157     $as_echo "#define HAVE_SINF 1" >>confdefs.h
77158
77159     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77160
77161     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77162
77163     $as_echo "#define HAVE_TANF 1" >>confdefs.h
77164
77165     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77166
77167     ;;
77168   *)
77169     as_fn_error "No support for this host/target combination." "$LINENO" 5
77170    ;;
77171 esac
77172
77173   fi
77174
77175   # At some point, we should differentiate between architectures
77176   # like x86, which have long double versions, and alpha/powerpc/etc.,
77177   # which don't. For the time being, punt.
77178   if test x"long_double_math_on_this_cpu" = x"yes"; then
77179     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77180
77181     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77182
77183     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77184
77185     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77186
77187     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77188
77189     $as_echo "#define HAVE_COSL 1" >>confdefs.h
77190
77191     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77192
77193     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77194
77195     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77196
77197     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77198
77199     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77200
77201     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77202
77203     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77204
77205     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77206
77207     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77208
77209     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77210
77211     $as_echo "#define HAVE_POWL 1" >>confdefs.h
77212
77213     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77214
77215     $as_echo "#define HAVE_SINL 1" >>confdefs.h
77216
77217     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77218
77219     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77220
77221     $as_echo "#define HAVE_TANL 1" >>confdefs.h
77222
77223     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77224
77225   fi
77226 fi
77227
77228 # Check for _Unwind_GetIPInfo.
77229
77230
77231 # Check whether --with-system-libunwind was given.
77232 if test "${with_system_libunwind+set}" = set; then :
77233   withval=$with_system_libunwind;
77234 fi
77235
77236   # If system-libunwind was not specifically set, pick a default setting.
77237   if test x$with_system_libunwind = x; then
77238     case ${target} in
77239       ia64-*-hpux*) with_system_libunwind=yes ;;
77240       *) with_system_libunwind=no ;;
77241     esac
77242   fi
77243   # Based on system-libunwind and target, do we have ipinfo?
77244   if  test x$with_system_libunwind = xyes; then
77245     case ${target} in
77246       ia64-*-*) have_unwind_getipinfo=no ;;
77247       *) have_unwind_getipinfo=yes ;;
77248     esac
77249   else
77250     # Darwin before version 9 does not have _Unwind_GetIPInfo.
77251
77252     case ${target} in
77253       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77254       *) have_unwind_getipinfo=yes ;;
77255     esac
77256
77257   fi
77258
77259   if test x$have_unwind_getipinfo = xyes; then
77260
77261 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77262
77263   fi
77264
77265
77266  # Check whether --enable-linux-futex was given.
77267 if test "${enable_linux_futex+set}" = set; then :
77268   enableval=$enable_linux_futex;
77269       case "$enableval" in
77270        yes|no|default) ;;
77271        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77272                           esac
77273
77274 else
77275   enable_linux_futex=default
77276 fi
77277
77278
77279 case "$target" in
77280   *-linux*)
77281     case "$enable_linux_futex" in
77282       default)
77283         # If headers don't have gettid/futex syscalls definition, then
77284         # default to no, otherwise there will be compile time failures.
77285         # Otherwise, default to yes.  If we don't detect we are
77286         # compiled/linked against NPTL and not cross-compiling, check
77287         # if programs are run by default against NPTL and if not, issue
77288         # a warning.
77289         enable_linux_futex=no
77290         if test x$gcc_no_link = xyes; then
77291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77292 fi
77293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77294 /* end confdefs.h.  */
77295 #include <sys/syscall.h>
77296            int lk;
77297 int
77298 main ()
77299 {
77300 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77301   ;
77302   return 0;
77303 }
77304 _ACEOF
77305 if ac_fn_c_try_link "$LINENO"; then :
77306   save_LIBS="$LIBS"
77307            LIBS="-lpthread $LIBS"
77308            if test x$gcc_no_link = xyes; then
77309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77310 fi
77311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77312 /* end confdefs.h.  */
77313 #ifndef _GNU_SOURCE
77314              #define _GNU_SOURCE 1
77315              #endif
77316              #include <pthread.h>
77317              pthread_t th; void *status;
77318 int
77319 main ()
77320 {
77321 pthread_tryjoin_np (th, &status);
77322   ;
77323   return 0;
77324 }
77325 _ACEOF
77326 if ac_fn_c_try_link "$LINENO"; then :
77327   enable_linux_futex=yes
77328 else
77329   if test x$cross_compiling = xno; then
77330                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77331                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77332                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77333 If so, please configure with --disable-linux-futex" >&5
77334 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77335 If so, please configure with --disable-linux-futex" >&2;}
77336                fi
77337              fi
77338              enable_linux_futex=yes
77339 fi
77340 rm -f core conftest.err conftest.$ac_objext \
77341     conftest$ac_exeext conftest.$ac_ext
77342            LIBS="$save_LIBS"
77343 fi
77344 rm -f core conftest.err conftest.$ac_objext \
77345     conftest$ac_exeext conftest.$ac_ext
77346         ;;
77347       yes)
77348         if test x$gcc_no_link = xyes; then
77349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77350 fi
77351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77352 /* end confdefs.h.  */
77353 #include <sys/syscall.h>
77354            int lk;
77355 int
77356 main ()
77357 {
77358 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77359   ;
77360   return 0;
77361 }
77362 _ACEOF
77363 if ac_fn_c_try_link "$LINENO"; then :
77364
77365 else
77366   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77367 fi
77368 rm -f core conftest.err conftest.$ac_objext \
77369     conftest$ac_exeext conftest.$ac_ext
77370         ;;
77371     esac
77372     ;;
77373   *)
77374     enable_linux_futex=no
77375     ;;
77376 esac
77377 if test x$enable_linux_futex = xyes; then
77378
77379 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77380
77381 fi
77382
77383
77384
77385
77386 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
77387
77388 acx_cv_header_stdint=stddef.h
77389 acx_cv_header_stdint_kind="(already complete)"
77390 for i in stdint.h $inttype_headers; do
77391   unset ac_cv_type_uintptr_t
77392   unset ac_cv_type_uintmax_t
77393   unset ac_cv_type_int_least32_t
77394   unset ac_cv_type_int_fast32_t
77395   unset ac_cv_type_uint64_t
77396   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77397   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77398 #include <$i>
77399 "
77400 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77401   acx_cv_header_stdint=$i
77402 else
77403   continue
77404 fi
77405
77406   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77407 #include <$i>
77408 "
77409 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77410
77411 else
77412   acx_cv_header_stdint_kind="(mostly complete)"
77413 fi
77414
77415   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77416 #include <$i>
77417 "
77418 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77419
77420 else
77421   acx_cv_header_stdint_kind="(mostly complete)"
77422 fi
77423
77424   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77425 #include <$i>
77426 "
77427 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77428
77429 else
77430   acx_cv_header_stdint_kind="(mostly complete)"
77431 fi
77432
77433   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77434 #include <$i>
77435 "
77436 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77437
77438 else
77439   acx_cv_header_stdint_kind="(lacks uint64_t)"
77440 fi
77441
77442   break
77443 done
77444 if test "$acx_cv_header_stdint" = stddef.h; then
77445   acx_cv_header_stdint_kind="(lacks uintmax_t)"
77446   for i in stdint.h $inttype_headers; do
77447     unset ac_cv_type_uintptr_t
77448     unset ac_cv_type_uint32_t
77449     unset ac_cv_type_uint64_t
77450     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77451     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77452 #include <$i>
77453 "
77454 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77455   acx_cv_header_stdint=$i
77456 else
77457   continue
77458 fi
77459
77460     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77461 #include <$i>
77462 "
77463 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77464
77465 fi
77466
77467     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77468 #include <$i>
77469 "
77470 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77471
77472 fi
77473
77474     break
77475   done
77476 fi
77477 if test "$acx_cv_header_stdint" = stddef.h; then
77478   acx_cv_header_stdint_kind="(u_intXX_t style)"
77479   for i in sys/types.h $inttype_headers; do
77480     unset ac_cv_type_u_int32_t
77481     unset ac_cv_type_u_int64_t
77482     $as_echo_n "looking for u_intXX_t types in $i, " >&6
77483     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77484 #include <$i>
77485 "
77486 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77487   acx_cv_header_stdint=$i
77488 else
77489   continue
77490 fi
77491
77492     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77493 #include <$i>
77494 "
77495 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77496
77497 fi
77498
77499     break
77500   done
77501 fi
77502 if test "$acx_cv_header_stdint" = stddef.h; then
77503   acx_cv_header_stdint_kind="(using manual detection)"
77504 fi
77505
77506 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77507 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77508 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77509 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77510 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77511
77512 # ----------------- Summarize what we found so far
77513
77514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77515 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77516
77517 case `$as_basename -- include/gstdint.h ||
77518 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77519          Xinclude/gstdint.h : 'X\(//\)$' \| \
77520          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77521 $as_echo X/include/gstdint.h |
77522     sed '/^.*\/\([^/][^/]*\)\/*$/{
77523             s//\1/
77524             q
77525           }
77526           /^X\/\(\/\/\)$/{
77527             s//\1/
77528             q
77529           }
77530           /^X\/\(\/\).*/{
77531             s//\1/
77532             q
77533           }
77534           s/.*/./; q'` in
77535   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77536 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77537   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77538 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77539   *) ;;
77540 esac
77541
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77543 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77544
77545 # ----------------- done included file, check C basic types --------
77546
77547 # Lacking an uintptr_t?  Test size of void *
77548 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77549   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77552 # This bug is HP SR number 8606223364.
77553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77554 $as_echo_n "checking size of void *... " >&6; }
77555 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77556   $as_echo_n "(cached) " >&6
77557 else
77558   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
77559
77560 else
77561   if test "$ac_cv_type_void_p" = yes; then
77562      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77564 { as_fn_set_status 77
77565 as_fn_error "cannot compute sizeof (void *)
77566 See \`config.log' for more details." "$LINENO" 5; }; }
77567    else
77568      ac_cv_sizeof_void_p=0
77569    fi
77570 fi
77571
77572 fi
77573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77574 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77575
77576
77577
77578 cat >>confdefs.h <<_ACEOF
77579 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77580 _ACEOF
77581
77582  ;;
77583 esac
77584
77585 # Lacking an uint64_t?  Test size of long
77586 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77587   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77590 # This bug is HP SR number 8606223364.
77591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77592 $as_echo_n "checking size of long... " >&6; }
77593 if test "${ac_cv_sizeof_long+set}" = set; then :
77594   $as_echo_n "(cached) " >&6
77595 else
77596   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
77597
77598 else
77599   if test "$ac_cv_type_long" = yes; then
77600      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77602 { as_fn_set_status 77
77603 as_fn_error "cannot compute sizeof (long)
77604 See \`config.log' for more details." "$LINENO" 5; }; }
77605    else
77606      ac_cv_sizeof_long=0
77607    fi
77608 fi
77609
77610 fi
77611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77612 $as_echo "$ac_cv_sizeof_long" >&6; }
77613
77614
77615
77616 cat >>confdefs.h <<_ACEOF
77617 #define SIZEOF_LONG $ac_cv_sizeof_long
77618 _ACEOF
77619
77620  ;;
77621 esac
77622
77623 if test $acx_cv_header_stdint = stddef.h; then
77624   # Lacking a good header?  Test size of everything and deduce all types.
77625   # The cast to long int works around a bug in the HP C Compiler
77626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77628 # This bug is HP SR number 8606223364.
77629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77630 $as_echo_n "checking size of int... " >&6; }
77631 if test "${ac_cv_sizeof_int+set}" = set; then :
77632   $as_echo_n "(cached) " >&6
77633 else
77634   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
77635
77636 else
77637   if test "$ac_cv_type_int" = yes; then
77638      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77640 { as_fn_set_status 77
77641 as_fn_error "cannot compute sizeof (int)
77642 See \`config.log' for more details." "$LINENO" 5; }; }
77643    else
77644      ac_cv_sizeof_int=0
77645    fi
77646 fi
77647
77648 fi
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77650 $as_echo "$ac_cv_sizeof_int" >&6; }
77651
77652
77653
77654 cat >>confdefs.h <<_ACEOF
77655 #define SIZEOF_INT $ac_cv_sizeof_int
77656 _ACEOF
77657
77658
77659   # The cast to long int works around a bug in the HP C Compiler
77660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77662 # This bug is HP SR number 8606223364.
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77664 $as_echo_n "checking size of short... " >&6; }
77665 if test "${ac_cv_sizeof_short+set}" = set; then :
77666   $as_echo_n "(cached) " >&6
77667 else
77668   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
77669
77670 else
77671   if test "$ac_cv_type_short" = yes; then
77672      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77674 { as_fn_set_status 77
77675 as_fn_error "cannot compute sizeof (short)
77676 See \`config.log' for more details." "$LINENO" 5; }; }
77677    else
77678      ac_cv_sizeof_short=0
77679    fi
77680 fi
77681
77682 fi
77683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77684 $as_echo "$ac_cv_sizeof_short" >&6; }
77685
77686
77687
77688 cat >>confdefs.h <<_ACEOF
77689 #define SIZEOF_SHORT $ac_cv_sizeof_short
77690 _ACEOF
77691
77692
77693   # The cast to long int works around a bug in the HP C Compiler
77694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77696 # This bug is HP SR number 8606223364.
77697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77698 $as_echo_n "checking size of char... " >&6; }
77699 if test "${ac_cv_sizeof_char+set}" = set; then :
77700   $as_echo_n "(cached) " >&6
77701 else
77702   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
77703
77704 else
77705   if test "$ac_cv_type_char" = yes; then
77706      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77708 { as_fn_set_status 77
77709 as_fn_error "cannot compute sizeof (char)
77710 See \`config.log' for more details." "$LINENO" 5; }; }
77711    else
77712      ac_cv_sizeof_char=0
77713    fi
77714 fi
77715
77716 fi
77717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77718 $as_echo "$ac_cv_sizeof_char" >&6; }
77719
77720
77721
77722 cat >>confdefs.h <<_ACEOF
77723 #define SIZEOF_CHAR $ac_cv_sizeof_char
77724 _ACEOF
77725
77726
77727
77728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77729 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77730   case "$ac_cv_sizeof_char" in
77731     1) acx_cv_type_int8_t=char ;;
77732     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77733   esac
77734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77735 $as_echo "$acx_cv_type_int8_t" >&6; }
77736
77737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77738 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77739   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77740     2:*) acx_cv_type_int16_t=int ;;
77741     *:2) acx_cv_type_int16_t=short ;;
77742     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77743   esac
77744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77745 $as_echo "$acx_cv_type_int16_t" >&6; }
77746
77747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77748 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77749   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77750     4:*) acx_cv_type_int32_t=int ;;
77751     *:4) acx_cv_type_int32_t=long ;;
77752     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77753   esac
77754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77755 $as_echo "$acx_cv_type_int32_t" >&6; }
77756 fi
77757
77758 # These tests are here to make the output prettier
77759
77760 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77761   case "$ac_cv_sizeof_long" in
77762     8) acx_cv_type_int64_t=long ;;
77763   esac
77764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77765 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77767 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77768 fi
77769
77770 # Now we can use the above types
77771
77772 if test "$ac_cv_type_uintptr_t" != yes; then
77773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77774 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77775   case $ac_cv_sizeof_void_p in
77776     2) acx_cv_type_intptr_t=int16_t ;;
77777     4) acx_cv_type_intptr_t=int32_t ;;
77778     8) acx_cv_type_intptr_t=int64_t ;;
77779     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77780   esac
77781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77782 $as_echo "$acx_cv_type_intptr_t" >&6; }
77783 fi
77784
77785 # ----------------- done all checks, emit header -------------
77786 ac_config_commands="$ac_config_commands include/gstdint.h"
77787
77788
77789
77790
77791
77792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77793 $as_echo_n "checking for GNU c++filt... " >&6; }
77794 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77795   $as_echo_n "(cached) " >&6
77796 else
77797   if test -z "$CXXFILT"; then
77798   ac_path_CXXFILT_found=false
77799   # Loop through the user's path and test for each of PROGNAME-LIST
77800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77801 for as_dir in $PATH
77802 do
77803   IFS=$as_save_IFS
77804   test -z "$as_dir" && as_dir=.
77805     for ac_prog in c++filt gc++filt; do
77806     for ac_exec_ext in '' $ac_executable_extensions; do
77807       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77808       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77809 # Check for GNU $ac_path_CXXFILT
77810 case `"$ac_path_CXXFILT" --version 2>&1` in
77811 *GNU*)
77812   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77813 esac
77814
77815       $ac_path_CXXFILT_found && break 3
77816     done
77817   done
77818   done
77819 IFS=$as_save_IFS
77820   if test -z "$ac_cv_path_CXXFILT"; then
77821     :
77822   fi
77823 else
77824   ac_cv_path_CXXFILT=$CXXFILT
77825 fi
77826
77827 fi
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77829 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77830   CXXFILT=$ac_cv_path_CXXFILT
77831
77832
77833
77834  # Check whether --enable-symvers was given.
77835 if test "${enable_symvers+set}" = set; then :
77836   enableval=$enable_symvers;
77837       case "$enableval" in
77838        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77839        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77840                         esac
77841
77842 else
77843   enable_symvers=yes
77844 fi
77845
77846
77847
77848 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77849 # don't know enough about $LD to do tricks...
77850
77851 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77852 # with extern "C++" in version scripts.
77853
77854
77855 # Turn a 'yes' into a suitable default.
77856 if test x$enable_symvers = xyes ; then
77857   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77858     enable_symvers=no
77859   else
77860     if test $with_gnu_ld = yes ; then
77861       case ${target_os} in
77862         hpux*)
77863           enable_symvers=no ;;
77864         *)
77865           enable_symvers=gnu ;;
77866       esac
77867     else
77868       case ${target_os} in
77869         darwin*)
77870           enable_symvers=darwin ;;
77871         # Sun symbol versioning exists since Solaris 2.5.
77872         solaris2.[5-9]* | solaris2.1[0-9]*)
77873           # make_sunver.pl needs GNU c++filt to support extern "C++" in
77874           # version scripts, so disable symbol versioning if none can be
77875           # found.
77876           if test -z "$ac_cv_path_CXXFILT"; then
77877             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77878 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77879             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
77880 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
77881             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77882 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77883             enable_symvers=no
77884           else
77885             enable_symvers=sun
77886           fi
77887           ;;
77888         *)
77889           enable_symvers=no ;;
77890       esac
77891     fi
77892   fi
77893 fi
77894
77895 # Check to see if 'darwin' or 'darwin-export' can win.
77896 if test x$enable_symvers = xdarwin-export ; then
77897     enable_symvers=darwin
77898 fi
77899
77900 # Check if 'sun' was requested on non-Solaris 2 platforms.
77901 if test x$enable_symvers = xsun ; then
77902   case ${target_os} in
77903     solaris2*)
77904       # All fine.
77905       ;;
77906     *)
77907       # Unlikely to work.
77908       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77909 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77910       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77911 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77912       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77913 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77914       enable_symvers=no
77915       ;;
77916   esac
77917 fi
77918
77919 # Check to see if 'gnu' can win.
77920 if test $enable_symvers = gnu ||
77921   test $enable_symvers = gnu-versioned-namespace ||
77922   test $enable_symvers = sun; then
77923   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77925 $as_echo_n "checking for shared libgcc... " >&6; }
77926   ac_save_CFLAGS="$CFLAGS"
77927   CFLAGS=' -lgcc_s'
77928   if test x$gcc_no_link = xyes; then
77929   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77930 fi
77931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77932 /* end confdefs.h.  */
77933
77934 int
77935 main ()
77936 {
77937 return 0;
77938   ;
77939   return 0;
77940 }
77941 _ACEOF
77942 if ac_fn_c_try_link "$LINENO"; then :
77943   glibcxx_shared_libgcc=yes
77944 else
77945   glibcxx_shared_libgcc=no
77946 fi
77947 rm -f core conftest.err conftest.$ac_objext \
77948     conftest$ac_exeext conftest.$ac_ext
77949   CFLAGS="$ac_save_CFLAGS"
77950   if test $glibcxx_shared_libgcc = no; then
77951     cat > conftest.c <<EOF
77952 int main (void) { return 0; }
77953 EOF
77954     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77955                              -shared -shared-libgcc -o conftest.so \
77956                              conftest.c -v 2>&1 >/dev/null \
77957                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77958     rm -f conftest.c conftest.so
77959     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77960       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77961       if test x$gcc_no_link = xyes; then
77962   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77963 fi
77964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77965 /* end confdefs.h.  */
77966
77967 int
77968 main ()
77969 {
77970 return 0;
77971   ;
77972   return 0;
77973 }
77974 _ACEOF
77975 if ac_fn_c_try_link "$LINENO"; then :
77976   glibcxx_shared_libgcc=yes
77977 fi
77978 rm -f core conftest.err conftest.$ac_objext \
77979     conftest$ac_exeext conftest.$ac_ext
77980       CFLAGS="$ac_save_CFLAGS"
77981     fi
77982   fi
77983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77984 $as_echo "$glibcxx_shared_libgcc" >&6; }
77985
77986   # For GNU ld, we need at least this version.  The format is described in
77987   # GLIBCXX_CHECK_LINKER_FEATURES above.
77988   glibcxx_min_gnu_ld_version=21400
77989
77990   # If no shared libgcc, can't win.
77991   if test $glibcxx_shared_libgcc != yes; then
77992       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77993 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77994       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77995 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77996       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77997 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77998       enable_symvers=no
77999   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78000     : All interesting versions of Sun ld support sun style symbol versioning.
78001   elif test $with_gnu_ld != yes ; then
78002     # just fail for now
78003     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78004 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78005     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78006 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78007     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78008 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78009     enable_symvers=no
78010   elif test $glibcxx_ld_is_gold = yes ; then
78011     : All versions of gold support symbol versioning.
78012   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78013     # The right tools, the right setup, but too old.  Fallbacks?
78014     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78015 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78016     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78017 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78019 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78020     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78021 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78022     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78023 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78024     enable_symvers=no
78025   fi
78026 fi
78027
78028 # For libtool versioning info, format is CURRENT:REVISION:AGE
78029 libtool_VERSION=6:21:0
78030
78031 # Everything parsed; figure out what files and settings to use.
78032 case $enable_symvers in
78033   no)
78034     SYMVER_FILE=config/abi/pre/none.ver
78035     ;;
78036   gnu)
78037     SYMVER_FILE=config/abi/pre/gnu.ver
78038
78039 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78040
78041     ;;
78042   gnu-versioned-namespace)
78043     libtool_VERSION=7:0:0
78044     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78045
78046 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78047
78048     ;;
78049   darwin)
78050     SYMVER_FILE=config/abi/pre/gnu.ver
78051
78052 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78053
78054     ;;
78055   sun)
78056     SYMVER_FILE=config/abi/pre/gnu.ver
78057
78058 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78059
78060     ;;
78061 esac
78062
78063 if test x$enable_symvers != xno ; then
78064
78065 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78066
78067 fi
78068
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78070 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78071 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78072   $as_echo_n "(cached) " >&6
78073 else
78074
78075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78076 /* end confdefs.h.  */
78077 void foo (void); __asm (".symver foo, bar@SYMVER");
78078 int
78079 main ()
78080 {
78081
78082   ;
78083   return 0;
78084 }
78085 _ACEOF
78086 if ac_fn_c_try_compile "$LINENO"; then :
78087   glibcxx_cv_have_as_symver_directive=yes
78088 else
78089   glibcxx_cv_have_as_symver_directive=no
78090 fi
78091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78092 fi
78093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78094 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78095 if test $glibcxx_cv_have_as_symver_directive = yes; then
78096
78097 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78098
78099 fi
78100
78101
78102
78103
78104
78105
78106
78107
78108 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78109 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78110
78111 if test $enable_symvers != no ; then
78112    case ${target_os} in
78113      # The Solaris 2 runtime linker doesn't support the GNU extension of
78114      # binding the same symbol to different versions
78115      solaris2*)
78116        ;;
78117      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78118      *)
78119
78120 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78121
78122        ;;
78123     esac
78124 fi
78125
78126 # Now, set up compatibility support, if any.
78127 # In addition, need this to deal with std::size_t mangling in
78128 # src/compatibility.cc.  In a perfect world, could use
78129 # typeid(std::size_t).name()[0] to do direct substitution.
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78131 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78132 ac_save_CFLAGS="$CFLAGS"
78133 CFLAGS="-Werror"
78134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78135 /* end confdefs.h.  */
78136
78137 int
78138 main ()
78139 {
78140 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78141   ;
78142   return 0;
78143 }
78144 _ACEOF
78145 if ac_fn_c_try_compile "$LINENO"; then :
78146   glibcxx_size_t_is_i=yes
78147 else
78148   glibcxx_size_t_is_i=no
78149 fi
78150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78151 CFLAGS=$ac_save_CFLAGS
78152 if test "$glibcxx_size_t_is_i" = yes; then
78153
78154 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78155
78156 fi
78157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78158 $as_echo "$glibcxx_size_t_is_i" >&6; }
78159
78160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78161 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78162 ac_save_CFLAGS="$CFLAGS"
78163 CFLAGS="-Werror"
78164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78165 /* end confdefs.h.  */
78166
78167 int
78168 main ()
78169 {
78170 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78171   ;
78172   return 0;
78173 }
78174 _ACEOF
78175 if ac_fn_c_try_compile "$LINENO"; then :
78176   glibcxx_ptrdiff_t_is_i=yes
78177 else
78178   glibcxx_ptrdiff_t_is_i=no
78179 fi
78180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78181 CFLAGS=$ac_save_CFLAGS
78182 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78183
78184 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78185
78186 fi
78187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78188 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78189
78190
78191
78192
78193  # Check whether --enable-libstdcxx-visibility was given.
78194 if test "${enable_libstdcxx_visibility+set}" = set; then :
78195   enableval=$enable_libstdcxx_visibility;
78196       case "$enableval" in
78197        yes|no) ;;
78198        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78199       esac
78200
78201 else
78202   enable_libstdcxx_visibility=yes
78203 fi
78204
78205
78206
78207 if test x$enable_libstdcxx_visibility = xyes ; then
78208       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78209 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78210 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78211   $as_echo_n "(cached) " >&6
78212 else
78213
78214   save_CFLAGS="$CFLAGS"
78215   CFLAGS="$CFLAGS -Werror"
78216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78217 /* end confdefs.h.  */
78218 void __attribute__((visibility("hidden"))) foo(void) { }
78219 int
78220 main ()
78221 {
78222
78223   ;
78224   return 0;
78225 }
78226 _ACEOF
78227 if ac_fn_c_try_compile "$LINENO"; then :
78228   glibcxx_cv_have_attribute_visibility=yes
78229 else
78230   glibcxx_cv_have_attribute_visibility=no
78231 fi
78232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78233   CFLAGS="$save_CFLAGS"
78234 fi
78235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78236 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78237   if test $glibcxx_cv_have_attribute_visibility = no; then
78238     enable_libstdcxx_visibility=no
78239   fi
78240 fi
78241
78242
78243 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78244 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78245
78246
78247
78248    # Check whether --enable-libstdcxx-dual-abi was given.
78249 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78250   enableval=$enable_libstdcxx_dual_abi;
78251       case "$enableval" in
78252        yes|no) ;;
78253        *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78254       esac
78255
78256 else
78257   enable_libstdcxx_dual_abi=yes
78258 fi
78259
78260
78261   if test x$enable_symvers = xgnu-versioned-namespace; then
78262     # gnu-versioned-namespace is incompatible with the dual ABI.
78263     enable_libstdcxx_dual_abi="no"
78264   fi
78265   if test x"$enable_libstdcxx_dual_abi" != xyes; then
78266     { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78267 $as_echo "$as_me: dual ABI is disabled" >&6;}
78268     default_libstdcxx_abi="c++98"
78269   fi
78270
78271
78272
78273   if test x$enable_libstdcxx_dual_abi = xyes; then
78274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78275 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78276
78277 # Check whether --with-default-libstdcxx-abi was given.
78278 if test "${with_default_libstdcxx_abi+set}" = set; then :
78279   withval=$with_default_libstdcxx_abi; case "$withval" in
78280       c++98|gnu++98|c++03|gnu++03)  default_libstdcxx_abi="c++98" ;;
78281       c++1?|gnu++1?)  default_libstdcxx_abi="c++11" ;;
78282       *)  as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78283      esac
78284 else
78285   default_libstdcxx_abi="c++11"
78286 fi
78287
78288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78289 $as_echo "${default_libstdcxx_abi}" >&6; }
78290   fi
78291   if test $default_libstdcxx_abi = "c++11"; then
78292     glibcxx_cxx11_abi=1
78293     glibcxx_cxx98_abi=0
78294   else
78295     glibcxx_cxx11_abi=0
78296     glibcxx_cxx98_abi=1
78297   fi
78298
78299
78300
78301
78302 ac_ldbl_compat=no
78303 case "$target" in
78304   powerpc*-*-linux* | \
78305   sparc*-*-linux* | \
78306   s390*-*-linux* | \
78307   alpha*-*-linux*)
78308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78309 /* end confdefs.h.  */
78310
78311 int
78312 main ()
78313 {
78314
78315 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78316 #error no need for long double compatibility
78317 #endif
78318
78319   ;
78320   return 0;
78321 }
78322 _ACEOF
78323 if ac_fn_c_try_compile "$LINENO"; then :
78324   ac_ldbl_compat=yes
78325 else
78326   ac_ldbl_compat=no
78327 fi
78328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78329   if test "$ac_ldbl_compat" = yes; then
78330
78331 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78332
78333     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78334   fi
78335 esac
78336
78337
78338 # Check if assembler supports disabling hardware capability support.
78339
78340   test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78341
78342   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78343   # with a different meaning.
78344   case ${target_os} in
78345     solaris2*)
78346       ac_save_CFLAGS="$CFLAGS"
78347       CFLAGS="$CFLAGS -Wa,-nH"
78348
78349       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78350 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78352 /* end confdefs.h.  */
78353
78354 int
78355 main ()
78356 {
78357 return 0;
78358   ;
78359   return 0;
78360 }
78361 _ACEOF
78362 if ac_fn_c_try_compile "$LINENO"; then :
78363   ac_hwcap_flags=yes
78364 else
78365   ac_hwcap_flags=no
78366 fi
78367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78368       if test "$ac_hwcap_flags" = "yes"; then
78369         HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78370       fi
78371       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78372 $as_echo "$ac_hwcap_flags" >&6; }
78373
78374       CFLAGS="$ac_save_CFLAGS"
78375       ;;
78376   esac
78377
78378
78379
78380
78381 # Check if assembler supports rdrand opcode.
78382
78383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78384 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78385   if test "${ac_cv_x86_rdrand+set}" = set; then :
78386   $as_echo_n "(cached) " >&6
78387 else
78388
78389   ac_cv_x86_rdrand=no
78390   case "$target" in
78391     i?86-*-* | \
78392     x86_64-*-*)
78393     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h.  */
78395
78396 int
78397 main ()
78398 {
78399 asm("rdrand %eax");
78400   ;
78401   return 0;
78402 }
78403 _ACEOF
78404 if ac_fn_c_try_compile "$LINENO"; then :
78405   ac_cv_x86_rdrand=yes
78406 else
78407   ac_cv_x86_rdrand=no
78408 fi
78409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78410   esac
78411
78412 fi
78413
78414   if test $ac_cv_x86_rdrand = yes; then
78415
78416 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78417
78418   fi
78419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78420 $as_echo "$ac_cv_x86_rdrand" >&6; }
78421
78422
78423 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78424
78425   if $GLIBCXX_IS_NATIVE ; then
78426     # Do checks for resource limit functions.
78427
78428   setrlimit_have_headers=yes
78429   for ac_header in unistd.h sys/time.h sys/resource.h
78430 do :
78431   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78432 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78433 eval as_val=\$$as_ac_Header
78434    if test "x$as_val" = x""yes; then :
78435   cat >>confdefs.h <<_ACEOF
78436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78437 _ACEOF
78438
78439 else
78440   setrlimit_have_headers=no
78441 fi
78442
78443 done
78444
78445   # If don't have the headers, then we can't run the tests now, and we
78446   # won't be seeing any of these during testsuite compilation.
78447   if test $setrlimit_have_headers = yes; then
78448     # Can't do these in a loop, else the resulting syntax is wrong.
78449
78450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78451 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78453 /* end confdefs.h.  */
78454 #include <unistd.h>
78455      #include <sys/time.h>
78456      #include <sys/resource.h>
78457
78458 int
78459 main ()
78460 {
78461  int f = RLIMIT_DATA ;
78462   ;
78463   return 0;
78464 }
78465 _ACEOF
78466 if ac_fn_c_try_compile "$LINENO"; then :
78467   glibcxx_mresult=1
78468 else
78469   glibcxx_mresult=0
78470 fi
78471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78472
78473 cat >>confdefs.h <<_ACEOF
78474 #define HAVE_LIMIT_DATA $glibcxx_mresult
78475 _ACEOF
78476
78477   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78479 $as_echo "$res" >&6; }
78480
78481
78482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78483 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78485 /* end confdefs.h.  */
78486 #include <unistd.h>
78487      #include <sys/time.h>
78488      #include <sys/resource.h>
78489
78490 int
78491 main ()
78492 {
78493  int f = RLIMIT_RSS ;
78494   ;
78495   return 0;
78496 }
78497 _ACEOF
78498 if ac_fn_c_try_compile "$LINENO"; then :
78499   glibcxx_mresult=1
78500 else
78501   glibcxx_mresult=0
78502 fi
78503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78504
78505 cat >>confdefs.h <<_ACEOF
78506 #define HAVE_LIMIT_RSS $glibcxx_mresult
78507 _ACEOF
78508
78509   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78511 $as_echo "$res" >&6; }
78512
78513
78514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78515 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78517 /* end confdefs.h.  */
78518 #include <unistd.h>
78519      #include <sys/time.h>
78520      #include <sys/resource.h>
78521
78522 int
78523 main ()
78524 {
78525  int f = RLIMIT_VMEM ;
78526   ;
78527   return 0;
78528 }
78529 _ACEOF
78530 if ac_fn_c_try_compile "$LINENO"; then :
78531   glibcxx_mresult=1
78532 else
78533   glibcxx_mresult=0
78534 fi
78535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78536
78537 cat >>confdefs.h <<_ACEOF
78538 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78539 _ACEOF
78540
78541   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78543 $as_echo "$res" >&6; }
78544
78545
78546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78547 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78549 /* end confdefs.h.  */
78550 #include <unistd.h>
78551      #include <sys/time.h>
78552      #include <sys/resource.h>
78553
78554 int
78555 main ()
78556 {
78557  int f = RLIMIT_AS ;
78558   ;
78559   return 0;
78560 }
78561 _ACEOF
78562 if ac_fn_c_try_compile "$LINENO"; then :
78563   glibcxx_mresult=1
78564 else
78565   glibcxx_mresult=0
78566 fi
78567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78568
78569 cat >>confdefs.h <<_ACEOF
78570 #define HAVE_LIMIT_AS $glibcxx_mresult
78571 _ACEOF
78572
78573   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78575 $as_echo "$res" >&6; }
78576
78577
78578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78579 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78581 /* end confdefs.h.  */
78582 #include <unistd.h>
78583      #include <sys/time.h>
78584      #include <sys/resource.h>
78585
78586 int
78587 main ()
78588 {
78589  int f = RLIMIT_FSIZE ;
78590   ;
78591   return 0;
78592 }
78593 _ACEOF
78594 if ac_fn_c_try_compile "$LINENO"; then :
78595   glibcxx_mresult=1
78596 else
78597   glibcxx_mresult=0
78598 fi
78599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78600
78601 cat >>confdefs.h <<_ACEOF
78602 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78603 _ACEOF
78604
78605   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78607 $as_echo "$res" >&6; }
78608
78609
78610     # Check for rlimit, setrlimit.
78611     if test "${glibcxx_cv_setrlimit+set}" = set; then :
78612   $as_echo_n "(cached) " >&6
78613 else
78614
78615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78616 /* end confdefs.h.  */
78617 #include <unistd.h>
78618          #include <sys/time.h>
78619          #include <sys/resource.h>
78620
78621 int
78622 main ()
78623 {
78624 struct rlimit r;
78625          setrlimit(0, &r);
78626   ;
78627   return 0;
78628 }
78629 _ACEOF
78630 if ac_fn_c_try_compile "$LINENO"; then :
78631   glibcxx_cv_setrlimit=yes
78632 else
78633   glibcxx_cv_setrlimit=no
78634 fi
78635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78636
78637 fi
78638
78639   fi
78640
78641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78642 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78643   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78644     ac_res_limits=yes
78645
78646 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78647
78648   else
78649     ac_res_limits=no
78650   fi
78651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78652 $as_echo "$ac_res_limits" >&6; }
78653
78654
78655     # Look for setenv, so that extended locale tests can be performed.
78656
78657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78658 $as_echo_n "checking for setenv declaration... " >&6; }
78659   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78660     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78661   $as_echo_n "(cached) " >&6
78662 else
78663
78664
78665       ac_ext=cpp
78666 ac_cpp='$CXXCPP $CPPFLAGS'
78667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78670
78671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78672 /* end confdefs.h.  */
78673 #include <stdlib.h>
78674 int
78675 main ()
78676 {
78677  setenv(0, 0, 0);
78678   ;
78679   return 0;
78680 }
78681 _ACEOF
78682 if ac_fn_cxx_try_compile "$LINENO"; then :
78683   glibcxx_cv_func_setenv_use=yes
78684 else
78685   glibcxx_cv_func_setenv_use=no
78686 fi
78687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78688       ac_ext=c
78689 ac_cpp='$CPP $CPPFLAGS'
78690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78693
78694
78695 fi
78696
78697   fi
78698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78699 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78700   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78701     for ac_func in setenv
78702 do :
78703   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78704 if test "x$ac_cv_func_setenv" = x""yes; then :
78705   cat >>confdefs.h <<_ACEOF
78706 #define HAVE_SETENV 1
78707 _ACEOF
78708
78709 fi
78710 done
78711
78712   fi
78713
78714   fi
78715
78716   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78717      test $enable_symvers != no; then
78718     case "$host" in
78719       *-*-cygwin*)
78720         enable_abi_check=no ;;
78721       *)
78722         enable_abi_check=yes ;;
78723     esac
78724   else
78725     # Only build this as native, since automake does not understand
78726     # CXX_FOR_BUILD.
78727     enable_abi_check=no
78728   fi
78729
78730   # Export file names for ABI checking.
78731   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78732
78733   baseline_subdir_switch="$abi_baseline_subdir_switch"
78734
78735
78736
78737 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
78738
78739    # Check whether --enable-libstdcxx-threads was given.
78740 if test "${enable_libstdcxx_threads+set}" = set; then :
78741   enableval=$enable_libstdcxx_threads;
78742       case "$enableval" in
78743        yes|no) ;;
78744        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78745       esac
78746
78747 else
78748   enable_libstdcxx_threads=auto
78749 fi
78750
78751
78752
78753   if test x$enable_libstdcxx_threads = xauto ||
78754      test x$enable_libstdcxx_threads = xyes; then
78755
78756
78757   ac_ext=cpp
78758 ac_cpp='$CXXCPP $CPPFLAGS'
78759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78762
78763
78764   ac_save_CXXFLAGS="$CXXFLAGS"
78765   CXXFLAGS="$CXXFLAGS -fno-exceptions \
78766         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78767
78768   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78769   case $target_thread_file in
78770     posix)
78771       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78772   esac
78773
78774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78775 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78776
78777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78778 /* end confdefs.h.  */
78779 #include <unistd.h>
78780 int
78781 main ()
78782 {
78783
78784       // In case of POSIX threads check _POSIX_TIMEOUTS.
78785       #if (defined(_PTHREADS) \
78786           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78787       #error
78788       #endif
78789
78790   ;
78791   return 0;
78792 }
78793 _ACEOF
78794 if ac_fn_cxx_try_compile "$LINENO"; then :
78795   ac_gthread_use_mutex_timedlock=1
78796 else
78797   ac_gthread_use_mutex_timedlock=0
78798 fi
78799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78800
78801
78802 cat >>confdefs.h <<_ACEOF
78803 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78804 _ACEOF
78805
78806
78807   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78808   else res_mutex_timedlock=no ; fi
78809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78810 $as_echo "$res_mutex_timedlock" >&6; }
78811
78812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78813 $as_echo_n "checking for gthreads library... " >&6; }
78814
78815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78816 /* end confdefs.h.  */
78817 #include "gthr.h"
78818 int
78819 main ()
78820 {
78821
78822       #ifndef __GTHREADS_CXX0X
78823       #error
78824       #endif
78825
78826   ;
78827   return 0;
78828 }
78829 _ACEOF
78830 if ac_fn_cxx_try_compile "$LINENO"; then :
78831   ac_has_gthreads=yes
78832 else
78833   ac_has_gthreads=no
78834 fi
78835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78836   else
78837     ac_has_gthreads=no
78838   fi
78839
78840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78841 $as_echo "$ac_has_gthreads" >&6; }
78842
78843   if test x"$ac_has_gthreads" = x"yes"; then
78844
78845 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78846
78847
78848     # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78849     ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78850 "
78851 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78852
78853 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78854
78855 fi
78856
78857   fi
78858
78859   CXXFLAGS="$ac_save_CXXFLAGS"
78860   ac_ext=c
78861 ac_cpp='$CPP $CPPFLAGS'
78862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78865
78866
78867
78868 # Define documentation rules conditionally.
78869
78870 # See if makeinfo has been installed and is modern enough
78871 # that we can use it.
78872
78873   # Extract the first word of "makeinfo", so it can be a program name with args.
78874 set dummy makeinfo; ac_word=$2
78875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78876 $as_echo_n "checking for $ac_word... " >&6; }
78877 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78878   $as_echo_n "(cached) " >&6
78879 else
78880   if test -n "$MAKEINFO"; then
78881   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78882 else
78883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78884 for as_dir in $PATH
78885 do
78886   IFS=$as_save_IFS
78887   test -z "$as_dir" && as_dir=.
78888     for ac_exec_ext in '' $ac_executable_extensions; do
78889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78890     ac_cv_prog_MAKEINFO="makeinfo"
78891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78892     break 2
78893   fi
78894 done
78895   done
78896 IFS=$as_save_IFS
78897
78898 fi
78899 fi
78900 MAKEINFO=$ac_cv_prog_MAKEINFO
78901 if test -n "$MAKEINFO"; then
78902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78903 $as_echo "$MAKEINFO" >&6; }
78904 else
78905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78906 $as_echo "no" >&6; }
78907 fi
78908
78909
78910   if test -n "$MAKEINFO"; then
78911     # Found it, now check the version.
78912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78913 $as_echo_n "checking for modern makeinfo... " >&6; }
78914 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78915   $as_echo_n "(cached) " >&6
78916 else
78917   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78918                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78919
78920                     case $ac_prog_version in
78921                       '')  gcc_cv_prog_makeinfo_modern=no;;
78922                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
78923                       *)   gcc_cv_prog_makeinfo_modern=no;;
78924                     esac
78925
78926 fi
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78928 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78929   else
78930     gcc_cv_prog_makeinfo_modern=no
78931   fi
78932   if test $gcc_cv_prog_makeinfo_modern = no; then
78933     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78934   fi
78935
78936  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78937   BUILD_INFO_TRUE=
78938   BUILD_INFO_FALSE='#'
78939 else
78940   BUILD_INFO_TRUE='#'
78941   BUILD_INFO_FALSE=
78942 fi
78943
78944
78945 # Check for doxygen
78946 # Extract the first word of "doxygen", so it can be a program name with args.
78947 set dummy doxygen; ac_word=$2
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78949 $as_echo_n "checking for $ac_word... " >&6; }
78950 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78951   $as_echo_n "(cached) " >&6
78952 else
78953   if test -n "$DOXYGEN"; then
78954   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78955 else
78956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78957 for as_dir in $PATH
78958 do
78959   IFS=$as_save_IFS
78960   test -z "$as_dir" && as_dir=.
78961     for ac_exec_ext in '' $ac_executable_extensions; do
78962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78963     ac_cv_prog_DOXYGEN="yes"
78964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78965     break 2
78966   fi
78967 done
78968   done
78969 IFS=$as_save_IFS
78970
78971   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78972 fi
78973 fi
78974 DOXYGEN=$ac_cv_prog_DOXYGEN
78975 if test -n "$DOXYGEN"; then
78976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78977 $as_echo "$DOXYGEN" >&6; }
78978 else
78979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78980 $as_echo "no" >&6; }
78981 fi
78982
78983
78984 # Extract the first word of "dot", so it can be a program name with args.
78985 set dummy dot; ac_word=$2
78986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78987 $as_echo_n "checking for $ac_word... " >&6; }
78988 if test "${ac_cv_prog_DOT+set}" = set; then :
78989   $as_echo_n "(cached) " >&6
78990 else
78991   if test -n "$DOT"; then
78992   ac_cv_prog_DOT="$DOT" # Let the user override the test.
78993 else
78994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78995 for as_dir in $PATH
78996 do
78997   IFS=$as_save_IFS
78998   test -z "$as_dir" && as_dir=.
78999     for ac_exec_ext in '' $ac_executable_extensions; do
79000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79001     ac_cv_prog_DOT="yes"
79002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79003     break 2
79004   fi
79005 done
79006   done
79007 IFS=$as_save_IFS
79008
79009   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79010 fi
79011 fi
79012 DOT=$ac_cv_prog_DOT
79013 if test -n "$DOT"; then
79014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79015 $as_echo "$DOT" >&6; }
79016 else
79017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79018 $as_echo "no" >&6; }
79019 fi
79020
79021
79022
79023 # Check for docbook
79024 # Extract the first word of "xsltproc", so it can be a program name with args.
79025 set dummy xsltproc; ac_word=$2
79026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79027 $as_echo_n "checking for $ac_word... " >&6; }
79028 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79029   $as_echo_n "(cached) " >&6
79030 else
79031   if test -n "$XSLTPROC"; then
79032   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79033 else
79034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79035 for as_dir in $PATH
79036 do
79037   IFS=$as_save_IFS
79038   test -z "$as_dir" && as_dir=.
79039     for ac_exec_ext in '' $ac_executable_extensions; do
79040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79041     ac_cv_prog_XSLTPROC="yes"
79042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79043     break 2
79044   fi
79045 done
79046   done
79047 IFS=$as_save_IFS
79048
79049   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79050 fi
79051 fi
79052 XSLTPROC=$ac_cv_prog_XSLTPROC
79053 if test -n "$XSLTPROC"; then
79054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79055 $as_echo "$XSLTPROC" >&6; }
79056 else
79057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79058 $as_echo "no" >&6; }
79059 fi
79060
79061
79062 # Extract the first word of "xmllint", so it can be a program name with args.
79063 set dummy xmllint; ac_word=$2
79064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79065 $as_echo_n "checking for $ac_word... " >&6; }
79066 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79067   $as_echo_n "(cached) " >&6
79068 else
79069   if test -n "$XMLLINT"; then
79070   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79071 else
79072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79073 for as_dir in $PATH
79074 do
79075   IFS=$as_save_IFS
79076   test -z "$as_dir" && as_dir=.
79077     for ac_exec_ext in '' $ac_executable_extensions; do
79078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79079     ac_cv_prog_XMLLINT="yes"
79080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79081     break 2
79082   fi
79083 done
79084   done
79085 IFS=$as_save_IFS
79086
79087   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79088 fi
79089 fi
79090 XMLLINT=$ac_cv_prog_XMLLINT
79091 if test -n "$XMLLINT"; then
79092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79093 $as_echo "$XMLLINT" >&6; }
79094 else
79095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79096 $as_echo "no" >&6; }
79097 fi
79098
79099
79100
79101
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79103 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79104 glibcxx_stylesheets=no
79105 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
79106   glibcxx_stylesheets=yes
79107 fi
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79109 $as_echo "$glibcxx_stylesheets" >&6; }
79110
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79112 $as_echo_n "checking for local stylesheet directory... " >&6; }
79113 glibcxx_local_stylesheets=no
79114 if test x"$glibcxx_stylesheets" = x"yes"; then
79115   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79116     glibcxx_local_stylesheets=yes
79117     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79118   fi
79119   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79120     glibcxx_local_stylesheets=yes
79121     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79122   fi
79123   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79124     glibcxx_local_stylesheets=yes
79125     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79126   fi
79127 fi
79128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79129 $as_echo "$glibcxx_local_stylesheets" >&6; }
79130
79131 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79132
79133   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79134 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79135 else
79136   glibcxx_stylesheets=no
79137 fi
79138
79139 # Check for epub3 dependencies.
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79141 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79142 glibcxx_epub_stylesheets=no
79143 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79144    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79145       glibcxx_epub_stylesheets=yes
79146    fi
79147 fi
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79149 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79150  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79151   BUILD_EPUB_TRUE=
79152   BUILD_EPUB_FALSE='#'
79153 else
79154   BUILD_EPUB_TRUE='#'
79155   BUILD_EPUB_FALSE=
79156 fi
79157
79158
79159
79160
79161 # Check for xml/html dependencies.
79162  if test $ac_cv_prog_DOXYGEN = "yes" &&
79163                test $ac_cv_prog_DOT = "yes" &&
79164                test $ac_cv_prog_XSLTPROC = "yes" &&
79165                test $ac_cv_prog_XMLLINT = "yes" &&
79166                test $glibcxx_stylesheets = "yes"; then
79167   BUILD_XML_TRUE=
79168   BUILD_XML_FALSE='#'
79169 else
79170   BUILD_XML_TRUE='#'
79171   BUILD_XML_FALSE=
79172 fi
79173
79174
79175  if test $ac_cv_prog_DOXYGEN = "yes" &&
79176                test $ac_cv_prog_DOT = "yes" &&
79177                test $ac_cv_prog_XSLTPROC = "yes" &&
79178                test $ac_cv_prog_XMLLINT = "yes" &&
79179                test $glibcxx_stylesheets = "yes"; then
79180   BUILD_HTML_TRUE=
79181   BUILD_HTML_FALSE='#'
79182 else
79183   BUILD_HTML_TRUE='#'
79184   BUILD_HTML_FALSE=
79185 fi
79186
79187
79188 # Check for man dependencies.
79189  if test $ac_cv_prog_DOXYGEN = "yes" &&
79190                test $ac_cv_prog_DOT = "yes"; then
79191   BUILD_MAN_TRUE=
79192   BUILD_MAN_FALSE='#'
79193 else
79194   BUILD_MAN_TRUE='#'
79195   BUILD_MAN_FALSE=
79196 fi
79197
79198
79199 # Check for pdf dependencies.
79200 # Extract the first word of "dblatex", so it can be a program name with args.
79201 set dummy dblatex; ac_word=$2
79202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79203 $as_echo_n "checking for $ac_word... " >&6; }
79204 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79205   $as_echo_n "(cached) " >&6
79206 else
79207   if test -n "$DBLATEX"; then
79208   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79209 else
79210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79211 for as_dir in $PATH
79212 do
79213   IFS=$as_save_IFS
79214   test -z "$as_dir" && as_dir=.
79215     for ac_exec_ext in '' $ac_executable_extensions; do
79216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79217     ac_cv_prog_DBLATEX="yes"
79218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79219     break 2
79220   fi
79221 done
79222   done
79223 IFS=$as_save_IFS
79224
79225   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79226 fi
79227 fi
79228 DBLATEX=$ac_cv_prog_DBLATEX
79229 if test -n "$DBLATEX"; then
79230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79231 $as_echo "$DBLATEX" >&6; }
79232 else
79233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79234 $as_echo "no" >&6; }
79235 fi
79236
79237
79238 # Extract the first word of "pdflatex", so it can be a program name with args.
79239 set dummy pdflatex; ac_word=$2
79240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79241 $as_echo_n "checking for $ac_word... " >&6; }
79242 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79243   $as_echo_n "(cached) " >&6
79244 else
79245   if test -n "$PDFLATEX"; then
79246   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79247 else
79248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79249 for as_dir in $PATH
79250 do
79251   IFS=$as_save_IFS
79252   test -z "$as_dir" && as_dir=.
79253     for ac_exec_ext in '' $ac_executable_extensions; do
79254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79255     ac_cv_prog_PDFLATEX="yes"
79256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79257     break 2
79258   fi
79259 done
79260   done
79261 IFS=$as_save_IFS
79262
79263   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79264 fi
79265 fi
79266 PDFLATEX=$ac_cv_prog_PDFLATEX
79267 if test -n "$PDFLATEX"; then
79268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79269 $as_echo "$PDFLATEX" >&6; }
79270 else
79271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79272 $as_echo "no" >&6; }
79273 fi
79274
79275
79276  if test $ac_cv_prog_DBLATEX = "yes" &&
79277                test $ac_cv_prog_PDFLATEX = "yes"; then
79278   BUILD_PDF_TRUE=
79279   BUILD_PDF_FALSE='#'
79280 else
79281   BUILD_PDF_TRUE='#'
79282   BUILD_PDF_FALSE=
79283 fi
79284
79285
79286
79287 # Propagate the target-specific source directories through the build chain.
79288 ATOMICITY_SRCDIR=config/${atomicity_dir}
79289 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79290 ATOMIC_FLAGS=${atomic_flags}
79291 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79292 OS_INC_SRCDIR=config/${os_include_dir}
79293 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79294 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79295 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79296 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79297
79298
79299
79300
79301
79302
79303
79304
79305
79306
79307
79308 # Determine cross-compile flags and AM_CONDITIONALs.
79309 #AC_SUBST(GLIBCXX_IS_NATIVE)
79310 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79311     if test $is_hosted = yes; then
79312   GLIBCXX_HOSTED_TRUE=
79313   GLIBCXX_HOSTED_FALSE='#'
79314 else
79315   GLIBCXX_HOSTED_TRUE='#'
79316   GLIBCXX_HOSTED_FALSE=
79317 fi
79318
79319
79320     if test $enable_libstdcxx_pch = yes; then
79321   GLIBCXX_BUILD_PCH_TRUE=
79322   GLIBCXX_BUILD_PCH_FALSE='#'
79323 else
79324   GLIBCXX_BUILD_PCH_TRUE='#'
79325   GLIBCXX_BUILD_PCH_FALSE=
79326 fi
79327
79328
79329     if test $enable_cheaders = c; then
79330   GLIBCXX_C_HEADERS_C_TRUE=
79331   GLIBCXX_C_HEADERS_C_FALSE='#'
79332 else
79333   GLIBCXX_C_HEADERS_C_TRUE='#'
79334   GLIBCXX_C_HEADERS_C_FALSE=
79335 fi
79336
79337
79338     if test $enable_cheaders = c_std; then
79339   GLIBCXX_C_HEADERS_C_STD_TRUE=
79340   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79341 else
79342   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79343   GLIBCXX_C_HEADERS_C_STD_FALSE=
79344 fi
79345
79346
79347     if test $enable_cheaders = c_global; then
79348   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79349   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79350 else
79351   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79352   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79353 fi
79354
79355
79356     if test $c_compatibility = yes; then
79357   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79358   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79359 else
79360   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79361   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79362 fi
79363
79364
79365     if test $enable_libstdcxx_debug = yes; then
79366   GLIBCXX_BUILD_DEBUG_TRUE=
79367   GLIBCXX_BUILD_DEBUG_FALSE='#'
79368 else
79369   GLIBCXX_BUILD_DEBUG_TRUE='#'
79370   GLIBCXX_BUILD_DEBUG_FALSE=
79371 fi
79372
79373
79374     if test $enable_extern_template = yes; then
79375   ENABLE_EXTERN_TEMPLATE_TRUE=
79376   ENABLE_EXTERN_TEMPLATE_FALSE='#'
79377 else
79378   ENABLE_EXTERN_TEMPLATE_TRUE='#'
79379   ENABLE_EXTERN_TEMPLATE_FALSE=
79380 fi
79381
79382
79383     if test $python_mod_dir != no; then
79384   ENABLE_PYTHONDIR_TRUE=
79385   ENABLE_PYTHONDIR_FALSE='#'
79386 else
79387   ENABLE_PYTHONDIR_TRUE='#'
79388   ENABLE_PYTHONDIR_FALSE=
79389 fi
79390
79391
79392     if test $enable_werror = yes; then
79393   ENABLE_WERROR_TRUE=
79394   ENABLE_WERROR_FALSE='#'
79395 else
79396   ENABLE_WERROR_TRUE='#'
79397   ENABLE_WERROR_FALSE=
79398 fi
79399
79400
79401     if test $enable_vtable_verify = yes; then
79402   ENABLE_VTABLE_VERIFY_TRUE=
79403   ENABLE_VTABLE_VERIFY_FALSE='#'
79404 else
79405   ENABLE_VTABLE_VERIFY_TRUE='#'
79406   ENABLE_VTABLE_VERIFY_FALSE=
79407 fi
79408
79409
79410     if test $enable_symvers != no; then
79411   ENABLE_SYMVERS_TRUE=
79412   ENABLE_SYMVERS_FALSE='#'
79413 else
79414   ENABLE_SYMVERS_TRUE='#'
79415   ENABLE_SYMVERS_FALSE=
79416 fi
79417
79418
79419     if test $enable_symvers = gnu; then
79420   ENABLE_SYMVERS_GNU_TRUE=
79421   ENABLE_SYMVERS_GNU_FALSE='#'
79422 else
79423   ENABLE_SYMVERS_GNU_TRUE='#'
79424   ENABLE_SYMVERS_GNU_FALSE=
79425 fi
79426
79427
79428     if test $enable_symvers = gnu-versioned-namespace; then
79429   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79430   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79431 else
79432   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79433   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79434 fi
79435
79436
79437     if test $enable_symvers = darwin; then
79438   ENABLE_SYMVERS_DARWIN_TRUE=
79439   ENABLE_SYMVERS_DARWIN_FALSE='#'
79440 else
79441   ENABLE_SYMVERS_DARWIN_TRUE='#'
79442   ENABLE_SYMVERS_DARWIN_FALSE=
79443 fi
79444
79445
79446     if test $enable_symvers = sun; then
79447   ENABLE_SYMVERS_SUN_TRUE=
79448   ENABLE_SYMVERS_SUN_FALSE='#'
79449 else
79450   ENABLE_SYMVERS_SUN_TRUE='#'
79451   ENABLE_SYMVERS_SUN_FALSE=
79452 fi
79453
79454
79455     if test $enable_libstdcxx_visibility = yes; then
79456   ENABLE_VISIBILITY_TRUE=
79457   ENABLE_VISIBILITY_FALSE='#'
79458 else
79459   ENABLE_VISIBILITY_TRUE='#'
79460   ENABLE_VISIBILITY_FALSE=
79461 fi
79462
79463
79464     if test $enable_libstdcxx_dual_abi = yes; then
79465   ENABLE_DUAL_ABI_TRUE=
79466   ENABLE_DUAL_ABI_FALSE='#'
79467 else
79468   ENABLE_DUAL_ABI_TRUE='#'
79469   ENABLE_DUAL_ABI_FALSE=
79470 fi
79471
79472
79473     if test $glibcxx_cxx11_abi = 1; then
79474   ENABLE_CXX11_ABI_TRUE=
79475   ENABLE_CXX11_ABI_FALSE='#'
79476 else
79477   ENABLE_CXX11_ABI_TRUE='#'
79478   ENABLE_CXX11_ABI_FALSE=
79479 fi
79480
79481
79482     if test $ac_ldbl_compat = yes; then
79483   GLIBCXX_LDBL_COMPAT_TRUE=
79484   GLIBCXX_LDBL_COMPAT_FALSE='#'
79485 else
79486   GLIBCXX_LDBL_COMPAT_TRUE='#'
79487   GLIBCXX_LDBL_COMPAT_FALSE=
79488 fi
79489
79490
79491
79492
79493 cat >confcache <<\_ACEOF
79494 # This file is a shell script that caches the results of configure
79495 # tests run on this system so they can be shared between configure
79496 # scripts and configure runs, see configure's option --config-cache.
79497 # It is not useful on other systems.  If it contains results you don't
79498 # want to keep, you may remove or edit it.
79499 #
79500 # config.status only pays attention to the cache file if you give it
79501 # the --recheck option to rerun configure.
79502 #
79503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79505 # following values.
79506
79507 _ACEOF
79508
79509 # The following way of writing the cache mishandles newlines in values,
79510 # but we know of no workaround that is simple, portable, and efficient.
79511 # So, we kill variables containing newlines.
79512 # Ultrix sh set writes to stderr and can't be redirected directly,
79513 # and sets the high bit in the cache file unless we assign to the vars.
79514 (
79515   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79516     eval ac_val=\$$ac_var
79517     case $ac_val in #(
79518     *${as_nl}*)
79519       case $ac_var in #(
79520       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79522       esac
79523       case $ac_var in #(
79524       _ | IFS | as_nl) ;; #(
79525       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79526       *) { eval $ac_var=; unset $ac_var;} ;;
79527       esac ;;
79528     esac
79529   done
79530
79531   (set) 2>&1 |
79532     case $as_nl`(ac_space=' '; set) 2>&1` in #(
79533     *${as_nl}ac_space=\ *)
79534       # `set' does not quote correctly, so add quotes: double-quote
79535       # substitution turns \\\\ into \\, and sed turns \\ into \.
79536       sed -n \
79537         "s/'/'\\\\''/g;
79538           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79539       ;; #(
79540     *)
79541       # `set' quotes correctly as required by POSIX, so do not add quotes.
79542       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79543       ;;
79544     esac |
79545     sort
79546 ) |
79547   sed '
79548      /^ac_cv_env_/b end
79549      t clear
79550      :clear
79551      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79552      t end
79553      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79554      :end' >>confcache
79555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79556   if test -w "$cache_file"; then
79557     test "x$cache_file" != "x/dev/null" &&
79558       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79559 $as_echo "$as_me: updating cache $cache_file" >&6;}
79560     cat confcache >$cache_file
79561   else
79562     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79564   fi
79565 fi
79566 rm -f confcache
79567
79568 if test ${multilib} = yes; then
79569   multilib_arg="--enable-multilib"
79570 else
79571   multilib_arg=
79572 fi
79573
79574 # Export all the install information.
79575
79576   glibcxx_toolexecdir=no
79577   glibcxx_toolexeclibdir=no
79578   glibcxx_prefixdir=$prefix
79579
79580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79581 $as_echo_n "checking for gxx-include-dir... " >&6; }
79582
79583 # Check whether --with-gxx-include-dir was given.
79584 if test "${with_gxx_include_dir+set}" = set; then :
79585   withval=$with_gxx_include_dir; case "$withval" in
79586       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79587       no)  gxx_include_dir=no ;;
79588       *)   gxx_include_dir=$withval ;;
79589      esac
79590 else
79591   gxx_include_dir=no
79592 fi
79593
79594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79595 $as_echo "$gxx_include_dir" >&6; }
79596
79597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79598 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79599   # Check whether --enable-version-specific-runtime-libs was given.
79600 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79601   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79602       yes) version_specific_libs=yes ;;
79603       no)  version_specific_libs=no ;;
79604       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79605      esac
79606 else
79607   version_specific_libs=no
79608 fi
79609
79610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79611 $as_echo "$version_specific_libs" >&6; }
79612
79613   # Default case for install directory for include files.
79614   if test $version_specific_libs = no && test $gxx_include_dir = no; then
79615     gxx_include_dir='include/c++/${gcc_version}'
79616     if test -n "$with_cross_host" &&
79617        test x"$with_cross_host" != x"no"; then
79618       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79619     else
79620       gxx_include_dir='${prefix}/'"$gxx_include_dir"
79621     fi
79622   fi
79623
79624   # Version-specific runtime libs processing.
79625   if test $version_specific_libs = yes; then
79626     # Need the gcc compiler version to know where to install libraries
79627     # and header files if --enable-version-specific-runtime-libs option
79628     # is selected.  FIXME: these variables are misnamed, there are
79629     # no executables installed in _toolexecdir or _toolexeclibdir.
79630     if test x"$gxx_include_dir" = x"no"; then
79631       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79632     fi
79633     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79634     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79635   fi
79636
79637   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79638   # Install a library built with a cross compiler in tooldir, not libdir.
79639   if test x"$glibcxx_toolexecdir" = x"no"; then
79640     if test -n "$with_cross_host" &&
79641        test x"$with_cross_host" != x"no"; then
79642       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79643       glibcxx_toolexeclibdir='${toolexecdir}/lib'
79644     else
79645       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79646       glibcxx_toolexeclibdir='${libdir}'
79647     fi
79648     multi_os_directory=`$CXX -print-multi-os-directory`
79649     case $multi_os_directory in
79650       .) ;; # Avoid trailing /.
79651       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79652     esac
79653   fi
79654
79655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79656 $as_echo_n "checking for install location... " >&6; }
79657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79658 $as_echo "$gxx_include_dir" >&6; }
79659
79660
79661
79662
79663
79664
79665
79666 # Export all the include and flag information to Makefiles.
79667
79668   # Used for every C++ compile we perform.
79669   GLIBCXX_INCLUDES="\
79670 -I$glibcxx_builddir/include/$host_alias \
79671 -I$glibcxx_builddir/include \
79672 -I$glibcxx_srcdir/libsupc++"
79673
79674   # For Canadian crosses, pick this up too.
79675   if test $CANADIAN = yes; then
79676     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79677   fi
79678
79679   # Stuff in the actual top level.  Currently only used by libsupc++ to
79680   # get unwind* headers from the libgcc dir.
79681   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79682   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79683
79684   # Now, export this to all the little Makefiles....
79685
79686
79687
79688
79689   # Optimization flags that are probably a good idea for thrill-seekers. Just
79690   # uncomment the lines below and make, everything else is ready to go...
79691   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79692   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79693
79694
79695   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79696
79697
79698
79699 ac_config_files="$ac_config_files Makefile"
79700
79701 ac_config_files="$ac_config_files scripts/testsuite_flags"
79702
79703 ac_config_files="$ac_config_files scripts/extract_symvers"
79704
79705 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79706
79707
79708 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79709 # that multilib installs will end up installed in the correct place.
79710 # The testsuite needs it for multilib-aware ABI baseline files.
79711 # To work around this not being passed down from config-ml.in ->
79712 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79713 # append it here.  Only modify Makefiles that have just been created.
79714 #
79715 # Also, get rid of this simulated-VPATH thing that automake does.
79716 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79717
79718
79719 ac_config_commands="$ac_config_commands generate-headers"
79720
79721
79722 cat >confcache <<\_ACEOF
79723 # This file is a shell script that caches the results of configure
79724 # tests run on this system so they can be shared between configure
79725 # scripts and configure runs, see configure's option --config-cache.
79726 # It is not useful on other systems.  If it contains results you don't
79727 # want to keep, you may remove or edit it.
79728 #
79729 # config.status only pays attention to the cache file if you give it
79730 # the --recheck option to rerun configure.
79731 #
79732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79734 # following values.
79735
79736 _ACEOF
79737
79738 # The following way of writing the cache mishandles newlines in values,
79739 # but we know of no workaround that is simple, portable, and efficient.
79740 # So, we kill variables containing newlines.
79741 # Ultrix sh set writes to stderr and can't be redirected directly,
79742 # and sets the high bit in the cache file unless we assign to the vars.
79743 (
79744   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79745     eval ac_val=\$$ac_var
79746     case $ac_val in #(
79747     *${as_nl}*)
79748       case $ac_var in #(
79749       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79751       esac
79752       case $ac_var in #(
79753       _ | IFS | as_nl) ;; #(
79754       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79755       *) { eval $ac_var=; unset $ac_var;} ;;
79756       esac ;;
79757     esac
79758   done
79759
79760   (set) 2>&1 |
79761     case $as_nl`(ac_space=' '; set) 2>&1` in #(
79762     *${as_nl}ac_space=\ *)
79763       # `set' does not quote correctly, so add quotes: double-quote
79764       # substitution turns \\\\ into \\, and sed turns \\ into \.
79765       sed -n \
79766         "s/'/'\\\\''/g;
79767           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79768       ;; #(
79769     *)
79770       # `set' quotes correctly as required by POSIX, so do not add quotes.
79771       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79772       ;;
79773     esac |
79774     sort
79775 ) |
79776   sed '
79777      /^ac_cv_env_/b end
79778      t clear
79779      :clear
79780      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79781      t end
79782      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79783      :end' >>confcache
79784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79785   if test -w "$cache_file"; then
79786     test "x$cache_file" != "x/dev/null" &&
79787       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79788 $as_echo "$as_me: updating cache $cache_file" >&6;}
79789     cat confcache >$cache_file
79790   else
79791     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79792 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79793   fi
79794 fi
79795 rm -f confcache
79796
79797 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79798 # Let make expand exec_prefix.
79799 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79800
79801 DEFS=-DHAVE_CONFIG_H
79802
79803 ac_libobjs=
79804 ac_ltlibobjs=
79805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79806   # 1. Remove the extension, and $U if already installed.
79807   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79808   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79809   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
79810   #    will be set to the directory where LIBOBJS objects are built.
79811   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79812   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79813 done
79814 LIBOBJS=$ac_libobjs
79815
79816 LTLIBOBJS=$ac_ltlibobjs
79817
79818
79819  if test -n "$EXEEXT"; then
79820   am__EXEEXT_TRUE=
79821   am__EXEEXT_FALSE='#'
79822 else
79823   am__EXEEXT_TRUE='#'
79824   am__EXEEXT_FALSE=
79825 fi
79826
79827 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79828   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79830 fi
79831 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79832   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79834 fi
79835 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79836   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79838 fi
79839 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79840   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79842 fi
79843 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79844   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79846 fi
79847 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79848   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79850 fi
79851 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79852   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79854 fi
79855 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79856   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79858 fi
79859 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79860   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79862 fi
79863 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79864   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79866 fi
79867 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79868   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79870 fi
79871 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79872   as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
79873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79874 fi
79875 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79876   as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79878 fi
79879 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79880   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79882 fi
79883 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79884   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79886 fi
79887 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79888   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79890 fi
79891 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79892   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79894 fi
79895 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79896   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79898 fi
79899 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79900   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79902 fi
79903 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79904   as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79906 fi
79907 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79908   as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79910 fi
79911 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79912   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79914 fi
79915 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79916   as_fn_error "conditional \"BUILD_INFO\" was never defined.
79917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79918 fi
79919 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79920   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79922 fi
79923 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79924   as_fn_error "conditional \"BUILD_XML\" was never defined.
79925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79926 fi
79927 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79928   as_fn_error "conditional \"BUILD_HTML\" was never defined.
79929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79930 fi
79931 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79932   as_fn_error "conditional \"BUILD_MAN\" was never defined.
79933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79934 fi
79935 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79936   as_fn_error "conditional \"BUILD_PDF\" was never defined.
79937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79938 fi
79939
79940 : ${CONFIG_STATUS=./config.status}
79941 ac_write_fail=0
79942 ac_clean_files_save=$ac_clean_files
79943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79946 as_write_fail=0
79947 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79948 #! $SHELL
79949 # Generated by $as_me.
79950 # Run this file to recreate the current configuration.
79951 # Compiler output produced by configure, useful for debugging
79952 # configure, is in config.log if it exists.
79953
79954 debug=false
79955 ac_cs_recheck=false
79956 ac_cs_silent=false
79957
79958 SHELL=\${CONFIG_SHELL-$SHELL}
79959 export SHELL
79960 _ASEOF
79961 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79962 ## -------------------- ##
79963 ## M4sh Initialization. ##
79964 ## -------------------- ##
79965
79966 # Be more Bourne compatible
79967 DUALCASE=1; export DUALCASE # for MKS sh
79968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79969   emulate sh
79970   NULLCMD=:
79971   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79972   # is contrary to our usage.  Disable this feature.
79973   alias -g '${1+"$@"}'='"$@"'
79974   setopt NO_GLOB_SUBST
79975 else
79976   case `(set -o) 2>/dev/null` in #(
79977   *posix*) :
79978     set -o posix ;; #(
79979   *) :
79980      ;;
79981 esac
79982 fi
79983
79984
79985 as_nl='
79986 '
79987 export as_nl
79988 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79989 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79992 # Prefer a ksh shell builtin over an external printf program on Solaris,
79993 # but without wasting forks for bash or zsh.
79994 if test -z "$BASH_VERSION$ZSH_VERSION" \
79995     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79996   as_echo='print -r --'
79997   as_echo_n='print -rn --'
79998 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79999   as_echo='printf %s\n'
80000   as_echo_n='printf %s'
80001 else
80002   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80003     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80004     as_echo_n='/usr/ucb/echo -n'
80005   else
80006     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80007     as_echo_n_body='eval
80008       arg=$1;
80009       case $arg in #(
80010       *"$as_nl"*)
80011         expr "X$arg" : "X\\(.*\\)$as_nl";
80012         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80013       esac;
80014       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80015     '
80016     export as_echo_n_body
80017     as_echo_n='sh -c $as_echo_n_body as_echo'
80018   fi
80019   export as_echo_body
80020   as_echo='sh -c $as_echo_body as_echo'
80021 fi
80022
80023 # The user is always right.
80024 if test "${PATH_SEPARATOR+set}" != set; then
80025   PATH_SEPARATOR=:
80026   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80027     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80028       PATH_SEPARATOR=';'
80029   }
80030 fi
80031
80032
80033 # IFS
80034 # We need space, tab and new line, in precisely that order.  Quoting is
80035 # there to prevent editors from complaining about space-tab.
80036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80037 # splitting by setting IFS to empty value.)
80038 IFS=" ""        $as_nl"
80039
80040 # Find who we are.  Look in the path if we contain no directory separator.
80041 case $0 in #((
80042   *[\\/]* ) as_myself=$0 ;;
80043   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80044 for as_dir in $PATH
80045 do
80046   IFS=$as_save_IFS
80047   test -z "$as_dir" && as_dir=.
80048     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80049   done
80050 IFS=$as_save_IFS
80051
80052      ;;
80053 esac
80054 # We did not find ourselves, most probably we were run as `sh COMMAND'
80055 # in which case we are not to be found in the path.
80056 if test "x$as_myself" = x; then
80057   as_myself=$0
80058 fi
80059 if test ! -f "$as_myself"; then
80060   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80061   exit 1
80062 fi
80063
80064 # Unset variables that we do not need and which cause bugs (e.g. in
80065 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
80066 # suppresses any "Segmentation fault" message there.  '((' could
80067 # trigger a bug in pdksh 5.2.14.
80068 for as_var in BASH_ENV ENV MAIL MAILPATH
80069 do eval test x\${$as_var+set} = xset \
80070   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80071 done
80072 PS1='$ '
80073 PS2='> '
80074 PS4='+ '
80075
80076 # NLS nuisances.
80077 LC_ALL=C
80078 export LC_ALL
80079 LANGUAGE=C
80080 export LANGUAGE
80081
80082 # CDPATH.
80083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80084
80085
80086 # as_fn_error ERROR [LINENO LOG_FD]
80087 # ---------------------------------
80088 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80089 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80090 # script with status $?, using 1 if that was 0.
80091 as_fn_error ()
80092 {
80093   as_status=$?; test $as_status -eq 0 && as_status=1
80094   if test "$3"; then
80095     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80096     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80097   fi
80098   $as_echo "$as_me: error: $1" >&2
80099   as_fn_exit $as_status
80100 } # as_fn_error
80101
80102
80103 # as_fn_set_status STATUS
80104 # -----------------------
80105 # Set $? to STATUS, without forking.
80106 as_fn_set_status ()
80107 {
80108   return $1
80109 } # as_fn_set_status
80110
80111 # as_fn_exit STATUS
80112 # -----------------
80113 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80114 as_fn_exit ()
80115 {
80116   set +e
80117   as_fn_set_status $1
80118   exit $1
80119 } # as_fn_exit
80120
80121 # as_fn_unset VAR
80122 # ---------------
80123 # Portably unset VAR.
80124 as_fn_unset ()
80125 {
80126   { eval $1=; unset $1;}
80127 }
80128 as_unset=as_fn_unset
80129 # as_fn_append VAR VALUE
80130 # ----------------------
80131 # Append the text in VALUE to the end of the definition contained in VAR. Take
80132 # advantage of any shell optimizations that allow amortized linear growth over
80133 # repeated appends, instead of the typical quadratic growth present in naive
80134 # implementations.
80135 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80136   eval 'as_fn_append ()
80137   {
80138     eval $1+=\$2
80139   }'
80140 else
80141   as_fn_append ()
80142   {
80143     eval $1=\$$1\$2
80144   }
80145 fi # as_fn_append
80146
80147 # as_fn_arith ARG...
80148 # ------------------
80149 # Perform arithmetic evaluation on the ARGs, and store the result in the
80150 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80151 # must be portable across $(()) and expr.
80152 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80153   eval 'as_fn_arith ()
80154   {
80155     as_val=$(( $* ))
80156   }'
80157 else
80158   as_fn_arith ()
80159   {
80160     as_val=`expr "$@" || test $? -eq 1`
80161   }
80162 fi # as_fn_arith
80163
80164
80165 if expr a : '\(a\)' >/dev/null 2>&1 &&
80166    test "X`expr 00001 : '.*\(...\)'`" = X001; then
80167   as_expr=expr
80168 else
80169   as_expr=false
80170 fi
80171
80172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80173   as_basename=basename
80174 else
80175   as_basename=false
80176 fi
80177
80178 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80179   as_dirname=dirname
80180 else
80181   as_dirname=false
80182 fi
80183
80184 as_me=`$as_basename -- "$0" ||
80185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80186          X"$0" : 'X\(//\)$' \| \
80187          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80188 $as_echo X/"$0" |
80189     sed '/^.*\/\([^/][^/]*\)\/*$/{
80190             s//\1/
80191             q
80192           }
80193           /^X\/\(\/\/\)$/{
80194             s//\1/
80195             q
80196           }
80197           /^X\/\(\/\).*/{
80198             s//\1/
80199             q
80200           }
80201           s/.*/./; q'`
80202
80203 # Avoid depending upon Character Ranges.
80204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80207 as_cr_digits='0123456789'
80208 as_cr_alnum=$as_cr_Letters$as_cr_digits
80209
80210 ECHO_C= ECHO_N= ECHO_T=
80211 case `echo -n x` in #(((((
80212 -n*)
80213   case `echo 'xy\c'` in
80214   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
80215   xy)  ECHO_C='\c';;
80216   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
80217        ECHO_T=' ';;
80218   esac;;
80219 *)
80220   ECHO_N='-n';;
80221 esac
80222
80223 rm -f conf$$ conf$$.exe conf$$.file
80224 if test -d conf$$.dir; then
80225   rm -f conf$$.dir/conf$$.file
80226 else
80227   rm -f conf$$.dir
80228   mkdir conf$$.dir 2>/dev/null
80229 fi
80230 if (echo >conf$$.file) 2>/dev/null; then
80231   if ln -s conf$$.file conf$$ 2>/dev/null; then
80232     as_ln_s='ln -s'
80233     # ... but there are two gotchas:
80234     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80235     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80236     # In both cases, we have to default to `cp -p'.
80237     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80238       as_ln_s='cp -p'
80239   elif ln conf$$.file conf$$ 2>/dev/null; then
80240     as_ln_s=ln
80241   else
80242     as_ln_s='cp -p'
80243   fi
80244 else
80245   as_ln_s='cp -p'
80246 fi
80247 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80248 rmdir conf$$.dir 2>/dev/null
80249
80250
80251 # as_fn_mkdir_p
80252 # -------------
80253 # Create "$as_dir" as a directory, including parents if necessary.
80254 as_fn_mkdir_p ()
80255 {
80256
80257   case $as_dir in #(
80258   -*) as_dir=./$as_dir;;
80259   esac
80260   test -d "$as_dir" || eval $as_mkdir_p || {
80261     as_dirs=
80262     while :; do
80263       case $as_dir in #(
80264       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80265       *) as_qdir=$as_dir;;
80266       esac
80267       as_dirs="'$as_qdir' $as_dirs"
80268       as_dir=`$as_dirname -- "$as_dir" ||
80269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80270          X"$as_dir" : 'X\(//\)[^/]' \| \
80271          X"$as_dir" : 'X\(//\)$' \| \
80272          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80273 $as_echo X"$as_dir" |
80274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80275             s//\1/
80276             q
80277           }
80278           /^X\(\/\/\)[^/].*/{
80279             s//\1/
80280             q
80281           }
80282           /^X\(\/\/\)$/{
80283             s//\1/
80284             q
80285           }
80286           /^X\(\/\).*/{
80287             s//\1/
80288             q
80289           }
80290           s/.*/./; q'`
80291       test -d "$as_dir" && break
80292     done
80293     test -z "$as_dirs" || eval "mkdir $as_dirs"
80294   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80295
80296
80297 } # as_fn_mkdir_p
80298 if mkdir -p . 2>/dev/null; then
80299   as_mkdir_p='mkdir -p "$as_dir"'
80300 else
80301   test -d ./-p && rmdir ./-p
80302   as_mkdir_p=false
80303 fi
80304
80305 if test -x / >/dev/null 2>&1; then
80306   as_test_x='test -x'
80307 else
80308   if ls -dL / >/dev/null 2>&1; then
80309     as_ls_L_option=L
80310   else
80311     as_ls_L_option=
80312   fi
80313   as_test_x='
80314     eval sh -c '\''
80315       if test -d "$1"; then
80316         test -d "$1/.";
80317       else
80318         case $1 in #(
80319         -*)set "./$1";;
80320         esac;
80321         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80322         ???[sx]*):;;*)false;;esac;fi
80323     '\'' sh
80324   '
80325 fi
80326 as_executable_p=$as_test_x
80327
80328 # Sed expression to map a string onto a valid CPP name.
80329 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80330
80331 # Sed expression to map a string onto a valid variable name.
80332 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80333
80334
80335 exec 6>&1
80336 ## ----------------------------------- ##
80337 ## Main body of $CONFIG_STATUS script. ##
80338 ## ----------------------------------- ##
80339 _ASEOF
80340 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80341
80342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80343 # Save the log message, to keep $0 and so on meaningful, and to
80344 # report actual input values of CONFIG_FILES etc. instead of their
80345 # values after options handling.
80346 ac_log="
80347 This file was extended by package-unused $as_me version-unused, which was
80348 generated by GNU Autoconf 2.64.  Invocation command line was
80349
80350   CONFIG_FILES    = $CONFIG_FILES
80351   CONFIG_HEADERS  = $CONFIG_HEADERS
80352   CONFIG_LINKS    = $CONFIG_LINKS
80353   CONFIG_COMMANDS = $CONFIG_COMMANDS
80354   $ $0 $@
80355
80356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80357 "
80358
80359 _ACEOF
80360
80361 case $ac_config_files in *"
80362 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80363 esac
80364
80365 case $ac_config_headers in *"
80366 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80367 esac
80368
80369
80370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80371 # Files that config.status was made for.
80372 config_files="$ac_config_files"
80373 config_headers="$ac_config_headers"
80374 config_commands="$ac_config_commands"
80375
80376 _ACEOF
80377
80378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80379 ac_cs_usage="\
80380 \`$as_me' instantiates files and other configuration actions
80381 from templates according to the current configuration.  Unless the files
80382 and actions are specified as TAGs, all are instantiated by default.
80383
80384 Usage: $0 [OPTION]... [TAG]...
80385
80386   -h, --help       print this help, then exit
80387   -V, --version    print version number and configuration settings, then exit
80388   -q, --quiet, --silent
80389                    do not print progress messages
80390   -d, --debug      don't remove temporary files
80391       --recheck    update $as_me by reconfiguring in the same conditions
80392       --file=FILE[:TEMPLATE]
80393                    instantiate the configuration file FILE
80394       --header=FILE[:TEMPLATE]
80395                    instantiate the configuration header FILE
80396
80397 Configuration files:
80398 $config_files
80399
80400 Configuration headers:
80401 $config_headers
80402
80403 Configuration commands:
80404 $config_commands
80405
80406 Report bugs to the package provider."
80407
80408 _ACEOF
80409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80410 ac_cs_version="\\
80411 package-unused config.status version-unused
80412 configured by $0, generated by GNU Autoconf 2.64,
80413   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80414
80415 Copyright (C) 2009 Free Software Foundation, Inc.
80416 This config.status script is free software; the Free Software Foundation
80417 gives unlimited permission to copy, distribute and modify it."
80418
80419 ac_pwd='$ac_pwd'
80420 srcdir='$srcdir'
80421 INSTALL='$INSTALL'
80422 MKDIR_P='$MKDIR_P'
80423 AWK='$AWK'
80424 test -n "\$AWK" || AWK=awk
80425 _ACEOF
80426
80427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80428 # The default lists apply if the user does not specify any file.
80429 ac_need_defaults=:
80430 while test $# != 0
80431 do
80432   case $1 in
80433   --*=*)
80434     ac_option=`expr "X$1" : 'X\([^=]*\)='`
80435     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80436     ac_shift=:
80437     ;;
80438   *)
80439     ac_option=$1
80440     ac_optarg=$2
80441     ac_shift=shift
80442     ;;
80443   esac
80444
80445   case $ac_option in
80446   # Handling of the options.
80447   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80448     ac_cs_recheck=: ;;
80449   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80450     $as_echo "$ac_cs_version"; exit ;;
80451   --debug | --debu | --deb | --de | --d | -d )
80452     debug=: ;;
80453   --file | --fil | --fi | --f )
80454     $ac_shift
80455     case $ac_optarg in
80456     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80457     esac
80458     as_fn_append CONFIG_FILES " '$ac_optarg'"
80459     ac_need_defaults=false;;
80460   --header | --heade | --head | --hea )
80461     $ac_shift
80462     case $ac_optarg in
80463     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80464     esac
80465     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80466     ac_need_defaults=false;;
80467   --he | --h)
80468     # Conflict between --help and --header
80469     as_fn_error "ambiguous option: \`$1'
80470 Try \`$0 --help' for more information.";;
80471   --help | --hel | -h )
80472     $as_echo "$ac_cs_usage"; exit ;;
80473   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80474   | -silent | --silent | --silen | --sile | --sil | --si | --s)
80475     ac_cs_silent=: ;;
80476
80477   # This is an error.
80478   -*) as_fn_error "unrecognized option: \`$1'
80479 Try \`$0 --help' for more information." ;;
80480
80481   *) as_fn_append ac_config_targets " $1"
80482      ac_need_defaults=false ;;
80483
80484   esac
80485   shift
80486 done
80487
80488 ac_configure_extra_args=
80489
80490 if $ac_cs_silent; then
80491   exec 6>/dev/null
80492   ac_configure_extra_args="$ac_configure_extra_args --silent"
80493 fi
80494
80495 _ACEOF
80496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80497 if \$ac_cs_recheck; then
80498   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80499   shift
80500   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80501   CONFIG_SHELL='$SHELL'
80502   export CONFIG_SHELL
80503   exec "\$@"
80504 fi
80505
80506 _ACEOF
80507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80508 exec 5>>config.log
80509 {
80510   echo
80511   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80512 ## Running $as_me. ##
80513 _ASBOX
80514   $as_echo "$ac_log"
80515 } >&5
80516
80517 _ACEOF
80518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80519 #
80520 # INIT-COMMANDS
80521 #
80522
80523 srcdir="$srcdir"
80524 host="$host"
80525 target="$target"
80526 with_multisubdir="$with_multisubdir"
80527 with_multisrctop="$with_multisrctop"
80528 with_target_subdir="$with_target_subdir"
80529 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80530 multi_basedir="$multi_basedir"
80531 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80532 CC="$CC"
80533 CXX="$CXX"
80534 GFORTRAN="$GFORTRAN"
80535 GCJ="$GCJ"
80536
80537
80538 # The HP-UX ksh and POSIX shell print the target directory to stdout
80539 # if CDPATH is set.
80540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80541
80542 sed_quote_subst='$sed_quote_subst'
80543 double_quote_subst='$double_quote_subst'
80544 delay_variable_subst='$delay_variable_subst'
80545 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80546 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80547 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80548 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80549 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80550 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80551 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80552 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80553 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80554 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80555 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80556 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80557 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80558 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80559 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80560 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80561 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80562 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80563 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80564 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80565 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80566 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80567 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80568 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80569 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80570 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80571 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80572 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80573 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80574 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80575 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80576 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80577 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80578 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80579 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80580 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80581 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80582 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80583 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80584 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80585 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80586 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80587 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80588 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80589 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80590 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80591 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80592 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80593 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"`'
80594 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80595 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80596 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80597 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80598 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80599 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80600 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80601 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80602 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80603 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80604 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80605 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80606 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80607 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80608 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80609 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80610 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80611 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80612 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80613 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80614 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80615 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80616 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80617 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80618 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80619 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80620 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80621 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80622 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80623 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80624 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80625 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80626 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80627 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80628 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80629 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80630 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80631 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80632 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80633 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80634 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80635 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80636 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80637 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80638 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80639 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80640 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80641 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80642 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80643 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80644 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80645 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80646 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80647 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80648 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80649 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80650 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80651 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80652 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80653 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80654 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80655 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80656 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80657 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80658 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80659 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80660 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80661 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80662 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80663 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80664 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80665 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80666 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80667 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80668 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80669 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80670 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80671 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80672 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80673 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80674 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80675 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80676 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80677 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80678 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80679 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80680 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80681 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80682 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80683 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80684 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80685 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80686 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80687 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80688 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80689 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80690 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80691 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80692 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80693 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80694 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80695 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80696 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80697 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80698 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80699 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80700 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80701 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80702 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80703 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80704 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80705 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80706 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80707 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80708 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80709 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80710 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80711 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80712 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80713 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80714 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80715 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80716 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80717 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80718 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80719 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80720
80721 LTCC='$LTCC'
80722 LTCFLAGS='$LTCFLAGS'
80723 compiler='$compiler_DEFAULT'
80724
80725 # A function that is used when there is no print builtin or printf.
80726 func_fallback_echo ()
80727 {
80728   eval 'cat <<_LTECHO_EOF
80729 \$1
80730 _LTECHO_EOF'
80731 }
80732
80733 # Quote evaled strings.
80734 for var in SHELL \
80735 ECHO \
80736 SED \
80737 GREP \
80738 EGREP \
80739 FGREP \
80740 LD \
80741 NM \
80742 LN_S \
80743 lt_SP2NL \
80744 lt_NL2SP \
80745 reload_flag \
80746 OBJDUMP \
80747 deplibs_check_method \
80748 file_magic_cmd \
80749 AR \
80750 AR_FLAGS \
80751 STRIP \
80752 RANLIB \
80753 CC \
80754 CFLAGS \
80755 compiler \
80756 lt_cv_sys_global_symbol_pipe \
80757 lt_cv_sys_global_symbol_to_cdecl \
80758 lt_cv_sys_global_symbol_to_c_name_address \
80759 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80760 lt_prog_compiler_no_builtin_flag \
80761 lt_prog_compiler_wl \
80762 lt_prog_compiler_pic \
80763 lt_prog_compiler_static \
80764 lt_cv_prog_compiler_c_o \
80765 need_locks \
80766 DSYMUTIL \
80767 NMEDIT \
80768 LIPO \
80769 OTOOL \
80770 OTOOL64 \
80771 shrext_cmds \
80772 export_dynamic_flag_spec \
80773 whole_archive_flag_spec \
80774 compiler_needs_object \
80775 with_gnu_ld \
80776 allow_undefined_flag \
80777 no_undefined_flag \
80778 hardcode_libdir_flag_spec \
80779 hardcode_libdir_flag_spec_ld \
80780 hardcode_libdir_separator \
80781 fix_srcfile_path \
80782 exclude_expsyms \
80783 include_expsyms \
80784 file_list_spec \
80785 variables_saved_for_relink \
80786 libname_spec \
80787 library_names_spec \
80788 soname_spec \
80789 install_override_mode \
80790 finish_eval \
80791 old_striplib \
80792 striplib \
80793 compiler_lib_search_dirs \
80794 predep_objects \
80795 postdep_objects \
80796 predeps \
80797 postdeps \
80798 compiler_lib_search_path \
80799 LD_CXX \
80800 reload_flag_CXX \
80801 compiler_CXX \
80802 lt_prog_compiler_no_builtin_flag_CXX \
80803 lt_prog_compiler_wl_CXX \
80804 lt_prog_compiler_pic_CXX \
80805 lt_prog_compiler_static_CXX \
80806 lt_cv_prog_compiler_c_o_CXX \
80807 export_dynamic_flag_spec_CXX \
80808 whole_archive_flag_spec_CXX \
80809 compiler_needs_object_CXX \
80810 with_gnu_ld_CXX \
80811 allow_undefined_flag_CXX \
80812 no_undefined_flag_CXX \
80813 hardcode_libdir_flag_spec_CXX \
80814 hardcode_libdir_flag_spec_ld_CXX \
80815 hardcode_libdir_separator_CXX \
80816 fix_srcfile_path_CXX \
80817 exclude_expsyms_CXX \
80818 include_expsyms_CXX \
80819 file_list_spec_CXX \
80820 compiler_lib_search_dirs_CXX \
80821 predep_objects_CXX \
80822 postdep_objects_CXX \
80823 predeps_CXX \
80824 postdeps_CXX \
80825 compiler_lib_search_path_CXX; do
80826     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80827     *[\\\\\\\`\\"\\\$]*)
80828       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80829       ;;
80830     *)
80831       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80832       ;;
80833     esac
80834 done
80835
80836 # Double-quote double-evaled strings.
80837 for var in reload_cmds \
80838 old_postinstall_cmds \
80839 old_postuninstall_cmds \
80840 old_archive_cmds \
80841 extract_expsyms_cmds \
80842 old_archive_from_new_cmds \
80843 old_archive_from_expsyms_cmds \
80844 archive_cmds \
80845 archive_expsym_cmds \
80846 module_cmds \
80847 module_expsym_cmds \
80848 export_symbols_cmds \
80849 prelink_cmds \
80850 postinstall_cmds \
80851 postuninstall_cmds \
80852 finish_cmds \
80853 sys_lib_search_path_spec \
80854 sys_lib_dlsearch_path_spec \
80855 reload_cmds_CXX \
80856 old_archive_cmds_CXX \
80857 old_archive_from_new_cmds_CXX \
80858 old_archive_from_expsyms_cmds_CXX \
80859 archive_cmds_CXX \
80860 archive_expsym_cmds_CXX \
80861 module_cmds_CXX \
80862 module_expsym_cmds_CXX \
80863 export_symbols_cmds_CXX \
80864 prelink_cmds_CXX; do
80865     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80866     *[\\\\\\\`\\"\\\$]*)
80867       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80868       ;;
80869     *)
80870       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80871       ;;
80872     esac
80873 done
80874
80875 ac_aux_dir='$ac_aux_dir'
80876 xsi_shell='$xsi_shell'
80877 lt_shell_append='$lt_shell_append'
80878
80879 # See if we are running on zsh, and set the options which allow our
80880 # commands through without removal of \ escapes INIT.
80881 if test -n "\${ZSH_VERSION+set}" ; then
80882    setopt NO_GLOB_SUBST
80883 fi
80884
80885
80886     PACKAGE='$PACKAGE'
80887     VERSION='$VERSION'
80888     TIMESTAMP='$TIMESTAMP'
80889     RM='$RM'
80890     ofile='$ofile'
80891
80892
80893
80894
80895
80896
80897 GCC="$GCC"
80898 CC="$CC"
80899 acx_cv_header_stdint="$acx_cv_header_stdint"
80900 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80901 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80902 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80903 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80904 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80905 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80906 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80907 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80908 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80909 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80910 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80911 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80912 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80913
80914
80915 _ACEOF
80916
80917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80918
80919 # Handling of arguments.
80920 for ac_config_target in $ac_config_targets
80921 do
80922   case $ac_config_target in
80923     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80924     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80925     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80926     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80927     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80928     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80929     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80930     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80931     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80932     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80933     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80934     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80935     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80936     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80937     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80938     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80939     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80940     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80941
80942   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80943   esac
80944 done
80945
80946
80947 # If the user did not use the arguments to specify the items to instantiate,
80948 # then the envvar interface is used.  Set only those that are not.
80949 # We use the long form for the default assignment because of an extremely
80950 # bizarre bug on SunOS 4.1.3.
80951 if $ac_need_defaults; then
80952   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80953   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80954   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80955 fi
80956
80957 # Have a temporary directory for convenience.  Make it in the build tree
80958 # simply because there is no reason against having it here, and in addition,
80959 # creating and moving files from /tmp can sometimes cause problems.
80960 # Hook for its removal unless debugging.
80961 # Note that there is a small window in which the directory will not be cleaned:
80962 # after its creation but before its name has been assigned to `$tmp'.
80963 $debug ||
80964 {
80965   tmp=
80966   trap 'exit_status=$?
80967   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80968 ' 0
80969   trap 'as_fn_exit 1' 1 2 13 15
80970 }
80971 # Create a (secure) tmp directory for tmp files.
80972
80973 {
80974   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80975   test -n "$tmp" && test -d "$tmp"
80976 }  ||
80977 {
80978   tmp=./conf$$-$RANDOM
80979   (umask 077 && mkdir "$tmp")
80980 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80981
80982 # Set up the scripts for CONFIG_FILES section.
80983 # No need to generate them if there are no CONFIG_FILES.
80984 # This happens for instance with `./config.status config.h'.
80985 if test -n "$CONFIG_FILES"; then
80986
80987
80988 ac_cr=`echo X | tr X '\015'`
80989 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80990 # But we know of no other shell where ac_cr would be empty at this
80991 # point, so we can use a bashism as a fallback.
80992 if test "x$ac_cr" = x; then
80993   eval ac_cr=\$\'\\r\'
80994 fi
80995 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80996 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80997   ac_cs_awk_cr='\r'
80998 else
80999   ac_cs_awk_cr=$ac_cr
81000 fi
81001
81002 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81003 _ACEOF
81004
81005
81006 {
81007   echo "cat >conf$$subs.awk <<_ACEOF" &&
81008   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81009   echo "_ACEOF"
81010 } >conf$$subs.sh ||
81011   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81012 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81013 ac_delim='%!_!# '
81014 for ac_last_try in false false false false false :; do
81015   . ./conf$$subs.sh ||
81016     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81017
81018   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81019   if test $ac_delim_n = $ac_delim_num; then
81020     break
81021   elif $ac_last_try; then
81022     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81023   else
81024     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81025   fi
81026 done
81027 rm -f conf$$subs.sh
81028
81029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81030 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81031 _ACEOF
81032 sed -n '
81033 h
81034 s/^/S["/; s/!.*/"]=/
81035 p
81036 g
81037 s/^[^!]*!//
81038 :repl
81039 t repl
81040 s/'"$ac_delim"'$//
81041 t delim
81042 :nl
81043 h
81044 s/\(.\{148\}\).*/\1/
81045 t more1
81046 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81047 p
81048 n
81049 b repl
81050 :more1
81051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81052 p
81053 g
81054 s/.\{148\}//
81055 t nl
81056 :delim
81057 h
81058 s/\(.\{148\}\).*/\1/
81059 t more2
81060 s/["\\]/\\&/g; s/^/"/; s/$/"/
81061 p
81062 b
81063 :more2
81064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81065 p
81066 g
81067 s/.\{148\}//
81068 t delim
81069 ' <conf$$subs.awk | sed '
81070 /^[^""]/{
81071   N
81072   s/\n//
81073 }
81074 ' >>$CONFIG_STATUS || ac_write_fail=1
81075 rm -f conf$$subs.awk
81076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81077 _ACAWK
81078 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81079   for (key in S) S_is_set[key] = 1
81080   FS = "\a"
81081
81082 }
81083 {
81084   line = $ 0
81085   nfields = split(line, field, "@")
81086   substed = 0
81087   len = length(field[1])
81088   for (i = 2; i < nfields; i++) {
81089     key = field[i]
81090     keylen = length(key)
81091     if (S_is_set[key]) {
81092       value = S[key]
81093       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81094       len += length(value) + length(field[++i])
81095       substed = 1
81096     } else
81097       len += 1 + keylen
81098   }
81099
81100   print line
81101 }
81102
81103 _ACAWK
81104 _ACEOF
81105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81106 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81107   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81108 else
81109   cat
81110 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81111   || as_fn_error "could not setup config files machinery" "$LINENO" 5
81112 _ACEOF
81113
81114 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81115 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81116 # trailing colons and then remove the whole line if VPATH becomes empty
81117 # (actually we leave an empty line to preserve line numbers).
81118 if test "x$srcdir" = x.; then
81119   ac_vpsub='/^[  ]*VPATH[        ]*=/{
81120 s/:*\$(srcdir):*/:/
81121 s/:*\${srcdir}:*/:/
81122 s/:*@srcdir@:*/:/
81123 s/^\([^=]*=[     ]*\):*/\1/
81124 s/:*$//
81125 s/^[^=]*=[       ]*$//
81126 }'
81127 fi
81128
81129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81130 fi # test -n "$CONFIG_FILES"
81131
81132 # Set up the scripts for CONFIG_HEADERS section.
81133 # No need to generate them if there are no CONFIG_HEADERS.
81134 # This happens for instance with `./config.status Makefile'.
81135 if test -n "$CONFIG_HEADERS"; then
81136 cat >"$tmp/defines.awk" <<\_ACAWK ||
81137 BEGIN {
81138 _ACEOF
81139
81140 # Transform confdefs.h into an awk script `defines.awk', embedded as
81141 # here-document in config.status, that substitutes the proper values into
81142 # config.h.in to produce config.h.
81143
81144 # Create a delimiter string that does not exist in confdefs.h, to ease
81145 # handling of long lines.
81146 ac_delim='%!_!# '
81147 for ac_last_try in false false :; do
81148   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81149   if test -z "$ac_t"; then
81150     break
81151   elif $ac_last_try; then
81152     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81153   else
81154     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81155   fi
81156 done
81157
81158 # For the awk script, D is an array of macro values keyed by name,
81159 # likewise P contains macro parameters if any.  Preserve backslash
81160 # newline sequences.
81161
81162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81163 sed -n '
81164 s/.\{148\}/&'"$ac_delim"'/g
81165 t rset
81166 :rset
81167 s/^[     ]*#[    ]*define[       ][      ]*/ /
81168 t def
81169 d
81170 :def
81171 s/\\$//
81172 t bsnl
81173 s/["\\]/\\&/g
81174 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
81175 D["\1"]=" \3"/p
81176 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
81177 d
81178 :bsnl
81179 s/["\\]/\\&/g
81180 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
81181 D["\1"]=" \3\\\\\\n"\\/p
81182 t cont
81183 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81184 t cont
81185 d
81186 :cont
81187 n
81188 s/.\{148\}/&'"$ac_delim"'/g
81189 t clear
81190 :clear
81191 s/\\$//
81192 t bsnlc
81193 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81194 d
81195 :bsnlc
81196 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81197 b cont
81198 ' <confdefs.h | sed '
81199 s/'"$ac_delim"'/"\\\
81200 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81201
81202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81203   for (key in D) D_is_set[key] = 1
81204   FS = "\a"
81205 }
81206 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81207   line = \$ 0
81208   split(line, arg, " ")
81209   if (arg[1] == "#") {
81210     defundef = arg[2]
81211     mac1 = arg[3]
81212   } else {
81213     defundef = substr(arg[1], 2)
81214     mac1 = arg[2]
81215   }
81216   split(mac1, mac2, "(") #)
81217   macro = mac2[1]
81218   prefix = substr(line, 1, index(line, defundef) - 1)
81219   if (D_is_set[macro]) {
81220     # Preserve the white space surrounding the "#".
81221     print prefix "define", macro P[macro] D[macro]
81222     next
81223   } else {
81224     # Replace #undef with comments.  This is necessary, for example,
81225     # in the case of _POSIX_SOURCE, which is predefined and required
81226     # on some systems where configure will not decide to define it.
81227     if (defundef == "undef") {
81228       print "/*", prefix defundef, macro, "*/"
81229       next
81230     }
81231   }
81232 }
81233 { print }
81234 _ACAWK
81235 _ACEOF
81236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81237   as_fn_error "could not setup config headers machinery" "$LINENO" 5
81238 fi # test -n "$CONFIG_HEADERS"
81239
81240
81241 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
81242 shift
81243 for ac_tag
81244 do
81245   case $ac_tag in
81246   :[FHLC]) ac_mode=$ac_tag; continue;;
81247   esac
81248   case $ac_mode$ac_tag in
81249   :[FHL]*:*);;
81250   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81251   :[FH]-) ac_tag=-:-;;
81252   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81253   esac
81254   ac_save_IFS=$IFS
81255   IFS=:
81256   set x $ac_tag
81257   IFS=$ac_save_IFS
81258   shift
81259   ac_file=$1
81260   shift
81261
81262   case $ac_mode in
81263   :L) ac_source=$1;;
81264   :[FH])
81265     ac_file_inputs=
81266     for ac_f
81267     do
81268       case $ac_f in
81269       -) ac_f="$tmp/stdin";;
81270       *) # Look for the file first in the build tree, then in the source tree
81271          # (if the path is not absolute).  The absolute path cannot be DOS-style,
81272          # because $ac_f cannot contain `:'.
81273          test -f "$ac_f" ||
81274            case $ac_f in
81275            [\\/$]*) false;;
81276            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81277            esac ||
81278            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81279       esac
81280       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81281       as_fn_append ac_file_inputs " '$ac_f'"
81282     done
81283
81284     # Let's still pretend it is `configure' which instantiates (i.e., don't
81285     # use $as_me), people would be surprised to read:
81286     #    /* config.h.  Generated by config.status.  */
81287     configure_input='Generated from '`
81288           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81289         `' by configure.'
81290     if test x"$ac_file" != x-; then
81291       configure_input="$ac_file.  $configure_input"
81292       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81293 $as_echo "$as_me: creating $ac_file" >&6;}
81294     fi
81295     # Neutralize special characters interpreted by sed in replacement strings.
81296     case $configure_input in #(
81297     *\&* | *\|* | *\\* )
81298        ac_sed_conf_input=`$as_echo "$configure_input" |
81299        sed 's/[\\\\&|]/\\\\&/g'`;; #(
81300     *) ac_sed_conf_input=$configure_input;;
81301     esac
81302
81303     case $ac_tag in
81304     *:-:* | *:-) cat >"$tmp/stdin" \
81305       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81306     esac
81307     ;;
81308   esac
81309
81310   ac_dir=`$as_dirname -- "$ac_file" ||
81311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81312          X"$ac_file" : 'X\(//\)[^/]' \| \
81313          X"$ac_file" : 'X\(//\)$' \| \
81314          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81315 $as_echo X"$ac_file" |
81316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81317             s//\1/
81318             q
81319           }
81320           /^X\(\/\/\)[^/].*/{
81321             s//\1/
81322             q
81323           }
81324           /^X\(\/\/\)$/{
81325             s//\1/
81326             q
81327           }
81328           /^X\(\/\).*/{
81329             s//\1/
81330             q
81331           }
81332           s/.*/./; q'`
81333   as_dir="$ac_dir"; as_fn_mkdir_p
81334   ac_builddir=.
81335
81336 case "$ac_dir" in
81337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81338 *)
81339   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81340   # A ".." for each directory in $ac_dir_suffix.
81341   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81342   case $ac_top_builddir_sub in
81343   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81344   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81345   esac ;;
81346 esac
81347 ac_abs_top_builddir=$ac_pwd
81348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81349 # for backward compatibility:
81350 ac_top_builddir=$ac_top_build_prefix
81351
81352 case $srcdir in
81353   .)  # We are building in place.
81354     ac_srcdir=.
81355     ac_top_srcdir=$ac_top_builddir_sub
81356     ac_abs_top_srcdir=$ac_pwd ;;
81357   [\\/]* | ?:[\\/]* )  # Absolute name.
81358     ac_srcdir=$srcdir$ac_dir_suffix;
81359     ac_top_srcdir=$srcdir
81360     ac_abs_top_srcdir=$srcdir ;;
81361   *) # Relative name.
81362     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81363     ac_top_srcdir=$ac_top_build_prefix$srcdir
81364     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81365 esac
81366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81367
81368
81369   case $ac_mode in
81370   :F)
81371   #
81372   # CONFIG_FILE
81373   #
81374
81375   case $INSTALL in
81376   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81377   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81378   esac
81379   ac_MKDIR_P=$MKDIR_P
81380   case $MKDIR_P in
81381   [\\/$]* | ?:[\\/]* ) ;;
81382   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81383   esac
81384 _ACEOF
81385
81386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81387 # If the template does not know about datarootdir, expand it.
81388 # FIXME: This hack should be removed a few years after 2.60.
81389 ac_datarootdir_hack=; ac_datarootdir_seen=
81390 ac_sed_dataroot='
81391 /datarootdir/ {
81392   p
81393   q
81394 }
81395 /@datadir@/p
81396 /@docdir@/p
81397 /@infodir@/p
81398 /@localedir@/p
81399 /@mandir@/p'
81400 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81401 *datarootdir*) ac_datarootdir_seen=yes;;
81402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81403   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81405 _ACEOF
81406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81407   ac_datarootdir_hack='
81408   s&@datadir@&$datadir&g
81409   s&@docdir@&$docdir&g
81410   s&@infodir@&$infodir&g
81411   s&@localedir@&$localedir&g
81412   s&@mandir@&$mandir&g
81413   s&\\\${datarootdir}&$datarootdir&g' ;;
81414 esac
81415 _ACEOF
81416
81417 # Neutralize VPATH when `$srcdir' = `.'.
81418 # Shell code in configure.ac might set extrasub.
81419 # FIXME: do we really want to maintain this feature?
81420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81421 ac_sed_extra="$ac_vpsub
81422 $extrasub
81423 _ACEOF
81424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81425 :t
81426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81427 s|@configure_input@|$ac_sed_conf_input|;t t
81428 s&@top_builddir@&$ac_top_builddir_sub&;t t
81429 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81430 s&@srcdir@&$ac_srcdir&;t t
81431 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81432 s&@top_srcdir@&$ac_top_srcdir&;t t
81433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81434 s&@builddir@&$ac_builddir&;t t
81435 s&@abs_builddir@&$ac_abs_builddir&;t t
81436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81437 s&@INSTALL@&$ac_INSTALL&;t t
81438 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81439 $ac_datarootdir_hack
81440 "
81441 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81442   || as_fn_error "could not create $ac_file" "$LINENO" 5
81443
81444 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81445   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81446   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81448 which seems to be undefined.  Please make sure it is defined." >&5
81449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81450 which seems to be undefined.  Please make sure it is defined." >&2;}
81451
81452   rm -f "$tmp/stdin"
81453   case $ac_file in
81454   -) cat "$tmp/out" && rm -f "$tmp/out";;
81455   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81456   esac \
81457   || as_fn_error "could not create $ac_file" "$LINENO" 5
81458  ;;
81459   :H)
81460   #
81461   # CONFIG_HEADER
81462   #
81463   if test x"$ac_file" != x-; then
81464     {
81465       $as_echo "/* $configure_input  */" \
81466       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81467     } >"$tmp/config.h" \
81468       || as_fn_error "could not create $ac_file" "$LINENO" 5
81469     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81470       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81472     else
81473       rm -f "$ac_file"
81474       mv "$tmp/config.h" "$ac_file" \
81475         || as_fn_error "could not create $ac_file" "$LINENO" 5
81476     fi
81477   else
81478     $as_echo "/* $configure_input  */" \
81479       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81480       || as_fn_error "could not create -" "$LINENO" 5
81481   fi
81482 # Compute "$ac_file"'s index in $config_headers.
81483 _am_arg="$ac_file"
81484 _am_stamp_count=1
81485 for _am_header in $config_headers :; do
81486   case $_am_header in
81487     $_am_arg | $_am_arg:* )
81488       break ;;
81489     * )
81490       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81491   esac
81492 done
81493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81495          X"$_am_arg" : 'X\(//\)[^/]' \| \
81496          X"$_am_arg" : 'X\(//\)$' \| \
81497          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81498 $as_echo X"$_am_arg" |
81499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81500             s//\1/
81501             q
81502           }
81503           /^X\(\/\/\)[^/].*/{
81504             s//\1/
81505             q
81506           }
81507           /^X\(\/\/\)$/{
81508             s//\1/
81509             q
81510           }
81511           /^X\(\/\).*/{
81512             s//\1/
81513             q
81514           }
81515           s/.*/./; q'`/stamp-h$_am_stamp_count
81516  ;;
81517
81518   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81519 $as_echo "$as_me: executing $ac_file commands" >&6;}
81520  ;;
81521   esac
81522
81523
81524   case $ac_file$ac_mode in
81525     "default-1":C)
81526 # Only add multilib support code if we just rebuilt the top-level
81527 # Makefile.
81528 case " $CONFIG_FILES " in
81529  *" Makefile "*)
81530    ac_file=Makefile . ${multi_basedir}/config-ml.in
81531    ;;
81532 esac ;;
81533     "libtool":C)
81534
81535     # See if we are running on zsh, and set the options which allow our
81536     # commands through without removal of \ escapes.
81537     if test -n "${ZSH_VERSION+set}" ; then
81538       setopt NO_GLOB_SUBST
81539     fi
81540
81541     cfgfile="${ofile}T"
81542     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81543     $RM "$cfgfile"
81544
81545     cat <<_LT_EOF >> "$cfgfile"
81546 #! $SHELL
81547
81548 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81549 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81550 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81551 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81552 #
81553 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81554 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81555 #   Written by Gordon Matzigkeit, 1996
81556 #
81557 #   This file is part of GNU Libtool.
81558 #
81559 # GNU Libtool is free software; you can redistribute it and/or
81560 # modify it under the terms of the GNU General Public License as
81561 # published by the Free Software Foundation; either version 2 of
81562 # the License, or (at your option) any later version.
81563 #
81564 # As a special exception to the GNU General Public License,
81565 # if you distribute this file as part of a program or library that
81566 # is built using GNU Libtool, you may include this file under the
81567 # same distribution terms that you use for the rest of that program.
81568 #
81569 # GNU Libtool is distributed in the hope that it will be useful,
81570 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81571 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
81572 # GNU General Public License for more details.
81573 #
81574 # You should have received a copy of the GNU General Public License
81575 # along with GNU Libtool; see the file COPYING.  If not, a copy
81576 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81577 # obtained by writing to the Free Software Foundation, Inc.,
81578 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81579
81580
81581 # The names of the tagged configurations supported by this script.
81582 available_tags="CXX "
81583
81584 # ### BEGIN LIBTOOL CONFIG
81585
81586 # Which release of libtool.m4 was used?
81587 macro_version=$macro_version
81588 macro_revision=$macro_revision
81589
81590 # Whether or not to build shared libraries.
81591 build_libtool_libs=$enable_shared
81592
81593 # Whether or not to build static libraries.
81594 build_old_libs=$enable_static
81595
81596 # What type of objects to build.
81597 pic_mode=$pic_mode
81598
81599 # Whether or not to optimize for fast installation.
81600 fast_install=$enable_fast_install
81601
81602 # Shell to use when invoking shell scripts.
81603 SHELL=$lt_SHELL
81604
81605 # An echo program that protects backslashes.
81606 ECHO=$lt_ECHO
81607
81608 # The host system.
81609 host_alias=$host_alias
81610 host=$host
81611 host_os=$host_os
81612
81613 # The build system.
81614 build_alias=$build_alias
81615 build=$build
81616 build_os=$build_os
81617
81618 # A sed program that does not truncate output.
81619 SED=$lt_SED
81620
81621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81622 Xsed="\$SED -e 1s/^X//"
81623
81624 # A grep program that handles long lines.
81625 GREP=$lt_GREP
81626
81627 # An ERE matcher.
81628 EGREP=$lt_EGREP
81629
81630 # A literal string matcher.
81631 FGREP=$lt_FGREP
81632
81633 # A BSD- or MS-compatible name lister.
81634 NM=$lt_NM
81635
81636 # Whether we need soft or hard links.
81637 LN_S=$lt_LN_S
81638
81639 # What is the maximum length of a command?
81640 max_cmd_len=$max_cmd_len
81641
81642 # Object file suffix (normally "o").
81643 objext=$ac_objext
81644
81645 # Executable file suffix (normally "").
81646 exeext=$exeext
81647
81648 # whether the shell understands "unset".
81649 lt_unset=$lt_unset
81650
81651 # turn spaces into newlines.
81652 SP2NL=$lt_lt_SP2NL
81653
81654 # turn newlines into spaces.
81655 NL2SP=$lt_lt_NL2SP
81656
81657 # An object symbol dumper.
81658 OBJDUMP=$lt_OBJDUMP
81659
81660 # Method to check whether dependent libraries are shared objects.
81661 deplibs_check_method=$lt_deplibs_check_method
81662
81663 # Command to use when deplibs_check_method == "file_magic".
81664 file_magic_cmd=$lt_file_magic_cmd
81665
81666 # The archiver.
81667 AR=$lt_AR
81668 AR_FLAGS=$lt_AR_FLAGS
81669
81670 # A symbol stripping program.
81671 STRIP=$lt_STRIP
81672
81673 # Commands used to install an old-style archive.
81674 RANLIB=$lt_RANLIB
81675 old_postinstall_cmds=$lt_old_postinstall_cmds
81676 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81677
81678 # Whether to use a lock for old archive extraction.
81679 lock_old_archive_extraction=$lock_old_archive_extraction
81680
81681 # A C compiler.
81682 LTCC=$lt_CC
81683
81684 # LTCC compiler flags.
81685 LTCFLAGS=$lt_CFLAGS
81686
81687 # Take the output of nm and produce a listing of raw symbols and C names.
81688 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81689
81690 # Transform the output of nm in a proper C declaration.
81691 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81692
81693 # Transform the output of nm in a C name address pair.
81694 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81695
81696 # Transform the output of nm in a C name address pair when lib prefix is needed.
81697 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81698
81699 # The name of the directory that contains temporary libtool files.
81700 objdir=$objdir
81701
81702 # Used to examine libraries when file_magic_cmd begins with "file".
81703 MAGIC_CMD=$MAGIC_CMD
81704
81705 # Must we lock files when doing compilation?
81706 need_locks=$lt_need_locks
81707
81708 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81709 DSYMUTIL=$lt_DSYMUTIL
81710
81711 # Tool to change global to local symbols on Mac OS X.
81712 NMEDIT=$lt_NMEDIT
81713
81714 # Tool to manipulate fat objects and archives on Mac OS X.
81715 LIPO=$lt_LIPO
81716
81717 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81718 OTOOL=$lt_OTOOL
81719
81720 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81721 OTOOL64=$lt_OTOOL64
81722
81723 # Old archive suffix (normally "a").
81724 libext=$libext
81725
81726 # Shared library suffix (normally ".so").
81727 shrext_cmds=$lt_shrext_cmds
81728
81729 # The commands to extract the exported symbol list from a shared archive.
81730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81731
81732 # Variables whose values should be saved in libtool wrapper scripts and
81733 # restored at link time.
81734 variables_saved_for_relink=$lt_variables_saved_for_relink
81735
81736 # Do we need the "lib" prefix for modules?
81737 need_lib_prefix=$need_lib_prefix
81738
81739 # Do we need a version for libraries?
81740 need_version=$need_version
81741
81742 # Library versioning type.
81743 version_type=$version_type
81744
81745 # Shared library runtime path variable.
81746 runpath_var=$runpath_var
81747
81748 # Shared library path variable.
81749 shlibpath_var=$shlibpath_var
81750
81751 # Is shlibpath searched before the hard-coded library search path?
81752 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81753
81754 # Format of library name prefix.
81755 libname_spec=$lt_libname_spec
81756
81757 # List of archive names.  First name is the real one, the rest are links.
81758 # The last name is the one that the linker finds with -lNAME
81759 library_names_spec=$lt_library_names_spec
81760
81761 # The coded name of the library, if different from the real name.
81762 soname_spec=$lt_soname_spec
81763
81764 # Permission mode override for installation of shared libraries.
81765 install_override_mode=$lt_install_override_mode
81766
81767 # Command to use after installation of a shared archive.
81768 postinstall_cmds=$lt_postinstall_cmds
81769
81770 # Command to use after uninstallation of a shared archive.
81771 postuninstall_cmds=$lt_postuninstall_cmds
81772
81773 # Commands used to finish a libtool library installation in a directory.
81774 finish_cmds=$lt_finish_cmds
81775
81776 # As "finish_cmds", except a single script fragment to be evaled but
81777 # not shown.
81778 finish_eval=$lt_finish_eval
81779
81780 # Whether we should hardcode library paths into libraries.
81781 hardcode_into_libs=$hardcode_into_libs
81782
81783 # Compile-time system search path for libraries.
81784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81785
81786 # Run-time system search path for libraries.
81787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81788
81789 # Whether dlopen is supported.
81790 dlopen_support=$enable_dlopen
81791
81792 # Whether dlopen of programs is supported.
81793 dlopen_self=$enable_dlopen_self
81794
81795 # Whether dlopen of statically linked programs is supported.
81796 dlopen_self_static=$enable_dlopen_self_static
81797
81798 # Commands to strip libraries.
81799 old_striplib=$lt_old_striplib
81800 striplib=$lt_striplib
81801
81802
81803 # The linker used to build libraries.
81804 LD=$lt_LD
81805
81806 # How to create reloadable object files.
81807 reload_flag=$lt_reload_flag
81808 reload_cmds=$lt_reload_cmds
81809
81810 # Commands used to build an old-style archive.
81811 old_archive_cmds=$lt_old_archive_cmds
81812
81813 # A language specific compiler.
81814 CC=$lt_compiler
81815
81816 # Is the compiler the GNU compiler?
81817 with_gcc=$GCC
81818
81819 # Compiler flag to turn off builtin functions.
81820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81821
81822 # How to pass a linker flag through the compiler.
81823 wl=$lt_lt_prog_compiler_wl
81824
81825 # Additional compiler flags for building library objects.
81826 pic_flag=$lt_lt_prog_compiler_pic
81827
81828 # Compiler flag to prevent dynamic linking.
81829 link_static_flag=$lt_lt_prog_compiler_static
81830
81831 # Does compiler simultaneously support -c and -o options?
81832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81833
81834 # Whether or not to add -lc for building shared libraries.
81835 build_libtool_need_lc=$archive_cmds_need_lc
81836
81837 # Whether or not to disallow shared libs when runtime libs are static.
81838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81839
81840 # Compiler flag to allow reflexive dlopens.
81841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81842
81843 # Compiler flag to generate shared objects directly from archives.
81844 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81845
81846 # Whether the compiler copes with passing no objects directly.
81847 compiler_needs_object=$lt_compiler_needs_object
81848
81849 # Create an old-style archive from a shared archive.
81850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81851
81852 # Create a temporary old-style archive to link instead of a shared archive.
81853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81854
81855 # Commands used to build a shared archive.
81856 archive_cmds=$lt_archive_cmds
81857 archive_expsym_cmds=$lt_archive_expsym_cmds
81858
81859 # Commands used to build a loadable module if different from building
81860 # a shared archive.
81861 module_cmds=$lt_module_cmds
81862 module_expsym_cmds=$lt_module_expsym_cmds
81863
81864 # Whether we are building with GNU ld or not.
81865 with_gnu_ld=$lt_with_gnu_ld
81866
81867 # Flag that allows shared libraries with undefined symbols to be built.
81868 allow_undefined_flag=$lt_allow_undefined_flag
81869
81870 # Flag that enforces no undefined symbols.
81871 no_undefined_flag=$lt_no_undefined_flag
81872
81873 # Flag to hardcode \$libdir into a binary during linking.
81874 # This must work even if \$libdir does not exist
81875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81876
81877 # If ld is used when linking, flag to hardcode \$libdir into a binary
81878 # during linking.  This must work even if \$libdir does not exist.
81879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81880
81881 # Whether we need a single "-rpath" flag with a separated argument.
81882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81883
81884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81885 # DIR into the resulting binary.
81886 hardcode_direct=$hardcode_direct
81887
81888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81889 # DIR into the resulting binary and the resulting library dependency is
81890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81891 # library is relocated.
81892 hardcode_direct_absolute=$hardcode_direct_absolute
81893
81894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81895 # into the resulting binary.
81896 hardcode_minus_L=$hardcode_minus_L
81897
81898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81899 # into the resulting binary.
81900 hardcode_shlibpath_var=$hardcode_shlibpath_var
81901
81902 # Set to "yes" if building a shared library automatically hardcodes DIR
81903 # into the library and all subsequent libraries and executables linked
81904 # against it.
81905 hardcode_automatic=$hardcode_automatic
81906
81907 # Set to yes if linker adds runtime paths of dependent libraries
81908 # to runtime path list.
81909 inherit_rpath=$inherit_rpath
81910
81911 # Whether libtool must link a program against all its dependency libraries.
81912 link_all_deplibs=$link_all_deplibs
81913
81914 # Fix the shell variable \$srcfile for the compiler.
81915 fix_srcfile_path=$lt_fix_srcfile_path
81916
81917 # Set to "yes" if exported symbols are required.
81918 always_export_symbols=$always_export_symbols
81919
81920 # The commands to list exported symbols.
81921 export_symbols_cmds=$lt_export_symbols_cmds
81922
81923 # Symbols that should not be listed in the preloaded symbols.
81924 exclude_expsyms=$lt_exclude_expsyms
81925
81926 # Symbols that must always be exported.
81927 include_expsyms=$lt_include_expsyms
81928
81929 # Commands necessary for linking programs (against libraries) with templates.
81930 prelink_cmds=$lt_prelink_cmds
81931
81932 # Specify filename containing input files.
81933 file_list_spec=$lt_file_list_spec
81934
81935 # How to hardcode a shared library path into an executable.
81936 hardcode_action=$hardcode_action
81937
81938 # The directories searched by this compiler when creating a shared library.
81939 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81940
81941 # Dependencies to place before and after the objects being linked to
81942 # create a shared library.
81943 predep_objects=$lt_predep_objects
81944 postdep_objects=$lt_postdep_objects
81945 predeps=$lt_predeps
81946 postdeps=$lt_postdeps
81947
81948 # The library search path used internally by the compiler when linking
81949 # a shared library.
81950 compiler_lib_search_path=$lt_compiler_lib_search_path
81951
81952 # ### END LIBTOOL CONFIG
81953
81954 _LT_EOF
81955
81956   case $host_os in
81957   aix3*)
81958     cat <<\_LT_EOF >> "$cfgfile"
81959 # AIX sometimes has problems with the GCC collect2 program.  For some
81960 # reason, if we set the COLLECT_NAMES environment variable, the problems
81961 # vanish in a puff of smoke.
81962 if test "X${COLLECT_NAMES+set}" != Xset; then
81963   COLLECT_NAMES=
81964   export COLLECT_NAMES
81965 fi
81966 _LT_EOF
81967     ;;
81968   esac
81969
81970
81971 ltmain="$ac_aux_dir/ltmain.sh"
81972
81973
81974   # We use sed instead of cat because bash on DJGPP gets confused if
81975   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
81976   # text mode, it properly converts lines to CR/LF.  This bash problem
81977   # is reportedly fixed, but why not run on old versions too?
81978   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81979     || (rm -f "$cfgfile"; exit 1)
81980
81981   case $xsi_shell in
81982   yes)
81983     cat << \_LT_EOF >> "$cfgfile"
81984
81985 # func_dirname file append nondir_replacement
81986 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
81987 # otherwise set result to NONDIR_REPLACEMENT.
81988 func_dirname ()
81989 {
81990   case ${1} in
81991     */*) func_dirname_result="${1%/*}${2}" ;;
81992     *  ) func_dirname_result="${3}" ;;
81993   esac
81994 }
81995
81996 # func_basename file
81997 func_basename ()
81998 {
81999   func_basename_result="${1##*/}"
82000 }
82001
82002 # func_dirname_and_basename file append nondir_replacement
82003 # perform func_basename and func_dirname in a single function
82004 # call:
82005 #   dirname:  Compute the dirname of FILE.  If nonempty,
82006 #             add APPEND to the result, otherwise set result
82007 #             to NONDIR_REPLACEMENT.
82008 #             value returned in "$func_dirname_result"
82009 #   basename: Compute filename of FILE.
82010 #             value retuned in "$func_basename_result"
82011 # Implementation must be kept synchronized with func_dirname
82012 # and func_basename. For efficiency, we do not delegate to
82013 # those functions but instead duplicate the functionality here.
82014 func_dirname_and_basename ()
82015 {
82016   case ${1} in
82017     */*) func_dirname_result="${1%/*}${2}" ;;
82018     *  ) func_dirname_result="${3}" ;;
82019   esac
82020   func_basename_result="${1##*/}"
82021 }
82022
82023 # func_stripname prefix suffix name
82024 # strip PREFIX and SUFFIX off of NAME.
82025 # PREFIX and SUFFIX must not contain globbing or regex special
82026 # characters, hashes, percent signs, but SUFFIX may contain a leading
82027 # dot (in which case that matches only a dot).
82028 func_stripname ()
82029 {
82030   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82031   # positional parameters, so assign one to ordinary parameter first.
82032   func_stripname_result=${3}
82033   func_stripname_result=${func_stripname_result#"${1}"}
82034   func_stripname_result=${func_stripname_result%"${2}"}
82035 }
82036
82037 # func_opt_split
82038 func_opt_split ()
82039 {
82040   func_opt_split_opt=${1%%=*}
82041   func_opt_split_arg=${1#*=}
82042 }
82043
82044 # func_lo2o object
82045 func_lo2o ()
82046 {
82047   case ${1} in
82048     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82049     *)    func_lo2o_result=${1} ;;
82050   esac
82051 }
82052
82053 # func_xform libobj-or-source
82054 func_xform ()
82055 {
82056   func_xform_result=${1%.*}.lo
82057 }
82058
82059 # func_arith arithmetic-term...
82060 func_arith ()
82061 {
82062   func_arith_result=$(( $* ))
82063 }
82064
82065 # func_len string
82066 # STRING may not start with a hyphen.
82067 func_len ()
82068 {
82069   func_len_result=${#1}
82070 }
82071
82072 _LT_EOF
82073     ;;
82074   *) # Bourne compatible functions.
82075     cat << \_LT_EOF >> "$cfgfile"
82076
82077 # func_dirname file append nondir_replacement
82078 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
82079 # otherwise set result to NONDIR_REPLACEMENT.
82080 func_dirname ()
82081 {
82082   # Extract subdirectory from the argument.
82083   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82084   if test "X$func_dirname_result" = "X${1}"; then
82085     func_dirname_result="${3}"
82086   else
82087     func_dirname_result="$func_dirname_result${2}"
82088   fi
82089 }
82090
82091 # func_basename file
82092 func_basename ()
82093 {
82094   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82095 }
82096
82097
82098 # func_stripname prefix suffix name
82099 # strip PREFIX and SUFFIX off of NAME.
82100 # PREFIX and SUFFIX must not contain globbing or regex special
82101 # characters, hashes, percent signs, but SUFFIX may contain a leading
82102 # dot (in which case that matches only a dot).
82103 # func_strip_suffix prefix name
82104 func_stripname ()
82105 {
82106   case ${2} in
82107     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82108     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82109   esac
82110 }
82111
82112 # sed scripts:
82113 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82114 my_sed_long_arg='1s/^-[^=]*=//'
82115
82116 # func_opt_split
82117 func_opt_split ()
82118 {
82119   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82120   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82121 }
82122
82123 # func_lo2o object
82124 func_lo2o ()
82125 {
82126   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82127 }
82128
82129 # func_xform libobj-or-source
82130 func_xform ()
82131 {
82132   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82133 }
82134
82135 # func_arith arithmetic-term...
82136 func_arith ()
82137 {
82138   func_arith_result=`expr "$@"`
82139 }
82140
82141 # func_len string
82142 # STRING may not start with a hyphen.
82143 func_len ()
82144 {
82145   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82146 }
82147
82148 _LT_EOF
82149 esac
82150
82151 case $lt_shell_append in
82152   yes)
82153     cat << \_LT_EOF >> "$cfgfile"
82154
82155 # func_append var value
82156 # Append VALUE to the end of shell variable VAR.
82157 func_append ()
82158 {
82159   eval "$1+=\$2"
82160 }
82161 _LT_EOF
82162     ;;
82163   *)
82164     cat << \_LT_EOF >> "$cfgfile"
82165
82166 # func_append var value
82167 # Append VALUE to the end of shell variable VAR.
82168 func_append ()
82169 {
82170   eval "$1=\$$1\$2"
82171 }
82172
82173 _LT_EOF
82174     ;;
82175   esac
82176
82177
82178   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82179     || (rm -f "$cfgfile"; exit 1)
82180
82181   mv -f "$cfgfile" "$ofile" ||
82182     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82183   chmod +x "$ofile"
82184
82185
82186     cat <<_LT_EOF >> "$ofile"
82187
82188 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82189
82190 # The linker used to build libraries.
82191 LD=$lt_LD_CXX
82192
82193 # How to create reloadable object files.
82194 reload_flag=$lt_reload_flag_CXX
82195 reload_cmds=$lt_reload_cmds_CXX
82196
82197 # Commands used to build an old-style archive.
82198 old_archive_cmds=$lt_old_archive_cmds_CXX
82199
82200 # A language specific compiler.
82201 CC=$lt_compiler_CXX
82202
82203 # Is the compiler the GNU compiler?
82204 with_gcc=$GCC_CXX
82205
82206 # Compiler flag to turn off builtin functions.
82207 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82208
82209 # How to pass a linker flag through the compiler.
82210 wl=$lt_lt_prog_compiler_wl_CXX
82211
82212 # Additional compiler flags for building library objects.
82213 pic_flag=$lt_lt_prog_compiler_pic_CXX
82214
82215 # Compiler flag to prevent dynamic linking.
82216 link_static_flag=$lt_lt_prog_compiler_static_CXX
82217
82218 # Does compiler simultaneously support -c and -o options?
82219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82220
82221 # Whether or not to add -lc for building shared libraries.
82222 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82223
82224 # Whether or not to disallow shared libs when runtime libs are static.
82225 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82226
82227 # Compiler flag to allow reflexive dlopens.
82228 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82229
82230 # Compiler flag to generate shared objects directly from archives.
82231 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82232
82233 # Whether the compiler copes with passing no objects directly.
82234 compiler_needs_object=$lt_compiler_needs_object_CXX
82235
82236 # Create an old-style archive from a shared archive.
82237 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82238
82239 # Create a temporary old-style archive to link instead of a shared archive.
82240 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82241
82242 # Commands used to build a shared archive.
82243 archive_cmds=$lt_archive_cmds_CXX
82244 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82245
82246 # Commands used to build a loadable module if different from building
82247 # a shared archive.
82248 module_cmds=$lt_module_cmds_CXX
82249 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82250
82251 # Whether we are building with GNU ld or not.
82252 with_gnu_ld=$lt_with_gnu_ld_CXX
82253
82254 # Flag that allows shared libraries with undefined symbols to be built.
82255 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82256
82257 # Flag that enforces no undefined symbols.
82258 no_undefined_flag=$lt_no_undefined_flag_CXX
82259
82260 # Flag to hardcode \$libdir into a binary during linking.
82261 # This must work even if \$libdir does not exist
82262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82263
82264 # If ld is used when linking, flag to hardcode \$libdir into a binary
82265 # during linking.  This must work even if \$libdir does not exist.
82266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82267
82268 # Whether we need a single "-rpath" flag with a separated argument.
82269 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82270
82271 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82272 # DIR into the resulting binary.
82273 hardcode_direct=$hardcode_direct_CXX
82274
82275 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82276 # DIR into the resulting binary and the resulting library dependency is
82277 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82278 # library is relocated.
82279 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82280
82281 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82282 # into the resulting binary.
82283 hardcode_minus_L=$hardcode_minus_L_CXX
82284
82285 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82286 # into the resulting binary.
82287 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82288
82289 # Set to "yes" if building a shared library automatically hardcodes DIR
82290 # into the library and all subsequent libraries and executables linked
82291 # against it.
82292 hardcode_automatic=$hardcode_automatic_CXX
82293
82294 # Set to yes if linker adds runtime paths of dependent libraries
82295 # to runtime path list.
82296 inherit_rpath=$inherit_rpath_CXX
82297
82298 # Whether libtool must link a program against all its dependency libraries.
82299 link_all_deplibs=$link_all_deplibs_CXX
82300
82301 # Fix the shell variable \$srcfile for the compiler.
82302 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82303
82304 # Set to "yes" if exported symbols are required.
82305 always_export_symbols=$always_export_symbols_CXX
82306
82307 # The commands to list exported symbols.
82308 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82309
82310 # Symbols that should not be listed in the preloaded symbols.
82311 exclude_expsyms=$lt_exclude_expsyms_CXX
82312
82313 # Symbols that must always be exported.
82314 include_expsyms=$lt_include_expsyms_CXX
82315
82316 # Commands necessary for linking programs (against libraries) with templates.
82317 prelink_cmds=$lt_prelink_cmds_CXX
82318
82319 # Specify filename containing input files.
82320 file_list_spec=$lt_file_list_spec_CXX
82321
82322 # How to hardcode a shared library path into an executable.
82323 hardcode_action=$hardcode_action_CXX
82324
82325 # The directories searched by this compiler when creating a shared library.
82326 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82327
82328 # Dependencies to place before and after the objects being linked to
82329 # create a shared library.
82330 predep_objects=$lt_predep_objects_CXX
82331 postdep_objects=$lt_postdep_objects_CXX
82332 predeps=$lt_predeps_CXX
82333 postdeps=$lt_postdeps_CXX
82334
82335 # The library search path used internally by the compiler when linking
82336 # a shared library.
82337 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82338
82339 # ### END LIBTOOL TAG CONFIG: CXX
82340 _LT_EOF
82341
82342  ;;
82343     "include/gstdint.h":C)
82344 if test "$GCC" = yes; then
82345   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82346 else
82347   echo "/* generated for $CC */" > tmp-stdint.h
82348 fi
82349
82350 sed 's/^ *//' >> tmp-stdint.h <<EOF
82351
82352   #ifndef GCC_GENERATED_STDINT_H
82353   #define GCC_GENERATED_STDINT_H 1
82354
82355   #include <sys/types.h>
82356 EOF
82357
82358 if test "$acx_cv_header_stdint" != stdint.h; then
82359   echo "#include <stddef.h>" >> tmp-stdint.h
82360 fi
82361 if test "$acx_cv_header_stdint" != stddef.h; then
82362   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82363 fi
82364
82365 sed 's/^ *//' >> tmp-stdint.h <<EOF
82366   /* glibc uses these symbols as guards to prevent redefinitions.  */
82367   #ifdef __int8_t_defined
82368   #define _INT8_T
82369   #define _INT16_T
82370   #define _INT32_T
82371   #endif
82372   #ifdef __uint32_t_defined
82373   #define _UINT32_T
82374   #endif
82375
82376 EOF
82377
82378 # ----------------- done header, emit basic int types -------------
82379 if test "$acx_cv_header_stdint" = stddef.h; then
82380   sed 's/^ *//' >> tmp-stdint.h <<EOF
82381
82382     #ifndef _UINT8_T
82383     #define _UINT8_T
82384     #ifndef __uint8_t_defined
82385     #define __uint8_t_defined
82386     #ifndef uint8_t
82387     typedef unsigned $acx_cv_type_int8_t uint8_t;
82388     #endif
82389     #endif
82390     #endif
82391
82392     #ifndef _UINT16_T
82393     #define _UINT16_T
82394     #ifndef __uint16_t_defined
82395     #define __uint16_t_defined
82396     #ifndef uint16_t
82397     typedef unsigned $acx_cv_type_int16_t uint16_t;
82398     #endif
82399     #endif
82400     #endif
82401
82402     #ifndef _UINT32_T
82403     #define _UINT32_T
82404     #ifndef __uint32_t_defined
82405     #define __uint32_t_defined
82406     #ifndef uint32_t
82407     typedef unsigned $acx_cv_type_int32_t uint32_t;
82408     #endif
82409     #endif
82410     #endif
82411
82412     #ifndef _INT8_T
82413     #define _INT8_T
82414     #ifndef __int8_t_defined
82415     #define __int8_t_defined
82416     #ifndef int8_t
82417     typedef $acx_cv_type_int8_t int8_t;
82418     #endif
82419     #endif
82420     #endif
82421
82422     #ifndef _INT16_T
82423     #define _INT16_T
82424     #ifndef __int16_t_defined
82425     #define __int16_t_defined
82426     #ifndef int16_t
82427     typedef $acx_cv_type_int16_t int16_t;
82428     #endif
82429     #endif
82430     #endif
82431
82432     #ifndef _INT32_T
82433     #define _INT32_T
82434     #ifndef __int32_t_defined
82435     #define __int32_t_defined
82436     #ifndef int32_t
82437     typedef $acx_cv_type_int32_t int32_t;
82438     #endif
82439     #endif
82440     #endif
82441 EOF
82442 elif test "$ac_cv_type_u_int32_t" = yes; then
82443   sed 's/^ *//' >> tmp-stdint.h <<EOF
82444
82445     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82446     #ifndef _INT8_T
82447     #define _INT8_T
82448     #endif
82449     #ifndef _INT16_T
82450     #define _INT16_T
82451     #endif
82452     #ifndef _INT32_T
82453     #define _INT32_T
82454     #endif
82455
82456     #ifndef _UINT8_T
82457     #define _UINT8_T
82458     #ifndef __uint8_t_defined
82459     #define __uint8_t_defined
82460     #ifndef uint8_t
82461     typedef u_int8_t uint8_t;
82462     #endif
82463     #endif
82464     #endif
82465
82466     #ifndef _UINT16_T
82467     #define _UINT16_T
82468     #ifndef __uint16_t_defined
82469     #define __uint16_t_defined
82470     #ifndef uint16_t
82471     typedef u_int16_t uint16_t;
82472     #endif
82473     #endif
82474     #endif
82475
82476     #ifndef _UINT32_T
82477     #define _UINT32_T
82478     #ifndef __uint32_t_defined
82479     #define __uint32_t_defined
82480     #ifndef uint32_t
82481     typedef u_int32_t uint32_t;
82482     #endif
82483     #endif
82484     #endif
82485 EOF
82486 else
82487   sed 's/^ *//' >> tmp-stdint.h <<EOF
82488
82489     /* Some systems have guard macros to prevent redefinitions, define them.  */
82490     #ifndef _INT8_T
82491     #define _INT8_T
82492     #endif
82493     #ifndef _INT16_T
82494     #define _INT16_T
82495     #endif
82496     #ifndef _INT32_T
82497     #define _INT32_T
82498     #endif
82499     #ifndef _UINT8_T
82500     #define _UINT8_T
82501     #endif
82502     #ifndef _UINT16_T
82503     #define _UINT16_T
82504     #endif
82505     #ifndef _UINT32_T
82506     #define _UINT32_T
82507     #endif
82508 EOF
82509 fi
82510
82511 # ------------- done basic int types, emit int64_t types ------------
82512 if test "$ac_cv_type_uint64_t" = yes; then
82513   sed 's/^ *//' >> tmp-stdint.h <<EOF
82514
82515     /* system headers have good uint64_t and int64_t */
82516     #ifndef _INT64_T
82517     #define _INT64_T
82518     #endif
82519     #ifndef _UINT64_T
82520     #define _UINT64_T
82521     #endif
82522 EOF
82523 elif test "$ac_cv_type_u_int64_t" = yes; then
82524   sed 's/^ *//' >> tmp-stdint.h <<EOF
82525
82526     /* system headers have an u_int64_t (and int64_t) */
82527     #ifndef _INT64_T
82528     #define _INT64_T
82529     #endif
82530     #ifndef _UINT64_T
82531     #define _UINT64_T
82532     #ifndef __uint64_t_defined
82533     #define __uint64_t_defined
82534     #ifndef uint64_t
82535     typedef u_int64_t uint64_t;
82536     #endif
82537     #endif
82538     #endif
82539 EOF
82540 elif test -n "$acx_cv_type_int64_t"; then
82541   sed 's/^ *//' >> tmp-stdint.h <<EOF
82542
82543     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82544     #ifndef _INT64_T
82545     #define _INT64_T
82546     #ifndef int64_t
82547     typedef $acx_cv_type_int64_t int64_t;
82548     #endif
82549     #endif
82550     #ifndef _UINT64_T
82551     #define _UINT64_T
82552     #ifndef __uint64_t_defined
82553     #define __uint64_t_defined
82554     #ifndef uint64_t
82555     typedef unsigned $acx_cv_type_int64_t uint64_t;
82556     #endif
82557     #endif
82558     #endif
82559 EOF
82560 else
82561   sed 's/^ *//' >> tmp-stdint.h <<EOF
82562
82563     /* some common heuristics for int64_t, using compiler-specific tests */
82564     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82565     #ifndef _INT64_T
82566     #define _INT64_T
82567     #ifndef __int64_t_defined
82568     #ifndef int64_t
82569     typedef long long int64_t;
82570     #endif
82571     #endif
82572     #endif
82573     #ifndef _UINT64_T
82574     #define _UINT64_T
82575     #ifndef uint64_t
82576     typedef unsigned long long uint64_t;
82577     #endif
82578     #endif
82579
82580     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82581     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82582        does not implement __extension__.  But that compiler doesn't define
82583        __GNUC_MINOR__.  */
82584     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82585     # define __extension__
82586     # endif
82587
82588     # ifndef _INT64_T
82589     # define _INT64_T
82590     # ifndef int64_t
82591     __extension__ typedef long long int64_t;
82592     # endif
82593     # endif
82594     # ifndef _UINT64_T
82595     # define _UINT64_T
82596     # ifndef uint64_t
82597     __extension__ typedef unsigned long long uint64_t;
82598     # endif
82599     # endif
82600
82601     #elif !defined __STRICT_ANSI__
82602     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82603
82604     #  ifndef _INT64_T
82605     #  define _INT64_T
82606     #  ifndef int64_t
82607     typedef __int64 int64_t;
82608     #  endif
82609     #  endif
82610     #  ifndef _UINT64_T
82611     #  define _UINT64_T
82612     #  ifndef uint64_t
82613     typedef unsigned __int64 uint64_t;
82614     #  endif
82615     #  endif
82616     # endif /* compiler */
82617
82618     #endif /* ANSI version */
82619 EOF
82620 fi
82621
82622 # ------------- done int64_t types, emit intptr types ------------
82623 if test "$ac_cv_type_uintptr_t" != yes; then
82624   sed 's/^ *//' >> tmp-stdint.h <<EOF
82625
82626     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82627     #ifndef __uintptr_t_defined
82628     #ifndef uintptr_t
82629     typedef u$acx_cv_type_intptr_t uintptr_t;
82630     #endif
82631     #endif
82632     #ifndef __intptr_t_defined
82633     #ifndef intptr_t
82634     typedef $acx_cv_type_intptr_t  intptr_t;
82635     #endif
82636     #endif
82637 EOF
82638 fi
82639
82640 # ------------- done intptr types, emit int_least types ------------
82641 if test "$ac_cv_type_int_least32_t" != yes; then
82642   sed 's/^ *//' >> tmp-stdint.h <<EOF
82643
82644     /* Define int_least types */
82645     typedef int8_t     int_least8_t;
82646     typedef int16_t    int_least16_t;
82647     typedef int32_t    int_least32_t;
82648     #ifdef _INT64_T
82649     typedef int64_t    int_least64_t;
82650     #endif
82651
82652     typedef uint8_t    uint_least8_t;
82653     typedef uint16_t   uint_least16_t;
82654     typedef uint32_t   uint_least32_t;
82655     #ifdef _UINT64_T
82656     typedef uint64_t   uint_least64_t;
82657     #endif
82658 EOF
82659 fi
82660
82661 # ------------- done intptr types, emit int_fast types ------------
82662 if test "$ac_cv_type_int_fast32_t" != yes; then
82663       sed 's/^ *//' >> tmp-stdint.h <<EOF
82664
82665     /* Define int_fast types.  short is often slow */
82666     typedef int8_t       int_fast8_t;
82667     typedef int          int_fast16_t;
82668     typedef int32_t      int_fast32_t;
82669     #ifdef _INT64_T
82670     typedef int64_t      int_fast64_t;
82671     #endif
82672
82673     typedef uint8_t      uint_fast8_t;
82674     typedef unsigned int uint_fast16_t;
82675     typedef uint32_t     uint_fast32_t;
82676     #ifdef _UINT64_T
82677     typedef uint64_t     uint_fast64_t;
82678     #endif
82679 EOF
82680 fi
82681
82682 if test "$ac_cv_type_uintmax_t" != yes; then
82683   sed 's/^ *//' >> tmp-stdint.h <<EOF
82684
82685     /* Define intmax based on what we found */
82686     #ifndef intmax_t
82687     #ifdef _INT64_T
82688     typedef int64_t       intmax_t;
82689     #else
82690     typedef long          intmax_t;
82691     #endif
82692     #endif
82693     #ifndef uintmax_t
82694     #ifdef _UINT64_T
82695     typedef uint64_t      uintmax_t;
82696     #else
82697     typedef unsigned long uintmax_t;
82698     #endif
82699     #endif
82700 EOF
82701 fi
82702
82703 sed 's/^ *//' >> tmp-stdint.h <<EOF
82704
82705   #endif /* GCC_GENERATED_STDINT_H */
82706 EOF
82707
82708 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82709   rm -f tmp-stdint.h
82710 else
82711   mv -f tmp-stdint.h include/gstdint.h
82712 fi
82713
82714  ;;
82715     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82716     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82717     "include/Makefile":F) cat > vpsed$$ << \_EOF
82718 s!`test -f '$<' || echo '$(srcdir)/'`!!
82719 _EOF
82720    sed -f vpsed$$ $ac_file > tmp$$
82721    mv tmp$$ $ac_file
82722    rm vpsed$$
82723    echo 'MULTISUBDIR =' >> $ac_file
82724    ml_norecursion=yes
82725    . ${multi_basedir}/config-ml.in
82726    { ml_norecursion=; unset ml_norecursion;}
82727  ;;
82728     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82729 s!`test -f '$<' || echo '$(srcdir)/'`!!
82730 _EOF
82731    sed -f vpsed$$ $ac_file > tmp$$
82732    mv tmp$$ $ac_file
82733    rm vpsed$$
82734    echo 'MULTISUBDIR =' >> $ac_file
82735    ml_norecursion=yes
82736    . ${multi_basedir}/config-ml.in
82737    { ml_norecursion=; unset ml_norecursion;}
82738  ;;
82739     "python/Makefile":F) cat > vpsed$$ << \_EOF
82740 s!`test -f '$<' || echo '$(srcdir)/'`!!
82741 _EOF
82742    sed -f vpsed$$ $ac_file > tmp$$
82743    mv tmp$$ $ac_file
82744    rm vpsed$$
82745    echo 'MULTISUBDIR =' >> $ac_file
82746    ml_norecursion=yes
82747    . ${multi_basedir}/config-ml.in
82748    { ml_norecursion=; unset ml_norecursion;}
82749  ;;
82750     "src/Makefile":F) cat > vpsed$$ << \_EOF
82751 s!`test -f '$<' || echo '$(srcdir)/'`!!
82752 _EOF
82753    sed -f vpsed$$ $ac_file > tmp$$
82754    mv tmp$$ $ac_file
82755    rm vpsed$$
82756    echo 'MULTISUBDIR =' >> $ac_file
82757    ml_norecursion=yes
82758    . ${multi_basedir}/config-ml.in
82759    { ml_norecursion=; unset ml_norecursion;}
82760  ;;
82761     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82762 s!`test -f '$<' || echo '$(srcdir)/'`!!
82763 _EOF
82764    sed -f vpsed$$ $ac_file > tmp$$
82765    mv tmp$$ $ac_file
82766    rm vpsed$$
82767    echo 'MULTISUBDIR =' >> $ac_file
82768    ml_norecursion=yes
82769    . ${multi_basedir}/config-ml.in
82770    { ml_norecursion=; unset ml_norecursion;}
82771  ;;
82772     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82773 s!`test -f '$<' || echo '$(srcdir)/'`!!
82774 _EOF
82775    sed -f vpsed$$ $ac_file > tmp$$
82776    mv tmp$$ $ac_file
82777    rm vpsed$$
82778    echo 'MULTISUBDIR =' >> $ac_file
82779    ml_norecursion=yes
82780    . ${multi_basedir}/config-ml.in
82781    { ml_norecursion=; unset ml_norecursion;}
82782  ;;
82783     "doc/Makefile":F) cat > vpsed$$ << \_EOF
82784 s!`test -f '$<' || echo '$(srcdir)/'`!!
82785 _EOF
82786    sed -f vpsed$$ $ac_file > tmp$$
82787    mv tmp$$ $ac_file
82788    rm vpsed$$
82789    echo 'MULTISUBDIR =' >> $ac_file
82790    ml_norecursion=yes
82791    . ${multi_basedir}/config-ml.in
82792    { ml_norecursion=; unset ml_norecursion;}
82793  ;;
82794     "po/Makefile":F) cat > vpsed$$ << \_EOF
82795 s!`test -f '$<' || echo '$(srcdir)/'`!!
82796 _EOF
82797    sed -f vpsed$$ $ac_file > tmp$$
82798    mv tmp$$ $ac_file
82799    rm vpsed$$
82800    echo 'MULTISUBDIR =' >> $ac_file
82801    ml_norecursion=yes
82802    . ${multi_basedir}/config-ml.in
82803    { ml_norecursion=; unset ml_norecursion;}
82804  ;;
82805     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82806 s!`test -f '$<' || echo '$(srcdir)/'`!!
82807 _EOF
82808    sed -f vpsed$$ $ac_file > tmp$$
82809    mv tmp$$ $ac_file
82810    rm vpsed$$
82811    echo 'MULTISUBDIR =' >> $ac_file
82812    ml_norecursion=yes
82813    . ${multi_basedir}/config-ml.in
82814    { ml_norecursion=; unset ml_norecursion;}
82815  ;;
82816     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82817
82818   esac
82819 done # for ac_tag
82820
82821
82822 as_fn_exit 0
82823 _ACEOF
82824 ac_clean_files=$ac_clean_files_save
82825
82826 test $ac_write_fail = 0 ||
82827   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82828
82829
82830 # configure is writing to config.log, and then calls config.status.
82831 # config.status does its own redirection, appending to config.log.
82832 # Unfortunately, on DOS this fails, as config.log is still kept open
82833 # by configure, so config.status won't be able to write to it; its
82834 # output is simply discarded.  So we exec the FD to /dev/null,
82835 # effectively closing config.log, so it can be properly (re)opened and
82836 # appended to by config.status.  When coming back to configure, we
82837 # need to make the FD available again.
82838 if test "$no_create" != yes; then
82839   ac_cs_success=:
82840   ac_config_status_args=
82841   test "$silent" = yes &&
82842     ac_config_status_args="$ac_config_status_args --quiet"
82843   exec 5>/dev/null
82844   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82845   exec 5>>config.log
82846   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82847   # would make configure fail if this is the last instruction.
82848   $ac_cs_success || as_fn_exit $?
82849 fi
82850 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82851   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82852 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82853 fi
82854