fb3bf675bbc8a58ddd96840ff7703948c59851ff
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
641 DOT
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 WERROR
732 thread_header
733 glibcxx_PCHFLAGS
734 GLIBCXX_BUILD_PCH_FALSE
735 GLIBCXX_BUILD_PCH_TRUE
736 GLIBCXX_HOSTED_FALSE
737 GLIBCXX_HOSTED_TRUE
738 glibcxx_compiler_shared_flag
739 glibcxx_compiler_pic_flag
740 glibcxx_lt_pic_flag
741 enable_static
742 enable_shared
743 lt_host_flags
744 CXXCPP
745 OTOOL64
746 OTOOL
747 LIPO
748 NMEDIT
749 DSYMUTIL
750 OBJDUMP
751 NM
752 ac_ct_DUMPBIN
753 DUMPBIN
754 LD
755 FGREP
756 SED
757 LIBTOOL
758 EGREP
759 GREP
760 CPP
761 MAINT
762 MAINTAINER_MODE_FALSE
763 MAINTAINER_MODE_TRUE
764 RANLIB
765 AR
766 AS
767 LN_S
768 toplevel_srcdir
769 toplevel_builddir
770 glibcxx_srcdir
771 glibcxx_builddir
772 ac_ct_CXX
773 CXXFLAGS
774 CXX
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
781 CC
782 am__untar
783 am__tar
784 AMTAR
785 am__leading_dot
786 SET_MAKE
787 AWK
788 mkdir_p
789 MKDIR_P
790 INSTALL_STRIP_PROGRAM
791 STRIP
792 install_sh
793 MAKEINFO
794 AUTOHEADER
795 AUTOMAKE
796 AUTOCONF
797 ACLOCAL
798 VERSION
799 PACKAGE
800 CYGPATH_W
801 am__isrc
802 INSTALL_DATA
803 INSTALL_SCRIPT
804 INSTALL_PROGRAM
805 target_os
806 target_vendor
807 target_cpu
808 target
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 multi_basedir
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_multilib
860 with_target_subdir
861 with_cross_host
862 with_newlib
863 enable_maintainer_mode
864 enable_shared
865 enable_static
866 with_pic
867 enable_fast_install
868 with_gnu_ld
869 enable_libtool_lock
870 enable_hosted_libstdcxx
871 enable_libstdcxx_verbose
872 enable_libstdcxx_pch
873 enable_cstdio
874 enable_clocale
875 enable_nls
876 enable_libstdcxx_allocator
877 enable_cheaders
878 enable_long_long
879 enable_wchar_t
880 enable_c99
881 enable_concept_checks
882 enable_libstdcxx_debug_flags
883 enable_libstdcxx_debug
884 enable_cxx_flags
885 enable_fully_dynamic_string
886 enable_extern_template
887 with_python_dir
888 enable_werror
889 enable_vtable_verify
890 enable_libstdcxx_time
891 enable_tls
892 enable_rpath
893 with_libiconv_prefix
894 with_system_libunwind
895 enable_linux_futex
896 enable_symvers
897 enable_libstdcxx_visibility
898 enable_libstdcxx_dual_abi
899 with_default_libstdcxx_abi
900 enable_libstdcxx_threads
901 enable_libstdcxx_filesystem_ts
902 enable_cet
903 with_gxx_include_dir
904 enable_version_specific_runtime_libs
905 with_gcc_major_version_only
906 '
907       ac_precious_vars='build_alias
908 host_alias
909 target_alias
910 CC
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
915 CXX
916 CXXFLAGS
917 CCC
918 CPP
919 CXXCPP
920 CXXFILT'
921
922
923 # Initialize some variables set by options.
924 ac_init_help=
925 ac_init_version=false
926 ac_unrecognized_opts=
927 ac_unrecognized_sep=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
930 cache_file=/dev/null
931 exec_prefix=NONE
932 no_create=
933 no_recursion=
934 prefix=NONE
935 program_prefix=NONE
936 program_suffix=NONE
937 program_transform_name=s,x,x,
938 silent=
939 site=
940 srcdir=
941 verbose=
942 x_includes=NONE
943 x_libraries=NONE
944
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
963 htmldir='${docdir}'
964 dvidir='${docdir}'
965 pdfdir='${docdir}'
966 psdir='${docdir}'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
970
971 ac_prev=
972 ac_dashdash=
973 for ac_option
974 do
975   # If the previous option needs an argument, assign it.
976   if test -n "$ac_prev"; then
977     eval $ac_prev=\$ac_option
978     ac_prev=
979     continue
980   fi
981
982   case $ac_option in
983   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984   *)    ac_optarg=yes ;;
985   esac
986
987   # Accept the important Cygnus configure options, so we can diagnose typos.
988
989   case $ac_dashdash$ac_option in
990   --)
991     ac_dashdash=yes ;;
992
993   -bindir | --bindir | --bindi | --bind | --bin | --bi)
994     ac_prev=bindir ;;
995   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996     bindir=$ac_optarg ;;
997
998   -build | --build | --buil | --bui | --bu)
999     ac_prev=build_alias ;;
1000   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001     build_alias=$ac_optarg ;;
1002
1003   -cache-file | --cache-file | --cache-fil | --cache-fi \
1004   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005     ac_prev=cache_file ;;
1006   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008     cache_file=$ac_optarg ;;
1009
1010   --config-cache | -C)
1011     cache_file=config.cache ;;
1012
1013   -datadir | --datadir | --datadi | --datad)
1014     ac_prev=datadir ;;
1015   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016     datadir=$ac_optarg ;;
1017
1018   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019   | --dataroo | --dataro | --datar)
1020     ac_prev=datarootdir ;;
1021   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023     datarootdir=$ac_optarg ;;
1024
1025   -disable-* | --disable-*)
1026     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027     # Reject names that are not valid shell variable names.
1028     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029       as_fn_error "invalid feature name: $ac_useropt"
1030     ac_useropt_orig=$ac_useropt
1031     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032     case $ac_user_opts in
1033       *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037          ac_unrecognized_sep=', ';;
1038     esac
1039     eval enable_$ac_useropt=no ;;
1040
1041   -docdir | --docdir | --docdi | --doc | --do)
1042     ac_prev=docdir ;;
1043   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044     docdir=$ac_optarg ;;
1045
1046   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047     ac_prev=dvidir ;;
1048   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049     dvidir=$ac_optarg ;;
1050
1051   -enable-* | --enable-*)
1052     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053     # Reject names that are not valid shell variable names.
1054     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055       as_fn_error "invalid feature name: $ac_useropt"
1056     ac_useropt_orig=$ac_useropt
1057     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058     case $ac_user_opts in
1059       *"
1060 "enable_$ac_useropt"
1061 "*) ;;
1062       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063          ac_unrecognized_sep=', ';;
1064     esac
1065     eval enable_$ac_useropt=\$ac_optarg ;;
1066
1067   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069   | --exec | --exe | --ex)
1070     ac_prev=exec_prefix ;;
1071   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073   | --exec=* | --exe=* | --ex=*)
1074     exec_prefix=$ac_optarg ;;
1075
1076   -gas | --gas | --ga | --g)
1077     # Obsolete; use --with-gas.
1078     with_gas=yes ;;
1079
1080   -help | --help | --hel | --he | -h)
1081     ac_init_help=long ;;
1082   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083     ac_init_help=recursive ;;
1084   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085     ac_init_help=short ;;
1086
1087   -host | --host | --hos | --ho)
1088     ac_prev=host_alias ;;
1089   -host=* | --host=* | --hos=* | --ho=*)
1090     host_alias=$ac_optarg ;;
1091
1092   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093     ac_prev=htmldir ;;
1094   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095   | --ht=*)
1096     htmldir=$ac_optarg ;;
1097
1098   -includedir | --includedir | --includedi | --included | --include \
1099   | --includ | --inclu | --incl | --inc)
1100     ac_prev=includedir ;;
1101   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102   | --includ=* | --inclu=* | --incl=* | --inc=*)
1103     includedir=$ac_optarg ;;
1104
1105   -infodir | --infodir | --infodi | --infod | --info | --inf)
1106     ac_prev=infodir ;;
1107   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108     infodir=$ac_optarg ;;
1109
1110   -libdir | --libdir | --libdi | --libd)
1111     ac_prev=libdir ;;
1112   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113     libdir=$ac_optarg ;;
1114
1115   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116   | --libexe | --libex | --libe)
1117     ac_prev=libexecdir ;;
1118   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119   | --libexe=* | --libex=* | --libe=*)
1120     libexecdir=$ac_optarg ;;
1121
1122   -localedir | --localedir | --localedi | --localed | --locale)
1123     ac_prev=localedir ;;
1124   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125     localedir=$ac_optarg ;;
1126
1127   -localstatedir | --localstatedir | --localstatedi | --localstated \
1128   | --localstate | --localstat | --localsta | --localst | --locals)
1129     ac_prev=localstatedir ;;
1130   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132     localstatedir=$ac_optarg ;;
1133
1134   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135     ac_prev=mandir ;;
1136   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137     mandir=$ac_optarg ;;
1138
1139   -nfp | --nfp | --nf)
1140     # Obsolete; use --without-fp.
1141     with_fp=no ;;
1142
1143   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144   | --no-cr | --no-c | -n)
1145     no_create=yes ;;
1146
1147   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149     no_recursion=yes ;;
1150
1151   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153   | --oldin | --oldi | --old | --ol | --o)
1154     ac_prev=oldincludedir ;;
1155   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158     oldincludedir=$ac_optarg ;;
1159
1160   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161     ac_prev=prefix ;;
1162   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163     prefix=$ac_optarg ;;
1164
1165   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166   | --program-pre | --program-pr | --program-p)
1167     ac_prev=program_prefix ;;
1168   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170     program_prefix=$ac_optarg ;;
1171
1172   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173   | --program-suf | --program-su | --program-s)
1174     ac_prev=program_suffix ;;
1175   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177     program_suffix=$ac_optarg ;;
1178
1179   -program-transform-name | --program-transform-name \
1180   | --program-transform-nam | --program-transform-na \
1181   | --program-transform-n | --program-transform- \
1182   | --program-transform | --program-transfor \
1183   | --program-transfo | --program-transf \
1184   | --program-trans | --program-tran \
1185   | --progr-tra | --program-tr | --program-t)
1186     ac_prev=program_transform_name ;;
1187   -program-transform-name=* | --program-transform-name=* \
1188   | --program-transform-nam=* | --program-transform-na=* \
1189   | --program-transform-n=* | --program-transform-=* \
1190   | --program-transform=* | --program-transfor=* \
1191   | --program-transfo=* | --program-transf=* \
1192   | --program-trans=* | --program-tran=* \
1193   | --progr-tra=* | --program-tr=* | --program-t=*)
1194     program_transform_name=$ac_optarg ;;
1195
1196   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197     ac_prev=pdfdir ;;
1198   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199     pdfdir=$ac_optarg ;;
1200
1201   -psdir | --psdir | --psdi | --psd | --ps)
1202     ac_prev=psdir ;;
1203   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204     psdir=$ac_optarg ;;
1205
1206   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207   | -silent | --silent | --silen | --sile | --sil)
1208     silent=yes ;;
1209
1210   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211     ac_prev=sbindir ;;
1212   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213   | --sbi=* | --sb=*)
1214     sbindir=$ac_optarg ;;
1215
1216   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218   | --sharedst | --shareds | --shared | --share | --shar \
1219   | --sha | --sh)
1220     ac_prev=sharedstatedir ;;
1221   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224   | --sha=* | --sh=*)
1225     sharedstatedir=$ac_optarg ;;
1226
1227   -site | --site | --sit)
1228     ac_prev=site ;;
1229   -site=* | --site=* | --sit=*)
1230     site=$ac_optarg ;;
1231
1232   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233     ac_prev=srcdir ;;
1234   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235     srcdir=$ac_optarg ;;
1236
1237   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238   | --syscon | --sysco | --sysc | --sys | --sy)
1239     ac_prev=sysconfdir ;;
1240   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242     sysconfdir=$ac_optarg ;;
1243
1244   -target | --target | --targe | --targ | --tar | --ta | --t)
1245     ac_prev=target_alias ;;
1246   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247     target_alias=$ac_optarg ;;
1248
1249   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250     verbose=yes ;;
1251
1252   -version | --version | --versio | --versi | --vers | -V)
1253     ac_init_version=: ;;
1254
1255   -with-* | --with-*)
1256     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257     # Reject names that are not valid shell variable names.
1258     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259       as_fn_error "invalid package name: $ac_useropt"
1260     ac_useropt_orig=$ac_useropt
1261     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262     case $ac_user_opts in
1263       *"
1264 "with_$ac_useropt"
1265 "*) ;;
1266       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267          ac_unrecognized_sep=', ';;
1268     esac
1269     eval with_$ac_useropt=\$ac_optarg ;;
1270
1271   -without-* | --without-*)
1272     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273     # Reject names that are not valid shell variable names.
1274     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275       as_fn_error "invalid package name: $ac_useropt"
1276     ac_useropt_orig=$ac_useropt
1277     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278     case $ac_user_opts in
1279       *"
1280 "with_$ac_useropt"
1281 "*) ;;
1282       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283          ac_unrecognized_sep=', ';;
1284     esac
1285     eval with_$ac_useropt=no ;;
1286
1287   --x)
1288     # Obsolete; use --with-x.
1289     with_x=yes ;;
1290
1291   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292   | --x-incl | --x-inc | --x-in | --x-i)
1293     ac_prev=x_includes ;;
1294   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296     x_includes=$ac_optarg ;;
1297
1298   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300     ac_prev=x_libraries ;;
1301   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303     x_libraries=$ac_optarg ;;
1304
1305   -*) as_fn_error "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information."
1307     ;;
1308
1309   *=*)
1310     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311     # Reject names that are not valid shell variable names.
1312     case $ac_envvar in #(
1313       '' | [0-9]* | *[!_$as_cr_alnum]* )
1314       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315     esac
1316     eval $ac_envvar=\$ac_optarg
1317     export $ac_envvar ;;
1318
1319   *)
1320     # FIXME: should be removed in autoconf 3.0.
1321     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325     ;;
1326
1327   esac
1328 done
1329
1330 if test -n "$ac_prev"; then
1331   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332   as_fn_error "missing argument to $ac_option"
1333 fi
1334
1335 if test -n "$ac_unrecognized_opts"; then
1336   case $enable_option_checking in
1337     no) ;;
1338     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340   esac
1341 fi
1342
1343 # Check all directory arguments for consistency.
1344 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345                 datadir sysconfdir sharedstatedir localstatedir includedir \
1346                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347                 libdir localedir mandir
1348 do
1349   eval ac_val=\$$ac_var
1350   # Remove trailing slashes.
1351   case $ac_val in
1352     */ )
1353       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354       eval $ac_var=\$ac_val;;
1355   esac
1356   # Be sure to have absolute directory names.
1357   case $ac_val in
1358     [\\/$]* | ?:[\\/]* )  continue;;
1359     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360   esac
1361   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362 done
1363
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1367 build=$build_alias
1368 host=$host_alias
1369 target=$target_alias
1370
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373   if test "x$build_alias" = x; then
1374     cross_compiling=maybe
1375     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376     If a cross compiler is detected then cross compile mode will be used." >&2
1377   elif test "x$build_alias" != "x$host_alias"; then
1378     cross_compiling=yes
1379   fi
1380 fi
1381
1382 ac_tool_prefix=
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1384
1385 test "$silent" = yes && exec 6>/dev/null
1386
1387
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391   as_fn_error "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393   as_fn_error "pwd does not report name of working directory"
1394
1395
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398   ac_srcdir_defaulted=yes
1399   # Try the directory containing this script, then the parent directory.
1400   ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402          X"$as_myself" : 'X\(//\)[^/]' \| \
1403          X"$as_myself" : 'X\(//\)$' \| \
1404          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407             s//\1/
1408             q
1409           }
1410           /^X\(\/\/\)[^/].*/{
1411             s//\1/
1412             q
1413           }
1414           /^X\(\/\/\)$/{
1415             s//\1/
1416             q
1417           }
1418           /^X\(\/\).*/{
1419             s//\1/
1420             q
1421           }
1422           s/.*/./; q'`
1423   srcdir=$ac_confdir
1424   if test ! -r "$srcdir/$ac_unique_file"; then
1425     srcdir=..
1426   fi
1427 else
1428   ac_srcdir_defaulted=no
1429 fi
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1433 fi
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 ac_abs_confdir=`(
1436         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437         pwd)`
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440   srcdir=.
1441 fi
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1445 case $srcdir in
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 esac
1448 for ac_var in $ac_precious_vars; do
1449   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450   eval ac_env_${ac_var}_value=\$${ac_var}
1451   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 done
1454
1455 #
1456 # Report the --help message.
1457 #
1458 if test "$ac_init_help" = "long"; then
1459   # Omit some internal or obsolete options to make the list less imposing.
1460   # This message is too long to be a string in the A/UX 3.1 sh.
1461   cat <<_ACEOF
1462 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1463
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1465
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE.  See below for descriptions of some of the useful variables.
1468
1469 Defaults for the options are specified in brackets.
1470
1471 Configuration:
1472   -h, --help              display this help and exit
1473       --help=short        display options specific to this package
1474       --help=recursive    display the short help of all the included packages
1475   -V, --version           display version information and exit
1476   -q, --quiet, --silent   do not print \`checking...' messages
1477       --cache-file=FILE   cache test results in FILE [disabled]
1478   -C, --config-cache      alias for \`--cache-file=config.cache'
1479   -n, --no-create         do not create output files
1480       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1481
1482 Installation directories:
1483   --prefix=PREFIX         install architecture-independent files in PREFIX
1484                           [$ac_default_prefix]
1485   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1486                           [PREFIX]
1487
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1492
1493 For better control, use the options below.
1494
1495 Fine tuning of the installation directories:
1496   --bindir=DIR            user executables [EPREFIX/bin]
1497   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1498   --libexecdir=DIR        program executables [EPREFIX/libexec]
1499   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1500   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1501   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1502   --libdir=DIR            object code libraries [EPREFIX/lib]
1503   --includedir=DIR        C header files [PREFIX/include]
1504   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1505   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1506   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1507   --infodir=DIR           info documentation [DATAROOTDIR/info]
1508   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1509   --mandir=DIR            man documentation [DATAROOTDIR/man]
1510   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1511   --htmldir=DIR           html documentation [DOCDIR]
1512   --dvidir=DIR            dvi documentation [DOCDIR]
1513   --pdfdir=DIR            pdf documentation [DOCDIR]
1514   --psdir=DIR             ps documentation [DOCDIR]
1515 _ACEOF
1516
1517   cat <<\_ACEOF
1518
1519 Program names:
1520   --program-prefix=PREFIX            prepend PREFIX to installed program names
1521   --program-suffix=SUFFIX            append SUFFIX to installed program names
1522   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1523
1524 System types:
1525   --build=BUILD     configure for building on BUILD [guessed]
1526   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1527   --target=TARGET   configure for building compilers for TARGET [HOST]
1528 _ACEOF
1529 fi
1530
1531 if test -n "$ac_init_help"; then
1532   case $ac_init_help in
1533      short | recursive ) echo "Configuration of package-unused version-unused:";;
1534    esac
1535   cat <<\_ACEOF
1536
1537 Optional Features:
1538   --disable-option-checking  ignore unrecognized --enable/--with options
1539   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1540   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1541   --enable-multilib       build many library versions (default)
1542   --enable-maintainer-mode  enable make rules and dependencies not useful
1543                           (and sometimes confusing) to the casual installer
1544   --enable-shared[=PKGS]  build shared libraries [default=yes]
1545   --enable-static[=PKGS]  build static libraries [default=yes]
1546   --enable-fast-install[=PKGS]
1547                           optimize for fast installation [default=yes]
1548   --disable-libtool-lock  avoid locking (might break parallel builds)
1549   --disable-hosted-libstdcxx
1550                           only build freestanding C++ runtime support
1551   --disable-libstdcxx-verbose
1552                           disable termination messages to standard error
1553   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1554                           [default=$is_hosted]
1555   --enable-cstdio[=PACKAGE]
1556                           use target-specific I/O package [default=stdio]
1557   --enable-clocale[=MODEL]
1558                           use MODEL for target locale package [default=auto]
1559   --enable-nls            use Native Language Support (default)
1560   --enable-libstdcxx-allocator[=KIND]
1561                           use KIND for target std::allocator base
1562                           [default=auto]
1563   --enable-cheaders[=KIND]
1564                           construct "C" headers for g++ [default=$c_model]
1565   --enable-long-long      enable template specializations for 'long long'
1566                           [default=yes]
1567   --enable-wchar_t        enable template specializations for 'wchar_t'
1568                           [default=yes]
1569   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1570   --enable-concept-checks use Boost-derived template checks [default=no]
1571   --enable-libstdcxx-debug-flags=FLAGS
1572                           pass compiler FLAGS when building debug library
1573                           [default="-gdwarf-4 -g3 -O0"]
1574   --enable-libstdcxx-debug
1575                           build extra debug library [default=no]
1576   --enable-cxx-flags=FLAGS
1577                           pass compiler FLAGS when building library [default=]
1578   --enable-fully-dynamic-string
1579                           do not put empty strings in per-process static
1580                           memory [default=no]
1581   --enable-extern-template
1582                           enable extern template [default=yes]
1583   --enable-werror         turns on -Werror [default=yes]
1584   --enable-vtable-verify  enable vtable verify [default=no]
1585   --enable-libstdcxx-time[=KIND]
1586                           use KIND for check type [default=auto]
1587   --enable-tls            Use thread-local storage [default=yes]
1588   --disable-rpath         do not hardcode runtime library paths
1589   --enable-linux-futex    use the Linux futex system call [default=default]
1590   --enable-symvers[=STYLE]
1591                           enables symbol versioning of the shared library
1592                           [default=yes]
1593   --enable-libstdcxx-visibility
1594                           enables visibility safe usage [default=yes]
1595   --enable-libstdcxx-dual-abi
1596                           support two versions of std::string [default=yes]
1597   --enable-libstdcxx-threads
1598                           enable C++11 threads support [default=auto]
1599   --enable-libstdcxx-filesystem-ts
1600                           turns on ISO/IEC TS 18822 support [default=auto]
1601   --enable-cet            enable Intel CET in target libraries
1602                           [default=default]
1603   --enable-version-specific-runtime-libs
1604                           Specify that runtime libraries should be installed
1605                           in a compiler-specific directory
1606
1607 Optional Packages:
1608   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1609   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1610   --with-target-subdir=SUBDIR
1611                           configuring in a subdirectory
1612   --with-cross-host=HOST  configuring with a cross compiler
1613   --with-newlib           assume newlib as a system C library
1614   --with-pic              try to use only PIC/non-PIC objects [default=use
1615                           both]
1616   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1617   --with-python-dir       the location to install Python modules. This path is
1618                           relative starting from the prefix.
1619   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1620   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1621   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1622   --with-system-libunwind use installed libunwind
1623   --with-default-libstdcxx-abi
1624                           set the std::string ABI to use by default
1625   --with-gxx-include-dir=DIR
1626                           installation directory for include files
1627   --with-gcc-major-version-only
1628                           use only GCC major number in filesystem paths
1629
1630 Some influential environment variables:
1631   CC          C compiler command
1632   CFLAGS      C compiler flags
1633   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1634               nonstandard directory <lib dir>
1635   LIBS        libraries to pass to the linker, e.g. -l<library>
1636   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637               you have headers in a nonstandard directory <include dir>
1638   CXX         C++ compiler command
1639   CXXFLAGS    C++ compiler flags
1640   CPP         C preprocessor
1641   CXXCPP      C++ preprocessor
1642   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1643               `c++filt', `gc++filt' on PATH.
1644
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1647
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1651 fi
1652
1653 if test "$ac_init_help" = "recursive"; then
1654   # If there are subdirs, report their specific --help.
1655   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656     test -d "$ac_dir" ||
1657       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658       continue
1659     ac_builddir=.
1660
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *)
1664   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665   # A ".." for each directory in $ac_dir_suffix.
1666   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667   case $ac_top_builddir_sub in
1668   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670   esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1676
1677 case $srcdir in
1678   .)  # We are building in place.
1679     ac_srcdir=.
1680     ac_top_srcdir=$ac_top_builddir_sub
1681     ac_abs_top_srcdir=$ac_pwd ;;
1682   [\\/]* | ?:[\\/]* )  # Absolute name.
1683     ac_srcdir=$srcdir$ac_dir_suffix;
1684     ac_top_srcdir=$srcdir
1685     ac_abs_top_srcdir=$srcdir ;;
1686   *) # Relative name.
1687     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688     ac_top_srcdir=$ac_top_build_prefix$srcdir
1689     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692
1693     cd "$ac_dir" || { ac_status=$?; continue; }
1694     # Check for guested configure.
1695     if test -f "$ac_srcdir/configure.gnu"; then
1696       echo &&
1697       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698     elif test -f "$ac_srcdir/configure"; then
1699       echo &&
1700       $SHELL "$ac_srcdir/configure" --help=recursive
1701     else
1702       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703     fi || ac_status=$?
1704     cd "$ac_pwd" || { ac_status=$?; break; }
1705   done
1706 fi
1707
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710   cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1713
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718   exit
1719 fi
1720
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1724
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1729 {
1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731   rm -f conftest.$ac_objext
1732   if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735   *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739   (eval "$ac_compile") 2>conftest.err
1740   ac_status=$?
1741   if test -s conftest.err; then
1742     grep -v '^ *+' conftest.err >conftest.er1
1743     cat conftest.er1 >&5
1744     mv -f conftest.er1 conftest.err
1745   fi
1746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747   test $ac_status = 0; } && {
1748          test -z "$ac_c_werror_flag" ||
1749          test ! -s conftest.err
1750        } && test -s conftest.$ac_objext; then :
1751   ac_retval=0
1752 else
1753   $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1755
1756         ac_retval=1
1757 fi
1758   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759   return $ac_retval
1760
1761 } # ac_fn_c_try_compile
1762
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   rm -f conftest.$ac_objext
1770   if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773   *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777   (eval "$ac_compile") 2>conftest.err
1778   ac_status=$?
1779   if test -s conftest.err; then
1780     grep -v '^ *+' conftest.err >conftest.er1
1781     cat conftest.er1 >&5
1782     mv -f conftest.er1 conftest.err
1783   fi
1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785   test $ac_status = 0; } && {
1786          test -z "$ac_cxx_werror_flag" ||
1787          test ! -s conftest.err
1788        } && test -s conftest.$ac_objext; then :
1789   ac_retval=0
1790 else
1791   $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794         ac_retval=1
1795 fi
1796   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797   return $ac_retval
1798
1799 } # ac_fn_cxx_try_compile
1800
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810   *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815   ac_status=$?
1816   if test -s conftest.err; then
1817     grep -v '^ *+' conftest.err >conftest.er1
1818     cat conftest.er1 >&5
1819     mv -f conftest.er1 conftest.err
1820   fi
1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822   test $ac_status = 0; } >/dev/null && {
1823          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824          test ! -s conftest.err
1825        }; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831     ac_retval=1
1832 fi
1833   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834   return $ac_retval
1835
1836 } # ac_fn_c_try_cpp
1837
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1842 {
1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844   rm -f conftest.$ac_objext conftest$ac_exeext
1845   if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848   *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852   (eval "$ac_link") 2>conftest.err
1853   ac_status=$?
1854   if test -s conftest.err; then
1855     grep -v '^ *+' conftest.err >conftest.er1
1856     cat conftest.er1 >&5
1857     mv -f conftest.er1 conftest.err
1858   fi
1859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860   test $ac_status = 0; } && {
1861          test -z "$ac_c_werror_flag" ||
1862          test ! -s conftest.err
1863        } && test -s conftest$ac_exeext && {
1864          test "$cross_compiling" = yes ||
1865          $as_test_x conftest$ac_exeext
1866        }; then :
1867   ac_retval=0
1868 else
1869   $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1871
1872         ac_retval=1
1873 fi
1874   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876   # interfere with the next link command; also delete a directory that is
1877   # left behind by Apple's compiler.  We do this before executing the actions.
1878   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880   return $ac_retval
1881
1882 } # ac_fn_c_try_link
1883
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1889 {
1890   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894   $as_echo_n "(cached) " >&6
1895 else
1896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h.  */
1898 $4
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902   eval "$3=yes"
1903 else
1904   eval "$3=no"
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 fi
1908 eval ac_res=\$$3
1909                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912
1913 } # ac_fn_c_check_header_compile
1914
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1920 {
1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922   if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925   *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929   (eval "$ac_link") 2>&5
1930   ac_status=$?
1931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933   { { case "(($ac_try" in
1934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935   *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939   (eval "$ac_try") 2>&5
1940   ac_status=$?
1941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942   test $ac_status = 0; }; }; then :
1943   ac_retval=0
1944 else
1945   $as_echo "$as_me: program exited with status $ac_status" >&5
1946        $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1948
1949        ac_retval=$ac_status
1950 fi
1951   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953   return $ac_retval
1954
1955 } # ac_fn_c_try_run
1956
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1961 {
1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966   $as_echo_n "(cached) " >&6
1967 else
1968   if test x$gcc_no_link = xyes; then
1969   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1970 fi
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h.  */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1975 #define $2 innocuous_$2
1976
1977 /* System header to define __stub macros and hopefully few prototypes,
1978     which can conflict with char $2 (); below.
1979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980     <limits.h> exists even on freestanding compilers.  */
1981
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1987
1988 #undef $2
1989
1990 /* Override any GCC internal prototype to avoid an error.
1991    Use char because int might match the return type of a GCC
1992    builtin and then its argument prototype would still apply.  */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998     to always fail with ENOSYS.  Some functions are actually named
1999     something starting with __ and the normal name is an alias.  */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2003
2004 int
2005 main ()
2006 {
2007 return $2 ();
2008   ;
2009   return 0;
2010 }
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013   eval "$3=yes"
2014 else
2015   eval "$3=no"
2016 fi
2017 rm -f core conftest.err conftest.$ac_objext \
2018     conftest$ac_exeext conftest.$ac_ext
2019 fi
2020 eval ac_res=\$$3
2021                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024
2025 } # ac_fn_c_check_func
2026
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2031 {
2032   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033   if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036   *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041   ac_status=$?
2042   if test -s conftest.err; then
2043     grep -v '^ *+' conftest.err >conftest.er1
2044     cat conftest.er1 >&5
2045     mv -f conftest.er1 conftest.err
2046   fi
2047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048   test $ac_status = 0; } >/dev/null && {
2049          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050          test ! -s conftest.err
2051        }; then :
2052   ac_retval=0
2053 else
2054   $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057     ac_retval=1
2058 fi
2059   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060   return $ac_retval
2061
2062 } # ac_fn_cxx_try_cpp
2063
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2068 {
2069   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070   rm -f conftest.$ac_objext conftest$ac_exeext
2071   if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074   *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078   (eval "$ac_link") 2>conftest.err
2079   ac_status=$?
2080   if test -s conftest.err; then
2081     grep -v '^ *+' conftest.err >conftest.er1
2082     cat conftest.er1 >&5
2083     mv -f conftest.er1 conftest.err
2084   fi
2085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086   test $ac_status = 0; } && {
2087          test -z "$ac_cxx_werror_flag" ||
2088          test ! -s conftest.err
2089        } && test -s conftest$ac_exeext && {
2090          test "$cross_compiling" = yes ||
2091          $as_test_x conftest$ac_exeext
2092        }; then :
2093   ac_retval=0
2094 else
2095   $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2097
2098         ac_retval=1
2099 fi
2100   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102   # interfere with the next link command; also delete a directory that is
2103   # left behind by Apple's compiler.  We do this before executing the actions.
2104   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106   return $ac_retval
2107
2108 } # ac_fn_cxx_try_link
2109
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2116 {
2117   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122   $as_echo_n "(cached) " >&6
2123 fi
2124 eval ac_res=\$$3
2125                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128   # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h.  */
2133 $4
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137   ac_header_compiler=yes
2138 else
2139   ac_header_compiler=no
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2144
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h.  */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153   ac_header_preproc=yes
2154 else
2155   ac_header_preproc=no
2156 fi
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2160
2161 # So?  What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163   yes:no: )
2164     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168     ;;
2169   no:yes:* )
2170     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2174     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2178     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2180     ;;
2181 esac
2182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185   $as_echo_n "(cached) " >&6
2186 else
2187   eval "$3=\$ac_header_compiler"
2188 fi
2189 eval ac_res=\$$3
2190                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 fi
2193   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194
2195 } # ac_fn_c_check_header_mongrel
2196
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2203 {
2204   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209   $as_echo_n "(cached) " >&6
2210 fi
2211 eval ac_res=\$$3
2212                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215   # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h.  */
2220 $4
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224   ac_header_compiler=yes
2225 else
2226   ac_header_compiler=no
2227 fi
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2231
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h.  */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240   ac_header_preproc=yes
2241 else
2242   ac_header_preproc=no
2243 fi
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2247
2248 # So?  What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250   yes:no: )
2251     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255     ;;
2256   no:yes:* )
2257     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2261     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2265     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2267     ;;
2268 esac
2269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272   $as_echo_n "(cached) " >&6
2273 else
2274   eval "$3=\$ac_header_compiler"
2275 fi
2276 eval ac_res=\$$3
2277                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2279 fi
2280   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281
2282 } # ac_fn_cxx_check_header_mongrel
2283
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2290 {
2291   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292   if test "$cross_compiling" = yes; then
2293     # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h.  */
2296 $4
2297 int
2298 main ()
2299 {
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2302
2303   ;
2304   return 0;
2305 }
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308   ac_lo=0 ac_mid=0
2309   while :; do
2310     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h.  */
2312 $4
2313 int
2314 main ()
2315 {
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2318
2319   ;
2320   return 0;
2321 }
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324   ac_hi=$ac_mid; break
2325 else
2326   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327                         if test $ac_lo -le $ac_mid; then
2328                           ac_lo= ac_hi=
2329                           break
2330                         fi
2331                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2332 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334   done
2335 else
2336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h.  */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2344
2345   ;
2346   return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350   ac_hi=-1 ac_mid=-1
2351   while :; do
2352     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 test_array [0] = 0
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366   ac_lo=$ac_mid; break
2367 else
2368   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369                         if test $ac_mid -le $ac_hi; then
2370                           ac_lo= ac_hi=
2371                           break
2372                         fi
2373                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2374 fi
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376   done
2377 else
2378   ac_lo= ac_hi=
2379 fi
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 fi
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h.  */
2388 $4
2389 int
2390 main ()
2391 {
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2394
2395   ;
2396   return 0;
2397 }
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400   ac_hi=$ac_mid
2401 else
2402   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2403 fi
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410   else
2411     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h.  */
2413 $4
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2418 int
2419 main ()
2420 {
2421
2422   FILE *f = fopen ("conftest.val", "w");
2423   if (! f)
2424     return 1;
2425   if (($2) < 0)
2426     {
2427       long int i = longval ();
2428       if (i != ($2))
2429         return 1;
2430       fprintf (f, "%ld", i);
2431     }
2432   else
2433     {
2434       unsigned long int i = ulongval ();
2435       if (i != ($2))
2436         return 1;
2437       fprintf (f, "%lu", i);
2438     }
2439   /* Do not output a trailing newline, as this causes \r\n confusion
2440      on some platforms.  */
2441   return ferror (f) || fclose (f) != 0;
2442
2443   ;
2444   return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450   ac_retval=1
2451 fi
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453   conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2455
2456   fi
2457   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458   return $ac_retval
2459
2460 } # ac_fn_c_compute_int
2461
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2467 {
2468   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472   $as_echo_n "(cached) " >&6
2473 else
2474   eval "$3=no"
2475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h.  */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof ($2))
2482          return 0;
2483   ;
2484   return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h.  */
2490 $4
2491 int
2492 main ()
2493 {
2494 if (sizeof (($2)))
2495             return 0;
2496   ;
2497   return 0;
2498 }
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2501
2502 else
2503   eval "$3=yes"
2504 fi
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 fi
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 fi
2509 eval ac_res=\$$3
2510                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2513
2514 } # ac_fn_c_check_type
2515
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2521 {
2522   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526   $as_echo_n "(cached) " >&6
2527 else
2528   eval "$3=no"
2529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h.  */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof ($2))
2536          return 0;
2537   ;
2538   return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h.  */
2544 $4
2545 int
2546 main ()
2547 {
2548 if (sizeof (($2)))
2549             return 0;
2550   ;
2551   return 0;
2552 }
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2555
2556 else
2557   eval "$3=yes"
2558 fi
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 fi
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 fi
2563 eval ac_res=\$$3
2564                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2567
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2572
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64.  Invocation command line was
2575
2576   $ $0 $@
2577
2578 _ACEOF
2579 exec 5>>config.log
2580 {
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2585
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2591
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2594
2595 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2596 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2599 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2600 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2601 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2602
2603 _ASUNAME
2604
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2607 do
2608   IFS=$as_save_IFS
2609   test -z "$as_dir" && as_dir=.
2610     $as_echo "PATH: $as_dir"
2611   done
2612 IFS=$as_save_IFS
2613
2614 } >&5
2615
2616 cat >&5 <<_ACEOF
2617
2618
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2622
2623 _ACEOF
2624
2625
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2636 do
2637   for ac_arg
2638   do
2639     case $ac_arg in
2640     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642     | -silent | --silent | --silen | --sile | --sil)
2643       continue ;;
2644     *\'*)
2645       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646     esac
2647     case $ac_pass in
2648     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2649     2)
2650       as_fn_append ac_configure_args1 " '$ac_arg'"
2651       if test $ac_must_keep_next = true; then
2652         ac_must_keep_next=false # Got value, back to normal.
2653       else
2654         case $ac_arg in
2655           *=* | --config-cache | -C | -disable-* | --disable-* \
2656           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658           | -with-* | --with-* | -without-* | --without-* | --x)
2659             case "$ac_configure_args0 " in
2660               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661             esac
2662             ;;
2663           -* ) ac_must_keep_next=true ;;
2664         esac
2665       fi
2666       as_fn_append ac_configure_args " '$ac_arg'"
2667       ;;
2668     esac
2669   done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2673
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log.  We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680   # Save into config.log some information that might help in debugging.
2681   {
2682     echo
2683
2684     cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689     echo
2690     # The following way of writing the cache mishandles newlines in values,
2691 (
2692   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693     eval ac_val=\$$ac_var
2694     case $ac_val in #(
2695     *${as_nl}*)
2696       case $ac_var in #(
2697       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699       esac
2700       case $ac_var in #(
2701       _ | IFS | as_nl) ;; #(
2702       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703       *) { eval $ac_var=; unset $ac_var;} ;;
2704       esac ;;
2705     esac
2706   done
2707   (set) 2>&1 |
2708     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709     *${as_nl}ac_space=\ *)
2710       sed -n \
2711         "s/'\''/'\''\\\\'\'''\''/g;
2712           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713       ;; #(
2714     *)
2715       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2716       ;;
2717     esac |
2718     sort
2719 )
2720     echo
2721
2722     cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727     echo
2728     for ac_var in $ac_subst_vars
2729     do
2730       eval ac_val=\$$ac_var
2731       case $ac_val in
2732       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733       esac
2734       $as_echo "$ac_var='\''$ac_val'\''"
2735     done | sort
2736     echo
2737
2738     if test -n "$ac_subst_files"; then
2739       cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744       echo
2745       for ac_var in $ac_subst_files
2746       do
2747         eval ac_val=\$$ac_var
2748         case $ac_val in
2749         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750         esac
2751         $as_echo "$ac_var='\''$ac_val'\''"
2752       done | sort
2753       echo
2754     fi
2755
2756     if test -s confdefs.h; then
2757       cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762       echo
2763       cat confdefs.h
2764       echo
2765     fi
2766     test "$ac_signal" != 0 &&
2767       $as_echo "$as_me: caught signal $ac_signal"
2768     $as_echo "$as_me: exit $exit_status"
2769   } >&5
2770   rm -f core *.core core.conftest.* &&
2771     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772     exit $exit_status
2773 ' 0
2774 for ac_signal in 1 2 13 15; do
2775   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2778
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2781
2782 $as_echo "/* confdefs.h */" > confdefs.h
2783
2784 # Predefined preprocessor variables.
2785
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2789
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2793
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2797
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2801
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2805
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2809
2810
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816   ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818   ac_site_file1=$prefix/share/config.site
2819   ac_site_file2=$prefix/etc/config.site
2820 else
2821   ac_site_file1=$ac_default_prefix/share/config.site
2822   ac_site_file2=$ac_default_prefix/etc/config.site
2823 fi
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2825 do
2826   test "x$ac_site_file" = xNONE && continue
2827   if test -r "$ac_site_file"; then
2828     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830     sed 's/^/| /' "$ac_site_file" >&5
2831     . "$ac_site_file"
2832   fi
2833 done
2834
2835 if test -r "$cache_file"; then
2836   # Some versions of bash will fail to source /dev/null (special
2837   # files actually), so we avoid doing that.
2838   if test -f "$cache_file"; then
2839     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841     case $cache_file in
2842       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843       *)                      . "./$cache_file";;
2844     esac
2845   fi
2846 else
2847   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849   >$cache_file
2850 fi
2851
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857   eval ac_new_set=\$ac_env_${ac_var}_set
2858   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859   eval ac_new_val=\$ac_env_${ac_var}_value
2860   case $ac_old_set,$ac_new_set in
2861     set,)
2862       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864       ac_cache_corrupted=: ;;
2865     ,set)
2866       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868       ac_cache_corrupted=: ;;
2869     ,);;
2870     *)
2871       if test "x$ac_old_val" != "x$ac_new_val"; then
2872         # differences in whitespace do not lead to failure.
2873         ac_old_val_w=`echo x $ac_old_val`
2874         ac_new_val_w=`echo x $ac_new_val`
2875         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878           ac_cache_corrupted=:
2879         else
2880           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882           eval $ac_var=\$ac_old_val
2883         fi
2884         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2885 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2886         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2888       fi;;
2889   esac
2890   # Pass precious variables to config.status.
2891   if test "$ac_new_set" = set; then
2892     case $ac_new_val in
2893     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894     *) ac_arg=$ac_var=$ac_new_val ;;
2895     esac
2896     case " $ac_configure_args " in
2897       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2898       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899     esac
2900   fi
2901 done
2902 if $ac_cache_corrupted; then
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2908 fi
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2912
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2918
2919
2920
2921
2922
2923
2924 ac_config_headers="$ac_config_headers config.h"
2925
2926
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported.  Only used at the end of this file.
2931 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2932
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937   enableval=$enable_multilib; case "$enableval" in
2938   yes) multilib=yes ;;
2939   no)  multilib=no ;;
2940   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941  esac
2942 else
2943   multilib=yes
2944 fi
2945
2946
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2950
2951 if test "$srcdir" = "."; then
2952   if test "$with_target_subdir" != "."; then
2953     multi_basedir="$srcdir/$with_multisrctop../.."
2954   else
2955     multi_basedir="$srcdir/$with_multisrctop.."
2956   fi
2957 else
2958   multi_basedir="$srcdir/.."
2959 fi
2960
2961
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965    && test "x${with_multisubdir}" != x ; then
2966    cross_compiling=maybe
2967 fi
2968
2969 ac_config_commands="$ac_config_commands default-1"
2970
2971
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2973 #
2974 # You will slowly go insane if you do not grok the following fact:  when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/.  configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf.  Therefore, 'target' and
2978 # 'host' will always be the same.  This makes sense both for native and
2979 # cross compilers, just think about it for a little while.  :-)
2980 #
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2983 #
2984 # Do not delete or change the following two lines.  For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988   for ac_t in install-sh install.sh shtool; do
2989     if test -f "$ac_dir/$ac_t"; then
2990       ac_aux_dir=$ac_dir
2991       ac_install_sh="$ac_aux_dir/$ac_t -c"
2992       break 2
2993     fi
2994   done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 fi
2999
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3007
3008
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3012
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018   ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025
3026 fi
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045
3046
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050   $as_echo_n "(cached) " >&6
3051 else
3052   if test "x$host_alias" = x; then
3053   ac_cv_host=$ac_cv_build
3054 else
3055   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3057 fi
3058
3059 fi
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078
3079
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083   $as_echo_n "(cached) " >&6
3084 else
3085   if test "x$target_alias" = x; then
3086   ac_cv_target=$ac_cv_host
3087 else
3088   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3090 fi
3091
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111
3112
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116   test "$program_prefix$program_suffix$program_transform_name" = \
3117     NONENONEs,x,x, &&
3118   program_prefix=${target_alias}-
3119
3120 target_alias=${target_alias-$host_alias}
3121
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3124
3125 if test "$build" != "$host"; then
3126   # We are being configured with some form of cross compiler.
3127   GLIBCXX_IS_NATIVE=false
3128   case "$host","$target" in
3129     # Darwin crosses can use the host system's libraries and headers,
3130     # because of the fat library support.  Of course, it must be the
3131     # same version of Darwin on both sides.  Allow the user to
3132     # just say --target=foo-darwin without a version number to mean
3133     # "the version on this system".
3134       *-*-darwin*,*-*-darwin*)
3135         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137         if test $hostos = $targetos -o $targetos = darwin ; then
3138           GLIBCXX_IS_NATIVE=true
3139         fi
3140         ;;
3141
3142       *)
3143
3144         ;;
3145   esac
3146 else
3147   GLIBCXX_IS_NATIVE=true
3148 fi
3149
3150 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 #  1.x:  minimum required version
3153 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 #              of other PACKAGE_* variables will, however, and there's nothing
3155 #              we can do about that; they come from AC_INIT).
3156 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3157 #            file in the top srcdir, etc, etc), so stop complaining.
3158 #  no-dependencies:  turns off auto dependency generation (just for now)
3159 #  no-dist:  we don't want 'dist' and related rules.
3160 #  -Wall:  turns on all automake warnings...
3161 #  -Wno-portability:  ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3163
3164 # Find a good install program.  We prefer a C program (faster),
3165 # so one script is as good as another.  But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182   $as_echo_n "(cached) " >&6
3183 else
3184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187   IFS=$as_save_IFS
3188   test -z "$as_dir" && as_dir=.
3189     # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191   ./ | .// | /[cC]/* | \
3192   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194   /usr/ucb/* ) ;;
3195   *)
3196     # OSF1 and SCO ODT 3.0 have their own names for install.
3197     # Don't use installbsd from OSF since it installs stuff as root
3198     # by default.
3199     for ac_prog in ginstall scoinst install; do
3200       for ac_exec_ext in '' $ac_executable_extensions; do
3201         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202           if test $ac_prog = install &&
3203             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204             # AIX install.  It has an incompatible calling convention.
3205             :
3206           elif test $ac_prog = install &&
3207             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208             # program-specific install script used by HP pwplus--don't use.
3209             :
3210           else
3211             rm -rf conftest.one conftest.two conftest.dir
3212             echo one > conftest.one
3213             echo two > conftest.two
3214             mkdir conftest.dir
3215             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216               test -s conftest.one && test -s conftest.two &&
3217               test -s conftest.dir/conftest.one &&
3218               test -s conftest.dir/conftest.two
3219             then
3220               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221               break 3
3222             fi
3223           fi
3224         fi
3225       done
3226     done
3227     ;;
3228 esac
3229
3230   done
3231 IFS=$as_save_IFS
3232
3233 rm -rf conftest.one conftest.two conftest.dir
3234
3235 fi
3236   if test "${ac_cv_path_install+set}" = set; then
3237     INSTALL=$ac_cv_path_install
3238   else
3239     # As a last resort, use the slow shell script.  Don't cache a
3240     # value for INSTALL within a source directory, because that will
3241     # break other packages using the cache if that directory is
3242     # removed, or if the value is a relative name.
3243     INSTALL=$ac_install_sh
3244   fi
3245 fi
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3248
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3252
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3254
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3256
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name.  Accept space and tab only in the latter.
3264 am_lf='
3265 '
3266 case `pwd` in
3267   *[\\\"\#\$\&\'\`$am_lf]*)
3268     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3272     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3274
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments.  Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282    if test "$*" = "X"; then
3283       # -L didn't work.
3284       set X `ls -t "$srcdir/configure" conftest.file`
3285    fi
3286    rm -f conftest.file
3287    if test "$*" != "X $srcdir/configure conftest.file" \
3288       && test "$*" != "X conftest.file $srcdir/configure"; then
3289
3290       # If neither matched, then we have a broken ls.  This can happen
3291       # if, for instance, CONFIG_SHELL is bash and it inherits a
3292       # broken ls alias from the environment.  This has actually
3293       # happened.  Such a system could not be considered "sane".
3294       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3296    fi
3297
3298    test "$2" = conftest.file
3299    )
3300 then
3301    # Ok.
3302    :
3303 else
3304    as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3306 fi
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3318
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3321
3322 if test x"${MISSING+set}" != xset; then
3323   case $am_aux_dir in
3324   *\ * | *\     *)
3325     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3326   *)
3327     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328   esac
3329 fi
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332   am_missing_run="$MISSING --run "
3333 else
3334   am_missing_run=
3335   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3337 fi
3338
3339 if test x"${install_sh}" != xset; then
3340   case $am_aux_dir in
3341   *\ * | *\     *)
3342     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3343   *)
3344     install_sh="\${SHELL} $am_aux_dir/install-sh"
3345   esac
3346 fi
3347
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'.  However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353   if test -n "$ac_tool_prefix"; then
3354   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   if test -n "$STRIP"; then
3362   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367   IFS=$as_save_IFS
3368   test -z "$as_dir" && as_dir=.
3369     for ac_exec_ext in '' $ac_executable_extensions; do
3370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373     break 2
3374   fi
3375 done
3376   done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390
3391 fi
3392 if test -z "$ac_cv_prog_STRIP"; then
3393   ac_ct_STRIP=$STRIP
3394   # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399   $as_echo_n "(cached) " >&6
3400 else
3401   if test -n "$ac_ct_STRIP"; then
3402   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407   IFS=$as_save_IFS
3408   test -z "$as_dir" && as_dir=.
3409     for ac_exec_ext in '' $ac_executable_extensions; do
3410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411     ac_cv_prog_ac_ct_STRIP="strip"
3412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413     break 2
3414   fi
3415 done
3416   done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430   if test "x$ac_ct_STRIP" = x; then
3431     STRIP=":"
3432   else
3433     case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439     STRIP=$ac_ct_STRIP
3440   fi
3441 else
3442   STRIP="$ac_cv_prog_STRIP"
3443 fi
3444
3445 fi
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3447
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451   if test "${ac_cv_path_mkdir+set}" = set; then :
3452   $as_echo_n "(cached) " >&6
3453 else
3454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3456 do
3457   IFS=$as_save_IFS
3458   test -z "$as_dir" && as_dir=.
3459     for ac_prog in mkdir gmkdir; do
3460          for ac_exec_ext in '' $ac_executable_extensions; do
3461            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463              'mkdir (GNU coreutils) '* | \
3464              'mkdir (coreutils) '* | \
3465              'mkdir (fileutils) '4.1*)
3466                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467                break 3;;
3468            esac
3469          done
3470        done
3471   done
3472 IFS=$as_save_IFS
3473
3474 fi
3475
3476   if test "${ac_cv_path_mkdir+set}" = set; then
3477     MKDIR_P="$ac_cv_path_mkdir -p"
3478   else
3479     # As a last resort, use the slow shell script.  Don't cache a
3480     # value for MKDIR_P within a source directory, because that will
3481     # break other packages using the cache if that directory is
3482     # removed, or if the value is a relative name.
3483     test -d ./--version && rmdir ./--version
3484     MKDIR_P="$ac_install_sh -d"
3485   fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3489
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492   [\\/$]* | ?:[\\/]*) ;;
3493   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3495
3496 for ac_prog in gawk mawk nawk awk
3497 do
3498   # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503   $as_echo_n "(cached) " >&6
3504 else
3505   if test -n "$AWK"; then
3506   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513     for ac_exec_ext in '' $ac_executable_extensions; do
3514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515     ac_cv_prog_AWK="$ac_prog"
3516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520   done
3521 IFS=$as_save_IFS
3522
3523 fi
3524 fi
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 fi
3533
3534
3535   test -n "$AWK" && break
3536 done
3537
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543   $as_echo_n "(cached) " >&6
3544 else
3545   cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548         @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552   *@@@%%%=?*=@@@%%%*)
3553     eval ac_cv_prog_make_${ac_make}_set=yes;;
3554   *)
3555     eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3558 fi
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562   SET_MAKE=
3563 else
3564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566   SET_MAKE="MAKE=${MAKE-make}"
3567 fi
3568
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572   am__leading_dot=.
3573 else
3574   am__leading_dot=_
3575 fi
3576 rmdir .tst 2>/dev/null
3577
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580   # is not polluted with repeated "-I."
3581   am__isrc=' -I$(srcdir)'
3582   # test to see if srcdir already configured
3583   if test -f $srcdir/config.status; then
3584     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3585   fi
3586 fi
3587
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590   if (cygpath --version) >/dev/null 2>/dev/null; then
3591     CYGPATH_W='cygpath -w'
3592   else
3593     CYGPATH_W=echo
3594   fi
3595 fi
3596
3597
3598 # Define the identity of the package.
3599  PACKAGE='libstdc++'
3600  VERSION='version-unused'
3601
3602
3603 # Some tools Automake needs.
3604
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3606
3607
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3609
3610
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3612
3613
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3615
3616
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3618
3619 # We need awk for the "check" target.  The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility.  Yes, it's still used
3622 # in the wild :-(  We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3624
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3626
3627
3628
3629
3630
3631
3632
3633
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3636
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   if test -n "$CC"; then
3653   ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3657 do
3658   IFS=$as_save_IFS
3659   test -z "$as_dir" && as_dir=.
3660     for ac_exec_ext in '' $ac_executable_extensions; do
3661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664     break 2
3665   fi
3666 done
3667   done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3679 fi
3680
3681
3682 fi
3683 if test -z "$ac_cv_prog_CC"; then
3684   ac_ct_CC=$CC
3685   # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690   $as_echo_n "(cached) " >&6
3691 else
3692   if test -n "$ac_ct_CC"; then
3693   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3697 do
3698   IFS=$as_save_IFS
3699   test -z "$as_dir" && as_dir=.
3700     for ac_exec_ext in '' $ac_executable_extensions; do
3701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702     ac_cv_prog_ac_ct_CC="gcc"
3703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704     break 2
3705   fi
3706 done
3707   done
3708 IFS=$as_save_IFS
3709
3710 fi
3711 fi
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3719 fi
3720
3721   if test "x$ac_ct_CC" = x; then
3722     CC=""
3723   else
3724     case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730     CC=$ac_ct_CC
3731   fi
3732 else
3733   CC="$ac_cv_prog_CC"
3734 fi
3735
3736 if test -z "$CC"; then
3737           if test -n "$ac_tool_prefix"; then
3738     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743   $as_echo_n "(cached) " >&6
3744 else
3745   if test -n "$CC"; then
3746   ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751   IFS=$as_save_IFS
3752   test -z "$as_dir" && as_dir=.
3753     for ac_exec_ext in '' $ac_executable_extensions; do
3754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755     ac_cv_prog_CC="${ac_tool_prefix}cc"
3756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757     break 2
3758   fi
3759 done
3760   done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774
3775   fi
3776 fi
3777 if test -z "$CC"; then
3778   # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783   $as_echo_n "(cached) " >&6
3784 else
3785   if test -n "$CC"; then
3786   ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788   ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3791 do
3792   IFS=$as_save_IFS
3793   test -z "$as_dir" && as_dir=.
3794     for ac_exec_ext in '' $ac_executable_extensions; do
3795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797        ac_prog_rejected=yes
3798        continue
3799      fi
3800     ac_cv_prog_CC="cc"
3801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802     break 2
3803   fi
3804 done
3805   done
3806 IFS=$as_save_IFS
3807
3808 if test $ac_prog_rejected = yes; then
3809   # We found a bogon in the path, so make sure we never use it.
3810   set dummy $ac_cv_prog_CC
3811   shift
3812   if test $# != 0; then
3813     # We chose a different compiler from the bogus one.
3814     # However, it has the same basename, so the bogon will be chosen
3815     # first if we set CC to just the basename; use the full file name.
3816     shift
3817     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3818   fi
3819 fi
3820 fi
3821 fi
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832 fi
3833 if test -z "$CC"; then
3834   if test -n "$ac_tool_prefix"; then
3835   for ac_prog in cl.exe
3836   do
3837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842   $as_echo_n "(cached) " >&6
3843 else
3844   if test -n "$CC"; then
3845   ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3849 do
3850   IFS=$as_save_IFS
3851   test -z "$as_dir" && as_dir=.
3852     for ac_exec_ext in '' $ac_executable_extensions; do
3853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856     break 2
3857   fi
3858 done
3859   done
3860 IFS=$as_save_IFS
3861
3862 fi
3863 fi
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3871 fi
3872
3873
3874     test -n "$CC" && break
3875   done
3876 fi
3877 if test -z "$CC"; then
3878   ac_ct_CC=$CC
3879   for ac_prog in cl.exe
3880 do
3881   # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886   $as_echo_n "(cached) " >&6
3887 else
3888   if test -n "$ac_ct_CC"; then
3889   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3893 do
3894   IFS=$as_save_IFS
3895   test -z "$as_dir" && as_dir=.
3896     for ac_exec_ext in '' $ac_executable_extensions; do
3897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898     ac_cv_prog_ac_ct_CC="$ac_prog"
3899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900     break 2
3901   fi
3902 done
3903   done
3904 IFS=$as_save_IFS
3905
3906 fi
3907 fi
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 fi
3916
3917
3918   test -n "$ac_ct_CC" && break
3919 done
3920
3921   if test "x$ac_ct_CC" = x; then
3922     CC=""
3923   else
3924     case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930     CC=$ac_ct_CC
3931   fi
3932 fi
3933
3934 fi
3935
3936
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3941
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947   { { ac_try="$ac_compiler $ac_option >&5"
3948 case "(($ac_try" in
3949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950   *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3955   ac_status=$?
3956   if test -s conftest.err; then
3957     sed '10a\
3958 ... rest of stderr output deleted ...
3959          10q' conftest.err >conftest.er1
3960     cat conftest.er1 >&5
3961     rm -f conftest.er1 conftest.err
3962   fi
3963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964   test $ac_status = 0; }
3965 done
3966
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h.  */
3969
3970 int
3971 main ()
3972 {
3973
3974   ;
3975   return 0;
3976 }
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980   (eval $ac_link) 2>&5
3981   ac_status=$?
3982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983   test $ac_status = 0; }; then :
3984   gcc_no_link=no
3985 else
3986   gcc_no_link=yes
3987 fi
3988 if test x$gcc_no_link = xyes; then
3989   # Setting cross_compile will disable run tests; it will
3990   # also disable AC_CHECK_FILE but that's generally
3991   # correct if we can't link.
3992   cross_compiling=yes
3993   EXEEXT=
3994 else
3995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h.  */
3997
3998 int
3999 main ()
4000 {
4001
4002   ;
4003   return 0;
4004 }
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4014
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4017
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4020 do
4021   case $ac_file in
4022     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024   esac
4025 done
4026 rm -f $ac_rmfiles
4027
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031   *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035   (eval "$ac_link_default") 2>&5
4036   ac_status=$?
4037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038   test $ac_status = 0; }; then :
4039   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4045 do
4046   test -f "$ac_file" || continue
4047   case $ac_file in
4048     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4049         ;;
4050     [ab].out )
4051         # We found the default executable, but exeext='' is most
4052         # certainly right.
4053         break;;
4054     *.* )
4055         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056         then :; else
4057            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058         fi
4059         # We set ac_cv_exeext here because the later test for it is not
4060         # safe: cross compilers may not add the suffix if given an `-o'
4061         # argument, so we may need to know it at that point already.
4062         # Even if this section looks crufty: it has the advantage of
4063         # actually working.
4064         break;;
4065     * )
4066         break;;
4067   esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4070
4071 else
4072   ac_file=''
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077   $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4079
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4085 fi
4086 ac_exeext=$ac_cv_exeext
4087
4088 # Check that the compiler produces executables we can run.  If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094   if { ac_try='./$ac_file'
4095   { { case "(($ac_try" in
4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097   *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101   (eval "$ac_try") 2>&5
4102   ac_status=$?
4103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104   test $ac_status = 0; }; }; then
4105     cross_compiling=no
4106   else
4107     if test "$cross_compiling" = maybe; then
4108         cross_compiling=yes
4109     else
4110         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4115     fi
4116   fi
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4120
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run.  If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4129
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135   *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139   (eval "$ac_link") 2>&5
4140   ac_status=$?
4141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142   test $ac_status = 0; }; then :
4143   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148   test -f "$ac_file" || continue
4149   case $ac_file in
4150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152           break;;
4153     * ) break;;
4154   esac
4155 done
4156 else
4157   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4161 fi
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4165
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4169 fi
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h.  */
4177
4178 int
4179 main ()
4180 {
4181
4182   ;
4183   return 0;
4184 }
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190   *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194   (eval "$ac_compile") 2>&5
4195   ac_status=$?
4196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197   test $ac_status = 0; }; then :
4198   for ac_file in conftest.o conftest.obj conftest.*; do
4199   test -f "$ac_file" || continue;
4200   case $ac_file in
4201     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203        break;;
4204   esac
4205 done
4206 else
4207   $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4209
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4214 fi
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224   $as_echo_n "(cached) " >&6
4225 else
4226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h.  */
4228
4229 int
4230 main ()
4231 {
4232 #ifndef __GNUC__
4233        choke me
4234 #endif
4235
4236   ;
4237   return 0;
4238 }
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241   ac_compiler_gnu=yes
4242 else
4243   ac_compiler_gnu=no
4244 fi
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4247
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252   GCC=yes
4253 else
4254   GCC=
4255 fi
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   ac_save_c_werror_flag=$ac_c_werror_flag
4264    ac_c_werror_flag=yes
4265    ac_cv_prog_cc_g=no
4266    CFLAGS="-g"
4267    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h.  */
4269
4270 int
4271 main ()
4272 {
4273
4274   ;
4275   return 0;
4276 }
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279   ac_cv_prog_cc_g=yes
4280 else
4281   CFLAGS=""
4282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h.  */
4284
4285 int
4286 main ()
4287 {
4288
4289   ;
4290   return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294
4295 else
4296   ac_c_werror_flag=$ac_save_c_werror_flag
4297          CFLAGS="-g"
4298          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h.  */
4300
4301 int
4302 main ()
4303 {
4304
4305   ;
4306   return 0;
4307 }
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310   ac_cv_prog_cc_g=yes
4311 fi
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 fi
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 fi
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317    ac_c_werror_flag=$ac_save_c_werror_flag
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322   CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324   if test "$GCC" = yes; then
4325     CFLAGS="-g -O2"
4326   else
4327     CFLAGS="-g"
4328   fi
4329 else
4330   if test "$GCC" = yes; then
4331     CFLAGS="-O2"
4332   else
4333     CFLAGS=
4334   fi
4335 fi
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339   $as_echo_n "(cached) " >&6
4340 else
4341   ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h.  */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353      char **p;
4354      int i;
4355 {
4356   return p[i];
4357 }
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4359 {
4360   char *s;
4361   va_list v;
4362   va_start (v,p);
4363   s = g (p, va_arg (v,int));
4364   va_end (v);
4365   return s;
4366 }
4367
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4369    function prototypes and stuff, but not '\xHH' hex character constants.
4370    These don't provoke an error unfortunately, instead are silently treated
4371    as 'x'.  The following induces an error, until -std is added to get
4372    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4373    array size at least.  It's necessary to write '\x00'==0 to get something
4374    that's true only with -std.  */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4376
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378    inside strings and character constants.  */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4381
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4388 int
4389 main ()
4390 {
4391 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4392   ;
4393   return 0;
4394 }
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4398 do
4399   CC="$ac_save_CC $ac_arg"
4400   if ac_fn_c_try_compile "$LINENO"; then :
4401   ac_cv_prog_cc_c89=$ac_arg
4402 fi
4403 rm -f core conftest.err conftest.$ac_objext
4404   test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4408
4409 fi
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4412   x)
4413     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415   xno)
4416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4418   *)
4419     CC="$CC $ac_cv_prog_cc_c89"
4420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4424
4425 fi
4426
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439   if test -n "$CCC"; then
4440     CXX=$CCC
4441   else
4442     if test -n "$ac_tool_prefix"; then
4443   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444   do
4445     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450   $as_echo_n "(cached) " >&6
4451 else
4452   if test -n "$CXX"; then
4453   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4457 do
4458   IFS=$as_save_IFS
4459   test -z "$as_dir" && as_dir=.
4460     for ac_exec_ext in '' $ac_executable_extensions; do
4461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464     break 2
4465   fi
4466 done
4467   done
4468 IFS=$as_save_IFS
4469
4470 fi
4471 fi
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4479 fi
4480
4481
4482     test -n "$CXX" && break
4483   done
4484 fi
4485 if test -z "$CXX"; then
4486   ac_ct_CXX=$CXX
4487   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4488 do
4489   # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494   $as_echo_n "(cached) " >&6
4495 else
4496   if test -n "$ac_ct_CXX"; then
4497   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4501 do
4502   IFS=$as_save_IFS
4503   test -z "$as_dir" && as_dir=.
4504     for ac_exec_ext in '' $ac_executable_extensions; do
4505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506     ac_cv_prog_ac_ct_CXX="$ac_prog"
4507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508     break 2
4509   fi
4510 done
4511   done
4512 IFS=$as_save_IFS
4513
4514 fi
4515 fi
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4523 fi
4524
4525
4526   test -n "$ac_ct_CXX" && break
4527 done
4528
4529   if test "x$ac_ct_CXX" = x; then
4530     CXX="g++"
4531   else
4532     case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538     CXX=$ac_ct_CXX
4539   fi
4540 fi
4541
4542   fi
4543 fi
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549   { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552   *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557   ac_status=$?
4558   if test -s conftest.err; then
4559     sed '10a\
4560 ... rest of stderr output deleted ...
4561          10q' conftest.err >conftest.er1
4562     cat conftest.er1 >&5
4563     rm -f conftest.er1 conftest.err
4564   fi
4565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566   test $ac_status = 0; }
4567 done
4568
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h.  */
4576
4577 int
4578 main ()
4579 {
4580 #ifndef __GNUC__
4581        choke me
4582 #endif
4583
4584   ;
4585   return 0;
4586 }
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589   ac_compiler_gnu=yes
4590 else
4591   ac_compiler_gnu=no
4592 fi
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600   GXX=yes
4601 else
4602   GXX=
4603 fi
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612    ac_cxx_werror_flag=yes
4613    ac_cv_prog_cxx_g=no
4614    CXXFLAGS="-g"
4615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h.  */
4617
4618 int
4619 main ()
4620 {
4621
4622   ;
4623   return 0;
4624 }
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627   ac_cv_prog_cxx_g=yes
4628 else
4629   CXXFLAGS=""
4630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h.  */
4632
4633 int
4634 main ()
4635 {
4636
4637   ;
4638   return 0;
4639 }
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4642
4643 else
4644   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645          CXXFLAGS="-g"
4646          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h.  */
4648
4649 int
4650 main ()
4651 {
4652
4653   ;
4654   return 0;
4655 }
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658   ac_cv_prog_cxx_g=yes
4659 fi
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 fi
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 fi
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670   CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672   if test "$GXX" = yes; then
4673     CXXFLAGS="-g -O2"
4674   else
4675     CXXFLAGS="-g"
4676   fi
4677 else
4678   if test "$GXX" = yes; then
4679     CXXFLAGS="-O2"
4680   else
4681     CXXFLAGS=
4682   fi
4683 fi
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689
4690 CXXFLAGS="$save_CXXFLAGS"
4691
4692 # Runs configure.host, and assorted other critical bits.  Sets
4693 # up critical shell variables.
4694
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704   CPP=
4705 fi
4706 if test -z "$CPP"; then
4707   if test "${ac_cv_prog_CPP+set}" = set; then :
4708   $as_echo_n "(cached) " >&6
4709 else
4710       # Double quotes because CPP needs to be expanded
4711     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4712     do
4713       ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4715 do
4716   # Use a header file that comes with gcc, so configuring glibc
4717   # with a fresh cross-compiler works.
4718   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719   # <limits.h> exists even on freestanding compilers.
4720   # On the NeXT, cc -E runs the code through the compiler's parser,
4721   # not just through cpp. "Syntax error" is here to catch this case.
4722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h.  */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729                      Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4732
4733 else
4734   # Broken: fails on valid input.
4735 continue
4736 fi
4737 rm -f conftest.err conftest.$ac_ext
4738
4739   # OK, works on sane cases.  Now check whether nonexistent headers
4740   # can be detected and how.
4741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h.  */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746   # Broken: success on invalid input.
4747 continue
4748 else
4749   # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4752 fi
4753 rm -f conftest.err conftest.$ac_ext
4754
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759   break
4760 fi
4761
4762     done
4763     ac_cv_prog_CPP=$CPP
4764
4765 fi
4766   CPP=$ac_cv_prog_CPP
4767 else
4768   ac_cv_prog_CPP=$CPP
4769 fi
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4774 do
4775   # Use a header file that comes with gcc, so configuring glibc
4776   # with a fresh cross-compiler works.
4777   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778   # <limits.h> exists even on freestanding compilers.
4779   # On the NeXT, cc -E runs the code through the compiler's parser,
4780   # not just through cpp. "Syntax error" is here to catch this case.
4781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h.  */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788                      Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4791
4792 else
4793   # Broken: fails on valid input.
4794 continue
4795 fi
4796 rm -f conftest.err conftest.$ac_ext
4797
4798   # OK, works on sane cases.  Now check whether nonexistent headers
4799   # can be detected and how.
4800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h.  */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805   # Broken: success on invalid input.
4806 continue
4807 else
4808   # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4811 fi
4812 rm -f conftest.err conftest.$ac_ext
4813
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4818
4819 else
4820   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4824 fi
4825
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831
4832
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836   $as_echo_n "(cached) " >&6
4837 else
4838   if test -z "$GREP"; then
4839   ac_path_GREP_found=false
4840   # Loop through the user's path and test for each of PROGNAME-LIST
4841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4843 do
4844   IFS=$as_save_IFS
4845   test -z "$as_dir" && as_dir=.
4846     for ac_prog in grep ggrep; do
4847     for ac_exec_ext in '' $ac_executable_extensions; do
4848       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851   # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4855 *)
4856   ac_count=0
4857   $as_echo_n 0123456789 >"conftest.in"
4858   while :
4859   do
4860     cat "conftest.in" "conftest.in" >"conftest.tmp"
4861     mv "conftest.tmp" "conftest.in"
4862     cp "conftest.in" "conftest.nl"
4863     $as_echo 'GREP' >> "conftest.nl"
4864     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866     as_fn_arith $ac_count + 1 && ac_count=$as_val
4867     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868       # Best one so far, save it but keep looking for a better one
4869       ac_cv_path_GREP="$ac_path_GREP"
4870       ac_path_GREP_max=$ac_count
4871     fi
4872     # 10*(2^10) chars as input seems more than enough
4873     test $ac_count -gt 10 && break
4874   done
4875   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4877
4878       $ac_path_GREP_found && break 3
4879     done
4880   done
4881   done
4882 IFS=$as_save_IFS
4883   if test -z "$ac_cv_path_GREP"; then
4884     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4885   fi
4886 else
4887   ac_cv_path_GREP=$GREP
4888 fi
4889
4890 fi
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893  GREP="$ac_cv_path_GREP"
4894
4895
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899   $as_echo_n "(cached) " >&6
4900 else
4901   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902    then ac_cv_path_EGREP="$GREP -E"
4903    else
4904      if test -z "$EGREP"; then
4905   ac_path_EGREP_found=false
4906   # Loop through the user's path and test for each of PROGNAME-LIST
4907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4909 do
4910   IFS=$as_save_IFS
4911   test -z "$as_dir" && as_dir=.
4912     for ac_prog in egrep; do
4913     for ac_exec_ext in '' $ac_executable_extensions; do
4914       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917   # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4921 *)
4922   ac_count=0
4923   $as_echo_n 0123456789 >"conftest.in"
4924   while :
4925   do
4926     cat "conftest.in" "conftest.in" >"conftest.tmp"
4927     mv "conftest.tmp" "conftest.in"
4928     cp "conftest.in" "conftest.nl"
4929     $as_echo 'EGREP' >> "conftest.nl"
4930     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932     as_fn_arith $ac_count + 1 && ac_count=$as_val
4933     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934       # Best one so far, save it but keep looking for a better one
4935       ac_cv_path_EGREP="$ac_path_EGREP"
4936       ac_path_EGREP_max=$ac_count
4937     fi
4938     # 10*(2^10) chars as input seems more than enough
4939     test $ac_count -gt 10 && break
4940   done
4941   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4943
4944       $ac_path_EGREP_found && break 3
4945     done
4946   done
4947   done
4948 IFS=$as_save_IFS
4949   if test -z "$ac_cv_path_EGREP"; then
4950     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4951   fi
4952 else
4953   ac_cv_path_EGREP=$EGREP
4954 fi
4955
4956    fi
4957 fi
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960  EGREP="$ac_cv_path_EGREP"
4961
4962
4963
4964   # Keep these sync'd with the list in Makefile.am.  The first provides an
4965   # expandable list at autoconf time; the second provides an expandable list
4966   # (i.e., shell variable) at configure time.
4967
4968   SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4969
4970   # These need to be absolute paths, yet at the same time need to
4971   # canonicalize only relative paths, because then amd will not unmount
4972   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973   glibcxx_builddir=`${PWDCMD-pwd}`
4974   case $srcdir in
4975     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977   esac
4978   toplevel_builddir=${glibcxx_builddir}/..
4979   toplevel_srcdir=${glibcxx_srcdir}/..
4980
4981
4982
4983
4984
4985   # We use these options to decide which functions to include.  They are
4986   # set from the top level.
4987
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990   withval=$with_target_subdir;
4991 fi
4992
4993
4994
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997   withval=$with_cross_host;
4998 fi
4999
5000
5001
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004   withval=$with_newlib;
5005 fi
5006
5007
5008   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009   # available).  Uncomment the next line to force a particular method.
5010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5019 fi
5020
5021   #LN_S='cp -p'
5022
5023   if test -n "$ac_tool_prefix"; then
5024   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029   $as_echo_n "(cached) " >&6
5030 else
5031   if test -n "$AS"; then
5032   ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5036 do
5037   IFS=$as_save_IFS
5038   test -z "$as_dir" && as_dir=.
5039     for ac_exec_ext in '' $ac_executable_extensions; do
5040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041     ac_cv_prog_AS="${ac_tool_prefix}as"
5042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043     break 2
5044   fi
5045 done
5046   done
5047 IFS=$as_save_IFS
5048
5049 fi
5050 fi
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5058 fi
5059
5060
5061 fi
5062 if test -z "$ac_cv_prog_AS"; then
5063   ac_ct_AS=$AS
5064   # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069   $as_echo_n "(cached) " >&6
5070 else
5071   if test -n "$ac_ct_AS"; then
5072   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5076 do
5077   IFS=$as_save_IFS
5078   test -z "$as_dir" && as_dir=.
5079     for ac_exec_ext in '' $ac_executable_extensions; do
5080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081     ac_cv_prog_ac_ct_AS="as"
5082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083     break 2
5084   fi
5085 done
5086   done
5087 IFS=$as_save_IFS
5088
5089 fi
5090 fi
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5098 fi
5099
5100   if test "x$ac_ct_AS" = x; then
5101     AS=""
5102   else
5103     case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109     AS=$ac_ct_AS
5110   fi
5111 else
5112   AS="$ac_cv_prog_AS"
5113 fi
5114
5115   if test -n "$ac_tool_prefix"; then
5116   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121   $as_echo_n "(cached) " >&6
5122 else
5123   if test -n "$AR"; then
5124   ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5128 do
5129   IFS=$as_save_IFS
5130   test -z "$as_dir" && as_dir=.
5131     for ac_exec_ext in '' $ac_executable_extensions; do
5132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133     ac_cv_prog_AR="${ac_tool_prefix}ar"
5134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135     break 2
5136   fi
5137 done
5138   done
5139 IFS=$as_save_IFS
5140
5141 fi
5142 fi
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5150 fi
5151
5152
5153 fi
5154 if test -z "$ac_cv_prog_AR"; then
5155   ac_ct_AR=$AR
5156   # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163   if test -n "$ac_ct_AR"; then
5164   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5168 do
5169   IFS=$as_save_IFS
5170   test -z "$as_dir" && as_dir=.
5171     for ac_exec_ext in '' $ac_executable_extensions; do
5172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173     ac_cv_prog_ac_ct_AR="ar"
5174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175     break 2
5176   fi
5177 done
5178   done
5179 IFS=$as_save_IFS
5180
5181 fi
5182 fi
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5190 fi
5191
5192   if test "x$ac_ct_AR" = x; then
5193     AR=""
5194   else
5195     case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201     AR=$ac_ct_AR
5202   fi
5203 else
5204   AR="$ac_cv_prog_AR"
5205 fi
5206
5207   if test -n "$ac_tool_prefix"; then
5208   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213   $as_echo_n "(cached) " >&6
5214 else
5215   if test -n "$RANLIB"; then
5216   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5220 do
5221   IFS=$as_save_IFS
5222   test -z "$as_dir" && as_dir=.
5223     for ac_exec_ext in '' $ac_executable_extensions; do
5224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227     break 2
5228   fi
5229 done
5230   done
5231 IFS=$as_save_IFS
5232
5233 fi
5234 fi
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 fi
5243
5244
5245 fi
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247   ac_ct_RANLIB=$RANLIB
5248   # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253   $as_echo_n "(cached) " >&6
5254 else
5255   if test -n "$ac_ct_RANLIB"; then
5256   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5260 do
5261   IFS=$as_save_IFS
5262   test -z "$as_dir" && as_dir=.
5263     for ac_exec_ext in '' $ac_executable_extensions; do
5264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265     ac_cv_prog_ac_ct_RANLIB="ranlib"
5266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267     break 2
5268   fi
5269 done
5270   done
5271 IFS=$as_save_IFS
5272
5273 fi
5274 fi
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5282 fi
5283
5284   if test "x$ac_ct_RANLIB" = x; then
5285     RANLIB="ranlib-not-found-in-path-error"
5286   else
5287     case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293     RANLIB=$ac_ct_RANLIB
5294   fi
5295 else
5296   RANLIB="$ac_cv_prog_RANLIB"
5297 fi
5298
5299
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303     # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307   USE_MAINTAINER_MODE=no
5308 fi
5309
5310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312    if test $USE_MAINTAINER_MODE = yes; then
5313   MAINTAINER_MODE_TRUE=
5314   MAINTAINER_MODE_FALSE='#'
5315 else
5316   MAINTAINER_MODE_TRUE='#'
5317   MAINTAINER_MODE_FALSE=
5318 fi
5319
5320   MAINT=$MAINTAINER_MODE_TRUE
5321
5322
5323
5324   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325   # which are themselves conditionally expanded.
5326   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327   ## other macros from doing the same.  This should be automated.)  -pme
5328
5329   # Check for C library flavor since GNU/Linux platforms use different
5330   # configuration directories depending on the C library in use.
5331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h.  */
5333
5334   #include <stdio.h>
5335   #if __UCLIBC__
5336     _using_uclibc
5337   #endif
5338
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342   uclibc=yes
5343 else
5344   uclibc=no
5345 fi
5346 rm -f conftest*
5347
5348
5349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h.  */
5351
5352   #include <stdio.h>
5353   #if __BIONIC__
5354     _using_bionic
5355   #endif
5356
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360   bionic=yes
5361 else
5362   bionic=no
5363 fi
5364 rm -f conftest*
5365
5366
5367   # Find platform-specific directories containing configuration info.
5368   # Also possibly modify flags used elsewhere, as needed by the platform.
5369
5370   . $glibcxx_srcdir/configure.host
5371   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5375
5376
5377
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380   enable_dlopen=yes
5381
5382
5383
5384 fi
5385 case `pwd` in
5386   *\ * | *\     *)
5387     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5390
5391
5392
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 ltmain="$ac_aux_dir/ltmain.sh"
5409
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5413
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5416
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5420
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5423
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5426
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436   ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438   ECHO='printf %s\n'
5439 else
5440   # Use this function as a fallback that always works.
5441   func_fallback_echo ()
5442   {
5443     eval 'cat <<_LTECHO_EOF
5444 $1
5445 _LTECHO_EOF'
5446   }
5447   ECHO='func_fallback_echo'
5448 fi
5449
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5453 {
5454     $ECHO ""
5455 }
5456
5457 case "$ECHO" in
5458   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482   $as_echo_n "(cached) " >&6
5483 else
5484             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485      for ac_i in 1 2 3 4 5 6 7; do
5486        ac_script="$ac_script$as_nl$ac_script"
5487      done
5488      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489      { ac_script=; unset ac_script;}
5490      if test -z "$SED"; then
5491   ac_path_SED_found=false
5492   # Loop through the user's path and test for each of PROGNAME-LIST
5493   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5495 do
5496   IFS=$as_save_IFS
5497   test -z "$as_dir" && as_dir=.
5498     for ac_prog in sed gsed; do
5499     for ac_exec_ext in '' $ac_executable_extensions; do
5500       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503   # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5507 *)
5508   ac_count=0
5509   $as_echo_n 0123456789 >"conftest.in"
5510   while :
5511   do
5512     cat "conftest.in" "conftest.in" >"conftest.tmp"
5513     mv "conftest.tmp" "conftest.in"
5514     cp "conftest.in" "conftest.nl"
5515     $as_echo '' >> "conftest.nl"
5516     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518     as_fn_arith $ac_count + 1 && ac_count=$as_val
5519     if test $ac_count -gt ${ac_path_SED_max-0}; then
5520       # Best one so far, save it but keep looking for a better one
5521       ac_cv_path_SED="$ac_path_SED"
5522       ac_path_SED_max=$ac_count
5523     fi
5524     # 10*(2^10) chars as input seems more than enough
5525     test $ac_count -gt 10 && break
5526   done
5527   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5529
5530       $ac_path_SED_found && break 3
5531     done
5532   done
5533   done
5534 IFS=$as_save_IFS
5535   if test -z "$ac_cv_path_SED"; then
5536     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5537   fi
5538 else
5539   ac_cv_path_SED=$SED
5540 fi
5541
5542 fi
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545  SED="$ac_cv_path_SED"
5546   rm -f conftest.sed
5547
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564   $as_echo_n "(cached) " >&6
5565 else
5566   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567    then ac_cv_path_FGREP="$GREP -F"
5568    else
5569      if test -z "$FGREP"; then
5570   ac_path_FGREP_found=false
5571   # Loop through the user's path and test for each of PROGNAME-LIST
5572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577     for ac_prog in fgrep; do
5578     for ac_exec_ext in '' $ac_executable_extensions; do
5579       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582   # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5586 *)
5587   ac_count=0
5588   $as_echo_n 0123456789 >"conftest.in"
5589   while :
5590   do
5591     cat "conftest.in" "conftest.in" >"conftest.tmp"
5592     mv "conftest.tmp" "conftest.in"
5593     cp "conftest.in" "conftest.nl"
5594     $as_echo 'FGREP' >> "conftest.nl"
5595     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597     as_fn_arith $ac_count + 1 && ac_count=$as_val
5598     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599       # Best one so far, save it but keep looking for a better one
5600       ac_cv_path_FGREP="$ac_path_FGREP"
5601       ac_path_FGREP_max=$ac_count
5602     fi
5603     # 10*(2^10) chars as input seems more than enough
5604     test $ac_count -gt 10 && break
5605   done
5606   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5608
5609       $ac_path_FGREP_found && break 3
5610     done
5611   done
5612   done
5613 IFS=$as_save_IFS
5614   if test -z "$ac_cv_path_FGREP"; then
5615     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5616   fi
5617 else
5618   ac_cv_path_FGREP=$FGREP
5619 fi
5620
5621    fi
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625  FGREP="$ac_cv_path_FGREP"
5626
5627
5628 test -z "$GREP" && GREP=grep
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652   with_gnu_ld=no
5653 fi
5654
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657   # Check if gcc -print-prog-name=ld gives a path.
5658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660   case $host in
5661   *-*-mingw*)
5662     # gcc leaves a trailing carriage return which upsets mingw
5663     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664   *)
5665     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666   esac
5667   case $ac_prog in
5668     # Accept absolute paths.
5669     [\\/]* | ?:[\\/]*)
5670       re_direlt='/[^/][^/]*/\.\./'
5671       # Canonicalize the pathname of ld
5672       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675       done
5676       test -z "$LD" && LD="$ac_prog"
5677       ;;
5678   "")
5679     # If it fails, then pretend we aren't using GCC.
5680     ac_prog=ld
5681     ;;
5682   *)
5683     # If it is relative, then search for the first ld in PATH.
5684     with_gnu_ld=unknown
5685     ;;
5686   esac
5687 elif test "$with_gnu_ld" = yes; then
5688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 fi
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695   $as_echo_n "(cached) " >&6
5696 else
5697   if test -z "$LD"; then
5698   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699   for ac_dir in $PATH; do
5700     IFS="$lt_save_ifs"
5701     test -z "$ac_dir" && ac_dir=.
5702     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703       lt_cv_path_LD="$ac_dir/$ac_prog"
5704       # Check to see if the program is GNU ld.  I'd rather use --version,
5705       # but apparently some variants of GNU ld only accept -v.
5706       # Break only if it was the GNU/non-GNU ld that we prefer.
5707       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708       *GNU* | *'with BFD'*)
5709         test "$with_gnu_ld" != no && break
5710         ;;
5711       *)
5712         test "$with_gnu_ld" != yes && break
5713         ;;
5714       esac
5715     fi
5716   done
5717   IFS="$lt_save_ifs"
5718 else
5719   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5720 fi
5721 fi
5722
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735   $as_echo_n "(cached) " >&6
5736 else
5737   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740   lt_cv_prog_gnu_ld=yes
5741   ;;
5742 *)
5743   lt_cv_prog_gnu_ld=no
5744   ;;
5745 esac
5746 fi
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   if test -n "$NM"; then
5765   # Let the user override the test.
5766   lt_cv_path_NM="$NM"
5767 else
5768   lt_nm_to_check="${ac_tool_prefix}nm"
5769   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770     lt_nm_to_check="$lt_nm_to_check nm"
5771   fi
5772   for lt_tmp_nm in $lt_nm_to_check; do
5773     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775       IFS="$lt_save_ifs"
5776       test -z "$ac_dir" && ac_dir=.
5777       tmp_nm="$ac_dir/$lt_tmp_nm"
5778       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779         # Check to see if the nm accepts a BSD-compat flag.
5780         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781         #   nm: unknown option "B" ignored
5782         # Tru64's nm complains that /dev/null is an invalid object file
5783         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784         */dev/null* | *'Invalid file or object type'*)
5785           lt_cv_path_NM="$tmp_nm -B"
5786           break
5787           ;;
5788         *)
5789           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790           */dev/null*)
5791             lt_cv_path_NM="$tmp_nm -p"
5792             break
5793             ;;
5794           *)
5795             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796             continue # so that we can try to find one that supports BSD flags
5797             ;;
5798           esac
5799           ;;
5800         esac
5801       fi
5802     done
5803     IFS="$lt_save_ifs"
5804   done
5805   : ${lt_cv_path_NM=no}
5806 fi
5807 fi
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811   NM="$lt_cv_path_NM"
5812 else
5813   # Didn't find any BSD compatible name lister, look for dumpbin.
5814   if test -n "$DUMPBIN"; then :
5815     # Let the user override the test.
5816   else
5817     if test -n "$ac_tool_prefix"; then
5818   for ac_prog in dumpbin "link -dump"
5819   do
5820     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825   $as_echo_n "(cached) " >&6
5826 else
5827   if test -n "$DUMPBIN"; then
5828   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5832 do
5833   IFS=$as_save_IFS
5834   test -z "$as_dir" && as_dir=.
5835     for ac_exec_ext in '' $ac_executable_extensions; do
5836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839     break 2
5840   fi
5841 done
5842   done
5843 IFS=$as_save_IFS
5844
5845 fi
5846 fi
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5854 fi
5855
5856
5857     test -n "$DUMPBIN" && break
5858   done
5859 fi
5860 if test -z "$DUMPBIN"; then
5861   ac_ct_DUMPBIN=$DUMPBIN
5862   for ac_prog in dumpbin "link -dump"
5863 do
5864   # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869   $as_echo_n "(cached) " >&6
5870 else
5871   if test -n "$ac_ct_DUMPBIN"; then
5872   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5876 do
5877   IFS=$as_save_IFS
5878   test -z "$as_dir" && as_dir=.
5879     for ac_exec_ext in '' $ac_executable_extensions; do
5880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883     break 2
5884   fi
5885 done
5886   done
5887 IFS=$as_save_IFS
5888
5889 fi
5890 fi
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5898 fi
5899
5900
5901   test -n "$ac_ct_DUMPBIN" && break
5902 done
5903
5904   if test "x$ac_ct_DUMPBIN" = x; then
5905     DUMPBIN=":"
5906   else
5907     case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913     DUMPBIN=$ac_ct_DUMPBIN
5914   fi
5915 fi
5916
5917     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918     *COFF*)
5919       DUMPBIN="$DUMPBIN -symbols"
5920       ;;
5921     *)
5922       DUMPBIN=:
5923       ;;
5924     esac
5925   fi
5926
5927   if test "$DUMPBIN" != ":"; then
5928     NM="$DUMPBIN"
5929   fi
5930 fi
5931 test -z "$NM" && NM=nm
5932
5933
5934
5935
5936
5937
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941   $as_echo_n "(cached) " >&6
5942 else
5943   lt_cv_nm_interface="BSD nm"
5944   echo "int some_variable = 0;" > conftest.$ac_ext
5945   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946   (eval "$ac_compile" 2>conftest.err)
5947   cat conftest.err >&5
5948   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950   cat conftest.err >&5
5951   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952   cat conftest.out >&5
5953   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954     lt_cv_nm_interface="MS dumpbin"
5955   fi
5956   rm -f conftest*
5957 fi
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5960
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965   $as_echo_n "(cached) " >&6
5966 else
5967     i=0
5968   teststring="ABCD"
5969
5970   case $build_os in
5971   msdosdjgpp*)
5972     # On DJGPP, this test can blow up pretty badly due to problems in libc
5973     # (any single argument exceeding 2000 bytes causes a buffer overrun
5974     # during glob expansion).  Even if it were fixed, the result of this
5975     # check would be larger than it should be.
5976     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5977     ;;
5978
5979   gnu*)
5980     # Under GNU Hurd, this test is not required because there is
5981     # no limit to the length of command line arguments.
5982     # Libtool will interpret -1 as no limit whatsoever
5983     lt_cv_sys_max_cmd_len=-1;
5984     ;;
5985
5986   cygwin* | mingw* | cegcc*)
5987     # On Win9x/ME, this test blows up -- it succeeds, but takes
5988     # about 5 minutes as the teststring grows exponentially.
5989     # Worse, since 9x/ME are not pre-emptively multitasking,
5990     # you end up with a "frozen" computer, even though with patience
5991     # the test eventually succeeds (with a max line length of 256k).
5992     # Instead, let's just punt: use the minimum linelength reported by
5993     # all of the supported platforms: 8192 (on NT/2K/XP).
5994     lt_cv_sys_max_cmd_len=8192;
5995     ;;
5996
5997   mint*)
5998     # On MiNT this can take a long time and run out of memory.
5999     lt_cv_sys_max_cmd_len=8192;
6000     ;;
6001
6002   amigaos*)
6003     # On AmigaOS with pdksh, this test takes hours, literally.
6004     # So we just punt and use a minimum line length of 8192.
6005     lt_cv_sys_max_cmd_len=8192;
6006     ;;
6007
6008   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009     # This has been around since 386BSD, at least.  Likely further.
6010     if test -x /sbin/sysctl; then
6011       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012     elif test -x /usr/sbin/sysctl; then
6013       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014     else
6015       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6016     fi
6017     # And add a safety zone
6018     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020     ;;
6021
6022   interix*)
6023     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024     lt_cv_sys_max_cmd_len=196608
6025     ;;
6026
6027   osf*)
6028     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030     # nice to cause kernel panics so lets avoid the loop below.
6031     # First set a reasonable default.
6032     lt_cv_sys_max_cmd_len=16384
6033     #
6034     if test -x /sbin/sysconfig; then
6035       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037       esac
6038     fi
6039     ;;
6040   sco3.2v5*)
6041     lt_cv_sys_max_cmd_len=102400
6042     ;;
6043   sysv5* | sco5v6* | sysv4.2uw2*)
6044     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045     if test -n "$kargmax"; then
6046       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6047     else
6048       lt_cv_sys_max_cmd_len=32768
6049     fi
6050     ;;
6051   *)
6052     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053     if test -n "$lt_cv_sys_max_cmd_len"; then
6054       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056     else
6057       # Make teststring a little bigger before we do anything with it.
6058       # a 1K string should be a reasonable start.
6059       for i in 1 2 3 4 5 6 7 8 ; do
6060         teststring=$teststring$teststring
6061       done
6062       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063       # If test is not a shell built-in, we'll probably end up computing a
6064       # maximum length that is only half of the actual maximum length, but
6065       # we can't tell.
6066       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068               test $i != 17 # 1/2 MB should be enough
6069       do
6070         i=`expr $i + 1`
6071         teststring=$teststring$teststring
6072       done
6073       # Only check the string length outside the loop.
6074       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075       teststring=
6076       # Add a significant safety factor because C++ compilers can tack on
6077       # massive amounts of additional arguments before passing them to the
6078       # linker.  It appears as though 1/2 is a usable value.
6079       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6080     fi
6081     ;;
6082   esac
6083
6084 fi
6085
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6092 fi
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6094
6095
6096
6097
6098
6099
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6103
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110       = c,a/b,, \
6111     && eval 'test $(( 1 + 1 )) -eq 2 \
6112     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113   && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6116
6117
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122     >/dev/null 2>&1 \
6123   && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6126
6127
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129   lt_unset=unset
6130 else
6131   lt_unset=false
6132 fi
6133
6134
6135
6136
6137
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140  A) # ASCII based system
6141     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142   lt_SP2NL='tr \040 \012'
6143   lt_NL2SP='tr \015\012 \040\040'
6144   ;;
6145  *) # EBCDIC based system
6146   lt_SP2NL='tr \100 \n'
6147   lt_NL2SP='tr \r\n \100\100'
6148   ;;
6149 esac
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162   $as_echo_n "(cached) " >&6
6163 else
6164   lt_cv_ld_reload_flag='-r'
6165 fi
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175   darwin*)
6176     if test "$GCC" = yes; then
6177       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178     else
6179       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180     fi
6181     ;;
6182 esac
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192 if test -n "$ac_tool_prefix"; then
6193   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198   $as_echo_n "(cached) " >&6
6199 else
6200   if test -n "$OBJDUMP"; then
6201   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6205 do
6206   IFS=$as_save_IFS
6207   test -z "$as_dir" && as_dir=.
6208     for ac_exec_ext in '' $ac_executable_extensions; do
6209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212     break 2
6213   fi
6214 done
6215   done
6216 IFS=$as_save_IFS
6217
6218 fi
6219 fi
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 fi
6228
6229
6230 fi
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232   ac_ct_OBJDUMP=$OBJDUMP
6233   # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238   $as_echo_n "(cached) " >&6
6239 else
6240   if test -n "$ac_ct_OBJDUMP"; then
6241   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246   IFS=$as_save_IFS
6247   test -z "$as_dir" && as_dir=.
6248     for ac_exec_ext in '' $ac_executable_extensions; do
6249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252     break 2
6253   fi
6254 done
6255   done
6256 IFS=$as_save_IFS
6257
6258 fi
6259 fi
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6267 fi
6268
6269   if test "x$ac_ct_OBJDUMP" = x; then
6270     OBJDUMP="false"
6271   else
6272     case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278     OBJDUMP=$ac_ct_OBJDUMP
6279   fi
6280 else
6281   OBJDUMP="$ac_cv_prog_OBJDUMP"
6282 fi
6283
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297   $as_echo_n "(cached) " >&6
6298 else
6299   lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6312
6313 case $host_os in
6314 aix[4-9]*)
6315   lt_cv_deplibs_check_method=pass_all
6316   ;;
6317
6318 beos*)
6319   lt_cv_deplibs_check_method=pass_all
6320   ;;
6321
6322 bsdi[45]*)
6323   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324   lt_cv_file_magic_cmd='/usr/bin/file -L'
6325   lt_cv_file_magic_test_file=/shlib/libc.so
6326   ;;
6327
6328 cygwin*)
6329   # func_win32_libid is a shell function defined in ltmain.sh
6330   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331   lt_cv_file_magic_cmd='func_win32_libid'
6332   ;;
6333
6334 mingw* | pw32*)
6335   # Base MSYS/MinGW do not provide the 'file' command needed by
6336   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337   # unless we find 'file', for example because we are cross-compiling.
6338   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341     lt_cv_file_magic_cmd='func_win32_libid'
6342   else
6343     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344     lt_cv_file_magic_cmd='$OBJDUMP -f'
6345   fi
6346   ;;
6347
6348 cegcc*)
6349   # use the weaker test based on 'objdump'. See mingw*.
6350   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351   lt_cv_file_magic_cmd='$OBJDUMP -f'
6352   ;;
6353
6354 darwin* | rhapsody*)
6355   lt_cv_deplibs_check_method=pass_all
6356   ;;
6357
6358 freebsd* | dragonfly*)
6359   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360     case $host_cpu in
6361     i*86 )
6362       # Not sure whether the presence of OpenBSD here was a mistake.
6363       # Let's accept both of them until this is cleared up.
6364       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365       lt_cv_file_magic_cmd=/usr/bin/file
6366       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6367       ;;
6368     esac
6369   else
6370     lt_cv_deplibs_check_method=pass_all
6371   fi
6372   ;;
6373
6374 gnu*)
6375   lt_cv_deplibs_check_method=pass_all
6376   ;;
6377
6378 haiku*)
6379   lt_cv_deplibs_check_method=pass_all
6380   ;;
6381
6382 hpux10.20* | hpux11*)
6383   lt_cv_file_magic_cmd=/usr/bin/file
6384   case $host_cpu in
6385   ia64*)
6386     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6388     ;;
6389   hppa*64*)
6390     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]'
6391     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6392     ;;
6393   *)
6394     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6396     ;;
6397   esac
6398   ;;
6399
6400 interix[3-9]*)
6401   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6403   ;;
6404
6405 irix5* | irix6* | nonstopux*)
6406   case $LD in
6407   *-32|*"-32 ") libmagic=32-bit;;
6408   *-n32|*"-n32 ") libmagic=N32;;
6409   *-64|*"-64 ") libmagic=64-bit;;
6410   *) libmagic=never-match;;
6411   esac
6412   lt_cv_deplibs_check_method=pass_all
6413   ;;
6414
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417   lt_cv_deplibs_check_method=pass_all
6418   ;;
6419
6420 netbsd*)
6421   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423   else
6424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6425   fi
6426   ;;
6427
6428 newos6*)
6429   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430   lt_cv_file_magic_cmd=/usr/bin/file
6431   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6432   ;;
6433
6434 *nto* | *qnx*)
6435   lt_cv_deplibs_check_method=pass_all
6436   ;;
6437
6438 openbsd*)
6439   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441   else
6442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6443   fi
6444   ;;
6445
6446 osf3* | osf4* | osf5*)
6447   lt_cv_deplibs_check_method=pass_all
6448   ;;
6449
6450 rdos*)
6451   lt_cv_deplibs_check_method=pass_all
6452   ;;
6453
6454 solaris*)
6455   lt_cv_deplibs_check_method=pass_all
6456   ;;
6457
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459   lt_cv_deplibs_check_method=pass_all
6460   ;;
6461
6462 sysv4 | sysv4.3*)
6463   case $host_vendor in
6464   motorola)
6465     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]'
6466     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6467     ;;
6468   ncr)
6469     lt_cv_deplibs_check_method=pass_all
6470     ;;
6471   sequent)
6472     lt_cv_file_magic_cmd='/bin/file'
6473     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6474     ;;
6475   sni)
6476     lt_cv_file_magic_cmd='/bin/file'
6477     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478     lt_cv_file_magic_test_file=/lib/libc.so
6479     ;;
6480   siemens)
6481     lt_cv_deplibs_check_method=pass_all
6482     ;;
6483   pc)
6484     lt_cv_deplibs_check_method=pass_all
6485     ;;
6486   esac
6487   ;;
6488
6489 tpf*)
6490   lt_cv_deplibs_check_method=pass_all
6491   ;;
6492 esac
6493
6494 fi
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   if test -n "$AR"; then
6521   ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526   IFS=$as_save_IFS
6527   test -z "$as_dir" && as_dir=.
6528     for ac_exec_ext in '' $ac_executable_extensions; do
6529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530     ac_cv_prog_AR="${ac_tool_prefix}ar"
6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532     break 2
6533   fi
6534 done
6535   done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_AR"; then
6552   ac_ct_AR=$AR
6553   # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   if test -n "$ac_ct_AR"; then
6561   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566   IFS=$as_save_IFS
6567   test -z "$as_dir" && as_dir=.
6568     for ac_exec_ext in '' $ac_executable_extensions; do
6569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570     ac_cv_prog_ac_ct_AR="ar"
6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572     break 2
6573   fi
6574 done
6575   done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589   if test "x$ac_ct_AR" = x; then
6590     AR="false"
6591   else
6592     case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598     AR=$ac_ct_AR
6599   fi
6600 else
6601   AR="$ac_cv_prog_AR"
6602 fi
6603
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617 if test -n "$ac_tool_prefix"; then
6618   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623   $as_echo_n "(cached) " >&6
6624 else
6625   if test -n "$STRIP"; then
6626   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6630 do
6631   IFS=$as_save_IFS
6632   test -z "$as_dir" && as_dir=.
6633     for ac_exec_ext in '' $ac_executable_extensions; do
6634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637     break 2
6638   fi
6639 done
6640   done
6641 IFS=$as_save_IFS
6642
6643 fi
6644 fi
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6652 fi
6653
6654
6655 fi
6656 if test -z "$ac_cv_prog_STRIP"; then
6657   ac_ct_STRIP=$STRIP
6658   # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663   $as_echo_n "(cached) " >&6
6664 else
6665   if test -n "$ac_ct_STRIP"; then
6666   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6670 do
6671   IFS=$as_save_IFS
6672   test -z "$as_dir" && as_dir=.
6673     for ac_exec_ext in '' $ac_executable_extensions; do
6674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675     ac_cv_prog_ac_ct_STRIP="strip"
6676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677     break 2
6678   fi
6679 done
6680   done
6681 IFS=$as_save_IFS
6682
6683 fi
6684 fi
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6692 fi
6693
6694   if test "x$ac_ct_STRIP" = x; then
6695     STRIP=":"
6696   else
6697     case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703     STRIP=$ac_ct_STRIP
6704   fi
6705 else
6706   STRIP="$ac_cv_prog_STRIP"
6707 fi
6708
6709 test -z "$STRIP" && STRIP=:
6710
6711
6712
6713
6714
6715
6716 if test -n "$ac_tool_prefix"; then
6717   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722   $as_echo_n "(cached) " >&6
6723 else
6724   if test -n "$RANLIB"; then
6725   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6729 do
6730   IFS=$as_save_IFS
6731   test -z "$as_dir" && as_dir=.
6732     for ac_exec_ext in '' $ac_executable_extensions; do
6733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736     break 2
6737   fi
6738 done
6739   done
6740 IFS=$as_save_IFS
6741
6742 fi
6743 fi
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6751 fi
6752
6753
6754 fi
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756   ac_ct_RANLIB=$RANLIB
6757   # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762   $as_echo_n "(cached) " >&6
6763 else
6764   if test -n "$ac_ct_RANLIB"; then
6765   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6769 do
6770   IFS=$as_save_IFS
6771   test -z "$as_dir" && as_dir=.
6772     for ac_exec_ext in '' $ac_executable_extensions; do
6773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774     ac_cv_prog_ac_ct_RANLIB="ranlib"
6775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776     break 2
6777   fi
6778 done
6779   done
6780 IFS=$as_save_IFS
6781
6782 fi
6783 fi
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6791 fi
6792
6793   if test "x$ac_ct_RANLIB" = x; then
6794     RANLIB=":"
6795   else
6796     case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802     RANLIB=$ac_ct_RANLIB
6803   fi
6804 else
6805   RANLIB="$ac_cv_prog_RANLIB"
6806 fi
6807
6808 test -z "$RANLIB" && RANLIB=:
6809
6810
6811
6812
6813
6814
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6819
6820 if test -n "$RANLIB"; then
6821   case $host_os in
6822   openbsd*)
6823     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6824     ;;
6825   *)
6826     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6827     ;;
6828   esac
6829   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6830 fi
6831
6832 case $host_os in
6833   darwin*)
6834     lock_old_archive_extraction=yes ;;
6835   *)
6836     lock_old_archive_extraction=no ;;
6837 esac
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
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6879
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6882
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6885
6886
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891   $as_echo_n "(cached) " >&6
6892 else
6893
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6896
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6899
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6902
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906   symcode='[BCDT]'
6907   ;;
6908 cygwin* | mingw* | pw32* | cegcc*)
6909   symcode='[ABCDGISTW]'
6910   ;;
6911 hpux*)
6912   if test "$host_cpu" = ia64; then
6913     symcode='[ABCDEGRST]'
6914   fi
6915   ;;
6916 irix* | nonstopux*)
6917   symcode='[BCDEGRST]'
6918   ;;
6919 osf*)
6920   symcode='[BCDEGQRST]'
6921   ;;
6922 solaris*)
6923   symcode='[BDRT]'
6924   ;;
6925 sco3.2v5*)
6926   symcode='[DT]'
6927   ;;
6928 sysv4.2uw2*)
6929   symcode='[DT]'
6930   ;;
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932   symcode='[ABDT]'
6933   ;;
6934 sysv4)
6935   symcode='[DFNSTU]'
6936   ;;
6937 esac
6938
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942   symcode='[ABCDGIRSTW]' ;;
6943 esac
6944
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6949
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6952 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'"
6953
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6959   ;;
6960 esac
6961
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6964
6965   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966   symxfrm="\\1 $ac_symprfx\\2 \\2"
6967
6968   # Write the raw and C identifiers.
6969   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970     # Fake it for dumpbin and say T for any non-static function
6971     # and D for any global variable.
6972     # Also find C++ and __fastcall symbols from MSVC++,
6973     # which start with @ or ?.
6974     lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 "     {last_section=section; section=\$ 3};"\
6976 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 "     \$ 0!~/External *\|/{next};"\
6978 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 "     {if(hide[section]) next};"\
6980 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 "     ' prfx=^$ac_symprfx"
6985   else
6986     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987   fi
6988
6989   # Check to see that the pipe works correctly.
6990   pipe_works=no
6991
6992   rm -f conftest*
6993   cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7001 }
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7005
7006   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007   (eval $ac_compile) 2>&5
7008   ac_status=$?
7009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010   test $ac_status = 0; }; then
7011     # Now try to grab the symbols.
7012     nlist=conftest.nm
7013     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015   ac_status=$?
7016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017   test $ac_status = 0; } && test -s "$nlist"; then
7018       # Try sorting and uniquifying the output.
7019       if sort "$nlist" | uniq > "$nlist"T; then
7020         mv -f "$nlist"T "$nlist"
7021       else
7022         rm -f "$nlist"T
7023       fi
7024
7025       # Make sure that we snagged all the symbols we need.
7026       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028           cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7032
7033 _LT_EOF
7034           # Now generate the symbol file.
7035           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7036
7037           cat <<_LT_EOF >> conftest.$ac_ext
7038
7039 /* The mapping between symbol names and symbols.  */
7040 const struct {
7041   const char *name;
7042   void       *address;
7043 }
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7045 {
7046   { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049           cat <<\_LT_EOF >> conftest.$ac_ext
7050   {0, (void *) 0}
7051 };
7052
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056   return lt__PROGRAM__LTX_preloaded_symbols;
7057 }
7058 #endif
7059
7060 #ifdef __cplusplus
7061 }
7062 #endif
7063 _LT_EOF
7064           # Now try linking the two files.
7065           mv conftest.$ac_objext conftstm.$ac_objext
7066           lt_save_LIBS="$LIBS"
7067           lt_save_CFLAGS="$CFLAGS"
7068           LIBS="conftstm.$ac_objext"
7069           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071   (eval $ac_link) 2>&5
7072   ac_status=$?
7073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075             pipe_works=yes
7076           fi
7077           LIBS="$lt_save_LIBS"
7078           CFLAGS="$lt_save_CFLAGS"
7079         else
7080           echo "cannot find nm_test_func in $nlist" >&5
7081         fi
7082       else
7083         echo "cannot find nm_test_var in $nlist" >&5
7084       fi
7085     else
7086       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7087     fi
7088   else
7089     echo "$progname: failed program was:" >&5
7090     cat conftest.$ac_ext >&5
7091   fi
7092   rm -rf conftest* conftst*
7093
7094   # Do not use the global_symbol_pipe unless it works.
7095   if test "$pipe_works" = yes; then
7096     break
7097   else
7098     lt_cv_sys_global_symbol_pipe=
7099   fi
7100 done
7101
7102 fi
7103
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105   lt_cv_sys_global_symbol_to_cdecl=
7106 fi
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7113 fi
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138   enableval=$enable_libtool_lock;
7139 fi
7140
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7142
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147   # Find out which ABI we are using.
7148   echo 'int i;' > conftest.$ac_ext
7149   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150   (eval $ac_compile) 2>&5
7151   ac_status=$?
7152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153   test $ac_status = 0; }; then
7154     case `/usr/bin/file conftest.$ac_objext` in
7155       *ELF-32*)
7156         HPUX_IA64_MODE="32"
7157         ;;
7158       *ELF-64*)
7159         HPUX_IA64_MODE="64"
7160         ;;
7161     esac
7162   fi
7163   rm -rf conftest*
7164   ;;
7165 *-*-irix6*)
7166   # Find out which ABI we are using.
7167   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169   (eval $ac_compile) 2>&5
7170   ac_status=$?
7171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172   test $ac_status = 0; }; then
7173     if test "$lt_cv_prog_gnu_ld" = yes; then
7174       case `/usr/bin/file conftest.$ac_objext` in
7175         *32-bit*)
7176           LD="${LD-ld} -melf32bsmip"
7177           ;;
7178         *N32*)
7179           LD="${LD-ld} -melf32bmipn32"
7180           ;;
7181         *64-bit*)
7182           LD="${LD-ld} -melf64bmip"
7183         ;;
7184       esac
7185     else
7186       case `/usr/bin/file conftest.$ac_objext` in
7187         *32-bit*)
7188           LD="${LD-ld} -32"
7189           ;;
7190         *N32*)
7191           LD="${LD-ld} -n32"
7192           ;;
7193         *64-bit*)
7194           LD="${LD-ld} -64"
7195           ;;
7196       esac
7197     fi
7198   fi
7199   rm -rf conftest*
7200   ;;
7201
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204   # Find out which ABI we are using.
7205   echo 'int i;' > conftest.$ac_ext
7206   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207   (eval $ac_compile) 2>&5
7208   ac_status=$?
7209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210   test $ac_status = 0; }; then
7211     case `/usr/bin/file conftest.o` in
7212       *32-bit*)
7213         case $host in
7214           x86_64-*kfreebsd*-gnu)
7215             LD="${LD-ld} -m elf_i386_fbsd"
7216             ;;
7217           x86_64-*linux*)
7218             case `/usr/bin/file conftest.o` in
7219               *x86-64*)
7220                 LD="${LD-ld} -m elf32_x86_64"
7221                 ;;
7222               *)
7223                 LD="${LD-ld} -m elf_i386"
7224                 ;;
7225             esac
7226             ;;
7227           powerpc64le-*linux*)
7228             LD="${LD-ld} -m elf32lppclinux"
7229             ;;
7230           powerpc64-*linux*)
7231             LD="${LD-ld} -m elf32ppclinux"
7232             ;;
7233           s390x-*linux*)
7234             LD="${LD-ld} -m elf_s390"
7235             ;;
7236           sparc64-*linux*)
7237             LD="${LD-ld} -m elf32_sparc"
7238             ;;
7239         esac
7240         ;;
7241       *64-bit*)
7242         case $host in
7243           x86_64-*kfreebsd*-gnu)
7244             LD="${LD-ld} -m elf_x86_64_fbsd"
7245             ;;
7246           x86_64-*linux*)
7247             LD="${LD-ld} -m elf_x86_64"
7248             ;;
7249           powerpcle-*linux*)
7250             LD="${LD-ld} -m elf64lppc"
7251             ;;
7252           powerpc-*linux*)
7253             LD="${LD-ld} -m elf64ppc"
7254             ;;
7255           s390*-*linux*|s390*-*tpf*)
7256             LD="${LD-ld} -m elf64_s390"
7257             ;;
7258           sparc*-*linux*)
7259             LD="${LD-ld} -m elf64_sparc"
7260             ;;
7261         esac
7262         ;;
7263     esac
7264   fi
7265   rm -rf conftest*
7266   ;;
7267
7268 *-*-sco3.2v5*)
7269   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270   SAVE_CFLAGS="$CFLAGS"
7271   CFLAGS="$CFLAGS -belf"
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275   $as_echo_n "(cached) " >&6
7276 else
7277   ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
7283      if test x$gcc_no_link = xyes; then
7284   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7285 fi
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h.  */
7288
7289 int
7290 main ()
7291 {
7292
7293   ;
7294   return 0;
7295 }
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298   lt_cv_cc_needs_belf=yes
7299 else
7300   lt_cv_cc_needs_belf=no
7301 fi
7302 rm -f core conftest.err conftest.$ac_objext \
7303     conftest$ac_exeext conftest.$ac_ext
7304      ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309
7310 fi
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315     CFLAGS="$SAVE_CFLAGS"
7316   fi
7317   ;;
7318 sparc*-*solaris*)
7319   # Find out which ABI we are using.
7320   echo 'int i;' > conftest.$ac_ext
7321   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322   (eval $ac_compile) 2>&5
7323   ac_status=$?
7324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325   test $ac_status = 0; }; then
7326     case `/usr/bin/file conftest.o` in
7327     *64-bit*)
7328       case $lt_cv_prog_gnu_ld in
7329       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7330       *)
7331         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332           LD="${LD-ld} -64"
7333         fi
7334         ;;
7335       esac
7336       ;;
7337     esac
7338   fi
7339   rm -rf conftest*
7340   ;;
7341 esac
7342
7343 need_locks="$enable_libtool_lock"
7344
7345
7346   case $host_os in
7347     rhapsody* | darwin*)
7348     if test -n "$ac_tool_prefix"; then
7349   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354   $as_echo_n "(cached) " >&6
7355 else
7356   if test -n "$DSYMUTIL"; then
7357   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7361 do
7362   IFS=$as_save_IFS
7363   test -z "$as_dir" && as_dir=.
7364     for ac_exec_ext in '' $ac_executable_extensions; do
7365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368     break 2
7369   fi
7370 done
7371   done
7372 IFS=$as_save_IFS
7373
7374 fi
7375 fi
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7383 fi
7384
7385
7386 fi
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388   ac_ct_DSYMUTIL=$DSYMUTIL
7389   # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394   $as_echo_n "(cached) " >&6
7395 else
7396   if test -n "$ac_ct_DSYMUTIL"; then
7397   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7401 do
7402   IFS=$as_save_IFS
7403   test -z "$as_dir" && as_dir=.
7404     for ac_exec_ext in '' $ac_executable_extensions; do
7405   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408     break 2
7409   fi
7410 done
7411   done
7412 IFS=$as_save_IFS
7413
7414 fi
7415 fi
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7423 fi
7424
7425   if test "x$ac_ct_DSYMUTIL" = x; then
7426     DSYMUTIL=":"
7427   else
7428     case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434     DSYMUTIL=$ac_ct_DSYMUTIL
7435   fi
7436 else
7437   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7438 fi
7439
7440     if test -n "$ac_tool_prefix"; then
7441   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446   $as_echo_n "(cached) " >&6
7447 else
7448   if test -n "$NMEDIT"; then
7449   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454   IFS=$as_save_IFS
7455   test -z "$as_dir" && as_dir=.
7456     for ac_exec_ext in '' $ac_executable_extensions; do
7457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460     break 2
7461   fi
7462 done
7463   done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477
7478 fi
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480   ac_ct_NMEDIT=$NMEDIT
7481   # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486   $as_echo_n "(cached) " >&6
7487 else
7488   if test -n "$ac_ct_NMEDIT"; then
7489   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7493 do
7494   IFS=$as_save_IFS
7495   test -z "$as_dir" && as_dir=.
7496     for ac_exec_ext in '' $ac_executable_extensions; do
7497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500     break 2
7501   fi
7502 done
7503   done
7504 IFS=$as_save_IFS
7505
7506 fi
7507 fi
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7515 fi
7516
7517   if test "x$ac_ct_NMEDIT" = x; then
7518     NMEDIT=":"
7519   else
7520     case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526     NMEDIT=$ac_ct_NMEDIT
7527   fi
7528 else
7529   NMEDIT="$ac_cv_prog_NMEDIT"
7530 fi
7531
7532     if test -n "$ac_tool_prefix"; then
7533   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538   $as_echo_n "(cached) " >&6
7539 else
7540   if test -n "$LIPO"; then
7541   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7545 do
7546   IFS=$as_save_IFS
7547   test -z "$as_dir" && as_dir=.
7548     for ac_exec_ext in '' $ac_executable_extensions; do
7549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552     break 2
7553   fi
7554 done
7555   done
7556 IFS=$as_save_IFS
7557
7558 fi
7559 fi
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7567 fi
7568
7569
7570 fi
7571 if test -z "$ac_cv_prog_LIPO"; then
7572   ac_ct_LIPO=$LIPO
7573   # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578   $as_echo_n "(cached) " >&6
7579 else
7580   if test -n "$ac_ct_LIPO"; then
7581   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7585 do
7586   IFS=$as_save_IFS
7587   test -z "$as_dir" && as_dir=.
7588     for ac_exec_ext in '' $ac_executable_extensions; do
7589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590     ac_cv_prog_ac_ct_LIPO="lipo"
7591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592     break 2
7593   fi
7594 done
7595   done
7596 IFS=$as_save_IFS
7597
7598 fi
7599 fi
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7607 fi
7608
7609   if test "x$ac_ct_LIPO" = x; then
7610     LIPO=":"
7611   else
7612     case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618     LIPO=$ac_ct_LIPO
7619   fi
7620 else
7621   LIPO="$ac_cv_prog_LIPO"
7622 fi
7623
7624     if test -n "$ac_tool_prefix"; then
7625   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630   $as_echo_n "(cached) " >&6
7631 else
7632   if test -n "$OTOOL"; then
7633   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7637 do
7638   IFS=$as_save_IFS
7639   test -z "$as_dir" && as_dir=.
7640     for ac_exec_ext in '' $ac_executable_extensions; do
7641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644     break 2
7645   fi
7646 done
7647   done
7648 IFS=$as_save_IFS
7649
7650 fi
7651 fi
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7659 fi
7660
7661
7662 fi
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664   ac_ct_OTOOL=$OTOOL
7665   # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670   $as_echo_n "(cached) " >&6
7671 else
7672   if test -n "$ac_ct_OTOOL"; then
7673   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7677 do
7678   IFS=$as_save_IFS
7679   test -z "$as_dir" && as_dir=.
7680     for ac_exec_ext in '' $ac_executable_extensions; do
7681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682     ac_cv_prog_ac_ct_OTOOL="otool"
7683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684     break 2
7685   fi
7686 done
7687   done
7688 IFS=$as_save_IFS
7689
7690 fi
7691 fi
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7699 fi
7700
7701   if test "x$ac_ct_OTOOL" = x; then
7702     OTOOL=":"
7703   else
7704     case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710     OTOOL=$ac_ct_OTOOL
7711   fi
7712 else
7713   OTOOL="$ac_cv_prog_OTOOL"
7714 fi
7715
7716     if test -n "$ac_tool_prefix"; then
7717   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722   $as_echo_n "(cached) " >&6
7723 else
7724   if test -n "$OTOOL64"; then
7725   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730   IFS=$as_save_IFS
7731   test -z "$as_dir" && as_dir=.
7732     for ac_exec_ext in '' $ac_executable_extensions; do
7733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736     break 2
7737   fi
7738 done
7739   done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 fi
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756   ac_ct_OTOOL64=$OTOOL64
7757   # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762   $as_echo_n "(cached) " >&6
7763 else
7764   if test -n "$ac_ct_OTOOL64"; then
7765   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7769 do
7770   IFS=$as_save_IFS
7771   test -z "$as_dir" && as_dir=.
7772     for ac_exec_ext in '' $ac_executable_extensions; do
7773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774     ac_cv_prog_ac_ct_OTOOL64="otool64"
7775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776     break 2
7777   fi
7778 done
7779   done
7780 IFS=$as_save_IFS
7781
7782 fi
7783 fi
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7791 fi
7792
7793   if test "x$ac_ct_OTOOL64" = x; then
7794     OTOOL64=":"
7795   else
7796     case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802     OTOOL64=$ac_ct_OTOOL64
7803   fi
7804 else
7805   OTOOL64="$ac_cv_prog_OTOOL64"
7806 fi
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837   $as_echo_n "(cached) " >&6
7838 else
7839   lt_cv_apple_cc_single_mod=no
7840       if test -z "${LT_MULTI_MODULE}"; then
7841         # By default we will add the -single_module flag. You can override
7842         # by either setting the environment variable LT_MULTI_MODULE
7843         # non-empty at configure time, or by adding -multi_module to the
7844         # link flags.
7845         rm -rf libconftest.dylib*
7846         echo "int foo(void){return 1;}" > conftest.c
7847         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851         _lt_result=$?
7852         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853           lt_cv_apple_cc_single_mod=yes
7854         else
7855           cat conftest.err >&5
7856         fi
7857         rm -rf libconftest.dylib*
7858         rm -f conftest.*
7859       fi
7860 fi
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866   $as_echo_n "(cached) " >&6
7867 else
7868   lt_cv_ld_exported_symbols_list=no
7869       save_LDFLAGS=$LDFLAGS
7870       echo "_main" > conftest.sym
7871       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872       if test x$gcc_no_link = xyes; then
7873   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 fi
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h.  */
7877
7878 int
7879 main ()
7880 {
7881
7882   ;
7883   return 0;
7884 }
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887   lt_cv_ld_exported_symbols_list=yes
7888 else
7889   lt_cv_ld_exported_symbols_list=no
7890 fi
7891 rm -f core conftest.err conftest.$ac_objext \
7892     conftest$ac_exeext conftest.$ac_ext
7893         LDFLAGS="$save_LDFLAGS"
7894
7895 fi
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901   $as_echo_n "(cached) " >&6
7902 else
7903   lt_cv_ld_force_load=no
7904       cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909       echo "$AR cru libconftest.a conftest.o" >&5
7910       $AR cru libconftest.a conftest.o 2>&5
7911       cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916       _lt_result=$?
7917       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918         lt_cv_ld_force_load=yes
7919       else
7920         cat conftest.err >&5
7921       fi
7922         rm -f conftest.err libconftest.a conftest conftest.c
7923         rm -rf conftest.dSYM
7924
7925 fi
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928     case $host_os in
7929     rhapsody* | darwin1.[012])
7930       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931     darwin1.*)
7932       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933     darwin*) # darwin 5.x on
7934       # if running on 10.5 or later, the deployment target defaults
7935       # to the OS version, if on x86, and 10.4, the deployment
7936       # target defaults to 10.4. Don't you love it?
7937       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940         10.[012][,.]*)
7941           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942         10.*)
7943           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944       esac
7945     ;;
7946   esac
7947     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948       _lt_dar_single_mod='$single_module'
7949     fi
7950     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952     else
7953       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7954     fi
7955     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956       _lt_dsymutil='~$DSYMUTIL $lib || :'
7957     else
7958       _lt_dsymutil=
7959     fi
7960     ;;
7961   esac
7962
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966   $as_echo_n "(cached) " >&6
7967 else
7968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h.  */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7974
7975 int
7976 main ()
7977 {
7978
7979   ;
7980   return 0;
7981 }
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984   ac_cv_header_stdc=yes
7985 else
7986   ac_cv_header_stdc=no
7987 fi
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989
7990 if test $ac_cv_header_stdc = yes; then
7991   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h.  */
7994 #include <string.h>
7995
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998   $EGREP "memchr" >/dev/null 2>&1; then :
7999
8000 else
8001   ac_cv_header_stdc=no
8002 fi
8003 rm -f conftest*
8004
8005 fi
8006
8007 if test $ac_cv_header_stdc = yes; then
8008   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h.  */
8011 #include <stdlib.h>
8012
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015   $EGREP "free" >/dev/null 2>&1; then :
8016
8017 else
8018   ac_cv_header_stdc=no
8019 fi
8020 rm -f conftest*
8021
8022 fi
8023
8024 if test $ac_cv_header_stdc = yes; then
8025   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026   if test "$cross_compiling" = yes; then :
8027   :
8028 else
8029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h.  */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038                    (('a' <= (c) && (c) <= 'i') \
8039                      || ('j' <= (c) && (c) <= 'r') \
8040                      || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8043
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8045 int
8046 main ()
8047 {
8048   int i;
8049   for (i = 0; i < 256; i++)
8050     if (XOR (islower (i), ISLOWER (i))
8051         || toupper (i) != TOUPPER (i))
8052       return 2;
8053   return 0;
8054 }
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8057
8058 else
8059   ac_cv_header_stdc=no
8060 fi
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062   conftest.$ac_objext conftest.beam conftest.$ac_ext
8063 fi
8064
8065 fi
8066 fi
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8070
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8072
8073 fi
8074
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077                   inttypes.h stdint.h unistd.h
8078 do :
8079   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8081 "
8082 eval as_val=\$$as_ac_Header
8083    if test "x$as_val" = x""yes; then :
8084   cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8087
8088 fi
8089
8090 done
8091
8092
8093 for ac_header in dlfcn.h
8094 do :
8095   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 "
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098   cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8101
8102 fi
8103
8104 done
8105
8106
8107
8108
8109
8110
8111 # Set options
8112
8113
8114
8115
8116   enable_win32_dll=no
8117
8118
8119             # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121   enableval=$enable_shared; p=${PACKAGE-default}
8122     case $enableval in
8123     yes) enable_shared=yes ;;
8124     no) enable_shared=no ;;
8125     *)
8126       enable_shared=no
8127       # Look at the argument we got.  We use all the common list separators.
8128       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129       for pkg in $enableval; do
8130         IFS="$lt_save_ifs"
8131         if test "X$pkg" = "X$p"; then
8132           enable_shared=yes
8133         fi
8134       done
8135       IFS="$lt_save_ifs"
8136       ;;
8137     esac
8138 else
8139   enable_shared=yes
8140 fi
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150   # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152   enableval=$enable_static; p=${PACKAGE-default}
8153     case $enableval in
8154     yes) enable_static=yes ;;
8155     no) enable_static=no ;;
8156     *)
8157      enable_static=no
8158       # Look at the argument we got.  We use all the common list separators.
8159       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160       for pkg in $enableval; do
8161         IFS="$lt_save_ifs"
8162         if test "X$pkg" = "X$p"; then
8163           enable_static=yes
8164         fi
8165       done
8166       IFS="$lt_save_ifs"
8167       ;;
8168     esac
8169 else
8170   enable_static=yes
8171 fi
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184   withval=$with_pic; pic_mode="$withval"
8185 else
8186   pic_mode=default
8187 fi
8188
8189
8190 test -z "$pic_mode" && pic_mode=default
8191
8192
8193
8194
8195
8196
8197
8198   # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200   enableval=$enable_fast_install; p=${PACKAGE-default}
8201     case $enableval in
8202     yes) enable_fast_install=yes ;;
8203     no) enable_fast_install=no ;;
8204     *)
8205       enable_fast_install=no
8206       # Look at the argument we got.  We use all the common list separators.
8207       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208       for pkg in $enableval; do
8209         IFS="$lt_save_ifs"
8210         if test "X$pkg" = "X$p"; then
8211           enable_fast_install=yes
8212         fi
8213       done
8214       IFS="$lt_save_ifs"
8215       ;;
8216     esac
8217 else
8218   enable_fast_install=yes
8219 fi
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8233
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262 test -z "$LN_S" && LN_S="ln -s"
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277 if test -n "${ZSH_VERSION+set}" ; then
8278    setopt NO_GLOB_SUBST
8279 fi
8280
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284   $as_echo_n "(cached) " >&6
8285 else
8286   rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289   lt_cv_objdir=.libs
8290 else
8291   # MS-DOS does not allow filenames that begin with a dot.
8292   lt_cv_objdir=_libs
8293 fi
8294 rmdir .libs 2>/dev/null
8295 fi
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8299
8300
8301
8302
8303
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8307
8308
8309
8310
8311 case $host_os in
8312 aix3*)
8313   # AIX sometimes has problems with the GCC collect2 program.  For some
8314   # reason, if we set the COLLECT_NAMES environment variable, the problems
8315   # vanish in a puff of smoke.
8316   if test "X${COLLECT_NAMES+set}" != Xset; then
8317     COLLECT_NAMES=
8318     export COLLECT_NAMES
8319   fi
8320   ;;
8321 esac
8322
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8326
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8330
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8332
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8335
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8342
8343 for cc_temp in $compiler""; do
8344   case $cc_temp in
8345     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347     \-*) ;;
8348     *) break;;
8349   esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8352
8353
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362   $as_echo_n "(cached) " >&6
8363 else
8364   case $MAGIC_CMD in
8365 [\\/*] |  ?:[\\/]*)
8366   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367   ;;
8368 *)
8369   lt_save_MAGIC_CMD="$MAGIC_CMD"
8370   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372   for ac_dir in $ac_dummy; do
8373     IFS="$lt_save_ifs"
8374     test -z "$ac_dir" && ac_dir=.
8375     if test -f $ac_dir/${ac_tool_prefix}file; then
8376       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377       if test -n "$file_magic_test_file"; then
8378         case $deplibs_check_method in
8379         "file_magic "*)
8380           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383             $EGREP "$file_magic_regex" > /dev/null; then
8384             :
8385           else
8386             cat <<_LT_EOF 1>&2
8387
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such.  This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem.  Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8396
8397 _LT_EOF
8398           fi ;;
8399         esac
8400       fi
8401       break
8402     fi
8403   done
8404   IFS="$lt_save_ifs"
8405   MAGIC_CMD="$lt_save_MAGIC_CMD"
8406   ;;
8407 esac
8408 fi
8409
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419
8420
8421
8422
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424   if test -n "$ac_tool_prefix"; then
8425     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428   $as_echo_n "(cached) " >&6
8429 else
8430   case $MAGIC_CMD in
8431 [\\/*] |  ?:[\\/]*)
8432   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433   ;;
8434 *)
8435   lt_save_MAGIC_CMD="$MAGIC_CMD"
8436   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438   for ac_dir in $ac_dummy; do
8439     IFS="$lt_save_ifs"
8440     test -z "$ac_dir" && ac_dir=.
8441     if test -f $ac_dir/file; then
8442       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443       if test -n "$file_magic_test_file"; then
8444         case $deplibs_check_method in
8445         "file_magic "*)
8446           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449             $EGREP "$file_magic_regex" > /dev/null; then
8450             :
8451           else
8452             cat <<_LT_EOF 1>&2
8453
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such.  This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem.  Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8462
8463 _LT_EOF
8464           fi ;;
8465         esac
8466       fi
8467       break
8468     fi
8469   done
8470   IFS="$lt_save_ifs"
8471   MAGIC_CMD="$lt_save_MAGIC_CMD"
8472   ;;
8473 esac
8474 fi
8475
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8483 fi
8484
8485
8486   else
8487     MAGIC_CMD=:
8488   fi
8489 fi
8490
8491   fi
8492   ;;
8493 esac
8494
8495 # Use C for the default configuration in the libtool script
8496
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8503
8504
8505 # Source file extension for C test sources.
8506 ac_ext=c
8507
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8511
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8514
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8517
8518
8519
8520
8521
8522
8523
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8526
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8529
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8532
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8536
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8543
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8549
8550
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8556
8557 lt_prog_compiler_no_builtin_flag=
8558
8559 if test "$GCC" = yes; then
8560   case $cc_basename in
8561   nvcc*)
8562     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8563   *)
8564     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565   esac
8566
8567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570   $as_echo_n "(cached) " >&6
8571 else
8572   lt_cv_prog_compiler_rtti_exceptions=no
8573    ac_outfile=conftest.$ac_objext
8574    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575    lt_compiler_flag="-fno-rtti -fno-exceptions"
8576    # Insert the option either (1) after the last *FLAGS variable, or
8577    # (2) before a word containing "conftest.", or (3) at the end.
8578    # Note that $ac_compile itself does not contain backslashes and begins
8579    # with a dollar sign (not a hyphen), so the echo should work correctly.
8580    # The option is referenced via a variable to avoid confusing sed.
8581    lt_compile=`echo "$ac_compile" | $SED \
8582    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584    -e 's:$: $lt_compiler_flag:'`
8585    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586    (eval "$lt_compile" 2>conftest.err)
8587    ac_status=$?
8588    cat conftest.err >&5
8589    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590    if (exit $ac_status) && test -s "$ac_outfile"; then
8591      # The compiler can only warn and ignore the option if not recognized
8592      # So say no if there are warnings other than the usual output.
8593      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596        lt_cv_prog_compiler_rtti_exceptions=yes
8597      fi
8598    fi
8599    $RM conftest*
8600
8601 fi
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8604
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8608     :
8609 fi
8610
8611 fi
8612
8613
8614
8615
8616
8617
8618   lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8621
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8624
8625   if test "$GCC" = yes; then
8626     lt_prog_compiler_wl='-Wl,'
8627     lt_prog_compiler_static='-static'
8628
8629     case $host_os in
8630       aix*)
8631       # All AIX code is PIC.
8632       if test "$host_cpu" = ia64; then
8633         # AIX 5 now supports IA64 processor
8634         lt_prog_compiler_static='-Bstatic'
8635       fi
8636       lt_prog_compiler_pic='-fPIC'
8637       ;;
8638
8639     amigaos*)
8640       case $host_cpu in
8641       powerpc)
8642             # see comment about AmigaOS4 .so support
8643             lt_prog_compiler_pic='-fPIC'
8644         ;;
8645       m68k)
8646             # FIXME: we need at least 68020 code to build shared libraries, but
8647             # adding the `-m68020' flag to GCC prevents building anything better,
8648             # like `-m68040'.
8649             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8650         ;;
8651       esac
8652       ;;
8653
8654     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655       # PIC is the default for these OSes.
8656       ;;
8657
8658     mingw* | cygwin* | pw32* | os2* | cegcc*)
8659       # This hack is so that the source file can tell whether it is being
8660       # built for inclusion in a dll (and should export symbols for example).
8661       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662       # (--disable-auto-import) libraries
8663       lt_prog_compiler_pic='-DDLL_EXPORT'
8664       ;;
8665
8666     darwin* | rhapsody*)
8667       # PIC is the default on this platform
8668       # Common symbols not allowed in MH_DYLIB files
8669       lt_prog_compiler_pic='-fno-common'
8670       ;;
8671
8672     haiku*)
8673       # PIC is the default for Haiku.
8674       # The "-static" flag exists, but is broken.
8675       lt_prog_compiler_static=
8676       ;;
8677
8678     hpux*)
8679       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8681       # sets the default TLS model and affects inlining.
8682       case $host_cpu in
8683       hppa*64*)
8684         # +Z the default
8685         ;;
8686       *)
8687         lt_prog_compiler_pic='-fPIC'
8688         ;;
8689       esac
8690       ;;
8691
8692     interix[3-9]*)
8693       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694       # Instead, we relocate shared libraries at runtime.
8695       ;;
8696
8697     msdosdjgpp*)
8698       # Just because we use GCC doesn't mean we suddenly get shared libraries
8699       # on systems that don't support them.
8700       lt_prog_compiler_can_build_shared=no
8701       enable_shared=no
8702       ;;
8703
8704     *nto* | *qnx*)
8705       # QNX uses GNU C++, but need to define -shared option too, otherwise
8706       # it will coredump.
8707       lt_prog_compiler_pic='-fPIC -shared'
8708       ;;
8709
8710     sysv4*MP*)
8711       if test -d /usr/nec; then
8712         lt_prog_compiler_pic=-Kconform_pic
8713       fi
8714       ;;
8715
8716     *)
8717       lt_prog_compiler_pic='-fPIC'
8718       ;;
8719     esac
8720
8721     case $cc_basename in
8722     nvcc*) # Cuda Compiler Driver 2.2
8723       lt_prog_compiler_wl='-Xlinker '
8724       lt_prog_compiler_pic='-Xcompiler -fPIC'
8725       ;;
8726     esac
8727   else
8728     # PORTME Check for flag to pass linker flags through the system compiler.
8729     case $host_os in
8730     aix*)
8731       lt_prog_compiler_wl='-Wl,'
8732       if test "$host_cpu" = ia64; then
8733         # AIX 5 now supports IA64 processor
8734         lt_prog_compiler_static='-Bstatic'
8735       else
8736         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8737       fi
8738       ;;
8739
8740     mingw* | cygwin* | pw32* | os2* | cegcc*)
8741       # This hack is so that the source file can tell whether it is being
8742       # built for inclusion in a dll (and should export symbols for example).
8743       lt_prog_compiler_pic='-DDLL_EXPORT'
8744       ;;
8745
8746     hpux9* | hpux10* | hpux11*)
8747       lt_prog_compiler_wl='-Wl,'
8748       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749       # not for PA HP-UX.
8750       case $host_cpu in
8751       hppa*64*|ia64*)
8752         # +Z the default
8753         ;;
8754       *)
8755         lt_prog_compiler_pic='+Z'
8756         ;;
8757       esac
8758       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759       lt_prog_compiler_static='${wl}-a ${wl}archive'
8760       ;;
8761
8762     irix5* | irix6* | nonstopux*)
8763       lt_prog_compiler_wl='-Wl,'
8764       # PIC (with -KPIC) is the default.
8765       lt_prog_compiler_static='-non_shared'
8766       ;;
8767
8768     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769       case $cc_basename in
8770       # old Intel for x86_64 which still supported -KPIC.
8771       ecc*)
8772         lt_prog_compiler_wl='-Wl,'
8773         lt_prog_compiler_pic='-KPIC'
8774         lt_prog_compiler_static='-static'
8775         ;;
8776       # icc used to be incompatible with GCC.
8777       # ICC 10 doesn't accept -KPIC any more.
8778       icc* | ifort*)
8779         lt_prog_compiler_wl='-Wl,'
8780         lt_prog_compiler_pic='-fPIC'
8781         lt_prog_compiler_static='-static'
8782         ;;
8783       # Lahey Fortran 8.1.
8784       lf95*)
8785         lt_prog_compiler_wl='-Wl,'
8786         lt_prog_compiler_pic='--shared'
8787         lt_prog_compiler_static='--static'
8788         ;;
8789       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790         # Portland Group compilers (*not* the Pentium gcc compiler,
8791         # which looks to be a dead project)
8792         lt_prog_compiler_wl='-Wl,'
8793         lt_prog_compiler_pic='-fpic'
8794         lt_prog_compiler_static='-Bstatic'
8795         ;;
8796       ccc*)
8797         lt_prog_compiler_wl='-Wl,'
8798         # All Alpha code is PIC.
8799         lt_prog_compiler_static='-non_shared'
8800         ;;
8801       xl* | bgxl* | bgf* | mpixl*)
8802         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803         lt_prog_compiler_wl='-Wl,'
8804         lt_prog_compiler_pic='-qpic'
8805         lt_prog_compiler_static='-qstaticlink'
8806         ;;
8807       *)
8808         case `$CC -V 2>&1 | sed 5q` in
8809         *Sun\ F* | *Sun*Fortran*)
8810           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811           lt_prog_compiler_pic='-KPIC'
8812           lt_prog_compiler_static='-Bstatic'
8813           lt_prog_compiler_wl=''
8814           ;;
8815         *Sun\ C*)
8816           # Sun C 5.9
8817           lt_prog_compiler_pic='-KPIC'
8818           lt_prog_compiler_static='-Bstatic'
8819           lt_prog_compiler_wl='-Wl,'
8820           ;;
8821         esac
8822         ;;
8823       esac
8824       ;;
8825
8826     newsos6)
8827       lt_prog_compiler_pic='-KPIC'
8828       lt_prog_compiler_static='-Bstatic'
8829       ;;
8830
8831     *nto* | *qnx*)
8832       # QNX uses GNU C++, but need to define -shared option too, otherwise
8833       # it will coredump.
8834       lt_prog_compiler_pic='-fPIC -shared'
8835       ;;
8836
8837     osf3* | osf4* | osf5*)
8838       lt_prog_compiler_wl='-Wl,'
8839       # All OSF/1 code is PIC.
8840       lt_prog_compiler_static='-non_shared'
8841       ;;
8842
8843     rdos*)
8844       lt_prog_compiler_static='-non_shared'
8845       ;;
8846
8847     solaris*)
8848       lt_prog_compiler_pic='-KPIC'
8849       lt_prog_compiler_static='-Bstatic'
8850       case $cc_basename in
8851       f77* | f90* | f95*)
8852         lt_prog_compiler_wl='-Qoption ld ';;
8853       *)
8854         lt_prog_compiler_wl='-Wl,';;
8855       esac
8856       ;;
8857
8858     sunos4*)
8859       lt_prog_compiler_wl='-Qoption ld '
8860       lt_prog_compiler_pic='-PIC'
8861       lt_prog_compiler_static='-Bstatic'
8862       ;;
8863
8864     sysv4 | sysv4.2uw2* | sysv4.3*)
8865       lt_prog_compiler_wl='-Wl,'
8866       lt_prog_compiler_pic='-KPIC'
8867       lt_prog_compiler_static='-Bstatic'
8868       ;;
8869
8870     sysv4*MP*)
8871       if test -d /usr/nec ;then
8872         lt_prog_compiler_pic='-Kconform_pic'
8873         lt_prog_compiler_static='-Bstatic'
8874       fi
8875       ;;
8876
8877     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878       lt_prog_compiler_wl='-Wl,'
8879       lt_prog_compiler_pic='-KPIC'
8880       lt_prog_compiler_static='-Bstatic'
8881       ;;
8882
8883     unicos*)
8884       lt_prog_compiler_wl='-Wl,'
8885       lt_prog_compiler_can_build_shared=no
8886       ;;
8887
8888     uts4*)
8889       lt_prog_compiler_pic='-pic'
8890       lt_prog_compiler_static='-Bstatic'
8891       ;;
8892
8893     *)
8894       lt_prog_compiler_can_build_shared=no
8895       ;;
8896     esac
8897   fi
8898
8899 case $host_os in
8900   # For platforms which do not support PIC, -DPIC is meaningless:
8901   *djgpp*)
8902     lt_prog_compiler_pic=
8903     ;;
8904   *)
8905     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8906     ;;
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8910
8911
8912
8913
8914
8915
8916 #
8917 # Check to make sure the PIC flag actually works.
8918 #
8919 if test -n "$lt_prog_compiler_pic"; then
8920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923   $as_echo_n "(cached) " >&6
8924 else
8925   lt_cv_prog_compiler_pic_works=no
8926    ac_outfile=conftest.$ac_objext
8927    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929    # Insert the option either (1) after the last *FLAGS variable, or
8930    # (2) before a word containing "conftest.", or (3) at the end.
8931    # Note that $ac_compile itself does not contain backslashes and begins
8932    # with a dollar sign (not a hyphen), so the echo should work correctly.
8933    # The option is referenced via a variable to avoid confusing sed.
8934    lt_compile=`echo "$ac_compile" | $SED \
8935    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937    -e 's:$: $lt_compiler_flag:'`
8938    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939    (eval "$lt_compile" 2>conftest.err)
8940    ac_status=$?
8941    cat conftest.err >&5
8942    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943    if (exit $ac_status) && test -s "$ac_outfile"; then
8944      # The compiler can only warn and ignore the option if not recognized
8945      # So say no if there are warnings other than the usual output.
8946      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949        lt_cv_prog_compiler_pic_works=yes
8950      fi
8951    fi
8952    $RM conftest*
8953
8954 fi
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8957
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959     case $lt_prog_compiler_pic in
8960      "" | " "*) ;;
8961      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962      esac
8963 else
8964     lt_prog_compiler_pic=
8965      lt_prog_compiler_can_build_shared=no
8966 fi
8967
8968 fi
8969
8970
8971
8972
8973
8974
8975 #
8976 # Check to make sure the static flag actually works.
8977 #
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982   $as_echo_n "(cached) " >&6
8983 else
8984   lt_cv_prog_compiler_static_works=no
8985    save_LDFLAGS="$LDFLAGS"
8986    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989      # The linker can only warn and ignore the option if not recognized
8990      # So say no if there are warnings
8991      if test -s conftest.err; then
8992        # Append any errors to the config.log.
8993        cat conftest.err 1>&5
8994        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996        if diff conftest.exp conftest.er2 >/dev/null; then
8997          lt_cv_prog_compiler_static_works=yes
8998        fi
8999      else
9000        lt_cv_prog_compiler_static_works=yes
9001      fi
9002    fi
9003    $RM -r conftest*
9004    LDFLAGS="$save_LDFLAGS"
9005
9006 fi
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9009
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9011     :
9012 else
9013     lt_prog_compiler_static=
9014 fi
9015
9016
9017
9018
9019
9020
9021
9022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025   $as_echo_n "(cached) " >&6
9026 else
9027   lt_cv_prog_compiler_c_o=no
9028    $RM -r conftest 2>/dev/null
9029    mkdir conftest
9030    cd conftest
9031    mkdir out
9032    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033
9034    lt_compiler_flag="-o out/conftest2.$ac_objext"
9035    # Insert the option either (1) after the last *FLAGS variable, or
9036    # (2) before a word containing "conftest.", or (3) at the end.
9037    # Note that $ac_compile itself does not contain backslashes and begins
9038    # with a dollar sign (not a hyphen), so the echo should work correctly.
9039    lt_compile=`echo "$ac_compile" | $SED \
9040    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042    -e 's:$: $lt_compiler_flag:'`
9043    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044    (eval "$lt_compile" 2>out/conftest.err)
9045    ac_status=$?
9046    cat out/conftest.err >&5
9047    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049    then
9050      # The compiler can only warn and ignore the option if not recognized
9051      # So say no if there are warnings
9052      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055        lt_cv_prog_compiler_c_o=yes
9056      fi
9057    fi
9058    chmod u+w . 2>&5
9059    $RM conftest*
9060    # SGI C++ compiler will create directory out/ii_files/ for
9061    # template instantiation
9062    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063    $RM out/* && rmdir out
9064    cd ..
9065    $RM -r conftest
9066    $RM conftest*
9067
9068 fi
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9071
9072
9073
9074
9075
9076
9077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080   $as_echo_n "(cached) " >&6
9081 else
9082   lt_cv_prog_compiler_c_o=no
9083    $RM -r conftest 2>/dev/null
9084    mkdir conftest
9085    cd conftest
9086    mkdir out
9087    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9088
9089    lt_compiler_flag="-o out/conftest2.$ac_objext"
9090    # Insert the option either (1) after the last *FLAGS variable, or
9091    # (2) before a word containing "conftest.", or (3) at the end.
9092    # Note that $ac_compile itself does not contain backslashes and begins
9093    # with a dollar sign (not a hyphen), so the echo should work correctly.
9094    lt_compile=`echo "$ac_compile" | $SED \
9095    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097    -e 's:$: $lt_compiler_flag:'`
9098    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099    (eval "$lt_compile" 2>out/conftest.err)
9100    ac_status=$?
9101    cat out/conftest.err >&5
9102    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104    then
9105      # The compiler can only warn and ignore the option if not recognized
9106      # So say no if there are warnings
9107      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110        lt_cv_prog_compiler_c_o=yes
9111      fi
9112    fi
9113    chmod u+w . 2>&5
9114    $RM conftest*
9115    # SGI C++ compiler will create directory out/ii_files/ for
9116    # template instantiation
9117    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118    $RM out/* && rmdir out
9119    cd ..
9120    $RM -r conftest
9121    $RM conftest*
9122
9123 fi
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9126
9127
9128
9129
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132   # do not overwrite the value of need_locks provided by the user
9133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135   hard_links=yes
9136   $RM conftest*
9137   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138   touch conftest.a
9139   ln conftest.a conftest.b 2>&5 || hard_links=no
9140   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143   if test "$hard_links" = no; then
9144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146     need_locks=warn
9147   fi
9148 else
9149   need_locks=no
9150 fi
9151
9152
9153
9154
9155
9156
9157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9159
9160   runpath_var=
9161   allow_undefined_flag=
9162   always_export_symbols=no
9163   archive_cmds=
9164   archive_expsym_cmds=
9165   compiler_needs_object=no
9166   enable_shared_with_static_runtimes=no
9167   export_dynamic_flag_spec=
9168   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169   hardcode_automatic=no
9170   hardcode_direct=no
9171   hardcode_direct_absolute=no
9172   hardcode_libdir_flag_spec=
9173   hardcode_libdir_flag_spec_ld=
9174   hardcode_libdir_separator=
9175   hardcode_minus_L=no
9176   hardcode_shlibpath_var=unsupported
9177   inherit_rpath=no
9178   link_all_deplibs=unknown
9179   module_cmds=
9180   module_expsym_cmds=
9181   old_archive_from_new_cmds=
9182   old_archive_from_expsyms_cmds=
9183   thread_safe_flag_spec=
9184   whole_archive_flag_spec=
9185   # include_expsyms should be a list of space-separated symbols to be *always*
9186   # included in the symbol list
9187   include_expsyms=
9188   # exclude_expsyms can be an extended regexp of symbols to exclude
9189   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191   # as well as any symbol that contains `d'.
9192   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194   # platforms (ab)use it in PIC code, but their linkers get confused if
9195   # the symbol is explicitly referenced.  Since portable code cannot
9196   # rely on this symbol name, it's probably fine to never include it in
9197   # preloaded symbol tables.
9198   # Exclude shared library initialization/finalization symbols.
9199   extract_expsyms_cmds=
9200
9201   case $host_os in
9202   cygwin* | mingw* | pw32* | cegcc*)
9203     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204     # When not using gcc, we currently assume that we are using
9205     # Microsoft Visual C++.
9206     if test "$GCC" != yes; then
9207       with_gnu_ld=no
9208     fi
9209     ;;
9210   interix*)
9211     # we just hope/assume this is gcc and not c89 (= MSVC++)
9212     with_gnu_ld=yes
9213     ;;
9214   openbsd*)
9215     with_gnu_ld=no
9216     ;;
9217   esac
9218
9219   ld_shlibs=yes
9220
9221   # On some targets, GNU ld is compatible enough with the native linker
9222   # that we're better off using the native interface for both.
9223   lt_use_gnu_ld_interface=no
9224   if test "$with_gnu_ld" = yes; then
9225     case $host_os in
9226       aix*)
9227         # The AIX port of GNU ld has always aspired to compatibility
9228         # with the native linker.  However, as the warning in the GNU ld
9229         # block says, versions before 2.19.5* couldn't really create working
9230         # shared libraries, regardless of the interface used.
9231         case `$LD -v 2>&1` in
9232           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9235           *)
9236             lt_use_gnu_ld_interface=yes
9237             ;;
9238         esac
9239         ;;
9240       *)
9241         lt_use_gnu_ld_interface=yes
9242         ;;
9243     esac
9244   fi
9245
9246   if test "$lt_use_gnu_ld_interface" = yes; then
9247     # If archive_cmds runs LD, not CC, wlarc should be empty
9248     wlarc='${wl}'
9249
9250     # Set some defaults for GNU ld with shared library support. These
9251     # are reset later if shared libraries are not supported. Putting them
9252     # here allows them to be overridden if necessary.
9253     runpath_var=LD_RUN_PATH
9254     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255     export_dynamic_flag_spec='${wl}--export-dynamic'
9256     # ancient GNU ld didn't support --whole-archive et. al.
9257     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259     else
9260       whole_archive_flag_spec=
9261     fi
9262     supports_anon_versioning=no
9263     case `$LD -v 2>&1` in
9264       *GNU\ gold*) supports_anon_versioning=yes ;;
9265       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268       *\ 2.11.*) ;; # other 2.11 versions
9269       *) supports_anon_versioning=yes ;;
9270     esac
9271
9272     # See if GNU ld supports shared libraries.
9273     case $host_os in
9274     aix[3-9]*)
9275       # On AIX/PPC, the GNU linker is very broken
9276       if test "$host_cpu" != ia64; then
9277         ld_shlibs=no
9278         cat <<_LT_EOF 1>&2
9279
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support.  If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9286
9287 _LT_EOF
9288       fi
9289       ;;
9290
9291     amigaos*)
9292       case $host_cpu in
9293       powerpc)
9294             # see comment about AmigaOS4 .so support
9295             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296             archive_expsym_cmds=''
9297         ;;
9298       m68k)
9299             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)'
9300             hardcode_libdir_flag_spec='-L$libdir'
9301             hardcode_minus_L=yes
9302         ;;
9303       esac
9304       ;;
9305
9306     beos*)
9307       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308         allow_undefined_flag=unsupported
9309         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310         # support --undefined.  This deserves some investigation.  FIXME
9311         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312       else
9313         ld_shlibs=no
9314       fi
9315       ;;
9316
9317     cygwin* | mingw* | pw32* | cegcc*)
9318       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319       # as there is no search path for DLLs.
9320       hardcode_libdir_flag_spec='-L$libdir'
9321       export_dynamic_flag_spec='${wl}--export-all-symbols'
9322       allow_undefined_flag=unsupported
9323       always_export_symbols=no
9324       enable_shared_with_static_runtimes=yes
9325       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9326
9327       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329         # If the export-symbols file already is a .def file (1st line
9330         # is EXPORTS), use it as is; otherwise, prepend...
9331         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332           cp $export_symbols $output_objdir/$soname.def;
9333         else
9334           echo EXPORTS > $output_objdir/$soname.def;
9335           cat $export_symbols >> $output_objdir/$soname.def;
9336         fi~
9337         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338       else
9339         ld_shlibs=no
9340       fi
9341       ;;
9342
9343     haiku*)
9344       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345       link_all_deplibs=yes
9346       ;;
9347
9348     interix[3-9]*)
9349       hardcode_direct=no
9350       hardcode_shlibpath_var=no
9351       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352       export_dynamic_flag_spec='${wl}-E'
9353       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354       # Instead, shared libraries are loaded at an image base (0x10000000 by
9355       # default) and relocated if they conflict, which is a slow very memory
9356       # consuming and fragmenting process.  To avoid this, we pick a random,
9357       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9359       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360       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'
9361       ;;
9362
9363     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364       tmp_diet=no
9365       if test "$host_os" = linux-dietlibc; then
9366         case $cc_basename in
9367           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9368         esac
9369       fi
9370       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371          && test "$tmp_diet" = no
9372       then
9373         tmp_addflag=' $pic_flag'
9374         tmp_sharedflag='-shared'
9375         case $cc_basename,$host_cpu in
9376         pgcc*)                          # Portland Group C compiler
9377           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'
9378           tmp_addflag=' $pic_flag'
9379           ;;
9380         pgf77* | pgf90* | pgf95* | pgfortran*)
9381                                         # Portland Group f77 and f90 compilers
9382           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'
9383           tmp_addflag=' $pic_flag -Mnomain' ;;
9384         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9385           tmp_addflag=' -i_dynamic' ;;
9386         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9387           tmp_addflag=' -i_dynamic -nofor_main' ;;
9388         ifc* | ifort*)                  # Intel Fortran compiler
9389           tmp_addflag=' -nofor_main' ;;
9390         lf95*)                          # Lahey Fortran 8.1
9391           whole_archive_flag_spec=
9392           tmp_sharedflag='--shared' ;;
9393         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394           tmp_sharedflag='-qmkshrobj'
9395           tmp_addflag= ;;
9396         nvcc*)  # Cuda Compiler Driver 2.2
9397           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'
9398           compiler_needs_object=yes
9399           ;;
9400         esac
9401         case `$CC -V 2>&1 | sed 5q` in
9402         *Sun\ C*)                       # Sun C 5.9
9403           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'
9404           compiler_needs_object=yes
9405           tmp_sharedflag='-G' ;;
9406         *Sun\ F*)                       # Sun Fortran 8.3
9407           tmp_sharedflag='-G' ;;
9408         esac
9409         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
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             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9416         fi
9417
9418         case $cc_basename in
9419         xlf* | bgf* | bgxlf* | mpixlf*)
9420           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422           hardcode_libdir_flag_spec=
9423           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425           if test "x$supports_anon_versioning" = xyes; then
9426             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428               echo "local: *; };" >> $output_objdir/$libname.ver~
9429               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430           fi
9431           ;;
9432         esac
9433       else
9434         ld_shlibs=no
9435       fi
9436       ;;
9437
9438     netbsd*)
9439       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441         wlarc=
9442       else
9443         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9445       fi
9446       ;;
9447
9448     solaris*)
9449       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450         ld_shlibs=no
9451         cat <<_LT_EOF 1>&2
9452
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems.  Therefore, libtool
9455 *** is disabling shared libraries support.  We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer.  Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9459
9460 _LT_EOF
9461       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464       else
9465         ld_shlibs=no
9466       fi
9467       ;;
9468
9469     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470       case `$LD -v 2>&1` in
9471         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472         ld_shlibs=no
9473         cat <<_LT_EOF 1>&2
9474
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9477 *** is disabling shared libraries support.  We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9481
9482 _LT_EOF
9483         ;;
9484         *)
9485           # For security reasons, it is highly recommended that you always
9486           # use absolute paths for naming shared libraries, and exclude the
9487           # DT_RUNPATH tag from executables and libraries.  But doing so
9488           # requires that you compile everything twice, which is a pain.
9489           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493           else
9494             ld_shlibs=no
9495           fi
9496         ;;
9497       esac
9498       ;;
9499
9500     sunos4*)
9501       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502       wlarc=
9503       hardcode_direct=yes
9504       hardcode_shlibpath_var=no
9505       ;;
9506
9507     *)
9508       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511       else
9512         ld_shlibs=no
9513       fi
9514       ;;
9515     esac
9516
9517     if test "$ld_shlibs" = no; then
9518       runpath_var=
9519       hardcode_libdir_flag_spec=
9520       export_dynamic_flag_spec=
9521       whole_archive_flag_spec=
9522     fi
9523   else
9524     # PORTME fill in a description of your system's linker (not GNU ld)
9525     case $host_os in
9526     aix3*)
9527       allow_undefined_flag=unsupported
9528       always_export_symbols=yes
9529       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'
9530       # Note: this linker hardcodes the directories in LIBPATH if there
9531       # are no directories specified by -L.
9532       hardcode_minus_L=yes
9533       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534         # Neither direct hardcoding nor static linking is supported with a
9535         # broken collect2.
9536         hardcode_direct=unsupported
9537       fi
9538       ;;
9539
9540     aix[4-9]*)
9541       if test "$host_cpu" = ia64; then
9542         # On IA64, the linker does run time linking by default, so we don't
9543         # have to do anything special.
9544         aix_use_runtimelinking=no
9545         exp_sym_flag='-Bexport'
9546         no_entry_flag=""
9547       else
9548         # If we're using GNU nm, then we don't want the "-C" option.
9549         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550         # Also, AIX nm treats weak defined symbols like other global
9551         # defined symbols, whereas GNU nm marks them as "W".
9552         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553           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'
9554         else
9555           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9556         fi
9557         aix_use_runtimelinking=no
9558
9559         # Test if we are trying to use run time linking or normal
9560         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561         # need to do runtime linking.
9562         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563           for ld_flag in $LDFLAGS; do
9564           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565             aix_use_runtimelinking=yes
9566             break
9567           fi
9568           done
9569           ;;
9570         esac
9571
9572         exp_sym_flag='-bexport'
9573         no_entry_flag='-bnoentry'
9574       fi
9575
9576       # When large executables or shared objects are built, AIX ld can
9577       # have problems creating the table of contents.  If linking a library
9578       # or program results in "error TOC overflow" add -mminimal-toc to
9579       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9580       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9581
9582       archive_cmds=''
9583       hardcode_direct=yes
9584       hardcode_direct_absolute=yes
9585       hardcode_libdir_separator=':'
9586       link_all_deplibs=yes
9587       file_list_spec='${wl}-f,'
9588
9589       if test "$GCC" = yes; then
9590         case $host_os in aix4.[012]|aix4.[012].*)
9591         # We only want to do this on AIX 4.2 and lower, the check
9592         # below for broken collect2 doesn't work under 4.3+
9593           collect2name=`${CC} -print-prog-name=collect2`
9594           if test -f "$collect2name" &&
9595            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596           then
9597           # We have reworked collect2
9598           :
9599           else
9600           # We have old collect2
9601           hardcode_direct=unsupported
9602           # It fails to find uninstalled libraries when the uninstalled
9603           # path is not listed in the libpath.  Setting hardcode_minus_L
9604           # to unsupported forces relinking
9605           hardcode_minus_L=yes
9606           hardcode_libdir_flag_spec='-L$libdir'
9607           hardcode_libdir_separator=
9608           fi
9609           ;;
9610         esac
9611         shared_flag='-shared'
9612         if test "$aix_use_runtimelinking" = yes; then
9613           shared_flag="$shared_flag "'${wl}-G'
9614         fi
9615       else
9616         # not using gcc
9617         if test "$host_cpu" = ia64; then
9618         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619         # chokes on -Wl,-G. The following line is correct:
9620           shared_flag='-G'
9621         else
9622           if test "$aix_use_runtimelinking" = yes; then
9623             shared_flag='${wl}-G'
9624           else
9625             shared_flag='${wl}-bM:SRE'
9626           fi
9627         fi
9628       fi
9629
9630       export_dynamic_flag_spec='${wl}-bexpall'
9631       # It seems that -bexpall does not export symbols beginning with
9632       # underscore (_), so it is better to generate a list of symbols to export.
9633       always_export_symbols=yes
9634       if test "$aix_use_runtimelinking" = yes; then
9635         # Warning - without using the other runtime loading flags (-brtl),
9636         # -berok will link without error, but may produce a broken library.
9637         allow_undefined_flag='-berok'
9638         # Determine the default libpath from the value encoded in an
9639         # empty executable.
9640         if test x$gcc_no_link = xyes; then
9641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9642 fi
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h.  */
9645
9646 int
9647 main ()
9648 {
9649
9650   ;
9651   return 0;
9652 }
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655
9656 lt_aix_libpath_sed='
9657     /Import File Strings/,/^$/ {
9658         /^0/ {
9659             s/^0  *\(.*\)$/\1/
9660             p
9661         }
9662     }'
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 fi
9668 fi
9669 rm -f core conftest.err conftest.$ac_objext \
9670     conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9672
9673         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674         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"
9675       else
9676         if test "$host_cpu" = ia64; then
9677           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678           allow_undefined_flag="-z nodefs"
9679           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"
9680         else
9681          # Determine the default libpath from the value encoded in an
9682          # empty executable.
9683          if test x$gcc_no_link = xyes; then
9684   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9685 fi
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h.  */
9688
9689 int
9690 main ()
9691 {
9692
9693   ;
9694   return 0;
9695 }
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698
9699 lt_aix_libpath_sed='
9700     /Import File Strings/,/^$/ {
9701         /^0/ {
9702             s/^0  *\(.*\)$/\1/
9703             p
9704         }
9705     }'
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 fi
9711 fi
9712 rm -f core conftest.err conftest.$ac_objext \
9713     conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715
9716          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717           # Warning - without using the other run time loading flags,
9718           # -berok will link without error, but may produce a broken library.
9719           no_undefined_flag=' ${wl}-bernotok'
9720           allow_undefined_flag=' ${wl}-berok'
9721           if test "$with_gnu_ld" = yes; then
9722             # We only use this code for GNU lds that support --whole-archive.
9723             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724           else
9725             # Exported symbols can be pulled into shared objects from archives
9726             whole_archive_flag_spec='$convenience'
9727           fi
9728           archive_cmds_need_lc=yes
9729           # This is similar to how AIX traditionally builds its shared libraries.
9730           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'
9731         fi
9732       fi
9733       ;;
9734
9735     amigaos*)
9736       case $host_cpu in
9737       powerpc)
9738             # see comment about AmigaOS4 .so support
9739             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740             archive_expsym_cmds=''
9741         ;;
9742       m68k)
9743             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)'
9744             hardcode_libdir_flag_spec='-L$libdir'
9745             hardcode_minus_L=yes
9746         ;;
9747       esac
9748       ;;
9749
9750     bsdi[45]*)
9751       export_dynamic_flag_spec=-rdynamic
9752       ;;
9753
9754     cygwin* | mingw* | pw32* | cegcc*)
9755       # When not using gcc, we currently assume that we are using
9756       # Microsoft Visual C++.
9757       # hardcode_libdir_flag_spec is actually meaningless, as there is
9758       # no search path for DLLs.
9759       hardcode_libdir_flag_spec=' '
9760       allow_undefined_flag=unsupported
9761       # Tell ltmain to make .lib files, not .a files.
9762       libext=lib
9763       # Tell ltmain to make .dll files, not .so files.
9764       shrext_cmds=".dll"
9765       # FIXME: Setting linknames here is a bad hack.
9766       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767       # The linker will automatically build a .lib file if we build a DLL.
9768       old_archive_from_new_cmds='true'
9769       # FIXME: Should let the user specify the lib program.
9770       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771       fix_srcfile_path='`cygpath -w "$srcfile"`'
9772       enable_shared_with_static_runtimes=yes
9773       ;;
9774
9775     darwin* | rhapsody*)
9776
9777
9778   archive_cmds_need_lc=no
9779   hardcode_direct=no
9780   hardcode_automatic=yes
9781   hardcode_shlibpath_var=unsupported
9782   if test "$lt_cv_ld_force_load" = "yes"; then
9783     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\"`'
9784   else
9785     whole_archive_flag_spec=''
9786   fi
9787   link_all_deplibs=yes
9788   allow_undefined_flag="$_lt_dar_allow_undefined"
9789   case $cc_basename in
9790      ifort*) _lt_dar_can_shared=yes ;;
9791      *) _lt_dar_can_shared=$GCC ;;
9792   esac
9793   if test "$_lt_dar_can_shared" = "yes"; then
9794     output_verbose_link_cmd=func_echo_all
9795     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797     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}"
9798     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}"
9799
9800   else
9801   ld_shlibs=no
9802   fi
9803
9804       ;;
9805
9806     dgux*)
9807       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808       hardcode_libdir_flag_spec='-L$libdir'
9809       hardcode_shlibpath_var=no
9810       ;;
9811
9812     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813     # support.  Future versions do this automatically, but an explicit c++rt0.o
9814     # does not break anything, and helps significantly (at the cost of a little
9815     # extra space).
9816     freebsd2.2*)
9817       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818       hardcode_libdir_flag_spec='-R$libdir'
9819       hardcode_direct=yes
9820       hardcode_shlibpath_var=no
9821       ;;
9822
9823     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824     freebsd2.*)
9825       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826       hardcode_direct=yes
9827       hardcode_minus_L=yes
9828       hardcode_shlibpath_var=no
9829       ;;
9830
9831     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832     freebsd* | dragonfly*)
9833       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834       hardcode_libdir_flag_spec='-R$libdir'
9835       hardcode_direct=yes
9836       hardcode_shlibpath_var=no
9837       ;;
9838
9839     hpux9*)
9840       if test "$GCC" = yes; then
9841         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'
9842       else
9843         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'
9844       fi
9845       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846       hardcode_libdir_separator=:
9847       hardcode_direct=yes
9848
9849       # hardcode_minus_L: Not really in the search PATH,
9850       # but as the default location of the library.
9851       hardcode_minus_L=yes
9852       export_dynamic_flag_spec='${wl}-E'
9853       ;;
9854
9855     hpux10*)
9856       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858       else
9859         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9860       fi
9861       if test "$with_gnu_ld" = no; then
9862         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863         hardcode_libdir_flag_spec_ld='+b $libdir'
9864         hardcode_libdir_separator=:
9865         hardcode_direct=yes
9866         hardcode_direct_absolute=yes
9867         export_dynamic_flag_spec='${wl}-E'
9868         # hardcode_minus_L: Not really in the search PATH,
9869         # but as the default location of the library.
9870         hardcode_minus_L=yes
9871       fi
9872       ;;
9873
9874     hpux11*)
9875       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876         case $host_cpu in
9877         hppa*64*)
9878           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879           ;;
9880         ia64*)
9881           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882           ;;
9883         *)
9884           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885           ;;
9886         esac
9887       else
9888         case $host_cpu in
9889         hppa*64*)
9890           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891           ;;
9892         ia64*)
9893           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894           ;;
9895         *)
9896
9897           # Older versions of the 11.00 compiler do not understand -b yet
9898           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   lt_cv_prog_compiler__b=no
9905    save_LDFLAGS="$LDFLAGS"
9906    LDFLAGS="$LDFLAGS -b"
9907    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909      # The linker can only warn and ignore the option if not recognized
9910      # So say no if there are warnings
9911      if test -s conftest.err; then
9912        # Append any errors to the config.log.
9913        cat conftest.err 1>&5
9914        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916        if diff conftest.exp conftest.er2 >/dev/null; then
9917          lt_cv_prog_compiler__b=yes
9918        fi
9919      else
9920        lt_cv_prog_compiler__b=yes
9921      fi
9922    fi
9923    $RM -r conftest*
9924    LDFLAGS="$save_LDFLAGS"
9925
9926 fi
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9934 fi
9935
9936           ;;
9937         esac
9938       fi
9939       if test "$with_gnu_ld" = no; then
9940         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941         hardcode_libdir_separator=:
9942
9943         case $host_cpu in
9944         hppa*64*|ia64*)
9945           hardcode_direct=no
9946           hardcode_shlibpath_var=no
9947           ;;
9948         *)
9949           hardcode_direct=yes
9950           hardcode_direct_absolute=yes
9951           export_dynamic_flag_spec='${wl}-E'
9952
9953           # hardcode_minus_L: Not really in the search PATH,
9954           # but as the default location of the library.
9955           hardcode_minus_L=yes
9956           ;;
9957         esac
9958       fi
9959       ;;
9960
9961     irix5* | irix6* | nonstopux*)
9962       if test "$GCC" = yes; then
9963         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'
9964         # Try to use the -exported_symbol ld option, if it does not
9965         # work, assume that -exports_file does not work either and
9966         # implicitly export all symbols.
9967         save_LDFLAGS="$LDFLAGS"
9968         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969         if test x$gcc_no_link = xyes; then
9970   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9971 fi
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h.  */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977   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'
9978
9979 fi
9980 rm -f core conftest.err conftest.$ac_objext \
9981     conftest$ac_exeext conftest.$ac_ext
9982         LDFLAGS="$save_LDFLAGS"
9983       else
9984         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'
9985         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'
9986       fi
9987       archive_cmds_need_lc='no'
9988       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989       hardcode_libdir_separator=:
9990       inherit_rpath=yes
9991       link_all_deplibs=yes
9992       ;;
9993
9994     netbsd*)
9995       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9997       else
9998         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9999       fi
10000       hardcode_libdir_flag_spec='-R$libdir'
10001       hardcode_direct=yes
10002       hardcode_shlibpath_var=no
10003       ;;
10004
10005     newsos6)
10006       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007       hardcode_direct=yes
10008       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009       hardcode_libdir_separator=:
10010       hardcode_shlibpath_var=no
10011       ;;
10012
10013     *nto* | *qnx*)
10014       ;;
10015
10016     openbsd*)
10017       if test -f /usr/libexec/ld.so; then
10018         hardcode_direct=yes
10019         hardcode_shlibpath_var=no
10020         hardcode_direct_absolute=yes
10021         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025           export_dynamic_flag_spec='${wl}-E'
10026         else
10027           case $host_os in
10028            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030              hardcode_libdir_flag_spec='-R$libdir'
10031              ;;
10032            *)
10033              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10035              ;;
10036           esac
10037         fi
10038       else
10039         ld_shlibs=no
10040       fi
10041       ;;
10042
10043     os2*)
10044       hardcode_libdir_flag_spec='-L$libdir'
10045       hardcode_minus_L=yes
10046       allow_undefined_flag=unsupported
10047       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'
10048       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049       ;;
10050
10051     osf3*)
10052       if test "$GCC" = yes; then
10053         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054         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'
10055       else
10056         allow_undefined_flag=' -expect_unresolved \*'
10057         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'
10058       fi
10059       archive_cmds_need_lc='no'
10060       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061       hardcode_libdir_separator=:
10062       ;;
10063
10064     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10065       if test "$GCC" = yes; then
10066         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067         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'
10068         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069       else
10070         allow_undefined_flag=' -expect_unresolved \*'
10071         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'
10072         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~
10073         $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'
10074
10075         # Both c and cxx compiler support -rpath directly
10076         hardcode_libdir_flag_spec='-rpath $libdir'
10077       fi
10078       archive_cmds_need_lc='no'
10079       hardcode_libdir_separator=:
10080       ;;
10081
10082     solaris*)
10083       no_undefined_flag=' -z defs'
10084       if test "$GCC" = yes; then
10085         wlarc='${wl}'
10086         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089       else
10090         case `$CC -V 2>&1` in
10091         *"Compilers 5.0"*)
10092           wlarc=''
10093           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096           ;;
10097         *)
10098           wlarc='${wl}'
10099           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10102           ;;
10103         esac
10104       fi
10105       hardcode_libdir_flag_spec='-R$libdir'
10106       hardcode_shlibpath_var=no
10107       case $host_os in
10108       solaris2.[0-5] | solaris2.[0-5].*) ;;
10109       *)
10110         # The compiler driver will combine and reorder linker options,
10111         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10112         # but is careful enough not to reorder.
10113         # Supported since Solaris 2.6 (maybe 2.5.1?)
10114         if test "$GCC" = yes; then
10115           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116         else
10117           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10118         fi
10119         ;;
10120       esac
10121       link_all_deplibs=yes
10122       ;;
10123
10124     sunos4*)
10125       if test "x$host_vendor" = xsequent; then
10126         # Use $CC to link under sequent, because it throws in some extra .o
10127         # files that make .init and .fini sections work.
10128         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129       else
10130         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10131       fi
10132       hardcode_libdir_flag_spec='-L$libdir'
10133       hardcode_direct=yes
10134       hardcode_minus_L=yes
10135       hardcode_shlibpath_var=no
10136       ;;
10137
10138     sysv4)
10139       case $host_vendor in
10140         sni)
10141           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142           hardcode_direct=yes # is this really true???
10143         ;;
10144         siemens)
10145           ## LD is ld it makes a PLAMLIB
10146           ## CC just makes a GrossModule.
10147           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148           reload_cmds='$CC -r -o $output$reload_objs'
10149           hardcode_direct=no
10150         ;;
10151         motorola)
10152           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10154         ;;
10155       esac
10156       runpath_var='LD_RUN_PATH'
10157       hardcode_shlibpath_var=no
10158       ;;
10159
10160     sysv4.3*)
10161       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162       hardcode_shlibpath_var=no
10163       export_dynamic_flag_spec='-Bexport'
10164       ;;
10165
10166     sysv4*MP*)
10167       if test -d /usr/nec; then
10168         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169         hardcode_shlibpath_var=no
10170         runpath_var=LD_RUN_PATH
10171         hardcode_runpath_var=yes
10172         ld_shlibs=yes
10173       fi
10174       ;;
10175
10176     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177       no_undefined_flag='${wl}-z,text'
10178       archive_cmds_need_lc=no
10179       hardcode_shlibpath_var=no
10180       runpath_var='LD_RUN_PATH'
10181
10182       if test "$GCC" = yes; then
10183         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185       else
10186         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188       fi
10189       ;;
10190
10191     sysv5* | sco3.2v5* | sco5v6*)
10192       # Note: We can NOT use -z defs as we might desire, because we do not
10193       # link with -lc, and that would cause any symbols used from libc to
10194       # always be unresolved, which means just about no library would
10195       # ever link correctly.  If we're not using GNU ld we use -z text
10196       # though, which does catch some bad symbols but isn't as heavy-handed
10197       # as -z defs.
10198       no_undefined_flag='${wl}-z,text'
10199       allow_undefined_flag='${wl}-z,nodefs'
10200       archive_cmds_need_lc=no
10201       hardcode_shlibpath_var=no
10202       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203       hardcode_libdir_separator=':'
10204       link_all_deplibs=yes
10205       export_dynamic_flag_spec='${wl}-Bexport'
10206       runpath_var='LD_RUN_PATH'
10207
10208       if test "$GCC" = yes; then
10209         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211       else
10212         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214       fi
10215       ;;
10216
10217     uts4*)
10218       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219       hardcode_libdir_flag_spec='-L$libdir'
10220       hardcode_shlibpath_var=no
10221       ;;
10222
10223     *)
10224       ld_shlibs=no
10225       ;;
10226     esac
10227
10228     if test x$host_vendor = xsni; then
10229       case $host in
10230       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231         export_dynamic_flag_spec='${wl}-Blargedynsym'
10232         ;;
10233       esac
10234     fi
10235   fi
10236
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10240
10241 with_gnu_ld=$with_gnu_ld
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257 #
10258 # Do we need to explicitly link libc?
10259 #
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262   # Assume -lc should be added
10263   archive_cmds_need_lc=yes
10264
10265   if test "$enable_shared" = yes && test "$GCC" = yes; then
10266     case $archive_cmds in
10267     *'~'*)
10268       # FIXME: we may have to deal with multi-command sequences.
10269       ;;
10270     '$CC '*)
10271       # Test whether the compiler implicitly links with -lc since on some
10272       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273       # to ld, don't add -lc before -lgcc.
10274       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277   $as_echo_n "(cached) " >&6
10278 else
10279   $RM conftest*
10280         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10281
10282         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283   (eval $ac_compile) 2>&5
10284   ac_status=$?
10285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286   test $ac_status = 0; } 2>conftest.err; then
10287           soname=conftest
10288           lib=conftest
10289           libobjs=conftest.$ac_objext
10290           deplibs=
10291           wl=$lt_prog_compiler_wl
10292           pic_flag=$lt_prog_compiler_pic
10293           compiler_flags=-v
10294           linker_flags=-v
10295           verstring=
10296           output_objdir=.
10297           libname=conftest
10298           lt_save_allow_undefined_flag=$allow_undefined_flag
10299           allow_undefined_flag=
10300           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302   ac_status=$?
10303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304   test $ac_status = 0; }
10305           then
10306             lt_cv_archive_cmds_need_lc=no
10307           else
10308             lt_cv_archive_cmds_need_lc=yes
10309           fi
10310           allow_undefined_flag=$lt_save_allow_undefined_flag
10311         else
10312           cat conftest.err 1>&5
10313         fi
10314         $RM conftest*
10315
10316 fi
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10320       ;;
10321     esac
10322   fi
10323   ;;
10324 esac
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
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484
10485 if test "$GCC" = yes; then
10486   case $host_os in
10487     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488     *) lt_awk_arg="/^libraries:/" ;;
10489   esac
10490   case $host_os in
10491     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492     *) lt_sed_strip_eq="s,=/,/,g" ;;
10493   esac
10494   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495   case $lt_search_path_spec in
10496   *\;*)
10497     # if the path contains ";" then we assume it to be the separator
10498     # otherwise default to the standard path separator (i.e. ":") - it is
10499     # assumed that no part of a normal pathname contains ";" but that should
10500     # okay in the real world where ";" in dirpaths is itself problematic.
10501     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502     ;;
10503   *)
10504     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10505     ;;
10506   esac
10507   # Ok, now we have the path, separated by spaces, we can step through it
10508   # and add multilib dir if necessary.
10509   lt_tmp_lt_search_path_spec=
10510   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511   for lt_sys_path in $lt_search_path_spec; do
10512     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514     else
10515       test -d "$lt_sys_path" && \
10516         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10517     fi
10518   done
10519   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521   lt_foo="";
10522   lt_count=0;
10523   for (lt_i = NF; lt_i > 0; lt_i--) {
10524     if ($lt_i != "" && $lt_i != ".") {
10525       if ($lt_i == "..") {
10526         lt_count++;
10527       } else {
10528         if (lt_count == 0) {
10529           lt_foo="/" $lt_i lt_foo;
10530         } else {
10531           lt_count--;
10532         }
10533       }
10534     }
10535   }
10536   if (lt_foo != "") { lt_freq[lt_foo]++; }
10537   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538 }'`
10539   # AWK program above erroneously prepends '/' to C:/dos/paths
10540   # for these hosts.
10541   case $host_os in
10542     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544   esac
10545   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548 fi
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10564
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10568
10569 case $host_os in
10570 aix3*)
10571   version_type=linux
10572   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573   shlibpath_var=LIBPATH
10574
10575   # AIX 3 has no versioning support, so we append a major version to the name.
10576   soname_spec='${libname}${release}${shared_ext}$major'
10577   ;;
10578
10579 aix[4-9]*)
10580   version_type=linux
10581   need_lib_prefix=no
10582   need_version=no
10583   hardcode_into_libs=yes
10584   if test "$host_cpu" = ia64; then
10585     # AIX 5 supports IA64
10586     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587     shlibpath_var=LD_LIBRARY_PATH
10588   else
10589     # With GCC up to 2.95.x, collect2 would create an import file
10590     # for dependence libraries.  The import file would start with
10591     # the line `#! .'.  This would cause the generated library to
10592     # depend on `.', always an invalid library.  This was fixed in
10593     # development snapshots of GCC prior to 3.0.
10594     case $host_os in
10595       aix4 | aix4.[01] | aix4.[01].*)
10596       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597            echo ' yes '
10598            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10599         :
10600       else
10601         can_build_shared=no
10602       fi
10603       ;;
10604     esac
10605     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606     # soname into executable. Probably we can add versioning support to
10607     # collect2, so additional links can be useful in future.
10608     if test "$aix_use_runtimelinking" = yes; then
10609       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610       # instead of lib<name>.a to let people know that these are not
10611       # typical AIX shared libraries.
10612       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613     else
10614       # We preserve .a as extension for shared libraries through AIX4.2
10615       # and later when we are not doing run time linking.
10616       library_names_spec='${libname}${release}.a $libname.a'
10617       soname_spec='${libname}${release}${shared_ext}$major'
10618     fi
10619     shlibpath_var=LIBPATH
10620   fi
10621   ;;
10622
10623 amigaos*)
10624   case $host_cpu in
10625   powerpc)
10626     # Since July 2007 AmigaOS4 officially supports .so libraries.
10627     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629     ;;
10630   m68k)
10631     library_names_spec='$libname.ixlibrary $libname.a'
10632     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633     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'
10634     ;;
10635   esac
10636   ;;
10637
10638 beos*)
10639   library_names_spec='${libname}${shared_ext}'
10640   dynamic_linker="$host_os ld.so"
10641   shlibpath_var=LIBRARY_PATH
10642   ;;
10643
10644 bsdi[45]*)
10645   version_type=linux
10646   need_version=no
10647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648   soname_spec='${libname}${release}${shared_ext}$major'
10649   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650   shlibpath_var=LD_LIBRARY_PATH
10651   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653   # the default ld.so.conf also contains /usr/contrib/lib and
10654   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655   # libtool to hard-code these into programs
10656   ;;
10657
10658 cygwin* | mingw* | pw32* | cegcc*)
10659   version_type=windows
10660   shrext_cmds=".dll"
10661   need_version=no
10662   need_lib_prefix=no
10663
10664   case $GCC,$host_os in
10665   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666     library_names_spec='$libname.dll.a'
10667     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668     postinstall_cmds='base_file=`basename \${file}`~
10669       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670       dldir=$destdir/`dirname \$dlpath`~
10671       test -d \$dldir || mkdir -p \$dldir~
10672       $install_prog $dir/$dlname \$dldir/$dlname~
10673       chmod a+x \$dldir/$dlname~
10674       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10676       fi'
10677     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678       dlpath=$dir/\$dldll~
10679        $RM \$dlpath'
10680     shlibpath_overrides_runpath=yes
10681
10682     case $host_os in
10683     cygwin*)
10684       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686
10687       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10688       ;;
10689     mingw* | cegcc*)
10690       # MinGW DLLs use traditional 'lib' prefix
10691       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10692       ;;
10693     pw32*)
10694       # pw32 DLLs use 'pw' prefix rather than 'lib'
10695       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10696       ;;
10697     esac
10698     ;;
10699
10700   *)
10701     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10702     ;;
10703   esac
10704   dynamic_linker='Win32 ld.exe'
10705   # FIXME: first we should search . and the directory the executable is in
10706   shlibpath_var=PATH
10707   ;;
10708
10709 darwin* | rhapsody*)
10710   dynamic_linker="$host_os dyld"
10711   version_type=darwin
10712   need_lib_prefix=no
10713   need_version=no
10714   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715   soname_spec='${libname}${release}${major}$shared_ext'
10716   shlibpath_overrides_runpath=yes
10717   shlibpath_var=DYLD_LIBRARY_PATH
10718   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10719
10720   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10722   ;;
10723
10724 dgux*)
10725   version_type=linux
10726   need_lib_prefix=no
10727   need_version=no
10728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729   soname_spec='${libname}${release}${shared_ext}$major'
10730   shlibpath_var=LD_LIBRARY_PATH
10731   ;;
10732
10733 freebsd* | dragonfly*)
10734   # DragonFly does not have aout.  When/if they implement a new
10735   # versioning mechanism, adjust this.
10736   if test -x /usr/bin/objformat; then
10737     objformat=`/usr/bin/objformat`
10738   else
10739     case $host_os in
10740     freebsd[23].*) objformat=aout ;;
10741     *) objformat=elf ;;
10742     esac
10743   fi
10744   version_type=freebsd-$objformat
10745   case $version_type in
10746     freebsd-elf*)
10747       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748       need_version=no
10749       need_lib_prefix=no
10750       ;;
10751     freebsd-*)
10752       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753       need_version=yes
10754       ;;
10755   esac
10756   shlibpath_var=LD_LIBRARY_PATH
10757   case $host_os in
10758   freebsd2.*)
10759     shlibpath_overrides_runpath=yes
10760     ;;
10761   freebsd3.[01]* | freebsdelf3.[01]*)
10762     shlibpath_overrides_runpath=yes
10763     hardcode_into_libs=yes
10764     ;;
10765   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767     shlibpath_overrides_runpath=no
10768     hardcode_into_libs=yes
10769     ;;
10770   *) # from 4.6 on, and DragonFly
10771     shlibpath_overrides_runpath=yes
10772     hardcode_into_libs=yes
10773     ;;
10774   esac
10775   ;;
10776
10777 gnu*)
10778   version_type=linux
10779   need_lib_prefix=no
10780   need_version=no
10781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782   soname_spec='${libname}${release}${shared_ext}$major'
10783   shlibpath_var=LD_LIBRARY_PATH
10784   hardcode_into_libs=yes
10785   ;;
10786
10787 haiku*)
10788   version_type=linux
10789   need_lib_prefix=no
10790   need_version=no
10791   dynamic_linker="$host_os runtime_loader"
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793   soname_spec='${libname}${release}${shared_ext}$major'
10794   shlibpath_var=LIBRARY_PATH
10795   shlibpath_overrides_runpath=yes
10796   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797   hardcode_into_libs=yes
10798   ;;
10799
10800 hpux9* | hpux10* | hpux11*)
10801   # Give a soname corresponding to the major version so that dld.sl refuses to
10802   # link against other versions.
10803   version_type=sunos
10804   need_lib_prefix=no
10805   need_version=no
10806   case $host_cpu in
10807   ia64*)
10808     shrext_cmds='.so'
10809     hardcode_into_libs=yes
10810     dynamic_linker="$host_os dld.so"
10811     shlibpath_var=LD_LIBRARY_PATH
10812     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814     soname_spec='${libname}${release}${shared_ext}$major'
10815     if test "X$HPUX_IA64_MODE" = X32; then
10816       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817     else
10818       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819     fi
10820     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821     ;;
10822   hppa*64*)
10823     shrext_cmds='.sl'
10824     hardcode_into_libs=yes
10825     dynamic_linker="$host_os dld.sl"
10826     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829     soname_spec='${libname}${release}${shared_ext}$major'
10830     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832     ;;
10833   *)
10834     shrext_cmds='.sl'
10835     dynamic_linker="$host_os dld.sl"
10836     shlibpath_var=SHLIB_PATH
10837     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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     ;;
10841   esac
10842   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843   postinstall_cmds='chmod 555 $lib'
10844   # or fails outright, so override atomically:
10845   install_override_mode=555
10846   ;;
10847
10848 interix[3-9]*)
10849   version_type=linux
10850   need_lib_prefix=no
10851   need_version=no
10852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853   soname_spec='${libname}${release}${shared_ext}$major'
10854   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855   shlibpath_var=LD_LIBRARY_PATH
10856   shlibpath_overrides_runpath=no
10857   hardcode_into_libs=yes
10858   ;;
10859
10860 irix5* | irix6* | nonstopux*)
10861   case $host_os in
10862     nonstopux*) version_type=nonstopux ;;
10863     *)
10864         if test "$lt_cv_prog_gnu_ld" = yes; then
10865                 version_type=linux
10866         else
10867                 version_type=irix
10868         fi ;;
10869   esac
10870   need_lib_prefix=no
10871   need_version=no
10872   soname_spec='${libname}${release}${shared_ext}$major'
10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874   case $host_os in
10875   irix5* | nonstopux*)
10876     libsuff= shlibsuff=
10877     ;;
10878   *)
10879     case $LD in # libtool.m4 will add one of these switches to LD
10880     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881       libsuff= shlibsuff= libmagic=32-bit;;
10882     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883       libsuff=32 shlibsuff=N32 libmagic=N32;;
10884     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886     *) libsuff= shlibsuff= libmagic=never-match;;
10887     esac
10888     ;;
10889   esac
10890   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891   shlibpath_overrides_runpath=no
10892   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894   hardcode_into_libs=yes
10895   ;;
10896
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899   dynamic_linker=no
10900   ;;
10901
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904   version_type=linux
10905   need_lib_prefix=no
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   shlibpath_overrides_runpath=no
10912
10913   # Some binutils ld are patched to set DT_RUNPATH
10914   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915   $as_echo_n "(cached) " >&6
10916 else
10917   lt_cv_shlibpath_overrides_runpath=no
10918     save_LDFLAGS=$LDFLAGS
10919     save_libdir=$libdir
10920     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922     if test x$gcc_no_link = xyes; then
10923   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10924 fi
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h.  */
10927
10928 int
10929 main ()
10930 {
10931
10932   ;
10933   return 0;
10934 }
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938   lt_cv_shlibpath_overrides_runpath=yes
10939 fi
10940 fi
10941 rm -f core conftest.err conftest.$ac_objext \
10942     conftest$ac_exeext conftest.$ac_ext
10943     LDFLAGS=$save_LDFLAGS
10944     libdir=$save_libdir
10945
10946 fi
10947
10948   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10949
10950   # This implies no fast_install, which is unacceptable.
10951   # Some rework will be needed to allow for fast_install
10952   # before this can be enabled.
10953   hardcode_into_libs=yes
10954
10955   # Append ld.so.conf contents to the search path
10956   if test -f /etc/ld.so.conf; then
10957     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' ' '`
10958     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10959   fi
10960
10961   # We used to test for /lib/ld.so.1 and disable shared libraries on
10962   # powerpc, because MkLinux only supported shared libraries with the
10963   # GNU dynamic linker.  Since this was broken with cross compilers,
10964   # most powerpc-linux boxes support dynamic linking these days and
10965   # people can always --disable-shared, the test was removed, and we
10966   # assume the GNU/Linux dynamic linker is in use.
10967   dynamic_linker='GNU/Linux ld.so'
10968   ;;
10969
10970 netbsd*)
10971   version_type=sunos
10972   need_lib_prefix=no
10973   need_version=no
10974   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977     dynamic_linker='NetBSD (a.out) ld.so'
10978   else
10979     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980     soname_spec='${libname}${release}${shared_ext}$major'
10981     dynamic_linker='NetBSD ld.elf_so'
10982   fi
10983   shlibpath_var=LD_LIBRARY_PATH
10984   shlibpath_overrides_runpath=yes
10985   hardcode_into_libs=yes
10986   ;;
10987
10988 newsos6)
10989   version_type=linux
10990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991   shlibpath_var=LD_LIBRARY_PATH
10992   shlibpath_overrides_runpath=yes
10993   ;;
10994
10995 *nto* | *qnx*)
10996   version_type=qnx
10997   need_lib_prefix=no
10998   need_version=no
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000   soname_spec='${libname}${release}${shared_ext}$major'
11001   shlibpath_var=LD_LIBRARY_PATH
11002   shlibpath_overrides_runpath=no
11003   hardcode_into_libs=yes
11004   dynamic_linker='ldqnx.so'
11005   ;;
11006
11007 openbsd*)
11008   version_type=sunos
11009   sys_lib_dlsearch_path_spec="/usr/lib"
11010   need_lib_prefix=no
11011   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012   case $host_os in
11013     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11014     *)                          need_version=no  ;;
11015   esac
11016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020     case $host_os in
11021       openbsd2.[89] | openbsd2.[89].*)
11022         shlibpath_overrides_runpath=no
11023         ;;
11024       *)
11025         shlibpath_overrides_runpath=yes
11026         ;;
11027       esac
11028   else
11029     shlibpath_overrides_runpath=yes
11030   fi
11031   ;;
11032
11033 os2*)
11034   libname_spec='$name'
11035   shrext_cmds=".dll"
11036   need_lib_prefix=no
11037   library_names_spec='$libname${shared_ext} $libname.a'
11038   dynamic_linker='OS/2 ld.exe'
11039   shlibpath_var=LIBPATH
11040   ;;
11041
11042 osf3* | osf4* | osf5*)
11043   version_type=osf
11044   need_lib_prefix=no
11045   need_version=no
11046   soname_spec='${libname}${release}${shared_ext}$major'
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048   shlibpath_var=LD_LIBRARY_PATH
11049   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051   ;;
11052
11053 rdos*)
11054   dynamic_linker=no
11055   ;;
11056
11057 solaris*)
11058   version_type=linux
11059   need_lib_prefix=no
11060   need_version=no
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   soname_spec='${libname}${release}${shared_ext}$major'
11063   shlibpath_var=LD_LIBRARY_PATH
11064   shlibpath_overrides_runpath=yes
11065   hardcode_into_libs=yes
11066   # ldd complains unless libraries are executable
11067   postinstall_cmds='chmod +x $lib'
11068   ;;
11069
11070 sunos4*)
11071   version_type=sunos
11072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074   shlibpath_var=LD_LIBRARY_PATH
11075   shlibpath_overrides_runpath=yes
11076   if test "$with_gnu_ld" = yes; then
11077     need_lib_prefix=no
11078   fi
11079   need_version=yes
11080   ;;
11081
11082 sysv4 | sysv4.3*)
11083   version_type=linux
11084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085   soname_spec='${libname}${release}${shared_ext}$major'
11086   shlibpath_var=LD_LIBRARY_PATH
11087   case $host_vendor in
11088     sni)
11089       shlibpath_overrides_runpath=no
11090       need_lib_prefix=no
11091       runpath_var=LD_RUN_PATH
11092       ;;
11093     siemens)
11094       need_lib_prefix=no
11095       ;;
11096     motorola)
11097       need_lib_prefix=no
11098       need_version=no
11099       shlibpath_overrides_runpath=no
11100       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11101       ;;
11102   esac
11103   ;;
11104
11105 sysv4*MP*)
11106   if test -d /usr/nec ;then
11107     version_type=linux
11108     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109     soname_spec='$libname${shared_ext}.$major'
11110     shlibpath_var=LD_LIBRARY_PATH
11111   fi
11112   ;;
11113
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115   version_type=freebsd-elf
11116   need_lib_prefix=no
11117   need_version=no
11118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119   soname_spec='${libname}${release}${shared_ext}$major'
11120   shlibpath_var=LD_LIBRARY_PATH
11121   shlibpath_overrides_runpath=yes
11122   hardcode_into_libs=yes
11123   if test "$with_gnu_ld" = yes; then
11124     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125   else
11126     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127     case $host_os in
11128       sco3.2v5*)
11129         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130         ;;
11131     esac
11132   fi
11133   sys_lib_dlsearch_path_spec='/usr/lib'
11134   ;;
11135
11136 tpf*)
11137   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11138   version_type=linux
11139   need_lib_prefix=no
11140   need_version=no
11141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142   shlibpath_var=LD_LIBRARY_PATH
11143   shlibpath_overrides_runpath=no
11144   hardcode_into_libs=yes
11145   ;;
11146
11147 uts4*)
11148   version_type=linux
11149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150   soname_spec='${libname}${release}${shared_ext}$major'
11151   shlibpath_var=LD_LIBRARY_PATH
11152   ;;
11153
11154 *)
11155   dynamic_linker=no
11156   ;;
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11161
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 fi
11166
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11169 fi
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11172 fi
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
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269    test -n "$runpath_var" ||
11270    test "X$hardcode_automatic" = "Xyes" ; then
11271
11272   # We can hardcode non-existent directories.
11273   if test "$hardcode_direct" != no &&
11274      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275      # have to relink, otherwise we might link with an installed library
11276      # when we should be linking with a yet-to-be-installed one
11277      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278      test "$hardcode_minus_L" != no; then
11279     # Linking always hardcodes the temporary library directory.
11280     hardcode_action=relink
11281   else
11282     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283     hardcode_action=immediate
11284   fi
11285 else
11286   # We cannot hardcode anything, or else we can only hardcode existing
11287   # directories.
11288   hardcode_action=unsupported
11289 fi
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11292
11293 if test "$hardcode_action" = relink ||
11294    test "$inherit_rpath" = yes; then
11295   # Fast installation is not supported
11296   enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298      test "$enable_shared" = no; then
11299   # Fast installation is not necessary
11300   enable_fast_install=needless
11301 fi
11302
11303
11304
11305
11306
11307
11308   if test "x$enable_dlopen" != xyes; then
11309   enable_dlopen=unknown
11310   enable_dlopen_self=unknown
11311   enable_dlopen_self_static=unknown
11312 else
11313   lt_cv_dlopen=no
11314   lt_cv_dlopen_libs=
11315
11316   case $host_os in
11317   beos*)
11318     lt_cv_dlopen="load_add_on"
11319     lt_cv_dlopen_libs=
11320     lt_cv_dlopen_self=yes
11321     ;;
11322
11323   mingw* | pw32* | cegcc*)
11324     lt_cv_dlopen="LoadLibrary"
11325     lt_cv_dlopen_libs=
11326     ;;
11327
11328   cygwin*)
11329     lt_cv_dlopen="dlopen"
11330     lt_cv_dlopen_libs=
11331     ;;
11332
11333   darwin*)
11334   # if libdl is installed we need to link against it
11335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338   $as_echo_n "(cached) " >&6
11339 else
11340   ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl  $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11344 fi
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h.  */
11347
11348 /* Override any GCC internal prototype to avoid an error.
11349    Use char because int might match the return type of a GCC
11350    builtin and then its argument prototype would still apply.  */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11355 int
11356 main ()
11357 {
11358 return dlopen ();
11359   ;
11360   return 0;
11361 }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364   ac_cv_lib_dl_dlopen=yes
11365 else
11366   ac_cv_lib_dl_dlopen=no
11367 fi
11368 rm -f core conftest.err conftest.$ac_objext \
11369     conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11371 fi
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11377
11378     lt_cv_dlopen="dyld"
11379     lt_cv_dlopen_libs=
11380     lt_cv_dlopen_self=yes
11381
11382 fi
11383
11384     ;;
11385
11386   *)
11387     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389   lt_cv_dlopen="shl_load"
11390 else
11391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394   $as_echo_n "(cached) " >&6
11395 else
11396   ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld  $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11400 fi
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h.  */
11403
11404 /* Override any GCC internal prototype to avoid an error.
11405    Use char because int might match the return type of a GCC
11406    builtin and then its argument prototype would still apply.  */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11411 int
11412 main ()
11413 {
11414 return shl_load ();
11415   ;
11416   return 0;
11417 }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420   ac_cv_lib_dld_shl_load=yes
11421 else
11422   ac_cv_lib_dld_shl_load=no
11423 fi
11424 rm -f core conftest.err conftest.$ac_objext \
11425     conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11427 fi
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435   lt_cv_dlopen="dlopen"
11436 else
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440   $as_echo_n "(cached) " >&6
11441 else
11442   ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl  $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11446 fi
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h.  */
11449
11450 /* Override any GCC internal prototype to avoid an error.
11451    Use char because int might match the return type of a GCC
11452    builtin and then its argument prototype would still apply.  */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11457 int
11458 main ()
11459 {
11460 return dlopen ();
11461   ;
11462   return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466   ac_cv_lib_dl_dlopen=yes
11467 else
11468   ac_cv_lib_dl_dlopen=no
11469 fi
11470 rm -f core conftest.err conftest.$ac_objext \
11471     conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11473 fi
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482   $as_echo_n "(cached) " >&6
11483 else
11484   ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld  $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11488 fi
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h.  */
11491
11492 /* Override any GCC internal prototype to avoid an error.
11493    Use char because int might match the return type of a GCC
11494    builtin and then its argument prototype would still apply.  */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11499 int
11500 main ()
11501 {
11502 return dlopen ();
11503   ;
11504   return 0;
11505 }
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508   ac_cv_lib_svld_dlopen=yes
11509 else
11510   ac_cv_lib_svld_dlopen=no
11511 fi
11512 rm -f core conftest.err conftest.$ac_objext \
11513     conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11515 fi
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524   $as_echo_n "(cached) " >&6
11525 else
11526   ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld  $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11530 fi
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h.  */
11533
11534 /* Override any GCC internal prototype to avoid an error.
11535    Use char because int might match the return type of a GCC
11536    builtin and then its argument prototype would still apply.  */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11541 int
11542 main ()
11543 {
11544 return dld_link ();
11545   ;
11546   return 0;
11547 }
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550   ac_cv_lib_dld_dld_link=yes
11551 else
11552   ac_cv_lib_dld_dld_link=no
11553 fi
11554 rm -f core conftest.err conftest.$ac_objext \
11555     conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11557 fi
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11562 fi
11563
11564
11565 fi
11566
11567
11568 fi
11569
11570
11571 fi
11572
11573
11574 fi
11575
11576
11577 fi
11578
11579     ;;
11580   esac
11581
11582   if test "x$lt_cv_dlopen" != xno; then
11583     enable_dlopen=yes
11584   else
11585     enable_dlopen=no
11586   fi
11587
11588   case $lt_cv_dlopen in
11589   dlopen)
11590     save_CPPFLAGS="$CPPFLAGS"
11591     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11592
11593     save_LDFLAGS="$LDFLAGS"
11594     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11595
11596     save_LIBS="$LIBS"
11597     LIBS="$lt_cv_dlopen_libs $LIBS"
11598
11599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602   $as_echo_n "(cached) " >&6
11603 else
11604           if test "$cross_compiling" = yes; then :
11605   lt_cv_dlopen_self=cross
11606 else
11607   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608   lt_status=$lt_dlunknown
11609   cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11612
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11616
11617 #include <stdio.h>
11618
11619 #ifdef RTLD_GLOBAL
11620 #  define LT_DLGLOBAL           RTLD_GLOBAL
11621 #else
11622 #  ifdef DL_GLOBAL
11623 #    define LT_DLGLOBAL         DL_GLOBAL
11624 #  else
11625 #    define LT_DLGLOBAL         0
11626 #  endif
11627 #endif
11628
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630    find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 #  ifdef RTLD_LAZY
11633 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11634 #  else
11635 #    ifdef DL_LAZY
11636 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11637 #    else
11638 #      ifdef RTLD_NOW
11639 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11640 #      else
11641 #        ifdef DL_NOW
11642 #          define LT_DLLAZY_OR_NOW      DL_NOW
11643 #        else
11644 #          define LT_DLLAZY_OR_NOW      0
11645 #        endif
11646 #      endif
11647 #    endif
11648 #  endif
11649 #endif
11650
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652    correspondingly for the symbols needed.  */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11656
11657 void fnord () { int i=42; }
11658 int main ()
11659 {
11660   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661   int status = $lt_dlunknown;
11662
11663   if (self)
11664     {
11665       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11666       else
11667         {
11668           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11669           else puts (dlerror ());
11670         }
11671       /* dlclose (self); */
11672     }
11673   else
11674     puts (dlerror ());
11675
11676   return status;
11677 }
11678 _LT_EOF
11679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680   (eval $ac_link) 2>&5
11681   ac_status=$?
11682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684     (./conftest; exit; ) >&5 2>/dev/null
11685     lt_status=$?
11686     case x$lt_status in
11687       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690     esac
11691   else :
11692     # compilation failed
11693     lt_cv_dlopen_self=no
11694   fi
11695 fi
11696 rm -fr conftest*
11697
11698
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11702
11703     if test "x$lt_cv_dlopen_self" = xyes; then
11704       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708   $as_echo_n "(cached) " >&6
11709 else
11710           if test "$cross_compiling" = yes; then :
11711   lt_cv_dlopen_self_static=cross
11712 else
11713   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714   lt_status=$lt_dlunknown
11715   cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11718
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11722
11723 #include <stdio.h>
11724
11725 #ifdef RTLD_GLOBAL
11726 #  define LT_DLGLOBAL           RTLD_GLOBAL
11727 #else
11728 #  ifdef DL_GLOBAL
11729 #    define LT_DLGLOBAL         DL_GLOBAL
11730 #  else
11731 #    define LT_DLGLOBAL         0
11732 #  endif
11733 #endif
11734
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736    find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 #  ifdef RTLD_LAZY
11739 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11740 #  else
11741 #    ifdef DL_LAZY
11742 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11743 #    else
11744 #      ifdef RTLD_NOW
11745 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11746 #      else
11747 #        ifdef DL_NOW
11748 #          define LT_DLLAZY_OR_NOW      DL_NOW
11749 #        else
11750 #          define LT_DLLAZY_OR_NOW      0
11751 #        endif
11752 #      endif
11753 #    endif
11754 #  endif
11755 #endif
11756
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758    correspondingly for the symbols needed.  */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11762
11763 void fnord () { int i=42; }
11764 int main ()
11765 {
11766   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767   int status = $lt_dlunknown;
11768
11769   if (self)
11770     {
11771       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11772       else
11773         {
11774           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11775           else puts (dlerror ());
11776         }
11777       /* dlclose (self); */
11778     }
11779   else
11780     puts (dlerror ());
11781
11782   return status;
11783 }
11784 _LT_EOF
11785   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786   (eval $ac_link) 2>&5
11787   ac_status=$?
11788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790     (./conftest; exit; ) >&5 2>/dev/null
11791     lt_status=$?
11792     case x$lt_status in
11793       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796     esac
11797   else :
11798     # compilation failed
11799     lt_cv_dlopen_self_static=no
11800   fi
11801 fi
11802 rm -fr conftest*
11803
11804
11805 fi
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11808     fi
11809
11810     CPPFLAGS="$save_CPPFLAGS"
11811     LDFLAGS="$save_LDFLAGS"
11812     LIBS="$save_LIBS"
11813     ;;
11814   esac
11815
11816   case $lt_cv_dlopen_self in
11817   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818   *) enable_dlopen_self=unknown ;;
11819   esac
11820
11821   case $lt_cv_dlopen_self_static in
11822   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823   *) enable_dlopen_self_static=unknown ;;
11824   esac
11825 fi
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854   case $host_os in
11855   darwin*)
11856     if test -n "$STRIP" ; then
11857       striplib="$STRIP -x"
11858       old_striplib="$STRIP -S"
11859       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861     else
11862       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11864     fi
11865     ;;
11866   *)
11867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11869     ;;
11870   esac
11871 fi
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884   # Report which library types will actually be built
11885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11889
11890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892   test "$can_build_shared" = "no" && enable_shared=no
11893
11894   # On AIX, shared libraries and static libraries use the same namespace, and
11895   # are all built from PIC.
11896   case $host_os in
11897   aix3*)
11898     test "$enable_shared" = yes && enable_static=no
11899     if test -n "$RANLIB"; then
11900       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901       postinstall_cmds='$RANLIB $lib'
11902     fi
11903     ;;
11904
11905   aix[4-9]*)
11906     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907       test "$enable_shared" = yes && enable_static=no
11908     fi
11909     ;;
11910   esac
11911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11913
11914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916   # Make sure either enable_shared or enable_static is yes.
11917   test "$enable_shared" = yes || enable_static=yes
11918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11920
11921
11922
11923
11924 fi
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930
11931 CC="$lt_save_CC"
11932
11933       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935     (test "X$CXX" != "Xg++"))) ; then
11936   ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945   $as_echo_n "(cached) " >&6
11946 else
11947       # Double quotes because CXXCPP needs to be expanded
11948     for CXXCPP in "$CXX -E" "/lib/cpp"
11949     do
11950       ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11952 do
11953   # Use a header file that comes with gcc, so configuring glibc
11954   # with a fresh cross-compiler works.
11955   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956   # <limits.h> exists even on freestanding compilers.
11957   # On the NeXT, cc -E runs the code through the compiler's parser,
11958   # not just through cpp. "Syntax error" is here to catch this case.
11959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h.  */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966                      Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969
11970 else
11971   # Broken: fails on valid input.
11972 continue
11973 fi
11974 rm -f conftest.err conftest.$ac_ext
11975
11976   # OK, works on sane cases.  Now check whether nonexistent headers
11977   # can be detected and how.
11978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h.  */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983   # Broken: success on invalid input.
11984 continue
11985 else
11986   # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11989 fi
11990 rm -f conftest.err conftest.$ac_ext
11991
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996   break
11997 fi
11998
11999     done
12000     ac_cv_prog_CXXCPP=$CXXCPP
12001
12002 fi
12003   CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005   ac_cv_prog_CXXCPP=$CXXCPP
12006 fi
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12011 do
12012   # Use a header file that comes with gcc, so configuring glibc
12013   # with a fresh cross-compiler works.
12014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015   # <limits.h> exists even on freestanding compilers.
12016   # On the NeXT, cc -E runs the code through the compiler's parser,
12017   # not just through cpp. "Syntax error" is here to catch this case.
12018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h.  */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025                      Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028
12029 else
12030   # Broken: fails on valid input.
12031 continue
12032 fi
12033 rm -f conftest.err conftest.$ac_ext
12034
12035   # OK, works on sane cases.  Now check whether nonexistent headers
12036   # can be detected and how.
12037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h.  */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042   # Broken: success on invalid input.
12043 continue
12044 else
12045   # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12048 fi
12049 rm -f conftest.err conftest.$ac_ext
12050
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12055
12056 else
12057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12061 fi
12062
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12068
12069 else
12070   _lt_caught_CXX_error=yes
12071 fi
12072
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12078
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12103
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12106
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12110
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working.  Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116   # Code to be used in simple compile tests
12117   lt_simple_compile_test_code="int some_variable = 0;"
12118
12119   # Code to be used in simple link tests
12120   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12121
12122   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12123
12124
12125
12126
12127
12128
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12131
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12134
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12137
12138
12139   # save warnings/boilerplate of simple test code
12140   ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12145
12146   ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12151
12152
12153   # Allow CC to be a program name with arguments.
12154   lt_save_CC=$CC
12155   lt_save_LD=$LD
12156   lt_save_GCC=$GCC
12157   GCC=$GXX
12158   lt_save_with_gnu_ld=$with_gnu_ld
12159   lt_save_path_LD=$lt_cv_path_LD
12160   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162   else
12163     $as_unset lt_cv_prog_gnu_ld
12164   fi
12165   if test -n "${lt_cv_path_LDCXX+set}"; then
12166     lt_cv_path_LD=$lt_cv_path_LDCXX
12167   else
12168     $as_unset lt_cv_path_LD
12169   fi
12170   test -z "${LDCXX+set}" || LD=$LDCXX
12171   CC=${CXX-"c++"}
12172   compiler=$CC
12173   compiler_CXX=$CC
12174   for cc_temp in $compiler""; do
12175   case $cc_temp in
12176     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178     \-*) ;;
12179     *) break;;
12180   esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12183
12184
12185   if test -n "$compiler"; then
12186     # We don't want -fno-exception when compiling C++ code, so set the
12187     # no_builtin_flag separately
12188     if test "$GXX" = yes; then
12189       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190     else
12191       lt_prog_compiler_no_builtin_flag_CXX=
12192     fi
12193
12194     if test "$GXX" = yes; then
12195       # Set up default GNU C++ configuration
12196
12197
12198
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203   with_gnu_ld=no
12204 fi
12205
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208   # Check if gcc -print-prog-name=ld gives a path.
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211   case $host in
12212   *-*-mingw*)
12213     # gcc leaves a trailing carriage return which upsets mingw
12214     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12215   *)
12216     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217   esac
12218   case $ac_prog in
12219     # Accept absolute paths.
12220     [\\/]* | ?:[\\/]*)
12221       re_direlt='/[^/][^/]*/\.\./'
12222       # Canonicalize the pathname of ld
12223       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226       done
12227       test -z "$LD" && LD="$ac_prog"
12228       ;;
12229   "")
12230     # If it fails, then pretend we aren't using GCC.
12231     ac_prog=ld
12232     ;;
12233   *)
12234     # If it is relative, then search for the first ld in PATH.
12235     with_gnu_ld=unknown
12236     ;;
12237   esac
12238 elif test "$with_gnu_ld" = yes; then
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12244 fi
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246   $as_echo_n "(cached) " >&6
12247 else
12248   if test -z "$LD"; then
12249   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250   for ac_dir in $PATH; do
12251     IFS="$lt_save_ifs"
12252     test -z "$ac_dir" && ac_dir=.
12253     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254       lt_cv_path_LD="$ac_dir/$ac_prog"
12255       # Check to see if the program is GNU ld.  I'd rather use --version,
12256       # but apparently some variants of GNU ld only accept -v.
12257       # Break only if it was the GNU/non-GNU ld that we prefer.
12258       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259       *GNU* | *'with BFD'*)
12260         test "$with_gnu_ld" != no && break
12261         ;;
12262       *)
12263         test "$with_gnu_ld" != yes && break
12264         ;;
12265       esac
12266     fi
12267   done
12268   IFS="$lt_save_ifs"
12269 else
12270   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12271 fi
12272 fi
12273
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12281 fi
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286   $as_echo_n "(cached) " >&6
12287 else
12288   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291   lt_cv_prog_gnu_ld=yes
12292   ;;
12293 *)
12294   lt_cv_prog_gnu_ld=no
12295   ;;
12296 esac
12297 fi
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12301
12302
12303
12304
12305
12306
12307
12308       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309       # archiving commands below assume that GNU ld is being used.
12310       if test "$with_gnu_ld" = yes; then
12311         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312         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'
12313
12314         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12316
12317         # If archive_cmds runs LD, not CC, wlarc should be empty
12318         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319         #     investigate it a little bit more. (MM)
12320         wlarc='${wl}'
12321
12322         # ancient GNU ld didn't support --whole-archive et. al.
12323         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324           $GREP 'no-whole-archive' > /dev/null; then
12325           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326         else
12327           whole_archive_flag_spec_CXX=
12328         fi
12329       else
12330         with_gnu_ld=no
12331         wlarc=
12332
12333         # A generic and very simple default shared library creation
12334         # command for GNU C++ for the case where it uses the native
12335         # linker, instead of GNU ld.  If possible, this setting should
12336         # overridden to take advantage of the native linker features on
12337         # the platform it is being used on.
12338         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12339       fi
12340
12341       # Commands to make compiler produce verbose output that lists
12342       # what "hidden" libraries, object files and flags are used when
12343       # linking a shared library.
12344       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12345
12346     else
12347       GXX=no
12348       with_gnu_ld=no
12349       wlarc=
12350     fi
12351
12352     # PORTME: fill in a description of your system's C++ link characteristics
12353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355     ld_shlibs_CXX=yes
12356     case $host_os in
12357       aix3*)
12358         # FIXME: insert proper C++ library support
12359         ld_shlibs_CXX=no
12360         ;;
12361       aix[4-9]*)
12362         if test "$host_cpu" = ia64; then
12363           # On IA64, the linker does run time linking by default, so we don't
12364           # have to do anything special.
12365           aix_use_runtimelinking=no
12366           exp_sym_flag='-Bexport'
12367           no_entry_flag=""
12368         else
12369           aix_use_runtimelinking=no
12370
12371           # Test if we are trying to use run time linking or normal
12372           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373           # need to do runtime linking.
12374           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375             for ld_flag in $LDFLAGS; do
12376               case $ld_flag in
12377               *-brtl*)
12378                 aix_use_runtimelinking=yes
12379                 break
12380                 ;;
12381               esac
12382             done
12383             ;;
12384           esac
12385
12386           exp_sym_flag='-bexport'
12387           no_entry_flag='-bnoentry'
12388         fi
12389
12390         # When large executables or shared objects are built, AIX ld can
12391         # have problems creating the table of contents.  If linking a library
12392         # or program results in "error TOC overflow" add -mminimal-toc to
12393         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12394         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12395
12396         archive_cmds_CXX=''
12397         hardcode_direct_CXX=yes
12398         hardcode_direct_absolute_CXX=yes
12399         hardcode_libdir_separator_CXX=':'
12400         link_all_deplibs_CXX=yes
12401         file_list_spec_CXX='${wl}-f,'
12402
12403         if test "$GXX" = yes; then
12404           case $host_os in aix4.[012]|aix4.[012].*)
12405           # We only want to do this on AIX 4.2 and lower, the check
12406           # below for broken collect2 doesn't work under 4.3+
12407           collect2name=`${CC} -print-prog-name=collect2`
12408           if test -f "$collect2name" &&
12409              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410           then
12411             # We have reworked collect2
12412             :
12413           else
12414             # We have old collect2
12415             hardcode_direct_CXX=unsupported
12416             # It fails to find uninstalled libraries when the uninstalled
12417             # path is not listed in the libpath.  Setting hardcode_minus_L
12418             # to unsupported forces relinking
12419             hardcode_minus_L_CXX=yes
12420             hardcode_libdir_flag_spec_CXX='-L$libdir'
12421             hardcode_libdir_separator_CXX=
12422           fi
12423           esac
12424           shared_flag='-shared'
12425           if test "$aix_use_runtimelinking" = yes; then
12426             shared_flag="$shared_flag "'${wl}-G'
12427           fi
12428         else
12429           # not using gcc
12430           if test "$host_cpu" = ia64; then
12431           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432           # chokes on -Wl,-G. The following line is correct:
12433           shared_flag='-G'
12434           else
12435             if test "$aix_use_runtimelinking" = yes; then
12436               shared_flag='${wl}-G'
12437             else
12438               shared_flag='${wl}-bM:SRE'
12439             fi
12440           fi
12441         fi
12442
12443         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444         # It seems that -bexpall does not export symbols beginning with
12445         # underscore (_), so it is better to generate a list of symbols to
12446         # export.
12447         always_export_symbols_CXX=yes
12448         if test "$aix_use_runtimelinking" = yes; then
12449           # Warning - without using the other runtime loading flags (-brtl),
12450           # -berok will link without error, but may produce a broken library.
12451           allow_undefined_flag_CXX='-berok'
12452           # Determine the default libpath from the value encoded in an empty
12453           # executable.
12454           if test x$gcc_no_link = xyes; then
12455   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12456 fi
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h.  */
12459
12460 int
12461 main ()
12462 {
12463
12464   ;
12465   return 0;
12466 }
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12469
12470 lt_aix_libpath_sed='
12471     /Import File Strings/,/^$/ {
12472         /^0/ {
12473             s/^0  *\(.*\)$/\1/
12474             p
12475         }
12476     }'
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 fi
12482 fi
12483 rm -f core conftest.err conftest.$ac_objext \
12484     conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12486
12487           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12488
12489           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"
12490         else
12491           if test "$host_cpu" = ia64; then
12492             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493             allow_undefined_flag_CXX="-z nodefs"
12494             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"
12495           else
12496             # Determine the default libpath from the value encoded in an
12497             # empty executable.
12498             if test x$gcc_no_link = xyes; then
12499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12500 fi
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h.  */
12503
12504 int
12505 main ()
12506 {
12507
12508   ;
12509   return 0;
12510 }
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12513
12514 lt_aix_libpath_sed='
12515     /Import File Strings/,/^$/ {
12516         /^0/ {
12517             s/^0  *\(.*\)$/\1/
12518             p
12519         }
12520     }'
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 fi
12526 fi
12527 rm -f core conftest.err conftest.$ac_objext \
12528     conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12530
12531             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532             # Warning - without using the other run time loading flags,
12533             # -berok will link without error, but may produce a broken library.
12534             no_undefined_flag_CXX=' ${wl}-bernotok'
12535             allow_undefined_flag_CXX=' ${wl}-berok'
12536             if test "$with_gnu_ld" = yes; then
12537               # We only use this code for GNU lds that support --whole-archive.
12538               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539             else
12540               # Exported symbols can be pulled into shared objects from archives
12541               whole_archive_flag_spec_CXX='$convenience'
12542             fi
12543             archive_cmds_need_lc_CXX=yes
12544             # This is similar to how AIX traditionally builds its shared
12545             # libraries.
12546             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'
12547           fi
12548         fi
12549         ;;
12550
12551       beos*)
12552         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553           allow_undefined_flag_CXX=unsupported
12554           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555           # support --undefined.  This deserves some investigation.  FIXME
12556           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557         else
12558           ld_shlibs_CXX=no
12559         fi
12560         ;;
12561
12562       chorus*)
12563         case $cc_basename in
12564           *)
12565           # FIXME: insert proper C++ library support
12566           ld_shlibs_CXX=no
12567           ;;
12568         esac
12569         ;;
12570
12571       cygwin* | mingw* | pw32* | cegcc*)
12572         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573         # as there is no search path for DLLs.
12574         hardcode_libdir_flag_spec_CXX='-L$libdir'
12575         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576         allow_undefined_flag_CXX=unsupported
12577         always_export_symbols_CXX=no
12578         enable_shared_with_static_runtimes_CXX=yes
12579
12580         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581           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'
12582           # If the export-symbols file already is a .def file (1st line
12583           # is EXPORTS), use it as is; otherwise, prepend...
12584           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585             cp $export_symbols $output_objdir/$soname.def;
12586           else
12587             echo EXPORTS > $output_objdir/$soname.def;
12588             cat $export_symbols >> $output_objdir/$soname.def;
12589           fi~
12590           $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'
12591         else
12592           ld_shlibs_CXX=no
12593         fi
12594         ;;
12595       darwin* | rhapsody*)
12596
12597
12598   archive_cmds_need_lc_CXX=no
12599   hardcode_direct_CXX=no
12600   hardcode_automatic_CXX=yes
12601   hardcode_shlibpath_var_CXX=unsupported
12602   if test "$lt_cv_ld_force_load" = "yes"; then
12603     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\"`'
12604   else
12605     whole_archive_flag_spec_CXX=''
12606   fi
12607   link_all_deplibs_CXX=yes
12608   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609   case $cc_basename in
12610      ifort*) _lt_dar_can_shared=yes ;;
12611      *) _lt_dar_can_shared=$GCC ;;
12612   esac
12613   if test "$_lt_dar_can_shared" = "yes"; then
12614     output_verbose_link_cmd=func_echo_all
12615     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}"
12616     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617     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}"
12618     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}"
12619        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620       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}"
12621       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}"
12622     fi
12623
12624   else
12625   ld_shlibs_CXX=no
12626   fi
12627
12628         ;;
12629
12630       dgux*)
12631         case $cc_basename in
12632           ec++*)
12633             # FIXME: insert proper C++ library support
12634             ld_shlibs_CXX=no
12635             ;;
12636           ghcx*)
12637             # Green Hills C++ Compiler
12638             # FIXME: insert proper C++ library support
12639             ld_shlibs_CXX=no
12640             ;;
12641           *)
12642             # FIXME: insert proper C++ library support
12643             ld_shlibs_CXX=no
12644             ;;
12645         esac
12646         ;;
12647
12648       freebsd2.*)
12649         # C++ shared libraries reported to be fairly broken before
12650         # switch to ELF
12651         ld_shlibs_CXX=no
12652         ;;
12653
12654       freebsd-elf*)
12655         archive_cmds_need_lc_CXX=no
12656         ;;
12657
12658       freebsd* | dragonfly*)
12659         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660         # conventions
12661         ld_shlibs_CXX=yes
12662         ;;
12663
12664       gnu*)
12665         ;;
12666
12667       haiku*)
12668         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669         link_all_deplibs_CXX=yes
12670         ;;
12671
12672       hpux9*)
12673         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674         hardcode_libdir_separator_CXX=:
12675         export_dynamic_flag_spec_CXX='${wl}-E'
12676         hardcode_direct_CXX=yes
12677         hardcode_minus_L_CXX=yes # Not in the search PATH,
12678                                              # but as the default
12679                                              # location of the library.
12680
12681         case $cc_basename in
12682           CC*)
12683             # FIXME: insert proper C++ library support
12684             ld_shlibs_CXX=no
12685             ;;
12686           aCC*)
12687             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'
12688             # Commands to make compiler produce verbose output that lists
12689             # what "hidden" libraries, object files and flags are used when
12690             # linking a shared library.
12691             #
12692             # There doesn't appear to be a way to prevent this compiler from
12693             # explicitly linking system object files so we need to strip them
12694             # from the output so that they don't get included in the library
12695             # dependencies.
12696             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"'
12697             ;;
12698           *)
12699             if test "$GXX" = yes; then
12700               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'
12701             else
12702               # FIXME: insert proper C++ library support
12703               ld_shlibs_CXX=no
12704             fi
12705             ;;
12706         esac
12707         ;;
12708
12709       hpux10*|hpux11*)
12710         if test $with_gnu_ld = no; then
12711           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712           hardcode_libdir_separator_CXX=:
12713
12714           case $host_cpu in
12715             hppa*64*|ia64*)
12716               ;;
12717             *)
12718               export_dynamic_flag_spec_CXX='${wl}-E'
12719               ;;
12720           esac
12721         fi
12722         case $host_cpu in
12723           hppa*64*|ia64*)
12724             hardcode_direct_CXX=no
12725             hardcode_shlibpath_var_CXX=no
12726             ;;
12727           *)
12728             hardcode_direct_CXX=yes
12729             hardcode_direct_absolute_CXX=yes
12730             hardcode_minus_L_CXX=yes # Not in the search PATH,
12731                                                  # but as the default
12732                                                  # location of the library.
12733             ;;
12734         esac
12735
12736         case $cc_basename in
12737           CC*)
12738             # FIXME: insert proper C++ library support
12739             ld_shlibs_CXX=no
12740             ;;
12741           aCC*)
12742             case $host_cpu in
12743               hppa*64*)
12744                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745                 ;;
12746               ia64*)
12747                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748                 ;;
12749               *)
12750                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751                 ;;
12752             esac
12753             # Commands to make compiler produce verbose output that lists
12754             # what "hidden" libraries, object files and flags are used when
12755             # linking a shared library.
12756             #
12757             # There doesn't appear to be a way to prevent this compiler from
12758             # explicitly linking system object files so we need to strip them
12759             # from the output so that they don't get included in the library
12760             # dependencies.
12761             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"'
12762             ;;
12763           *)
12764             if test "$GXX" = yes; then
12765               if test $with_gnu_ld = no; then
12766                 case $host_cpu in
12767                   hppa*64*)
12768                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12769                     ;;
12770                   ia64*)
12771                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772                     ;;
12773                   *)
12774                     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'
12775                     ;;
12776                 esac
12777               fi
12778             else
12779               # FIXME: insert proper C++ library support
12780               ld_shlibs_CXX=no
12781             fi
12782             ;;
12783         esac
12784         ;;
12785
12786       interix[3-9]*)
12787         hardcode_direct_CXX=no
12788         hardcode_shlibpath_var_CXX=no
12789         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790         export_dynamic_flag_spec_CXX='${wl}-E'
12791         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792         # Instead, shared libraries are loaded at an image base (0x10000000 by
12793         # default) and relocated if they conflict, which is a slow very memory
12794         # consuming and fragmenting process.  To avoid this, we pick a random,
12795         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12797         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'
12798         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'
12799         ;;
12800       irix5* | irix6*)
12801         case $cc_basename in
12802           CC*)
12803             # SGI C++
12804             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'
12805
12806             # Archives containing C++ object files must be created using
12807             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12808             # necessary to make sure instantiated templates are included
12809             # in the archive.
12810             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811             ;;
12812           *)
12813             if test "$GXX" = yes; then
12814               if test "$with_gnu_ld" = no; then
12815                 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'
12816               else
12817                 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'
12818               fi
12819             fi
12820             link_all_deplibs_CXX=yes
12821             ;;
12822         esac
12823         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824         hardcode_libdir_separator_CXX=:
12825         inherit_rpath_CXX=yes
12826         ;;
12827
12828       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829         case $cc_basename in
12830           KCC*)
12831             # Kuck and Associates, Inc. (KAI) C++ Compiler
12832
12833             # KCC will only create a shared library if the output file
12834             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835             # to its proper name (with version) after linking.
12836             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'
12837             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'
12838             # Commands to make compiler produce verbose output that lists
12839             # what "hidden" libraries, object files and flags are used when
12840             # linking a shared library.
12841             #
12842             # There doesn't appear to be a way to prevent this compiler from
12843             # explicitly linking system object files so we need to strip them
12844             # from the output so that they don't get included in the library
12845             # dependencies.
12846             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"'
12847
12848             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12850
12851             # Archives containing C++ object files must be created using
12852             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854             ;;
12855           icpc* | ecpc* )
12856             # Intel C++
12857             with_gnu_ld=yes
12858             # version 8.0 and above of icpc choke on multiply defined symbols
12859             # if we add $predep_objects and $postdep_objects, however 7.1 and
12860             # earlier do not add the objects themselves.
12861             case `$CC -V 2>&1` in
12862               *"Version 7."*)
12863                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864                 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'
12865                 ;;
12866               *)  # Version 8.0 or newer
12867                 tmp_idyn=
12868                 case $host_cpu in
12869                   ia64*) tmp_idyn=' -i_dynamic';;
12870                 esac
12871                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872                 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'
12873                 ;;
12874             esac
12875             archive_cmds_need_lc_CXX=no
12876             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12879             ;;
12880           pgCC* | pgcpp*)
12881             # Portland Group C++ compiler
12882             case `$CC -V` in
12883             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884               prelink_cmds_CXX='tpldir=Template.dir~
12885                 rm -rf $tpldir~
12886                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12888               old_archive_cmds_CXX='tpldir=Template.dir~
12889                 rm -rf $tpldir~
12890                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12892                 $RANLIB $oldlib'
12893               archive_cmds_CXX='tpldir=Template.dir~
12894                 rm -rf $tpldir~
12895                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897               archive_expsym_cmds_CXX='tpldir=Template.dir~
12898                 rm -rf $tpldir~
12899                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900                 $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'
12901               ;;
12902             *) # Version 6 and above use weak symbols
12903               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904               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'
12905               ;;
12906             esac
12907
12908             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910             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'
12911             ;;
12912           cxx*)
12913             # Compaq C++
12914             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915             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'
12916
12917             runpath_var=LD_RUN_PATH
12918             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919             hardcode_libdir_separator_CXX=:
12920
12921             # Commands to make compiler produce verbose output that lists
12922             # what "hidden" libraries, object files and flags are used when
12923             # linking a shared library.
12924             #
12925             # There doesn't appear to be a way to prevent this compiler from
12926             # explicitly linking system object files so we need to strip them
12927             # from the output so that they don't get included in the library
12928             # dependencies.
12929             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'
12930             ;;
12931           xl* | mpixl* | bgxl*)
12932             # IBM XL 8.0 on PPC, with GNU ld
12933             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936             if test "x$supports_anon_versioning" = xyes; then
12937               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939                 echo "local: *; };" >> $output_objdir/$libname.ver~
12940                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12941             fi
12942             ;;
12943           *)
12944             case `$CC -V 2>&1 | sed 5q` in
12945             *Sun\ C*)
12946               # Sun C++ 5.9
12947               no_undefined_flag_CXX=' -zdefs'
12948               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949               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'
12950               hardcode_libdir_flag_spec_CXX='-R$libdir'
12951               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'
12952               compiler_needs_object_CXX=yes
12953
12954               # Not sure whether something based on
12955               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956               # would be better.
12957               output_verbose_link_cmd='func_echo_all'
12958
12959               # Archives containing C++ object files must be created using
12960               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12961               # necessary to make sure instantiated templates are included
12962               # in the archive.
12963               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12964               ;;
12965             esac
12966             ;;
12967         esac
12968         ;;
12969
12970       lynxos*)
12971         # FIXME: insert proper C++ library support
12972         ld_shlibs_CXX=no
12973         ;;
12974
12975       m88k*)
12976         # FIXME: insert proper C++ library support
12977         ld_shlibs_CXX=no
12978         ;;
12979
12980       mvs*)
12981         case $cc_basename in
12982           cxx*)
12983             # FIXME: insert proper C++ library support
12984             ld_shlibs_CXX=no
12985             ;;
12986           *)
12987             # FIXME: insert proper C++ library support
12988             ld_shlibs_CXX=no
12989             ;;
12990         esac
12991         ;;
12992
12993       netbsd*)
12994         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996           wlarc=
12997           hardcode_libdir_flag_spec_CXX='-R$libdir'
12998           hardcode_direct_CXX=yes
12999           hardcode_shlibpath_var_CXX=no
13000         fi
13001         # Workaround some broken pre-1.5 toolchains
13002         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003         ;;
13004
13005       *nto* | *qnx*)
13006         ld_shlibs_CXX=yes
13007         ;;
13008
13009       openbsd2*)
13010         # C++ shared libraries are fairly broken
13011         ld_shlibs_CXX=no
13012         ;;
13013
13014       openbsd*)
13015         if test -f /usr/libexec/ld.so; then
13016           hardcode_direct_CXX=yes
13017           hardcode_shlibpath_var_CXX=no
13018           hardcode_direct_absolute_CXX=yes
13019           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023             export_dynamic_flag_spec_CXX='${wl}-E'
13024             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13025           fi
13026           output_verbose_link_cmd=func_echo_all
13027         else
13028           ld_shlibs_CXX=no
13029         fi
13030         ;;
13031
13032       osf3* | osf4* | osf5*)
13033         case $cc_basename in
13034           KCC*)
13035             # Kuck and Associates, Inc. (KAI) C++ Compiler
13036
13037             # KCC will only create a shared library if the output file
13038             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039             # to its proper name (with version) after linking.
13040             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'
13041
13042             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043             hardcode_libdir_separator_CXX=:
13044
13045             # Archives containing C++ object files must be created using
13046             # the KAI C++ compiler.
13047             case $host in
13048               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050             esac
13051             ;;
13052           RCC*)
13053             # Rational C++ 2.4.1
13054             # FIXME: insert proper C++ library support
13055             ld_shlibs_CXX=no
13056             ;;
13057           cxx*)
13058             case $host in
13059               osf3*)
13060                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061                 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'
13062                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063                 ;;
13064               *)
13065                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066                 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'
13067                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068                   echo "-hidden">> $lib.exp~
13069                   $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~
13070                   $RM $lib.exp'
13071                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13072                 ;;
13073             esac
13074
13075             hardcode_libdir_separator_CXX=:
13076
13077             # Commands to make compiler produce verbose output that lists
13078             # what "hidden" libraries, object files and flags are used when
13079             # linking a shared library.
13080             #
13081             # There doesn't appear to be a way to prevent this compiler from
13082             # explicitly linking system object files so we need to strip them
13083             # from the output so that they don't get included in the library
13084             # dependencies.
13085             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"'
13086             ;;
13087           *)
13088             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090               case $host in
13091                 osf3*)
13092                   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'
13093                   ;;
13094                 *)
13095                   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'
13096                   ;;
13097               esac
13098
13099               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100               hardcode_libdir_separator_CXX=:
13101
13102               # Commands to make compiler produce verbose output that lists
13103               # what "hidden" libraries, object files and flags are used when
13104               # linking a shared library.
13105               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13106
13107             else
13108               # FIXME: insert proper C++ library support
13109               ld_shlibs_CXX=no
13110             fi
13111             ;;
13112         esac
13113         ;;
13114
13115       psos*)
13116         # FIXME: insert proper C++ library support
13117         ld_shlibs_CXX=no
13118         ;;
13119
13120       sunos4*)
13121         case $cc_basename in
13122           CC*)
13123             # Sun C++ 4.x
13124             # FIXME: insert proper C++ library support
13125             ld_shlibs_CXX=no
13126             ;;
13127           lcc*)
13128             # Lucid
13129             # FIXME: insert proper C++ library support
13130             ld_shlibs_CXX=no
13131             ;;
13132           *)
13133             # FIXME: insert proper C++ library support
13134             ld_shlibs_CXX=no
13135             ;;
13136         esac
13137         ;;
13138
13139       solaris*)
13140         case $cc_basename in
13141           CC*)
13142             # Sun C++ 4.2, 5.x and Centerline C++
13143             archive_cmds_need_lc_CXX=yes
13144             no_undefined_flag_CXX=' -zdefs'
13145             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147               $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'
13148
13149             hardcode_libdir_flag_spec_CXX='-R$libdir'
13150             hardcode_shlibpath_var_CXX=no
13151             case $host_os in
13152               solaris2.[0-5] | solaris2.[0-5].*) ;;
13153               *)
13154                 # The compiler driver will combine and reorder linker options,
13155                 # but understands `-z linker_flag'.
13156                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13158                 ;;
13159             esac
13160             link_all_deplibs_CXX=yes
13161
13162             output_verbose_link_cmd='func_echo_all'
13163
13164             # Archives containing C++ object files must be created using
13165             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13166             # necessary to make sure instantiated templates are included
13167             # in the archive.
13168             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13169             ;;
13170           gcx*)
13171             # Green Hills C++ Compiler
13172             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173
13174             # The C++ compiler must be used to create the archive.
13175             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176             ;;
13177           *)
13178             # GNU C++ compiler with Solaris linker
13179             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13185
13186                 # Commands to make compiler produce verbose output that lists
13187                 # what "hidden" libraries, object files and flags are used when
13188                 # linking a shared library.
13189                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190               else
13191                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192                 # platform.
13193                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13196
13197                 # Commands to make compiler produce verbose output that lists
13198                 # what "hidden" libraries, object files and flags are used when
13199                 # linking a shared library.
13200                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13201               fi
13202
13203               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204               case $host_os in
13205                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13206                 *)
13207                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13208                   ;;
13209               esac
13210             fi
13211             ;;
13212         esac
13213         ;;
13214
13215     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216       no_undefined_flag_CXX='${wl}-z,text'
13217       archive_cmds_need_lc_CXX=no
13218       hardcode_shlibpath_var_CXX=no
13219       runpath_var='LD_RUN_PATH'
13220
13221       case $cc_basename in
13222         CC*)
13223           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225           ;;
13226         *)
13227           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229           ;;
13230       esac
13231       ;;
13232
13233       sysv5* | sco3.2v5* | sco5v6*)
13234         # Note: We can NOT use -z defs as we might desire, because we do not
13235         # link with -lc, and that would cause any symbols used from libc to
13236         # always be unresolved, which means just about no library would
13237         # ever link correctly.  If we're not using GNU ld we use -z text
13238         # though, which does catch some bad symbols but isn't as heavy-handed
13239         # as -z defs.
13240         no_undefined_flag_CXX='${wl}-z,text'
13241         allow_undefined_flag_CXX='${wl}-z,nodefs'
13242         archive_cmds_need_lc_CXX=no
13243         hardcode_shlibpath_var_CXX=no
13244         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245         hardcode_libdir_separator_CXX=':'
13246         link_all_deplibs_CXX=yes
13247         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248         runpath_var='LD_RUN_PATH'
13249
13250         case $cc_basename in
13251           CC*)
13252             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255               '"$old_archive_cmds_CXX"
13256             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257               '"$reload_cmds_CXX"
13258             ;;
13259           *)
13260             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262             ;;
13263         esac
13264       ;;
13265
13266       tandem*)
13267         case $cc_basename in
13268           NCC*)
13269             # NonStop-UX NCC 3.20
13270             # FIXME: insert proper C++ library support
13271             ld_shlibs_CXX=no
13272             ;;
13273           *)
13274             # FIXME: insert proper C++ library support
13275             ld_shlibs_CXX=no
13276             ;;
13277         esac
13278         ;;
13279
13280       vxworks*)
13281         # FIXME: insert proper C++ library support
13282         ld_shlibs_CXX=no
13283         ;;
13284
13285       *)
13286         # FIXME: insert proper C++ library support
13287         ld_shlibs_CXX=no
13288         ;;
13289     esac
13290
13291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293     test "$ld_shlibs_CXX" = no && can_build_shared=no
13294
13295     GCC_CXX="$GXX"
13296     LD_CXX="$LD"
13297
13298     ## CAVEAT EMPTOR:
13299     ## There is no encapsulation within the following macros, do not change
13300     ## the running order or otherwise move them around unless you know exactly
13301     ## what you are doing...
13302     # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13308
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13311 {
13312 public:
13313   Foo (void) { a = 0; }
13314 private:
13315   int a;
13316 };
13317 _LT_EOF
13318
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320   (eval $ac_compile) 2>&5
13321   ac_status=$?
13322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323   test $ac_status = 0; }; then
13324   # Parse the compiler output and extract the necessary
13325   # objects, libraries and library flags.
13326
13327   # Sentinel used to keep track of whether or not we are before
13328   # the conftest object file.
13329   pre_test_object_deps_done=no
13330
13331   for p in `eval "$output_verbose_link_cmd"`; do
13332     case $p in
13333
13334     -L* | -R* | -l*)
13335        # Some compilers place space between "-{L,R}" and the path.
13336        # Remove the space.
13337        if test $p = "-L" ||
13338           test $p = "-R"; then
13339          prev=$p
13340          continue
13341        else
13342          prev=
13343        fi
13344
13345        if test "$pre_test_object_deps_done" = no; then
13346          case $p in
13347          -L* | -R*)
13348            # Internal compiler library paths should come after those
13349            # provided the user.  The postdeps already come after the
13350            # user supplied libs so there is no need to process them.
13351            if test -z "$compiler_lib_search_path_CXX"; then
13352              compiler_lib_search_path_CXX="${prev}${p}"
13353            else
13354              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355            fi
13356            ;;
13357          # The "-l" case would never come before the object being
13358          # linked, so don't bother handling this case.
13359          esac
13360        else
13361          if test -z "$postdeps_CXX"; then
13362            postdeps_CXX="${prev}${p}"
13363          else
13364            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13365          fi
13366        fi
13367        ;;
13368
13369     *.$objext)
13370        # This assumes that the test object file only shows up
13371        # once in the compiler output.
13372        if test "$p" = "conftest.$objext"; then
13373          pre_test_object_deps_done=yes
13374          continue
13375        fi
13376
13377        if test "$pre_test_object_deps_done" = no; then
13378          if test -z "$predep_objects_CXX"; then
13379            predep_objects_CXX="$p"
13380          else
13381            predep_objects_CXX="$predep_objects_CXX $p"
13382          fi
13383        else
13384          if test -z "$postdep_objects_CXX"; then
13385            postdep_objects_CXX="$p"
13386          else
13387            postdep_objects_CXX="$postdep_objects_CXX $p"
13388          fi
13389        fi
13390        ;;
13391
13392     *) ;; # Ignore the rest.
13393
13394     esac
13395   done
13396
13397   # Clean up.
13398   rm -f a.out a.exe
13399 else
13400   echo "libtool.m4: error: problem compiling CXX test program"
13401 fi
13402
13403 $RM -f confest.$objext
13404
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409   # hack all around it, let's just trust "g++" to DTRT.
13410   predep_objects_CXX=
13411   postdep_objects_CXX=
13412   postdeps_CXX=
13413   ;;
13414
13415 linux*)
13416   case `$CC -V 2>&1 | sed 5q` in
13417   *Sun\ C*)
13418     # Sun C++ 5.9
13419
13420     # The more standards-conforming stlport4 library is
13421     # incompatible with the Cstd library. Avoid specifying
13422     # it if it's in CXXFLAGS. Ignore libCrun as
13423     # -library=stlport4 depends on it.
13424     case " $CXX $CXXFLAGS " in
13425     *" -library=stlport4 "*)
13426       solaris_use_stlport4=yes
13427       ;;
13428     esac
13429
13430     if test "$solaris_use_stlport4" != yes; then
13431       postdeps_CXX='-library=Cstd -library=Crun'
13432     fi
13433     ;;
13434   esac
13435   ;;
13436
13437 solaris*)
13438   case $cc_basename in
13439   CC*)
13440     # The more standards-conforming stlport4 library is
13441     # incompatible with the Cstd library. Avoid specifying
13442     # it if it's in CXXFLAGS. Ignore libCrun as
13443     # -library=stlport4 depends on it.
13444     case " $CXX $CXXFLAGS " in
13445     *" -library=stlport4 "*)
13446       solaris_use_stlport4=yes
13447       ;;
13448     esac
13449
13450     # Adding this requires a known-good setup of shared libraries for
13451     # Sun compiler versions before 5.6, else PIC objects from an old
13452     # archive will be linked into the output, leading to subtle bugs.
13453     if test "$solaris_use_stlport4" != yes; then
13454       postdeps_CXX='-library=Cstd -library=Crun'
13455     fi
13456     ;;
13457   esac
13458   ;;
13459 esac
13460
13461
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465  compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13468 fi
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500     lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13503
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13506
13507   # C++ specific cases for pic, static, wl, etc.
13508   if test "$GXX" = yes; then
13509     lt_prog_compiler_wl_CXX='-Wl,'
13510     lt_prog_compiler_static_CXX='-static'
13511
13512     case $host_os in
13513     aix*)
13514       # All AIX code is PIC.
13515       if test "$host_cpu" = ia64; then
13516         # AIX 5 now supports IA64 processor
13517         lt_prog_compiler_static_CXX='-Bstatic'
13518       fi
13519       lt_prog_compiler_pic_CXX='-fPIC'
13520       ;;
13521
13522     amigaos*)
13523       case $host_cpu in
13524       powerpc)
13525             # see comment about AmigaOS4 .so support
13526             lt_prog_compiler_pic_CXX='-fPIC'
13527         ;;
13528       m68k)
13529             # FIXME: we need at least 68020 code to build shared libraries, but
13530             # adding the `-m68020' flag to GCC prevents building anything better,
13531             # like `-m68040'.
13532             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13533         ;;
13534       esac
13535       ;;
13536
13537     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538       # PIC is the default for these OSes.
13539       ;;
13540     mingw* | cygwin* | os2* | pw32* | cegcc*)
13541       # This hack is so that the source file can tell whether it is being
13542       # built for inclusion in a dll (and should export symbols for example).
13543       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544       # (--disable-auto-import) libraries
13545       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13546       ;;
13547     darwin* | rhapsody*)
13548       # PIC is the default on this platform
13549       # Common symbols not allowed in MH_DYLIB files
13550       lt_prog_compiler_pic_CXX='-fno-common'
13551       ;;
13552     *djgpp*)
13553       # DJGPP does not support shared libraries at all
13554       lt_prog_compiler_pic_CXX=
13555       ;;
13556     haiku*)
13557       # PIC is the default for Haiku.
13558       # The "-static" flag exists, but is broken.
13559       lt_prog_compiler_static_CXX=
13560       ;;
13561     interix[3-9]*)
13562       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563       # Instead, we relocate shared libraries at runtime.
13564       ;;
13565     sysv4*MP*)
13566       if test -d /usr/nec; then
13567         lt_prog_compiler_pic_CXX=-Kconform_pic
13568       fi
13569       ;;
13570     hpux*)
13571       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13573       # sets the default TLS model and affects inlining.
13574       case $host_cpu in
13575       hppa*64*)
13576         ;;
13577       *)
13578         lt_prog_compiler_pic_CXX='-fPIC'
13579         ;;
13580       esac
13581       ;;
13582     *qnx* | *nto*)
13583       # QNX uses GNU C++, but need to define -shared option too, otherwise
13584       # it will coredump.
13585       lt_prog_compiler_pic_CXX='-fPIC -shared'
13586       ;;
13587     *)
13588       lt_prog_compiler_pic_CXX='-fPIC'
13589       ;;
13590     esac
13591   else
13592     case $host_os in
13593       aix[4-9]*)
13594         # All AIX code is PIC.
13595         if test "$host_cpu" = ia64; then
13596           # AIX 5 now supports IA64 processor
13597           lt_prog_compiler_static_CXX='-Bstatic'
13598         else
13599           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600         fi
13601         ;;
13602       chorus*)
13603         case $cc_basename in
13604         cxch68*)
13605           # Green Hills C++ Compiler
13606           # _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"
13607           ;;
13608         esac
13609         ;;
13610       dgux*)
13611         case $cc_basename in
13612           ec++*)
13613             lt_prog_compiler_pic_CXX='-KPIC'
13614             ;;
13615           ghcx*)
13616             # Green Hills C++ Compiler
13617             lt_prog_compiler_pic_CXX='-pic'
13618             ;;
13619           *)
13620             ;;
13621         esac
13622         ;;
13623       freebsd* | dragonfly*)
13624         # FreeBSD uses GNU C++
13625         ;;
13626       hpux9* | hpux10* | hpux11*)
13627         case $cc_basename in
13628           CC*)
13629             lt_prog_compiler_wl_CXX='-Wl,'
13630             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631             if test "$host_cpu" != ia64; then
13632               lt_prog_compiler_pic_CXX='+Z'
13633             fi
13634             ;;
13635           aCC*)
13636             lt_prog_compiler_wl_CXX='-Wl,'
13637             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638             case $host_cpu in
13639             hppa*64*|ia64*)
13640               # +Z the default
13641               ;;
13642             *)
13643               lt_prog_compiler_pic_CXX='+Z'
13644               ;;
13645             esac
13646             ;;
13647           *)
13648             ;;
13649         esac
13650         ;;
13651       interix*)
13652         # This is c89, which is MS Visual C++ (no shared libs)
13653         # Anyone wants to do a port?
13654         ;;
13655       irix5* | irix6* | nonstopux*)
13656         case $cc_basename in
13657           CC*)
13658             lt_prog_compiler_wl_CXX='-Wl,'
13659             lt_prog_compiler_static_CXX='-non_shared'
13660             # CC pic flag -KPIC is the default.
13661             ;;
13662           *)
13663             ;;
13664         esac
13665         ;;
13666       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667         case $cc_basename in
13668           KCC*)
13669             # KAI C++ Compiler
13670             lt_prog_compiler_wl_CXX='--backend -Wl,'
13671             lt_prog_compiler_pic_CXX='-fPIC'
13672             ;;
13673           ecpc* )
13674             # old Intel C++ for x86_64 which still supported -KPIC.
13675             lt_prog_compiler_wl_CXX='-Wl,'
13676             lt_prog_compiler_pic_CXX='-KPIC'
13677             lt_prog_compiler_static_CXX='-static'
13678             ;;
13679           icpc* )
13680             # Intel C++, used to be incompatible with GCC.
13681             # ICC 10 doesn't accept -KPIC any more.
13682             lt_prog_compiler_wl_CXX='-Wl,'
13683             lt_prog_compiler_pic_CXX='-fPIC'
13684             lt_prog_compiler_static_CXX='-static'
13685             ;;
13686           pgCC* | pgcpp*)
13687             # Portland Group C++ compiler
13688             lt_prog_compiler_wl_CXX='-Wl,'
13689             lt_prog_compiler_pic_CXX='-fpic'
13690             lt_prog_compiler_static_CXX='-Bstatic'
13691             ;;
13692           cxx*)
13693             # Compaq C++
13694             # Make sure the PIC flag is empty.  It appears that all Alpha
13695             # Linux and Compaq Tru64 Unix objects are PIC.
13696             lt_prog_compiler_pic_CXX=
13697             lt_prog_compiler_static_CXX='-non_shared'
13698             ;;
13699           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700             # IBM XL 8.0, 9.0 on PPC and BlueGene
13701             lt_prog_compiler_wl_CXX='-Wl,'
13702             lt_prog_compiler_pic_CXX='-qpic'
13703             lt_prog_compiler_static_CXX='-qstaticlink'
13704             ;;
13705           *)
13706             case `$CC -V 2>&1 | sed 5q` in
13707             *Sun\ C*)
13708               # Sun C++ 5.9
13709               lt_prog_compiler_pic_CXX='-KPIC'
13710               lt_prog_compiler_static_CXX='-Bstatic'
13711               lt_prog_compiler_wl_CXX='-Qoption ld '
13712               ;;
13713             esac
13714             ;;
13715         esac
13716         ;;
13717       lynxos*)
13718         ;;
13719       m88k*)
13720         ;;
13721       mvs*)
13722         case $cc_basename in
13723           cxx*)
13724             lt_prog_compiler_pic_CXX='-W c,exportall'
13725             ;;
13726           *)
13727             ;;
13728         esac
13729         ;;
13730       netbsd*)
13731         ;;
13732       *qnx* | *nto*)
13733         # QNX uses GNU C++, but need to define -shared option too, otherwise
13734         # it will coredump.
13735         lt_prog_compiler_pic_CXX='-fPIC -shared'
13736         ;;
13737       osf3* | osf4* | osf5*)
13738         case $cc_basename in
13739           KCC*)
13740             lt_prog_compiler_wl_CXX='--backend -Wl,'
13741             ;;
13742           RCC*)
13743             # Rational C++ 2.4.1
13744             lt_prog_compiler_pic_CXX='-pic'
13745             ;;
13746           cxx*)
13747             # Digital/Compaq C++
13748             lt_prog_compiler_wl_CXX='-Wl,'
13749             # Make sure the PIC flag is empty.  It appears that all Alpha
13750             # Linux and Compaq Tru64 Unix objects are PIC.
13751             lt_prog_compiler_pic_CXX=
13752             lt_prog_compiler_static_CXX='-non_shared'
13753             ;;
13754           *)
13755             ;;
13756         esac
13757         ;;
13758       psos*)
13759         ;;
13760       solaris*)
13761         case $cc_basename in
13762           CC*)
13763             # Sun C++ 4.2, 5.x and Centerline C++
13764             lt_prog_compiler_pic_CXX='-KPIC'
13765             lt_prog_compiler_static_CXX='-Bstatic'
13766             lt_prog_compiler_wl_CXX='-Qoption ld '
13767             ;;
13768           gcx*)
13769             # Green Hills C++ Compiler
13770             lt_prog_compiler_pic_CXX='-PIC'
13771             ;;
13772           *)
13773             ;;
13774         esac
13775         ;;
13776       sunos4*)
13777         case $cc_basename in
13778           CC*)
13779             # Sun C++ 4.x
13780             lt_prog_compiler_pic_CXX='-pic'
13781             lt_prog_compiler_static_CXX='-Bstatic'
13782             ;;
13783           lcc*)
13784             # Lucid
13785             lt_prog_compiler_pic_CXX='-pic'
13786             ;;
13787           *)
13788             ;;
13789         esac
13790         ;;
13791       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792         case $cc_basename in
13793           CC*)
13794             lt_prog_compiler_wl_CXX='-Wl,'
13795             lt_prog_compiler_pic_CXX='-KPIC'
13796             lt_prog_compiler_static_CXX='-Bstatic'
13797             ;;
13798         esac
13799         ;;
13800       tandem*)
13801         case $cc_basename in
13802           NCC*)
13803             # NonStop-UX NCC 3.20
13804             lt_prog_compiler_pic_CXX='-KPIC'
13805             ;;
13806           *)
13807             ;;
13808         esac
13809         ;;
13810       vxworks*)
13811         ;;
13812       *)
13813         lt_prog_compiler_can_build_shared_CXX=no
13814         ;;
13815     esac
13816   fi
13817
13818 case $host_os in
13819   # For platforms which do not support PIC, -DPIC is meaningless:
13820   *djgpp*)
13821     lt_prog_compiler_pic_CXX=
13822     ;;
13823   *)
13824     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13825     ;;
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13829
13830
13831
13832 #
13833 # Check to make sure the PIC flag actually works.
13834 #
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839   $as_echo_n "(cached) " >&6
13840 else
13841   lt_cv_prog_compiler_pic_works_CXX=no
13842    ac_outfile=conftest.$ac_objext
13843    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845    # Insert the option either (1) after the last *FLAGS variable, or
13846    # (2) before a word containing "conftest.", or (3) at the end.
13847    # Note that $ac_compile itself does not contain backslashes and begins
13848    # with a dollar sign (not a hyphen), so the echo should work correctly.
13849    # The option is referenced via a variable to avoid confusing sed.
13850    lt_compile=`echo "$ac_compile" | $SED \
13851    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853    -e 's:$: $lt_compiler_flag:'`
13854    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855    (eval "$lt_compile" 2>conftest.err)
13856    ac_status=$?
13857    cat conftest.err >&5
13858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859    if (exit $ac_status) && test -s "$ac_outfile"; then
13860      # The compiler can only warn and ignore the option if not recognized
13861      # So say no if there are warnings other than the usual output.
13862      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865        lt_cv_prog_compiler_pic_works_CXX=yes
13866      fi
13867    fi
13868    $RM conftest*
13869
13870 fi
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13873
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875     case $lt_prog_compiler_pic_CXX in
13876      "" | " "*) ;;
13877      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878      esac
13879 else
13880     lt_prog_compiler_pic_CXX=
13881      lt_prog_compiler_can_build_shared_CXX=no
13882 fi
13883
13884 fi
13885
13886
13887
13888 #
13889 # Check to make sure the static flag actually works.
13890 #
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895   $as_echo_n "(cached) " >&6
13896 else
13897   lt_cv_prog_compiler_static_works_CXX=no
13898    save_LDFLAGS="$LDFLAGS"
13899    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902      # The linker can only warn and ignore the option if not recognized
13903      # So say no if there are warnings
13904      if test -s conftest.err; then
13905        # Append any errors to the config.log.
13906        cat conftest.err 1>&5
13907        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909        if diff conftest.exp conftest.er2 >/dev/null; then
13910          lt_cv_prog_compiler_static_works_CXX=yes
13911        fi
13912      else
13913        lt_cv_prog_compiler_static_works_CXX=yes
13914      fi
13915    fi
13916    $RM -r conftest*
13917    LDFLAGS="$save_LDFLAGS"
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13922
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13924     :
13925 else
13926     lt_prog_compiler_static_CXX=
13927 fi
13928
13929
13930
13931
13932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935   $as_echo_n "(cached) " >&6
13936 else
13937   lt_cv_prog_compiler_c_o_CXX=no
13938    $RM -r conftest 2>/dev/null
13939    mkdir conftest
13940    cd conftest
13941    mkdir out
13942    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13943
13944    lt_compiler_flag="-o out/conftest2.$ac_objext"
13945    # Insert the option either (1) after the last *FLAGS variable, or
13946    # (2) before a word containing "conftest.", or (3) at the end.
13947    # Note that $ac_compile itself does not contain backslashes and begins
13948    # with a dollar sign (not a hyphen), so the echo should work correctly.
13949    lt_compile=`echo "$ac_compile" | $SED \
13950    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952    -e 's:$: $lt_compiler_flag:'`
13953    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954    (eval "$lt_compile" 2>out/conftest.err)
13955    ac_status=$?
13956    cat out/conftest.err >&5
13957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959    then
13960      # The compiler can only warn and ignore the option if not recognized
13961      # So say no if there are warnings
13962      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965        lt_cv_prog_compiler_c_o_CXX=yes
13966      fi
13967    fi
13968    chmod u+w . 2>&5
13969    $RM conftest*
13970    # SGI C++ compiler will create directory out/ii_files/ for
13971    # template instantiation
13972    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973    $RM out/* && rmdir out
13974    cd ..
13975    $RM -r conftest
13976    $RM conftest*
13977
13978 fi
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13981
13982
13983
13984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987   $as_echo_n "(cached) " >&6
13988 else
13989   lt_cv_prog_compiler_c_o_CXX=no
13990    $RM -r conftest 2>/dev/null
13991    mkdir conftest
13992    cd conftest
13993    mkdir out
13994    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13995
13996    lt_compiler_flag="-o out/conftest2.$ac_objext"
13997    # Insert the option either (1) after the last *FLAGS variable, or
13998    # (2) before a word containing "conftest.", or (3) at the end.
13999    # Note that $ac_compile itself does not contain backslashes and begins
14000    # with a dollar sign (not a hyphen), so the echo should work correctly.
14001    lt_compile=`echo "$ac_compile" | $SED \
14002    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004    -e 's:$: $lt_compiler_flag:'`
14005    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006    (eval "$lt_compile" 2>out/conftest.err)
14007    ac_status=$?
14008    cat out/conftest.err >&5
14009    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011    then
14012      # The compiler can only warn and ignore the option if not recognized
14013      # So say no if there are warnings
14014      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017        lt_cv_prog_compiler_c_o_CXX=yes
14018      fi
14019    fi
14020    chmod u+w . 2>&5
14021    $RM conftest*
14022    # SGI C++ compiler will create directory out/ii_files/ for
14023    # template instantiation
14024    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025    $RM out/* && rmdir out
14026    cd ..
14027    $RM -r conftest
14028    $RM conftest*
14029
14030 fi
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14033
14034
14035
14036
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039   # do not overwrite the value of need_locks provided by the user
14040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042   hard_links=yes
14043   $RM conftest*
14044   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045   touch conftest.a
14046   ln conftest.a conftest.b 2>&5 || hard_links=no
14047   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050   if test "$hard_links" = no; then
14051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053     need_locks=warn
14054   fi
14055 else
14056   need_locks=no
14057 fi
14058
14059
14060
14061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14063
14064   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065   case $host_os in
14066   aix[4-9]*)
14067     # If we're using GNU nm, then we don't want the "-C" option.
14068     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069     # Also, AIX nm treats weak defined symbols like other global defined
14070     # symbols, whereas GNU nm marks them as "W".
14071     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072       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'
14073     else
14074       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14075     fi
14076     ;;
14077   pw32*)
14078     export_symbols_cmds_CXX="$ltdll_cmds"
14079   ;;
14080   cygwin* | mingw* | cegcc*)
14081     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'
14082   ;;
14083   *)
14084     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14085   ;;
14086   esac
14087   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14088
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14092
14093 with_gnu_ld_CXX=$with_gnu_ld
14094
14095
14096
14097
14098
14099
14100 #
14101 # Do we need to explicitly link libc?
14102 #
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105   # Assume -lc should be added
14106   archive_cmds_need_lc_CXX=yes
14107
14108   if test "$enable_shared" = yes && test "$GCC" = yes; then
14109     case $archive_cmds_CXX in
14110     *'~'*)
14111       # FIXME: we may have to deal with multi-command sequences.
14112       ;;
14113     '$CC '*)
14114       # Test whether the compiler implicitly links with -lc since on some
14115       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116       # to ld, don't add -lc before -lgcc.
14117       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120   $as_echo_n "(cached) " >&6
14121 else
14122   $RM conftest*
14123         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14124
14125         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126   (eval $ac_compile) 2>&5
14127   ac_status=$?
14128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129   test $ac_status = 0; } 2>conftest.err; then
14130           soname=conftest
14131           lib=conftest
14132           libobjs=conftest.$ac_objext
14133           deplibs=
14134           wl=$lt_prog_compiler_wl_CXX
14135           pic_flag=$lt_prog_compiler_pic_CXX
14136           compiler_flags=-v
14137           linker_flags=-v
14138           verstring=
14139           output_objdir=.
14140           libname=conftest
14141           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142           allow_undefined_flag_CXX=
14143           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145   ac_status=$?
14146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147   test $ac_status = 0; }
14148           then
14149             lt_cv_archive_cmds_need_lc_CXX=no
14150           else
14151             lt_cv_archive_cmds_need_lc_CXX=yes
14152           fi
14153           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154         else
14155           cat conftest.err 1>&5
14156         fi
14157         $RM conftest*
14158
14159 fi
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14163       ;;
14164     esac
14165   fi
14166   ;;
14167 esac
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
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14234
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14250
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14254
14255 case $host_os in
14256 aix3*)
14257   version_type=linux
14258   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259   shlibpath_var=LIBPATH
14260
14261   # AIX 3 has no versioning support, so we append a major version to the name.
14262   soname_spec='${libname}${release}${shared_ext}$major'
14263   ;;
14264
14265 aix[4-9]*)
14266   version_type=linux
14267   need_lib_prefix=no
14268   need_version=no
14269   hardcode_into_libs=yes
14270   if test "$host_cpu" = ia64; then
14271     # AIX 5 supports IA64
14272     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273     shlibpath_var=LD_LIBRARY_PATH
14274   else
14275     # With GCC up to 2.95.x, collect2 would create an import file
14276     # for dependence libraries.  The import file would start with
14277     # the line `#! .'.  This would cause the generated library to
14278     # depend on `.', always an invalid library.  This was fixed in
14279     # development snapshots of GCC prior to 3.0.
14280     case $host_os in
14281       aix4 | aix4.[01] | aix4.[01].*)
14282       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283            echo ' yes '
14284            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14285         :
14286       else
14287         can_build_shared=no
14288       fi
14289       ;;
14290     esac
14291     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292     # soname into executable. Probably we can add versioning support to
14293     # collect2, so additional links can be useful in future.
14294     if test "$aix_use_runtimelinking" = yes; then
14295       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296       # instead of lib<name>.a to let people know that these are not
14297       # typical AIX shared libraries.
14298       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299     else
14300       # We preserve .a as extension for shared libraries through AIX4.2
14301       # and later when we are not doing run time linking.
14302       library_names_spec='${libname}${release}.a $libname.a'
14303       soname_spec='${libname}${release}${shared_ext}$major'
14304     fi
14305     shlibpath_var=LIBPATH
14306   fi
14307   ;;
14308
14309 amigaos*)
14310   case $host_cpu in
14311   powerpc)
14312     # Since July 2007 AmigaOS4 officially supports .so libraries.
14313     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315     ;;
14316   m68k)
14317     library_names_spec='$libname.ixlibrary $libname.a'
14318     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319     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'
14320     ;;
14321   esac
14322   ;;
14323
14324 beos*)
14325   library_names_spec='${libname}${shared_ext}'
14326   dynamic_linker="$host_os ld.so"
14327   shlibpath_var=LIBRARY_PATH
14328   ;;
14329
14330 bsdi[45]*)
14331   version_type=linux
14332   need_version=no
14333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334   soname_spec='${libname}${release}${shared_ext}$major'
14335   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336   shlibpath_var=LD_LIBRARY_PATH
14337   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339   # the default ld.so.conf also contains /usr/contrib/lib and
14340   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341   # libtool to hard-code these into programs
14342   ;;
14343
14344 cygwin* | mingw* | pw32* | cegcc*)
14345   version_type=windows
14346   shrext_cmds=".dll"
14347   need_version=no
14348   need_lib_prefix=no
14349
14350   case $GCC,$host_os in
14351   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352     library_names_spec='$libname.dll.a'
14353     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354     postinstall_cmds='base_file=`basename \${file}`~
14355       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356       dldir=$destdir/`dirname \$dlpath`~
14357       test -d \$dldir || mkdir -p \$dldir~
14358       $install_prog $dir/$dlname \$dldir/$dlname~
14359       chmod a+x \$dldir/$dlname~
14360       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14362       fi'
14363     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364       dlpath=$dir/\$dldll~
14365        $RM \$dlpath'
14366     shlibpath_overrides_runpath=yes
14367
14368     case $host_os in
14369     cygwin*)
14370       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372
14373       ;;
14374     mingw* | cegcc*)
14375       # MinGW DLLs use traditional 'lib' prefix
14376       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14377       ;;
14378     pw32*)
14379       # pw32 DLLs use 'pw' prefix rather than 'lib'
14380       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14381       ;;
14382     esac
14383     ;;
14384
14385   *)
14386     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14387     ;;
14388   esac
14389   dynamic_linker='Win32 ld.exe'
14390   # FIXME: first we should search . and the directory the executable is in
14391   shlibpath_var=PATH
14392   ;;
14393
14394 darwin* | rhapsody*)
14395   dynamic_linker="$host_os dyld"
14396   version_type=darwin
14397   need_lib_prefix=no
14398   need_version=no
14399   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400   soname_spec='${libname}${release}${major}$shared_ext'
14401   shlibpath_overrides_runpath=yes
14402   shlibpath_var=DYLD_LIBRARY_PATH
14403   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14404
14405   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14406   ;;
14407
14408 dgux*)
14409   version_type=linux
14410   need_lib_prefix=no
14411   need_version=no
14412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413   soname_spec='${libname}${release}${shared_ext}$major'
14414   shlibpath_var=LD_LIBRARY_PATH
14415   ;;
14416
14417 freebsd* | dragonfly*)
14418   # DragonFly does not have aout.  When/if they implement a new
14419   # versioning mechanism, adjust this.
14420   if test -x /usr/bin/objformat; then
14421     objformat=`/usr/bin/objformat`
14422   else
14423     case $host_os in
14424     freebsd[23].*) objformat=aout ;;
14425     *) objformat=elf ;;
14426     esac
14427   fi
14428   version_type=freebsd-$objformat
14429   case $version_type in
14430     freebsd-elf*)
14431       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432       need_version=no
14433       need_lib_prefix=no
14434       ;;
14435     freebsd-*)
14436       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437       need_version=yes
14438       ;;
14439   esac
14440   shlibpath_var=LD_LIBRARY_PATH
14441   case $host_os in
14442   freebsd2.*)
14443     shlibpath_overrides_runpath=yes
14444     ;;
14445   freebsd3.[01]* | freebsdelf3.[01]*)
14446     shlibpath_overrides_runpath=yes
14447     hardcode_into_libs=yes
14448     ;;
14449   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451     shlibpath_overrides_runpath=no
14452     hardcode_into_libs=yes
14453     ;;
14454   *) # from 4.6 on, and DragonFly
14455     shlibpath_overrides_runpath=yes
14456     hardcode_into_libs=yes
14457     ;;
14458   esac
14459   ;;
14460
14461 gnu*)
14462   version_type=linux
14463   need_lib_prefix=no
14464   need_version=no
14465   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466   soname_spec='${libname}${release}${shared_ext}$major'
14467   shlibpath_var=LD_LIBRARY_PATH
14468   hardcode_into_libs=yes
14469   ;;
14470
14471 haiku*)
14472   version_type=linux
14473   need_lib_prefix=no
14474   need_version=no
14475   dynamic_linker="$host_os runtime_loader"
14476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477   soname_spec='${libname}${release}${shared_ext}$major'
14478   shlibpath_var=LIBRARY_PATH
14479   shlibpath_overrides_runpath=yes
14480   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481   hardcode_into_libs=yes
14482   ;;
14483
14484 hpux9* | hpux10* | hpux11*)
14485   # Give a soname corresponding to the major version so that dld.sl refuses to
14486   # link against other versions.
14487   version_type=sunos
14488   need_lib_prefix=no
14489   need_version=no
14490   case $host_cpu in
14491   ia64*)
14492     shrext_cmds='.so'
14493     hardcode_into_libs=yes
14494     dynamic_linker="$host_os dld.so"
14495     shlibpath_var=LD_LIBRARY_PATH
14496     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498     soname_spec='${libname}${release}${shared_ext}$major'
14499     if test "X$HPUX_IA64_MODE" = X32; then
14500       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501     else
14502       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14503     fi
14504     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505     ;;
14506   hppa*64*)
14507     shrext_cmds='.sl'
14508     hardcode_into_libs=yes
14509     dynamic_linker="$host_os dld.sl"
14510     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513     soname_spec='${libname}${release}${shared_ext}$major'
14514     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14516     ;;
14517   *)
14518     shrext_cmds='.sl'
14519     dynamic_linker="$host_os dld.sl"
14520     shlibpath_var=SHLIB_PATH
14521     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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     ;;
14525   esac
14526   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527   postinstall_cmds='chmod 555 $lib'
14528   # or fails outright, so override atomically:
14529   install_override_mode=555
14530   ;;
14531
14532 interix[3-9]*)
14533   version_type=linux
14534   need_lib_prefix=no
14535   need_version=no
14536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537   soname_spec='${libname}${release}${shared_ext}$major'
14538   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539   shlibpath_var=LD_LIBRARY_PATH
14540   shlibpath_overrides_runpath=no
14541   hardcode_into_libs=yes
14542   ;;
14543
14544 irix5* | irix6* | nonstopux*)
14545   case $host_os in
14546     nonstopux*) version_type=nonstopux ;;
14547     *)
14548         if test "$lt_cv_prog_gnu_ld" = yes; then
14549                 version_type=linux
14550         else
14551                 version_type=irix
14552         fi ;;
14553   esac
14554   need_lib_prefix=no
14555   need_version=no
14556   soname_spec='${libname}${release}${shared_ext}$major'
14557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558   case $host_os in
14559   irix5* | nonstopux*)
14560     libsuff= shlibsuff=
14561     ;;
14562   *)
14563     case $LD in # libtool.m4 will add one of these switches to LD
14564     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565       libsuff= shlibsuff= libmagic=32-bit;;
14566     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567       libsuff=32 shlibsuff=N32 libmagic=N32;;
14568     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570     *) libsuff= shlibsuff= libmagic=never-match;;
14571     esac
14572     ;;
14573   esac
14574   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575   shlibpath_overrides_runpath=no
14576   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578   hardcode_into_libs=yes
14579   ;;
14580
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583   dynamic_linker=no
14584   ;;
14585
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588   version_type=linux
14589   need_lib_prefix=no
14590   need_version=no
14591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592   soname_spec='${libname}${release}${shared_ext}$major'
14593   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594   shlibpath_var=LD_LIBRARY_PATH
14595   shlibpath_overrides_runpath=no
14596
14597   # Some binutils ld are patched to set DT_RUNPATH
14598   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599   $as_echo_n "(cached) " >&6
14600 else
14601   lt_cv_shlibpath_overrides_runpath=no
14602     save_LDFLAGS=$LDFLAGS
14603     save_libdir=$libdir
14604     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606     if test x$gcc_no_link = xyes; then
14607   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14608 fi
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h.  */
14611
14612 int
14613 main ()
14614 {
14615
14616   ;
14617   return 0;
14618 }
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622   lt_cv_shlibpath_overrides_runpath=yes
14623 fi
14624 fi
14625 rm -f core conftest.err conftest.$ac_objext \
14626     conftest$ac_exeext conftest.$ac_ext
14627     LDFLAGS=$save_LDFLAGS
14628     libdir=$save_libdir
14629
14630 fi
14631
14632   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14633
14634   # This implies no fast_install, which is unacceptable.
14635   # Some rework will be needed to allow for fast_install
14636   # before this can be enabled.
14637   hardcode_into_libs=yes
14638
14639   # Append ld.so.conf contents to the search path
14640   if test -f /etc/ld.so.conf; then
14641     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' ' '`
14642     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14643   fi
14644
14645   # We used to test for /lib/ld.so.1 and disable shared libraries on
14646   # powerpc, because MkLinux only supported shared libraries with the
14647   # GNU dynamic linker.  Since this was broken with cross compilers,
14648   # most powerpc-linux boxes support dynamic linking these days and
14649   # people can always --disable-shared, the test was removed, and we
14650   # assume the GNU/Linux dynamic linker is in use.
14651   dynamic_linker='GNU/Linux ld.so'
14652   ;;
14653
14654 netbsd*)
14655   version_type=sunos
14656   need_lib_prefix=no
14657   need_version=no
14658   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661     dynamic_linker='NetBSD (a.out) ld.so'
14662   else
14663     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664     soname_spec='${libname}${release}${shared_ext}$major'
14665     dynamic_linker='NetBSD ld.elf_so'
14666   fi
14667   shlibpath_var=LD_LIBRARY_PATH
14668   shlibpath_overrides_runpath=yes
14669   hardcode_into_libs=yes
14670   ;;
14671
14672 newsos6)
14673   version_type=linux
14674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675   shlibpath_var=LD_LIBRARY_PATH
14676   shlibpath_overrides_runpath=yes
14677   ;;
14678
14679 *nto* | *qnx*)
14680   version_type=qnx
14681   need_lib_prefix=no
14682   need_version=no
14683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684   soname_spec='${libname}${release}${shared_ext}$major'
14685   shlibpath_var=LD_LIBRARY_PATH
14686   shlibpath_overrides_runpath=no
14687   hardcode_into_libs=yes
14688   dynamic_linker='ldqnx.so'
14689   ;;
14690
14691 openbsd*)
14692   version_type=sunos
14693   sys_lib_dlsearch_path_spec="/usr/lib"
14694   need_lib_prefix=no
14695   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696   case $host_os in
14697     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14698     *)                          need_version=no  ;;
14699   esac
14700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702   shlibpath_var=LD_LIBRARY_PATH
14703   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704     case $host_os in
14705       openbsd2.[89] | openbsd2.[89].*)
14706         shlibpath_overrides_runpath=no
14707         ;;
14708       *)
14709         shlibpath_overrides_runpath=yes
14710         ;;
14711       esac
14712   else
14713     shlibpath_overrides_runpath=yes
14714   fi
14715   ;;
14716
14717 os2*)
14718   libname_spec='$name'
14719   shrext_cmds=".dll"
14720   need_lib_prefix=no
14721   library_names_spec='$libname${shared_ext} $libname.a'
14722   dynamic_linker='OS/2 ld.exe'
14723   shlibpath_var=LIBPATH
14724   ;;
14725
14726 osf3* | osf4* | osf5*)
14727   version_type=osf
14728   need_lib_prefix=no
14729   need_version=no
14730   soname_spec='${libname}${release}${shared_ext}$major'
14731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732   shlibpath_var=LD_LIBRARY_PATH
14733   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14735   ;;
14736
14737 rdos*)
14738   dynamic_linker=no
14739   ;;
14740
14741 solaris*)
14742   version_type=linux
14743   need_lib_prefix=no
14744   need_version=no
14745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746   soname_spec='${libname}${release}${shared_ext}$major'
14747   shlibpath_var=LD_LIBRARY_PATH
14748   shlibpath_overrides_runpath=yes
14749   hardcode_into_libs=yes
14750   # ldd complains unless libraries are executable
14751   postinstall_cmds='chmod +x $lib'
14752   ;;
14753
14754 sunos4*)
14755   version_type=sunos
14756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758   shlibpath_var=LD_LIBRARY_PATH
14759   shlibpath_overrides_runpath=yes
14760   if test "$with_gnu_ld" = yes; then
14761     need_lib_prefix=no
14762   fi
14763   need_version=yes
14764   ;;
14765
14766 sysv4 | sysv4.3*)
14767   version_type=linux
14768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769   soname_spec='${libname}${release}${shared_ext}$major'
14770   shlibpath_var=LD_LIBRARY_PATH
14771   case $host_vendor in
14772     sni)
14773       shlibpath_overrides_runpath=no
14774       need_lib_prefix=no
14775       runpath_var=LD_RUN_PATH
14776       ;;
14777     siemens)
14778       need_lib_prefix=no
14779       ;;
14780     motorola)
14781       need_lib_prefix=no
14782       need_version=no
14783       shlibpath_overrides_runpath=no
14784       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14785       ;;
14786   esac
14787   ;;
14788
14789 sysv4*MP*)
14790   if test -d /usr/nec ;then
14791     version_type=linux
14792     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793     soname_spec='$libname${shared_ext}.$major'
14794     shlibpath_var=LD_LIBRARY_PATH
14795   fi
14796   ;;
14797
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799   version_type=freebsd-elf
14800   need_lib_prefix=no
14801   need_version=no
14802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803   soname_spec='${libname}${release}${shared_ext}$major'
14804   shlibpath_var=LD_LIBRARY_PATH
14805   shlibpath_overrides_runpath=yes
14806   hardcode_into_libs=yes
14807   if test "$with_gnu_ld" = yes; then
14808     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809   else
14810     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811     case $host_os in
14812       sco3.2v5*)
14813         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14814         ;;
14815     esac
14816   fi
14817   sys_lib_dlsearch_path_spec='/usr/lib'
14818   ;;
14819
14820 tpf*)
14821   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14822   version_type=linux
14823   need_lib_prefix=no
14824   need_version=no
14825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826   shlibpath_var=LD_LIBRARY_PATH
14827   shlibpath_overrides_runpath=no
14828   hardcode_into_libs=yes
14829   ;;
14830
14831 uts4*)
14832   version_type=linux
14833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834   soname_spec='${libname}${release}${shared_ext}$major'
14835   shlibpath_var=LD_LIBRARY_PATH
14836   ;;
14837
14838 *)
14839   dynamic_linker=no
14840   ;;
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14845
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14849 fi
14850
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14853 fi
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14856 fi
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
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899    test -n "$runpath_var_CXX" ||
14900    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14901
14902   # We can hardcode non-existent directories.
14903   if test "$hardcode_direct_CXX" != no &&
14904      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905      # have to relink, otherwise we might link with an installed library
14906      # when we should be linking with a yet-to-be-installed one
14907      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908      test "$hardcode_minus_L_CXX" != no; then
14909     # Linking always hardcodes the temporary library directory.
14910     hardcode_action_CXX=relink
14911   else
14912     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913     hardcode_action_CXX=immediate
14914   fi
14915 else
14916   # We cannot hardcode anything, or else we can only hardcode existing
14917   # directories.
14918   hardcode_action_CXX=unsupported
14919 fi
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14922
14923 if test "$hardcode_action_CXX" = relink ||
14924    test "$inherit_rpath_CXX" = yes; then
14925   # Fast installation is not supported
14926   enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928      test "$enable_shared" = no; then
14929   # Fast installation is not necessary
14930   enable_fast_install=needless
14931 fi
14932
14933
14934
14935
14936
14937
14938
14939   fi # test -n "$compiler"
14940
14941   CC=$lt_save_CC
14942   LDCXX=$LD
14943   LD=$lt_save_LD
14944   GCC=$lt_save_GCC
14945   with_gnu_ld=$lt_save_with_gnu_ld
14946   lt_cv_path_LDCXX=$lt_cv_path_LD
14947   lt_cv_path_LD=$lt_save_path_LD
14948   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14951
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970         ac_config_commands="$ac_config_commands libtool"
14971
14972
14973
14974
14975 # Only expand once:
14976
14977
14978
14979
14980
14981 case $host in
14982   *-cygwin* | *-mingw*)
14983     # 'host' will be top-level target in the case of a target lib,
14984     # we must compare to with_cross_host to decide if this is a native
14985     # or cross-compiler and select where to install dlls appropriately.
14986     if test -n "$with_cross_host" &&
14987         test x"$with_cross_host" != x"no"; then
14988       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989     else
14990       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14991     fi
14992     ;;
14993   *)
14994     lt_host_flags=
14995     ;;
14996 esac
14997
14998
14999
15000
15001
15002
15003 if test "$enable_vtable_verify" = yes; then
15004   predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005   postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15006 fi
15007
15008
15009 # libtool variables for C++ shared and position-independent compiles.
15010 #
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15014 #
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15017 #
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022   glibcxx_lt_pic_flag="-prefer-pic"
15023   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15025
15026 else
15027   glibcxx_lt_pic_flag=
15028   glibcxx_compiler_pic_flag=
15029   glibcxx_compiler_shared_flag=
15030 fi
15031
15032
15033
15034
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15040
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15043
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results.  Faster /and/ more correct, win win.
15047
15048   # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050   enableval=$enable_hosted_libstdcxx;
15051 else
15052   case "$host" in
15053         arm*-*-symbianelf*)
15054             enable_hosted_libstdcxx=no
15055             ;;
15056         *)
15057             enable_hosted_libstdcxx=yes
15058             ;;
15059      esac
15060 fi
15061
15062   if test "$enable_hosted_libstdcxx" = no; then
15063     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065     is_hosted=no
15066     hosted_define=0
15067     enable_abi_check=no
15068     enable_libstdcxx_pch=no
15069   else
15070     is_hosted=yes
15071     hosted_define=1
15072   fi
15073
15074
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15078
15079
15080
15081 # Enable descriptive messages to standard output on termination.
15082
15083   # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085   enableval=$enable_libstdcxx_verbose;
15086 else
15087   enable_libstdcxx_verbose=yes
15088 fi
15089
15090   if test x"$enable_libstdcxx_verbose" = xyes; then
15091     verbose_define=1
15092   else
15093     { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095     verbose_define=0
15096   fi
15097
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15101
15102
15103
15104 # Enable compiler support that doesn't require linking.
15105
15106    # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108   enableval=$enable_libstdcxx_pch;
15109       case "$enableval" in
15110        yes|no) ;;
15111        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112       esac
15113
15114 else
15115   enable_libstdcxx_pch=$is_hosted
15116 fi
15117
15118
15119   if test $enable_libstdcxx_pch = yes; then
15120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123   $as_echo_n "(cached) " >&6
15124 else
15125   ac_save_CXXFLAGS="$CXXFLAGS"
15126        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15127
15128        ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15133
15134        echo '#include <math.h>' > conftest.h
15135        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136                           -o conftest.h.gch 1>&5 2>&1 &&
15137                 echo '#error "pch failed"' > conftest.h &&
15138           echo '#include "conftest.h"' > conftest.cc &&
15139                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140        then
15141          glibcxx_cv_prog_CXX_pch=yes
15142        else
15143          glibcxx_cv_prog_CXX_pch=no
15144        fi
15145        rm -f conftest*
15146        CXXFLAGS=$ac_save_CXXFLAGS
15147        ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15152
15153
15154 fi
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15158   fi
15159
15160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15164
15165
15166   if test $enable_libstdcxx_pch = yes; then
15167     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168   else
15169     glibcxx_PCHFLAGS=""
15170   fi
15171
15172
15173
15174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15179
15180 case $target_thread_file in
15181     aix)        thread_header=config/rs6000/gthr-aix.h ;;
15182     dce)        thread_header=config/pa/gthr-dce.h ;;
15183     lynx)       thread_header=config/gthr-lynx.h ;;
15184     mipssde)    thread_header=config/mips/gthr-mipssde.h ;;
15185     posix)      thread_header=gthr-posix.h ;;
15186     rtems)      thread_header=config/gthr-rtems.h ;;
15187     single)     thread_header=gthr-single.h ;;
15188     tpf)        thread_header=config/s390/gthr-tpf.h ;;
15189     vxworks)    thread_header=config/gthr-vxworks.h ;;
15190     win32)      thread_header=config/i386/gthr-win32.h ;;
15191 esac
15192
15193
15194
15195
15196
15197   ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15202
15203   old_CXXFLAGS="$CXXFLAGS"
15204
15205   # Do link tests if possible, instead asm tests, limited to some platforms
15206   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208   atomic_builtins_link_tests=no
15209   if test x$gcc_no_link != xyes; then
15210     # Can do link tests. Limit to some tested platforms
15211     case "$host" in
15212       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213         atomic_builtins_link_tests=yes
15214         ;;
15215     esac
15216   fi
15217
15218   if test x$atomic_builtins_link_tests = xyes; then
15219
15220   # Do link tests.
15221
15222   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15223
15224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227   $as_echo_n "(cached) " >&6
15228 else
15229
15230     if test x$gcc_no_link = xyes; then
15231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15232 fi
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h.  */
15235
15236 int
15237 main ()
15238 {
15239 typedef bool atomic_type;
15240        atomic_type c1;
15241        atomic_type c2;
15242        atomic_type c3(0);
15243        // N.B. __atomic_fetch_add is not supported for bool.
15244        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245                                    __ATOMIC_RELAXED);
15246        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15248
15249   ;
15250   return 0;
15251 }
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254   glibcxx_cv_atomic_bool=yes
15255 else
15256   glibcxx_cv_atomic_bool=no
15257 fi
15258 rm -f core conftest.err conftest.$ac_objext \
15259     conftest$ac_exeext conftest.$ac_ext
15260
15261 fi
15262
15263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15265
15266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269   $as_echo_n "(cached) " >&6
15270 else
15271
15272     if test x$gcc_no_link = xyes; then
15273   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15274 fi
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h.  */
15277
15278 int
15279 main ()
15280 {
15281 typedef short atomic_type;
15282        atomic_type c1;
15283        atomic_type c2;
15284        atomic_type c3(0);
15285        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287                                    __ATOMIC_RELAXED);
15288        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15290
15291   ;
15292   return 0;
15293 }
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296   glibcxx_cv_atomic_short=yes
15297 else
15298   glibcxx_cv_atomic_short=no
15299 fi
15300 rm -f core conftest.err conftest.$ac_objext \
15301     conftest$ac_exeext conftest.$ac_ext
15302
15303 fi
15304
15305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15307
15308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311   $as_echo_n "(cached) " >&6
15312 else
15313
15314     if test x$gcc_no_link = xyes; then
15315   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15316 fi
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h.  */
15319
15320 int
15321 main ()
15322 {
15323 typedef int atomic_type;
15324        atomic_type c1;
15325        atomic_type c2;
15326        atomic_type c3(0);
15327        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329                                    __ATOMIC_RELAXED);
15330        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15332
15333   ;
15334   return 0;
15335 }
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338   glibcxx_cv_atomic_int=yes
15339 else
15340   glibcxx_cv_atomic_int=no
15341 fi
15342 rm -f core conftest.err conftest.$ac_objext \
15343     conftest$ac_exeext conftest.$ac_ext
15344
15345 fi
15346
15347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15349
15350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353   $as_echo_n "(cached) " >&6
15354 else
15355
15356     if test x$gcc_no_link = xyes; then
15357   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15358 fi
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h.  */
15361
15362 int
15363 main ()
15364 {
15365 typedef long long atomic_type;
15366        atomic_type c1;
15367        atomic_type c2;
15368        atomic_type c3(0);
15369        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371                                    __ATOMIC_RELAXED);
15372        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15374
15375   ;
15376   return 0;
15377 }
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380   glibcxx_cv_atomic_long_long=yes
15381 else
15382   glibcxx_cv_atomic_long_long=no
15383 fi
15384 rm -f core conftest.err conftest.$ac_objext \
15385     conftest$ac_exeext conftest.$ac_ext
15386
15387 fi
15388
15389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15391
15392   else
15393
15394   # Do asm tests.
15395
15396   # Compile unoptimized.
15397   CXXFLAGS='-O0 -S'
15398
15399   # Fake what AC_TRY_COMPILE does.
15400
15401     cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15404 {
15405   typedef bool atomic_type;
15406   atomic_type c1;
15407   atomic_type c2;
15408   atomic_type c3(0);
15409   // N.B. __atomic_fetch_add is not supported for bool.
15410   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411                               __ATOMIC_RELAXED);
15412   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15414
15415   return 0;
15416 }
15417 EOF
15418
15419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422   (eval $ac_compile) 2>&5
15423   ac_status=$?
15424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425   test $ac_status = 0; }; then
15426       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427         glibcxx_cv_atomic_bool=no
15428       else
15429         glibcxx_cv_atomic_bool=yes
15430       fi
15431     fi
15432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434     rm -f conftest*
15435
15436     cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15439 {
15440   typedef short atomic_type;
15441   atomic_type c1;
15442   atomic_type c2;
15443   atomic_type c3(0);
15444   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446                               __ATOMIC_RELAXED);
15447   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15449
15450   return 0;
15451 }
15452 EOF
15453
15454     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457   (eval $ac_compile) 2>&5
15458   ac_status=$?
15459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460   test $ac_status = 0; }; then
15461       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462         glibcxx_cv_atomic_short=no
15463       else
15464         glibcxx_cv_atomic_short=yes
15465       fi
15466     fi
15467     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469     rm -f conftest*
15470
15471     cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15474 {
15475   // NB: _Atomic_word not necessarily int.
15476   typedef int atomic_type;
15477   atomic_type c1;
15478   atomic_type c2;
15479   atomic_type c3(0);
15480   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482                               __ATOMIC_RELAXED);
15483   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15485
15486   return 0;
15487 }
15488 EOF
15489
15490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493   (eval $ac_compile) 2>&5
15494   ac_status=$?
15495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496   test $ac_status = 0; }; then
15497       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498         glibcxx_cv_atomic_int=no
15499       else
15500         glibcxx_cv_atomic_int=yes
15501       fi
15502     fi
15503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505     rm -f conftest*
15506
15507     cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15510 {
15511   typedef long long atomic_type;
15512   atomic_type c1;
15513   atomic_type c2;
15514   atomic_type c3(0);
15515   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517                               __ATOMIC_RELAXED);
15518   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15520
15521   return 0;
15522 }
15523 EOF
15524
15525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528   (eval $ac_compile) 2>&5
15529   ac_status=$?
15530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531   test $ac_status = 0; }; then
15532       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533         glibcxx_cv_atomic_long_long=no
15534       else
15535         glibcxx_cv_atomic_long_long=yes
15536       fi
15537     fi
15538     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540     rm -f conftest*
15541
15542   fi
15543
15544   CXXFLAGS="$old_CXXFLAGS"
15545   ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551
15552   # Set atomicity_dir to builtins if all but the long long test above passes,
15553   # or if the builtins were already chosen (e.g. by configure.host).
15554   if { test "$glibcxx_cv_atomic_bool" = yes \
15555      && test "$glibcxx_cv_atomic_short" = yes \
15556      && test "$glibcxx_cv_atomic_int" = yes; } \
15557      || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15558
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15560
15561     atomicity_dir=cpu/generic/atomicity_builtins
15562   fi
15563
15564   # If still generic, set to mutex.
15565   if test $atomicity_dir = "cpu/generic" ; then
15566     atomicity_dir=cpu/generic/atomicity_mutex
15567     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569       if test "x$target_thread_file" = xsingle; then
15570         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574       else
15575         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15579       fi
15580   fi
15581
15582
15583
15584
15585   # Fake what AC_TRY_COMPILE does, without linking as this is
15586   # unnecessary for this test.
15587
15588     cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15591 {
15592   _Decimal32 d1;
15593   _Decimal64 d2;
15594   _Decimal128 d3;
15595   return 0;
15596 }
15597 EOF
15598
15599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602   (eval $ac_compile) 2>&5
15603   ac_status=$?
15604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605   test $ac_status = 0; }; then
15606
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15608
15609       enable_dfp=yes
15610     else
15611       enable_dfp=no
15612     fi
15613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615     rm -f conftest*
15616
15617
15618
15619
15620   ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15625
15626
15627   # Fake what AC_TRY_COMPILE does, without linking as this is
15628   # unnecessary for this test.
15629
15630     cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633   struct same
15634   { typedef T2 type; };
15635
15636 template<typename T>
15637   struct same<T, T>;
15638
15639 int main()
15640 {
15641   typename same<long, __int128>::type                i1;
15642   typename same<long long, __int128>::type           i2;
15643 }
15644 EOF
15645
15646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649   (eval $ac_compile) 2>&5
15650   ac_status=$?
15651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652   test $ac_status = 0; }; then
15653
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15655
15656       enable_int128=yes
15657     else
15658       enable_int128=no
15659     fi
15660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662     rm -f conftest*
15663
15664     cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667   struct same
15668   { typedef T2 type; };
15669
15670 template<typename T>
15671   struct same<T, T>;
15672
15673 int main()
15674 {
15675   typename same<double, __float128>::type      f1;
15676   typename same<long double, __float128>::type f2;
15677 }
15678 EOF
15679
15680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683   (eval $ac_compile) 2>&5
15684   ac_status=$?
15685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686   test $ac_status = 0; }; then
15687
15688 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15689
15690       enable_float128=yes
15691     else
15692       enable_float128=no
15693     fi
15694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15695 $as_echo "$enable_float128" >&6; }
15696     rm -f conftest*
15697
15698   ac_ext=c
15699 ac_cpp='$CPP $CPPFLAGS'
15700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703
15704
15705 if test "$enable_float128" = yes; then
15706   port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 fi
15708
15709 # Checks for compiler support that doesn't require linking.
15710
15711   # All these tests are for C++; save the language and the compiler flags.
15712   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713   # found in GLIBCXX_CONFIGURE.
15714
15715   ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720
15721   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722   ac_save_CXXFLAGS="$CXXFLAGS"
15723
15724   # Check for maintainer-mode bits.
15725   if test x"$USE_MAINTAINER_MODE" = xno; then
15726     WERROR=''
15727   else
15728     WERROR='-Werror'
15729   fi
15730
15731   # Check for -ffunction-sections -fdata-sections
15732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h.  */
15737 int foo; void bar() { };
15738 int
15739 main ()
15740 {
15741
15742   ;
15743   return 0;
15744 }
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747   ac_fdsections=yes
15748 else
15749   ac_fdsections=no
15750 fi
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752   if test "$ac_test_CXXFLAGS" = set; then
15753     CXXFLAGS="$ac_save_CXXFLAGS"
15754   else
15755     # this is the suspicious part
15756     CXXFLAGS=''
15757   fi
15758   if test x"$ac_fdsections" = x"yes"; then
15759     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760   fi
15761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15763
15764   ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15769
15770
15771
15772
15773
15774 # Enable all the variable C++ runtime options that don't require linking.
15775
15776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778    # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780   enableval=$enable_cstdio;
15781       case "$enableval" in
15782        stdio) ;;
15783        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784                         esac
15785
15786 else
15787   enable_cstdio=stdio
15788 fi
15789
15790
15791
15792   # Now that libio has been removed, you can have any color you want as long
15793   # as it's black.  This is one big no-op until other packages are added, but
15794   # showing the framework never hurts.
15795   case ${enable_cstdio} in
15796     stdio)
15797       CSTDIO_H=config/io/c_io_stdio.h
15798       BASIC_FILE_H=config/io/basic_file_stdio.h
15799       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15802       ;;
15803   esac
15804
15805
15806
15807
15808
15809
15810    # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812   enableval=$enable_clocale;
15813       case "$enableval" in
15814        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816                         esac
15817
15818 else
15819   enable_clocale=auto
15820 fi
15821
15822
15823
15824   # Deal with gettext issues.  Default to not using it (=no) until we detect
15825   # support for it later.  Let the user turn it off via --e/d, but let that
15826   # default to on for easier handling.
15827   USE_NLS=no
15828   # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830   enableval=$enable_nls;
15831 else
15832   enable_nls=yes
15833 fi
15834
15835
15836   # Either a known package, or "auto"
15837   if test $enable_clocale = no || test $enable_clocale = yes; then
15838      enable_clocale=auto
15839   fi
15840   enable_clocale_flag=$enable_clocale
15841
15842   # Probe for locale model to use if none specified.
15843   # Default to "generic".
15844   if test $enable_clocale_flag = auto; then
15845     case ${target_os} in
15846       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847         enable_clocale_flag=gnu
15848         ;;
15849       darwin*)
15850         enable_clocale_flag=darwin
15851         ;;
15852       dragonfly* | freebsd*)
15853         enable_clocale_flag=dragonfly
15854         ;;
15855       openbsd*)
15856         enable_clocale_flag=newlib
15857         ;;
15858       *)
15859         if test x"$with_newlib" = x"yes"; then
15860           enable_clocale_flag=newlib
15861         else
15862           enable_clocale_flag=generic
15863         fi
15864         ;;
15865     esac
15866   fi
15867
15868   # Sanity check model, and test for special functionality.
15869   if test $enable_clocale_flag = gnu; then
15870     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h.  */
15872
15873     #include <features.h>
15874     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875       _GLIBCXX_ok
15876     #endif
15877
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881   enable_clocale_flag=gnu
15882 else
15883   enable_clocale_flag=generic
15884 fi
15885 rm -f conftest*
15886
15887
15888     # Set it to scream when it hurts.
15889     ac_save_CFLAGS="$CFLAGS"
15890     CFLAGS="-Wimplicit-function-declaration -Werror"
15891
15892     # Use strxfrm_l if available.
15893     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h.  */
15895 #define _GNU_SOURCE 1
15896                     #include <string.h>
15897                     #include <locale.h>
15898 int
15899 main ()
15900 {
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902   ;
15903   return 0;
15904 }
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15907
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15909
15910 fi
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912
15913     # Use strerror_l if available.
15914     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h.  */
15916 #define _GNU_SOURCE 1
15917                     #include <string.h>
15918                     #include <locale.h>
15919 int
15920 main ()
15921 {
15922 __locale_t loc; strerror_l(5, loc);
15923   ;
15924   return 0;
15925 }
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15928
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15930
15931 fi
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933
15934     CFLAGS="$ac_save_CFLAGS"
15935   fi
15936
15937   # Perhaps use strerror_r if available, and strerror_l isn't.
15938   ac_save_CFLAGS="$CFLAGS"
15939   CFLAGS="-Wimplicit-function-declaration -Werror"
15940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h.  */
15942 #define _GNU_SOURCE 1
15943                   #include <string.h>
15944                   #include <locale.h>
15945 int
15946 main ()
15947 {
15948 char s[128]; strerror_r(5, s, 128);
15949   ;
15950   return 0;
15951 }
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15954
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15956
15957 fi
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959   CFLAGS="$ac_save_CFLAGS"
15960
15961   # Set configure bits for specified locale package
15962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964   case ${enable_clocale_flag} in
15965     generic)
15966       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15968
15969       CLOCALE_H=config/locale/generic/c_locale.h
15970       CLOCALE_CC=config/locale/generic/c_locale.cc
15971       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972       CCOLLATE_CC=config/locale/generic/collate_members.cc
15973       CCTYPE_CC=config/locale/generic/ctype_members.cc
15974       CMESSAGES_H=config/locale/generic/messages_members.h
15975       CMESSAGES_CC=config/locale/generic/messages_members.cc
15976       CMONEY_CC=config/locale/generic/monetary_members.cc
15977       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978       CTIME_H=config/locale/generic/time_members.h
15979       CTIME_CC=config/locale/generic/time_members.cc
15980       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981       ;;
15982     darwin)
15983       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15984 $as_echo "darwin" >&6; }
15985
15986       CLOCALE_H=config/locale/generic/c_locale.h
15987       CLOCALE_CC=config/locale/generic/c_locale.cc
15988       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989       CCOLLATE_CC=config/locale/generic/collate_members.cc
15990       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991       CMESSAGES_H=config/locale/generic/messages_members.h
15992       CMESSAGES_CC=config/locale/generic/messages_members.cc
15993       CMONEY_CC=config/locale/generic/monetary_members.cc
15994       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995       CTIME_H=config/locale/generic/time_members.h
15996       CTIME_CC=config/locale/generic/time_members.cc
15997       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998       ;;
15999
16000     dragonfly)
16001       { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16002 $as_echo "dragonfly or freebsd" >&6; }
16003
16004       CLOCALE_H=config/locale/dragonfly/c_locale.h
16005       CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006       CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16007       CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16008       CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009       CMESSAGES_H=config/locale/generic/messages_members.h
16010       CMESSAGES_CC=config/locale/generic/messages_members.cc
16011       CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16012       CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16013       CTIME_H=config/locale/dragonfly/time_members.h
16014       CTIME_CC=config/locale/dragonfly/time_members.cc
16015       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016       ;;
16017
16018     gnu)
16019       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16021
16022       # Declare intention to use gettext, and add support for specific
16023       # languages.
16024       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025       ALL_LINGUAS="de fr"
16026
16027       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028       # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033   $as_echo_n "(cached) " >&6
16034 else
16035   if test -n "$check_msgfmt"; then
16036   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16040 do
16041   IFS=$as_save_IFS
16042   test -z "$as_dir" && as_dir=.
16043     for ac_exec_ext in '' $ac_executable_extensions; do
16044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045     ac_cv_prog_check_msgfmt="yes"
16046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047     break 2
16048   fi
16049 done
16050   done
16051 IFS=$as_save_IFS
16052
16053   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16054 fi
16055 fi
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16063 fi
16064
16065
16066       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067         USE_NLS=yes
16068       fi
16069       # Export the build objects.
16070       for ling in $ALL_LINGUAS; do \
16071         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073       done
16074
16075
16076
16077       CLOCALE_H=config/locale/gnu/c_locale.h
16078       CLOCALE_CC=config/locale/gnu/c_locale.cc
16079       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080       CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081       CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082       CMESSAGES_H=config/locale/gnu/messages_members.h
16083       CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084       CMONEY_CC=config/locale/gnu/monetary_members.cc
16085       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086       CTIME_H=config/locale/gnu/time_members.h
16087       CTIME_CC=config/locale/gnu/time_members.cc
16088       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089       ;;
16090     ieee_1003.1-2001)
16091       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16093
16094       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097       CCOLLATE_CC=config/locale/generic/collate_members.cc
16098       CCTYPE_CC=config/locale/generic/ctype_members.cc
16099       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101       CMONEY_CC=config/locale/generic/monetary_members.cc
16102       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103       CTIME_H=config/locale/generic/time_members.h
16104       CTIME_CC=config/locale/generic/time_members.cc
16105       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106       ;;
16107     newlib)
16108       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16110
16111       CLOCALE_H=config/locale/generic/c_locale.h
16112       CLOCALE_CC=config/locale/generic/c_locale.cc
16113       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114       CCOLLATE_CC=config/locale/generic/collate_members.cc
16115       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116       CMESSAGES_H=config/locale/generic/messages_members.h
16117       CMESSAGES_CC=config/locale/generic/messages_members.cc
16118       CMONEY_CC=config/locale/generic/monetary_members.cc
16119       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120       CTIME_H=config/locale/generic/time_members.h
16121       CTIME_CC=config/locale/generic/time_members.cc
16122       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123       ;;
16124   esac
16125
16126   # This is where the testsuite looks for locale catalogs, using the
16127   # -DLOCALEDIR define during testsuite compilation.
16128   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16129
16130
16131   # A standalone libintl (e.g., GNU libintl) may be in use.
16132   if test $USE_NLS = yes; then
16133     for ac_header in libintl.h
16134 do :
16135   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137   cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16140
16141 else
16142   USE_NLS=no
16143 fi
16144
16145 done
16146
16147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150   $as_echo_n "(cached) " >&6
16151 else
16152   ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h.  */
16155
16156 /* Override any GCC internal prototype to avoid an error.
16157    Use char because int might match the return type of a GCC
16158    builtin and then its argument prototype would still apply.  */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16163 int
16164 main ()
16165 {
16166 return gettext ();
16167   ;
16168   return 0;
16169 }
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172   if test -z "$ac_lib"; then
16173     ac_res="none required"
16174   else
16175     ac_res=-l$ac_lib
16176     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16177   fi
16178   if test x$gcc_no_link = xyes; then
16179   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 fi
16181 if ac_fn_c_try_link "$LINENO"; then :
16182   ac_cv_search_gettext=$ac_res
16183 fi
16184 rm -f core conftest.err conftest.$ac_objext \
16185     conftest$ac_exeext
16186   if test "${ac_cv_search_gettext+set}" = set; then :
16187   break
16188 fi
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16191
16192 else
16193   ac_cv_search_gettext=no
16194 fi
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16197 fi
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203
16204 else
16205   USE_NLS=no
16206 fi
16207
16208   fi
16209   if test $USE_NLS = yes; then
16210
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16212
16213   fi
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232    # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234   enableval=$enable_libstdcxx_allocator;
16235       case "$enableval" in
16236        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238                         esac
16239
16240 else
16241   enable_libstdcxx_allocator=auto
16242 fi
16243
16244
16245
16246   # If they didn't use this option switch, or if they specified --enable
16247   # with no specific model, we'll have to look for one.  If they
16248   # specified --disable (???), do likewise.
16249   if test $enable_libstdcxx_allocator = no ||
16250      test $enable_libstdcxx_allocator = yes;
16251   then
16252      enable_libstdcxx_allocator=auto
16253   fi
16254
16255   # Either a known package, or "auto". Auto implies the default choice
16256   # for a particular platform.
16257   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258
16259   # Probe for host-specific support if no specific model is specified.
16260   # Default to "new".
16261   if test $enable_libstdcxx_allocator_flag = auto; then
16262     case ${target_os} in
16263       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264         enable_libstdcxx_allocator_flag=new
16265         ;;
16266       *)
16267         enable_libstdcxx_allocator_flag=new
16268         ;;
16269     esac
16270   fi
16271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16273
16274
16275   # Set configure bits for specified locale package
16276   case ${enable_libstdcxx_allocator_flag} in
16277     bitmap)
16278       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280       ;;
16281     malloc)
16282       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16284       ;;
16285     mt)
16286       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288       ;;
16289     new)
16290       ALLOCATOR_H=config/allocator/new_allocator_base.h
16291       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292       ;;
16293     pool)
16294       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296       ;;
16297   esac
16298
16299
16300
16301
16302
16303
16304    # Check whether --enable-cheaders was given.
16305 if test "${enable_cheaders+set}" = set; then :
16306   enableval=$enable_cheaders;
16307       case "$enableval" in
16308        c|c_std|c_global) ;;
16309        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16310                         esac
16311
16312 else
16313   enable_cheaders=$c_model
16314 fi
16315
16316
16317   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16318 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319
16320   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321
16322   # Allow overrides to configure.host here.
16323   if test $enable_cheaders = c_global; then
16324      c_compatibility=yes
16325   fi
16326
16327
16328
16329
16330
16331
16332
16333    # Check whether --enable-long-long was given.
16334 if test "${enable_long_long+set}" = set; then :
16335   enableval=$enable_long_long;
16336       case "$enableval" in
16337        yes|no) ;;
16338        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16339       esac
16340
16341 else
16342   enable_long_long=yes
16343 fi
16344
16345
16346   if test $enable_long_long = yes; then
16347
16348 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16349
16350   fi
16351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16352 $as_echo_n "checking for enabled long long specializations... " >&6; }
16353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16354 $as_echo "$enable_long_long" >&6; }
16355
16356
16357    # Check whether --enable-wchar_t was given.
16358 if test "${enable_wchar_t+set}" = set; then :
16359   enableval=$enable_wchar_t;
16360       case "$enableval" in
16361        yes|no) ;;
16362        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16363       esac
16364
16365 else
16366   enable_wchar_t=yes
16367 fi
16368
16369
16370
16371   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16372   for ac_header in wchar.h
16373 do :
16374   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16376   cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCHAR_H 1
16378 _ACEOF
16379  ac_has_wchar_h=yes
16380 else
16381   ac_has_wchar_h=no
16382 fi
16383
16384 done
16385
16386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16387 $as_echo_n "checking for mbstate_t... " >&6; }
16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h.  */
16390 #include <wchar.h>
16391 int
16392 main ()
16393 {
16394 mbstate_t teststate;
16395   ;
16396   return 0;
16397 }
16398 _ACEOF
16399 if ac_fn_c_try_compile "$LINENO"; then :
16400   have_mbstate_t=yes
16401 else
16402   have_mbstate_t=no
16403 fi
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16406 $as_echo "$have_mbstate_t" >&6; }
16407   if test x"$have_mbstate_t" = xyes; then
16408
16409 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16410
16411   fi
16412
16413   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16414   # ac_has_wchar_h.
16415   for ac_header in wctype.h
16416 do :
16417   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16418 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16419   cat >>confdefs.h <<_ACEOF
16420 #define HAVE_WCTYPE_H 1
16421 _ACEOF
16422  ac_has_wctype_h=yes
16423 else
16424   ac_has_wctype_h=no
16425 fi
16426
16427 done
16428
16429
16430   if test x"$enable_wchar_t" = x"yes"; then
16431
16432
16433     ac_ext=cpp
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16438
16439
16440     if test x"$ac_has_wchar_h" = xyes &&
16441        test x"$ac_has_wctype_h" = xyes; then
16442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h.  */
16444 #include <wchar.h>
16445                       #include <stddef.h>
16446                       wint_t i;
16447                       long l = WEOF;
16448                       long j = WCHAR_MIN;
16449                       long k = WCHAR_MAX;
16450                       namespace test
16451                       {
16452                         using ::btowc;
16453                         using ::fgetwc;
16454                         using ::fgetws;
16455                         using ::fputwc;
16456                         using ::fputws;
16457                         using ::fwide;
16458                         using ::fwprintf;
16459                         using ::fwscanf;
16460                         using ::getwc;
16461                         using ::getwchar;
16462                         using ::mbrlen;
16463                         using ::mbrtowc;
16464                         using ::mbsinit;
16465                         using ::mbsrtowcs;
16466                         using ::putwc;
16467                         using ::putwchar;
16468                         using ::swprintf;
16469                         using ::swscanf;
16470                         using ::ungetwc;
16471                         using ::vfwprintf;
16472                         using ::vswprintf;
16473                         using ::vwprintf;
16474                         using ::wcrtomb;
16475                         using ::wcscat;
16476                         using ::wcschr;
16477                         using ::wcscmp;
16478                         using ::wcscoll;
16479                         using ::wcscpy;
16480                         using ::wcscspn;
16481                         using ::wcsftime;
16482                         using ::wcslen;
16483                         using ::wcsncat;
16484                         using ::wcsncmp;
16485                         using ::wcsncpy;
16486                         using ::wcspbrk;
16487                         using ::wcsrchr;
16488                         using ::wcsrtombs;
16489                         using ::wcsspn;
16490                         using ::wcsstr;
16491                         using ::wcstod;
16492                         using ::wcstok;
16493                         using ::wcstol;
16494                         using ::wcstoul;
16495                         using ::wcsxfrm;
16496                         using ::wctob;
16497                         using ::wmemchr;
16498                         using ::wmemcmp;
16499                         using ::wmemcpy;
16500                         using ::wmemmove;
16501                         using ::wmemset;
16502                         using ::wprintf;
16503                         using ::wscanf;
16504                       }
16505
16506 int
16507 main ()
16508 {
16509
16510   ;
16511   return 0;
16512 }
16513 _ACEOF
16514 if ac_fn_cxx_try_compile "$LINENO"; then :
16515
16516 else
16517   enable_wchar_t=no
16518 fi
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520     else
16521       enable_wchar_t=no
16522     fi
16523
16524     ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16529
16530   fi
16531
16532   if test x"$enable_wchar_t" = x"yes"; then
16533
16534 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16535
16536   fi
16537
16538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16539 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16541 $as_echo "$enable_wchar_t" >&6; }
16542
16543
16544
16545    # Check whether --enable-c99 was given.
16546 if test "${enable_c99+set}" = set; then :
16547   enableval=$enable_c99;
16548       case "$enableval" in
16549        yes|no) ;;
16550        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16551       esac
16552
16553 else
16554   enable_c99=yes
16555 fi
16556
16557
16558
16559   if test x"$enable_c99" = x"yes"; then
16560
16561     ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566
16567
16568     # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16569     # undefined may cause fake C99 facilities, like pre-standard snprintf,
16570     # to be spuriously enabled.
16571     ac_save_CXXFLAGS="$CXXFLAGS"
16572     CXXFLAGS="$CXXFLAGS -std=c++98"
16573     ac_save_LIBS="$LIBS"
16574     ac_save_gcc_no_link="$gcc_no_link"
16575
16576     if test x$gcc_no_link != xyes; then
16577       # Use -fno-exceptions to that the C driver can link these tests without
16578       # hitting undefined references to personality routines.
16579       CXXFLAGS="$CXXFLAGS -fno-exceptions"
16580       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16581 $as_echo_n "checking for sin in -lm... " >&6; }
16582 if test "${ac_cv_lib_m_sin+set}" = set; then :
16583   $as_echo_n "(cached) " >&6
16584 else
16585   ac_check_lib_save_LIBS=$LIBS
16586 LIBS="-lm  $LIBS"
16587 if test x$gcc_no_link = xyes; then
16588   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16589 fi
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h.  */
16592
16593 /* Override any GCC internal prototype to avoid an error.
16594    Use char because int might match the return type of a GCC
16595    builtin and then its argument prototype would still apply.  */
16596 #ifdef __cplusplus
16597 extern "C"
16598 #endif
16599 char sin ();
16600 int
16601 main ()
16602 {
16603 return sin ();
16604   ;
16605   return 0;
16606 }
16607 _ACEOF
16608 if ac_fn_cxx_try_link "$LINENO"; then :
16609   ac_cv_lib_m_sin=yes
16610 else
16611   ac_cv_lib_m_sin=no
16612 fi
16613 rm -f core conftest.err conftest.$ac_objext \
16614     conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_lib_save_LIBS
16616 fi
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16618 $as_echo "$ac_cv_lib_m_sin" >&6; }
16619 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16620   LIBS="$LIBS -lm"
16621 else
16622
16623         # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16624         gcc_no_link=yes
16625
16626 fi
16627
16628     fi
16629
16630     # Check for the existence of <math.h> functions used if C99 is enabled.
16631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16632 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16633     if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16634   $as_echo_n "(cached) " >&6
16635 else
16636
16637       if test x$gcc_no_link = xyes; then
16638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h.  */
16640 #include <math.h>
16641          volatile double d1, d2;
16642          volatile int i;
16643 int
16644 main ()
16645 {
16646 i = fpclassify(d1);
16647          i = isfinite(d1);
16648          i = isinf(d1);
16649          i = isnan(d1);
16650          i = isnormal(d1);
16651          i = signbit(d1);
16652          i = isgreater(d1, d2);
16653          i = isgreaterequal(d1, d2);
16654          i = isless(d1, d2);
16655          i = islessequal(d1, d2);
16656          i = islessgreater(d1, d2);
16657          i = islessgreater(d1, d2);
16658          i = isunordered(d1, d2);
16659
16660   ;
16661   return 0;
16662 }
16663 _ACEOF
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
16665   glibcxx_cv_c99_math_cxx98=yes
16666 else
16667   glibcxx_cv_c99_math_cxx98=no
16668 fi
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 else
16671   if test x$gcc_no_link = xyes; then
16672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16673 fi
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h.  */
16676 #include <math.h>
16677          volatile double d1, d2;
16678          volatile int i;
16679 int
16680 main ()
16681 {
16682 i = fpclassify(d1);
16683          i = isfinite(d1);
16684          i = isinf(d1);
16685          i = isnan(d1);
16686          i = isnormal(d1);
16687          i = signbit(d1);
16688          i = isgreater(d1, d2);
16689          i = isgreaterequal(d1, d2);
16690          i = isless(d1, d2);
16691          i = islessequal(d1, d2);
16692          i = islessgreater(d1, d2);
16693          i = islessgreater(d1, d2);
16694          i = isunordered(d1, d2);
16695
16696   ;
16697   return 0;
16698 }
16699 _ACEOF
16700 if ac_fn_cxx_try_link "$LINENO"; then :
16701   glibcxx_cv_c99_math_cxx98=yes
16702 else
16703   glibcxx_cv_c99_math_cxx98=no
16704 fi
16705 rm -f core conftest.err conftest.$ac_objext \
16706     conftest$ac_exeext conftest.$ac_ext
16707 fi
16708
16709 fi
16710
16711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16712 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16713     if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16714
16715 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16716
16717     fi
16718
16719     # Check for the existence of <complex.h> complex math functions.
16720     # This is necessary even though libstdc++ uses the builtin versions
16721     # of these functions, because if the builtin cannot be used, a reference
16722     # to the library function is emitted.
16723     for ac_header in tgmath.h
16724 do :
16725   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16726 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16727   cat >>confdefs.h <<_ACEOF
16728 #define HAVE_TGMATH_H 1
16729 _ACEOF
16730  ac_has_tgmath_h=yes
16731 else
16732   ac_has_tgmath_h=no
16733 fi
16734
16735 done
16736
16737     for ac_header in complex.h
16738 do :
16739   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_complex_h" = x""yes; then :
16741   cat >>confdefs.h <<_ACEOF
16742 #define HAVE_COMPLEX_H 1
16743 _ACEOF
16744  ac_has_complex_h=yes
16745 else
16746   ac_has_complex_h=no
16747 fi
16748
16749 done
16750
16751     if test x"$ac_has_complex_h" = x"yes"; then
16752       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16753 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16754       if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16755   $as_echo_n "(cached) " >&6
16756 else
16757
16758         if test x$gcc_no_link = xyes; then
16759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h.  */
16761 #include <complex.h>
16762            typedef __complex__ float float_type;
16763            typedef __complex__ double double_type;
16764            typedef __complex__ long double ld_type;
16765            volatile float_type tmpf;
16766            volatile double_type tmpd;
16767            volatile ld_type tmpld;
16768            volatile float f;
16769            volatile double d;
16770            volatile long double ld;
16771 int
16772 main ()
16773 {
16774 f = cabsf(tmpf);
16775            f = cargf(tmpf);
16776            tmpf = ccosf(tmpf);
16777            tmpf = ccoshf(tmpf);
16778            tmpf = cexpf(tmpf);
16779            tmpf = clogf(tmpf);
16780            tmpf = csinf(tmpf);
16781            tmpf = csinhf(tmpf);
16782            tmpf = csqrtf(tmpf);
16783            tmpf = ctanf(tmpf);
16784            tmpf = ctanhf(tmpf);
16785            tmpf = cpowf(tmpf, tmpf);
16786            tmpf = cprojf(tmpf);
16787            d = cabs(tmpd);
16788            d = carg(tmpd);
16789            tmpd = ccos(tmpd);
16790            tmpd = ccosh(tmpd);
16791            tmpd = cexp(tmpd);
16792            tmpd = clog(tmpd);
16793            tmpd = csin(tmpd);
16794            tmpd = csinh(tmpd);
16795            tmpd = csqrt(tmpd);
16796            tmpd = ctan(tmpd);
16797            tmpd = ctanh(tmpd);
16798            tmpd = cpow(tmpd, tmpd);
16799            tmpd = cproj(tmpd);
16800            ld = cabsl(tmpld);
16801            ld = cargl(tmpld);
16802            tmpld = ccosl(tmpld);
16803            tmpld = ccoshl(tmpld);
16804            tmpld = cexpl(tmpld);
16805            tmpld = clogl(tmpld);
16806            tmpld = csinl(tmpld);
16807            tmpld = csinhl(tmpld);
16808            tmpld = csqrtl(tmpld);
16809            tmpld = ctanl(tmpld);
16810            tmpld = ctanhl(tmpld);
16811            tmpld = cpowl(tmpld, tmpld);
16812            tmpld = cprojl(tmpld);
16813
16814   ;
16815   return 0;
16816 }
16817 _ACEOF
16818 if ac_fn_cxx_try_compile "$LINENO"; then :
16819   glibcxx_cv_c99_complex_cxx98=yes
16820 else
16821   glibcxx_cv_c99_complex_cxx98=no
16822 fi
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 else
16825   if test x$gcc_no_link = xyes; then
16826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 fi
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h.  */
16830 #include <complex.h>
16831            typedef __complex__ float float_type;
16832            typedef __complex__ double double_type;
16833            typedef __complex__ long double ld_type;
16834            volatile float_type tmpf;
16835            volatile double_type tmpd;
16836            volatile ld_type tmpld;
16837            volatile float f;
16838            volatile double d;
16839            volatile long double ld;
16840 int
16841 main ()
16842 {
16843 f = cabsf(tmpf);
16844            f = cargf(tmpf);
16845            tmpf = ccosf(tmpf);
16846            tmpf = ccoshf(tmpf);
16847            tmpf = cexpf(tmpf);
16848            tmpf = clogf(tmpf);
16849            tmpf = csinf(tmpf);
16850            tmpf = csinhf(tmpf);
16851            tmpf = csqrtf(tmpf);
16852            tmpf = ctanf(tmpf);
16853            tmpf = ctanhf(tmpf);
16854            tmpf = cpowf(tmpf, tmpf);
16855            tmpf = cprojf(tmpf);
16856            d = cabs(tmpd);
16857            d = carg(tmpd);
16858            tmpd = ccos(tmpd);
16859            tmpd = ccosh(tmpd);
16860            tmpd = cexp(tmpd);
16861            tmpd = clog(tmpd);
16862            tmpd = csin(tmpd);
16863            tmpd = csinh(tmpd);
16864            tmpd = csqrt(tmpd);
16865            tmpd = ctan(tmpd);
16866            tmpd = ctanh(tmpd);
16867            tmpd = cpow(tmpd, tmpd);
16868            tmpd = cproj(tmpd);
16869            ld = cabsl(tmpld);
16870            ld = cargl(tmpld);
16871            tmpld = ccosl(tmpld);
16872            tmpld = ccoshl(tmpld);
16873            tmpld = cexpl(tmpld);
16874            tmpld = clogl(tmpld);
16875            tmpld = csinl(tmpld);
16876            tmpld = csinhl(tmpld);
16877            tmpld = csqrtl(tmpld);
16878            tmpld = ctanl(tmpld);
16879            tmpld = ctanhl(tmpld);
16880            tmpld = cpowl(tmpld, tmpld);
16881            tmpld = cprojl(tmpld);
16882
16883   ;
16884   return 0;
16885 }
16886 _ACEOF
16887 if ac_fn_cxx_try_link "$LINENO"; then :
16888   glibcxx_cv_c99_complex_cxx98=yes
16889 else
16890   glibcxx_cv_c99_complex_cxx98=no
16891 fi
16892 rm -f core conftest.err conftest.$ac_objext \
16893     conftest$ac_exeext conftest.$ac_ext
16894 fi
16895
16896 fi
16897
16898     fi
16899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16900 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16901     if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16902
16903 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16904
16905     fi
16906
16907     # Check for the existence in <stdio.h> of vscanf, et. al.
16908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16909 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16910     if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16911   $as_echo_n "(cached) " >&6
16912 else
16913
16914       if test x$gcc_no_link = xyes; then
16915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h.  */
16917 #include <stdio.h>
16918          #include <stdarg.h>
16919          void foo(char* fmt, ...)
16920          {
16921            va_list args; va_start(args, fmt);
16922            vfscanf(stderr, "%i", args);
16923            vscanf("%i", args);
16924            vsnprintf(fmt, 0, "%i", args);
16925            vsscanf(fmt, "%i", args);
16926            snprintf(fmt, 0, "%i");
16927          }
16928 int
16929 main ()
16930 {
16931
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16937   glibcxx_cv_c99_stdio_cxx98=yes
16938 else
16939   glibcxx_cv_c99_stdio_cxx98=no
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 else
16943   if test x$gcc_no_link = xyes; then
16944   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 fi
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h.  */
16948 #include <stdio.h>
16949          #include <stdarg.h>
16950          void foo(char* fmt, ...)
16951          {
16952            va_list args; va_start(args, fmt);
16953            vfscanf(stderr, "%i", args);
16954            vscanf("%i", args);
16955            vsnprintf(fmt, 0, "%i", args);
16956            vsscanf(fmt, "%i", args);
16957            snprintf(fmt, 0, "%i");
16958          }
16959 int
16960 main ()
16961 {
16962
16963   ;
16964   return 0;
16965 }
16966 _ACEOF
16967 if ac_fn_cxx_try_link "$LINENO"; then :
16968   glibcxx_cv_c99_stdio_cxx98=yes
16969 else
16970   glibcxx_cv_c99_stdio_cxx98=no
16971 fi
16972 rm -f core conftest.err conftest.$ac_objext \
16973     conftest$ac_exeext conftest.$ac_ext
16974 fi
16975
16976 fi
16977
16978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16979 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16980     if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16981
16982 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16983
16984     fi
16985
16986     # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16988 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16989     if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16990   $as_echo_n "(cached) " >&6
16991 else
16992
16993       if test x$gcc_no_link = xyes; then
16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h.  */
16996 #include <stdlib.h>
16997          volatile float f;
16998          volatile long double ld;
16999          volatile unsigned long long ll;
17000          lldiv_t mydivt;
17001 int
17002 main ()
17003 {
17004 char* tmp;
17005          f = strtof("gnu", &tmp);
17006          ld = strtold("gnu", &tmp);
17007          ll = strtoll("gnu", &tmp, 10);
17008          ll = strtoull("gnu", &tmp, 10);
17009          ll = llabs(10);
17010          mydivt = lldiv(10,1);
17011          ll = mydivt.quot;
17012          ll = mydivt.rem;
17013          ll = atoll("10");
17014          _Exit(0);
17015
17016   ;
17017   return 0;
17018 }
17019 _ACEOF
17020 if ac_fn_cxx_try_compile "$LINENO"; then :
17021   glibcxx_cv_c99_stdlib_cxx98=yes
17022 else
17023   glibcxx_cv_c99_stdlib_cxx98=no
17024 fi
17025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 else
17027   if test x$gcc_no_link = xyes; then
17028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 fi
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h.  */
17032 #include <stdlib.h>
17033          volatile float f;
17034          volatile long double ld;
17035          volatile unsigned long long ll;
17036          lldiv_t mydivt;
17037 int
17038 main ()
17039 {
17040 char* tmp;
17041          f = strtof("gnu", &tmp);
17042          ld = strtold("gnu", &tmp);
17043          ll = strtoll("gnu", &tmp, 10);
17044          ll = strtoull("gnu", &tmp, 10);
17045          ll = llabs(10);
17046          mydivt = lldiv(10,1);
17047          ll = mydivt.quot;
17048          ll = mydivt.rem;
17049          ll = atoll("10");
17050          _Exit(0);
17051
17052   ;
17053   return 0;
17054 }
17055 _ACEOF
17056 if ac_fn_cxx_try_link "$LINENO"; then :
17057   glibcxx_cv_c99_stdlib_cxx98=yes
17058 else
17059   glibcxx_cv_c99_stdlib_cxx98=no
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext \
17062     conftest$ac_exeext conftest.$ac_ext
17063 fi
17064
17065 fi
17066
17067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17068 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17069     if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17070
17071 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17072
17073     fi
17074
17075     # Check for the existence in <wchar.h> of wcstold, etc.
17076     if test x"$ac_has_wchar_h" = xyes &&
17077        test x"$ac_has_wctype_h" = xyes; then
17078       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17079 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17080       if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17081   $as_echo_n "(cached) " >&6
17082 else
17083
17084         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h.  */
17086 #include <wchar.h>
17087           namespace test
17088           {
17089             using ::wcstold;
17090             using ::wcstoll;
17091             using ::wcstoull;
17092           }
17093
17094 int
17095 main ()
17096 {
17097
17098   ;
17099   return 0;
17100 }
17101 _ACEOF
17102 if ac_fn_cxx_try_compile "$LINENO"; then :
17103   glibcxx_cv_c99_wchar_cxx98=yes
17104 else
17105   glibcxx_cv_c99_wchar_cxx98=no
17106 fi
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108
17109 fi
17110
17111
17112       # Checks for wide character functions that may not be present.
17113       # Injection of these is wrapped with guard macros.
17114       # NB: only put functions here, instead of immediately above, if
17115       # absolutely necessary.
17116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h.  */
17118 #include <wchar.h>
17119         namespace test { using ::vfwscanf; }
17120 int
17121 main ()
17122 {
17123
17124   ;
17125   return 0;
17126 }
17127 _ACEOF
17128 if ac_fn_cxx_try_compile "$LINENO"; then :
17129
17130 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131
17132 fi
17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134
17135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h.  */
17137 #include <wchar.h>
17138         namespace test { using ::vswscanf; }
17139 int
17140 main ()
17141 {
17142
17143   ;
17144   return 0;
17145 }
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17148
17149 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150
17151 fi
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153
17154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h.  */
17156 #include <wchar.h>
17157         namespace test { using ::vwscanf; }
17158 int
17159 main ()
17160 {
17161
17162   ;
17163   return 0;
17164 }
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17167
17168 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169
17170 fi
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172
17173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h.  */
17175 #include <wchar.h>
17176         namespace test { using ::wcstof; }
17177 int
17178 main ()
17179 {
17180
17181   ;
17182   return 0;
17183 }
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17186
17187 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188
17189 fi
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191
17192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h.  */
17194 #include <wctype.h>
17195 int
17196 main ()
17197 {
17198 wint_t t; int i = iswblank(t);
17199   ;
17200   return 0;
17201 }
17202 _ACEOF
17203 if ac_fn_cxx_try_compile "$LINENO"; then :
17204
17205 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206
17207 fi
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209
17210       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17211 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17212       if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17213
17214 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17215
17216       fi
17217     fi
17218
17219     # Option parsed, now set things appropriately.
17220     if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17221        test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17222        test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17223        test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17224        test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17225       enable_c99=no;
17226     else
17227
17228 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17229
17230     fi
17231
17232     gcc_no_link="$ac_save_gcc_no_link"
17233     LIBS="$ac_save_LIBS"
17234     CXXFLAGS="$ac_save_CXXFLAGS"
17235     ac_ext=c
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17240
17241
17242
17243     ac_ext=cpp
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248
17249
17250     # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17251     # For the reasons given above we use -std=c++11 not -std=gnu++11.
17252     ac_save_CXXFLAGS="$CXXFLAGS"
17253     CXXFLAGS="$CXXFLAGS -std=c++11"
17254     ac_save_LIBS="$LIBS"
17255     ac_save_gcc_no_link="$gcc_no_link"
17256
17257     if test x$gcc_no_link != xyes; then
17258       # Use -fno-exceptions to that the C driver can link these tests without
17259       # hitting undefined references to personality routines.
17260       CXXFLAGS="$CXXFLAGS -fno-exceptions"
17261       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17262 $as_echo_n "checking for sin in -lm... " >&6; }
17263 if test "${ac_cv_lib_m_sin+set}" = set; then :
17264   $as_echo_n "(cached) " >&6
17265 else
17266   ac_check_lib_save_LIBS=$LIBS
17267 LIBS="-lm  $LIBS"
17268 if test x$gcc_no_link = xyes; then
17269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 fi
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h.  */
17273
17274 /* Override any GCC internal prototype to avoid an error.
17275    Use char because int might match the return type of a GCC
17276    builtin and then its argument prototype would still apply.  */
17277 #ifdef __cplusplus
17278 extern "C"
17279 #endif
17280 char sin ();
17281 int
17282 main ()
17283 {
17284 return sin ();
17285   ;
17286   return 0;
17287 }
17288 _ACEOF
17289 if ac_fn_cxx_try_link "$LINENO"; then :
17290   ac_cv_lib_m_sin=yes
17291 else
17292   ac_cv_lib_m_sin=no
17293 fi
17294 rm -f core conftest.err conftest.$ac_objext \
17295     conftest$ac_exeext conftest.$ac_ext
17296 LIBS=$ac_check_lib_save_LIBS
17297 fi
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17299 $as_echo "$ac_cv_lib_m_sin" >&6; }
17300 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17301   LIBS="$LIBS -lm"
17302 else
17303
17304         # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17305         gcc_no_link=yes
17306
17307 fi
17308
17309     fi
17310
17311     # Check for the existence of <math.h> functions used if C99 is enabled.
17312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17313 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17314     if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17315   $as_echo_n "(cached) " >&6
17316 else
17317
17318       if test x$gcc_no_link = xyes; then
17319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h.  */
17321 #include <math.h>
17322          volatile double d1, d2;
17323          volatile int i;
17324 int
17325 main ()
17326 {
17327 i = fpclassify(d1);
17328          i = isfinite(d1);
17329          i = isinf(d1);
17330          i = isnan(d1);
17331          i = isnormal(d1);
17332          i = signbit(d1);
17333          i = isgreater(d1, d2);
17334          i = isgreaterequal(d1, d2);
17335          i = isless(d1, d2);
17336          i = islessequal(d1, d2);
17337          i = islessgreater(d1, d2);
17338          i = islessgreater(d1, d2);
17339          i = isunordered(d1, d2);
17340
17341   ;
17342   return 0;
17343 }
17344 _ACEOF
17345 if ac_fn_cxx_try_compile "$LINENO"; then :
17346   glibcxx_cv_c99_math_cxx11=yes
17347 else
17348   glibcxx_cv_c99_math_cxx11=no
17349 fi
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 else
17352   if test x$gcc_no_link = xyes; then
17353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 fi
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h.  */
17357 #include <math.h>
17358          volatile double d1, d2;
17359          volatile int i;
17360 int
17361 main ()
17362 {
17363 i = fpclassify(d1);
17364          i = isfinite(d1);
17365          i = isinf(d1);
17366          i = isnan(d1);
17367          i = isnormal(d1);
17368          i = signbit(d1);
17369          i = isgreater(d1, d2);
17370          i = isgreaterequal(d1, d2);
17371          i = isless(d1, d2);
17372          i = islessequal(d1, d2);
17373          i = islessgreater(d1, d2);
17374          i = islessgreater(d1, d2);
17375          i = isunordered(d1, d2);
17376
17377   ;
17378   return 0;
17379 }
17380 _ACEOF
17381 if ac_fn_cxx_try_link "$LINENO"; then :
17382   glibcxx_cv_c99_math_cxx11=yes
17383 else
17384   glibcxx_cv_c99_math_cxx11=no
17385 fi
17386 rm -f core conftest.err conftest.$ac_objext \
17387     conftest$ac_exeext conftest.$ac_ext
17388 fi
17389
17390 fi
17391
17392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17393 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17394     if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17395
17396 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17397
17398     fi
17399
17400     # Check for the existence of <complex.h> complex math functions.
17401     # This is necessary even though libstdc++ uses the builtin versions
17402     # of these functions, because if the builtin cannot be used, a reference
17403     # to the library function is emitted.
17404     for ac_header in tgmath.h
17405 do :
17406   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17407 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17408   cat >>confdefs.h <<_ACEOF
17409 #define HAVE_TGMATH_H 1
17410 _ACEOF
17411  ac_has_tgmath_h=yes
17412 else
17413   ac_has_tgmath_h=no
17414 fi
17415
17416 done
17417
17418     for ac_header in complex.h
17419 do :
17420   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17421 if test "x$ac_cv_header_complex_h" = x""yes; then :
17422   cat >>confdefs.h <<_ACEOF
17423 #define HAVE_COMPLEX_H 1
17424 _ACEOF
17425  ac_has_complex_h=yes
17426 else
17427   ac_has_complex_h=no
17428 fi
17429
17430 done
17431
17432     if test x"$ac_has_complex_h" = x"yes"; then
17433       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17434 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17435       if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17436   $as_echo_n "(cached) " >&6
17437 else
17438
17439         if test x$gcc_no_link = xyes; then
17440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h.  */
17442 #include <complex.h>
17443            typedef __complex__ float float_type;
17444            typedef __complex__ double double_type;
17445            typedef __complex__ long double ld_type;
17446            volatile float_type tmpf;
17447            volatile double_type tmpd;
17448            volatile ld_type tmpld;
17449            volatile float f;
17450            volatile double d;
17451            volatile long double ld;
17452 int
17453 main ()
17454 {
17455 f = cabsf(tmpf);
17456            f = cargf(tmpf);
17457            tmpf = ccosf(tmpf);
17458            tmpf = ccoshf(tmpf);
17459            tmpf = cexpf(tmpf);
17460            tmpf = clogf(tmpf);
17461            tmpf = csinf(tmpf);
17462            tmpf = csinhf(tmpf);
17463            tmpf = csqrtf(tmpf);
17464            tmpf = ctanf(tmpf);
17465            tmpf = ctanhf(tmpf);
17466            tmpf = cpowf(tmpf, tmpf);
17467            tmpf = cprojf(tmpf);
17468            d = cabs(tmpd);
17469            d = carg(tmpd);
17470            tmpd = ccos(tmpd);
17471            tmpd = ccosh(tmpd);
17472            tmpd = cexp(tmpd);
17473            tmpd = clog(tmpd);
17474            tmpd = csin(tmpd);
17475            tmpd = csinh(tmpd);
17476            tmpd = csqrt(tmpd);
17477            tmpd = ctan(tmpd);
17478            tmpd = ctanh(tmpd);
17479            tmpd = cpow(tmpd, tmpd);
17480            tmpd = cproj(tmpd);
17481            ld = cabsl(tmpld);
17482            ld = cargl(tmpld);
17483            tmpld = ccosl(tmpld);
17484            tmpld = ccoshl(tmpld);
17485            tmpld = cexpl(tmpld);
17486            tmpld = clogl(tmpld);
17487            tmpld = csinl(tmpld);
17488            tmpld = csinhl(tmpld);
17489            tmpld = csqrtl(tmpld);
17490            tmpld = ctanl(tmpld);
17491            tmpld = ctanhl(tmpld);
17492            tmpld = cpowl(tmpld, tmpld);
17493            tmpld = cprojl(tmpld);
17494
17495   ;
17496   return 0;
17497 }
17498 _ACEOF
17499 if ac_fn_cxx_try_compile "$LINENO"; then :
17500   glibcxx_cv_c99_complex_cxx11=yes
17501 else
17502   glibcxx_cv_c99_complex_cxx11=no
17503 fi
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 else
17506   if test x$gcc_no_link = xyes; then
17507   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 fi
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h.  */
17511 #include <complex.h>
17512            typedef __complex__ float float_type;
17513            typedef __complex__ double double_type;
17514            typedef __complex__ long double ld_type;
17515            volatile float_type tmpf;
17516            volatile double_type tmpd;
17517            volatile ld_type tmpld;
17518            volatile float f;
17519            volatile double d;
17520            volatile long double ld;
17521 int
17522 main ()
17523 {
17524 f = cabsf(tmpf);
17525            f = cargf(tmpf);
17526            tmpf = ccosf(tmpf);
17527            tmpf = ccoshf(tmpf);
17528            tmpf = cexpf(tmpf);
17529            tmpf = clogf(tmpf);
17530            tmpf = csinf(tmpf);
17531            tmpf = csinhf(tmpf);
17532            tmpf = csqrtf(tmpf);
17533            tmpf = ctanf(tmpf);
17534            tmpf = ctanhf(tmpf);
17535            tmpf = cpowf(tmpf, tmpf);
17536            tmpf = cprojf(tmpf);
17537            d = cabs(tmpd);
17538            d = carg(tmpd);
17539            tmpd = ccos(tmpd);
17540            tmpd = ccosh(tmpd);
17541            tmpd = cexp(tmpd);
17542            tmpd = clog(tmpd);
17543            tmpd = csin(tmpd);
17544            tmpd = csinh(tmpd);
17545            tmpd = csqrt(tmpd);
17546            tmpd = ctan(tmpd);
17547            tmpd = ctanh(tmpd);
17548            tmpd = cpow(tmpd, tmpd);
17549            tmpd = cproj(tmpd);
17550            ld = cabsl(tmpld);
17551            ld = cargl(tmpld);
17552            tmpld = ccosl(tmpld);
17553            tmpld = ccoshl(tmpld);
17554            tmpld = cexpl(tmpld);
17555            tmpld = clogl(tmpld);
17556            tmpld = csinl(tmpld);
17557            tmpld = csinhl(tmpld);
17558            tmpld = csqrtl(tmpld);
17559            tmpld = ctanl(tmpld);
17560            tmpld = ctanhl(tmpld);
17561            tmpld = cpowl(tmpld, tmpld);
17562            tmpld = cprojl(tmpld);
17563
17564   ;
17565   return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_cxx_try_link "$LINENO"; then :
17569   glibcxx_cv_c99_complex_cxx11=yes
17570 else
17571   glibcxx_cv_c99_complex_cxx11=no
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext \
17574     conftest$ac_exeext conftest.$ac_ext
17575 fi
17576
17577 fi
17578
17579     fi
17580     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17581 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17582     if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17583
17584 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17585
17586     fi
17587
17588     # Check for the existence in <stdio.h> of vscanf, et. al.
17589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17590 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17591     if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17592   $as_echo_n "(cached) " >&6
17593 else
17594
17595       if test x$gcc_no_link = xyes; then
17596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h.  */
17598 #include <stdio.h>
17599          #include <stdarg.h>
17600          void foo(char* fmt, ...)
17601          {
17602            va_list args; va_start(args, fmt);
17603            vfscanf(stderr, "%i", args);
17604            vscanf("%i", args);
17605            vsnprintf(fmt, 0, "%i", args);
17606            vsscanf(fmt, "%i", args);
17607            snprintf(fmt, 0, "%i");
17608          }
17609 int
17610 main ()
17611 {
17612
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618   glibcxx_cv_c99_stdio_cxx11=yes
17619 else
17620   glibcxx_cv_c99_stdio_cxx11=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 else
17624   if test x$gcc_no_link = xyes; then
17625   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 fi
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h.  */
17629 #include <stdio.h>
17630          #include <stdarg.h>
17631          void foo(char* fmt, ...)
17632          {
17633            va_list args; va_start(args, fmt);
17634            vfscanf(stderr, "%i", args);
17635            vscanf("%i", args);
17636            vsnprintf(fmt, 0, "%i", args);
17637            vsscanf(fmt, "%i", args);
17638            snprintf(fmt, 0, "%i");
17639          }
17640 int
17641 main ()
17642 {
17643
17644   ;
17645   return 0;
17646 }
17647 _ACEOF
17648 if ac_fn_cxx_try_link "$LINENO"; then :
17649   glibcxx_cv_c99_stdio_cxx11=yes
17650 else
17651   glibcxx_cv_c99_stdio_cxx11=no
17652 fi
17653 rm -f core conftest.err conftest.$ac_objext \
17654     conftest$ac_exeext conftest.$ac_ext
17655 fi
17656
17657 fi
17658
17659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17660 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17661     if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17662
17663 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17664
17665     fi
17666
17667     # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17669 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17670     if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17671   $as_echo_n "(cached) " >&6
17672 else
17673
17674       if test x$gcc_no_link = xyes; then
17675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h.  */
17677 #include <stdlib.h>
17678          volatile float f;
17679          volatile long double ld;
17680          volatile unsigned long long ll;
17681          lldiv_t mydivt;
17682 int
17683 main ()
17684 {
17685 char* tmp;
17686          f = strtof("gnu", &tmp);
17687          ld = strtold("gnu", &tmp);
17688          ll = strtoll("gnu", &tmp, 10);
17689          ll = strtoull("gnu", &tmp, 10);
17690          ll = llabs(10);
17691          mydivt = lldiv(10,1);
17692          ll = mydivt.quot;
17693          ll = mydivt.rem;
17694          ll = atoll("10");
17695          _Exit(0);
17696
17697   ;
17698   return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_cxx_try_compile "$LINENO"; then :
17702   glibcxx_cv_c99_stdlib_cxx11=yes
17703 else
17704   glibcxx_cv_c99_stdlib_cxx11=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 else
17708   if test x$gcc_no_link = xyes; then
17709   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17710 fi
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h.  */
17713 #include <stdlib.h>
17714          volatile float f;
17715          volatile long double ld;
17716          volatile unsigned long long ll;
17717          lldiv_t mydivt;
17718 int
17719 main ()
17720 {
17721 char* tmp;
17722          f = strtof("gnu", &tmp);
17723          ld = strtold("gnu", &tmp);
17724          ll = strtoll("gnu", &tmp, 10);
17725          ll = strtoull("gnu", &tmp, 10);
17726          ll = llabs(10);
17727          mydivt = lldiv(10,1);
17728          ll = mydivt.quot;
17729          ll = mydivt.rem;
17730          ll = atoll("10");
17731          _Exit(0);
17732
17733   ;
17734   return 0;
17735 }
17736 _ACEOF
17737 if ac_fn_cxx_try_link "$LINENO"; then :
17738   glibcxx_cv_c99_stdlib_cxx11=yes
17739 else
17740   glibcxx_cv_c99_stdlib_cxx11=no
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext \
17743     conftest$ac_exeext conftest.$ac_ext
17744 fi
17745
17746 fi
17747
17748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17749 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17750     if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17751
17752 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17753
17754     fi
17755
17756     # Check for the existence in <wchar.h> of wcstold, etc.
17757     if test x"$ac_has_wchar_h" = xyes &&
17758        test x"$ac_has_wctype_h" = xyes; then
17759       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17760 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17761       if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17762   $as_echo_n "(cached) " >&6
17763 else
17764
17765         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h.  */
17767 #include <wchar.h>
17768           namespace test
17769           {
17770             using ::wcstold;
17771             using ::wcstoll;
17772             using ::wcstoull;
17773           }
17774
17775 int
17776 main ()
17777 {
17778
17779   ;
17780   return 0;
17781 }
17782 _ACEOF
17783 if ac_fn_cxx_try_compile "$LINENO"; then :
17784   glibcxx_cv_c99_wchar_cxx11=yes
17785 else
17786   glibcxx_cv_c99_wchar_cxx11=no
17787 fi
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789
17790 fi
17791
17792
17793       # Checks for wide character functions that may not be present.
17794       # Injection of these is wrapped with guard macros.
17795       # NB: only put functions here, instead of immediately above, if
17796       # absolutely necessary.
17797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h.  */
17799 #include <wchar.h>
17800         namespace test { using ::vfwscanf; }
17801 int
17802 main ()
17803 {
17804
17805   ;
17806   return 0;
17807 }
17808 _ACEOF
17809 if ac_fn_cxx_try_compile "$LINENO"; then :
17810
17811 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17812
17813 fi
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815
17816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h.  */
17818 #include <wchar.h>
17819         namespace test { using ::vswscanf; }
17820 int
17821 main ()
17822 {
17823
17824   ;
17825   return 0;
17826 }
17827 _ACEOF
17828 if ac_fn_cxx_try_compile "$LINENO"; then :
17829
17830 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17831
17832 fi
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834
17835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h.  */
17837 #include <wchar.h>
17838         namespace test { using ::vwscanf; }
17839 int
17840 main ()
17841 {
17842
17843   ;
17844   return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_cxx_try_compile "$LINENO"; then :
17848
17849 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17850
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h.  */
17856 #include <wchar.h>
17857         namespace test { using ::wcstof; }
17858 int
17859 main ()
17860 {
17861
17862   ;
17863   return 0;
17864 }
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17867
17868 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17869
17870 fi
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h.  */
17875 #include <wctype.h>
17876 int
17877 main ()
17878 {
17879 wint_t t; int i = iswblank(t);
17880   ;
17881   return 0;
17882 }
17883 _ACEOF
17884 if ac_fn_cxx_try_compile "$LINENO"; then :
17885
17886 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17887
17888 fi
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890
17891       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17892 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17893       if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17894
17895 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17896
17897       fi
17898     fi
17899
17900     gcc_no_link="$ac_save_gcc_no_link"
17901     LIBS="$ac_save_LIBS"
17902     CXXFLAGS="$ac_save_CXXFLAGS"
17903     ac_ext=c
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17908
17909   fi
17910
17911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17912 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17914 $as_echo "$enable_c99" >&6; }
17915
17916
17917    # Check whether --enable-concept-checks was given.
17918 if test "${enable_concept_checks+set}" = set; then :
17919   enableval=$enable_concept_checks;
17920       case "$enableval" in
17921        yes|no) ;;
17922        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17923       esac
17924
17925 else
17926   enable_concept_checks=no
17927 fi
17928
17929
17930   if test $enable_concept_checks = yes; then
17931
17932 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17933
17934   fi
17935
17936
17937    # Check whether --enable-libstdcxx-debug-flags was given.
17938 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17939   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17940       xno | x)    enable_libstdcxx_debug_flags= ;;
17941       x-*)        ;;
17942       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17943      esac
17944 else
17945   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17946 fi
17947
17948
17949
17950   # Option parsed, now set things appropriately
17951   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17952
17953
17954   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17955 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17956
17957
17958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17959 $as_echo_n "checking for additional debug build... " >&6; }
17960    # Check whether --enable-libstdcxx-debug was given.
17961 if test "${enable_libstdcxx_debug+set}" = set; then :
17962   enableval=$enable_libstdcxx_debug;
17963       case "$enableval" in
17964        yes|no) ;;
17965        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17966       esac
17967
17968 else
17969   enable_libstdcxx_debug=no
17970 fi
17971
17972
17973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17974 $as_echo "$enable_libstdcxx_debug" >&6; }
17975
17976
17977
17978
17979   enable_parallel=no;
17980
17981   # See if configured libgomp/omp.h exists. (libgomp may be in
17982   # noconfigdirs but not explicitly disabled.)
17983   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17984     enable_parallel=yes;
17985   else
17986     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17987 $as_echo "$as_me: target-libgomp not built" >&6;}
17988   fi
17989
17990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17991 $as_echo_n "checking for parallel mode support... " >&6; }
17992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17993 $as_echo "$enable_parallel" >&6; }
17994
17995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17996 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17997    # Check whether --enable-cxx-flags was given.
17998 if test "${enable_cxx_flags+set}" = set; then :
17999   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18000       xno | x)   enable_cxx_flags= ;;
18001       x-*)       ;;
18002       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18003      esac
18004 else
18005   enable_cxx_flags=
18006 fi
18007
18008
18009
18010   # Run through flags (either default or command-line) and set anything
18011   # extra (e.g., #defines) that must accompany particular g++ options.
18012   if test -n "$enable_cxx_flags"; then
18013     for f in $enable_cxx_flags; do
18014       case "$f" in
18015         -fhonor-std)  ;;
18016         -*)  ;;
18017         *)   # and we're trying to pass /what/ exactly?
18018              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18019       esac
18020     done
18021   fi
18022
18023   EXTRA_CXX_FLAGS="$enable_cxx_flags"
18024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18025 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18026
18027
18028
18029    # Check whether --enable-fully-dynamic-string was given.
18030 if test "${enable_fully_dynamic_string+set}" = set; then :
18031   enableval=$enable_fully_dynamic_string;
18032       case "$enableval" in
18033        yes|no) ;;
18034        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18035       esac
18036
18037 else
18038   enable_fully_dynamic_string=no
18039 fi
18040
18041
18042   if test $enable_fully_dynamic_string = yes; then
18043     enable_fully_dynamic_string_def=1
18044   else
18045     enable_fully_dynamic_string_def=0
18046   fi
18047
18048 cat >>confdefs.h <<_ACEOF
18049 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18050 _ACEOF
18051
18052
18053
18054
18055    # Check whether --enable-extern-template was given.
18056 if test "${enable_extern_template+set}" = set; then :
18057   enableval=$enable_extern_template;
18058       case "$enableval" in
18059        yes|no) ;;
18060        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18061       esac
18062
18063 else
18064   enable_extern_template=yes
18065 fi
18066
18067
18068
18069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18070 $as_echo_n "checking for extern template support... " >&6; }
18071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18072 $as_echo "$enable_extern_template" >&6; }
18073
18074
18075
18076
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18079 $as_echo_n "checking for custom python install directory... " >&6; }
18080
18081 # Check whether --with-python-dir was given.
18082 if test "${with_python_dir+set}" = set; then :
18083   withval=$with_python_dir; with_python_dir=$withval
18084 else
18085   with_python_dir="no"
18086 fi
18087
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18089 $as_echo "${with_python_dir}" >&6; }
18090
18091 # Needed for installing Python modules during make install.
18092 python_mod_dir="${with_python_dir}"
18093
18094
18095
18096
18097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18098 $as_echo_n "checking for -Werror... " >&6; }
18099    # Check whether --enable-werror was given.
18100 if test "${enable_werror+set}" = set; then :
18101   enableval=$enable_werror;
18102       case "$enableval" in
18103        yes|no) ;;
18104        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18105       esac
18106
18107 else
18108   enable_werror=yes
18109 fi
18110
18111
18112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18113 $as_echo "$enable_werror" >&6; }
18114
18115
18116
18117
18118    # Check whether --enable-vtable-verify was given.
18119 if test "${enable_vtable_verify+set}" = set; then :
18120   enableval=$enable_vtable_verify;
18121       case "$enableval" in
18122        yes|no) ;;
18123        *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18124       esac
18125
18126 else
18127   enable_vtable_verify=no
18128 fi
18129
18130
18131
18132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18133 $as_echo_n "checking for vtable verify support... " >&6; }
18134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18135 $as_echo "$enable_vtable_verify" >&6; }
18136
18137   vtv_cygmin=no
18138   if test $enable_vtable_verify = yes; then
18139     case ${target_os} in
18140       cygwin*|mingw32*)
18141         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18143         vtv_cygmin=yes
18144         ;;
18145       darwin*)
18146         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18147         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18148         ;;
18149       solaris2*)
18150         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18151         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18152         ;;
18153       *)
18154         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18155         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18156         ;;
18157     esac
18158     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18159   else
18160     VTV_CXXFLAGS=
18161     VTV_PCH_CXXFLAGS=
18162     VTV_CXXLINKFLAGS=
18163   fi
18164
18165
18166
18167
18168    if test x$vtv_cygmin = xyes; then
18169   VTV_CYGMIN_TRUE=
18170   VTV_CYGMIN_FALSE='#'
18171 else
18172   VTV_CYGMIN_TRUE='#'
18173   VTV_CYGMIN_FALSE=
18174 fi
18175
18176
18177
18178
18179 # Checks for operating systems support that doesn't require linking.
18180
18181
18182
18183   ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188
18189   # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18190   # and we don't need a declaration for C++14 anyway.
18191   ac_save_CXXFLAGS="$CXXFLAGS"
18192   CXXFLAGS="$CXXFLAGS -std=gnu++11"
18193
18194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18195 $as_echo_n "checking for gets declaration... " >&6; }
18196   if test "${glibcxx_cv_gets+set}" = set; then :
18197   $as_echo_n "(cached) " >&6
18198 else
18199
18200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h.  */
18202 #include <stdio.h>
18203            namespace test
18204            {
18205               using ::gets;
18206            }
18207
18208 _ACEOF
18209 if ac_fn_cxx_try_compile "$LINENO"; then :
18210   glibcxx_cv_gets=yes
18211 else
18212   glibcxx_cv_gets=no
18213
18214 fi
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 fi
18217
18218
18219   if test $glibcxx_cv_gets = yes; then
18220
18221 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18222
18223   fi
18224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18225 $as_echo "$glibcxx_cv_gets" >&6; }
18226
18227   CXXFLAGS="$ac_save_CXXFLAGS"
18228   ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18233
18234
18235
18236
18237
18238   ac_ext=cpp
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243
18244   ac_save_CXXFLAGS="$CXXFLAGS"
18245   CXXFLAGS="$CXXFLAGS -std=c++11"
18246
18247   case "$host" in
18248     *-*-solaris2.*)
18249       # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18250       # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18251       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18252 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18253       if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18254   $as_echo_n "(cached) " >&6
18255 else
18256
18257         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h.  */
18259 #include <math.h>
18260            #undef isfinite
18261            namespace std {
18262              inline bool isfinite(float __x)
18263              { return __builtin_isfinite(__x); }
18264            }
18265
18266 _ACEOF
18267 if ac_fn_cxx_try_compile "$LINENO"; then :
18268   glibcxx_cv_math11_fp_overload=no
18269 else
18270   glibcxx_cv_math11_fp_overload=yes
18271
18272 fi
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 fi
18275
18276
18277       # autoheader cannot handle indented templates.
18278
18279
18280       if test $glibcxx_cv_math11_fp_overload = yes; then
18281         $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18282
18283       fi
18284       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18285 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18286
18287       # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18288       # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18289       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18290 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18291       if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18292   $as_echo_n "(cached) " >&6
18293 else
18294
18295         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h.  */
18297 #include <math.h>
18298            namespace std {
18299              template<typename _Tp>
18300                struct __is_integer;
18301              template<>
18302                struct __is_integer<int>
18303                {
18304                  enum { __value = 1 };
18305                };
18306            }
18307            namespace __gnu_cxx {
18308              template<bool, typename>
18309                struct __enable_if;
18310              template<typename _Tp>
18311                struct __enable_if<true, _Tp>
18312                { typedef _Tp __type; };
18313            }
18314            namespace std {
18315              template<typename _Tp>
18316                constexpr typename __gnu_cxx::__enable_if
18317                          <__is_integer<_Tp>::__value, double>::__type
18318                log2(_Tp __x)
18319                { return __builtin_log2(__x); }
18320            }
18321            int
18322            main (void)
18323            {
18324              int i = 1000;
18325              return std::log2(i);
18326            }
18327
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330   glibcxx_cv_math11_int_overload=no
18331 else
18332   glibcxx_cv_math11_int_overload=yes
18333
18334 fi
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 fi
18337
18338
18339       # autoheader cannot handle indented templates.
18340
18341
18342       if test $glibcxx_cv_math11_int_overload = yes; then
18343         $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18344
18345       fi
18346       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18347 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18348       ;;
18349     *)
18350       # If <math.h> defines the obsolete isinf(double) and isnan(double)
18351       # functions (instead of or as well as the C99 generic macros) then we
18352       # can't define std::isinf(double) and std::isnan(double) in <cmath>
18353       # and must use the ones from <math.h> instead.
18354       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18355 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18356         if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18357   $as_echo_n "(cached) " >&6
18358 else
18359
18360           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h.  */
18362 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18363              #include <math.h>
18364              #undef isinf
18365              namespace std {
18366                using ::isinf;
18367                bool isinf(float);
18368                bool isinf(long double);
18369              }
18370              using std::isinf;
18371              bool b = isinf(0.0);
18372
18373 _ACEOF
18374 if ac_fn_cxx_try_compile "$LINENO"; then :
18375   glibcxx_cv_obsolete_isinf=yes
18376 else
18377   glibcxx_cv_obsolete_isinf=no
18378
18379 fi
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 fi
18382
18383       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18384 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18385       if test $glibcxx_cv_obsolete_isinf = yes; then
18386
18387 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18388
18389       fi
18390
18391       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18392 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18393         if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18394   $as_echo_n "(cached) " >&6
18395 else
18396
18397           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h.  */
18399 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18400              #include <math.h>
18401              #undef isnan
18402              namespace std {
18403                using ::isnan;
18404                bool isnan(float);
18405                bool isnan(long double);
18406              }
18407              using std::isnan;
18408              bool b = isnan(0.0);
18409
18410 _ACEOF
18411 if ac_fn_cxx_try_compile "$LINENO"; then :
18412   glibcxx_cv_obsolete_isnan=yes
18413 else
18414   glibcxx_cv_obsolete_isnan=no
18415
18416 fi
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 fi
18419
18420       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18421 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18422       if test $glibcxx_cv_obsolete_isnan = yes; then
18423
18424 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18425
18426       fi
18427       ;;
18428   esac
18429
18430   CXXFLAGS="$ac_save_CXXFLAGS"
18431   ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436
18437
18438
18439
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18441 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18442 if test "${glibcxx_cv_system_error1+set}" = set; then :
18443   $as_echo_n "(cached) " >&6
18444 else
18445
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h.  */
18448 #include <errno.h>
18449 int
18450 main ()
18451 {
18452 int i = EOWNERDEAD;
18453   ;
18454   return 0;
18455 }
18456 _ACEOF
18457 if ac_fn_c_try_compile "$LINENO"; then :
18458   glibcxx_cv_system_error1=yes
18459 else
18460   glibcxx_cv_system_error1=no
18461 fi
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463
18464 fi
18465
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18467 $as_echo "$glibcxx_cv_system_error1" >&6; }
18468 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18469
18470 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18471
18472 fi
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18474 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18475 if test "${glibcxx_cv_system_error2+set}" = set; then :
18476   $as_echo_n "(cached) " >&6
18477 else
18478
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h.  */
18481 #include <errno.h>
18482 int
18483 main ()
18484 {
18485 int i = ENOTRECOVERABLE;
18486   ;
18487   return 0;
18488 }
18489 _ACEOF
18490 if ac_fn_c_try_compile "$LINENO"; then :
18491   glibcxx_cv_system_error2=yes
18492 else
18493   glibcxx_cv_system_error2=no
18494 fi
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496
18497 fi
18498
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18500 $as_echo "$glibcxx_cv_system_error2" >&6; }
18501 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18502
18503 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18504
18505 fi
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18507 $as_echo_n "checking for ENOLINK... " >&6; }
18508 if test "${glibcxx_cv_system_error3+set}" = set; then :
18509   $as_echo_n "(cached) " >&6
18510 else
18511
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h.  */
18514 #include <errno.h>
18515 int
18516 main ()
18517 {
18518 int i = ENOLINK;
18519   ;
18520   return 0;
18521 }
18522 _ACEOF
18523 if ac_fn_c_try_compile "$LINENO"; then :
18524   glibcxx_cv_system_error3=yes
18525 else
18526   glibcxx_cv_system_error3=no
18527 fi
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529
18530 fi
18531
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18533 $as_echo "$glibcxx_cv_system_error3" >&6; }
18534 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18535
18536 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18537
18538 fi
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18540 $as_echo_n "checking for EPROTO... " >&6; }
18541 if test "${glibcxx_cv_system_error4+set}" = set; then :
18542   $as_echo_n "(cached) " >&6
18543 else
18544
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h.  */
18547 #include <errno.h>
18548 int
18549 main ()
18550 {
18551 int i = EPROTO;
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_c_try_compile "$LINENO"; then :
18557   glibcxx_cv_system_error4=yes
18558 else
18559   glibcxx_cv_system_error4=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562
18563 fi
18564
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18566 $as_echo "$glibcxx_cv_system_error4" >&6; }
18567 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18568
18569 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18570
18571 fi
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18573 $as_echo_n "checking for ENODATA... " >&6; }
18574 if test "${glibcxx_cv_system_error5+set}" = set; then :
18575   $as_echo_n "(cached) " >&6
18576 else
18577
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h.  */
18580 #include <errno.h>
18581 int
18582 main ()
18583 {
18584 int i = ENODATA;
18585   ;
18586   return 0;
18587 }
18588 _ACEOF
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590   glibcxx_cv_system_error5=yes
18591 else
18592   glibcxx_cv_system_error5=no
18593 fi
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595
18596 fi
18597
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18599 $as_echo "$glibcxx_cv_system_error5" >&6; }
18600 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18601
18602 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18606 $as_echo_n "checking for ENOSR... " >&6; }
18607 if test "${glibcxx_cv_system_error6+set}" = set; then :
18608   $as_echo_n "(cached) " >&6
18609 else
18610
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h.  */
18613 #include <errno.h>
18614 int
18615 main ()
18616 {
18617 int i = ENOSR;
18618   ;
18619   return 0;
18620 }
18621 _ACEOF
18622 if ac_fn_c_try_compile "$LINENO"; then :
18623   glibcxx_cv_system_error6=yes
18624 else
18625   glibcxx_cv_system_error6=no
18626 fi
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628
18629 fi
18630
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18632 $as_echo "$glibcxx_cv_system_error6" >&6; }
18633 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18634
18635 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18636
18637 fi
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18639 $as_echo_n "checking for ENOSTR... " >&6; }
18640 if test "${glibcxx_cv_system_error7+set}" = set; then :
18641   $as_echo_n "(cached) " >&6
18642 else
18643
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h.  */
18646 #include <errno.h>
18647 int
18648 main ()
18649 {
18650 int i = ENOSTR;
18651   ;
18652   return 0;
18653 }
18654 _ACEOF
18655 if ac_fn_c_try_compile "$LINENO"; then :
18656   glibcxx_cv_system_error7=yes
18657 else
18658   glibcxx_cv_system_error7=no
18659 fi
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661
18662 fi
18663
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18665 $as_echo "$glibcxx_cv_system_error7" >&6; }
18666 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18667
18668 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18669
18670 fi
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18672 $as_echo_n "checking for ETIME... " >&6; }
18673 if test "${glibcxx_cv_system_error8+set}" = set; then :
18674   $as_echo_n "(cached) " >&6
18675 else
18676
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h.  */
18679 #include <errno.h>
18680 int
18681 main ()
18682 {
18683 int i = ETIME;
18684   ;
18685   return 0;
18686 }
18687 _ACEOF
18688 if ac_fn_c_try_compile "$LINENO"; then :
18689   glibcxx_cv_system_error8=yes
18690 else
18691   glibcxx_cv_system_error8=no
18692 fi
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694
18695 fi
18696
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18698 $as_echo "$glibcxx_cv_system_error8" >&6; }
18699 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18700
18701 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18702
18703 fi
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18705 $as_echo_n "checking for EBADMSG... " >&6; }
18706 if test "${glibcxx_cv_system_error9+set}" = set; then :
18707   $as_echo_n "(cached) " >&6
18708 else
18709
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h.  */
18712 #include <errno.h>
18713 int
18714 main ()
18715 {
18716 int i = EBADMSG;
18717   ;
18718   return 0;
18719 }
18720 _ACEOF
18721 if ac_fn_c_try_compile "$LINENO"; then :
18722   glibcxx_cv_system_error9=yes
18723 else
18724   glibcxx_cv_system_error9=no
18725 fi
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727
18728 fi
18729
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18731 $as_echo "$glibcxx_cv_system_error9" >&6; }
18732 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18733
18734 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18735
18736 fi
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18738 $as_echo_n "checking for ECANCELED... " >&6; }
18739 if test "${glibcxx_cv_system_error10+set}" = set; then :
18740   $as_echo_n "(cached) " >&6
18741 else
18742
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h.  */
18745 #include <errno.h>
18746 int
18747 main ()
18748 {
18749 int i = ECANCELED;
18750   ;
18751   return 0;
18752 }
18753 _ACEOF
18754 if ac_fn_c_try_compile "$LINENO"; then :
18755   glibcxx_cv_system_error10=yes
18756 else
18757   glibcxx_cv_system_error10=no
18758 fi
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18760
18761 fi
18762
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18764 $as_echo "$glibcxx_cv_system_error10" >&6; }
18765 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18766
18767 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18768
18769 fi
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18771 $as_echo_n "checking for EOVERFLOW... " >&6; }
18772 if test "${glibcxx_cv_system_error11+set}" = set; then :
18773   $as_echo_n "(cached) " >&6
18774 else
18775
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h.  */
18778 #include <errno.h>
18779 int
18780 main ()
18781 {
18782 int i = EOVERFLOW;
18783   ;
18784   return 0;
18785 }
18786 _ACEOF
18787 if ac_fn_c_try_compile "$LINENO"; then :
18788   glibcxx_cv_system_error11=yes
18789 else
18790   glibcxx_cv_system_error11=no
18791 fi
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793
18794 fi
18795
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18797 $as_echo "$glibcxx_cv_system_error11" >&6; }
18798 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18799
18800 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18801
18802 fi
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18804 $as_echo_n "checking for ENOTSUP... " >&6; }
18805 if test "${glibcxx_cv_system_error12+set}" = set; then :
18806   $as_echo_n "(cached) " >&6
18807 else
18808
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h.  */
18811 #include <errno.h>
18812 int
18813 main ()
18814 {
18815 int i = ENOTSUP;
18816   ;
18817   return 0;
18818 }
18819 _ACEOF
18820 if ac_fn_c_try_compile "$LINENO"; then :
18821   glibcxx_cv_system_error12=yes
18822 else
18823   glibcxx_cv_system_error12=no
18824 fi
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826
18827 fi
18828
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18830 $as_echo "$glibcxx_cv_system_error12" >&6; }
18831 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18832
18833 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18834
18835 fi
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18837 $as_echo_n "checking for EIDRM... " >&6; }
18838 if test "${glibcxx_cv_system_error13+set}" = set; then :
18839   $as_echo_n "(cached) " >&6
18840 else
18841
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h.  */
18844 #include <errno.h>
18845 int
18846 main ()
18847 {
18848 int i = EIDRM;
18849   ;
18850   return 0;
18851 }
18852 _ACEOF
18853 if ac_fn_c_try_compile "$LINENO"; then :
18854   glibcxx_cv_system_error13=yes
18855 else
18856   glibcxx_cv_system_error13=no
18857 fi
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859
18860 fi
18861
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18863 $as_echo "$glibcxx_cv_system_error13" >&6; }
18864 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865
18866 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18867
18868 fi
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18870 $as_echo_n "checking for ETXTBSY... " >&6; }
18871 if test "${glibcxx_cv_system_error14+set}" = set; then :
18872   $as_echo_n "(cached) " >&6
18873 else
18874
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h.  */
18877 #include <errno.h>
18878 int
18879 main ()
18880 {
18881 int i = ETXTBSY;
18882   ;
18883   return 0;
18884 }
18885 _ACEOF
18886 if ac_fn_c_try_compile "$LINENO"; then :
18887   glibcxx_cv_system_error14=yes
18888 else
18889   glibcxx_cv_system_error14=no
18890 fi
18891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18892
18893 fi
18894
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18896 $as_echo "$glibcxx_cv_system_error14" >&6; }
18897 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18898
18899 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18900
18901 fi
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18903 $as_echo_n "checking for ECHILD... " >&6; }
18904 if test "${glibcxx_cv_system_error15+set}" = set; then :
18905   $as_echo_n "(cached) " >&6
18906 else
18907
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h.  */
18910 #include <errno.h>
18911 int
18912 main ()
18913 {
18914 int i = ECHILD;
18915   ;
18916   return 0;
18917 }
18918 _ACEOF
18919 if ac_fn_c_try_compile "$LINENO"; then :
18920   glibcxx_cv_system_error15=yes
18921 else
18922   glibcxx_cv_system_error15=no
18923 fi
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925
18926 fi
18927
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18929 $as_echo "$glibcxx_cv_system_error15" >&6; }
18930 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18931
18932 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18933
18934 fi
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18936 $as_echo_n "checking for ENOSPC... " >&6; }
18937 if test "${glibcxx_cv_system_error16+set}" = set; then :
18938   $as_echo_n "(cached) " >&6
18939 else
18940
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h.  */
18943 #include <errno.h>
18944 int
18945 main ()
18946 {
18947 int i = ENOSPC;
18948   ;
18949   return 0;
18950 }
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953   glibcxx_cv_system_error16=yes
18954 else
18955   glibcxx_cv_system_error16=no
18956 fi
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958
18959 fi
18960
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18962 $as_echo "$glibcxx_cv_system_error16" >&6; }
18963 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18964
18965 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18969 $as_echo_n "checking for EPERM... " >&6; }
18970 if test "${glibcxx_cv_system_error17+set}" = set; then :
18971   $as_echo_n "(cached) " >&6
18972 else
18973
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h.  */
18976 #include <errno.h>
18977 int
18978 main ()
18979 {
18980 int i = EPERM;
18981   ;
18982   return 0;
18983 }
18984 _ACEOF
18985 if ac_fn_c_try_compile "$LINENO"; then :
18986   glibcxx_cv_system_error17=yes
18987 else
18988   glibcxx_cv_system_error17=no
18989 fi
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991
18992 fi
18993
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18995 $as_echo "$glibcxx_cv_system_error17" >&6; }
18996 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18997
18998 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18999
19000 fi
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19002 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19003 if test "${glibcxx_cv_system_error18+set}" = set; then :
19004   $as_echo_n "(cached) " >&6
19005 else
19006
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h.  */
19009 #include <errno.h>
19010 int
19011 main ()
19012 {
19013 int i = ETIMEDOUT;
19014   ;
19015   return 0;
19016 }
19017 _ACEOF
19018 if ac_fn_c_try_compile "$LINENO"; then :
19019   glibcxx_cv_system_error18=yes
19020 else
19021   glibcxx_cv_system_error18=no
19022 fi
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024
19025 fi
19026
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19028 $as_echo "$glibcxx_cv_system_error18" >&6; }
19029 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19030
19031 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19032
19033 fi
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19035 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19036 if test "${glibcxx_cv_system_error19+set}" = set; then :
19037   $as_echo_n "(cached) " >&6
19038 else
19039
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h.  */
19042 #include <errno.h>
19043 int
19044 main ()
19045 {
19046 int i = EWOULDBLOCK;
19047   ;
19048   return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_c_try_compile "$LINENO"; then :
19052   glibcxx_cv_system_error19=yes
19053 else
19054   glibcxx_cv_system_error19=no
19055 fi
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057
19058 fi
19059
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19061 $as_echo "$glibcxx_cv_system_error19" >&6; }
19062 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19063
19064 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19065
19066 fi
19067
19068
19069
19070
19071   # Test uchar.h.
19072   for ac_header in uchar.h
19073 do :
19074   ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19075 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19076   cat >>confdefs.h <<_ACEOF
19077 #define HAVE_UCHAR_H 1
19078 _ACEOF
19079  ac_has_uchar_h=yes
19080 else
19081   ac_has_uchar_h=no
19082 fi
19083
19084 done
19085
19086
19087
19088   ac_ext=cpp
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093
19094   ac_save_CXXFLAGS="$CXXFLAGS"
19095   CXXFLAGS="$CXXFLAGS -std=c++11"
19096
19097   if test x"$ac_has_uchar_h" = x"yes"; then
19098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19099 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19100     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h.  */
19102 #include <uchar.h>
19103                     #ifdef __STDC_UTF_16__
19104                     long i = __STDC_UTF_16__;
19105                     #endif
19106                     #ifdef __STDC_UTF_32__
19107                     long j = __STDC_UTF_32__;
19108                     #endif
19109                     namespace test
19110                     {
19111                       using ::c16rtomb;
19112                       using ::c32rtomb;
19113                       using ::mbrtoc16;
19114                       using ::mbrtoc32;
19115                     }
19116
19117 int
19118 main ()
19119 {
19120
19121   ;
19122   return 0;
19123 }
19124 _ACEOF
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126   ac_c11_uchar_cxx11=yes
19127 else
19128   ac_c11_uchar_cxx11=no
19129 fi
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131   else
19132     ac_c11_uchar_cxx11=no
19133   fi
19134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19135 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19136   if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19137
19138 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19139
19140   fi
19141
19142   CXXFLAGS="$ac_save_CXXFLAGS"
19143   ac_ext=c
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19148
19149
19150
19151 # For the streamoff typedef.
19152
19153
19154
19155   ac_ext=cpp
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160
19161
19162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19163 $as_echo_n "checking for int64_t... " >&6; }
19164   if test "${glibcxx_cv_INT64_T+set}" = set; then :
19165   $as_echo_n "(cached) " >&6
19166 else
19167
19168     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h.  */
19170 #include <stdint.h>
19171 int
19172 main ()
19173 {
19174 int64_t var;
19175   ;
19176   return 0;
19177 }
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180   glibcxx_cv_INT64_T=yes
19181 else
19182   glibcxx_cv_INT64_T=no
19183 fi
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185
19186 fi
19187
19188
19189   if test $glibcxx_cv_INT64_T = yes; then
19190
19191 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19192
19193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19194 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19195
19196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19197 $as_echo_n "checking for int64_t as long... " >&6; }
19198     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19199   $as_echo_n "(cached) " >&6
19200 else
19201
19202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h.  */
19204 #include <stdint.h>
19205         template<typename, typename> struct same { enum { value = -1 }; };
19206         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19207         int array[same<int64_t, long>::value];
19208 int
19209 main ()
19210 {
19211
19212   ;
19213   return 0;
19214 }
19215 _ACEOF
19216 if ac_fn_cxx_try_compile "$LINENO"; then :
19217   glibcxx_cv_int64_t_long=yes
19218 else
19219   glibcxx_cv_int64_t_long=no
19220 fi
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222
19223 fi
19224
19225
19226     if test $glibcxx_cv_int64_t_long = yes; then
19227
19228 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19229
19230       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19231 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19232     fi
19233
19234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19235 $as_echo_n "checking for int64_t as long long... " >&6; }
19236     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19237   $as_echo_n "(cached) " >&6
19238 else
19239
19240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h.  */
19242 #include <stdint.h>
19243         template<typename, typename> struct same { enum { value = -1 }; };
19244         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19245         int array[same<int64_t, long long>::value];
19246 int
19247 main ()
19248 {
19249
19250   ;
19251   return 0;
19252 }
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255   glibcxx_cv_int64_t_long_long=yes
19256 else
19257   glibcxx_cv_int64_t_long_long=no
19258 fi
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260
19261 fi
19262
19263
19264     if test $glibcxx_cv_int64_t_long_long = yes; then
19265
19266 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19267
19268       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19269 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19270     fi
19271   fi
19272
19273   ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19278
19279
19280
19281 # For LFS support.
19282
19283
19284   ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289
19290   ac_save_CXXFLAGS="$CXXFLAGS"
19291   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19293 $as_echo_n "checking for LFS support... " >&6; }
19294   if test "${glibcxx_cv_LFS+set}" = set; then :
19295   $as_echo_n "(cached) " >&6
19296 else
19297
19298     if test x$gcc_no_link = xyes; then
19299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h.  */
19301 #include <unistd.h>
19302        #include <stdio.h>
19303        #include <sys/stat.h>
19304
19305 int
19306 main ()
19307 {
19308 FILE* fp;
19309        fopen64("t", "w");
19310        fseeko64(fp, 0, SEEK_CUR);
19311        ftello64(fp);
19312        lseek64(1, 0, SEEK_CUR);
19313        struct stat64 buf;
19314        fstat64(1, &buf);
19315   ;
19316   return 0;
19317 }
19318 _ACEOF
19319 if ac_fn_cxx_try_compile "$LINENO"; then :
19320   glibcxx_cv_LFS=yes
19321 else
19322   glibcxx_cv_LFS=no
19323 fi
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 else
19326   if test x$gcc_no_link = xyes; then
19327   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 fi
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h.  */
19331 #include <unistd.h>
19332        #include <stdio.h>
19333        #include <sys/stat.h>
19334
19335 int
19336 main ()
19337 {
19338 FILE* fp;
19339        fopen64("t", "w");
19340        fseeko64(fp, 0, SEEK_CUR);
19341        ftello64(fp);
19342        lseek64(1, 0, SEEK_CUR);
19343        struct stat64 buf;
19344        fstat64(1, &buf);
19345   ;
19346   return 0;
19347 }
19348 _ACEOF
19349 if ac_fn_cxx_try_link "$LINENO"; then :
19350   glibcxx_cv_LFS=yes
19351 else
19352   glibcxx_cv_LFS=no
19353 fi
19354 rm -f core conftest.err conftest.$ac_objext \
19355     conftest$ac_exeext conftest.$ac_ext
19356 fi
19357
19358 fi
19359
19360   if test $glibcxx_cv_LFS = yes; then
19361
19362 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19363
19364   fi
19365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19366 $as_echo "$glibcxx_cv_LFS" >&6; }
19367   CXXFLAGS="$ac_save_CXXFLAGS"
19368   ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373
19374
19375
19376 # For showmanyc_helper().
19377 for ac_header in sys/ioctl.h sys/filio.h
19378 do :
19379   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19381 eval as_val=\$$as_ac_Header
19382    if test "x$as_val" = x""yes; then :
19383   cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19386
19387 fi
19388
19389 done
19390
19391
19392
19393
19394   ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399
19400   ac_save_CXXFLAGS="$CXXFLAGS"
19401   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402
19403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405   if test "${glibcxx_cv_POLL+set}" = set; then :
19406   $as_echo_n "(cached) " >&6
19407 else
19408
19409     if test x$gcc_no_link = xyes; then
19410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h.  */
19412 #include <poll.h>
19413 int
19414 main ()
19415 {
19416 struct pollfd pfd[1];
19417        pfd[0].events = POLLIN;
19418        poll(pfd, 1, 0);
19419   ;
19420   return 0;
19421 }
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424   glibcxx_cv_POLL=yes
19425 else
19426   glibcxx_cv_POLL=no
19427 fi
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430   if test x$gcc_no_link = xyes; then
19431   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 fi
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h.  */
19435 #include <poll.h>
19436 int
19437 main ()
19438 {
19439 struct pollfd pfd[1];
19440        pfd[0].events = POLLIN;
19441        poll(pfd, 1, 0);
19442   ;
19443   return 0;
19444 }
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447   glibcxx_cv_POLL=yes
19448 else
19449   glibcxx_cv_POLL=no
19450 fi
19451 rm -f core conftest.err conftest.$ac_objext \
19452     conftest$ac_exeext conftest.$ac_ext
19453 fi
19454
19455 fi
19456
19457   if test $glibcxx_cv_POLL = yes; then
19458
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19460
19461   fi
19462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19464
19465   CXXFLAGS="$ac_save_CXXFLAGS"
19466   ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19471
19472
19473
19474
19475
19476   ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481
19482   ac_save_CXXFLAGS="$CXXFLAGS"
19483   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484
19485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19488   $as_echo_n "(cached) " >&6
19489 else
19490
19491     if test x$gcc_no_link = xyes; then
19492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h.  */
19494 #include <sys/stat.h>
19495 int
19496 main ()
19497 {
19498 struct stat buffer;
19499        fstat(0, &buffer);
19500        S_ISREG(buffer.st_mode);
19501   ;
19502   return 0;
19503 }
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506   glibcxx_cv_S_ISREG=yes
19507 else
19508   glibcxx_cv_S_ISREG=no
19509 fi
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512   if test x$gcc_no_link = xyes; then
19513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 fi
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h.  */
19517 #include <sys/stat.h>
19518 int
19519 main ()
19520 {
19521 struct stat buffer;
19522        fstat(0, &buffer);
19523        S_ISREG(buffer.st_mode);
19524   ;
19525   return 0;
19526 }
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529   glibcxx_cv_S_ISREG=yes
19530 else
19531   glibcxx_cv_S_ISREG=no
19532 fi
19533 rm -f core conftest.err conftest.$ac_objext \
19534     conftest$ac_exeext conftest.$ac_ext
19535 fi
19536
19537 fi
19538
19539   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19540   $as_echo_n "(cached) " >&6
19541 else
19542
19543     if test x$gcc_no_link = xyes; then
19544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h.  */
19546 #include <sys/stat.h>
19547 int
19548 main ()
19549 {
19550 struct stat buffer;
19551        fstat(0, &buffer);
19552        S_IFREG & buffer.st_mode;
19553   ;
19554   return 0;
19555 }
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558   glibcxx_cv_S_IFREG=yes
19559 else
19560   glibcxx_cv_S_IFREG=no
19561 fi
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564   if test x$gcc_no_link = xyes; then
19565   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 fi
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h.  */
19569 #include <sys/stat.h>
19570 int
19571 main ()
19572 {
19573 struct stat buffer;
19574        fstat(0, &buffer);
19575        S_IFREG & buffer.st_mode;
19576   ;
19577   return 0;
19578 }
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581   glibcxx_cv_S_IFREG=yes
19582 else
19583   glibcxx_cv_S_IFREG=no
19584 fi
19585 rm -f core conftest.err conftest.$ac_objext \
19586     conftest$ac_exeext conftest.$ac_ext
19587 fi
19588
19589 fi
19590
19591   res=no
19592   if test $glibcxx_cv_S_ISREG = yes; then
19593
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595
19596     res=S_ISREG
19597   elif test $glibcxx_cv_S_IFREG = yes; then
19598
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600
19601     res=S_IFREG
19602   fi
19603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19605
19606   CXXFLAGS="$ac_save_CXXFLAGS"
19607   ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612
19613
19614
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19620   cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19623
19624 fi
19625
19626 done
19627
19628
19629
19630
19631   ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636
19637   ac_save_CXXFLAGS="$CXXFLAGS"
19638   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639
19640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642   if test "${glibcxx_cv_WRITEV+set}" = set; then :
19643   $as_echo_n "(cached) " >&6
19644 else
19645
19646     if test x$gcc_no_link = xyes; then
19647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h.  */
19649 #include <sys/uio.h>
19650 int
19651 main ()
19652 {
19653 struct iovec iov[2];
19654        writev(0, iov, 0);
19655   ;
19656   return 0;
19657 }
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660   glibcxx_cv_WRITEV=yes
19661 else
19662   glibcxx_cv_WRITEV=no
19663 fi
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666   if test x$gcc_no_link = xyes; then
19667   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 fi
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h.  */
19671 #include <sys/uio.h>
19672 int
19673 main ()
19674 {
19675 struct iovec iov[2];
19676        writev(0, iov, 0);
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682   glibcxx_cv_WRITEV=yes
19683 else
19684   glibcxx_cv_WRITEV=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687     conftest$ac_exeext conftest.$ac_ext
19688 fi
19689
19690 fi
19691
19692   if test $glibcxx_cv_WRITEV = yes; then
19693
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19695
19696   fi
19697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699
19700   CXXFLAGS="$ac_save_CXXFLAGS"
19701   ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19706
19707
19708
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 eval as_val=\$$as_ac_Header
19718    if test "x$as_val" = x""yes; then :
19719   cat >>confdefs.h <<_ACEOF
19720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19721 _ACEOF
19722
19723 fi
19724
19725 done
19726
19727
19728 # For C99 support to TR1.
19729
19730
19731
19732   ac_ext=cpp
19733 ac_cpp='$CXXCPP $CPPFLAGS'
19734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19737
19738
19739   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19740   # undefined and fake C99 facilities may be spuriously enabled.
19741   ac_save_CXXFLAGS="$CXXFLAGS"
19742   CXXFLAGS="$CXXFLAGS -std=c++98"
19743
19744   # Check for the existence of <complex.h> complex math functions used
19745   # by tr1/complex.
19746   for ac_header in complex.h
19747 do :
19748   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19749 if test "x$ac_cv_header_complex_h" = x""yes; then :
19750   cat >>confdefs.h <<_ACEOF
19751 #define HAVE_COMPLEX_H 1
19752 _ACEOF
19753  ac_has_complex_h=yes
19754 else
19755   ac_has_complex_h=no
19756 fi
19757
19758 done
19759
19760   ac_c99_complex_tr1=no;
19761   if test x"$ac_has_complex_h" = x"yes"; then
19762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19763 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19764     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h.  */
19766 #include <complex.h>
19767 int
19768 main ()
19769 {
19770 typedef __complex__ float float_type; float_type tmpf;
19771                     cacosf(tmpf);
19772                     casinf(tmpf);
19773                     catanf(tmpf);
19774                     cacoshf(tmpf);
19775                     casinhf(tmpf);
19776                     catanhf(tmpf);
19777                     typedef __complex__ double double_type; double_type tmpd;
19778                     cacos(tmpd);
19779                     casin(tmpd);
19780                     catan(tmpd);
19781                     cacosh(tmpd);
19782                     casinh(tmpd);
19783                     catanh(tmpd);
19784                     typedef __complex__ long double ld_type; ld_type tmpld;
19785                     cacosl(tmpld);
19786                     casinl(tmpld);
19787                     catanl(tmpld);
19788                     cacoshl(tmpld);
19789                     casinhl(tmpld);
19790                     catanhl(tmpld);
19791
19792   ;
19793   return 0;
19794 }
19795 _ACEOF
19796 if ac_fn_cxx_try_compile "$LINENO"; then :
19797   ac_c99_complex_tr1=yes
19798 else
19799   ac_c99_complex_tr1=no
19800 fi
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802   fi
19803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19804 $as_echo "$ac_c99_complex_tr1" >&6; }
19805   if test x"$ac_c99_complex_tr1" = x"yes"; then
19806
19807 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19808
19809   fi
19810
19811   # Check for the existence of <ctype.h> functions.
19812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19813 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19814   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19815   $as_echo_n "(cached) " >&6
19816 else
19817
19818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h.  */
19820 #include <ctype.h>
19821 int
19822 main ()
19823 {
19824 int ch;
19825                   int ret;
19826                   ret = isblank(ch);
19827
19828   ;
19829   return 0;
19830 }
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833   glibcxx_cv_c99_ctype_tr1=yes
19834 else
19835   glibcxx_cv_c99_ctype_tr1=no
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838
19839 fi
19840
19841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19842 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19843   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19846
19847   fi
19848
19849   # Check for the existence of <fenv.h> functions.
19850   for ac_header in fenv.h
19851 do :
19852   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19853 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19854   cat >>confdefs.h <<_ACEOF
19855 #define HAVE_FENV_H 1
19856 _ACEOF
19857  ac_has_fenv_h=yes
19858 else
19859   ac_has_fenv_h=no
19860 fi
19861
19862 done
19863
19864   ac_c99_fenv_tr1=no;
19865   if test x"$ac_has_fenv_h" = x"yes"; then
19866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19867 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19868     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h.  */
19870 #include <fenv.h>
19871 int
19872 main ()
19873 {
19874 int except, mode;
19875                     fexcept_t* pflag;
19876                     fenv_t* penv;
19877                     int ret;
19878                     ret = feclearexcept(except);
19879                     ret = fegetexceptflag(pflag, except);
19880                     ret = feraiseexcept(except);
19881                     ret = fesetexceptflag(pflag, except);
19882                     ret = fetestexcept(except);
19883                     ret = fegetround();
19884                     ret = fesetround(mode);
19885                     ret = fegetenv(penv);
19886                     ret = feholdexcept(penv);
19887                     ret = fesetenv(penv);
19888                     ret = feupdateenv(penv);
19889
19890   ;
19891   return 0;
19892 }
19893 _ACEOF
19894 if ac_fn_cxx_try_compile "$LINENO"; then :
19895   ac_c99_fenv_tr1=yes
19896 else
19897   ac_c99_fenv_tr1=no
19898 fi
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900   fi
19901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19902 $as_echo "$ac_c99_fenv_tr1" >&6; }
19903   if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904
19905 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19906
19907   fi
19908
19909   # Check for the existence of <stdint.h> types.
19910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19911 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19912   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19913   $as_echo_n "(cached) " >&6
19914 else
19915
19916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h.  */
19918 #define __STDC_LIMIT_MACROS
19919                   #define __STDC_CONSTANT_MACROS
19920                   #include <stdint.h>
19921 int
19922 main ()
19923 {
19924 typedef int8_t          my_int8_t;
19925                   my_int8_t               i8 = INT8_MIN;
19926                   i8 = INT8_MAX;
19927                   typedef int16_t         my_int16_t;
19928                   my_int16_t              i16 = INT16_MIN;
19929                   i16 = INT16_MAX;
19930                   typedef int32_t         my_int32_t;
19931                   my_int32_t              i32 = INT32_MIN;
19932                   i32 = INT32_MAX;
19933                   typedef int64_t         my_int64_t;
19934                   my_int64_t              i64 = INT64_MIN;
19935                   i64 = INT64_MAX;
19936                   typedef int_fast8_t     my_int_fast8_t;
19937                   my_int_fast8_t          if8 = INT_FAST8_MIN;
19938                   if8 = INT_FAST8_MAX;
19939                   typedef int_fast16_t    my_int_fast16_t;
19940                   my_int_fast16_t         if16 = INT_FAST16_MIN;
19941                   if16 = INT_FAST16_MAX;
19942                   typedef int_fast32_t    my_int_fast32_t;
19943                   my_int_fast32_t         if32 = INT_FAST32_MIN;
19944                   if32 = INT_FAST32_MAX;
19945                   typedef int_fast64_t    my_int_fast64_t;
19946                   my_int_fast64_t         if64 = INT_FAST64_MIN;
19947                   if64 = INT_FAST64_MAX;
19948                   typedef int_least8_t    my_int_least8_t;
19949                   my_int_least8_t         il8 = INT_LEAST8_MIN;
19950                   il8 = INT_LEAST8_MAX;
19951                   typedef int_least16_t   my_int_least16_t;
19952                   my_int_least16_t        il16 = INT_LEAST16_MIN;
19953                   il16 = INT_LEAST16_MAX;
19954                   typedef int_least32_t   my_int_least32_t;
19955                   my_int_least32_t        il32 = INT_LEAST32_MIN;
19956                   il32 = INT_LEAST32_MAX;
19957                   typedef int_least64_t   my_int_least64_t;
19958                   my_int_least64_t        il64 = INT_LEAST64_MIN;
19959                   il64 = INT_LEAST64_MAX;
19960                   typedef intmax_t        my_intmax_t;
19961                   my_intmax_t             im = INTMAX_MAX;
19962                   im = INTMAX_MIN;
19963                   typedef intptr_t        my_intptr_t;
19964                   my_intptr_t             ip = INTPTR_MAX;
19965                   ip = INTPTR_MIN;
19966                   typedef uint8_t         my_uint8_t;
19967                   my_uint8_t              ui8 = UINT8_MAX;
19968                   ui8 = UINT8_MAX;
19969                   typedef uint16_t        my_uint16_t;
19970                   my_uint16_t             ui16 = UINT16_MAX;
19971                   ui16 = UINT16_MAX;
19972                   typedef uint32_t        my_uint32_t;
19973                   my_uint32_t             ui32 = UINT32_MAX;
19974                   ui32 = UINT32_MAX;
19975                   typedef uint64_t        my_uint64_t;
19976                   my_uint64_t             ui64 = UINT64_MAX;
19977                   ui64 = UINT64_MAX;
19978                   typedef uint_fast8_t    my_uint_fast8_t;
19979                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
19980                   uif8 = UINT_FAST8_MAX;
19981                   typedef uint_fast16_t   my_uint_fast16_t;
19982                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
19983                   uif16 = UINT_FAST16_MAX;
19984                   typedef uint_fast32_t   my_uint_fast32_t;
19985                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
19986                   uif32 = UINT_FAST32_MAX;
19987                   typedef uint_fast64_t   my_uint_fast64_t;
19988                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
19989                   uif64 = UINT_FAST64_MAX;
19990                   typedef uint_least8_t   my_uint_least8_t;
19991                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
19992                   uil8 = UINT_LEAST8_MAX;
19993                   typedef uint_least16_t  my_uint_least16_t;
19994                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
19995                   uil16 = UINT_LEAST16_MAX;
19996                   typedef uint_least32_t  my_uint_least32_t;
19997                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
19998                   uil32 = UINT_LEAST32_MAX;
19999                   typedef uint_least64_t  my_uint_least64_t;
20000                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20001                   uil64 = UINT_LEAST64_MAX;
20002                   typedef uintmax_t       my_uintmax_t;
20003                   my_uintmax_t            uim = UINTMAX_MAX;
20004                   uim = UINTMAX_MAX;
20005                   typedef uintptr_t       my_uintptr_t;
20006                   my_uintptr_t            uip = UINTPTR_MAX;
20007                   uip = UINTPTR_MAX;
20008
20009   ;
20010   return 0;
20011 }
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014   glibcxx_cv_c99_stdint_tr1=yes
20015 else
20016   glibcxx_cv_c99_stdint_tr1=no
20017 fi
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019
20020 fi
20021
20022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20023 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20024   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025
20026 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20027
20028   fi
20029
20030   # Check for the existence of <math.h> functions.
20031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20032 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20033   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20034   $as_echo_n "(cached) " >&6
20035 else
20036
20037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h.  */
20039 #include <math.h>
20040 int
20041 main ()
20042 {
20043 typedef double_t  my_double_t;
20044                   typedef float_t   my_float_t;
20045                   acosh(0.0);
20046                   acoshf(0.0f);
20047                   acoshl(0.0l);
20048                   asinh(0.0);
20049                   asinhf(0.0f);
20050                   asinhl(0.0l);
20051                   atanh(0.0);
20052                   atanhf(0.0f);
20053                   atanhl(0.0l);
20054                   cbrt(0.0);
20055                   cbrtf(0.0f);
20056                   cbrtl(0.0l);
20057                   copysign(0.0, 0.0);
20058                   copysignf(0.0f, 0.0f);
20059                   copysignl(0.0l, 0.0l);
20060                   erf(0.0);
20061                   erff(0.0f);
20062                   erfl(0.0l);
20063                   erfc(0.0);
20064                   erfcf(0.0f);
20065                   erfcl(0.0l);
20066                   exp2(0.0);
20067                   exp2f(0.0f);
20068                   exp2l(0.0l);
20069                   expm1(0.0);
20070                   expm1f(0.0f);
20071                   expm1l(0.0l);
20072                   fdim(0.0, 0.0);
20073                   fdimf(0.0f, 0.0f);
20074                   fdiml(0.0l, 0.0l);
20075                   fma(0.0, 0.0, 0.0);
20076                   fmaf(0.0f, 0.0f, 0.0f);
20077                   fmal(0.0l, 0.0l, 0.0l);
20078                   fmax(0.0, 0.0);
20079                   fmaxf(0.0f, 0.0f);
20080                   fmaxl(0.0l, 0.0l);
20081                   fmin(0.0, 0.0);
20082                   fminf(0.0f, 0.0f);
20083                   fminl(0.0l, 0.0l);
20084                   hypot(0.0, 0.0);
20085                   hypotf(0.0f, 0.0f);
20086                   hypotl(0.0l, 0.0l);
20087                   ilogb(0.0);
20088                   ilogbf(0.0f);
20089                   ilogbl(0.0l);
20090                   lgamma(0.0);
20091                   lgammaf(0.0f);
20092                   lgammal(0.0l);
20093                   #ifndef __APPLE__ /* see below */
20094                   llrint(0.0);
20095                   llrintf(0.0f);
20096                   llrintl(0.0l);
20097                   llround(0.0);
20098                   llroundf(0.0f);
20099                   llroundl(0.0l);
20100                   #endif
20101                   log1p(0.0);
20102                   log1pf(0.0f);
20103                   log1pl(0.0l);
20104                   log2(0.0);
20105                   log2f(0.0f);
20106                   log2l(0.0l);
20107                   logb(0.0);
20108                   logbf(0.0f);
20109                   logbl(0.0l);
20110                   lrint(0.0);
20111                   lrintf(0.0f);
20112                   lrintl(0.0l);
20113                   lround(0.0);
20114                   lroundf(0.0f);
20115                   lroundl(0.0l);
20116                   nan(0);
20117                   nanf(0);
20118                   nanl(0);
20119                   nearbyint(0.0);
20120                   nearbyintf(0.0f);
20121                   nearbyintl(0.0l);
20122                   nextafter(0.0, 0.0);
20123                   nextafterf(0.0f, 0.0f);
20124                   nextafterl(0.0l, 0.0l);
20125                   nexttoward(0.0, 0.0);
20126                   nexttowardf(0.0f, 0.0f);
20127                   nexttowardl(0.0l, 0.0l);
20128                   remainder(0.0, 0.0);
20129                   remainderf(0.0f, 0.0f);
20130                   remainderl(0.0l, 0.0l);
20131                   remquo(0.0, 0.0, 0);
20132                   remquof(0.0f, 0.0f, 0);
20133                   remquol(0.0l, 0.0l, 0);
20134                   rint(0.0);
20135                   rintf(0.0f);
20136                   rintl(0.0l);
20137                   round(0.0);
20138                   roundf(0.0f);
20139                   roundl(0.0l);
20140                   scalbln(0.0, 0l);
20141                   scalblnf(0.0f, 0l);
20142                   scalblnl(0.0l, 0l);
20143                   scalbn(0.0, 0);
20144                   scalbnf(0.0f, 0);
20145                   scalbnl(0.0l, 0);
20146                   tgamma(0.0);
20147                   tgammaf(0.0f);
20148                   tgammal(0.0l);
20149                   trunc(0.0);
20150                   truncf(0.0f);
20151                   truncl(0.0l);
20152
20153   ;
20154   return 0;
20155 }
20156 _ACEOF
20157 if ac_fn_cxx_try_compile "$LINENO"; then :
20158   glibcxx_cv_c99_math_tr1=yes
20159 else
20160   glibcxx_cv_c99_math_tr1=no
20161 fi
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20163
20164 fi
20165
20166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20168   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169
20170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20171
20172
20173     case "${target_os}" in
20174       darwin*)
20175         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20176 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20177         if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20178   $as_echo_n "(cached) " >&6
20179 else
20180
20181           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h.  */
20183 #include <math.h>
20184 int
20185 main ()
20186 {
20187 llrint(0.0);
20188                   llrintf(0.0f);
20189                   llrintl(0.0l);
20190                   llround(0.0);
20191                   llroundf(0.0f);
20192                   llroundl(0.0l);
20193
20194   ;
20195   return 0;
20196 }
20197 _ACEOF
20198 if ac_fn_cxx_try_compile "$LINENO"; then :
20199   glibcxx_cv_c99_math_llround=yes
20200 else
20201   glibcxx_cv_c99_math_llround=no
20202 fi
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204
20205 fi
20206
20207         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20208 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209         ;;
20210     esac
20211     if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212
20213 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20214
20215     fi
20216   fi
20217
20218   # Check for the existence of <inttypes.h> functions (NB: doesn't make
20219   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20220   ac_c99_inttypes_tr1=no;
20221   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20222     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20223 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20224     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h.  */
20226 #include <inttypes.h>
20227 int
20228 main ()
20229 {
20230 intmax_t i, numer, denom, base;
20231                     const char* s;
20232                     char** endptr;
20233                     intmax_t ret = imaxabs(i);
20234                     imaxdiv_t dret = imaxdiv(numer, denom);
20235                     ret = strtoimax(s, endptr, base);
20236                     uintmax_t uret = strtoumax(s, endptr, base);
20237
20238   ;
20239   return 0;
20240 }
20241 _ACEOF
20242 if ac_fn_cxx_try_compile "$LINENO"; then :
20243   ac_c99_inttypes_tr1=yes
20244 else
20245   ac_c99_inttypes_tr1=no
20246 fi
20247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248   fi
20249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20250 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20251   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252
20253 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20254
20255   fi
20256
20257   # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20258   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20259   ac_c99_inttypes_wchar_t_tr1=no;
20260   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20262 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20263     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h.  */
20265 #include <inttypes.h>
20266 int
20267 main ()
20268 {
20269 intmax_t base;
20270                     const wchar_t* s;
20271                     wchar_t** endptr;
20272                     intmax_t ret = wcstoimax(s, endptr, base);
20273                     uintmax_t uret = wcstoumax(s, endptr, base);
20274
20275   ;
20276   return 0;
20277 }
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280   ac_c99_inttypes_wchar_t_tr1=yes
20281 else
20282   ac_c99_inttypes_wchar_t_tr1=no
20283 fi
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285   fi
20286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20287 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20288   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289
20290 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20291
20292   fi
20293
20294   # Check for the existence of the <stdbool.h> header.
20295   for ac_header in stdbool.h
20296 do :
20297   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20299   cat >>confdefs.h <<_ACEOF
20300 #define HAVE_STDBOOL_H 1
20301 _ACEOF
20302
20303 fi
20304
20305 done
20306
20307
20308   # Check for the existence of the <stdalign.h> header.
20309   for ac_header in stdalign.h
20310 do :
20311   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20312 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20313   cat >>confdefs.h <<_ACEOF
20314 #define HAVE_STDALIGN_H 1
20315 _ACEOF
20316
20317 fi
20318
20319 done
20320
20321
20322   CXXFLAGS="$ac_save_CXXFLAGS"
20323   ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20328
20329
20330
20331 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20332
20333
20334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20335 $as_echo_n "checking for the value of EOF... " >&6; }
20336 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20337   $as_echo_n "(cached) " >&6
20338 else
20339
20340   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
20341
20342 else
20343   as_fn_error "computing EOF failed" "$LINENO" 5
20344 fi
20345
20346
20347 fi
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20349 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20353 _ACEOF
20354
20355
20356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20357 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20358 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20359   $as_echo_n "(cached) " >&6
20360 else
20361
20362   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
20363
20364 else
20365   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20366 fi
20367
20368
20369 fi
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20371 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372
20373 cat >>confdefs.h <<_ACEOF
20374 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20375 _ACEOF
20376
20377
20378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20379 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20380 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20381   $as_echo_n "(cached) " >&6
20382 else
20383
20384   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
20385
20386 else
20387   as_fn_error "computing SEEK_END failed" "$LINENO" 5
20388 fi
20389
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20393 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394
20395 cat >>confdefs.h <<_ACEOF
20396 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20397 _ACEOF
20398
20399
20400
20401 # For gettimeofday support.
20402
20403
20404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20405 $as_echo_n "checking for gettimeofday... " >&6; }
20406
20407
20408   ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413
20414   ac_save_CXXFLAGS="$CXXFLAGS"
20415   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416
20417   ac_has_gettimeofday=no;
20418   for ac_header in sys/time.h
20419 do :
20420   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20421 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20422   cat >>confdefs.h <<_ACEOF
20423 #define HAVE_SYS_TIME_H 1
20424 _ACEOF
20425  ac_has_sys_time_h=yes
20426 else
20427   ac_has_sys_time_h=no
20428 fi
20429
20430 done
20431
20432   if test x"$ac_has_sys_time_h" = x"yes"; then
20433     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20434 $as_echo_n "checking for gettimeofday... " >&6; }
20435     if test x$gcc_no_link = xyes; then
20436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h.  */
20438 #include <sys/time.h>
20439 int
20440 main ()
20441 {
20442 timeval tv; gettimeofday(&tv, 0);
20443   ;
20444   return 0;
20445 }
20446 _ACEOF
20447 if ac_fn_cxx_try_compile "$LINENO"; then :
20448   ac_has_gettimeofday=yes
20449 else
20450   ac_has_gettimeofday=no
20451 fi
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20453 else
20454   if test x$gcc_no_link = xyes; then
20455   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 fi
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h.  */
20459 #include <sys/time.h>
20460 int
20461 main ()
20462 {
20463 timeval tv; gettimeofday(&tv, 0);
20464   ;
20465   return 0;
20466 }
20467 _ACEOF
20468 if ac_fn_cxx_try_link "$LINENO"; then :
20469   ac_has_gettimeofday=yes
20470 else
20471   ac_has_gettimeofday=no
20472 fi
20473 rm -f core conftest.err conftest.$ac_objext \
20474     conftest$ac_exeext conftest.$ac_ext
20475 fi
20476
20477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20478 $as_echo "$ac_has_gettimeofday" >&6; }
20479   fi
20480
20481   if test x"$ac_has_gettimeofday" = x"yes"; then
20482
20483 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20484
20485   fi
20486
20487   CXXFLAGS="$ac_save_CXXFLAGS"
20488   ac_ext=c
20489 ac_cpp='$CPP $CPPFLAGS'
20490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20493
20494
20495
20496 # For clock_gettime, nanosleep and sched_yield support.
20497
20498
20499    # Check whether --enable-libstdcxx-time was given.
20500 if test "${enable_libstdcxx_time+set}" = set; then :
20501   enableval=$enable_libstdcxx_time;
20502       case "$enableval" in
20503        yes|no|rt) ;;
20504        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20505                         esac
20506
20507 else
20508   enable_libstdcxx_time=auto
20509 fi
20510
20511
20512
20513
20514   ac_ext=cpp
20515 ac_cpp='$CXXCPP $CPPFLAGS'
20516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519
20520   ac_save_CXXFLAGS="$CXXFLAGS"
20521   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20522   ac_save_LIBS="$LIBS"
20523
20524   ac_has_clock_monotonic=no
20525   ac_has_clock_realtime=no
20526   ac_has_nanosleep=no
20527   ac_has_sched_yield=no
20528
20529   if test x"$enable_libstdcxx_time" = x"auto"; then
20530
20531     case "${target_os}" in
20532       cygwin*)
20533         ac_has_nanosleep=yes
20534         ;;
20535       darwin*)
20536         ac_has_nanosleep=yes
20537         ac_has_sched_yield=yes
20538         ;;
20539       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20540         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20541 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20542         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h.  */
20544 #include <features.h>
20545 int
20546 main ()
20547 {
20548
20549           #if ! __GLIBC_PREREQ(2, 17)
20550           #error
20551           #endif
20552
20553   ;
20554   return 0;
20555 }
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558   glibcxx_glibc217=yes
20559 else
20560   glibcxx_glibc217=no
20561 fi
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20564 $as_echo "$glibcxx_glibc217" >&6; }
20565
20566         if test x"$glibcxx_glibc217" = x"yes"; then
20567           ac_has_clock_monotonic=yes
20568           ac_has_clock_realtime=yes
20569         fi
20570         ac_has_nanosleep=yes
20571         ac_has_sched_yield=yes
20572         ;;
20573       freebsd*|netbsd*|dragonfly*|rtems*)
20574         ac_has_clock_monotonic=yes
20575         ac_has_clock_realtime=yes
20576         ac_has_nanosleep=yes
20577         ac_has_sched_yield=yes
20578         ;;
20579       openbsd*)
20580         ac_has_clock_monotonic=yes
20581         ac_has_clock_realtime=yes
20582         ac_has_nanosleep=yes
20583         ;;
20584       solaris*)
20585         GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20586         ac_has_clock_monotonic=yes
20587         ac_has_clock_realtime=yes
20588         ac_has_nanosleep=yes
20589         ac_has_sched_yield=yes
20590         ;;
20591     esac
20592
20593   elif test x"$enable_libstdcxx_time" != x"no"; then
20594
20595     if test x"$enable_libstdcxx_time" = x"rt"; then
20596       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20597 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20598 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20599   $as_echo_n "(cached) " >&6
20600 else
20601   ac_func_search_save_LIBS=$LIBS
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h.  */
20604
20605 /* Override any GCC internal prototype to avoid an error.
20606    Use char because int might match the return type of a GCC
20607    builtin and then its argument prototype would still apply.  */
20608 #ifdef __cplusplus
20609 extern "C"
20610 #endif
20611 char clock_gettime ();
20612 int
20613 main ()
20614 {
20615 return clock_gettime ();
20616   ;
20617   return 0;
20618 }
20619 _ACEOF
20620 for ac_lib in '' rt posix4; do
20621   if test -z "$ac_lib"; then
20622     ac_res="none required"
20623   else
20624     ac_res=-l$ac_lib
20625     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20626   fi
20627   if test x$gcc_no_link = xyes; then
20628   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 fi
20630 if ac_fn_cxx_try_link "$LINENO"; then :
20631   ac_cv_search_clock_gettime=$ac_res
20632 fi
20633 rm -f core conftest.err conftest.$ac_objext \
20634     conftest$ac_exeext
20635   if test "${ac_cv_search_clock_gettime+set}" = set; then :
20636   break
20637 fi
20638 done
20639 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20640
20641 else
20642   ac_cv_search_clock_gettime=no
20643 fi
20644 rm conftest.$ac_ext
20645 LIBS=$ac_func_search_save_LIBS
20646 fi
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20648 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20649 ac_res=$ac_cv_search_clock_gettime
20650 if test "$ac_res" != no; then :
20651   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20652
20653 fi
20654
20655       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20656 $as_echo_n "checking for library containing nanosleep... " >&6; }
20657 if test "${ac_cv_search_nanosleep+set}" = set; then :
20658   $as_echo_n "(cached) " >&6
20659 else
20660   ac_func_search_save_LIBS=$LIBS
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h.  */
20663
20664 /* Override any GCC internal prototype to avoid an error.
20665    Use char because int might match the return type of a GCC
20666    builtin and then its argument prototype would still apply.  */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char nanosleep ();
20671 int
20672 main ()
20673 {
20674 return nanosleep ();
20675   ;
20676   return 0;
20677 }
20678 _ACEOF
20679 for ac_lib in '' rt posix4; do
20680   if test -z "$ac_lib"; then
20681     ac_res="none required"
20682   else
20683     ac_res=-l$ac_lib
20684     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20685   fi
20686   if test x$gcc_no_link = xyes; then
20687   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 fi
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690   ac_cv_search_nanosleep=$ac_res
20691 fi
20692 rm -f core conftest.err conftest.$ac_objext \
20693     conftest$ac_exeext
20694   if test "${ac_cv_search_nanosleep+set}" = set; then :
20695   break
20696 fi
20697 done
20698 if test "${ac_cv_search_nanosleep+set}" = set; then :
20699
20700 else
20701   ac_cv_search_nanosleep=no
20702 fi
20703 rm conftest.$ac_ext
20704 LIBS=$ac_func_search_save_LIBS
20705 fi
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20707 $as_echo "$ac_cv_search_nanosleep" >&6; }
20708 ac_res=$ac_cv_search_nanosleep
20709 if test "$ac_res" != no; then :
20710   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20711
20712 fi
20713
20714     else
20715       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20716 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20717 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20718   $as_echo_n "(cached) " >&6
20719 else
20720   ac_func_search_save_LIBS=$LIBS
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h.  */
20723
20724 /* Override any GCC internal prototype to avoid an error.
20725    Use char because int might match the return type of a GCC
20726    builtin and then its argument prototype would still apply.  */
20727 #ifdef __cplusplus
20728 extern "C"
20729 #endif
20730 char clock_gettime ();
20731 int
20732 main ()
20733 {
20734 return clock_gettime ();
20735   ;
20736   return 0;
20737 }
20738 _ACEOF
20739 for ac_lib in '' posix4; do
20740   if test -z "$ac_lib"; then
20741     ac_res="none required"
20742   else
20743     ac_res=-l$ac_lib
20744     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20745   fi
20746   if test x$gcc_no_link = xyes; then
20747   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20748 fi
20749 if ac_fn_cxx_try_link "$LINENO"; then :
20750   ac_cv_search_clock_gettime=$ac_res
20751 fi
20752 rm -f core conftest.err conftest.$ac_objext \
20753     conftest$ac_exeext
20754   if test "${ac_cv_search_clock_gettime+set}" = set; then :
20755   break
20756 fi
20757 done
20758 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20759
20760 else
20761   ac_cv_search_clock_gettime=no
20762 fi
20763 rm conftest.$ac_ext
20764 LIBS=$ac_func_search_save_LIBS
20765 fi
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20767 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20768 ac_res=$ac_cv_search_clock_gettime
20769 if test "$ac_res" != no; then :
20770   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20771
20772 fi
20773
20774       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20775 $as_echo_n "checking for library containing nanosleep... " >&6; }
20776 if test "${ac_cv_search_nanosleep+set}" = set; then :
20777   $as_echo_n "(cached) " >&6
20778 else
20779   ac_func_search_save_LIBS=$LIBS
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h.  */
20782
20783 /* Override any GCC internal prototype to avoid an error.
20784    Use char because int might match the return type of a GCC
20785    builtin and then its argument prototype would still apply.  */
20786 #ifdef __cplusplus
20787 extern "C"
20788 #endif
20789 char nanosleep ();
20790 int
20791 main ()
20792 {
20793 return nanosleep ();
20794   ;
20795   return 0;
20796 }
20797 _ACEOF
20798 for ac_lib in '' posix4; do
20799   if test -z "$ac_lib"; then
20800     ac_res="none required"
20801   else
20802     ac_res=-l$ac_lib
20803     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20804   fi
20805   if test x$gcc_no_link = xyes; then
20806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 fi
20808 if ac_fn_cxx_try_link "$LINENO"; then :
20809   ac_cv_search_nanosleep=$ac_res
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext \
20812     conftest$ac_exeext
20813   if test "${ac_cv_search_nanosleep+set}" = set; then :
20814   break
20815 fi
20816 done
20817 if test "${ac_cv_search_nanosleep+set}" = set; then :
20818
20819 else
20820   ac_cv_search_nanosleep=no
20821 fi
20822 rm conftest.$ac_ext
20823 LIBS=$ac_func_search_save_LIBS
20824 fi
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20826 $as_echo "$ac_cv_search_nanosleep" >&6; }
20827 ac_res=$ac_cv_search_nanosleep
20828 if test "$ac_res" != no; then :
20829   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20830
20831 fi
20832
20833     fi
20834
20835     case "$ac_cv_search_clock_gettime" in
20836       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20837       ;;
20838     esac
20839     case "$ac_cv_search_nanosleep" in
20840       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20841       ;;
20842     esac
20843
20844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20845 $as_echo_n "checking for library containing sched_yield... " >&6; }
20846 if test "${ac_cv_search_sched_yield+set}" = set; then :
20847   $as_echo_n "(cached) " >&6
20848 else
20849   ac_func_search_save_LIBS=$LIBS
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h.  */
20852
20853 /* Override any GCC internal prototype to avoid an error.
20854    Use char because int might match the return type of a GCC
20855    builtin and then its argument prototype would still apply.  */
20856 #ifdef __cplusplus
20857 extern "C"
20858 #endif
20859 char sched_yield ();
20860 int
20861 main ()
20862 {
20863 return sched_yield ();
20864   ;
20865   return 0;
20866 }
20867 _ACEOF
20868 for ac_lib in '' rt posix4; do
20869   if test -z "$ac_lib"; then
20870     ac_res="none required"
20871   else
20872     ac_res=-l$ac_lib
20873     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20874   fi
20875   if test x$gcc_no_link = xyes; then
20876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 fi
20878 if ac_fn_cxx_try_link "$LINENO"; then :
20879   ac_cv_search_sched_yield=$ac_res
20880 fi
20881 rm -f core conftest.err conftest.$ac_objext \
20882     conftest$ac_exeext
20883   if test "${ac_cv_search_sched_yield+set}" = set; then :
20884   break
20885 fi
20886 done
20887 if test "${ac_cv_search_sched_yield+set}" = set; then :
20888
20889 else
20890   ac_cv_search_sched_yield=no
20891 fi
20892 rm conftest.$ac_ext
20893 LIBS=$ac_func_search_save_LIBS
20894 fi
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20896 $as_echo "$ac_cv_search_sched_yield" >&6; }
20897 ac_res=$ac_cv_search_sched_yield
20898 if test "$ac_res" != no; then :
20899   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20900
20901 fi
20902
20903
20904     case "$ac_cv_search_sched_yield" in
20905       -lposix4*)
20906       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20907       ac_has_sched_yield=yes
20908       ;;
20909       -lrt*)
20910       if test x"$enable_libstdcxx_time" = x"rt"; then
20911         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20912         ac_has_sched_yield=yes
20913       fi
20914       ;;
20915       *)
20916       ac_has_sched_yield=yes
20917       ;;
20918     esac
20919
20920     for ac_header in unistd.h
20921 do :
20922   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20923 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20924   cat >>confdefs.h <<_ACEOF
20925 #define HAVE_UNISTD_H 1
20926 _ACEOF
20927  ac_has_unistd_h=yes
20928 else
20929   ac_has_unistd_h=no
20930 fi
20931
20932 done
20933
20934
20935     if test x"$ac_has_unistd_h" = x"yes"; then
20936       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20937 $as_echo_n "checking for monotonic clock... " >&6; }
20938       if test x$gcc_no_link = xyes; then
20939   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 fi
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h.  */
20943 #include <unistd.h>
20944          #include <time.h>
20945
20946 int
20947 main ()
20948 {
20949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20950           timespec tp;
20951          #endif
20952           clock_gettime(CLOCK_MONOTONIC, &tp);
20953
20954   ;
20955   return 0;
20956 }
20957 _ACEOF
20958 if ac_fn_cxx_try_link "$LINENO"; then :
20959   ac_has_clock_monotonic=yes
20960 else
20961   ac_has_clock_monotonic=no
20962 fi
20963 rm -f core conftest.err conftest.$ac_objext \
20964     conftest$ac_exeext conftest.$ac_ext
20965
20966       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20967 $as_echo "$ac_has_clock_monotonic" >&6; }
20968
20969       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20970 $as_echo_n "checking for realtime clock... " >&6; }
20971       if test x$gcc_no_link = xyes; then
20972   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20973 fi
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h.  */
20976 #include <unistd.h>
20977          #include <time.h>
20978
20979 int
20980 main ()
20981 {
20982 #if _POSIX_TIMERS > 0
20983           timespec tp;
20984          #endif
20985           clock_gettime(CLOCK_REALTIME, &tp);
20986
20987   ;
20988   return 0;
20989 }
20990 _ACEOF
20991 if ac_fn_cxx_try_link "$LINENO"; then :
20992   ac_has_clock_realtime=yes
20993 else
20994   ac_has_clock_realtime=no
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext \
20997     conftest$ac_exeext conftest.$ac_ext
20998
20999       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21000 $as_echo "$ac_has_clock_realtime" >&6; }
21001
21002       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21003 $as_echo_n "checking for nanosleep... " >&6; }
21004       if test x$gcc_no_link = xyes; then
21005   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21006 fi
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h.  */
21009 #include <unistd.h>
21010          #include <time.h>
21011
21012 int
21013 main ()
21014 {
21015 #if _POSIX_TIMERS > 0
21016           timespec tp;
21017          #endif
21018           nanosleep(&tp, 0);
21019
21020   ;
21021   return 0;
21022 }
21023 _ACEOF
21024 if ac_fn_cxx_try_link "$LINENO"; then :
21025   ac_has_nanosleep=yes
21026 else
21027   ac_has_nanosleep=no
21028 fi
21029 rm -f core conftest.err conftest.$ac_objext \
21030     conftest$ac_exeext conftest.$ac_ext
21031
21032       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21033 $as_echo "$ac_has_nanosleep" >&6; }
21034     fi
21035   fi
21036
21037   if test x"$ac_has_clock_monotonic" != x"yes"; then
21038     case ${target_os} in
21039       linux*)
21040         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21041 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21042         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h.  */
21044 #include <unistd.h>
21045            #include <time.h>
21046            #include <sys/syscall.h>
21047
21048 int
21049 main ()
21050 {
21051 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21052             timespec tp;
21053            #endif
21054            syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21055            syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21056
21057   ;
21058   return 0;
21059 }
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062   ac_has_clock_monotonic_syscall=yes
21063 else
21064   ac_has_clock_monotonic_syscall=no
21065 fi
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21068 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21069         if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21070
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21072
21073           ac_has_clock_monotonic=yes
21074           ac_has_clock_realtime=yes
21075         fi;;
21076     esac
21077   fi
21078
21079   if test x"$ac_has_clock_monotonic" = x"yes"; then
21080
21081 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21082
21083   fi
21084
21085   if test x"$ac_has_clock_realtime" = x"yes"; then
21086
21087 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21088
21089   fi
21090
21091   if test x"$ac_has_sched_yield" = x"yes"; then
21092
21093 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21094
21095   fi
21096
21097   if test x"$ac_has_nanosleep" = x"yes"; then
21098
21099 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21100
21101   else
21102       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21103 $as_echo_n "checking for sleep... " >&6; }
21104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h.  */
21106 #include <unistd.h>
21107 int
21108 main ()
21109 {
21110 sleep(1)
21111   ;
21112   return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116   ac_has_sleep=yes
21117 else
21118   ac_has_sleep=no
21119 fi
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121       if test x"$ac_has_sleep" = x"yes"; then
21122
21123 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21124
21125       fi
21126       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21127 $as_echo "$ac_has_sleep" >&6; }
21128       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21129 $as_echo_n "checking for usleep... " >&6; }
21130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h.  */
21132 #include <unistd.h>
21133 int
21134 main ()
21135 {
21136 sleep(1);
21137                       usleep(100);
21138   ;
21139   return 0;
21140 }
21141 _ACEOF
21142 if ac_fn_cxx_try_compile "$LINENO"; then :
21143   ac_has_usleep=yes
21144 else
21145   ac_has_usleep=no
21146 fi
21147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148       if test x"$ac_has_usleep" = x"yes"; then
21149
21150 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21151
21152       fi
21153       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21154 $as_echo "$ac_has_usleep" >&6; }
21155   fi
21156
21157   if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21158       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21159 $as_echo_n "checking for Sleep... " >&6; }
21160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h.  */
21162 #include <windows.h>
21163 int
21164 main ()
21165 {
21166 Sleep(1)
21167   ;
21168   return 0;
21169 }
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172   ac_has_win32_sleep=yes
21173 else
21174   ac_has_win32_sleep=no
21175 fi
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177       if test x"$ac_has_win32_sleep" = x"yes"; then
21178
21179 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21180
21181       fi
21182       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21183 $as_echo "$ac_has_win32_sleep" >&6; }
21184   fi
21185
21186
21187
21188   CXXFLAGS="$ac_save_CXXFLAGS"
21189   LIBS="$ac_save_LIBS"
21190   ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195
21196
21197
21198 # Check for tmpnam which is obsolescent in POSIX.1-2008
21199
21200   ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206   ac_save_CXXFLAGS="$CXXFLAGS"
21207   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21209 $as_echo_n "checking for tmpnam... " >&6; }
21210   if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21211   $as_echo_n "(cached) " >&6
21212 else
21213       if test x$gcc_no_link = xyes; then
21214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h.  */
21216 #include <stdio.h>
21217 int
21218 main ()
21219 {
21220 char *tmp = tmpnam(NULL);
21221   ;
21222   return 0;
21223 }
21224 _ACEOF
21225 if ac_fn_cxx_try_compile "$LINENO"; then :
21226   glibcxx_cv_TMPNAM=yes
21227 else
21228   glibcxx_cv_TMPNAM=no
21229 fi
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 else
21232   if test x$gcc_no_link = xyes; then
21233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21234 fi
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h.  */
21237 #include <stdio.h>
21238 int
21239 main ()
21240 {
21241 char *tmp = tmpnam(NULL);
21242   ;
21243   return 0;
21244 }
21245 _ACEOF
21246 if ac_fn_cxx_try_link "$LINENO"; then :
21247   glibcxx_cv_TMPNAM=yes
21248 else
21249   glibcxx_cv_TMPNAM=no
21250 fi
21251 rm -f core conftest.err conftest.$ac_objext \
21252     conftest$ac_exeext conftest.$ac_ext
21253 fi
21254
21255 fi
21256
21257   if test $glibcxx_cv_TMPNAM = yes; then
21258
21259 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21260
21261   fi
21262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21263 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21264   CXXFLAGS="$ac_save_CXXFLAGS"
21265   ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271
21272
21273
21274   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21275 if test "x$ac_cv_header_locale_h" = x""yes; then :
21276
21277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21278 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21279 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21280   $as_echo_n "(cached) " >&6
21281 else
21282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h.  */
21284 #include <locale.h>
21285 int
21286 main ()
21287 {
21288 return LC_MESSAGES
21289   ;
21290   return 0;
21291 }
21292 _ACEOF
21293 if ac_fn_c_try_compile "$LINENO"; then :
21294   ac_cv_val_LC_MESSAGES=yes
21295 else
21296   ac_cv_val_LC_MESSAGES=no
21297 fi
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 fi
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21301 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21302     if test $ac_cv_val_LC_MESSAGES = yes; then
21303
21304 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21305
21306     fi
21307
21308 fi
21309
21310
21311
21312
21313 # For hardware_concurrency
21314 for ac_header in sys/sysinfo.h
21315 do :
21316   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21317 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21318   cat >>confdefs.h <<_ACEOF
21319 #define HAVE_SYS_SYSINFO_H 1
21320 _ACEOF
21321
21322 fi
21323
21324 done
21325
21326
21327
21328
21329   ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334
21335   ac_save_CXXFLAGS="$CXXFLAGS"
21336   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21337
21338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21339 $as_echo_n "checking for get_nprocs... " >&6; }
21340   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21341   $as_echo_n "(cached) " >&6
21342 else
21343
21344     if test x$gcc_no_link = xyes; then
21345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h.  */
21347 #include <sys/sysinfo.h>
21348 int
21349 main ()
21350 {
21351 int n = get_nprocs();
21352   ;
21353   return 0;
21354 }
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357   glibcxx_cv_GET_NPROCS=yes
21358 else
21359   glibcxx_cv_GET_NPROCS=no
21360 fi
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 else
21363   if test x$gcc_no_link = xyes; then
21364   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21365 fi
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h.  */
21368 #include <sys/sysinfo.h>
21369 int
21370 main ()
21371 {
21372 int n = get_nprocs();
21373   ;
21374   return 0;
21375 }
21376 _ACEOF
21377 if ac_fn_cxx_try_link "$LINENO"; then :
21378   glibcxx_cv_GET_NPROCS=yes
21379 else
21380   glibcxx_cv_GET_NPROCS=no
21381 fi
21382 rm -f core conftest.err conftest.$ac_objext \
21383     conftest$ac_exeext conftest.$ac_ext
21384 fi
21385
21386 fi
21387
21388   if test $glibcxx_cv_GET_NPROCS = yes; then
21389
21390 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21391
21392   fi
21393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21394 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21395
21396   CXXFLAGS="$ac_save_CXXFLAGS"
21397   ac_ext=c
21398 ac_cpp='$CPP $CPPFLAGS'
21399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402
21403
21404 for ac_header in unistd.h
21405 do :
21406   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21407 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21408   cat >>confdefs.h <<_ACEOF
21409 #define HAVE_UNISTD_H 1
21410 _ACEOF
21411
21412 fi
21413
21414 done
21415
21416
21417
21418
21419   ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424
21425   ac_save_CXXFLAGS="$CXXFLAGS"
21426   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21427
21428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21429 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21430   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21431   $as_echo_n "(cached) " >&6
21432 else
21433
21434     if test x$gcc_no_link = xyes; then
21435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h.  */
21437 #include <unistd.h>
21438 int
21439 main ()
21440 {
21441 int n = sysconf(_SC_NPROCESSORS_ONLN);
21442   ;
21443   return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21448 else
21449   glibcxx_cv_SC_NPROCESSORS_ONLN=no
21450 fi
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453   if test x$gcc_no_link = xyes; then
21454   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 fi
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h.  */
21458 #include <unistd.h>
21459 int
21460 main ()
21461 {
21462 int n = sysconf(_SC_NPROCESSORS_ONLN);
21463   ;
21464   return 0;
21465 }
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21469 else
21470   glibcxx_cv_SC_NPROCESSORS_ONLN=no
21471 fi
21472 rm -f core conftest.err conftest.$ac_objext \
21473     conftest$ac_exeext conftest.$ac_ext
21474 fi
21475
21476 fi
21477
21478   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21479
21480 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21481
21482   fi
21483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21484 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21485
21486   CXXFLAGS="$ac_save_CXXFLAGS"
21487   ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492
21493
21494
21495
21496
21497   ac_ext=cpp
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21502
21503   ac_save_CXXFLAGS="$CXXFLAGS"
21504   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505
21506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21507 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21508   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21509   $as_echo_n "(cached) " >&6
21510 else
21511
21512     if test x$gcc_no_link = xyes; then
21513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h.  */
21515 #include <unistd.h>
21516 int
21517 main ()
21518 {
21519 int n = sysconf(_SC_NPROC_ONLN);
21520   ;
21521   return 0;
21522 }
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525   glibcxx_cv_SC_NPROC_ONLN=yes
21526 else
21527   glibcxx_cv_SC_NPROC_ONLN=no
21528 fi
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 else
21531   if test x$gcc_no_link = xyes; then
21532   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 fi
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h.  */
21536 #include <unistd.h>
21537 int
21538 main ()
21539 {
21540 int n = sysconf(_SC_NPROC_ONLN);
21541   ;
21542   return 0;
21543 }
21544 _ACEOF
21545 if ac_fn_cxx_try_link "$LINENO"; then :
21546   glibcxx_cv_SC_NPROC_ONLN=yes
21547 else
21548   glibcxx_cv_SC_NPROC_ONLN=no
21549 fi
21550 rm -f core conftest.err conftest.$ac_objext \
21551     conftest$ac_exeext conftest.$ac_ext
21552 fi
21553
21554 fi
21555
21556   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21557
21558 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21559
21560   fi
21561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21562 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21563
21564   CXXFLAGS="$ac_save_CXXFLAGS"
21565   ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21570
21571
21572
21573
21574
21575   ac_ext=cpp
21576 ac_cpp='$CXXCPP $CPPFLAGS'
21577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580
21581   ac_save_CXXFLAGS="$CXXFLAGS"
21582   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21583
21584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21585 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21586   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21587   $as_echo_n "(cached) " >&6
21588 else
21589
21590     if test x$gcc_no_link = xyes; then
21591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h.  */
21593 #include <pthread.h>
21594 int
21595 main ()
21596 {
21597 int n = pthread_num_processors_np();
21598   ;
21599   return 0;
21600 }
21601 _ACEOF
21602 if ac_fn_cxx_try_compile "$LINENO"; then :
21603   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21604 else
21605   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21606 fi
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 else
21609   if test x$gcc_no_link = xyes; then
21610   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 fi
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h.  */
21614 #include <pthread.h>
21615 int
21616 main ()
21617 {
21618 int n = pthread_num_processors_np();
21619   ;
21620   return 0;
21621 }
21622 _ACEOF
21623 if ac_fn_cxx_try_link "$LINENO"; then :
21624   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21625 else
21626   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21627 fi
21628 rm -f core conftest.err conftest.$ac_objext \
21629     conftest$ac_exeext conftest.$ac_ext
21630 fi
21631
21632 fi
21633
21634   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21635
21636 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21637
21638   fi
21639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21640 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21641
21642   CXXFLAGS="$ac_save_CXXFLAGS"
21643   ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648
21649
21650
21651
21652
21653   ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658
21659   ac_save_CXXFLAGS="$CXXFLAGS"
21660   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21661
21662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21663 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21664   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21665   $as_echo_n "(cached) " >&6
21666 else
21667
21668     if test x$gcc_no_link = xyes; then
21669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h.  */
21671
21672        #include <stddef.h>
21673        #include <sys/sysctl.h>
21674
21675 int
21676 main ()
21677 {
21678
21679        int count;
21680        size_t size = sizeof(count);
21681        int mib[] = { CTL_HW, HW_NCPU };
21682        sysctl(mib, 2, &count, &size, NULL, 0);
21683
21684   ;
21685   return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689   glibcxx_cv_SYSCTL_HW_NCPU=yes
21690 else
21691   glibcxx_cv_SYSCTL_HW_NCPU=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 else
21695   if test x$gcc_no_link = xyes; then
21696   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 fi
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h.  */
21700
21701        #include <stddef.h>
21702        #include <sys/sysctl.h>
21703
21704 int
21705 main ()
21706 {
21707
21708        int count;
21709        size_t size = sizeof(count);
21710        int mib[] = { CTL_HW, HW_NCPU };
21711        sysctl(mib, 2, &count, &size, NULL, 0);
21712
21713   ;
21714   return 0;
21715 }
21716 _ACEOF
21717 if ac_fn_cxx_try_link "$LINENO"; then :
21718   glibcxx_cv_SYSCTL_HW_NCPU=yes
21719 else
21720   glibcxx_cv_SYSCTL_HW_NCPU=no
21721 fi
21722 rm -f core conftest.err conftest.$ac_objext \
21723     conftest$ac_exeext conftest.$ac_ext
21724 fi
21725
21726 fi
21727
21728   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21729
21730 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21731
21732   fi
21733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21734 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21735
21736   CXXFLAGS="$ac_save_CXXFLAGS"
21737   ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21742
21743
21744
21745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21746 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21747   # Note that this test has to be run with the C language.
21748   # Otherwise, sdt.h will try to include some headers from
21749   # libstdc++ itself.
21750
21751   ac_ext=c
21752 ac_cpp='$CPP $CPPFLAGS'
21753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756
21757   if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21758   $as_echo_n "(cached) " >&6
21759 else
21760
21761     # Because we have to run the test in C, we use grep rather
21762     # than the compiler to check for the bug.  The bug is that
21763     # were strings without trailing whitespace, causing g++
21764     # to look for operator"".  The pattern searches for the fixed
21765     # output.
21766     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h.  */
21768
21769       #include <sys/sdt.h>
21770       int f() { STAP_PROBE(hi, bob); }
21771
21772 _ACEOF
21773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21774   $EGREP " \",\" " >/dev/null 2>&1; then :
21775   glibcxx_cv_sys_sdt_h=yes
21776 else
21777   glibcxx_cv_sys_sdt_h=no
21778 fi
21779 rm -f conftest*
21780
21781
21782 fi
21783
21784   ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21789
21790   if test $glibcxx_cv_sys_sdt_h = yes; then
21791
21792 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21793
21794   fi
21795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21796 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21797
21798
21799 # Check for available headers.
21800 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21801 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21802 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21803 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21804 wchar.h wctype.h linux/types.h
21805 do :
21806   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21808 eval as_val=\$$as_ac_Header
21809    if test "x$as_val" = x""yes; then :
21810   cat >>confdefs.h <<_ACEOF
21811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21812 _ACEOF
21813
21814 fi
21815
21816 done
21817
21818
21819 for ac_header in linux/random.h
21820 do :
21821   ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21822 # include <linux/types.h>
21823 #endif
21824
21825 "
21826 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21827   cat >>confdefs.h <<_ACEOF
21828 #define HAVE_LINUX_RANDOM_H 1
21829 _ACEOF
21830
21831 fi
21832
21833 done
21834
21835
21836 # Only do link tests if native. Else, hardcode.
21837 if $GLIBCXX_IS_NATIVE; then
21838
21839   # We can do more elaborate tests that assume a working linker.
21840   CANADIAN=no
21841
21842
21843
21844 # Check whether --with-gnu-ld was given.
21845 if test "${with_gnu_ld+set}" = set; then :
21846   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21847 else
21848   with_gnu_ld=no
21849 fi
21850
21851 ac_prog=ld
21852 if test "$GCC" = yes; then
21853   # Check if gcc -print-prog-name=ld gives a path.
21854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21855 $as_echo_n "checking for ld used by $CC... " >&6; }
21856   case $host in
21857   *-*-mingw*)
21858     # gcc leaves a trailing carriage return which upsets mingw
21859     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21860   *)
21861     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21862   esac
21863   case $ac_prog in
21864     # Accept absolute paths.
21865     [\\/]* | ?:[\\/]*)
21866       re_direlt='/[^/][^/]*/\.\./'
21867       # Canonicalize the pathname of ld
21868       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21869       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21870         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21871       done
21872       test -z "$LD" && LD="$ac_prog"
21873       ;;
21874   "")
21875     # If it fails, then pretend we aren't using GCC.
21876     ac_prog=ld
21877     ;;
21878   *)
21879     # If it is relative, then search for the first ld in PATH.
21880     with_gnu_ld=unknown
21881     ;;
21882   esac
21883 elif test "$with_gnu_ld" = yes; then
21884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21885 $as_echo_n "checking for GNU ld... " >&6; }
21886 else
21887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21888 $as_echo_n "checking for non-GNU ld... " >&6; }
21889 fi
21890 if test "${lt_cv_path_LD+set}" = set; then :
21891   $as_echo_n "(cached) " >&6
21892 else
21893   if test -z "$LD"; then
21894   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21895   for ac_dir in $PATH; do
21896     IFS="$lt_save_ifs"
21897     test -z "$ac_dir" && ac_dir=.
21898     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21899       lt_cv_path_LD="$ac_dir/$ac_prog"
21900       # Check to see if the program is GNU ld.  I'd rather use --version,
21901       # but apparently some variants of GNU ld only accept -v.
21902       # Break only if it was the GNU/non-GNU ld that we prefer.
21903       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21904       *GNU* | *'with BFD'*)
21905         test "$with_gnu_ld" != no && break
21906         ;;
21907       *)
21908         test "$with_gnu_ld" != yes && break
21909         ;;
21910       esac
21911     fi
21912   done
21913   IFS="$lt_save_ifs"
21914 else
21915   lt_cv_path_LD="$LD" # Let the user override the test with a path.
21916 fi
21917 fi
21918
21919 LD="$lt_cv_path_LD"
21920 if test -n "$LD"; then
21921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21922 $as_echo "$LD" >&6; }
21923 else
21924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21925 $as_echo "no" >&6; }
21926 fi
21927 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21929 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21930 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21931   $as_echo_n "(cached) " >&6
21932 else
21933   # I'd rather use --version here, but apparently some GNU lds only accept -v.
21934 case `$LD -v 2>&1 </dev/null` in
21935 *GNU* | *'with BFD'*)
21936   lt_cv_prog_gnu_ld=yes
21937   ;;
21938 *)
21939   lt_cv_prog_gnu_ld=no
21940   ;;
21941 esac
21942 fi
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21944 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21945 with_gnu_ld=$lt_cv_prog_gnu_ld
21946
21947
21948
21949
21950
21951
21952
21953   # If we're not using GNU ld, then there's no point in even trying these
21954   # tests.  Check for that first.  We should have already tested for gld
21955   # by now (in libtool), but require it now just to be safe...
21956   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21957   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21958
21959
21960
21961   # The name set by libtool depends on the version of libtool.  Shame on us
21962   # for depending on an impl detail, but c'est la vie.  Older versions used
21963   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21964   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21965   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
21966   # set (hence we're using an older libtool), then set it.
21967   if test x${with_gnu_ld+set} != xset; then
21968     if test x${ac_cv_prog_gnu_ld+set} != xset; then
21969       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
21970       with_gnu_ld=no
21971     else
21972       with_gnu_ld=$ac_cv_prog_gnu_ld
21973     fi
21974   fi
21975
21976   # Start by getting the version number.  I think the libtool test already
21977   # does some of this, but throws away the result.
21978   glibcxx_ld_is_gold=no
21979   if test x"$with_gnu_ld" = x"yes"; then
21980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21981 $as_echo_n "checking for ld version... " >&6; }
21982
21983     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21984       glibcxx_ld_is_gold=yes
21985     fi
21986     ldver=`$LD --version 2>/dev/null |
21987            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'`
21988
21989     glibcxx_gnu_ld_version=`echo $ldver | \
21990            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21993   fi
21994
21995   # Set --gc-sections.
21996   glibcxx_have_gc_sections=no
21997   if test "$glibcxx_ld_is_gold" = "yes"; then
21998     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21999       glibcxx_have_gc_sections=yes
22000     fi
22001   else
22002     glibcxx_gcsections_min_ld=21602
22003     if test x"$with_gnu_ld" = x"yes" &&
22004         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22005       glibcxx_have_gc_sections=yes
22006     fi
22007   fi
22008   if test "$glibcxx_have_gc_sections" = "yes"; then
22009     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22010     # NB: This flag only works reliably after 2.16.1. Configure tests
22011     # for this are difficult, so hard wire a value that should work.
22012
22013     ac_test_CFLAGS="${CFLAGS+set}"
22014     ac_save_CFLAGS="$CFLAGS"
22015     CFLAGS='-Wl,--gc-sections'
22016
22017     # Check for -Wl,--gc-sections
22018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22020     if test x$gcc_no_link = xyes; then
22021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 fi
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h.  */
22025  int one(void) { return 1; }
22026      int two(void) { return 2; }
22027
22028 int
22029 main ()
22030 {
22031  two();
22032   ;
22033   return 0;
22034 }
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037   ac_gcsections=yes
22038 else
22039   ac_gcsections=no
22040 fi
22041 rm -f core conftest.err conftest.$ac_objext \
22042     conftest$ac_exeext conftest.$ac_ext
22043     if test "$ac_gcsections" = "yes"; then
22044       rm -f conftest.c
22045       touch conftest.c
22046       if $CC -c conftest.c; then
22047         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22048            grep "Warning: gc-sections option ignored" > /dev/null; then
22049           ac_gcsections=no
22050         fi
22051       fi
22052       rm -f conftest.c conftest.o conftest
22053     fi
22054     if test "$ac_gcsections" = "yes"; then
22055       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22056     fi
22057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22058 $as_echo "$ac_gcsections" >&6; }
22059
22060     if test "$ac_test_CFLAGS" = set; then
22061       CFLAGS="$ac_save_CFLAGS"
22062     else
22063       # this is the suspicious part
22064       CFLAGS=''
22065     fi
22066   fi
22067
22068   # Set -z,relro.
22069   # Note this is only for shared objects.
22070   ac_ld_relro=no
22071   if test x"$with_gnu_ld" = x"yes"; then
22072     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22074     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22075     if test -n "$cxx_z_relo"; then
22076       OPT_LDFLAGS="-Wl,-z,relro"
22077       ac_ld_relro=yes
22078     fi
22079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22080 $as_echo "$ac_ld_relro" >&6; }
22081   fi
22082
22083   # Set linker optimization flags.
22084   if test x"$with_gnu_ld" = x"yes"; then
22085     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22086   fi
22087
22088
22089
22090
22091
22092   ac_test_CXXFLAGS="${CXXFLAGS+set}"
22093   ac_save_CXXFLAGS="$CXXFLAGS"
22094   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22095
22096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22097 $as_echo_n "checking for sin in -lm... " >&6; }
22098 if test "${ac_cv_lib_m_sin+set}" = set; then :
22099   $as_echo_n "(cached) " >&6
22100 else
22101   ac_check_lib_save_LIBS=$LIBS
22102 LIBS="-lm  $LIBS"
22103 if test x$gcc_no_link = xyes; then
22104   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 fi
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h.  */
22108
22109 /* Override any GCC internal prototype to avoid an error.
22110    Use char because int might match the return type of a GCC
22111    builtin and then its argument prototype would still apply.  */
22112 #ifdef __cplusplus
22113 extern "C"
22114 #endif
22115 char sin ();
22116 int
22117 main ()
22118 {
22119 return sin ();
22120   ;
22121   return 0;
22122 }
22123 _ACEOF
22124 if ac_fn_c_try_link "$LINENO"; then :
22125   ac_cv_lib_m_sin=yes
22126 else
22127   ac_cv_lib_m_sin=no
22128 fi
22129 rm -f core conftest.err conftest.$ac_objext \
22130     conftest$ac_exeext conftest.$ac_ext
22131 LIBS=$ac_check_lib_save_LIBS
22132 fi
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22134 $as_echo "$ac_cv_lib_m_sin" >&6; }
22135 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22136   libm="-lm"
22137 fi
22138
22139   ac_save_LIBS="$LIBS"
22140   LIBS="$LIBS $libm"
22141
22142
22143
22144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22145 $as_echo_n "checking for isinf declaration... " >&6; }
22146   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22147     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22148   $as_echo_n "(cached) " >&6
22149 else
22150
22151
22152       ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157
22158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h.  */
22160 #include <math.h>
22161                       #ifdef HAVE_IEEEFP_H
22162                       #include <ieeefp.h>
22163                       #endif
22164
22165 int
22166 main ()
22167 {
22168  isinf(0);
22169   ;
22170   return 0;
22171 }
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174   glibcxx_cv_func_isinf_use=yes
22175 else
22176   glibcxx_cv_func_isinf_use=no
22177 fi
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179       ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184
22185
22186 fi
22187
22188   fi
22189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22191
22192   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22193     for ac_func in isinf
22194 do :
22195   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22196 if test "x$ac_cv_func_isinf" = x""yes; then :
22197   cat >>confdefs.h <<_ACEOF
22198 #define HAVE_ISINF 1
22199 _ACEOF
22200
22201 fi
22202 done
22203
22204   else
22205
22206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22207 $as_echo_n "checking for _isinf declaration... " >&6; }
22208   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22209     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22210   $as_echo_n "(cached) " >&6
22211 else
22212
22213
22214       ac_ext=cpp
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219
22220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h.  */
22222 #include <math.h>
22223                       #ifdef HAVE_IEEEFP_H
22224                       #include <ieeefp.h>
22225                       #endif
22226
22227 int
22228 main ()
22229 {
22230  _isinf(0);
22231   ;
22232   return 0;
22233 }
22234 _ACEOF
22235 if ac_fn_cxx_try_compile "$LINENO"; then :
22236   glibcxx_cv_func__isinf_use=yes
22237 else
22238   glibcxx_cv_func__isinf_use=no
22239 fi
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22241       ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22246
22247
22248 fi
22249
22250   fi
22251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22253
22254     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22255       for ac_func in _isinf
22256 do :
22257   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22258 if test "x$ac_cv_func__isinf" = x""yes; then :
22259   cat >>confdefs.h <<_ACEOF
22260 #define HAVE__ISINF 1
22261 _ACEOF
22262
22263 fi
22264 done
22265
22266     fi
22267   fi
22268
22269
22270
22271
22272
22273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22274 $as_echo_n "checking for isnan declaration... " >&6; }
22275   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22276     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22277   $as_echo_n "(cached) " >&6
22278 else
22279
22280
22281       ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h.  */
22289 #include <math.h>
22290                       #ifdef HAVE_IEEEFP_H
22291                       #include <ieeefp.h>
22292                       #endif
22293
22294 int
22295 main ()
22296 {
22297  isnan(0);
22298   ;
22299   return 0;
22300 }
22301 _ACEOF
22302 if ac_fn_cxx_try_compile "$LINENO"; then :
22303   glibcxx_cv_func_isnan_use=yes
22304 else
22305   glibcxx_cv_func_isnan_use=no
22306 fi
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308       ac_ext=c
22309 ac_cpp='$CPP $CPPFLAGS'
22310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22313
22314
22315 fi
22316
22317   fi
22318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22320
22321   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22322     for ac_func in isnan
22323 do :
22324   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22325 if test "x$ac_cv_func_isnan" = x""yes; then :
22326   cat >>confdefs.h <<_ACEOF
22327 #define HAVE_ISNAN 1
22328 _ACEOF
22329
22330 fi
22331 done
22332
22333   else
22334
22335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22336 $as_echo_n "checking for _isnan declaration... " >&6; }
22337   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22338     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22339   $as_echo_n "(cached) " >&6
22340 else
22341
22342
22343       ac_ext=cpp
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348
22349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h.  */
22351 #include <math.h>
22352                       #ifdef HAVE_IEEEFP_H
22353                       #include <ieeefp.h>
22354                       #endif
22355
22356 int
22357 main ()
22358 {
22359  _isnan(0);
22360   ;
22361   return 0;
22362 }
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365   glibcxx_cv_func__isnan_use=yes
22366 else
22367   glibcxx_cv_func__isnan_use=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370       ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375
22376
22377 fi
22378
22379   fi
22380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22382
22383     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22384       for ac_func in _isnan
22385 do :
22386   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22387 if test "x$ac_cv_func__isnan" = x""yes; then :
22388   cat >>confdefs.h <<_ACEOF
22389 #define HAVE__ISNAN 1
22390 _ACEOF
22391
22392 fi
22393 done
22394
22395     fi
22396   fi
22397
22398
22399
22400
22401
22402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22403 $as_echo_n "checking for finite declaration... " >&6; }
22404   if test x${glibcxx_cv_func_finite_use+set} != xset; then
22405     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22406   $as_echo_n "(cached) " >&6
22407 else
22408
22409
22410       ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415
22416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h.  */
22418 #include <math.h>
22419                       #ifdef HAVE_IEEEFP_H
22420                       #include <ieeefp.h>
22421                       #endif
22422
22423 int
22424 main ()
22425 {
22426  finite(0);
22427   ;
22428   return 0;
22429 }
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432   glibcxx_cv_func_finite_use=yes
22433 else
22434   glibcxx_cv_func_finite_use=no
22435 fi
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437       ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22442
22443
22444 fi
22445
22446   fi
22447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22449
22450   if test x$glibcxx_cv_func_finite_use = x"yes"; then
22451     for ac_func in finite
22452 do :
22453   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22454 if test "x$ac_cv_func_finite" = x""yes; then :
22455   cat >>confdefs.h <<_ACEOF
22456 #define HAVE_FINITE 1
22457 _ACEOF
22458
22459 fi
22460 done
22461
22462   else
22463
22464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22465 $as_echo_n "checking for _finite declaration... " >&6; }
22466   if test x${glibcxx_cv_func__finite_use+set} != xset; then
22467     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22468   $as_echo_n "(cached) " >&6
22469 else
22470
22471
22472       ac_ext=cpp
22473 ac_cpp='$CXXCPP $CPPFLAGS'
22474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477
22478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h.  */
22480 #include <math.h>
22481                       #ifdef HAVE_IEEEFP_H
22482                       #include <ieeefp.h>
22483                       #endif
22484
22485 int
22486 main ()
22487 {
22488  _finite(0);
22489   ;
22490   return 0;
22491 }
22492 _ACEOF
22493 if ac_fn_cxx_try_compile "$LINENO"; then :
22494   glibcxx_cv_func__finite_use=yes
22495 else
22496   glibcxx_cv_func__finite_use=no
22497 fi
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499       ac_ext=c
22500 ac_cpp='$CPP $CPPFLAGS'
22501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504
22505
22506 fi
22507
22508   fi
22509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22511
22512     if test x$glibcxx_cv_func__finite_use = x"yes"; then
22513       for ac_func in _finite
22514 do :
22515   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22516 if test "x$ac_cv_func__finite" = x""yes; then :
22517   cat >>confdefs.h <<_ACEOF
22518 #define HAVE__FINITE 1
22519 _ACEOF
22520
22521 fi
22522 done
22523
22524     fi
22525   fi
22526
22527
22528
22529
22530
22531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22532 $as_echo_n "checking for sincos declaration... " >&6; }
22533   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22534     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22535   $as_echo_n "(cached) " >&6
22536 else
22537
22538
22539       ac_ext=cpp
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544
22545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h.  */
22547 #include <math.h>
22548 int
22549 main ()
22550 {
22551  sincos(0, 0, 0);
22552   ;
22553   return 0;
22554 }
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557   glibcxx_cv_func_sincos_use=yes
22558 else
22559   glibcxx_cv_func_sincos_use=no
22560 fi
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562       ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567
22568
22569 fi
22570
22571   fi
22572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22574
22575   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22576     for ac_func in sincos
22577 do :
22578   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22579 if test "x$ac_cv_func_sincos" = x""yes; then :
22580   cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SINCOS 1
22582 _ACEOF
22583
22584 fi
22585 done
22586
22587   else
22588
22589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22590 $as_echo_n "checking for _sincos declaration... " >&6; }
22591   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22592     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22593   $as_echo_n "(cached) " >&6
22594 else
22595
22596
22597       ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602
22603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h.  */
22605 #include <math.h>
22606 int
22607 main ()
22608 {
22609  _sincos(0, 0, 0);
22610   ;
22611   return 0;
22612 }
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615   glibcxx_cv_func__sincos_use=yes
22616 else
22617   glibcxx_cv_func__sincos_use=no
22618 fi
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620       ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625
22626
22627 fi
22628
22629   fi
22630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22632
22633     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22634       for ac_func in _sincos
22635 do :
22636   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22637 if test "x$ac_cv_func__sincos" = x""yes; then :
22638   cat >>confdefs.h <<_ACEOF
22639 #define HAVE__SINCOS 1
22640 _ACEOF
22641
22642 fi
22643 done
22644
22645     fi
22646   fi
22647
22648
22649
22650
22651
22652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22653 $as_echo_n "checking for fpclass declaration... " >&6; }
22654   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22655     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22656   $as_echo_n "(cached) " >&6
22657 else
22658
22659
22660       ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665
22666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h.  */
22668 #include <math.h>
22669                       #ifdef HAVE_IEEEFP_H
22670                       #include <ieeefp.h>
22671                       #endif
22672
22673 int
22674 main ()
22675 {
22676  fpclass(0);
22677   ;
22678   return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682   glibcxx_cv_func_fpclass_use=yes
22683 else
22684   glibcxx_cv_func_fpclass_use=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687       ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692
22693
22694 fi
22695
22696   fi
22697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22699
22700   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22701     for ac_func in fpclass
22702 do :
22703   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22704 if test "x$ac_cv_func_fpclass" = x""yes; then :
22705   cat >>confdefs.h <<_ACEOF
22706 #define HAVE_FPCLASS 1
22707 _ACEOF
22708
22709 fi
22710 done
22711
22712   else
22713
22714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22715 $as_echo_n "checking for _fpclass declaration... " >&6; }
22716   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22717     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22718   $as_echo_n "(cached) " >&6
22719 else
22720
22721
22722       ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727
22728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h.  */
22730 #include <math.h>
22731                       #ifdef HAVE_IEEEFP_H
22732                       #include <ieeefp.h>
22733                       #endif
22734
22735 int
22736 main ()
22737 {
22738  _fpclass(0);
22739   ;
22740   return 0;
22741 }
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744   glibcxx_cv_func__fpclass_use=yes
22745 else
22746   glibcxx_cv_func__fpclass_use=no
22747 fi
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749       ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754
22755
22756 fi
22757
22758   fi
22759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22761
22762     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22763       for ac_func in _fpclass
22764 do :
22765   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22766 if test "x$ac_cv_func__fpclass" = x""yes; then :
22767   cat >>confdefs.h <<_ACEOF
22768 #define HAVE__FPCLASS 1
22769 _ACEOF
22770
22771 fi
22772 done
22773
22774     fi
22775   fi
22776
22777
22778
22779
22780
22781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22782 $as_echo_n "checking for qfpclass declaration... " >&6; }
22783   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22784     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22785   $as_echo_n "(cached) " >&6
22786 else
22787
22788
22789       ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794
22795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h.  */
22797 #include <math.h>
22798                       #ifdef HAVE_IEEEFP_H
22799                       #include <ieeefp.h>
22800                       #endif
22801
22802 int
22803 main ()
22804 {
22805  qfpclass(0);
22806   ;
22807   return 0;
22808 }
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811   glibcxx_cv_func_qfpclass_use=yes
22812 else
22813   glibcxx_cv_func_qfpclass_use=no
22814 fi
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816       ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821
22822
22823 fi
22824
22825   fi
22826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22828
22829   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22830     for ac_func in qfpclass
22831 do :
22832   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22833 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22834   cat >>confdefs.h <<_ACEOF
22835 #define HAVE_QFPCLASS 1
22836 _ACEOF
22837
22838 fi
22839 done
22840
22841   else
22842
22843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22845   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22846     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22847   $as_echo_n "(cached) " >&6
22848 else
22849
22850
22851       ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856
22857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h.  */
22859 #include <math.h>
22860                       #ifdef HAVE_IEEEFP_H
22861                       #include <ieeefp.h>
22862                       #endif
22863
22864 int
22865 main ()
22866 {
22867  _qfpclass(0);
22868   ;
22869   return 0;
22870 }
22871 _ACEOF
22872 if ac_fn_cxx_try_compile "$LINENO"; then :
22873   glibcxx_cv_func__qfpclass_use=yes
22874 else
22875   glibcxx_cv_func__qfpclass_use=no
22876 fi
22877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22878       ac_ext=c
22879 ac_cpp='$CPP $CPPFLAGS'
22880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22883
22884
22885 fi
22886
22887   fi
22888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22890
22891     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22892       for ac_func in _qfpclass
22893 do :
22894   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22895 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22896   cat >>confdefs.h <<_ACEOF
22897 #define HAVE__QFPCLASS 1
22898 _ACEOF
22899
22900 fi
22901 done
22902
22903     fi
22904   fi
22905
22906
22907
22908
22909
22910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22911 $as_echo_n "checking for hypot declaration... " >&6; }
22912   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22913     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22914   $as_echo_n "(cached) " >&6
22915 else
22916
22917
22918       ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923
22924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h.  */
22926 #include <math.h>
22927 int
22928 main ()
22929 {
22930  hypot(0, 0);
22931   ;
22932   return 0;
22933 }
22934 _ACEOF
22935 if ac_fn_cxx_try_compile "$LINENO"; then :
22936   glibcxx_cv_func_hypot_use=yes
22937 else
22938   glibcxx_cv_func_hypot_use=no
22939 fi
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22941       ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22946
22947
22948 fi
22949
22950   fi
22951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22953
22954   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22955     for ac_func in hypot
22956 do :
22957   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22958 if test "x$ac_cv_func_hypot" = x""yes; then :
22959   cat >>confdefs.h <<_ACEOF
22960 #define HAVE_HYPOT 1
22961 _ACEOF
22962
22963 fi
22964 done
22965
22966   else
22967
22968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22969 $as_echo_n "checking for _hypot declaration... " >&6; }
22970   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22971     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22972   $as_echo_n "(cached) " >&6
22973 else
22974
22975
22976       ac_ext=cpp
22977 ac_cpp='$CXXCPP $CPPFLAGS'
22978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981
22982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h.  */
22984 #include <math.h>
22985 int
22986 main ()
22987 {
22988  _hypot(0, 0);
22989   ;
22990   return 0;
22991 }
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994   glibcxx_cv_func__hypot_use=yes
22995 else
22996   glibcxx_cv_func__hypot_use=no
22997 fi
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999       ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004
23005
23006 fi
23007
23008   fi
23009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23011
23012     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23013       for ac_func in _hypot
23014 do :
23015   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23016 if test "x$ac_cv_func__hypot" = x""yes; then :
23017   cat >>confdefs.h <<_ACEOF
23018 #define HAVE__HYPOT 1
23019 _ACEOF
23020
23021 fi
23022 done
23023
23024     fi
23025   fi
23026
23027
23028
23029
23030
23031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23032 $as_echo_n "checking for float trig functions... " >&6; }
23033   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23034   $as_echo_n "(cached) " >&6
23035 else
23036
23037
23038     ac_ext=cpp
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043
23044     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h.  */
23046 #include <math.h>
23047 int
23048 main ()
23049 {
23050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23051   ;
23052   return 0;
23053 }
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056   glibcxx_cv_func_float_trig_use=yes
23057 else
23058   glibcxx_cv_func_float_trig_use=no
23059 fi
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061     ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23066
23067 fi
23068
23069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23071   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23072     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23073 do :
23074   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23076 eval as_val=\$$as_ac_var
23077    if test "x$as_val" = x""yes; then :
23078   cat >>confdefs.h <<_ACEOF
23079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23080 _ACEOF
23081
23082 fi
23083 done
23084
23085   else
23086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23087 $as_echo_n "checking for _float trig functions... " >&6; }
23088     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23089   $as_echo_n "(cached) " >&6
23090 else
23091
23092
23093       ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098
23099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h.  */
23101 #include <math.h>
23102 int
23103 main ()
23104 {
23105 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23106   ;
23107   return 0;
23108 }
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111   glibcxx_cv_func__float_trig_use=yes
23112 else
23113   glibcxx_cv_func__float_trig_use=no
23114 fi
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116       ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122 fi
23123
23124     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23125 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23126     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23127       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23128 do :
23129   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23131 eval as_val=\$$as_ac_var
23132    if test "x$as_val" = x""yes; then :
23133   cat >>confdefs.h <<_ACEOF
23134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23135 _ACEOF
23136
23137 fi
23138 done
23139
23140     fi
23141   fi
23142
23143
23144
23145
23146
23147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23148 $as_echo_n "checking for float round functions... " >&6; }
23149   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23150   $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154     ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h.  */
23162 #include <math.h>
23163 int
23164 main ()
23165 {
23166 ceilf (0); floorf (0);
23167   ;
23168   return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172   glibcxx_cv_func_float_round_use=yes
23173 else
23174   glibcxx_cv_func_float_round_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177     ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183 fi
23184
23185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23186 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23187   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23188     for ac_func in ceilf floorf
23189 do :
23190   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23192 eval as_val=\$$as_ac_var
23193    if test "x$as_val" = x""yes; then :
23194   cat >>confdefs.h <<_ACEOF
23195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201   else
23202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23203 $as_echo_n "checking for _float round functions... " >&6; }
23204     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23205   $as_echo_n "(cached) " >&6
23206 else
23207
23208
23209       ac_ext=cpp
23210 ac_cpp='$CXXCPP $CPPFLAGS'
23211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214
23215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h.  */
23217 #include <math.h>
23218 int
23219 main ()
23220 {
23221 _ceilf (0); _floorf (0);
23222   ;
23223   return 0;
23224 }
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227   glibcxx_cv_func__float_round_use=yes
23228 else
23229   glibcxx_cv_func__float_round_use=no
23230 fi
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232       ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23237
23238 fi
23239
23240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23241 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23242     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23243       for ac_func in _ceilf _floorf
23244 do :
23245   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23247 eval as_val=\$$as_ac_var
23248    if test "x$as_val" = x""yes; then :
23249   cat >>confdefs.h <<_ACEOF
23250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23251 _ACEOF
23252
23253 fi
23254 done
23255
23256     fi
23257   fi
23258
23259
23260
23261
23262
23263
23264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23265 $as_echo_n "checking for expf declaration... " >&6; }
23266   if test x${glibcxx_cv_func_expf_use+set} != xset; then
23267     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23268   $as_echo_n "(cached) " >&6
23269 else
23270
23271
23272       ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277
23278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h.  */
23280 #include <math.h>
23281                       #ifdef HAVE_IEEEFP_H
23282                       #include <ieeefp.h>
23283                       #endif
23284
23285 int
23286 main ()
23287 {
23288  expf(0);
23289   ;
23290   return 0;
23291 }
23292 _ACEOF
23293 if ac_fn_cxx_try_compile "$LINENO"; then :
23294   glibcxx_cv_func_expf_use=yes
23295 else
23296   glibcxx_cv_func_expf_use=no
23297 fi
23298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299       ac_ext=c
23300 ac_cpp='$CPP $CPPFLAGS'
23301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304
23305
23306 fi
23307
23308   fi
23309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23311
23312   if test x$glibcxx_cv_func_expf_use = x"yes"; then
23313     for ac_func in expf
23314 do :
23315   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23316 if test "x$ac_cv_func_expf" = x""yes; then :
23317   cat >>confdefs.h <<_ACEOF
23318 #define HAVE_EXPF 1
23319 _ACEOF
23320
23321 fi
23322 done
23323
23324   else
23325
23326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23327 $as_echo_n "checking for _expf declaration... " >&6; }
23328   if test x${glibcxx_cv_func__expf_use+set} != xset; then
23329     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23330   $as_echo_n "(cached) " >&6
23331 else
23332
23333
23334       ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339
23340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h.  */
23342 #include <math.h>
23343                       #ifdef HAVE_IEEEFP_H
23344                       #include <ieeefp.h>
23345                       #endif
23346
23347 int
23348 main ()
23349 {
23350  _expf(0);
23351   ;
23352   return 0;
23353 }
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356   glibcxx_cv_func__expf_use=yes
23357 else
23358   glibcxx_cv_func__expf_use=no
23359 fi
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361       ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366
23367
23368 fi
23369
23370   fi
23371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23373
23374     if test x$glibcxx_cv_func__expf_use = x"yes"; then
23375       for ac_func in _expf
23376 do :
23377   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23378 if test "x$ac_cv_func__expf" = x""yes; then :
23379   cat >>confdefs.h <<_ACEOF
23380 #define HAVE__EXPF 1
23381 _ACEOF
23382
23383 fi
23384 done
23385
23386     fi
23387   fi
23388
23389
23390
23391
23392
23393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23394 $as_echo_n "checking for isnanf declaration... " >&6; }
23395   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23396     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23397   $as_echo_n "(cached) " >&6
23398 else
23399
23400
23401       ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406
23407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h.  */
23409 #include <math.h>
23410                       #ifdef HAVE_IEEEFP_H
23411                       #include <ieeefp.h>
23412                       #endif
23413
23414 int
23415 main ()
23416 {
23417  isnanf(0);
23418   ;
23419   return 0;
23420 }
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423   glibcxx_cv_func_isnanf_use=yes
23424 else
23425   glibcxx_cv_func_isnanf_use=no
23426 fi
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428       ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433
23434
23435 fi
23436
23437   fi
23438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23440
23441   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23442     for ac_func in isnanf
23443 do :
23444   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23445 if test "x$ac_cv_func_isnanf" = x""yes; then :
23446   cat >>confdefs.h <<_ACEOF
23447 #define HAVE_ISNANF 1
23448 _ACEOF
23449
23450 fi
23451 done
23452
23453   else
23454
23455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23456 $as_echo_n "checking for _isnanf declaration... " >&6; }
23457   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23458     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23459   $as_echo_n "(cached) " >&6
23460 else
23461
23462
23463       ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468
23469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h.  */
23471 #include <math.h>
23472                       #ifdef HAVE_IEEEFP_H
23473                       #include <ieeefp.h>
23474                       #endif
23475
23476 int
23477 main ()
23478 {
23479  _isnanf(0);
23480   ;
23481   return 0;
23482 }
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485   glibcxx_cv_func__isnanf_use=yes
23486 else
23487   glibcxx_cv_func__isnanf_use=no
23488 fi
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490       ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495
23496
23497 fi
23498
23499   fi
23500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23502
23503     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23504       for ac_func in _isnanf
23505 do :
23506   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23507 if test "x$ac_cv_func__isnanf" = x""yes; then :
23508   cat >>confdefs.h <<_ACEOF
23509 #define HAVE__ISNANF 1
23510 _ACEOF
23511
23512 fi
23513 done
23514
23515     fi
23516   fi
23517
23518
23519
23520
23521
23522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23523 $as_echo_n "checking for isinff declaration... " >&6; }
23524   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23525     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23526   $as_echo_n "(cached) " >&6
23527 else
23528
23529
23530       ac_ext=cpp
23531 ac_cpp='$CXXCPP $CPPFLAGS'
23532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535
23536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h.  */
23538 #include <math.h>
23539                       #ifdef HAVE_IEEEFP_H
23540                       #include <ieeefp.h>
23541                       #endif
23542
23543 int
23544 main ()
23545 {
23546  isinff(0);
23547   ;
23548   return 0;
23549 }
23550 _ACEOF
23551 if ac_fn_cxx_try_compile "$LINENO"; then :
23552   glibcxx_cv_func_isinff_use=yes
23553 else
23554   glibcxx_cv_func_isinff_use=no
23555 fi
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557       ac_ext=c
23558 ac_cpp='$CPP $CPPFLAGS'
23559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562
23563
23564 fi
23565
23566   fi
23567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23569
23570   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23571     for ac_func in isinff
23572 do :
23573   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23574 if test "x$ac_cv_func_isinff" = x""yes; then :
23575   cat >>confdefs.h <<_ACEOF
23576 #define HAVE_ISINFF 1
23577 _ACEOF
23578
23579 fi
23580 done
23581
23582   else
23583
23584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23585 $as_echo_n "checking for _isinff declaration... " >&6; }
23586   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23587     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23588   $as_echo_n "(cached) " >&6
23589 else
23590
23591
23592       ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597
23598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h.  */
23600 #include <math.h>
23601                       #ifdef HAVE_IEEEFP_H
23602                       #include <ieeefp.h>
23603                       #endif
23604
23605 int
23606 main ()
23607 {
23608  _isinff(0);
23609   ;
23610   return 0;
23611 }
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614   glibcxx_cv_func__isinff_use=yes
23615 else
23616   glibcxx_cv_func__isinff_use=no
23617 fi
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619       ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23624
23625
23626 fi
23627
23628   fi
23629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23631
23632     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23633       for ac_func in _isinff
23634 do :
23635   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23636 if test "x$ac_cv_func__isinff" = x""yes; then :
23637   cat >>confdefs.h <<_ACEOF
23638 #define HAVE__ISINFF 1
23639 _ACEOF
23640
23641 fi
23642 done
23643
23644     fi
23645   fi
23646
23647
23648
23649
23650
23651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23652 $as_echo_n "checking for atan2f declaration... " >&6; }
23653   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23654     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23655   $as_echo_n "(cached) " >&6
23656 else
23657
23658
23659       ac_ext=cpp
23660 ac_cpp='$CXXCPP $CPPFLAGS'
23661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664
23665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h.  */
23667 #include <math.h>
23668 int
23669 main ()
23670 {
23671  atan2f(0, 0);
23672   ;
23673   return 0;
23674 }
23675 _ACEOF
23676 if ac_fn_cxx_try_compile "$LINENO"; then :
23677   glibcxx_cv_func_atan2f_use=yes
23678 else
23679   glibcxx_cv_func_atan2f_use=no
23680 fi
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682       ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687
23688
23689 fi
23690
23691   fi
23692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23694
23695   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23696     for ac_func in atan2f
23697 do :
23698   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23699 if test "x$ac_cv_func_atan2f" = x""yes; then :
23700   cat >>confdefs.h <<_ACEOF
23701 #define HAVE_ATAN2F 1
23702 _ACEOF
23703
23704 fi
23705 done
23706
23707   else
23708
23709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23710 $as_echo_n "checking for _atan2f declaration... " >&6; }
23711   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23712     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23713   $as_echo_n "(cached) " >&6
23714 else
23715
23716
23717       ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722
23723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h.  */
23725 #include <math.h>
23726 int
23727 main ()
23728 {
23729  _atan2f(0, 0);
23730   ;
23731   return 0;
23732 }
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735   glibcxx_cv_func__atan2f_use=yes
23736 else
23737   glibcxx_cv_func__atan2f_use=no
23738 fi
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740       ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747 fi
23748
23749   fi
23750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23752
23753     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23754       for ac_func in _atan2f
23755 do :
23756   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23757 if test "x$ac_cv_func__atan2f" = x""yes; then :
23758   cat >>confdefs.h <<_ACEOF
23759 #define HAVE__ATAN2F 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765     fi
23766   fi
23767
23768
23769
23770
23771
23772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23773 $as_echo_n "checking for fabsf declaration... " >&6; }
23774   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23775     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23776   $as_echo_n "(cached) " >&6
23777 else
23778
23779
23780       ac_ext=cpp
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785
23786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h.  */
23788 #include <math.h>
23789                       #ifdef HAVE_IEEEFP_H
23790                       #include <ieeefp.h>
23791                       #endif
23792
23793 int
23794 main ()
23795 {
23796  fabsf(0);
23797   ;
23798   return 0;
23799 }
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802   glibcxx_cv_func_fabsf_use=yes
23803 else
23804   glibcxx_cv_func_fabsf_use=no
23805 fi
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807       ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812
23813
23814 fi
23815
23816   fi
23817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23819
23820   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23821     for ac_func in fabsf
23822 do :
23823   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23824 if test "x$ac_cv_func_fabsf" = x""yes; then :
23825   cat >>confdefs.h <<_ACEOF
23826 #define HAVE_FABSF 1
23827 _ACEOF
23828
23829 fi
23830 done
23831
23832   else
23833
23834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23835 $as_echo_n "checking for _fabsf declaration... " >&6; }
23836   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23837     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23838   $as_echo_n "(cached) " >&6
23839 else
23840
23841
23842       ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847
23848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h.  */
23850 #include <math.h>
23851                       #ifdef HAVE_IEEEFP_H
23852                       #include <ieeefp.h>
23853                       #endif
23854
23855 int
23856 main ()
23857 {
23858  _fabsf(0);
23859   ;
23860   return 0;
23861 }
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864   glibcxx_cv_func__fabsf_use=yes
23865 else
23866   glibcxx_cv_func__fabsf_use=no
23867 fi
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869       ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874
23875
23876 fi
23877
23878   fi
23879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23881
23882     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23883       for ac_func in _fabsf
23884 do :
23885   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23886 if test "x$ac_cv_func__fabsf" = x""yes; then :
23887   cat >>confdefs.h <<_ACEOF
23888 #define HAVE__FABSF 1
23889 _ACEOF
23890
23891 fi
23892 done
23893
23894     fi
23895   fi
23896
23897
23898
23899
23900
23901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23902 $as_echo_n "checking for fmodf declaration... " >&6; }
23903   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23904     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23905   $as_echo_n "(cached) " >&6
23906 else
23907
23908
23909       ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914
23915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h.  */
23917 #include <math.h>
23918 int
23919 main ()
23920 {
23921  fmodf(0, 0);
23922   ;
23923   return 0;
23924 }
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927   glibcxx_cv_func_fmodf_use=yes
23928 else
23929   glibcxx_cv_func_fmodf_use=no
23930 fi
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932       ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937
23938
23939 fi
23940
23941   fi
23942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23944
23945   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23946     for ac_func in fmodf
23947 do :
23948   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23949 if test "x$ac_cv_func_fmodf" = x""yes; then :
23950   cat >>confdefs.h <<_ACEOF
23951 #define HAVE_FMODF 1
23952 _ACEOF
23953
23954 fi
23955 done
23956
23957   else
23958
23959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23960 $as_echo_n "checking for _fmodf declaration... " >&6; }
23961   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23962     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23963   $as_echo_n "(cached) " >&6
23964 else
23965
23966
23967       ac_ext=cpp
23968 ac_cpp='$CXXCPP $CPPFLAGS'
23969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972
23973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h.  */
23975 #include <math.h>
23976 int
23977 main ()
23978 {
23979  _fmodf(0, 0);
23980   ;
23981   return 0;
23982 }
23983 _ACEOF
23984 if ac_fn_cxx_try_compile "$LINENO"; then :
23985   glibcxx_cv_func__fmodf_use=yes
23986 else
23987   glibcxx_cv_func__fmodf_use=no
23988 fi
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990       ac_ext=c
23991 ac_cpp='$CPP $CPPFLAGS'
23992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995
23996
23997 fi
23998
23999   fi
24000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24002
24003     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24004       for ac_func in _fmodf
24005 do :
24006   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24007 if test "x$ac_cv_func__fmodf" = x""yes; then :
24008   cat >>confdefs.h <<_ACEOF
24009 #define HAVE__FMODF 1
24010 _ACEOF
24011
24012 fi
24013 done
24014
24015     fi
24016   fi
24017
24018
24019
24020
24021
24022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24023 $as_echo_n "checking for frexpf declaration... " >&6; }
24024   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24025     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24026   $as_echo_n "(cached) " >&6
24027 else
24028
24029
24030       ac_ext=cpp
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035
24036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24037 /* end confdefs.h.  */
24038 #include <math.h>
24039 int
24040 main ()
24041 {
24042  frexpf(0, 0);
24043   ;
24044   return 0;
24045 }
24046 _ACEOF
24047 if ac_fn_cxx_try_compile "$LINENO"; then :
24048   glibcxx_cv_func_frexpf_use=yes
24049 else
24050   glibcxx_cv_func_frexpf_use=no
24051 fi
24052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24053       ac_ext=c
24054 ac_cpp='$CPP $CPPFLAGS'
24055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058
24059
24060 fi
24061
24062   fi
24063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24065
24066   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24067     for ac_func in frexpf
24068 do :
24069   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24070 if test "x$ac_cv_func_frexpf" = x""yes; then :
24071   cat >>confdefs.h <<_ACEOF
24072 #define HAVE_FREXPF 1
24073 _ACEOF
24074
24075 fi
24076 done
24077
24078   else
24079
24080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24081 $as_echo_n "checking for _frexpf declaration... " >&6; }
24082   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24083     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24084   $as_echo_n "(cached) " >&6
24085 else
24086
24087
24088       ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093
24094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h.  */
24096 #include <math.h>
24097 int
24098 main ()
24099 {
24100  _frexpf(0, 0);
24101   ;
24102   return 0;
24103 }
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106   glibcxx_cv_func__frexpf_use=yes
24107 else
24108   glibcxx_cv_func__frexpf_use=no
24109 fi
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111       ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116
24117
24118 fi
24119
24120   fi
24121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24123
24124     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24125       for ac_func in _frexpf
24126 do :
24127   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24128 if test "x$ac_cv_func__frexpf" = x""yes; then :
24129   cat >>confdefs.h <<_ACEOF
24130 #define HAVE__FREXPF 1
24131 _ACEOF
24132
24133 fi
24134 done
24135
24136     fi
24137   fi
24138
24139
24140
24141
24142
24143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24144 $as_echo_n "checking for hypotf declaration... " >&6; }
24145   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24146     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24147   $as_echo_n "(cached) " >&6
24148 else
24149
24150
24151       ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156
24157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24158 /* end confdefs.h.  */
24159 #include <math.h>
24160 int
24161 main ()
24162 {
24163  hypotf(0, 0);
24164   ;
24165   return 0;
24166 }
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169   glibcxx_cv_func_hypotf_use=yes
24170 else
24171   glibcxx_cv_func_hypotf_use=no
24172 fi
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174       ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179
24180
24181 fi
24182
24183   fi
24184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24186
24187   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24188     for ac_func in hypotf
24189 do :
24190   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24191 if test "x$ac_cv_func_hypotf" = x""yes; then :
24192   cat >>confdefs.h <<_ACEOF
24193 #define HAVE_HYPOTF 1
24194 _ACEOF
24195
24196 fi
24197 done
24198
24199   else
24200
24201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24202 $as_echo_n "checking for _hypotf declaration... " >&6; }
24203   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24204     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24205   $as_echo_n "(cached) " >&6
24206 else
24207
24208
24209       ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214
24215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h.  */
24217 #include <math.h>
24218 int
24219 main ()
24220 {
24221  _hypotf(0, 0);
24222   ;
24223   return 0;
24224 }
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227   glibcxx_cv_func__hypotf_use=yes
24228 else
24229   glibcxx_cv_func__hypotf_use=no
24230 fi
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232       ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237
24238
24239 fi
24240
24241   fi
24242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24244
24245     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24246       for ac_func in _hypotf
24247 do :
24248   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24249 if test "x$ac_cv_func__hypotf" = x""yes; then :
24250   cat >>confdefs.h <<_ACEOF
24251 #define HAVE__HYPOTF 1
24252 _ACEOF
24253
24254 fi
24255 done
24256
24257     fi
24258   fi
24259
24260
24261
24262
24263
24264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24265 $as_echo_n "checking for ldexpf declaration... " >&6; }
24266   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24267     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24268   $as_echo_n "(cached) " >&6
24269 else
24270
24271
24272       ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277
24278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h.  */
24280 #include <math.h>
24281 int
24282 main ()
24283 {
24284  ldexpf(0, 0);
24285   ;
24286   return 0;
24287 }
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290   glibcxx_cv_func_ldexpf_use=yes
24291 else
24292   glibcxx_cv_func_ldexpf_use=no
24293 fi
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295       ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300
24301
24302 fi
24303
24304   fi
24305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24307
24308   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24309     for ac_func in ldexpf
24310 do :
24311   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24312 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24313   cat >>confdefs.h <<_ACEOF
24314 #define HAVE_LDEXPF 1
24315 _ACEOF
24316
24317 fi
24318 done
24319
24320   else
24321
24322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24324   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24325     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24326   $as_echo_n "(cached) " >&6
24327 else
24328
24329
24330       ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335
24336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h.  */
24338 #include <math.h>
24339 int
24340 main ()
24341 {
24342  _ldexpf(0, 0);
24343   ;
24344   return 0;
24345 }
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348   glibcxx_cv_func__ldexpf_use=yes
24349 else
24350   glibcxx_cv_func__ldexpf_use=no
24351 fi
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353       ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24358
24359
24360 fi
24361
24362   fi
24363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24365
24366     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24367       for ac_func in _ldexpf
24368 do :
24369   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24370 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24371   cat >>confdefs.h <<_ACEOF
24372 #define HAVE__LDEXPF 1
24373 _ACEOF
24374
24375 fi
24376 done
24377
24378     fi
24379   fi
24380
24381
24382
24383
24384
24385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24386 $as_echo_n "checking for logf declaration... " >&6; }
24387   if test x${glibcxx_cv_func_logf_use+set} != xset; then
24388     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24389   $as_echo_n "(cached) " >&6
24390 else
24391
24392
24393       ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398
24399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h.  */
24401 #include <math.h>
24402                       #ifdef HAVE_IEEEFP_H
24403                       #include <ieeefp.h>
24404                       #endif
24405
24406 int
24407 main ()
24408 {
24409  logf(0);
24410   ;
24411   return 0;
24412 }
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415   glibcxx_cv_func_logf_use=yes
24416 else
24417   glibcxx_cv_func_logf_use=no
24418 fi
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420       ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425
24426
24427 fi
24428
24429   fi
24430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24432
24433   if test x$glibcxx_cv_func_logf_use = x"yes"; then
24434     for ac_func in logf
24435 do :
24436   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24437 if test "x$ac_cv_func_logf" = x""yes; then :
24438   cat >>confdefs.h <<_ACEOF
24439 #define HAVE_LOGF 1
24440 _ACEOF
24441
24442 fi
24443 done
24444
24445   else
24446
24447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24448 $as_echo_n "checking for _logf declaration... " >&6; }
24449   if test x${glibcxx_cv_func__logf_use+set} != xset; then
24450     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24451   $as_echo_n "(cached) " >&6
24452 else
24453
24454
24455       ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460
24461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h.  */
24463 #include <math.h>
24464                       #ifdef HAVE_IEEEFP_H
24465                       #include <ieeefp.h>
24466                       #endif
24467
24468 int
24469 main ()
24470 {
24471  _logf(0);
24472   ;
24473   return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477   glibcxx_cv_func__logf_use=yes
24478 else
24479   glibcxx_cv_func__logf_use=no
24480 fi
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482       ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487
24488
24489 fi
24490
24491   fi
24492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24494
24495     if test x$glibcxx_cv_func__logf_use = x"yes"; then
24496       for ac_func in _logf
24497 do :
24498   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24499 if test "x$ac_cv_func__logf" = x""yes; then :
24500   cat >>confdefs.h <<_ACEOF
24501 #define HAVE__LOGF 1
24502 _ACEOF
24503
24504 fi
24505 done
24506
24507     fi
24508   fi
24509
24510
24511
24512
24513
24514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24515 $as_echo_n "checking for log10f declaration... " >&6; }
24516   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24517     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24518   $as_echo_n "(cached) " >&6
24519 else
24520
24521
24522       ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527
24528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h.  */
24530 #include <math.h>
24531                       #ifdef HAVE_IEEEFP_H
24532                       #include <ieeefp.h>
24533                       #endif
24534
24535 int
24536 main ()
24537 {
24538  log10f(0);
24539   ;
24540   return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544   glibcxx_cv_func_log10f_use=yes
24545 else
24546   glibcxx_cv_func_log10f_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
24556 fi
24557
24558   fi
24559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24561
24562   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24563     for ac_func in log10f
24564 do :
24565   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24566 if test "x$ac_cv_func_log10f" = x""yes; then :
24567   cat >>confdefs.h <<_ACEOF
24568 #define HAVE_LOG10F 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574   else
24575
24576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24577 $as_echo_n "checking for _log10f declaration... " >&6; }
24578   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24579     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24580   $as_echo_n "(cached) " >&6
24581 else
24582
24583
24584       ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589
24590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h.  */
24592 #include <math.h>
24593                       #ifdef HAVE_IEEEFP_H
24594                       #include <ieeefp.h>
24595                       #endif
24596
24597 int
24598 main ()
24599 {
24600  _log10f(0);
24601   ;
24602   return 0;
24603 }
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606   glibcxx_cv_func__log10f_use=yes
24607 else
24608   glibcxx_cv_func__log10f_use=no
24609 fi
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611       ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616
24617
24618 fi
24619
24620   fi
24621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24623
24624     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24625       for ac_func in _log10f
24626 do :
24627   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24628 if test "x$ac_cv_func__log10f" = x""yes; then :
24629   cat >>confdefs.h <<_ACEOF
24630 #define HAVE__LOG10F 1
24631 _ACEOF
24632
24633 fi
24634 done
24635
24636     fi
24637   fi
24638
24639
24640
24641
24642
24643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24644 $as_echo_n "checking for modff declaration... " >&6; }
24645   if test x${glibcxx_cv_func_modff_use+set} != xset; then
24646     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24647   $as_echo_n "(cached) " >&6
24648 else
24649
24650
24651       ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656
24657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h.  */
24659 #include <math.h>
24660 int
24661 main ()
24662 {
24663  modff(0, 0);
24664   ;
24665   return 0;
24666 }
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669   glibcxx_cv_func_modff_use=yes
24670 else
24671   glibcxx_cv_func_modff_use=no
24672 fi
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674       ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679
24680
24681 fi
24682
24683   fi
24684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24686
24687   if test x$glibcxx_cv_func_modff_use = x"yes"; then
24688     for ac_func in modff
24689 do :
24690   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24691 if test "x$ac_cv_func_modff" = x""yes; then :
24692   cat >>confdefs.h <<_ACEOF
24693 #define HAVE_MODFF 1
24694 _ACEOF
24695
24696 fi
24697 done
24698
24699   else
24700
24701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24702 $as_echo_n "checking for _modff declaration... " >&6; }
24703   if test x${glibcxx_cv_func__modff_use+set} != xset; then
24704     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24705   $as_echo_n "(cached) " >&6
24706 else
24707
24708
24709       ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714
24715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h.  */
24717 #include <math.h>
24718 int
24719 main ()
24720 {
24721  _modff(0, 0);
24722   ;
24723   return 0;
24724 }
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727   glibcxx_cv_func__modff_use=yes
24728 else
24729   glibcxx_cv_func__modff_use=no
24730 fi
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732       ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24737
24738
24739 fi
24740
24741   fi
24742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24744
24745     if test x$glibcxx_cv_func__modff_use = x"yes"; then
24746       for ac_func in _modff
24747 do :
24748   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24749 if test "x$ac_cv_func__modff" = x""yes; then :
24750   cat >>confdefs.h <<_ACEOF
24751 #define HAVE__MODFF 1
24752 _ACEOF
24753
24754 fi
24755 done
24756
24757     fi
24758   fi
24759
24760
24761
24762
24763
24764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24765 $as_echo_n "checking for modf declaration... " >&6; }
24766   if test x${glibcxx_cv_func_modf_use+set} != xset; then
24767     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24768   $as_echo_n "(cached) " >&6
24769 else
24770
24771
24772       ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777
24778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h.  */
24780 #include <math.h>
24781 int
24782 main ()
24783 {
24784  modf(0, 0);
24785   ;
24786   return 0;
24787 }
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790   glibcxx_cv_func_modf_use=yes
24791 else
24792   glibcxx_cv_func_modf_use=no
24793 fi
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795       ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800
24801
24802 fi
24803
24804   fi
24805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24807
24808   if test x$glibcxx_cv_func_modf_use = x"yes"; then
24809     for ac_func in modf
24810 do :
24811   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24812 if test "x$ac_cv_func_modf" = x""yes; then :
24813   cat >>confdefs.h <<_ACEOF
24814 #define HAVE_MODF 1
24815 _ACEOF
24816
24817 fi
24818 done
24819
24820   else
24821
24822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24823 $as_echo_n "checking for _modf declaration... " >&6; }
24824   if test x${glibcxx_cv_func__modf_use+set} != xset; then
24825     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24826   $as_echo_n "(cached) " >&6
24827 else
24828
24829
24830       ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835
24836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h.  */
24838 #include <math.h>
24839 int
24840 main ()
24841 {
24842  _modf(0, 0);
24843   ;
24844   return 0;
24845 }
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848   glibcxx_cv_func__modf_use=yes
24849 else
24850   glibcxx_cv_func__modf_use=no
24851 fi
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853       ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24858
24859
24860 fi
24861
24862   fi
24863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24865
24866     if test x$glibcxx_cv_func__modf_use = x"yes"; then
24867       for ac_func in _modf
24868 do :
24869   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24870 if test "x$ac_cv_func__modf" = x""yes; then :
24871   cat >>confdefs.h <<_ACEOF
24872 #define HAVE__MODF 1
24873 _ACEOF
24874
24875 fi
24876 done
24877
24878     fi
24879   fi
24880
24881
24882
24883
24884
24885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24886 $as_echo_n "checking for powf declaration... " >&6; }
24887   if test x${glibcxx_cv_func_powf_use+set} != xset; then
24888     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24889   $as_echo_n "(cached) " >&6
24890 else
24891
24892
24893       ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898
24899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h.  */
24901 #include <math.h>
24902 int
24903 main ()
24904 {
24905  powf(0, 0);
24906   ;
24907   return 0;
24908 }
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911   glibcxx_cv_func_powf_use=yes
24912 else
24913   glibcxx_cv_func_powf_use=no
24914 fi
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916       ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921
24922
24923 fi
24924
24925   fi
24926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24928
24929   if test x$glibcxx_cv_func_powf_use = x"yes"; then
24930     for ac_func in powf
24931 do :
24932   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24933 if test "x$ac_cv_func_powf" = x""yes; then :
24934   cat >>confdefs.h <<_ACEOF
24935 #define HAVE_POWF 1
24936 _ACEOF
24937
24938 fi
24939 done
24940
24941   else
24942
24943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24944 $as_echo_n "checking for _powf declaration... " >&6; }
24945   if test x${glibcxx_cv_func__powf_use+set} != xset; then
24946     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24947   $as_echo_n "(cached) " >&6
24948 else
24949
24950
24951       ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956
24957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h.  */
24959 #include <math.h>
24960 int
24961 main ()
24962 {
24963  _powf(0, 0);
24964   ;
24965   return 0;
24966 }
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969   glibcxx_cv_func__powf_use=yes
24970 else
24971   glibcxx_cv_func__powf_use=no
24972 fi
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974       ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24979
24980
24981 fi
24982
24983   fi
24984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24986
24987     if test x$glibcxx_cv_func__powf_use = x"yes"; then
24988       for ac_func in _powf
24989 do :
24990   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24991 if test "x$ac_cv_func__powf" = x""yes; then :
24992   cat >>confdefs.h <<_ACEOF
24993 #define HAVE__POWF 1
24994 _ACEOF
24995
24996 fi
24997 done
24998
24999     fi
25000   fi
25001
25002
25003
25004
25005
25006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25007 $as_echo_n "checking for sqrtf declaration... " >&6; }
25008   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25009     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25010   $as_echo_n "(cached) " >&6
25011 else
25012
25013
25014       ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019
25020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h.  */
25022 #include <math.h>
25023                       #ifdef HAVE_IEEEFP_H
25024                       #include <ieeefp.h>
25025                       #endif
25026
25027 int
25028 main ()
25029 {
25030  sqrtf(0);
25031   ;
25032   return 0;
25033 }
25034 _ACEOF
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036   glibcxx_cv_func_sqrtf_use=yes
25037 else
25038   glibcxx_cv_func_sqrtf_use=no
25039 fi
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041       ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046
25047
25048 fi
25049
25050   fi
25051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25053
25054   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25055     for ac_func in sqrtf
25056 do :
25057   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25058 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25059   cat >>confdefs.h <<_ACEOF
25060 #define HAVE_SQRTF 1
25061 _ACEOF
25062
25063 fi
25064 done
25065
25066   else
25067
25068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25070   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25071     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25072   $as_echo_n "(cached) " >&6
25073 else
25074
25075
25076       ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081
25082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h.  */
25084 #include <math.h>
25085                       #ifdef HAVE_IEEEFP_H
25086                       #include <ieeefp.h>
25087                       #endif
25088
25089 int
25090 main ()
25091 {
25092  _sqrtf(0);
25093   ;
25094   return 0;
25095 }
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098   glibcxx_cv_func__sqrtf_use=yes
25099 else
25100   glibcxx_cv_func__sqrtf_use=no
25101 fi
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103       ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108
25109
25110 fi
25111
25112   fi
25113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25115
25116     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25117       for ac_func in _sqrtf
25118 do :
25119   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25120 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25121   cat >>confdefs.h <<_ACEOF
25122 #define HAVE__SQRTF 1
25123 _ACEOF
25124
25125 fi
25126 done
25127
25128     fi
25129   fi
25130
25131
25132
25133
25134
25135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25136 $as_echo_n "checking for sincosf declaration... " >&6; }
25137   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25138     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25139   $as_echo_n "(cached) " >&6
25140 else
25141
25142
25143       ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148
25149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h.  */
25151 #include <math.h>
25152 int
25153 main ()
25154 {
25155  sincosf(0, 0, 0);
25156   ;
25157   return 0;
25158 }
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161   glibcxx_cv_func_sincosf_use=yes
25162 else
25163   glibcxx_cv_func_sincosf_use=no
25164 fi
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166       ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25171
25172
25173 fi
25174
25175   fi
25176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25178
25179   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25180     for ac_func in sincosf
25181 do :
25182   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25183 if test "x$ac_cv_func_sincosf" = x""yes; then :
25184   cat >>confdefs.h <<_ACEOF
25185 #define HAVE_SINCOSF 1
25186 _ACEOF
25187
25188 fi
25189 done
25190
25191   else
25192
25193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25194 $as_echo_n "checking for _sincosf declaration... " >&6; }
25195   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25196     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25197   $as_echo_n "(cached) " >&6
25198 else
25199
25200
25201       ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206
25207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h.  */
25209 #include <math.h>
25210 int
25211 main ()
25212 {
25213  _sincosf(0, 0, 0);
25214   ;
25215   return 0;
25216 }
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219   glibcxx_cv_func__sincosf_use=yes
25220 else
25221   glibcxx_cv_func__sincosf_use=no
25222 fi
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224       ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231 fi
25232
25233   fi
25234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25236
25237     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25238       for ac_func in _sincosf
25239 do :
25240   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25241 if test "x$ac_cv_func__sincosf" = x""yes; then :
25242   cat >>confdefs.h <<_ACEOF
25243 #define HAVE__SINCOSF 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249     fi
25250   fi
25251
25252
25253
25254
25255
25256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25257 $as_echo_n "checking for finitef declaration... " >&6; }
25258   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25259     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25260   $as_echo_n "(cached) " >&6
25261 else
25262
25263
25264       ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269
25270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h.  */
25272 #include <math.h>
25273                       #ifdef HAVE_IEEEFP_H
25274                       #include <ieeefp.h>
25275                       #endif
25276
25277 int
25278 main ()
25279 {
25280  finitef(0);
25281   ;
25282   return 0;
25283 }
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286   glibcxx_cv_func_finitef_use=yes
25287 else
25288   glibcxx_cv_func_finitef_use=no
25289 fi
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291       ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300   fi
25301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25303
25304   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25305     for ac_func in finitef
25306 do :
25307   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25308 if test "x$ac_cv_func_finitef" = x""yes; then :
25309   cat >>confdefs.h <<_ACEOF
25310 #define HAVE_FINITEF 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316   else
25317
25318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25319 $as_echo_n "checking for _finitef declaration... " >&6; }
25320   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25321     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25322   $as_echo_n "(cached) " >&6
25323 else
25324
25325
25326       ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331
25332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h.  */
25334 #include <math.h>
25335                       #ifdef HAVE_IEEEFP_H
25336                       #include <ieeefp.h>
25337                       #endif
25338
25339 int
25340 main ()
25341 {
25342  _finitef(0);
25343   ;
25344   return 0;
25345 }
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348   glibcxx_cv_func__finitef_use=yes
25349 else
25350   glibcxx_cv_func__finitef_use=no
25351 fi
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353       ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25358
25359
25360 fi
25361
25362   fi
25363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25365
25366     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25367       for ac_func in _finitef
25368 do :
25369   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25370 if test "x$ac_cv_func__finitef" = x""yes; then :
25371   cat >>confdefs.h <<_ACEOF
25372 #define HAVE__FINITEF 1
25373 _ACEOF
25374
25375 fi
25376 done
25377
25378     fi
25379   fi
25380
25381
25382
25383
25384
25385     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25386 $as_echo_n "checking for long double trig functions... " >&6; }
25387   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25388   $as_echo_n "(cached) " >&6
25389 else
25390
25391
25392     ac_ext=cpp
25393 ac_cpp='$CXXCPP $CPPFLAGS'
25394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25397
25398     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h.  */
25400 #include <math.h>
25401 int
25402 main ()
25403 {
25404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25405   ;
25406   return 0;
25407 }
25408 _ACEOF
25409 if ac_fn_cxx_try_compile "$LINENO"; then :
25410   glibcxx_cv_func_long_double_trig_use=yes
25411 else
25412   glibcxx_cv_func_long_double_trig_use=no
25413 fi
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25415     ac_ext=c
25416 ac_cpp='$CPP $CPPFLAGS'
25417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420
25421 fi
25422
25423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25425   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25426     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25427 do :
25428   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25430 eval as_val=\$$as_ac_var
25431    if test "x$as_val" = x""yes; then :
25432   cat >>confdefs.h <<_ACEOF
25433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25434 _ACEOF
25435
25436 fi
25437 done
25438
25439   else
25440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25441 $as_echo_n "checking for _long double trig functions... " >&6; }
25442     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25443   $as_echo_n "(cached) " >&6
25444 else
25445
25446
25447       ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452
25453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h.  */
25455 #include <math.h>
25456 int
25457 main ()
25458 {
25459 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25460   ;
25461   return 0;
25462 }
25463 _ACEOF
25464 if ac_fn_cxx_try_compile "$LINENO"; then :
25465   glibcxx_cv_func__long_double_trig_use=yes
25466 else
25467   glibcxx_cv_func__long_double_trig_use=no
25468 fi
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470       ac_ext=c
25471 ac_cpp='$CPP $CPPFLAGS'
25472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25475
25476 fi
25477
25478     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25479 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25480     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25481       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25482 do :
25483   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25485 eval as_val=\$$as_ac_var
25486    if test "x$as_val" = x""yes; then :
25487   cat >>confdefs.h <<_ACEOF
25488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25489 _ACEOF
25490
25491 fi
25492 done
25493
25494     fi
25495   fi
25496
25497
25498
25499
25500
25501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25502 $as_echo_n "checking for long double round functions... " >&6; }
25503   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25504   $as_echo_n "(cached) " >&6
25505 else
25506
25507
25508     ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513
25514     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h.  */
25516 #include <math.h>
25517 int
25518 main ()
25519 {
25520 ceill (0); floorl (0);
25521   ;
25522   return 0;
25523 }
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526   glibcxx_cv_func_long_double_round_use=yes
25527 else
25528   glibcxx_cv_func_long_double_round_use=no
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531     ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536
25537 fi
25538
25539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25540 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25541   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25542     for ac_func in ceill floorl
25543 do :
25544   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25546 eval as_val=\$$as_ac_var
25547    if test "x$as_val" = x""yes; then :
25548   cat >>confdefs.h <<_ACEOF
25549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555   else
25556     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25557 $as_echo_n "checking for _long double round functions... " >&6; }
25558     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25559   $as_echo_n "(cached) " >&6
25560 else
25561
25562
25563       ac_ext=cpp
25564 ac_cpp='$CXXCPP $CPPFLAGS'
25565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568
25569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h.  */
25571 #include <math.h>
25572 int
25573 main ()
25574 {
25575 _ceill (0); _floorl (0);
25576   ;
25577   return 0;
25578 }
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581   glibcxx_cv_func__long_double_round_use=yes
25582 else
25583   glibcxx_cv_func__long_double_round_use=no
25584 fi
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586       ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25591
25592 fi
25593
25594     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25595 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25596     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25597       for ac_func in _ceill _floorl
25598 do :
25599   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25601 eval as_val=\$$as_ac_var
25602    if test "x$as_val" = x""yes; then :
25603   cat >>confdefs.h <<_ACEOF
25604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25605 _ACEOF
25606
25607 fi
25608 done
25609
25610     fi
25611   fi
25612
25613
25614
25615
25616
25617
25618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25619 $as_echo_n "checking for isnanl declaration... " >&6; }
25620   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25621     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25622   $as_echo_n "(cached) " >&6
25623 else
25624
25625
25626       ac_ext=cpp
25627 ac_cpp='$CXXCPP $CPPFLAGS'
25628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25631
25632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633 /* end confdefs.h.  */
25634 #include <math.h>
25635                       #ifdef HAVE_IEEEFP_H
25636                       #include <ieeefp.h>
25637                       #endif
25638
25639 int
25640 main ()
25641 {
25642  isnanl(0);
25643   ;
25644   return 0;
25645 }
25646 _ACEOF
25647 if ac_fn_cxx_try_compile "$LINENO"; then :
25648   glibcxx_cv_func_isnanl_use=yes
25649 else
25650   glibcxx_cv_func_isnanl_use=no
25651 fi
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653       ac_ext=c
25654 ac_cpp='$CPP $CPPFLAGS'
25655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25658
25659
25660 fi
25661
25662   fi
25663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25664 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25665
25666   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25667     for ac_func in isnanl
25668 do :
25669   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25670 if test "x$ac_cv_func_isnanl" = x""yes; then :
25671   cat >>confdefs.h <<_ACEOF
25672 #define HAVE_ISNANL 1
25673 _ACEOF
25674
25675 fi
25676 done
25677
25678   else
25679
25680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25681 $as_echo_n "checking for _isnanl declaration... " >&6; }
25682   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25683     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25684   $as_echo_n "(cached) " >&6
25685 else
25686
25687
25688       ac_ext=cpp
25689 ac_cpp='$CXXCPP $CPPFLAGS'
25690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25693
25694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25695 /* end confdefs.h.  */
25696 #include <math.h>
25697                       #ifdef HAVE_IEEEFP_H
25698                       #include <ieeefp.h>
25699                       #endif
25700
25701 int
25702 main ()
25703 {
25704  _isnanl(0);
25705   ;
25706   return 0;
25707 }
25708 _ACEOF
25709 if ac_fn_cxx_try_compile "$LINENO"; then :
25710   glibcxx_cv_func__isnanl_use=yes
25711 else
25712   glibcxx_cv_func__isnanl_use=no
25713 fi
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25715       ac_ext=c
25716 ac_cpp='$CPP $CPPFLAGS'
25717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25720
25721
25722 fi
25723
25724   fi
25725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25726 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25727
25728     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25729       for ac_func in _isnanl
25730 do :
25731   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25732 if test "x$ac_cv_func__isnanl" = x""yes; then :
25733   cat >>confdefs.h <<_ACEOF
25734 #define HAVE__ISNANL 1
25735 _ACEOF
25736
25737 fi
25738 done
25739
25740     fi
25741   fi
25742
25743
25744
25745
25746
25747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25748 $as_echo_n "checking for isinfl declaration... " >&6; }
25749   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25750     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25751   $as_echo_n "(cached) " >&6
25752 else
25753
25754
25755       ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760
25761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h.  */
25763 #include <math.h>
25764                       #ifdef HAVE_IEEEFP_H
25765                       #include <ieeefp.h>
25766                       #endif
25767
25768 int
25769 main ()
25770 {
25771  isinfl(0);
25772   ;
25773   return 0;
25774 }
25775 _ACEOF
25776 if ac_fn_cxx_try_compile "$LINENO"; then :
25777   glibcxx_cv_func_isinfl_use=yes
25778 else
25779   glibcxx_cv_func_isinfl_use=no
25780 fi
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782       ac_ext=c
25783 ac_cpp='$CPP $CPPFLAGS'
25784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25787
25788
25789 fi
25790
25791   fi
25792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25793 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25794
25795   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25796     for ac_func in isinfl
25797 do :
25798   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25799 if test "x$ac_cv_func_isinfl" = x""yes; then :
25800   cat >>confdefs.h <<_ACEOF
25801 #define HAVE_ISINFL 1
25802 _ACEOF
25803
25804 fi
25805 done
25806
25807   else
25808
25809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25810 $as_echo_n "checking for _isinfl declaration... " >&6; }
25811   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25812     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25813   $as_echo_n "(cached) " >&6
25814 else
25815
25816
25817       ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822
25823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h.  */
25825 #include <math.h>
25826                       #ifdef HAVE_IEEEFP_H
25827                       #include <ieeefp.h>
25828                       #endif
25829
25830 int
25831 main ()
25832 {
25833  _isinfl(0);
25834   ;
25835   return 0;
25836 }
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839   glibcxx_cv_func__isinfl_use=yes
25840 else
25841   glibcxx_cv_func__isinfl_use=no
25842 fi
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844       ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25849
25850
25851 fi
25852
25853   fi
25854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25855 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25856
25857     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25858       for ac_func in _isinfl
25859 do :
25860   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25861 if test "x$ac_cv_func__isinfl" = x""yes; then :
25862   cat >>confdefs.h <<_ACEOF
25863 #define HAVE__ISINFL 1
25864 _ACEOF
25865
25866 fi
25867 done
25868
25869     fi
25870   fi
25871
25872
25873
25874
25875
25876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25877 $as_echo_n "checking for atan2l declaration... " >&6; }
25878   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25879     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25880   $as_echo_n "(cached) " >&6
25881 else
25882
25883
25884       ac_ext=cpp
25885 ac_cpp='$CXXCPP $CPPFLAGS'
25886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889
25890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25891 /* end confdefs.h.  */
25892 #include <math.h>
25893 int
25894 main ()
25895 {
25896  atan2l(0, 0);
25897   ;
25898   return 0;
25899 }
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902   glibcxx_cv_func_atan2l_use=yes
25903 else
25904   glibcxx_cv_func_atan2l_use=no
25905 fi
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907       ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25912
25913
25914 fi
25915
25916   fi
25917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25918 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25919
25920   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25921     for ac_func in atan2l
25922 do :
25923   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25924 if test "x$ac_cv_func_atan2l" = x""yes; then :
25925   cat >>confdefs.h <<_ACEOF
25926 #define HAVE_ATAN2L 1
25927 _ACEOF
25928
25929 fi
25930 done
25931
25932   else
25933
25934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25935 $as_echo_n "checking for _atan2l declaration... " >&6; }
25936   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25937     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25938   $as_echo_n "(cached) " >&6
25939 else
25940
25941
25942       ac_ext=cpp
25943 ac_cpp='$CXXCPP $CPPFLAGS'
25944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947
25948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h.  */
25950 #include <math.h>
25951 int
25952 main ()
25953 {
25954  _atan2l(0, 0);
25955   ;
25956   return 0;
25957 }
25958 _ACEOF
25959 if ac_fn_cxx_try_compile "$LINENO"; then :
25960   glibcxx_cv_func__atan2l_use=yes
25961 else
25962   glibcxx_cv_func__atan2l_use=no
25963 fi
25964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25965       ac_ext=c
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25970
25971
25972 fi
25973
25974   fi
25975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25976 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25977
25978     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25979       for ac_func in _atan2l
25980 do :
25981   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25982 if test "x$ac_cv_func__atan2l" = x""yes; then :
25983   cat >>confdefs.h <<_ACEOF
25984 #define HAVE__ATAN2L 1
25985 _ACEOF
25986
25987 fi
25988 done
25989
25990     fi
25991   fi
25992
25993
25994
25995
25996
25997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25998 $as_echo_n "checking for expl declaration... " >&6; }
25999   if test x${glibcxx_cv_func_expl_use+set} != xset; then
26000     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26001   $as_echo_n "(cached) " >&6
26002 else
26003
26004
26005       ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010
26011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h.  */
26013 #include <math.h>
26014                       #ifdef HAVE_IEEEFP_H
26015                       #include <ieeefp.h>
26016                       #endif
26017
26018 int
26019 main ()
26020 {
26021  expl(0);
26022   ;
26023   return 0;
26024 }
26025 _ACEOF
26026 if ac_fn_cxx_try_compile "$LINENO"; then :
26027   glibcxx_cv_func_expl_use=yes
26028 else
26029   glibcxx_cv_func_expl_use=no
26030 fi
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032       ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26037
26038
26039 fi
26040
26041   fi
26042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26043 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26044
26045   if test x$glibcxx_cv_func_expl_use = x"yes"; then
26046     for ac_func in expl
26047 do :
26048   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26049 if test "x$ac_cv_func_expl" = x""yes; then :
26050   cat >>confdefs.h <<_ACEOF
26051 #define HAVE_EXPL 1
26052 _ACEOF
26053
26054 fi
26055 done
26056
26057   else
26058
26059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26060 $as_echo_n "checking for _expl declaration... " >&6; }
26061   if test x${glibcxx_cv_func__expl_use+set} != xset; then
26062     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26063   $as_echo_n "(cached) " >&6
26064 else
26065
26066
26067       ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072
26073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h.  */
26075 #include <math.h>
26076                       #ifdef HAVE_IEEEFP_H
26077                       #include <ieeefp.h>
26078                       #endif
26079
26080 int
26081 main ()
26082 {
26083  _expl(0);
26084   ;
26085   return 0;
26086 }
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089   glibcxx_cv_func__expl_use=yes
26090 else
26091   glibcxx_cv_func__expl_use=no
26092 fi
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094       ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26099
26100
26101 fi
26102
26103   fi
26104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26105 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26106
26107     if test x$glibcxx_cv_func__expl_use = x"yes"; then
26108       for ac_func in _expl
26109 do :
26110   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26111 if test "x$ac_cv_func__expl" = x""yes; then :
26112   cat >>confdefs.h <<_ACEOF
26113 #define HAVE__EXPL 1
26114 _ACEOF
26115
26116 fi
26117 done
26118
26119     fi
26120   fi
26121
26122
26123
26124
26125
26126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26127 $as_echo_n "checking for fabsl declaration... " >&6; }
26128   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26129     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26130   $as_echo_n "(cached) " >&6
26131 else
26132
26133
26134       ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139
26140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h.  */
26142 #include <math.h>
26143                       #ifdef HAVE_IEEEFP_H
26144                       #include <ieeefp.h>
26145                       #endif
26146
26147 int
26148 main ()
26149 {
26150  fabsl(0);
26151   ;
26152   return 0;
26153 }
26154 _ACEOF
26155 if ac_fn_cxx_try_compile "$LINENO"; then :
26156   glibcxx_cv_func_fabsl_use=yes
26157 else
26158   glibcxx_cv_func_fabsl_use=no
26159 fi
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161       ac_ext=c
26162 ac_cpp='$CPP $CPPFLAGS'
26163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166
26167
26168 fi
26169
26170   fi
26171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26172 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26173
26174   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26175     for ac_func in fabsl
26176 do :
26177   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26178 if test "x$ac_cv_func_fabsl" = x""yes; then :
26179   cat >>confdefs.h <<_ACEOF
26180 #define HAVE_FABSL 1
26181 _ACEOF
26182
26183 fi
26184 done
26185
26186   else
26187
26188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26189 $as_echo_n "checking for _fabsl declaration... " >&6; }
26190   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26191     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26192   $as_echo_n "(cached) " >&6
26193 else
26194
26195
26196       ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201
26202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h.  */
26204 #include <math.h>
26205                       #ifdef HAVE_IEEEFP_H
26206                       #include <ieeefp.h>
26207                       #endif
26208
26209 int
26210 main ()
26211 {
26212  _fabsl(0);
26213   ;
26214   return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218   glibcxx_cv_func__fabsl_use=yes
26219 else
26220   glibcxx_cv_func__fabsl_use=no
26221 fi
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223       ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26228
26229
26230 fi
26231
26232   fi
26233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26234 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26235
26236     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26237       for ac_func in _fabsl
26238 do :
26239   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26240 if test "x$ac_cv_func__fabsl" = x""yes; then :
26241   cat >>confdefs.h <<_ACEOF
26242 #define HAVE__FABSL 1
26243 _ACEOF
26244
26245 fi
26246 done
26247
26248     fi
26249   fi
26250
26251
26252
26253
26254
26255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26256 $as_echo_n "checking for fmodl declaration... " >&6; }
26257   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26258     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26259   $as_echo_n "(cached) " >&6
26260 else
26261
26262
26263       ac_ext=cpp
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268
26269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h.  */
26271 #include <math.h>
26272 int
26273 main ()
26274 {
26275  fmodl(0, 0);
26276   ;
26277   return 0;
26278 }
26279 _ACEOF
26280 if ac_fn_cxx_try_compile "$LINENO"; then :
26281   glibcxx_cv_func_fmodl_use=yes
26282 else
26283   glibcxx_cv_func_fmodl_use=no
26284 fi
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286       ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291
26292
26293 fi
26294
26295   fi
26296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26297 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26298
26299   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26300     for ac_func in fmodl
26301 do :
26302   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26303 if test "x$ac_cv_func_fmodl" = x""yes; then :
26304   cat >>confdefs.h <<_ACEOF
26305 #define HAVE_FMODL 1
26306 _ACEOF
26307
26308 fi
26309 done
26310
26311   else
26312
26313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26314 $as_echo_n "checking for _fmodl declaration... " >&6; }
26315   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26316     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26317   $as_echo_n "(cached) " >&6
26318 else
26319
26320
26321       ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326
26327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h.  */
26329 #include <math.h>
26330 int
26331 main ()
26332 {
26333  _fmodl(0, 0);
26334   ;
26335   return 0;
26336 }
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339   glibcxx_cv_func__fmodl_use=yes
26340 else
26341   glibcxx_cv_func__fmodl_use=no
26342 fi
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344       ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26349
26350
26351 fi
26352
26353   fi
26354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26355 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26356
26357     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26358       for ac_func in _fmodl
26359 do :
26360   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26361 if test "x$ac_cv_func__fmodl" = x""yes; then :
26362   cat >>confdefs.h <<_ACEOF
26363 #define HAVE__FMODL 1
26364 _ACEOF
26365
26366 fi
26367 done
26368
26369     fi
26370   fi
26371
26372
26373
26374
26375
26376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26377 $as_echo_n "checking for frexpl declaration... " >&6; }
26378   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26379     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26380   $as_echo_n "(cached) " >&6
26381 else
26382
26383
26384       ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389
26390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h.  */
26392 #include <math.h>
26393 int
26394 main ()
26395 {
26396  frexpl(0, 0);
26397   ;
26398   return 0;
26399 }
26400 _ACEOF
26401 if ac_fn_cxx_try_compile "$LINENO"; then :
26402   glibcxx_cv_func_frexpl_use=yes
26403 else
26404   glibcxx_cv_func_frexpl_use=no
26405 fi
26406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407       ac_ext=c
26408 ac_cpp='$CPP $CPPFLAGS'
26409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26412
26413
26414 fi
26415
26416   fi
26417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26418 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26419
26420   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26421     for ac_func in frexpl
26422 do :
26423   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26424 if test "x$ac_cv_func_frexpl" = x""yes; then :
26425   cat >>confdefs.h <<_ACEOF
26426 #define HAVE_FREXPL 1
26427 _ACEOF
26428
26429 fi
26430 done
26431
26432   else
26433
26434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26435 $as_echo_n "checking for _frexpl declaration... " >&6; }
26436   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26437     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26438   $as_echo_n "(cached) " >&6
26439 else
26440
26441
26442       ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447
26448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h.  */
26450 #include <math.h>
26451 int
26452 main ()
26453 {
26454  _frexpl(0, 0);
26455   ;
26456   return 0;
26457 }
26458 _ACEOF
26459 if ac_fn_cxx_try_compile "$LINENO"; then :
26460   glibcxx_cv_func__frexpl_use=yes
26461 else
26462   glibcxx_cv_func__frexpl_use=no
26463 fi
26464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26465       ac_ext=c
26466 ac_cpp='$CPP $CPPFLAGS'
26467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26470
26471
26472 fi
26473
26474   fi
26475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26476 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26477
26478     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26479       for ac_func in _frexpl
26480 do :
26481   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26482 if test "x$ac_cv_func__frexpl" = x""yes; then :
26483   cat >>confdefs.h <<_ACEOF
26484 #define HAVE__FREXPL 1
26485 _ACEOF
26486
26487 fi
26488 done
26489
26490     fi
26491   fi
26492
26493
26494
26495
26496
26497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26498 $as_echo_n "checking for hypotl declaration... " >&6; }
26499   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26500     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26501   $as_echo_n "(cached) " >&6
26502 else
26503
26504
26505       ac_ext=cpp
26506 ac_cpp='$CXXCPP $CPPFLAGS'
26507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510
26511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h.  */
26513 #include <math.h>
26514 int
26515 main ()
26516 {
26517  hypotl(0, 0);
26518   ;
26519   return 0;
26520 }
26521 _ACEOF
26522 if ac_fn_cxx_try_compile "$LINENO"; then :
26523   glibcxx_cv_func_hypotl_use=yes
26524 else
26525   glibcxx_cv_func_hypotl_use=no
26526 fi
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528       ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26533
26534
26535 fi
26536
26537   fi
26538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26539 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26540
26541   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26542     for ac_func in hypotl
26543 do :
26544   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26545 if test "x$ac_cv_func_hypotl" = x""yes; then :
26546   cat >>confdefs.h <<_ACEOF
26547 #define HAVE_HYPOTL 1
26548 _ACEOF
26549
26550 fi
26551 done
26552
26553   else
26554
26555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26556 $as_echo_n "checking for _hypotl declaration... " >&6; }
26557   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26558     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26559   $as_echo_n "(cached) " >&6
26560 else
26561
26562
26563       ac_ext=cpp
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568
26569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h.  */
26571 #include <math.h>
26572 int
26573 main ()
26574 {
26575  _hypotl(0, 0);
26576   ;
26577   return 0;
26578 }
26579 _ACEOF
26580 if ac_fn_cxx_try_compile "$LINENO"; then :
26581   glibcxx_cv_func__hypotl_use=yes
26582 else
26583   glibcxx_cv_func__hypotl_use=no
26584 fi
26585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586       ac_ext=c
26587 ac_cpp='$CPP $CPPFLAGS'
26588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26591
26592
26593 fi
26594
26595   fi
26596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26597 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26598
26599     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26600       for ac_func in _hypotl
26601 do :
26602   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26603 if test "x$ac_cv_func__hypotl" = x""yes; then :
26604   cat >>confdefs.h <<_ACEOF
26605 #define HAVE__HYPOTL 1
26606 _ACEOF
26607
26608 fi
26609 done
26610
26611     fi
26612   fi
26613
26614
26615
26616
26617
26618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26619 $as_echo_n "checking for ldexpl declaration... " >&6; }
26620   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26621     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26622   $as_echo_n "(cached) " >&6
26623 else
26624
26625
26626       ac_ext=cpp
26627 ac_cpp='$CXXCPP $CPPFLAGS'
26628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631
26632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26633 /* end confdefs.h.  */
26634 #include <math.h>
26635 int
26636 main ()
26637 {
26638  ldexpl(0, 0);
26639   ;
26640   return 0;
26641 }
26642 _ACEOF
26643 if ac_fn_cxx_try_compile "$LINENO"; then :
26644   glibcxx_cv_func_ldexpl_use=yes
26645 else
26646   glibcxx_cv_func_ldexpl_use=no
26647 fi
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649       ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26654
26655
26656 fi
26657
26658   fi
26659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26660 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26661
26662   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26663     for ac_func in ldexpl
26664 do :
26665   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26666 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26667   cat >>confdefs.h <<_ACEOF
26668 #define HAVE_LDEXPL 1
26669 _ACEOF
26670
26671 fi
26672 done
26673
26674   else
26675
26676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26677 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26678   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26679     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26680   $as_echo_n "(cached) " >&6
26681 else
26682
26683
26684       ac_ext=cpp
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689
26690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26691 /* end confdefs.h.  */
26692 #include <math.h>
26693 int
26694 main ()
26695 {
26696  _ldexpl(0, 0);
26697   ;
26698   return 0;
26699 }
26700 _ACEOF
26701 if ac_fn_cxx_try_compile "$LINENO"; then :
26702   glibcxx_cv_func__ldexpl_use=yes
26703 else
26704   glibcxx_cv_func__ldexpl_use=no
26705 fi
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707       ac_ext=c
26708 ac_cpp='$CPP $CPPFLAGS'
26709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26712
26713
26714 fi
26715
26716   fi
26717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26718 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26719
26720     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26721       for ac_func in _ldexpl
26722 do :
26723   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26724 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26725   cat >>confdefs.h <<_ACEOF
26726 #define HAVE__LDEXPL 1
26727 _ACEOF
26728
26729 fi
26730 done
26731
26732     fi
26733   fi
26734
26735
26736
26737
26738
26739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26740 $as_echo_n "checking for logl declaration... " >&6; }
26741   if test x${glibcxx_cv_func_logl_use+set} != xset; then
26742     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26743   $as_echo_n "(cached) " >&6
26744 else
26745
26746
26747       ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752
26753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h.  */
26755 #include <math.h>
26756                       #ifdef HAVE_IEEEFP_H
26757                       #include <ieeefp.h>
26758                       #endif
26759
26760 int
26761 main ()
26762 {
26763  logl(0);
26764   ;
26765   return 0;
26766 }
26767 _ACEOF
26768 if ac_fn_cxx_try_compile "$LINENO"; then :
26769   glibcxx_cv_func_logl_use=yes
26770 else
26771   glibcxx_cv_func_logl_use=no
26772 fi
26773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26774       ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26779
26780
26781 fi
26782
26783   fi
26784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26785 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26786
26787   if test x$glibcxx_cv_func_logl_use = x"yes"; then
26788     for ac_func in logl
26789 do :
26790   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26791 if test "x$ac_cv_func_logl" = x""yes; then :
26792   cat >>confdefs.h <<_ACEOF
26793 #define HAVE_LOGL 1
26794 _ACEOF
26795
26796 fi
26797 done
26798
26799   else
26800
26801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26802 $as_echo_n "checking for _logl declaration... " >&6; }
26803   if test x${glibcxx_cv_func__logl_use+set} != xset; then
26804     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26805   $as_echo_n "(cached) " >&6
26806 else
26807
26808
26809       ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814
26815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h.  */
26817 #include <math.h>
26818                       #ifdef HAVE_IEEEFP_H
26819                       #include <ieeefp.h>
26820                       #endif
26821
26822 int
26823 main ()
26824 {
26825  _logl(0);
26826   ;
26827   return 0;
26828 }
26829 _ACEOF
26830 if ac_fn_cxx_try_compile "$LINENO"; then :
26831   glibcxx_cv_func__logl_use=yes
26832 else
26833   glibcxx_cv_func__logl_use=no
26834 fi
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836       ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26841
26842
26843 fi
26844
26845   fi
26846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26847 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26848
26849     if test x$glibcxx_cv_func__logl_use = x"yes"; then
26850       for ac_func in _logl
26851 do :
26852   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26853 if test "x$ac_cv_func__logl" = x""yes; then :
26854   cat >>confdefs.h <<_ACEOF
26855 #define HAVE__LOGL 1
26856 _ACEOF
26857
26858 fi
26859 done
26860
26861     fi
26862   fi
26863
26864
26865
26866
26867
26868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26869 $as_echo_n "checking for log10l declaration... " >&6; }
26870   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26871     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26872   $as_echo_n "(cached) " >&6
26873 else
26874
26875
26876       ac_ext=cpp
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881
26882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h.  */
26884 #include <math.h>
26885                       #ifdef HAVE_IEEEFP_H
26886                       #include <ieeefp.h>
26887                       #endif
26888
26889 int
26890 main ()
26891 {
26892  log10l(0);
26893   ;
26894   return 0;
26895 }
26896 _ACEOF
26897 if ac_fn_cxx_try_compile "$LINENO"; then :
26898   glibcxx_cv_func_log10l_use=yes
26899 else
26900   glibcxx_cv_func_log10l_use=no
26901 fi
26902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26903       ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908
26909
26910 fi
26911
26912   fi
26913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26914 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26915
26916   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26917     for ac_func in log10l
26918 do :
26919   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26920 if test "x$ac_cv_func_log10l" = x""yes; then :
26921   cat >>confdefs.h <<_ACEOF
26922 #define HAVE_LOG10L 1
26923 _ACEOF
26924
26925 fi
26926 done
26927
26928   else
26929
26930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26931 $as_echo_n "checking for _log10l declaration... " >&6; }
26932   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26933     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26934   $as_echo_n "(cached) " >&6
26935 else
26936
26937
26938       ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943
26944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h.  */
26946 #include <math.h>
26947                       #ifdef HAVE_IEEEFP_H
26948                       #include <ieeefp.h>
26949                       #endif
26950
26951 int
26952 main ()
26953 {
26954  _log10l(0);
26955   ;
26956   return 0;
26957 }
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960   glibcxx_cv_func__log10l_use=yes
26961 else
26962   glibcxx_cv_func__log10l_use=no
26963 fi
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965       ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26970
26971
26972 fi
26973
26974   fi
26975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26976 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26977
26978     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26979       for ac_func in _log10l
26980 do :
26981   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26982 if test "x$ac_cv_func__log10l" = x""yes; then :
26983   cat >>confdefs.h <<_ACEOF
26984 #define HAVE__LOG10L 1
26985 _ACEOF
26986
26987 fi
26988 done
26989
26990     fi
26991   fi
26992
26993
26994
26995
26996
26997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26998 $as_echo_n "checking for modfl declaration... " >&6; }
26999   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27000     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27001   $as_echo_n "(cached) " >&6
27002 else
27003
27004
27005       ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010
27011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h.  */
27013 #include <math.h>
27014 int
27015 main ()
27016 {
27017  modfl(0, 0);
27018   ;
27019   return 0;
27020 }
27021 _ACEOF
27022 if ac_fn_cxx_try_compile "$LINENO"; then :
27023   glibcxx_cv_func_modfl_use=yes
27024 else
27025   glibcxx_cv_func_modfl_use=no
27026 fi
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028       ac_ext=c
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27033
27034
27035 fi
27036
27037   fi
27038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27039 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27040
27041   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27042     for ac_func in modfl
27043 do :
27044   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27045 if test "x$ac_cv_func_modfl" = x""yes; then :
27046   cat >>confdefs.h <<_ACEOF
27047 #define HAVE_MODFL 1
27048 _ACEOF
27049
27050 fi
27051 done
27052
27053   else
27054
27055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27056 $as_echo_n "checking for _modfl declaration... " >&6; }
27057   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27058     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27059   $as_echo_n "(cached) " >&6
27060 else
27061
27062
27063       ac_ext=cpp
27064 ac_cpp='$CXXCPP $CPPFLAGS'
27065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068
27069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27070 /* end confdefs.h.  */
27071 #include <math.h>
27072 int
27073 main ()
27074 {
27075  _modfl(0, 0);
27076   ;
27077   return 0;
27078 }
27079 _ACEOF
27080 if ac_fn_cxx_try_compile "$LINENO"; then :
27081   glibcxx_cv_func__modfl_use=yes
27082 else
27083   glibcxx_cv_func__modfl_use=no
27084 fi
27085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27086       ac_ext=c
27087 ac_cpp='$CPP $CPPFLAGS'
27088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27091
27092
27093 fi
27094
27095   fi
27096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27097 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27098
27099     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27100       for ac_func in _modfl
27101 do :
27102   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27103 if test "x$ac_cv_func__modfl" = x""yes; then :
27104   cat >>confdefs.h <<_ACEOF
27105 #define HAVE__MODFL 1
27106 _ACEOF
27107
27108 fi
27109 done
27110
27111     fi
27112   fi
27113
27114
27115
27116
27117
27118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27119 $as_echo_n "checking for powl declaration... " >&6; }
27120   if test x${glibcxx_cv_func_powl_use+set} != xset; then
27121     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27122   $as_echo_n "(cached) " >&6
27123 else
27124
27125
27126       ac_ext=cpp
27127 ac_cpp='$CXXCPP $CPPFLAGS'
27128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27131
27132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h.  */
27134 #include <math.h>
27135 int
27136 main ()
27137 {
27138  powl(0, 0);
27139   ;
27140   return 0;
27141 }
27142 _ACEOF
27143 if ac_fn_cxx_try_compile "$LINENO"; then :
27144   glibcxx_cv_func_powl_use=yes
27145 else
27146   glibcxx_cv_func_powl_use=no
27147 fi
27148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27149       ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27154
27155
27156 fi
27157
27158   fi
27159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27160 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27161
27162   if test x$glibcxx_cv_func_powl_use = x"yes"; then
27163     for ac_func in powl
27164 do :
27165   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27166 if test "x$ac_cv_func_powl" = x""yes; then :
27167   cat >>confdefs.h <<_ACEOF
27168 #define HAVE_POWL 1
27169 _ACEOF
27170
27171 fi
27172 done
27173
27174   else
27175
27176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27177 $as_echo_n "checking for _powl declaration... " >&6; }
27178   if test x${glibcxx_cv_func__powl_use+set} != xset; then
27179     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27180   $as_echo_n "(cached) " >&6
27181 else
27182
27183
27184       ac_ext=cpp
27185 ac_cpp='$CXXCPP $CPPFLAGS'
27186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27189
27190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h.  */
27192 #include <math.h>
27193 int
27194 main ()
27195 {
27196  _powl(0, 0);
27197   ;
27198   return 0;
27199 }
27200 _ACEOF
27201 if ac_fn_cxx_try_compile "$LINENO"; then :
27202   glibcxx_cv_func__powl_use=yes
27203 else
27204   glibcxx_cv_func__powl_use=no
27205 fi
27206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27207       ac_ext=c
27208 ac_cpp='$CPP $CPPFLAGS'
27209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27212
27213
27214 fi
27215
27216   fi
27217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27218 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27219
27220     if test x$glibcxx_cv_func__powl_use = x"yes"; then
27221       for ac_func in _powl
27222 do :
27223   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27224 if test "x$ac_cv_func__powl" = x""yes; then :
27225   cat >>confdefs.h <<_ACEOF
27226 #define HAVE__POWL 1
27227 _ACEOF
27228
27229 fi
27230 done
27231
27232     fi
27233   fi
27234
27235
27236
27237
27238
27239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27240 $as_echo_n "checking for sqrtl declaration... " >&6; }
27241   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27242     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27243   $as_echo_n "(cached) " >&6
27244 else
27245
27246
27247       ac_ext=cpp
27248 ac_cpp='$CXXCPP $CPPFLAGS'
27249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252
27253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27254 /* end confdefs.h.  */
27255 #include <math.h>
27256                       #ifdef HAVE_IEEEFP_H
27257                       #include <ieeefp.h>
27258                       #endif
27259
27260 int
27261 main ()
27262 {
27263  sqrtl(0);
27264   ;
27265   return 0;
27266 }
27267 _ACEOF
27268 if ac_fn_cxx_try_compile "$LINENO"; then :
27269   glibcxx_cv_func_sqrtl_use=yes
27270 else
27271   glibcxx_cv_func_sqrtl_use=no
27272 fi
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274       ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27279
27280
27281 fi
27282
27283   fi
27284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27285 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27286
27287   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27288     for ac_func in sqrtl
27289 do :
27290   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27291 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27292   cat >>confdefs.h <<_ACEOF
27293 #define HAVE_SQRTL 1
27294 _ACEOF
27295
27296 fi
27297 done
27298
27299   else
27300
27301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27302 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27303   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27304     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27305   $as_echo_n "(cached) " >&6
27306 else
27307
27308
27309       ac_ext=cpp
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314
27315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h.  */
27317 #include <math.h>
27318                       #ifdef HAVE_IEEEFP_H
27319                       #include <ieeefp.h>
27320                       #endif
27321
27322 int
27323 main ()
27324 {
27325  _sqrtl(0);
27326   ;
27327   return 0;
27328 }
27329 _ACEOF
27330 if ac_fn_cxx_try_compile "$LINENO"; then :
27331   glibcxx_cv_func__sqrtl_use=yes
27332 else
27333   glibcxx_cv_func__sqrtl_use=no
27334 fi
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336       ac_ext=c
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27341
27342
27343 fi
27344
27345   fi
27346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27347 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27348
27349     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27350       for ac_func in _sqrtl
27351 do :
27352   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27353 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27354   cat >>confdefs.h <<_ACEOF
27355 #define HAVE__SQRTL 1
27356 _ACEOF
27357
27358 fi
27359 done
27360
27361     fi
27362   fi
27363
27364
27365
27366
27367
27368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27369 $as_echo_n "checking for sincosl declaration... " >&6; }
27370   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27371     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27372   $as_echo_n "(cached) " >&6
27373 else
27374
27375
27376       ac_ext=cpp
27377 ac_cpp='$CXXCPP $CPPFLAGS'
27378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381
27382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383 /* end confdefs.h.  */
27384 #include <math.h>
27385 int
27386 main ()
27387 {
27388  sincosl(0, 0, 0);
27389   ;
27390   return 0;
27391 }
27392 _ACEOF
27393 if ac_fn_cxx_try_compile "$LINENO"; then :
27394   glibcxx_cv_func_sincosl_use=yes
27395 else
27396   glibcxx_cv_func_sincosl_use=no
27397 fi
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27399       ac_ext=c
27400 ac_cpp='$CPP $CPPFLAGS'
27401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27404
27405
27406 fi
27407
27408   fi
27409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27410 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27411
27412   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27413     for ac_func in sincosl
27414 do :
27415   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27416 if test "x$ac_cv_func_sincosl" = x""yes; then :
27417   cat >>confdefs.h <<_ACEOF
27418 #define HAVE_SINCOSL 1
27419 _ACEOF
27420
27421 fi
27422 done
27423
27424   else
27425
27426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27427 $as_echo_n "checking for _sincosl declaration... " >&6; }
27428   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27429     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27430   $as_echo_n "(cached) " >&6
27431 else
27432
27433
27434       ac_ext=cpp
27435 ac_cpp='$CXXCPP $CPPFLAGS'
27436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439
27440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27441 /* end confdefs.h.  */
27442 #include <math.h>
27443 int
27444 main ()
27445 {
27446  _sincosl(0, 0, 0);
27447   ;
27448   return 0;
27449 }
27450 _ACEOF
27451 if ac_fn_cxx_try_compile "$LINENO"; then :
27452   glibcxx_cv_func__sincosl_use=yes
27453 else
27454   glibcxx_cv_func__sincosl_use=no
27455 fi
27456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457       ac_ext=c
27458 ac_cpp='$CPP $CPPFLAGS'
27459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27462
27463
27464 fi
27465
27466   fi
27467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27468 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27469
27470     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27471       for ac_func in _sincosl
27472 do :
27473   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27474 if test "x$ac_cv_func__sincosl" = x""yes; then :
27475   cat >>confdefs.h <<_ACEOF
27476 #define HAVE__SINCOSL 1
27477 _ACEOF
27478
27479 fi
27480 done
27481
27482     fi
27483   fi
27484
27485
27486
27487
27488
27489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27490 $as_echo_n "checking for finitel declaration... " >&6; }
27491   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27492     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27493   $as_echo_n "(cached) " >&6
27494 else
27495
27496
27497       ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502
27503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h.  */
27505 #include <math.h>
27506                       #ifdef HAVE_IEEEFP_H
27507                       #include <ieeefp.h>
27508                       #endif
27509
27510 int
27511 main ()
27512 {
27513  finitel(0);
27514   ;
27515   return 0;
27516 }
27517 _ACEOF
27518 if ac_fn_cxx_try_compile "$LINENO"; then :
27519   glibcxx_cv_func_finitel_use=yes
27520 else
27521   glibcxx_cv_func_finitel_use=no
27522 fi
27523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27524       ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27529
27530
27531 fi
27532
27533   fi
27534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27535 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27536
27537   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27538     for ac_func in finitel
27539 do :
27540   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27541 if test "x$ac_cv_func_finitel" = x""yes; then :
27542   cat >>confdefs.h <<_ACEOF
27543 #define HAVE_FINITEL 1
27544 _ACEOF
27545
27546 fi
27547 done
27548
27549   else
27550
27551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27552 $as_echo_n "checking for _finitel declaration... " >&6; }
27553   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27554     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27555   $as_echo_n "(cached) " >&6
27556 else
27557
27558
27559       ac_ext=cpp
27560 ac_cpp='$CXXCPP $CPPFLAGS'
27561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564
27565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27566 /* end confdefs.h.  */
27567 #include <math.h>
27568                       #ifdef HAVE_IEEEFP_H
27569                       #include <ieeefp.h>
27570                       #endif
27571
27572 int
27573 main ()
27574 {
27575  _finitel(0);
27576   ;
27577   return 0;
27578 }
27579 _ACEOF
27580 if ac_fn_cxx_try_compile "$LINENO"; then :
27581   glibcxx_cv_func__finitel_use=yes
27582 else
27583   glibcxx_cv_func__finitel_use=no
27584 fi
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586       ac_ext=c
27587 ac_cpp='$CPP $CPPFLAGS'
27588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27591
27592
27593 fi
27594
27595   fi
27596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27597 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27598
27599     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27600       for ac_func in _finitel
27601 do :
27602   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27603 if test "x$ac_cv_func__finitel" = x""yes; then :
27604   cat >>confdefs.h <<_ACEOF
27605 #define HAVE__FINITEL 1
27606 _ACEOF
27607
27608 fi
27609 done
27610
27611     fi
27612   fi
27613
27614
27615
27616
27617   LIBS="$ac_save_LIBS"
27618   CXXFLAGS="$ac_save_CXXFLAGS"
27619
27620
27621   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27622   ac_save_CXXFLAGS="$CXXFLAGS"
27623   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27624
27625
27626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27627 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27628   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27629     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27630   $as_echo_n "(cached) " >&6
27631 else
27632
27633
27634       ac_ext=cpp
27635 ac_cpp='$CXXCPP $CPPFLAGS'
27636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639
27640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h.  */
27642 #include <stdlib.h>
27643 int
27644 main ()
27645 {
27646  at_quick_exit(0);
27647   ;
27648   return 0;
27649 }
27650 _ACEOF
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652   glibcxx_cv_func_at_quick_exit_use=yes
27653 else
27654   glibcxx_cv_func_at_quick_exit_use=no
27655 fi
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657       ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662
27663
27664 fi
27665
27666   fi
27667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27668 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27669   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27670     for ac_func in at_quick_exit
27671 do :
27672   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27673 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27674   cat >>confdefs.h <<_ACEOF
27675 #define HAVE_AT_QUICK_EXIT 1
27676 _ACEOF
27677
27678 fi
27679 done
27680
27681   fi
27682
27683
27684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27685 $as_echo_n "checking for quick_exit declaration... " >&6; }
27686   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27687     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27688   $as_echo_n "(cached) " >&6
27689 else
27690
27691
27692       ac_ext=cpp
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697
27698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h.  */
27700 #include <stdlib.h>
27701 int
27702 main ()
27703 {
27704  quick_exit(0);
27705   ;
27706   return 0;
27707 }
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710   glibcxx_cv_func_quick_exit_use=yes
27711 else
27712   glibcxx_cv_func_quick_exit_use=no
27713 fi
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715       ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720
27721
27722 fi
27723
27724   fi
27725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27726 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27727   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27728     for ac_func in quick_exit
27729 do :
27730   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27731 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27732   cat >>confdefs.h <<_ACEOF
27733 #define HAVE_QUICK_EXIT 1
27734 _ACEOF
27735
27736 fi
27737 done
27738
27739   fi
27740
27741
27742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27743 $as_echo_n "checking for strtold declaration... " >&6; }
27744   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27745     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27746   $as_echo_n "(cached) " >&6
27747 else
27748
27749
27750       ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755
27756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h.  */
27758 #include <stdlib.h>
27759 int
27760 main ()
27761 {
27762  strtold(0, 0);
27763   ;
27764   return 0;
27765 }
27766 _ACEOF
27767 if ac_fn_cxx_try_compile "$LINENO"; then :
27768   glibcxx_cv_func_strtold_use=yes
27769 else
27770   glibcxx_cv_func_strtold_use=no
27771 fi
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773       ac_ext=c
27774 ac_cpp='$CPP $CPPFLAGS'
27775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27778
27779
27780 fi
27781
27782   fi
27783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27784 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27785   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27786     for ac_func in strtold
27787 do :
27788   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27789 if test "x$ac_cv_func_strtold" = x""yes; then :
27790   cat >>confdefs.h <<_ACEOF
27791 #define HAVE_STRTOLD 1
27792 _ACEOF
27793
27794 fi
27795 done
27796
27797   fi
27798
27799
27800
27801
27802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27803 $as_echo_n "checking for strtof declaration... " >&6; }
27804   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27805     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27806   $as_echo_n "(cached) " >&6
27807 else
27808
27809
27810       ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815
27816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h.  */
27818 #include <stdlib.h>
27819 int
27820 main ()
27821 {
27822  strtof(0, 0);
27823   ;
27824   return 0;
27825 }
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828   glibcxx_cv_func_strtof_use=yes
27829 else
27830   glibcxx_cv_func_strtof_use=no
27831 fi
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833       ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27838
27839
27840 fi
27841
27842   fi
27843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27844 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27845   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27846     for ac_func in strtof
27847 do :
27848   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27849 if test "x$ac_cv_func_strtof" = x""yes; then :
27850   cat >>confdefs.h <<_ACEOF
27851 #define HAVE_STRTOF 1
27852 _ACEOF
27853
27854 fi
27855 done
27856
27857   fi
27858
27859
27860
27861
27862   CXXFLAGS="$ac_save_CXXFLAGS"
27863
27864
27865   # For /dev/random and /dev/urandom for TR1.
27866
27867
27868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27869 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27870   if test "${glibcxx_cv_random_tr1+set}" = set; then :
27871   $as_echo_n "(cached) " >&6
27872 else
27873
27874     if test -r /dev/random && test -r /dev/urandom; then
27875   ## For MSys environment the test above is detect as false-positive
27876   ## on mingw-targets.  So disable it explicit for them.
27877       case ${target_os} in
27878         *mingw*) glibcxx_cv_random_tr1=no ;;
27879         *) glibcxx_cv_random_tr1=yes ;;
27880       esac
27881     else
27882       glibcxx_cv_random_tr1=no;
27883     fi
27884
27885 fi
27886
27887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27888 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27889
27890   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27891
27892 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27893
27894   fi
27895
27896
27897
27898   # For TLS support.
27899
27900
27901    # Check whether --enable-tls was given.
27902 if test "${enable_tls+set}" = set; then :
27903   enableval=$enable_tls;
27904       case "$enableval" in
27905        yes|no) ;;
27906        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27907       esac
27908
27909 else
27910   enable_tls=yes
27911 fi
27912
27913
27914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27916 if test "${gcc_cv_have_tls+set}" = set; then :
27917   $as_echo_n "(cached) " >&6
27918 else
27919
27920     if test "$cross_compiling" = yes; then :
27921                 if test x$gcc_no_link = xyes; then
27922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 fi
27924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925 /* end confdefs.h.  */
27926 __thread int a; int b; int main() { return a = b; }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929   chktls_save_LDFLAGS="$LDFLAGS"
27930                           case $host in
27931             *-*-linux*)
27932               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27933               ;;
27934           esac
27935           chktls_save_CFLAGS="$CFLAGS"
27936           CFLAGS="-fPIC $CFLAGS"
27937                   if test x$gcc_no_link = xyes; then
27938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 fi
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h.  */
27942 int f() { return 0; }
27943 _ACEOF
27944 if ac_fn_c_try_link "$LINENO"; then :
27945   if test x$gcc_no_link = xyes; then
27946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 fi
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h.  */
27950 __thread int a; int b; int f() { return a = b; }
27951 _ACEOF
27952 if ac_fn_c_try_link "$LINENO"; then :
27953   gcc_cv_have_tls=yes
27954 else
27955   gcc_cv_have_tls=no
27956 fi
27957 rm -f core conftest.err conftest.$ac_objext \
27958     conftest$ac_exeext conftest.$ac_ext
27959 else
27960   gcc_cv_have_tls=yes
27961 fi
27962 rm -f core conftest.err conftest.$ac_objext \
27963     conftest$ac_exeext conftest.$ac_ext
27964           CFLAGS="$chktls_save_CFLAGS"
27965           LDFLAGS="$chktls_save_LDFLAGS"
27966 else
27967   gcc_cv_have_tls=no
27968 fi
27969 rm -f core conftest.err conftest.$ac_objext \
27970     conftest$ac_exeext conftest.$ac_ext
27971
27972
27973 else
27974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h.  */
27976 __thread int a; int b; int main() { return a = b; }
27977 _ACEOF
27978 if ac_fn_c_try_run "$LINENO"; then :
27979                       chktls_save_LDFLAGS="$LDFLAGS"
27980       LDFLAGS="-static $LDFLAGS"
27981       if test x$gcc_no_link = xyes; then
27982   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 fi
27984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27985 /* end confdefs.h.  */
27986 int main() { return 0; }
27987 _ACEOF
27988 if ac_fn_c_try_link "$LINENO"; then :
27989   if test "$cross_compiling" = yes; then :
27990   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27992 as_fn_error "cannot run test program while cross compiling
27993 See \`config.log' for more details." "$LINENO" 5; }
27994 else
27995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27996 /* end confdefs.h.  */
27997 __thread int a; int b; int main() { return a = b; }
27998 _ACEOF
27999 if ac_fn_c_try_run "$LINENO"; then :
28000   gcc_cv_have_tls=yes
28001 else
28002   gcc_cv_have_tls=no
28003 fi
28004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28005   conftest.$ac_objext conftest.beam conftest.$ac_ext
28006 fi
28007
28008 else
28009   gcc_cv_have_tls=yes
28010 fi
28011 rm -f core conftest.err conftest.$ac_objext \
28012     conftest$ac_exeext conftest.$ac_ext
28013       LDFLAGS="$chktls_save_LDFLAGS"
28014       if test $gcc_cv_have_tls = yes; then
28015                                                 chktls_save_CFLAGS="$CFLAGS"
28016         thread_CFLAGS=failed
28017         for flag in '' '-pthread' '-lpthread'; do
28018           CFLAGS="$flag $chktls_save_CFLAGS"
28019           if test x$gcc_no_link = xyes; then
28020   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 fi
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h.  */
28024 #include <pthread.h>
28025                 void *g(void *d) { return NULL; }
28026 int
28027 main ()
28028 {
28029 pthread_t t; pthread_create(&t,NULL,g,NULL);
28030   ;
28031   return 0;
28032 }
28033 _ACEOF
28034 if ac_fn_c_try_link "$LINENO"; then :
28035   thread_CFLAGS="$flag"
28036 fi
28037 rm -f core conftest.err conftest.$ac_objext \
28038     conftest$ac_exeext conftest.$ac_ext
28039           if test "X$thread_CFLAGS" != Xfailed; then
28040             break
28041           fi
28042         done
28043         CFLAGS="$chktls_save_CFLAGS"
28044         if test "X$thread_CFLAGS" != Xfailed; then
28045           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28046                                                   if test "$cross_compiling" = yes; then :
28047   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28049 as_fn_error "cannot run test program while cross compiling
28050 See \`config.log' for more details." "$LINENO" 5; }
28051 else
28052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28053 /* end confdefs.h.  */
28054 #include <pthread.h>
28055                 __thread int a;
28056                 static int *volatile a_in_other_thread;
28057                 static void *
28058                 thread_func (void *arg)
28059                 {
28060                   a_in_other_thread = &a;
28061                   return (void *)0;
28062                 }
28063 int
28064 main ()
28065 {
28066 pthread_t thread;
28067                 void *thread_retval;
28068                 int *volatile a_in_main_thread;
28069                 a_in_main_thread = &a;
28070                 if (pthread_create (&thread, (pthread_attr_t *)0,
28071                                     thread_func, (void *)0))
28072                   return 0;
28073                 if (pthread_join (thread, &thread_retval))
28074                   return 0;
28075                 return (a_in_other_thread == a_in_main_thread);
28076   ;
28077   return 0;
28078 }
28079 _ACEOF
28080 if ac_fn_c_try_run "$LINENO"; then :
28081   gcc_cv_have_tls=yes
28082 else
28083   gcc_cv_have_tls=no
28084 fi
28085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28086   conftest.$ac_objext conftest.beam conftest.$ac_ext
28087 fi
28088
28089           CFLAGS="$chktls_save_CFLAGS"
28090         fi
28091       fi
28092 else
28093   gcc_cv_have_tls=no
28094 fi
28095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28096   conftest.$ac_objext conftest.beam conftest.$ac_ext
28097 fi
28098
28099 fi
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28101 $as_echo "$gcc_cv_have_tls" >&6; }
28102   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28103
28104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28105
28106   fi
28107
28108   for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28109 do :
28110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28112 eval as_val=\$$as_ac_var
28113    if test "x$as_val" = x""yes; then :
28114   cat >>confdefs.h <<_ACEOF
28115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28116 _ACEOF
28117
28118 fi
28119 done
28120
28121   for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28122 do :
28123   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28125 eval as_val=\$$as_ac_var
28126    if test "x$as_val" = x""yes; then :
28127   cat >>confdefs.h <<_ACEOF
28128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28129 _ACEOF
28130
28131 fi
28132 done
28133
28134
28135   # For iconv support.
28136
28137       if test "X$prefix" = "XNONE"; then
28138     acl_final_prefix="$ac_default_prefix"
28139   else
28140     acl_final_prefix="$prefix"
28141   fi
28142   if test "X$exec_prefix" = "XNONE"; then
28143     acl_final_exec_prefix='${prefix}'
28144   else
28145     acl_final_exec_prefix="$exec_prefix"
28146   fi
28147   acl_save_prefix="$prefix"
28148   prefix="$acl_final_prefix"
28149   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28150   prefix="$acl_save_prefix"
28151
28152
28153 # Check whether --with-gnu-ld was given.
28154 if test "${with_gnu_ld+set}" = set; then :
28155   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28156 else
28157   with_gnu_ld=no
28158 fi
28159
28160 # Prepare PATH_SEPARATOR.
28161 # The user is always right.
28162 if test "${PATH_SEPARATOR+set}" != set; then
28163   echo "#! /bin/sh" >conf$$.sh
28164   echo  "exit 0"   >>conf$$.sh
28165   chmod +x conf$$.sh
28166   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28167     PATH_SEPARATOR=';'
28168   else
28169     PATH_SEPARATOR=:
28170   fi
28171   rm -f conf$$.sh
28172 fi
28173 ac_prog=ld
28174 if test "$GCC" = yes; then
28175   # Check if gcc -print-prog-name=ld gives a path.
28176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28177 $as_echo_n "checking for ld used by GCC... " >&6; }
28178   case $host in
28179   *-*-mingw*)
28180     # gcc leaves a trailing carriage return which upsets mingw
28181     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28182   *)
28183     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28184   esac
28185   case $ac_prog in
28186     # Accept absolute paths.
28187     [\\/]* | [A-Za-z]:[\\/]*)
28188       re_direlt='/[^/][^/]*/\.\./'
28189       # Canonicalize the path of ld
28190       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28191       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28192         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28193       done
28194       test -z "$LD" && LD="$ac_prog"
28195       ;;
28196   "")
28197     # If it fails, then pretend we aren't using GCC.
28198     ac_prog=ld
28199     ;;
28200   *)
28201     # If it is relative, then search for the first ld in PATH.
28202     with_gnu_ld=unknown
28203     ;;
28204   esac
28205 elif test "$with_gnu_ld" = yes; then
28206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28207 $as_echo_n "checking for GNU ld... " >&6; }
28208 else
28209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28210 $as_echo_n "checking for non-GNU ld... " >&6; }
28211 fi
28212 if test "${acl_cv_path_LD+set}" = set; then :
28213   $as_echo_n "(cached) " >&6
28214 else
28215   if test -z "$LD"; then
28216   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28217   for ac_dir in $PATH; do
28218     test -z "$ac_dir" && ac_dir=.
28219     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28220       acl_cv_path_LD="$ac_dir/$ac_prog"
28221       # Check to see if the program is GNU ld.  I'd rather use --version,
28222       # but apparently some GNU ld's only accept -v.
28223       # Break only if it was the GNU/non-GNU ld that we prefer.
28224       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28225         test "$with_gnu_ld" != no && break
28226       else
28227         test "$with_gnu_ld" != yes && break
28228       fi
28229     fi
28230   done
28231   IFS="$ac_save_ifs"
28232 else
28233   acl_cv_path_LD="$LD" # Let the user override the test with a path.
28234 fi
28235 fi
28236
28237 LD="$acl_cv_path_LD"
28238 if test -n "$LD"; then
28239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28240 $as_echo "$LD" >&6; }
28241 else
28242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28243 $as_echo "no" >&6; }
28244 fi
28245 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28247 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28248 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28249   $as_echo_n "(cached) " >&6
28250 else
28251   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28252 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28253   acl_cv_prog_gnu_ld=yes
28254 else
28255   acl_cv_prog_gnu_ld=no
28256 fi
28257 fi
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28259 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28260 with_gnu_ld=$acl_cv_prog_gnu_ld
28261
28262
28263
28264                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28265 $as_echo_n "checking for shared library run path origin... " >&6; }
28266 if test "${acl_cv_rpath+set}" = set; then :
28267   $as_echo_n "(cached) " >&6
28268 else
28269
28270     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28271     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28272     . ./conftest.sh
28273     rm -f ./conftest.sh
28274     acl_cv_rpath=done
28275
28276 fi
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28278 $as_echo "$acl_cv_rpath" >&6; }
28279   wl="$acl_cv_wl"
28280   libext="$acl_cv_libext"
28281   shlibext="$acl_cv_shlibext"
28282   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28283   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28284   hardcode_direct="$acl_cv_hardcode_direct"
28285   hardcode_minus_L="$acl_cv_hardcode_minus_L"
28286     # Check whether --enable-rpath was given.
28287 if test "${enable_rpath+set}" = set; then :
28288   enableval=$enable_rpath; :
28289 else
28290   enable_rpath=yes
28291 fi
28292
28293
28294
28295
28296
28297
28298
28299
28300     use_additional=yes
28301
28302   acl_save_prefix="$prefix"
28303   prefix="$acl_final_prefix"
28304   acl_save_exec_prefix="$exec_prefix"
28305   exec_prefix="$acl_final_exec_prefix"
28306
28307     eval additional_includedir=\"$includedir\"
28308     eval additional_libdir=\"$libdir\"
28309
28310   exec_prefix="$acl_save_exec_prefix"
28311   prefix="$acl_save_prefix"
28312
28313
28314 # Check whether --with-libiconv-prefix was given.
28315 if test "${with_libiconv_prefix+set}" = set; then :
28316   withval=$with_libiconv_prefix;
28317     if test "X$withval" = "Xno"; then
28318       use_additional=no
28319     else
28320       if test "X$withval" = "X"; then
28321
28322   acl_save_prefix="$prefix"
28323   prefix="$acl_final_prefix"
28324   acl_save_exec_prefix="$exec_prefix"
28325   exec_prefix="$acl_final_exec_prefix"
28326
28327           eval additional_includedir=\"$includedir\"
28328           eval additional_libdir=\"$libdir\"
28329
28330   exec_prefix="$acl_save_exec_prefix"
28331   prefix="$acl_save_prefix"
28332
28333       else
28334         additional_includedir="$withval/include"
28335         additional_libdir="$withval/lib"
28336       fi
28337     fi
28338
28339 fi
28340
28341       LIBICONV=
28342   LTLIBICONV=
28343   INCICONV=
28344   rpathdirs=
28345   ltrpathdirs=
28346   names_already_handled=
28347   names_next_round='iconv '
28348   while test -n "$names_next_round"; do
28349     names_this_round="$names_next_round"
28350     names_next_round=
28351     for name in $names_this_round; do
28352       already_handled=
28353       for n in $names_already_handled; do
28354         if test "$n" = "$name"; then
28355           already_handled=yes
28356           break
28357         fi
28358       done
28359       if test -z "$already_handled"; then
28360         names_already_handled="$names_already_handled $name"
28361                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28362         eval value=\"\$HAVE_LIB$uppername\"
28363         if test -n "$value"; then
28364           if test "$value" = yes; then
28365             eval value=\"\$LIB$uppername\"
28366             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28367             eval value=\"\$LTLIB$uppername\"
28368             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28369           else
28370                                     :
28371           fi
28372         else
28373                               found_dir=
28374           found_la=
28375           found_so=
28376           found_a=
28377           if test $use_additional = yes; then
28378             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28379               found_dir="$additional_libdir"
28380               found_so="$additional_libdir/lib$name.$shlibext"
28381               if test -f "$additional_libdir/lib$name.la"; then
28382                 found_la="$additional_libdir/lib$name.la"
28383               fi
28384             else
28385               if test -f "$additional_libdir/lib$name.$libext"; then
28386                 found_dir="$additional_libdir"
28387                 found_a="$additional_libdir/lib$name.$libext"
28388                 if test -f "$additional_libdir/lib$name.la"; then
28389                   found_la="$additional_libdir/lib$name.la"
28390                 fi
28391               fi
28392             fi
28393           fi
28394           if test "X$found_dir" = "X"; then
28395             for x in $LDFLAGS $LTLIBICONV; do
28396
28397   acl_save_prefix="$prefix"
28398   prefix="$acl_final_prefix"
28399   acl_save_exec_prefix="$exec_prefix"
28400   exec_prefix="$acl_final_exec_prefix"
28401   eval x=\"$x\"
28402   exec_prefix="$acl_save_exec_prefix"
28403   prefix="$acl_save_prefix"
28404
28405               case "$x" in
28406                 -L*)
28407                   dir=`echo "X$x" | sed -e 's/^X-L//'`
28408                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28409                     found_dir="$dir"
28410                     found_so="$dir/lib$name.$shlibext"
28411                     if test -f "$dir/lib$name.la"; then
28412                       found_la="$dir/lib$name.la"
28413                     fi
28414                   else
28415                     if test -f "$dir/lib$name.$libext"; then
28416                       found_dir="$dir"
28417                       found_a="$dir/lib$name.$libext"
28418                       if test -f "$dir/lib$name.la"; then
28419                         found_la="$dir/lib$name.la"
28420                       fi
28421                     fi
28422                   fi
28423                   ;;
28424               esac
28425               if test "X$found_dir" != "X"; then
28426                 break
28427               fi
28428             done
28429           fi
28430           if test "X$found_dir" != "X"; then
28431                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28432             if test "X$found_so" != "X"; then
28433                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28434                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28435               else
28436                                                                                 haveit=
28437                 for x in $ltrpathdirs; do
28438                   if test "X$x" = "X$found_dir"; then
28439                     haveit=yes
28440                     break
28441                   fi
28442                 done
28443                 if test -z "$haveit"; then
28444                   ltrpathdirs="$ltrpathdirs $found_dir"
28445                 fi
28446                                 if test "$hardcode_direct" = yes; then
28447                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28448                 else
28449                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28450                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28451                                                             haveit=
28452                     for x in $rpathdirs; do
28453                       if test "X$x" = "X$found_dir"; then
28454                         haveit=yes
28455                         break
28456                       fi
28457                     done
28458                     if test -z "$haveit"; then
28459                       rpathdirs="$rpathdirs $found_dir"
28460                     fi
28461                   else
28462                                                                                 haveit=
28463                     for x in $LDFLAGS $LIBICONV; do
28464
28465   acl_save_prefix="$prefix"
28466   prefix="$acl_final_prefix"
28467   acl_save_exec_prefix="$exec_prefix"
28468   exec_prefix="$acl_final_exec_prefix"
28469   eval x=\"$x\"
28470   exec_prefix="$acl_save_exec_prefix"
28471   prefix="$acl_save_prefix"
28472
28473                       if test "X$x" = "X-L$found_dir"; then
28474                         haveit=yes
28475                         break
28476                       fi
28477                     done
28478                     if test -z "$haveit"; then
28479                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28480                     fi
28481                     if test "$hardcode_minus_L" != no; then
28482                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28483                     else
28484                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28485                     fi
28486                   fi
28487                 fi
28488               fi
28489             else
28490               if test "X$found_a" != "X"; then
28491                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28492               else
28493                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28494               fi
28495             fi
28496                         additional_includedir=
28497             case "$found_dir" in
28498               */lib | */lib/)
28499                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28500                 additional_includedir="$basedir/include"
28501                 ;;
28502             esac
28503             if test "X$additional_includedir" != "X"; then
28504                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
28505                 haveit=
28506                 if test "X$additional_includedir" = "X/usr/local/include"; then
28507                   if test -n "$GCC"; then
28508                     case $host_os in
28509                       linux*) haveit=yes;;
28510                     esac
28511                   fi
28512                 fi
28513                 if test -z "$haveit"; then
28514                   for x in $CPPFLAGS $INCICONV; do
28515
28516   acl_save_prefix="$prefix"
28517   prefix="$acl_final_prefix"
28518   acl_save_exec_prefix="$exec_prefix"
28519   exec_prefix="$acl_final_exec_prefix"
28520   eval x=\"$x\"
28521   exec_prefix="$acl_save_exec_prefix"
28522   prefix="$acl_save_prefix"
28523
28524                     if test "X$x" = "X-I$additional_includedir"; then
28525                       haveit=yes
28526                       break
28527                     fi
28528                   done
28529                   if test -z "$haveit"; then
28530                     if test -d "$additional_includedir"; then
28531                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28532                     fi
28533                   fi
28534                 fi
28535               fi
28536             fi
28537                         if test -n "$found_la"; then
28538                                                         save_libdir="$libdir"
28539               case "$found_la" in
28540                 */* | *\\*) . "$found_la" ;;
28541                 *) . "./$found_la" ;;
28542               esac
28543               libdir="$save_libdir"
28544                             for dep in $dependency_libs; do
28545                 case "$dep" in
28546                   -L*)
28547                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28548                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
28549                       haveit=
28550                       if test "X$additional_libdir" = "X/usr/local/lib"; then
28551                         if test -n "$GCC"; then
28552                           case $host_os in
28553                             linux*) haveit=yes;;
28554                           esac
28555                         fi
28556                       fi
28557                       if test -z "$haveit"; then
28558                         haveit=
28559                         for x in $LDFLAGS $LIBICONV; do
28560
28561   acl_save_prefix="$prefix"
28562   prefix="$acl_final_prefix"
28563   acl_save_exec_prefix="$exec_prefix"
28564   exec_prefix="$acl_final_exec_prefix"
28565   eval x=\"$x\"
28566   exec_prefix="$acl_save_exec_prefix"
28567   prefix="$acl_save_prefix"
28568
28569                           if test "X$x" = "X-L$additional_libdir"; then
28570                             haveit=yes
28571                             break
28572                           fi
28573                         done
28574                         if test -z "$haveit"; then
28575                           if test -d "$additional_libdir"; then
28576                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28577                           fi
28578                         fi
28579                         haveit=
28580                         for x in $LDFLAGS $LTLIBICONV; do
28581
28582   acl_save_prefix="$prefix"
28583   prefix="$acl_final_prefix"
28584   acl_save_exec_prefix="$exec_prefix"
28585   exec_prefix="$acl_final_exec_prefix"
28586   eval x=\"$x\"
28587   exec_prefix="$acl_save_exec_prefix"
28588   prefix="$acl_save_prefix"
28589
28590                           if test "X$x" = "X-L$additional_libdir"; then
28591                             haveit=yes
28592                             break
28593                           fi
28594                         done
28595                         if test -z "$haveit"; then
28596                           if test -d "$additional_libdir"; then
28597                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28598                           fi
28599                         fi
28600                       fi
28601                     fi
28602                     ;;
28603                   -R*)
28604                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
28605                     if test "$enable_rpath" != no; then
28606                                                                   haveit=
28607                       for x in $rpathdirs; do
28608                         if test "X$x" = "X$dir"; then
28609                           haveit=yes
28610                           break
28611                         fi
28612                       done
28613                       if test -z "$haveit"; then
28614                         rpathdirs="$rpathdirs $dir"
28615                       fi
28616                                                                   haveit=
28617                       for x in $ltrpathdirs; do
28618                         if test "X$x" = "X$dir"; then
28619                           haveit=yes
28620                           break
28621                         fi
28622                       done
28623                       if test -z "$haveit"; then
28624                         ltrpathdirs="$ltrpathdirs $dir"
28625                       fi
28626                     fi
28627                     ;;
28628                   -l*)
28629                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28630                     ;;
28631                   *.la)
28632                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28633                     ;;
28634                   *)
28635                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28636                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28637                     ;;
28638                 esac
28639               done
28640             fi
28641           else
28642                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28643             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28644           fi
28645         fi
28646       fi
28647     done
28648   done
28649   if test "X$rpathdirs" != "X"; then
28650     if test -n "$hardcode_libdir_separator"; then
28651                         alldirs=
28652       for found_dir in $rpathdirs; do
28653         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28654       done
28655             acl_save_libdir="$libdir"
28656       libdir="$alldirs"
28657       eval flag=\"$hardcode_libdir_flag_spec\"
28658       libdir="$acl_save_libdir"
28659       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28660     else
28661             for found_dir in $rpathdirs; do
28662         acl_save_libdir="$libdir"
28663         libdir="$found_dir"
28664         eval flag=\"$hardcode_libdir_flag_spec\"
28665         libdir="$acl_save_libdir"
28666         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28667       done
28668     fi
28669   fi
28670   if test "X$ltrpathdirs" != "X"; then
28671             for found_dir in $ltrpathdirs; do
28672       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28673     done
28674   fi
28675
28676
28677
28678
28679
28680
28681
28682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28683 $as_echo_n "checking for iconv... " >&6; }
28684 if test "${am_cv_func_iconv+set}" = set; then :
28685   $as_echo_n "(cached) " >&6
28686 else
28687
28688     am_cv_func_iconv="no, consider installing GNU libiconv"
28689     am_cv_lib_iconv=no
28690                     am_save_CPPFLAGS="$CPPFLAGS"
28691     CPPFLAGS="$CPPFLAGS $INCICONV"
28692     if test x$gcc_no_link = xyes; then
28693   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28694 fi
28695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28696 /* end confdefs.h.  */
28697 #include <stdlib.h>
28698 #include <iconv.h>
28699 int
28700 main ()
28701 {
28702 iconv_t cd = iconv_open("","");
28703        iconv(cd,NULL,NULL,NULL,NULL);
28704        iconv_close(cd);
28705   ;
28706   return 0;
28707 }
28708 _ACEOF
28709 if ac_fn_c_try_link "$LINENO"; then :
28710   am_cv_func_iconv=yes
28711 fi
28712 rm -f core conftest.err conftest.$ac_objext \
28713     conftest$ac_exeext conftest.$ac_ext
28714     CPPFLAGS="$am_save_CPPFLAGS"
28715
28716     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28717       for _libs in .libs _libs; do
28718         am_save_CPPFLAGS="$CPPFLAGS"
28719         am_save_LIBS="$LIBS"
28720         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28721         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28722         if test x$gcc_no_link = xyes; then
28723   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 fi
28725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h.  */
28727 #include <stdlib.h>
28728 #include <iconv.h>
28729 int
28730 main ()
28731 {
28732 iconv_t cd = iconv_open("","");
28733            iconv(cd,NULL,NULL,NULL,NULL);
28734            iconv_close(cd);
28735   ;
28736   return 0;
28737 }
28738 _ACEOF
28739 if ac_fn_c_try_link "$LINENO"; then :
28740   INCICONV="-I../libiconv/include"
28741           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28742           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28743           am_cv_lib_iconv=yes
28744           am_cv_func_iconv=yes
28745 fi
28746 rm -f core conftest.err conftest.$ac_objext \
28747     conftest$ac_exeext conftest.$ac_ext
28748         CPPFLAGS="$am_save_CPPFLAGS"
28749         LIBS="$am_save_LIBS"
28750         if test "$am_cv_func_iconv" = "yes"; then
28751           break
28752         fi
28753       done
28754     fi
28755
28756     if test "$am_cv_func_iconv" != yes; then
28757       am_save_CPPFLAGS="$CPPFLAGS"
28758       am_save_LIBS="$LIBS"
28759       CPPFLAGS="$LIBS $INCICONV"
28760       LIBS="$LIBS $LIBICONV"
28761       if test x$gcc_no_link = xyes; then
28762   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 fi
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h.  */
28766 #include <stdlib.h>
28767 #include <iconv.h>
28768 int
28769 main ()
28770 {
28771 iconv_t cd = iconv_open("","");
28772          iconv(cd,NULL,NULL,NULL,NULL);
28773          iconv_close(cd);
28774   ;
28775   return 0;
28776 }
28777 _ACEOF
28778 if ac_fn_c_try_link "$LINENO"; then :
28779   am_cv_lib_iconv=yes
28780         am_cv_func_iconv=yes
28781 fi
28782 rm -f core conftest.err conftest.$ac_objext \
28783     conftest$ac_exeext conftest.$ac_ext
28784       CPPFLAGS="$am_save_CPPFLAGS"
28785       LIBS="$am_save_LIBS"
28786     fi
28787
28788 fi
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28790 $as_echo "$am_cv_func_iconv" >&6; }
28791   if test "$am_cv_func_iconv" = yes; then
28792
28793 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28794
28795   fi
28796   if test "$am_cv_lib_iconv" = yes; then
28797
28798   for element in $INCICONV; do
28799     haveit=
28800     for x in $CPPFLAGS; do
28801
28802   acl_save_prefix="$prefix"
28803   prefix="$acl_final_prefix"
28804   acl_save_exec_prefix="$exec_prefix"
28805   exec_prefix="$acl_final_exec_prefix"
28806   eval x=\"$x\"
28807   exec_prefix="$acl_save_exec_prefix"
28808   prefix="$acl_save_prefix"
28809
28810       if test "X$x" = "X$element"; then
28811         haveit=yes
28812         break
28813       fi
28814     done
28815     if test -z "$haveit"; then
28816       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28817     fi
28818   done
28819
28820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28821 $as_echo_n "checking how to link with libiconv... " >&6; }
28822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28823 $as_echo "$LIBICONV" >&6; }
28824   else
28825     LIBICONV=
28826     LTLIBICONV=
28827   fi
28828
28829
28830
28831   if test "$am_cv_func_iconv" = yes; then
28832     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28833 $as_echo_n "checking for iconv declaration... " >&6; }
28834     if test "${am_cv_proto_iconv+set}" = set; then :
28835   $as_echo_n "(cached) " >&6
28836 else
28837
28838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28839 /* end confdefs.h.  */
28840
28841 #include <stdlib.h>
28842 #include <iconv.h>
28843 extern
28844 #ifdef __cplusplus
28845 "C"
28846 #endif
28847 #if defined(__STDC__) || defined(__cplusplus)
28848 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28849 #else
28850 size_t iconv();
28851 #endif
28852
28853 int
28854 main ()
28855 {
28856
28857   ;
28858   return 0;
28859 }
28860 _ACEOF
28861 if ac_fn_c_try_compile "$LINENO"; then :
28862   am_cv_proto_iconv_arg1=""
28863 else
28864   am_cv_proto_iconv_arg1="const"
28865 fi
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867       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);"
28868 fi
28869
28870     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28871     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28872          }$am_cv_proto_iconv" >&5
28873 $as_echo "${ac_t:-
28874          }$am_cv_proto_iconv" >&6; }
28875
28876 cat >>confdefs.h <<_ACEOF
28877 #define ICONV_CONST $am_cv_proto_iconv_arg1
28878 _ACEOF
28879
28880   fi
28881
28882
28883 else
28884
28885   # This lets us hard-code the functionality we know we'll have in the cross
28886   # target environment.  "Let" is a sugar-coated word placed on an especially
28887   # dull and tedious hack, actually.
28888   #
28889   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28890   # that involve linking, can't be used:
28891   #    "cannot open sim-crt0.o"
28892   #    "cannot open crt0.o"
28893   # etc.  All this is because there currently exists no unified, consistent
28894   # way for top level CC information to be passed down to target directories:
28895   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28896   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28897   # crosses can be removed.
28898
28899   # If Canadian cross, then don't pick up tools from the build directory.
28900   # Used only in GLIBCXX_EXPORT_INCLUDES.
28901   if test -n "$with_cross_host" &&
28902      test x"$build_alias" != x"$with_cross_host" &&
28903      test x"$build" != x"$target";
28904   then
28905     CANADIAN=yes
28906   else
28907     CANADIAN=no
28908   fi
28909
28910   # Construct crosses by hand, eliminating bits that need ld...
28911   # GLIBCXX_CHECK_MATH_SUPPORT
28912
28913   # First, test for "known" system libraries.  We may be using newlib even
28914   # on a hosted environment.
28915   if test "x${with_newlib}" = "xyes"; then
28916     os_include_dir="os/newlib"
28917     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28918
28919
28920     # GLIBCXX_CHECK_STDLIB_SUPPORT
28921     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28922
28923
28924     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28925
28926     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28927
28928     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28929
28930     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28931
28932     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28933
28934     $as_echo "#define HAVE_COSF 1" >>confdefs.h
28935
28936     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28937
28938     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28939
28940     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28941
28942     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28943
28944     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28945
28946     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28947
28948     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28949
28950     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28951
28952     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28953
28954     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28955
28956     $as_echo "#define HAVE_POWF 1" >>confdefs.h
28957
28958     $as_echo "#define HAVE_SINF 1" >>confdefs.h
28959
28960     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28961
28962     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28963
28964     $as_echo "#define HAVE_TANF 1" >>confdefs.h
28965
28966     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28967
28968
28969     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28970
28971     $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28972
28973   else
28974
28975 # Base decisions on target environment.
28976 case "${host}" in
28977   arm*-*-symbianelf*)
28978     # This is a freestanding configuration; there is nothing to do here.
28979     ;;
28980
28981   avr*-*-*)
28982     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28983
28984     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28985
28986     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28987
28988     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28989
28990     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28991
28992     $as_echo "#define HAVE_COSF 1" >>confdefs.h
28993
28994     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28995
28996     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28997
28998     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28999
29000     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29001
29002     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29003
29004     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29005
29006     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29007
29008     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29009
29010     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29011
29012     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29013
29014     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29015
29016     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29017
29018     $as_echo "#define HAVE_POWF 1" >>confdefs.h
29019
29020     $as_echo "#define HAVE_SINF 1" >>confdefs.h
29021
29022     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29023
29024     $as_echo "#define HAVE_TANF 1" >>confdefs.h
29025
29026     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29027
29028     ;;
29029
29030   mips*-sde-elf*)
29031     # These definitions are for the SDE C library rather than newlib.
29032     SECTION_FLAGS='-ffunction-sections -fdata-sections'
29033
29034
29035   # All these tests are for C++; save the language and the compiler flags.
29036   # The CXXFLAGS thing is suspicious, but based on similar bits previously
29037   # found in GLIBCXX_CONFIGURE.
29038
29039   ac_ext=cpp
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044
29045   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29046   ac_save_CXXFLAGS="$CXXFLAGS"
29047
29048   # Check for maintainer-mode bits.
29049   if test x"$USE_MAINTAINER_MODE" = xno; then
29050     WERROR=''
29051   else
29052     WERROR='-Werror'
29053   fi
29054
29055   # Check for -ffunction-sections -fdata-sections
29056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29058   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h.  */
29061 int foo; void bar() { };
29062 int
29063 main ()
29064 {
29065
29066   ;
29067   return 0;
29068 }
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071   ac_fdsections=yes
29072 else
29073   ac_fdsections=no
29074 fi
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076   if test "$ac_test_CXXFLAGS" = set; then
29077     CXXFLAGS="$ac_save_CXXFLAGS"
29078   else
29079     # this is the suspicious part
29080     CXXFLAGS=''
29081   fi
29082   if test x"$ac_fdsections" = x"yes"; then
29083     SECTION_FLAGS='-ffunction-sections -fdata-sections'
29084   fi
29085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29086 $as_echo "$ac_fdsections" >&6; }
29087
29088   ac_ext=c
29089 ac_cpp='$CPP $CPPFLAGS'
29090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29093
29094
29095
29096
29097
29098   # If we're not using GNU ld, then there's no point in even trying these
29099   # tests.  Check for that first.  We should have already tested for gld
29100   # by now (in libtool), but require it now just to be safe...
29101   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29102   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29103
29104
29105
29106   # The name set by libtool depends on the version of libtool.  Shame on us
29107   # for depending on an impl detail, but c'est la vie.  Older versions used
29108   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29109   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29110   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
29111   # set (hence we're using an older libtool), then set it.
29112   if test x${with_gnu_ld+set} != xset; then
29113     if test x${ac_cv_prog_gnu_ld+set} != xset; then
29114       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
29115       with_gnu_ld=no
29116     else
29117       with_gnu_ld=$ac_cv_prog_gnu_ld
29118     fi
29119   fi
29120
29121   # Start by getting the version number.  I think the libtool test already
29122   # does some of this, but throws away the result.
29123   glibcxx_ld_is_gold=no
29124   if test x"$with_gnu_ld" = x"yes"; then
29125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29126 $as_echo_n "checking for ld version... " >&6; }
29127
29128     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29129       glibcxx_ld_is_gold=yes
29130     fi
29131     ldver=`$LD --version 2>/dev/null |
29132            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'`
29133
29134     glibcxx_gnu_ld_version=`echo $ldver | \
29135            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29138   fi
29139
29140   # Set --gc-sections.
29141   glibcxx_have_gc_sections=no
29142   if test "$glibcxx_ld_is_gold" = "yes"; then
29143     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29144       glibcxx_have_gc_sections=yes
29145     fi
29146   else
29147     glibcxx_gcsections_min_ld=21602
29148     if test x"$with_gnu_ld" = x"yes" &&
29149         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29150       glibcxx_have_gc_sections=yes
29151     fi
29152   fi
29153   if test "$glibcxx_have_gc_sections" = "yes"; then
29154     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
29155     # NB: This flag only works reliably after 2.16.1. Configure tests
29156     # for this are difficult, so hard wire a value that should work.
29157
29158     ac_test_CFLAGS="${CFLAGS+set}"
29159     ac_save_CFLAGS="$CFLAGS"
29160     CFLAGS='-Wl,--gc-sections'
29161
29162     # Check for -Wl,--gc-sections
29163     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29165     if test x$gcc_no_link = xyes; then
29166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29167 fi
29168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29169 /* end confdefs.h.  */
29170  int one(void) { return 1; }
29171      int two(void) { return 2; }
29172
29173 int
29174 main ()
29175 {
29176  two();
29177   ;
29178   return 0;
29179 }
29180 _ACEOF
29181 if ac_fn_c_try_link "$LINENO"; then :
29182   ac_gcsections=yes
29183 else
29184   ac_gcsections=no
29185 fi
29186 rm -f core conftest.err conftest.$ac_objext \
29187     conftest$ac_exeext conftest.$ac_ext
29188     if test "$ac_gcsections" = "yes"; then
29189       rm -f conftest.c
29190       touch conftest.c
29191       if $CC -c conftest.c; then
29192         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29193            grep "Warning: gc-sections option ignored" > /dev/null; then
29194           ac_gcsections=no
29195         fi
29196       fi
29197       rm -f conftest.c conftest.o conftest
29198     fi
29199     if test "$ac_gcsections" = "yes"; then
29200       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29201     fi
29202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29203 $as_echo "$ac_gcsections" >&6; }
29204
29205     if test "$ac_test_CFLAGS" = set; then
29206       CFLAGS="$ac_save_CFLAGS"
29207     else
29208       # this is the suspicious part
29209       CFLAGS=''
29210     fi
29211   fi
29212
29213   # Set -z,relro.
29214   # Note this is only for shared objects.
29215   ac_ld_relro=no
29216   if test x"$with_gnu_ld" = x"yes"; then
29217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29219     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29220     if test -n "$cxx_z_relo"; then
29221       OPT_LDFLAGS="-Wl,-z,relro"
29222       ac_ld_relro=yes
29223     fi
29224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29225 $as_echo "$ac_ld_relro" >&6; }
29226   fi
29227
29228   # Set linker optimization flags.
29229   if test x"$with_gnu_ld" = x"yes"; then
29230     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29231   fi
29232
29233
29234
29235
29236
29237   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29238   ac_save_CXXFLAGS="$CXXFLAGS"
29239   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29240
29241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29242 $as_echo_n "checking for sin in -lm... " >&6; }
29243 if test "${ac_cv_lib_m_sin+set}" = set; then :
29244   $as_echo_n "(cached) " >&6
29245 else
29246   ac_check_lib_save_LIBS=$LIBS
29247 LIBS="-lm  $LIBS"
29248 if test x$gcc_no_link = xyes; then
29249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29250 fi
29251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29252 /* end confdefs.h.  */
29253
29254 /* Override any GCC internal prototype to avoid an error.
29255    Use char because int might match the return type of a GCC
29256    builtin and then its argument prototype would still apply.  */
29257 #ifdef __cplusplus
29258 extern "C"
29259 #endif
29260 char sin ();
29261 int
29262 main ()
29263 {
29264 return sin ();
29265   ;
29266   return 0;
29267 }
29268 _ACEOF
29269 if ac_fn_c_try_link "$LINENO"; then :
29270   ac_cv_lib_m_sin=yes
29271 else
29272   ac_cv_lib_m_sin=no
29273 fi
29274 rm -f core conftest.err conftest.$ac_objext \
29275     conftest$ac_exeext conftest.$ac_ext
29276 LIBS=$ac_check_lib_save_LIBS
29277 fi
29278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29279 $as_echo "$ac_cv_lib_m_sin" >&6; }
29280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29281   libm="-lm"
29282 fi
29283
29284   ac_save_LIBS="$LIBS"
29285   LIBS="$LIBS $libm"
29286
29287
29288
29289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29290 $as_echo_n "checking for isinf declaration... " >&6; }
29291   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29292     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29293   $as_echo_n "(cached) " >&6
29294 else
29295
29296
29297       ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29302
29303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h.  */
29305 #include <math.h>
29306                       #ifdef HAVE_IEEEFP_H
29307                       #include <ieeefp.h>
29308                       #endif
29309
29310 int
29311 main ()
29312 {
29313  isinf(0);
29314   ;
29315   return 0;
29316 }
29317 _ACEOF
29318 if ac_fn_cxx_try_compile "$LINENO"; then :
29319   glibcxx_cv_func_isinf_use=yes
29320 else
29321   glibcxx_cv_func_isinf_use=no
29322 fi
29323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29324       ac_ext=c
29325 ac_cpp='$CPP $CPPFLAGS'
29326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29329
29330
29331 fi
29332
29333   fi
29334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29336
29337   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29338     for ac_func in isinf
29339 do :
29340   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29341 if test "x$ac_cv_func_isinf" = x""yes; then :
29342   cat >>confdefs.h <<_ACEOF
29343 #define HAVE_ISINF 1
29344 _ACEOF
29345
29346 fi
29347 done
29348
29349   else
29350
29351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29352 $as_echo_n "checking for _isinf declaration... " >&6; }
29353   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29354     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29355   $as_echo_n "(cached) " >&6
29356 else
29357
29358
29359       ac_ext=cpp
29360 ac_cpp='$CXXCPP $CPPFLAGS'
29361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29364
29365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29366 /* end confdefs.h.  */
29367 #include <math.h>
29368                       #ifdef HAVE_IEEEFP_H
29369                       #include <ieeefp.h>
29370                       #endif
29371
29372 int
29373 main ()
29374 {
29375  _isinf(0);
29376   ;
29377   return 0;
29378 }
29379 _ACEOF
29380 if ac_fn_cxx_try_compile "$LINENO"; then :
29381   glibcxx_cv_func__isinf_use=yes
29382 else
29383   glibcxx_cv_func__isinf_use=no
29384 fi
29385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386       ac_ext=c
29387 ac_cpp='$CPP $CPPFLAGS'
29388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29391
29392
29393 fi
29394
29395   fi
29396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29398
29399     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29400       for ac_func in _isinf
29401 do :
29402   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29403 if test "x$ac_cv_func__isinf" = x""yes; then :
29404   cat >>confdefs.h <<_ACEOF
29405 #define HAVE__ISINF 1
29406 _ACEOF
29407
29408 fi
29409 done
29410
29411     fi
29412   fi
29413
29414
29415
29416
29417
29418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29419 $as_echo_n "checking for isnan declaration... " >&6; }
29420   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29421     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29422   $as_echo_n "(cached) " >&6
29423 else
29424
29425
29426       ac_ext=cpp
29427 ac_cpp='$CXXCPP $CPPFLAGS'
29428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29431
29432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h.  */
29434 #include <math.h>
29435                       #ifdef HAVE_IEEEFP_H
29436                       #include <ieeefp.h>
29437                       #endif
29438
29439 int
29440 main ()
29441 {
29442  isnan(0);
29443   ;
29444   return 0;
29445 }
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448   glibcxx_cv_func_isnan_use=yes
29449 else
29450   glibcxx_cv_func_isnan_use=no
29451 fi
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453       ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458
29459
29460 fi
29461
29462   fi
29463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29465
29466   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29467     for ac_func in isnan
29468 do :
29469   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29470 if test "x$ac_cv_func_isnan" = x""yes; then :
29471   cat >>confdefs.h <<_ACEOF
29472 #define HAVE_ISNAN 1
29473 _ACEOF
29474
29475 fi
29476 done
29477
29478   else
29479
29480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29481 $as_echo_n "checking for _isnan declaration... " >&6; }
29482   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29483     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29484   $as_echo_n "(cached) " >&6
29485 else
29486
29487
29488       ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493
29494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h.  */
29496 #include <math.h>
29497                       #ifdef HAVE_IEEEFP_H
29498                       #include <ieeefp.h>
29499                       #endif
29500
29501 int
29502 main ()
29503 {
29504  _isnan(0);
29505   ;
29506   return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510   glibcxx_cv_func__isnan_use=yes
29511 else
29512   glibcxx_cv_func__isnan_use=no
29513 fi
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515       ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29520
29521
29522 fi
29523
29524   fi
29525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29527
29528     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29529       for ac_func in _isnan
29530 do :
29531   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29532 if test "x$ac_cv_func__isnan" = x""yes; then :
29533   cat >>confdefs.h <<_ACEOF
29534 #define HAVE__ISNAN 1
29535 _ACEOF
29536
29537 fi
29538 done
29539
29540     fi
29541   fi
29542
29543
29544
29545
29546
29547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29548 $as_echo_n "checking for finite declaration... " >&6; }
29549   if test x${glibcxx_cv_func_finite_use+set} != xset; then
29550     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29551   $as_echo_n "(cached) " >&6
29552 else
29553
29554
29555       ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560
29561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h.  */
29563 #include <math.h>
29564                       #ifdef HAVE_IEEEFP_H
29565                       #include <ieeefp.h>
29566                       #endif
29567
29568 int
29569 main ()
29570 {
29571  finite(0);
29572   ;
29573   return 0;
29574 }
29575 _ACEOF
29576 if ac_fn_cxx_try_compile "$LINENO"; then :
29577   glibcxx_cv_func_finite_use=yes
29578 else
29579   glibcxx_cv_func_finite_use=no
29580 fi
29581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29582       ac_ext=c
29583 ac_cpp='$CPP $CPPFLAGS'
29584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29587
29588
29589 fi
29590
29591   fi
29592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29594
29595   if test x$glibcxx_cv_func_finite_use = x"yes"; then
29596     for ac_func in finite
29597 do :
29598   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29599 if test "x$ac_cv_func_finite" = x""yes; then :
29600   cat >>confdefs.h <<_ACEOF
29601 #define HAVE_FINITE 1
29602 _ACEOF
29603
29604 fi
29605 done
29606
29607   else
29608
29609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29610 $as_echo_n "checking for _finite declaration... " >&6; }
29611   if test x${glibcxx_cv_func__finite_use+set} != xset; then
29612     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29613   $as_echo_n "(cached) " >&6
29614 else
29615
29616
29617       ac_ext=cpp
29618 ac_cpp='$CXXCPP $CPPFLAGS'
29619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29622
29623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29624 /* end confdefs.h.  */
29625 #include <math.h>
29626                       #ifdef HAVE_IEEEFP_H
29627                       #include <ieeefp.h>
29628                       #endif
29629
29630 int
29631 main ()
29632 {
29633  _finite(0);
29634   ;
29635   return 0;
29636 }
29637 _ACEOF
29638 if ac_fn_cxx_try_compile "$LINENO"; then :
29639   glibcxx_cv_func__finite_use=yes
29640 else
29641   glibcxx_cv_func__finite_use=no
29642 fi
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644       ac_ext=c
29645 ac_cpp='$CPP $CPPFLAGS'
29646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29649
29650
29651 fi
29652
29653   fi
29654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29656
29657     if test x$glibcxx_cv_func__finite_use = x"yes"; then
29658       for ac_func in _finite
29659 do :
29660   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29661 if test "x$ac_cv_func__finite" = x""yes; then :
29662   cat >>confdefs.h <<_ACEOF
29663 #define HAVE__FINITE 1
29664 _ACEOF
29665
29666 fi
29667 done
29668
29669     fi
29670   fi
29671
29672
29673
29674
29675
29676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29677 $as_echo_n "checking for sincos declaration... " >&6; }
29678   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29679     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29680   $as_echo_n "(cached) " >&6
29681 else
29682
29683
29684       ac_ext=cpp
29685 ac_cpp='$CXXCPP $CPPFLAGS'
29686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689
29690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h.  */
29692 #include <math.h>
29693 int
29694 main ()
29695 {
29696  sincos(0, 0, 0);
29697   ;
29698   return 0;
29699 }
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702   glibcxx_cv_func_sincos_use=yes
29703 else
29704   glibcxx_cv_func_sincos_use=no
29705 fi
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707       ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29712
29713
29714 fi
29715
29716   fi
29717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29719
29720   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29721     for ac_func in sincos
29722 do :
29723   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29724 if test "x$ac_cv_func_sincos" = x""yes; then :
29725   cat >>confdefs.h <<_ACEOF
29726 #define HAVE_SINCOS 1
29727 _ACEOF
29728
29729 fi
29730 done
29731
29732   else
29733
29734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29735 $as_echo_n "checking for _sincos declaration... " >&6; }
29736   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29737     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29738   $as_echo_n "(cached) " >&6
29739 else
29740
29741
29742       ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747
29748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h.  */
29750 #include <math.h>
29751 int
29752 main ()
29753 {
29754  _sincos(0, 0, 0);
29755   ;
29756   return 0;
29757 }
29758 _ACEOF
29759 if ac_fn_cxx_try_compile "$LINENO"; then :
29760   glibcxx_cv_func__sincos_use=yes
29761 else
29762   glibcxx_cv_func__sincos_use=no
29763 fi
29764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29765       ac_ext=c
29766 ac_cpp='$CPP $CPPFLAGS'
29767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29770
29771
29772 fi
29773
29774   fi
29775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29777
29778     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29779       for ac_func in _sincos
29780 do :
29781   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29782 if test "x$ac_cv_func__sincos" = x""yes; then :
29783   cat >>confdefs.h <<_ACEOF
29784 #define HAVE__SINCOS 1
29785 _ACEOF
29786
29787 fi
29788 done
29789
29790     fi
29791   fi
29792
29793
29794
29795
29796
29797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29798 $as_echo_n "checking for fpclass declaration... " >&6; }
29799   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29800     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29801   $as_echo_n "(cached) " >&6
29802 else
29803
29804
29805       ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810
29811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h.  */
29813 #include <math.h>
29814                       #ifdef HAVE_IEEEFP_H
29815                       #include <ieeefp.h>
29816                       #endif
29817
29818 int
29819 main ()
29820 {
29821  fpclass(0);
29822   ;
29823   return 0;
29824 }
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827   glibcxx_cv_func_fpclass_use=yes
29828 else
29829   glibcxx_cv_func_fpclass_use=no
29830 fi
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832       ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29837
29838
29839 fi
29840
29841   fi
29842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29844
29845   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29846     for ac_func in fpclass
29847 do :
29848   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29849 if test "x$ac_cv_func_fpclass" = x""yes; then :
29850   cat >>confdefs.h <<_ACEOF
29851 #define HAVE_FPCLASS 1
29852 _ACEOF
29853
29854 fi
29855 done
29856
29857   else
29858
29859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29860 $as_echo_n "checking for _fpclass declaration... " >&6; }
29861   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29862     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29863   $as_echo_n "(cached) " >&6
29864 else
29865
29866
29867       ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872
29873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h.  */
29875 #include <math.h>
29876                       #ifdef HAVE_IEEEFP_H
29877                       #include <ieeefp.h>
29878                       #endif
29879
29880 int
29881 main ()
29882 {
29883  _fpclass(0);
29884   ;
29885   return 0;
29886 }
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889   glibcxx_cv_func__fpclass_use=yes
29890 else
29891   glibcxx_cv_func__fpclass_use=no
29892 fi
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894       ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899
29900
29901 fi
29902
29903   fi
29904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29906
29907     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29908       for ac_func in _fpclass
29909 do :
29910   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29911 if test "x$ac_cv_func__fpclass" = x""yes; then :
29912   cat >>confdefs.h <<_ACEOF
29913 #define HAVE__FPCLASS 1
29914 _ACEOF
29915
29916 fi
29917 done
29918
29919     fi
29920   fi
29921
29922
29923
29924
29925
29926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29927 $as_echo_n "checking for qfpclass declaration... " >&6; }
29928   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29929     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29930   $as_echo_n "(cached) " >&6
29931 else
29932
29933
29934       ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939
29940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h.  */
29942 #include <math.h>
29943                       #ifdef HAVE_IEEEFP_H
29944                       #include <ieeefp.h>
29945                       #endif
29946
29947 int
29948 main ()
29949 {
29950  qfpclass(0);
29951   ;
29952   return 0;
29953 }
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956   glibcxx_cv_func_qfpclass_use=yes
29957 else
29958   glibcxx_cv_func_qfpclass_use=no
29959 fi
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961       ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966
29967
29968 fi
29969
29970   fi
29971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29973
29974   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29975     for ac_func in qfpclass
29976 do :
29977   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29979   cat >>confdefs.h <<_ACEOF
29980 #define HAVE_QFPCLASS 1
29981 _ACEOF
29982
29983 fi
29984 done
29985
29986   else
29987
29988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29990   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29991     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29992   $as_echo_n "(cached) " >&6
29993 else
29994
29995
29996       ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001
30002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h.  */
30004 #include <math.h>
30005                       #ifdef HAVE_IEEEFP_H
30006                       #include <ieeefp.h>
30007                       #endif
30008
30009 int
30010 main ()
30011 {
30012  _qfpclass(0);
30013   ;
30014   return 0;
30015 }
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018   glibcxx_cv_func__qfpclass_use=yes
30019 else
30020   glibcxx_cv_func__qfpclass_use=no
30021 fi
30022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30023       ac_ext=c
30024 ac_cpp='$CPP $CPPFLAGS'
30025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028
30029
30030 fi
30031
30032   fi
30033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30035
30036     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30037       for ac_func in _qfpclass
30038 do :
30039   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30041   cat >>confdefs.h <<_ACEOF
30042 #define HAVE__QFPCLASS 1
30043 _ACEOF
30044
30045 fi
30046 done
30047
30048     fi
30049   fi
30050
30051
30052
30053
30054
30055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30056 $as_echo_n "checking for hypot declaration... " >&6; }
30057   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30058     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30059   $as_echo_n "(cached) " >&6
30060 else
30061
30062
30063       ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068
30069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h.  */
30071 #include <math.h>
30072 int
30073 main ()
30074 {
30075  hypot(0, 0);
30076   ;
30077   return 0;
30078 }
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081   glibcxx_cv_func_hypot_use=yes
30082 else
30083   glibcxx_cv_func_hypot_use=no
30084 fi
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086       ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30091
30092
30093 fi
30094
30095   fi
30096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30098
30099   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30100     for ac_func in hypot
30101 do :
30102   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30103 if test "x$ac_cv_func_hypot" = x""yes; then :
30104   cat >>confdefs.h <<_ACEOF
30105 #define HAVE_HYPOT 1
30106 _ACEOF
30107
30108 fi
30109 done
30110
30111   else
30112
30113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30114 $as_echo_n "checking for _hypot declaration... " >&6; }
30115   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30116     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30117   $as_echo_n "(cached) " >&6
30118 else
30119
30120
30121       ac_ext=cpp
30122 ac_cpp='$CXXCPP $CPPFLAGS'
30123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30126
30127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30128 /* end confdefs.h.  */
30129 #include <math.h>
30130 int
30131 main ()
30132 {
30133  _hypot(0, 0);
30134   ;
30135   return 0;
30136 }
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139   glibcxx_cv_func__hypot_use=yes
30140 else
30141   glibcxx_cv_func__hypot_use=no
30142 fi
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144       ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149
30150
30151 fi
30152
30153   fi
30154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30156
30157     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30158       for ac_func in _hypot
30159 do :
30160   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30161 if test "x$ac_cv_func__hypot" = x""yes; then :
30162   cat >>confdefs.h <<_ACEOF
30163 #define HAVE__HYPOT 1
30164 _ACEOF
30165
30166 fi
30167 done
30168
30169     fi
30170   fi
30171
30172
30173
30174
30175
30176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30177 $as_echo_n "checking for float trig functions... " >&6; }
30178   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30179   $as_echo_n "(cached) " >&6
30180 else
30181
30182
30183     ac_ext=cpp
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188
30189     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30190 /* end confdefs.h.  */
30191 #include <math.h>
30192 int
30193 main ()
30194 {
30195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30196   ;
30197   return 0;
30198 }
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201   glibcxx_cv_func_float_trig_use=yes
30202 else
30203   glibcxx_cv_func_float_trig_use=no
30204 fi
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206     ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211
30212 fi
30213
30214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30216   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30217     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30218 do :
30219   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30221 eval as_val=\$$as_ac_var
30222    if test "x$as_val" = x""yes; then :
30223   cat >>confdefs.h <<_ACEOF
30224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30225 _ACEOF
30226
30227 fi
30228 done
30229
30230   else
30231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30232 $as_echo_n "checking for _float trig functions... " >&6; }
30233     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30234   $as_echo_n "(cached) " >&6
30235 else
30236
30237
30238       ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30243
30244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h.  */
30246 #include <math.h>
30247 int
30248 main ()
30249 {
30250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30251   ;
30252   return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256   glibcxx_cv_func__float_trig_use=yes
30257 else
30258   glibcxx_cv_func__float_trig_use=no
30259 fi
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261       ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267 fi
30268
30269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30271     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30272       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30273 do :
30274   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30276 eval as_val=\$$as_ac_var
30277    if test "x$as_val" = x""yes; then :
30278   cat >>confdefs.h <<_ACEOF
30279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30280 _ACEOF
30281
30282 fi
30283 done
30284
30285     fi
30286   fi
30287
30288
30289
30290
30291
30292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30293 $as_echo_n "checking for float round functions... " >&6; }
30294   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30295   $as_echo_n "(cached) " >&6
30296 else
30297
30298
30299     ac_ext=cpp
30300 ac_cpp='$CXXCPP $CPPFLAGS'
30301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304
30305     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30306 /* end confdefs.h.  */
30307 #include <math.h>
30308 int
30309 main ()
30310 {
30311 ceilf (0); floorf (0);
30312   ;
30313   return 0;
30314 }
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317   glibcxx_cv_func_float_round_use=yes
30318 else
30319   glibcxx_cv_func_float_round_use=no
30320 fi
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322     ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30327
30328 fi
30329
30330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30332   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30333     for ac_func in ceilf floorf
30334 do :
30335   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30337 eval as_val=\$$as_ac_var
30338    if test "x$as_val" = x""yes; then :
30339   cat >>confdefs.h <<_ACEOF
30340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30341 _ACEOF
30342
30343 fi
30344 done
30345
30346   else
30347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30348 $as_echo_n "checking for _float round functions... " >&6; }
30349     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30350   $as_echo_n "(cached) " >&6
30351 else
30352
30353
30354       ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359
30360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h.  */
30362 #include <math.h>
30363 int
30364 main ()
30365 {
30366 _ceilf (0); _floorf (0);
30367   ;
30368   return 0;
30369 }
30370 _ACEOF
30371 if ac_fn_cxx_try_compile "$LINENO"; then :
30372   glibcxx_cv_func__float_round_use=yes
30373 else
30374   glibcxx_cv_func__float_round_use=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30377       ac_ext=c
30378 ac_cpp='$CPP $CPPFLAGS'
30379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30382
30383 fi
30384
30385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30387     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30388       for ac_func in _ceilf _floorf
30389 do :
30390   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30392 eval as_val=\$$as_ac_var
30393    if test "x$as_val" = x""yes; then :
30394   cat >>confdefs.h <<_ACEOF
30395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30396 _ACEOF
30397
30398 fi
30399 done
30400
30401     fi
30402   fi
30403
30404
30405
30406
30407
30408
30409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30410 $as_echo_n "checking for expf declaration... " >&6; }
30411   if test x${glibcxx_cv_func_expf_use+set} != xset; then
30412     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30413   $as_echo_n "(cached) " >&6
30414 else
30415
30416
30417       ac_ext=cpp
30418 ac_cpp='$CXXCPP $CPPFLAGS'
30419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422
30423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h.  */
30425 #include <math.h>
30426                       #ifdef HAVE_IEEEFP_H
30427                       #include <ieeefp.h>
30428                       #endif
30429
30430 int
30431 main ()
30432 {
30433  expf(0);
30434   ;
30435   return 0;
30436 }
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439   glibcxx_cv_func_expf_use=yes
30440 else
30441   glibcxx_cv_func_expf_use=no
30442 fi
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444       ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30449
30450
30451 fi
30452
30453   fi
30454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30456
30457   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30458     for ac_func in expf
30459 do :
30460   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30461 if test "x$ac_cv_func_expf" = x""yes; then :
30462   cat >>confdefs.h <<_ACEOF
30463 #define HAVE_EXPF 1
30464 _ACEOF
30465
30466 fi
30467 done
30468
30469   else
30470
30471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30472 $as_echo_n "checking for _expf declaration... " >&6; }
30473   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30474     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30475   $as_echo_n "(cached) " >&6
30476 else
30477
30478
30479       ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484
30485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h.  */
30487 #include <math.h>
30488                       #ifdef HAVE_IEEEFP_H
30489                       #include <ieeefp.h>
30490                       #endif
30491
30492 int
30493 main ()
30494 {
30495  _expf(0);
30496   ;
30497   return 0;
30498 }
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501   glibcxx_cv_func__expf_use=yes
30502 else
30503   glibcxx_cv_func__expf_use=no
30504 fi
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506       ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30511
30512
30513 fi
30514
30515   fi
30516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30518
30519     if test x$glibcxx_cv_func__expf_use = x"yes"; then
30520       for ac_func in _expf
30521 do :
30522   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30523 if test "x$ac_cv_func__expf" = x""yes; then :
30524   cat >>confdefs.h <<_ACEOF
30525 #define HAVE__EXPF 1
30526 _ACEOF
30527
30528 fi
30529 done
30530
30531     fi
30532   fi
30533
30534
30535
30536
30537
30538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30539 $as_echo_n "checking for isnanf declaration... " >&6; }
30540   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30541     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30542   $as_echo_n "(cached) " >&6
30543 else
30544
30545
30546       ac_ext=cpp
30547 ac_cpp='$CXXCPP $CPPFLAGS'
30548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551
30552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30553 /* end confdefs.h.  */
30554 #include <math.h>
30555                       #ifdef HAVE_IEEEFP_H
30556                       #include <ieeefp.h>
30557                       #endif
30558
30559 int
30560 main ()
30561 {
30562  isnanf(0);
30563   ;
30564   return 0;
30565 }
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568   glibcxx_cv_func_isnanf_use=yes
30569 else
30570   glibcxx_cv_func_isnanf_use=no
30571 fi
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573       ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578
30579
30580 fi
30581
30582   fi
30583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30585
30586   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30587     for ac_func in isnanf
30588 do :
30589   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30590 if test "x$ac_cv_func_isnanf" = x""yes; then :
30591   cat >>confdefs.h <<_ACEOF
30592 #define HAVE_ISNANF 1
30593 _ACEOF
30594
30595 fi
30596 done
30597
30598   else
30599
30600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30601 $as_echo_n "checking for _isnanf declaration... " >&6; }
30602   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30603     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30604   $as_echo_n "(cached) " >&6
30605 else
30606
30607
30608       ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613
30614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h.  */
30616 #include <math.h>
30617                       #ifdef HAVE_IEEEFP_H
30618                       #include <ieeefp.h>
30619                       #endif
30620
30621 int
30622 main ()
30623 {
30624  _isnanf(0);
30625   ;
30626   return 0;
30627 }
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630   glibcxx_cv_func__isnanf_use=yes
30631 else
30632   glibcxx_cv_func__isnanf_use=no
30633 fi
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635       ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30640
30641
30642 fi
30643
30644   fi
30645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30647
30648     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30649       for ac_func in _isnanf
30650 do :
30651   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30652 if test "x$ac_cv_func__isnanf" = x""yes; then :
30653   cat >>confdefs.h <<_ACEOF
30654 #define HAVE__ISNANF 1
30655 _ACEOF
30656
30657 fi
30658 done
30659
30660     fi
30661   fi
30662
30663
30664
30665
30666
30667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30668 $as_echo_n "checking for isinff declaration... " >&6; }
30669   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30670     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30671   $as_echo_n "(cached) " >&6
30672 else
30673
30674
30675       ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680
30681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h.  */
30683 #include <math.h>
30684                       #ifdef HAVE_IEEEFP_H
30685                       #include <ieeefp.h>
30686                       #endif
30687
30688 int
30689 main ()
30690 {
30691  isinff(0);
30692   ;
30693   return 0;
30694 }
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697   glibcxx_cv_func_isinff_use=yes
30698 else
30699   glibcxx_cv_func_isinff_use=no
30700 fi
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702       ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707
30708
30709 fi
30710
30711   fi
30712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30714
30715   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30716     for ac_func in isinff
30717 do :
30718   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30719 if test "x$ac_cv_func_isinff" = x""yes; then :
30720   cat >>confdefs.h <<_ACEOF
30721 #define HAVE_ISINFF 1
30722 _ACEOF
30723
30724 fi
30725 done
30726
30727   else
30728
30729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30730 $as_echo_n "checking for _isinff declaration... " >&6; }
30731   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30732     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30733   $as_echo_n "(cached) " >&6
30734 else
30735
30736
30737       ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742
30743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h.  */
30745 #include <math.h>
30746                       #ifdef HAVE_IEEEFP_H
30747                       #include <ieeefp.h>
30748                       #endif
30749
30750 int
30751 main ()
30752 {
30753  _isinff(0);
30754   ;
30755   return 0;
30756 }
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759   glibcxx_cv_func__isinff_use=yes
30760 else
30761   glibcxx_cv_func__isinff_use=no
30762 fi
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764       ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30769
30770
30771 fi
30772
30773   fi
30774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30776
30777     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30778       for ac_func in _isinff
30779 do :
30780   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30781 if test "x$ac_cv_func__isinff" = x""yes; then :
30782   cat >>confdefs.h <<_ACEOF
30783 #define HAVE__ISINFF 1
30784 _ACEOF
30785
30786 fi
30787 done
30788
30789     fi
30790   fi
30791
30792
30793
30794
30795
30796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30797 $as_echo_n "checking for atan2f declaration... " >&6; }
30798   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30799     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30800   $as_echo_n "(cached) " >&6
30801 else
30802
30803
30804       ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809
30810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h.  */
30812 #include <math.h>
30813 int
30814 main ()
30815 {
30816  atan2f(0, 0);
30817   ;
30818   return 0;
30819 }
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822   glibcxx_cv_func_atan2f_use=yes
30823 else
30824   glibcxx_cv_func_atan2f_use=no
30825 fi
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827       ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30832
30833
30834 fi
30835
30836   fi
30837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30839
30840   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30841     for ac_func in atan2f
30842 do :
30843   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30844 if test "x$ac_cv_func_atan2f" = x""yes; then :
30845   cat >>confdefs.h <<_ACEOF
30846 #define HAVE_ATAN2F 1
30847 _ACEOF
30848
30849 fi
30850 done
30851
30852   else
30853
30854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30855 $as_echo_n "checking for _atan2f declaration... " >&6; }
30856   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30857     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30858   $as_echo_n "(cached) " >&6
30859 else
30860
30861
30862       ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867
30868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h.  */
30870 #include <math.h>
30871 int
30872 main ()
30873 {
30874  _atan2f(0, 0);
30875   ;
30876   return 0;
30877 }
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880   glibcxx_cv_func__atan2f_use=yes
30881 else
30882   glibcxx_cv_func__atan2f_use=no
30883 fi
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885       ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890
30891
30892 fi
30893
30894   fi
30895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30897
30898     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30899       for ac_func in _atan2f
30900 do :
30901   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30902 if test "x$ac_cv_func__atan2f" = x""yes; then :
30903   cat >>confdefs.h <<_ACEOF
30904 #define HAVE__ATAN2F 1
30905 _ACEOF
30906
30907 fi
30908 done
30909
30910     fi
30911   fi
30912
30913
30914
30915
30916
30917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30918 $as_echo_n "checking for fabsf declaration... " >&6; }
30919   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30920     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30921   $as_echo_n "(cached) " >&6
30922 else
30923
30924
30925       ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930
30931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h.  */
30933 #include <math.h>
30934                       #ifdef HAVE_IEEEFP_H
30935                       #include <ieeefp.h>
30936                       #endif
30937
30938 int
30939 main ()
30940 {
30941  fabsf(0);
30942   ;
30943   return 0;
30944 }
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947   glibcxx_cv_func_fabsf_use=yes
30948 else
30949   glibcxx_cv_func_fabsf_use=no
30950 fi
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952       ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30957
30958
30959 fi
30960
30961   fi
30962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30964
30965   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30966     for ac_func in fabsf
30967 do :
30968   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30969 if test "x$ac_cv_func_fabsf" = x""yes; then :
30970   cat >>confdefs.h <<_ACEOF
30971 #define HAVE_FABSF 1
30972 _ACEOF
30973
30974 fi
30975 done
30976
30977   else
30978
30979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30980 $as_echo_n "checking for _fabsf declaration... " >&6; }
30981   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30982     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30983   $as_echo_n "(cached) " >&6
30984 else
30985
30986
30987       ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992
30993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h.  */
30995 #include <math.h>
30996                       #ifdef HAVE_IEEEFP_H
30997                       #include <ieeefp.h>
30998                       #endif
30999
31000 int
31001 main ()
31002 {
31003  _fabsf(0);
31004   ;
31005   return 0;
31006 }
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009   glibcxx_cv_func__fabsf_use=yes
31010 else
31011   glibcxx_cv_func__fabsf_use=no
31012 fi
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014       ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019
31020
31021 fi
31022
31023   fi
31024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31026
31027     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31028       for ac_func in _fabsf
31029 do :
31030   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31031 if test "x$ac_cv_func__fabsf" = x""yes; then :
31032   cat >>confdefs.h <<_ACEOF
31033 #define HAVE__FABSF 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039     fi
31040   fi
31041
31042
31043
31044
31045
31046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31047 $as_echo_n "checking for fmodf declaration... " >&6; }
31048   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31049     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31050   $as_echo_n "(cached) " >&6
31051 else
31052
31053
31054       ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059
31060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h.  */
31062 #include <math.h>
31063 int
31064 main ()
31065 {
31066  fmodf(0, 0);
31067   ;
31068   return 0;
31069 }
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072   glibcxx_cv_func_fmodf_use=yes
31073 else
31074   glibcxx_cv_func_fmodf_use=no
31075 fi
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077       ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082
31083
31084 fi
31085
31086   fi
31087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31089
31090   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31091     for ac_func in fmodf
31092 do :
31093   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31094 if test "x$ac_cv_func_fmodf" = x""yes; then :
31095   cat >>confdefs.h <<_ACEOF
31096 #define HAVE_FMODF 1
31097 _ACEOF
31098
31099 fi
31100 done
31101
31102   else
31103
31104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31105 $as_echo_n "checking for _fmodf declaration... " >&6; }
31106   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31107     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31108   $as_echo_n "(cached) " >&6
31109 else
31110
31111
31112       ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117
31118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h.  */
31120 #include <math.h>
31121 int
31122 main ()
31123 {
31124  _fmodf(0, 0);
31125   ;
31126   return 0;
31127 }
31128 _ACEOF
31129 if ac_fn_cxx_try_compile "$LINENO"; then :
31130   glibcxx_cv_func__fmodf_use=yes
31131 else
31132   glibcxx_cv_func__fmodf_use=no
31133 fi
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135       ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140
31141
31142 fi
31143
31144   fi
31145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31147
31148     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31149       for ac_func in _fmodf
31150 do :
31151   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31152 if test "x$ac_cv_func__fmodf" = x""yes; then :
31153   cat >>confdefs.h <<_ACEOF
31154 #define HAVE__FMODF 1
31155 _ACEOF
31156
31157 fi
31158 done
31159
31160     fi
31161   fi
31162
31163
31164
31165
31166
31167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31168 $as_echo_n "checking for frexpf declaration... " >&6; }
31169   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31170     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31171   $as_echo_n "(cached) " >&6
31172 else
31173
31174
31175       ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180
31181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h.  */
31183 #include <math.h>
31184 int
31185 main ()
31186 {
31187  frexpf(0, 0);
31188   ;
31189   return 0;
31190 }
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193   glibcxx_cv_func_frexpf_use=yes
31194 else
31195   glibcxx_cv_func_frexpf_use=no
31196 fi
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198       ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203
31204
31205 fi
31206
31207   fi
31208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31210
31211   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31212     for ac_func in frexpf
31213 do :
31214   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31215 if test "x$ac_cv_func_frexpf" = x""yes; then :
31216   cat >>confdefs.h <<_ACEOF
31217 #define HAVE_FREXPF 1
31218 _ACEOF
31219
31220 fi
31221 done
31222
31223   else
31224
31225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31226 $as_echo_n "checking for _frexpf declaration... " >&6; }
31227   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31228     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31229   $as_echo_n "(cached) " >&6
31230 else
31231
31232
31233       ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h.  */
31241 #include <math.h>
31242 int
31243 main ()
31244 {
31245  _frexpf(0, 0);
31246   ;
31247   return 0;
31248 }
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251   glibcxx_cv_func__frexpf_use=yes
31252 else
31253   glibcxx_cv_func__frexpf_use=no
31254 fi
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256       ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31261
31262
31263 fi
31264
31265   fi
31266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31268
31269     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31270       for ac_func in _frexpf
31271 do :
31272   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31273 if test "x$ac_cv_func__frexpf" = x""yes; then :
31274   cat >>confdefs.h <<_ACEOF
31275 #define HAVE__FREXPF 1
31276 _ACEOF
31277
31278 fi
31279 done
31280
31281     fi
31282   fi
31283
31284
31285
31286
31287
31288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31289 $as_echo_n "checking for hypotf declaration... " >&6; }
31290   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31291     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31292   $as_echo_n "(cached) " >&6
31293 else
31294
31295
31296       ac_ext=cpp
31297 ac_cpp='$CXXCPP $CPPFLAGS'
31298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301
31302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31303 /* end confdefs.h.  */
31304 #include <math.h>
31305 int
31306 main ()
31307 {
31308  hypotf(0, 0);
31309   ;
31310   return 0;
31311 }
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314   glibcxx_cv_func_hypotf_use=yes
31315 else
31316   glibcxx_cv_func_hypotf_use=no
31317 fi
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319       ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31324
31325
31326 fi
31327
31328   fi
31329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31331
31332   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31333     for ac_func in hypotf
31334 do :
31335   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31336 if test "x$ac_cv_func_hypotf" = x""yes; then :
31337   cat >>confdefs.h <<_ACEOF
31338 #define HAVE_HYPOTF 1
31339 _ACEOF
31340
31341 fi
31342 done
31343
31344   else
31345
31346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31347 $as_echo_n "checking for _hypotf declaration... " >&6; }
31348   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31349     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31350   $as_echo_n "(cached) " >&6
31351 else
31352
31353
31354       ac_ext=cpp
31355 ac_cpp='$CXXCPP $CPPFLAGS'
31356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31359
31360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31361 /* end confdefs.h.  */
31362 #include <math.h>
31363 int
31364 main ()
31365 {
31366  _hypotf(0, 0);
31367   ;
31368   return 0;
31369 }
31370 _ACEOF
31371 if ac_fn_cxx_try_compile "$LINENO"; then :
31372   glibcxx_cv_func__hypotf_use=yes
31373 else
31374   glibcxx_cv_func__hypotf_use=no
31375 fi
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31377       ac_ext=c
31378 ac_cpp='$CPP $CPPFLAGS'
31379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31382
31383
31384 fi
31385
31386   fi
31387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31389
31390     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31391       for ac_func in _hypotf
31392 do :
31393   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31394 if test "x$ac_cv_func__hypotf" = x""yes; then :
31395   cat >>confdefs.h <<_ACEOF
31396 #define HAVE__HYPOTF 1
31397 _ACEOF
31398
31399 fi
31400 done
31401
31402     fi
31403   fi
31404
31405
31406
31407
31408
31409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31410 $as_echo_n "checking for ldexpf declaration... " >&6; }
31411   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31412     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31413   $as_echo_n "(cached) " >&6
31414 else
31415
31416
31417       ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422
31423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h.  */
31425 #include <math.h>
31426 int
31427 main ()
31428 {
31429  ldexpf(0, 0);
31430   ;
31431   return 0;
31432 }
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435   glibcxx_cv_func_ldexpf_use=yes
31436 else
31437   glibcxx_cv_func_ldexpf_use=no
31438 fi
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440       ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31445
31446
31447 fi
31448
31449   fi
31450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31452
31453   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31454     for ac_func in ldexpf
31455 do :
31456   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31458   cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LDEXPF 1
31460 _ACEOF
31461
31462 fi
31463 done
31464
31465   else
31466
31467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31469   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31470     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31471   $as_echo_n "(cached) " >&6
31472 else
31473
31474
31475       ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480
31481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h.  */
31483 #include <math.h>
31484 int
31485 main ()
31486 {
31487  _ldexpf(0, 0);
31488   ;
31489   return 0;
31490 }
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493   glibcxx_cv_func__ldexpf_use=yes
31494 else
31495   glibcxx_cv_func__ldexpf_use=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498       ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503
31504
31505 fi
31506
31507   fi
31508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31510
31511     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31512       for ac_func in _ldexpf
31513 do :
31514   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31516   cat >>confdefs.h <<_ACEOF
31517 #define HAVE__LDEXPF 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523     fi
31524   fi
31525
31526
31527
31528
31529
31530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31531 $as_echo_n "checking for logf declaration... " >&6; }
31532   if test x${glibcxx_cv_func_logf_use+set} != xset; then
31533     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31534   $as_echo_n "(cached) " >&6
31535 else
31536
31537
31538       ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543
31544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h.  */
31546 #include <math.h>
31547                       #ifdef HAVE_IEEEFP_H
31548                       #include <ieeefp.h>
31549                       #endif
31550
31551 int
31552 main ()
31553 {
31554  logf(0);
31555   ;
31556   return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560   glibcxx_cv_func_logf_use=yes
31561 else
31562   glibcxx_cv_func_logf_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565       ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574   fi
31575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31577
31578   if test x$glibcxx_cv_func_logf_use = x"yes"; then
31579     for ac_func in logf
31580 do :
31581   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31582 if test "x$ac_cv_func_logf" = x""yes; then :
31583   cat >>confdefs.h <<_ACEOF
31584 #define HAVE_LOGF 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590   else
31591
31592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31593 $as_echo_n "checking for _logf declaration... " >&6; }
31594   if test x${glibcxx_cv_func__logf_use+set} != xset; then
31595     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31596   $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600       ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h.  */
31608 #include <math.h>
31609                       #ifdef HAVE_IEEEFP_H
31610                       #include <ieeefp.h>
31611                       #endif
31612
31613 int
31614 main ()
31615 {
31616  _logf(0);
31617   ;
31618   return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622   glibcxx_cv_func__logf_use=yes
31623 else
31624   glibcxx_cv_func__logf_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627       ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636   fi
31637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31639
31640     if test x$glibcxx_cv_func__logf_use = x"yes"; then
31641       for ac_func in _logf
31642 do :
31643   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31644 if test "x$ac_cv_func__logf" = x""yes; then :
31645   cat >>confdefs.h <<_ACEOF
31646 #define HAVE__LOGF 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652     fi
31653   fi
31654
31655
31656
31657
31658
31659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31660 $as_echo_n "checking for log10f declaration... " >&6; }
31661   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31662     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31663   $as_echo_n "(cached) " >&6
31664 else
31665
31666
31667       ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h.  */
31675 #include <math.h>
31676                       #ifdef HAVE_IEEEFP_H
31677                       #include <ieeefp.h>
31678                       #endif
31679
31680 int
31681 main ()
31682 {
31683  log10f(0);
31684   ;
31685   return 0;
31686 }
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689   glibcxx_cv_func_log10f_use=yes
31690 else
31691   glibcxx_cv_func_log10f_use=no
31692 fi
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694       ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31699
31700
31701 fi
31702
31703   fi
31704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31706
31707   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31708     for ac_func in log10f
31709 do :
31710   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31711 if test "x$ac_cv_func_log10f" = x""yes; then :
31712   cat >>confdefs.h <<_ACEOF
31713 #define HAVE_LOG10F 1
31714 _ACEOF
31715
31716 fi
31717 done
31718
31719   else
31720
31721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31722 $as_echo_n "checking for _log10f declaration... " >&6; }
31723   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31724     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31725   $as_echo_n "(cached) " >&6
31726 else
31727
31728
31729       ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734
31735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h.  */
31737 #include <math.h>
31738                       #ifdef HAVE_IEEEFP_H
31739                       #include <ieeefp.h>
31740                       #endif
31741
31742 int
31743 main ()
31744 {
31745  _log10f(0);
31746   ;
31747   return 0;
31748 }
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751   glibcxx_cv_func__log10f_use=yes
31752 else
31753   glibcxx_cv_func__log10f_use=no
31754 fi
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756       ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31761
31762
31763 fi
31764
31765   fi
31766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31768
31769     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31770       for ac_func in _log10f
31771 do :
31772   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31773 if test "x$ac_cv_func__log10f" = x""yes; then :
31774   cat >>confdefs.h <<_ACEOF
31775 #define HAVE__LOG10F 1
31776 _ACEOF
31777
31778 fi
31779 done
31780
31781     fi
31782   fi
31783
31784
31785
31786
31787
31788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31789 $as_echo_n "checking for modff declaration... " >&6; }
31790   if test x${glibcxx_cv_func_modff_use+set} != xset; then
31791     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31792   $as_echo_n "(cached) " >&6
31793 else
31794
31795
31796       ac_ext=cpp
31797 ac_cpp='$CXXCPP $CPPFLAGS'
31798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31801
31802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h.  */
31804 #include <math.h>
31805 int
31806 main ()
31807 {
31808  modff(0, 0);
31809   ;
31810   return 0;
31811 }
31812 _ACEOF
31813 if ac_fn_cxx_try_compile "$LINENO"; then :
31814   glibcxx_cv_func_modff_use=yes
31815 else
31816   glibcxx_cv_func_modff_use=no
31817 fi
31818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31819       ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31824
31825
31826 fi
31827
31828   fi
31829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31831
31832   if test x$glibcxx_cv_func_modff_use = x"yes"; then
31833     for ac_func in modff
31834 do :
31835   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31836 if test "x$ac_cv_func_modff" = x""yes; then :
31837   cat >>confdefs.h <<_ACEOF
31838 #define HAVE_MODFF 1
31839 _ACEOF
31840
31841 fi
31842 done
31843
31844   else
31845
31846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31847 $as_echo_n "checking for _modff declaration... " >&6; }
31848   if test x${glibcxx_cv_func__modff_use+set} != xset; then
31849     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31850   $as_echo_n "(cached) " >&6
31851 else
31852
31853
31854       ac_ext=cpp
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859
31860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31861 /* end confdefs.h.  */
31862 #include <math.h>
31863 int
31864 main ()
31865 {
31866  _modff(0, 0);
31867   ;
31868   return 0;
31869 }
31870 _ACEOF
31871 if ac_fn_cxx_try_compile "$LINENO"; then :
31872   glibcxx_cv_func__modff_use=yes
31873 else
31874   glibcxx_cv_func__modff_use=no
31875 fi
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877       ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31882
31883
31884 fi
31885
31886   fi
31887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31889
31890     if test x$glibcxx_cv_func__modff_use = x"yes"; then
31891       for ac_func in _modff
31892 do :
31893   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31894 if test "x$ac_cv_func__modff" = x""yes; then :
31895   cat >>confdefs.h <<_ACEOF
31896 #define HAVE__MODFF 1
31897 _ACEOF
31898
31899 fi
31900 done
31901
31902     fi
31903   fi
31904
31905
31906
31907
31908
31909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31910 $as_echo_n "checking for modf declaration... " >&6; }
31911   if test x${glibcxx_cv_func_modf_use+set} != xset; then
31912     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31913   $as_echo_n "(cached) " >&6
31914 else
31915
31916
31917       ac_ext=cpp
31918 ac_cpp='$CXXCPP $CPPFLAGS'
31919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922
31923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31924 /* end confdefs.h.  */
31925 #include <math.h>
31926 int
31927 main ()
31928 {
31929  modf(0, 0);
31930   ;
31931   return 0;
31932 }
31933 _ACEOF
31934 if ac_fn_cxx_try_compile "$LINENO"; then :
31935   glibcxx_cv_func_modf_use=yes
31936 else
31937   glibcxx_cv_func_modf_use=no
31938 fi
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940       ac_ext=c
31941 ac_cpp='$CPP $CPPFLAGS'
31942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31945
31946
31947 fi
31948
31949   fi
31950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31952
31953   if test x$glibcxx_cv_func_modf_use = x"yes"; then
31954     for ac_func in modf
31955 do :
31956   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31957 if test "x$ac_cv_func_modf" = x""yes; then :
31958   cat >>confdefs.h <<_ACEOF
31959 #define HAVE_MODF 1
31960 _ACEOF
31961
31962 fi
31963 done
31964
31965   else
31966
31967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31968 $as_echo_n "checking for _modf declaration... " >&6; }
31969   if test x${glibcxx_cv_func__modf_use+set} != xset; then
31970     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31971   $as_echo_n "(cached) " >&6
31972 else
31973
31974
31975       ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980
31981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h.  */
31983 #include <math.h>
31984 int
31985 main ()
31986 {
31987  _modf(0, 0);
31988   ;
31989   return 0;
31990 }
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993   glibcxx_cv_func__modf_use=yes
31994 else
31995   glibcxx_cv_func__modf_use=no
31996 fi
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998       ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32003
32004
32005 fi
32006
32007   fi
32008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32010
32011     if test x$glibcxx_cv_func__modf_use = x"yes"; then
32012       for ac_func in _modf
32013 do :
32014   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32015 if test "x$ac_cv_func__modf" = x""yes; then :
32016   cat >>confdefs.h <<_ACEOF
32017 #define HAVE__MODF 1
32018 _ACEOF
32019
32020 fi
32021 done
32022
32023     fi
32024   fi
32025
32026
32027
32028
32029
32030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32031 $as_echo_n "checking for powf declaration... " >&6; }
32032   if test x${glibcxx_cv_func_powf_use+set} != xset; then
32033     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32034   $as_echo_n "(cached) " >&6
32035 else
32036
32037
32038       ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043
32044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h.  */
32046 #include <math.h>
32047 int
32048 main ()
32049 {
32050  powf(0, 0);
32051   ;
32052   return 0;
32053 }
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056   glibcxx_cv_func_powf_use=yes
32057 else
32058   glibcxx_cv_func_powf_use=no
32059 fi
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061       ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32066
32067
32068 fi
32069
32070   fi
32071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32073
32074   if test x$glibcxx_cv_func_powf_use = x"yes"; then
32075     for ac_func in powf
32076 do :
32077   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32078 if test "x$ac_cv_func_powf" = x""yes; then :
32079   cat >>confdefs.h <<_ACEOF
32080 #define HAVE_POWF 1
32081 _ACEOF
32082
32083 fi
32084 done
32085
32086   else
32087
32088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32089 $as_echo_n "checking for _powf declaration... " >&6; }
32090   if test x${glibcxx_cv_func__powf_use+set} != xset; then
32091     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32092   $as_echo_n "(cached) " >&6
32093 else
32094
32095
32096       ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h.  */
32104 #include <math.h>
32105 int
32106 main ()
32107 {
32108  _powf(0, 0);
32109   ;
32110   return 0;
32111 }
32112 _ACEOF
32113 if ac_fn_cxx_try_compile "$LINENO"; then :
32114   glibcxx_cv_func__powf_use=yes
32115 else
32116   glibcxx_cv_func__powf_use=no
32117 fi
32118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32119       ac_ext=c
32120 ac_cpp='$CPP $CPPFLAGS'
32121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32124
32125
32126 fi
32127
32128   fi
32129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32131
32132     if test x$glibcxx_cv_func__powf_use = x"yes"; then
32133       for ac_func in _powf
32134 do :
32135   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32136 if test "x$ac_cv_func__powf" = x""yes; then :
32137   cat >>confdefs.h <<_ACEOF
32138 #define HAVE__POWF 1
32139 _ACEOF
32140
32141 fi
32142 done
32143
32144     fi
32145   fi
32146
32147
32148
32149
32150
32151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32152 $as_echo_n "checking for sqrtf declaration... " >&6; }
32153   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32154     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32155   $as_echo_n "(cached) " >&6
32156 else
32157
32158
32159       ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164
32165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h.  */
32167 #include <math.h>
32168                       #ifdef HAVE_IEEEFP_H
32169                       #include <ieeefp.h>
32170                       #endif
32171
32172 int
32173 main ()
32174 {
32175  sqrtf(0);
32176   ;
32177   return 0;
32178 }
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181   glibcxx_cv_func_sqrtf_use=yes
32182 else
32183   glibcxx_cv_func_sqrtf_use=no
32184 fi
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186       ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32191
32192
32193 fi
32194
32195   fi
32196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32198
32199   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32200     for ac_func in sqrtf
32201 do :
32202   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32204   cat >>confdefs.h <<_ACEOF
32205 #define HAVE_SQRTF 1
32206 _ACEOF
32207
32208 fi
32209 done
32210
32211   else
32212
32213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32215   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32216     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32217   $as_echo_n "(cached) " >&6
32218 else
32219
32220
32221       ac_ext=cpp
32222 ac_cpp='$CXXCPP $CPPFLAGS'
32223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226
32227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32228 /* end confdefs.h.  */
32229 #include <math.h>
32230                       #ifdef HAVE_IEEEFP_H
32231                       #include <ieeefp.h>
32232                       #endif
32233
32234 int
32235 main ()
32236 {
32237  _sqrtf(0);
32238   ;
32239   return 0;
32240 }
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243   glibcxx_cv_func__sqrtf_use=yes
32244 else
32245   glibcxx_cv_func__sqrtf_use=no
32246 fi
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248       ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32253
32254
32255 fi
32256
32257   fi
32258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32260
32261     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32262       for ac_func in _sqrtf
32263 do :
32264   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32266   cat >>confdefs.h <<_ACEOF
32267 #define HAVE__SQRTF 1
32268 _ACEOF
32269
32270 fi
32271 done
32272
32273     fi
32274   fi
32275
32276
32277
32278
32279
32280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32281 $as_echo_n "checking for sincosf declaration... " >&6; }
32282   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32283     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32284   $as_echo_n "(cached) " >&6
32285 else
32286
32287
32288       ac_ext=cpp
32289 ac_cpp='$CXXCPP $CPPFLAGS'
32290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293
32294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32295 /* end confdefs.h.  */
32296 #include <math.h>
32297 int
32298 main ()
32299 {
32300  sincosf(0, 0, 0);
32301   ;
32302   return 0;
32303 }
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306   glibcxx_cv_func_sincosf_use=yes
32307 else
32308   glibcxx_cv_func_sincosf_use=no
32309 fi
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311       ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32316
32317
32318 fi
32319
32320   fi
32321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32323
32324   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32325     for ac_func in sincosf
32326 do :
32327   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32328 if test "x$ac_cv_func_sincosf" = x""yes; then :
32329   cat >>confdefs.h <<_ACEOF
32330 #define HAVE_SINCOSF 1
32331 _ACEOF
32332
32333 fi
32334 done
32335
32336   else
32337
32338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32339 $as_echo_n "checking for _sincosf declaration... " >&6; }
32340   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32341     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32342   $as_echo_n "(cached) " >&6
32343 else
32344
32345
32346       ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32351
32352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h.  */
32354 #include <math.h>
32355 int
32356 main ()
32357 {
32358  _sincosf(0, 0, 0);
32359   ;
32360   return 0;
32361 }
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364   glibcxx_cv_func__sincosf_use=yes
32365 else
32366   glibcxx_cv_func__sincosf_use=no
32367 fi
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369       ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374
32375
32376 fi
32377
32378   fi
32379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32381
32382     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32383       for ac_func in _sincosf
32384 do :
32385   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32386 if test "x$ac_cv_func__sincosf" = x""yes; then :
32387   cat >>confdefs.h <<_ACEOF
32388 #define HAVE__SINCOSF 1
32389 _ACEOF
32390
32391 fi
32392 done
32393
32394     fi
32395   fi
32396
32397
32398
32399
32400
32401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32402 $as_echo_n "checking for finitef declaration... " >&6; }
32403   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32404     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32405   $as_echo_n "(cached) " >&6
32406 else
32407
32408
32409       ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414
32415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h.  */
32417 #include <math.h>
32418                       #ifdef HAVE_IEEEFP_H
32419                       #include <ieeefp.h>
32420                       #endif
32421
32422 int
32423 main ()
32424 {
32425  finitef(0);
32426   ;
32427   return 0;
32428 }
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431   glibcxx_cv_func_finitef_use=yes
32432 else
32433   glibcxx_cv_func_finitef_use=no
32434 fi
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436       ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441
32442
32443 fi
32444
32445   fi
32446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32448
32449   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32450     for ac_func in finitef
32451 do :
32452   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32453 if test "x$ac_cv_func_finitef" = x""yes; then :
32454   cat >>confdefs.h <<_ACEOF
32455 #define HAVE_FINITEF 1
32456 _ACEOF
32457
32458 fi
32459 done
32460
32461   else
32462
32463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32464 $as_echo_n "checking for _finitef declaration... " >&6; }
32465   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32466     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32467   $as_echo_n "(cached) " >&6
32468 else
32469
32470
32471       ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32476
32477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h.  */
32479 #include <math.h>
32480                       #ifdef HAVE_IEEEFP_H
32481                       #include <ieeefp.h>
32482                       #endif
32483
32484 int
32485 main ()
32486 {
32487  _finitef(0);
32488   ;
32489   return 0;
32490 }
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493   glibcxx_cv_func__finitef_use=yes
32494 else
32495   glibcxx_cv_func__finitef_use=no
32496 fi
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498       ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32503
32504
32505 fi
32506
32507   fi
32508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32510
32511     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32512       for ac_func in _finitef
32513 do :
32514   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32515 if test "x$ac_cv_func__finitef" = x""yes; then :
32516   cat >>confdefs.h <<_ACEOF
32517 #define HAVE__FINITEF 1
32518 _ACEOF
32519
32520 fi
32521 done
32522
32523     fi
32524   fi
32525
32526
32527
32528
32529
32530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32531 $as_echo_n "checking for long double trig functions... " >&6; }
32532   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32533   $as_echo_n "(cached) " >&6
32534 else
32535
32536
32537     ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542
32543     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h.  */
32545 #include <math.h>
32546 int
32547 main ()
32548 {
32549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32550   ;
32551   return 0;
32552 }
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555   glibcxx_cv_func_long_double_trig_use=yes
32556 else
32557   glibcxx_cv_func_long_double_trig_use=no
32558 fi
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560     ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32565
32566 fi
32567
32568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32570   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32571     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32572 do :
32573   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32575 eval as_val=\$$as_ac_var
32576    if test "x$as_val" = x""yes; then :
32577   cat >>confdefs.h <<_ACEOF
32578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32579 _ACEOF
32580
32581 fi
32582 done
32583
32584   else
32585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32586 $as_echo_n "checking for _long double trig functions... " >&6; }
32587     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32588   $as_echo_n "(cached) " >&6
32589 else
32590
32591
32592       ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597
32598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h.  */
32600 #include <math.h>
32601 int
32602 main ()
32603 {
32604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32605   ;
32606   return 0;
32607 }
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610   glibcxx_cv_func__long_double_trig_use=yes
32611 else
32612   glibcxx_cv_func__long_double_trig_use=no
32613 fi
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615       ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620
32621 fi
32622
32623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32625     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32626       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32627 do :
32628   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32630 eval as_val=\$$as_ac_var
32631    if test "x$as_val" = x""yes; then :
32632   cat >>confdefs.h <<_ACEOF
32633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32634 _ACEOF
32635
32636 fi
32637 done
32638
32639     fi
32640   fi
32641
32642
32643
32644
32645
32646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32647 $as_echo_n "checking for long double round functions... " >&6; }
32648   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32649   $as_echo_n "(cached) " >&6
32650 else
32651
32652
32653     ac_ext=cpp
32654 ac_cpp='$CXXCPP $CPPFLAGS'
32655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658
32659     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32660 /* end confdefs.h.  */
32661 #include <math.h>
32662 int
32663 main ()
32664 {
32665 ceill (0); floorl (0);
32666   ;
32667   return 0;
32668 }
32669 _ACEOF
32670 if ac_fn_cxx_try_compile "$LINENO"; then :
32671   glibcxx_cv_func_long_double_round_use=yes
32672 else
32673   glibcxx_cv_func_long_double_round_use=no
32674 fi
32675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676     ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32681
32682 fi
32683
32684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32686   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32687     for ac_func in ceill floorl
32688 do :
32689   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32691 eval as_val=\$$as_ac_var
32692    if test "x$as_val" = x""yes; then :
32693   cat >>confdefs.h <<_ACEOF
32694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32695 _ACEOF
32696
32697 fi
32698 done
32699
32700   else
32701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32702 $as_echo_n "checking for _long double round functions... " >&6; }
32703     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32704   $as_echo_n "(cached) " >&6
32705 else
32706
32707
32708       ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713
32714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h.  */
32716 #include <math.h>
32717 int
32718 main ()
32719 {
32720 _ceill (0); _floorl (0);
32721   ;
32722   return 0;
32723 }
32724 _ACEOF
32725 if ac_fn_cxx_try_compile "$LINENO"; then :
32726   glibcxx_cv_func__long_double_round_use=yes
32727 else
32728   glibcxx_cv_func__long_double_round_use=no
32729 fi
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731       ac_ext=c
32732 ac_cpp='$CPP $CPPFLAGS'
32733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32736
32737 fi
32738
32739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32741     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32742       for ac_func in _ceill _floorl
32743 do :
32744   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32746 eval as_val=\$$as_ac_var
32747    if test "x$as_val" = x""yes; then :
32748   cat >>confdefs.h <<_ACEOF
32749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32750 _ACEOF
32751
32752 fi
32753 done
32754
32755     fi
32756   fi
32757
32758
32759
32760
32761
32762
32763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32764 $as_echo_n "checking for isnanl declaration... " >&6; }
32765   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32766     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32767   $as_echo_n "(cached) " >&6
32768 else
32769
32770
32771       ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32776
32777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h.  */
32779 #include <math.h>
32780                       #ifdef HAVE_IEEEFP_H
32781                       #include <ieeefp.h>
32782                       #endif
32783
32784 int
32785 main ()
32786 {
32787  isnanl(0);
32788   ;
32789   return 0;
32790 }
32791 _ACEOF
32792 if ac_fn_cxx_try_compile "$LINENO"; then :
32793   glibcxx_cv_func_isnanl_use=yes
32794 else
32795   glibcxx_cv_func_isnanl_use=no
32796 fi
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798       ac_ext=c
32799 ac_cpp='$CPP $CPPFLAGS'
32800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32803
32804
32805 fi
32806
32807   fi
32808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32810
32811   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32812     for ac_func in isnanl
32813 do :
32814   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32815 if test "x$ac_cv_func_isnanl" = x""yes; then :
32816   cat >>confdefs.h <<_ACEOF
32817 #define HAVE_ISNANL 1
32818 _ACEOF
32819
32820 fi
32821 done
32822
32823   else
32824
32825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32826 $as_echo_n "checking for _isnanl declaration... " >&6; }
32827   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32828     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32829   $as_echo_n "(cached) " >&6
32830 else
32831
32832
32833       ac_ext=cpp
32834 ac_cpp='$CXXCPP $CPPFLAGS'
32835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32838
32839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h.  */
32841 #include <math.h>
32842                       #ifdef HAVE_IEEEFP_H
32843                       #include <ieeefp.h>
32844                       #endif
32845
32846 int
32847 main ()
32848 {
32849  _isnanl(0);
32850   ;
32851   return 0;
32852 }
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855   glibcxx_cv_func__isnanl_use=yes
32856 else
32857   glibcxx_cv_func__isnanl_use=no
32858 fi
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860       ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869   fi
32870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32872
32873     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32874       for ac_func in _isnanl
32875 do :
32876   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32877 if test "x$ac_cv_func__isnanl" = x""yes; then :
32878   cat >>confdefs.h <<_ACEOF
32879 #define HAVE__ISNANL 1
32880 _ACEOF
32881
32882 fi
32883 done
32884
32885     fi
32886   fi
32887
32888
32889
32890
32891
32892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32893 $as_echo_n "checking for isinfl declaration... " >&6; }
32894   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32895     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32896   $as_echo_n "(cached) " >&6
32897 else
32898
32899
32900       ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905
32906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h.  */
32908 #include <math.h>
32909                       #ifdef HAVE_IEEEFP_H
32910                       #include <ieeefp.h>
32911                       #endif
32912
32913 int
32914 main ()
32915 {
32916  isinfl(0);
32917   ;
32918   return 0;
32919 }
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922   glibcxx_cv_func_isinfl_use=yes
32923 else
32924   glibcxx_cv_func_isinfl_use=no
32925 fi
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927       ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932
32933
32934 fi
32935
32936   fi
32937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32939
32940   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32941     for ac_func in isinfl
32942 do :
32943   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32944 if test "x$ac_cv_func_isinfl" = x""yes; then :
32945   cat >>confdefs.h <<_ACEOF
32946 #define HAVE_ISINFL 1
32947 _ACEOF
32948
32949 fi
32950 done
32951
32952   else
32953
32954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32955 $as_echo_n "checking for _isinfl declaration... " >&6; }
32956   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32957     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32958   $as_echo_n "(cached) " >&6
32959 else
32960
32961
32962       ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967
32968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h.  */
32970 #include <math.h>
32971                       #ifdef HAVE_IEEEFP_H
32972                       #include <ieeefp.h>
32973                       #endif
32974
32975 int
32976 main ()
32977 {
32978  _isinfl(0);
32979   ;
32980   return 0;
32981 }
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984   glibcxx_cv_func__isinfl_use=yes
32985 else
32986   glibcxx_cv_func__isinfl_use=no
32987 fi
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989       ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994
32995
32996 fi
32997
32998   fi
32999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33001
33002     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33003       for ac_func in _isinfl
33004 do :
33005   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33006 if test "x$ac_cv_func__isinfl" = x""yes; then :
33007   cat >>confdefs.h <<_ACEOF
33008 #define HAVE__ISINFL 1
33009 _ACEOF
33010
33011 fi
33012 done
33013
33014     fi
33015   fi
33016
33017
33018
33019
33020
33021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33022 $as_echo_n "checking for atan2l declaration... " >&6; }
33023   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33024     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33025   $as_echo_n "(cached) " >&6
33026 else
33027
33028
33029       ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034
33035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h.  */
33037 #include <math.h>
33038 int
33039 main ()
33040 {
33041  atan2l(0, 0);
33042   ;
33043   return 0;
33044 }
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047   glibcxx_cv_func_atan2l_use=yes
33048 else
33049   glibcxx_cv_func_atan2l_use=no
33050 fi
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052       ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33057
33058
33059 fi
33060
33061   fi
33062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33064
33065   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33066     for ac_func in atan2l
33067 do :
33068   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33069 if test "x$ac_cv_func_atan2l" = x""yes; then :
33070   cat >>confdefs.h <<_ACEOF
33071 #define HAVE_ATAN2L 1
33072 _ACEOF
33073
33074 fi
33075 done
33076
33077   else
33078
33079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33080 $as_echo_n "checking for _atan2l declaration... " >&6; }
33081   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33082     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33083   $as_echo_n "(cached) " >&6
33084 else
33085
33086
33087       ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092
33093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h.  */
33095 #include <math.h>
33096 int
33097 main ()
33098 {
33099  _atan2l(0, 0);
33100   ;
33101   return 0;
33102 }
33103 _ACEOF
33104 if ac_fn_cxx_try_compile "$LINENO"; then :
33105   glibcxx_cv_func__atan2l_use=yes
33106 else
33107   glibcxx_cv_func__atan2l_use=no
33108 fi
33109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33110       ac_ext=c
33111 ac_cpp='$CPP $CPPFLAGS'
33112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33115
33116
33117 fi
33118
33119   fi
33120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33122
33123     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33124       for ac_func in _atan2l
33125 do :
33126   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33127 if test "x$ac_cv_func__atan2l" = x""yes; then :
33128   cat >>confdefs.h <<_ACEOF
33129 #define HAVE__ATAN2L 1
33130 _ACEOF
33131
33132 fi
33133 done
33134
33135     fi
33136   fi
33137
33138
33139
33140
33141
33142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33143 $as_echo_n "checking for expl declaration... " >&6; }
33144   if test x${glibcxx_cv_func_expl_use+set} != xset; then
33145     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33146   $as_echo_n "(cached) " >&6
33147 else
33148
33149
33150       ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155
33156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h.  */
33158 #include <math.h>
33159                       #ifdef HAVE_IEEEFP_H
33160                       #include <ieeefp.h>
33161                       #endif
33162
33163 int
33164 main ()
33165 {
33166  expl(0);
33167   ;
33168   return 0;
33169 }
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172   glibcxx_cv_func_expl_use=yes
33173 else
33174   glibcxx_cv_func_expl_use=no
33175 fi
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177       ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33182
33183
33184 fi
33185
33186   fi
33187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33189
33190   if test x$glibcxx_cv_func_expl_use = x"yes"; then
33191     for ac_func in expl
33192 do :
33193   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33194 if test "x$ac_cv_func_expl" = x""yes; then :
33195   cat >>confdefs.h <<_ACEOF
33196 #define HAVE_EXPL 1
33197 _ACEOF
33198
33199 fi
33200 done
33201
33202   else
33203
33204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33205 $as_echo_n "checking for _expl declaration... " >&6; }
33206   if test x${glibcxx_cv_func__expl_use+set} != xset; then
33207     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33208   $as_echo_n "(cached) " >&6
33209 else
33210
33211
33212       ac_ext=cpp
33213 ac_cpp='$CXXCPP $CPPFLAGS'
33214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217
33218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33219 /* end confdefs.h.  */
33220 #include <math.h>
33221                       #ifdef HAVE_IEEEFP_H
33222                       #include <ieeefp.h>
33223                       #endif
33224
33225 int
33226 main ()
33227 {
33228  _expl(0);
33229   ;
33230   return 0;
33231 }
33232 _ACEOF
33233 if ac_fn_cxx_try_compile "$LINENO"; then :
33234   glibcxx_cv_func__expl_use=yes
33235 else
33236   glibcxx_cv_func__expl_use=no
33237 fi
33238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33239       ac_ext=c
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244
33245
33246 fi
33247
33248   fi
33249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33251
33252     if test x$glibcxx_cv_func__expl_use = x"yes"; then
33253       for ac_func in _expl
33254 do :
33255   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33256 if test "x$ac_cv_func__expl" = x""yes; then :
33257   cat >>confdefs.h <<_ACEOF
33258 #define HAVE__EXPL 1
33259 _ACEOF
33260
33261 fi
33262 done
33263
33264     fi
33265   fi
33266
33267
33268
33269
33270
33271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33272 $as_echo_n "checking for fabsl declaration... " >&6; }
33273   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33274     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33275   $as_echo_n "(cached) " >&6
33276 else
33277
33278
33279       ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33284
33285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h.  */
33287 #include <math.h>
33288                       #ifdef HAVE_IEEEFP_H
33289                       #include <ieeefp.h>
33290                       #endif
33291
33292 int
33293 main ()
33294 {
33295  fabsl(0);
33296   ;
33297   return 0;
33298 }
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301   glibcxx_cv_func_fabsl_use=yes
33302 else
33303   glibcxx_cv_func_fabsl_use=no
33304 fi
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306       ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33311
33312
33313 fi
33314
33315   fi
33316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33318
33319   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33320     for ac_func in fabsl
33321 do :
33322   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33323 if test "x$ac_cv_func_fabsl" = x""yes; then :
33324   cat >>confdefs.h <<_ACEOF
33325 #define HAVE_FABSL 1
33326 _ACEOF
33327
33328 fi
33329 done
33330
33331   else
33332
33333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33334 $as_echo_n "checking for _fabsl declaration... " >&6; }
33335   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33336     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33337   $as_echo_n "(cached) " >&6
33338 else
33339
33340
33341       ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33346
33347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h.  */
33349 #include <math.h>
33350                       #ifdef HAVE_IEEEFP_H
33351                       #include <ieeefp.h>
33352                       #endif
33353
33354 int
33355 main ()
33356 {
33357  _fabsl(0);
33358   ;
33359   return 0;
33360 }
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363   glibcxx_cv_func__fabsl_use=yes
33364 else
33365   glibcxx_cv_func__fabsl_use=no
33366 fi
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368       ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33373
33374
33375 fi
33376
33377   fi
33378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33380
33381     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33382       for ac_func in _fabsl
33383 do :
33384   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33385 if test "x$ac_cv_func__fabsl" = x""yes; then :
33386   cat >>confdefs.h <<_ACEOF
33387 #define HAVE__FABSL 1
33388 _ACEOF
33389
33390 fi
33391 done
33392
33393     fi
33394   fi
33395
33396
33397
33398
33399
33400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33401 $as_echo_n "checking for fmodl declaration... " >&6; }
33402   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33403     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33404   $as_echo_n "(cached) " >&6
33405 else
33406
33407
33408       ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413
33414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h.  */
33416 #include <math.h>
33417 int
33418 main ()
33419 {
33420  fmodl(0, 0);
33421   ;
33422   return 0;
33423 }
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426   glibcxx_cv_func_fmodl_use=yes
33427 else
33428   glibcxx_cv_func_fmodl_use=no
33429 fi
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431       ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33436
33437
33438 fi
33439
33440   fi
33441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33443
33444   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33445     for ac_func in fmodl
33446 do :
33447   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33448 if test "x$ac_cv_func_fmodl" = x""yes; then :
33449   cat >>confdefs.h <<_ACEOF
33450 #define HAVE_FMODL 1
33451 _ACEOF
33452
33453 fi
33454 done
33455
33456   else
33457
33458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33459 $as_echo_n "checking for _fmodl declaration... " >&6; }
33460   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33461     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33462   $as_echo_n "(cached) " >&6
33463 else
33464
33465
33466       ac_ext=cpp
33467 ac_cpp='$CXXCPP $CPPFLAGS'
33468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33471
33472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33473 /* end confdefs.h.  */
33474 #include <math.h>
33475 int
33476 main ()
33477 {
33478  _fmodl(0, 0);
33479   ;
33480   return 0;
33481 }
33482 _ACEOF
33483 if ac_fn_cxx_try_compile "$LINENO"; then :
33484   glibcxx_cv_func__fmodl_use=yes
33485 else
33486   glibcxx_cv_func__fmodl_use=no
33487 fi
33488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33489       ac_ext=c
33490 ac_cpp='$CPP $CPPFLAGS'
33491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494
33495
33496 fi
33497
33498   fi
33499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33501
33502     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33503       for ac_func in _fmodl
33504 do :
33505   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33506 if test "x$ac_cv_func__fmodl" = x""yes; then :
33507   cat >>confdefs.h <<_ACEOF
33508 #define HAVE__FMODL 1
33509 _ACEOF
33510
33511 fi
33512 done
33513
33514     fi
33515   fi
33516
33517
33518
33519
33520
33521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33522 $as_echo_n "checking for frexpl declaration... " >&6; }
33523   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33524     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33525   $as_echo_n "(cached) " >&6
33526 else
33527
33528
33529       ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33534
33535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33536 /* end confdefs.h.  */
33537 #include <math.h>
33538 int
33539 main ()
33540 {
33541  frexpl(0, 0);
33542   ;
33543   return 0;
33544 }
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547   glibcxx_cv_func_frexpl_use=yes
33548 else
33549   glibcxx_cv_func_frexpl_use=no
33550 fi
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552       ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33557
33558
33559 fi
33560
33561   fi
33562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33564
33565   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33566     for ac_func in frexpl
33567 do :
33568   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33569 if test "x$ac_cv_func_frexpl" = x""yes; then :
33570   cat >>confdefs.h <<_ACEOF
33571 #define HAVE_FREXPL 1
33572 _ACEOF
33573
33574 fi
33575 done
33576
33577   else
33578
33579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33580 $as_echo_n "checking for _frexpl declaration... " >&6; }
33581   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33582     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33583   $as_echo_n "(cached) " >&6
33584 else
33585
33586
33587       ac_ext=cpp
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592
33593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h.  */
33595 #include <math.h>
33596 int
33597 main ()
33598 {
33599  _frexpl(0, 0);
33600   ;
33601   return 0;
33602 }
33603 _ACEOF
33604 if ac_fn_cxx_try_compile "$LINENO"; then :
33605   glibcxx_cv_func__frexpl_use=yes
33606 else
33607   glibcxx_cv_func__frexpl_use=no
33608 fi
33609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33610       ac_ext=c
33611 ac_cpp='$CPP $CPPFLAGS'
33612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33615
33616
33617 fi
33618
33619   fi
33620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33622
33623     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33624       for ac_func in _frexpl
33625 do :
33626   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33627 if test "x$ac_cv_func__frexpl" = x""yes; then :
33628   cat >>confdefs.h <<_ACEOF
33629 #define HAVE__FREXPL 1
33630 _ACEOF
33631
33632 fi
33633 done
33634
33635     fi
33636   fi
33637
33638
33639
33640
33641
33642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33643 $as_echo_n "checking for hypotl declaration... " >&6; }
33644   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33645     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33646   $as_echo_n "(cached) " >&6
33647 else
33648
33649
33650       ac_ext=cpp
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655
33656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h.  */
33658 #include <math.h>
33659 int
33660 main ()
33661 {
33662  hypotl(0, 0);
33663   ;
33664   return 0;
33665 }
33666 _ACEOF
33667 if ac_fn_cxx_try_compile "$LINENO"; then :
33668   glibcxx_cv_func_hypotl_use=yes
33669 else
33670   glibcxx_cv_func_hypotl_use=no
33671 fi
33672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673       ac_ext=c
33674 ac_cpp='$CPP $CPPFLAGS'
33675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33678
33679
33680 fi
33681
33682   fi
33683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33685
33686   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33687     for ac_func in hypotl
33688 do :
33689   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33690 if test "x$ac_cv_func_hypotl" = x""yes; then :
33691   cat >>confdefs.h <<_ACEOF
33692 #define HAVE_HYPOTL 1
33693 _ACEOF
33694
33695 fi
33696 done
33697
33698   else
33699
33700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33701 $as_echo_n "checking for _hypotl declaration... " >&6; }
33702   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33703     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33704   $as_echo_n "(cached) " >&6
33705 else
33706
33707
33708       ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713
33714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33715 /* end confdefs.h.  */
33716 #include <math.h>
33717 int
33718 main ()
33719 {
33720  _hypotl(0, 0);
33721   ;
33722   return 0;
33723 }
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726   glibcxx_cv_func__hypotl_use=yes
33727 else
33728   glibcxx_cv_func__hypotl_use=no
33729 fi
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731       ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736
33737
33738 fi
33739
33740   fi
33741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33743
33744     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33745       for ac_func in _hypotl
33746 do :
33747   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33748 if test "x$ac_cv_func__hypotl" = x""yes; then :
33749   cat >>confdefs.h <<_ACEOF
33750 #define HAVE__HYPOTL 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756     fi
33757   fi
33758
33759
33760
33761
33762
33763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33764 $as_echo_n "checking for ldexpl declaration... " >&6; }
33765   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33766     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33767   $as_echo_n "(cached) " >&6
33768 else
33769
33770
33771       ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776
33777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h.  */
33779 #include <math.h>
33780 int
33781 main ()
33782 {
33783  ldexpl(0, 0);
33784   ;
33785   return 0;
33786 }
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789   glibcxx_cv_func_ldexpl_use=yes
33790 else
33791   glibcxx_cv_func_ldexpl_use=no
33792 fi
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794       ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33799
33800
33801 fi
33802
33803   fi
33804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33806
33807   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33808     for ac_func in ldexpl
33809 do :
33810   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33812   cat >>confdefs.h <<_ACEOF
33813 #define HAVE_LDEXPL 1
33814 _ACEOF
33815
33816 fi
33817 done
33818
33819   else
33820
33821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33823   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33824     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33825   $as_echo_n "(cached) " >&6
33826 else
33827
33828
33829       ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834
33835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h.  */
33837 #include <math.h>
33838 int
33839 main ()
33840 {
33841  _ldexpl(0, 0);
33842   ;
33843   return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847   glibcxx_cv_func__ldexpl_use=yes
33848 else
33849   glibcxx_cv_func__ldexpl_use=no
33850 fi
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852       ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857
33858
33859 fi
33860
33861   fi
33862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33864
33865     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33866       for ac_func in _ldexpl
33867 do :
33868   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33870   cat >>confdefs.h <<_ACEOF
33871 #define HAVE__LDEXPL 1
33872 _ACEOF
33873
33874 fi
33875 done
33876
33877     fi
33878   fi
33879
33880
33881
33882
33883
33884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33885 $as_echo_n "checking for logl declaration... " >&6; }
33886   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33887     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33888   $as_echo_n "(cached) " >&6
33889 else
33890
33891
33892       ac_ext=cpp
33893 ac_cpp='$CXXCPP $CPPFLAGS'
33894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897
33898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33899 /* end confdefs.h.  */
33900 #include <math.h>
33901                       #ifdef HAVE_IEEEFP_H
33902                       #include <ieeefp.h>
33903                       #endif
33904
33905 int
33906 main ()
33907 {
33908  logl(0);
33909   ;
33910   return 0;
33911 }
33912 _ACEOF
33913 if ac_fn_cxx_try_compile "$LINENO"; then :
33914   glibcxx_cv_func_logl_use=yes
33915 else
33916   glibcxx_cv_func_logl_use=no
33917 fi
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919       ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924
33925
33926 fi
33927
33928   fi
33929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33931
33932   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33933     for ac_func in logl
33934 do :
33935   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33936 if test "x$ac_cv_func_logl" = x""yes; then :
33937   cat >>confdefs.h <<_ACEOF
33938 #define HAVE_LOGL 1
33939 _ACEOF
33940
33941 fi
33942 done
33943
33944   else
33945
33946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33947 $as_echo_n "checking for _logl declaration... " >&6; }
33948   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33949     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33950   $as_echo_n "(cached) " >&6
33951 else
33952
33953
33954       ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959
33960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h.  */
33962 #include <math.h>
33963                       #ifdef HAVE_IEEEFP_H
33964                       #include <ieeefp.h>
33965                       #endif
33966
33967 int
33968 main ()
33969 {
33970  _logl(0);
33971   ;
33972   return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976   glibcxx_cv_func__logl_use=yes
33977 else
33978   glibcxx_cv_func__logl_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981       ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990   fi
33991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33993
33994     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33995       for ac_func in _logl
33996 do :
33997   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33998 if test "x$ac_cv_func__logl" = x""yes; then :
33999   cat >>confdefs.h <<_ACEOF
34000 #define HAVE__LOGL 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006     fi
34007   fi
34008
34009
34010
34011
34012
34013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34014 $as_echo_n "checking for log10l declaration... " >&6; }
34015   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34016     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34017   $as_echo_n "(cached) " >&6
34018 else
34019
34020
34021       ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026
34027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h.  */
34029 #include <math.h>
34030                       #ifdef HAVE_IEEEFP_H
34031                       #include <ieeefp.h>
34032                       #endif
34033
34034 int
34035 main ()
34036 {
34037  log10l(0);
34038   ;
34039   return 0;
34040 }
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043   glibcxx_cv_func_log10l_use=yes
34044 else
34045   glibcxx_cv_func_log10l_use=no
34046 fi
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048       ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34053
34054
34055 fi
34056
34057   fi
34058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34060
34061   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34062     for ac_func in log10l
34063 do :
34064   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34065 if test "x$ac_cv_func_log10l" = x""yes; then :
34066   cat >>confdefs.h <<_ACEOF
34067 #define HAVE_LOG10L 1
34068 _ACEOF
34069
34070 fi
34071 done
34072
34073   else
34074
34075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34076 $as_echo_n "checking for _log10l declaration... " >&6; }
34077   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34078     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34079   $as_echo_n "(cached) " >&6
34080 else
34081
34082
34083       ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088
34089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h.  */
34091 #include <math.h>
34092                       #ifdef HAVE_IEEEFP_H
34093                       #include <ieeefp.h>
34094                       #endif
34095
34096 int
34097 main ()
34098 {
34099  _log10l(0);
34100   ;
34101   return 0;
34102 }
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105   glibcxx_cv_func__log10l_use=yes
34106 else
34107   glibcxx_cv_func__log10l_use=no
34108 fi
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110       ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115
34116
34117 fi
34118
34119   fi
34120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34122
34123     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34124       for ac_func in _log10l
34125 do :
34126   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34127 if test "x$ac_cv_func__log10l" = x""yes; then :
34128   cat >>confdefs.h <<_ACEOF
34129 #define HAVE__LOG10L 1
34130 _ACEOF
34131
34132 fi
34133 done
34134
34135     fi
34136   fi
34137
34138
34139
34140
34141
34142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34143 $as_echo_n "checking for modfl declaration... " >&6; }
34144   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34145     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34146   $as_echo_n "(cached) " >&6
34147 else
34148
34149
34150       ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155
34156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h.  */
34158 #include <math.h>
34159 int
34160 main ()
34161 {
34162  modfl(0, 0);
34163   ;
34164   return 0;
34165 }
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168   glibcxx_cv_func_modfl_use=yes
34169 else
34170   glibcxx_cv_func_modfl_use=no
34171 fi
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173       ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34178
34179
34180 fi
34181
34182   fi
34183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34185
34186   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34187     for ac_func in modfl
34188 do :
34189   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34190 if test "x$ac_cv_func_modfl" = x""yes; then :
34191   cat >>confdefs.h <<_ACEOF
34192 #define HAVE_MODFL 1
34193 _ACEOF
34194
34195 fi
34196 done
34197
34198   else
34199
34200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34201 $as_echo_n "checking for _modfl declaration... " >&6; }
34202   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34203     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34204   $as_echo_n "(cached) " >&6
34205 else
34206
34207
34208       ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213
34214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h.  */
34216 #include <math.h>
34217 int
34218 main ()
34219 {
34220  _modfl(0, 0);
34221   ;
34222   return 0;
34223 }
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226   glibcxx_cv_func__modfl_use=yes
34227 else
34228   glibcxx_cv_func__modfl_use=no
34229 fi
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231       ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 fi
34239
34240   fi
34241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34243
34244     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34245       for ac_func in _modfl
34246 do :
34247   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34248 if test "x$ac_cv_func__modfl" = x""yes; then :
34249   cat >>confdefs.h <<_ACEOF
34250 #define HAVE__MODFL 1
34251 _ACEOF
34252
34253 fi
34254 done
34255
34256     fi
34257   fi
34258
34259
34260
34261
34262
34263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34264 $as_echo_n "checking for powl declaration... " >&6; }
34265   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34266     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34267   $as_echo_n "(cached) " >&6
34268 else
34269
34270
34271       ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276
34277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h.  */
34279 #include <math.h>
34280 int
34281 main ()
34282 {
34283  powl(0, 0);
34284   ;
34285   return 0;
34286 }
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289   glibcxx_cv_func_powl_use=yes
34290 else
34291   glibcxx_cv_func_powl_use=no
34292 fi
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294       ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299
34300
34301 fi
34302
34303   fi
34304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34306
34307   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34308     for ac_func in powl
34309 do :
34310   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34311 if test "x$ac_cv_func_powl" = x""yes; then :
34312   cat >>confdefs.h <<_ACEOF
34313 #define HAVE_POWL 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319   else
34320
34321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34322 $as_echo_n "checking for _powl declaration... " >&6; }
34323   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34324     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34325   $as_echo_n "(cached) " >&6
34326 else
34327
34328
34329       ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334
34335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h.  */
34337 #include <math.h>
34338 int
34339 main ()
34340 {
34341  _powl(0, 0);
34342   ;
34343   return 0;
34344 }
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347   glibcxx_cv_func__powl_use=yes
34348 else
34349   glibcxx_cv_func__powl_use=no
34350 fi
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352       ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361   fi
34362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34364
34365     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34366       for ac_func in _powl
34367 do :
34368   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34369 if test "x$ac_cv_func__powl" = x""yes; then :
34370   cat >>confdefs.h <<_ACEOF
34371 #define HAVE__POWL 1
34372 _ACEOF
34373
34374 fi
34375 done
34376
34377     fi
34378   fi
34379
34380
34381
34382
34383
34384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34385 $as_echo_n "checking for sqrtl declaration... " >&6; }
34386   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34387     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34388   $as_echo_n "(cached) " >&6
34389 else
34390
34391
34392       ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397
34398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h.  */
34400 #include <math.h>
34401                       #ifdef HAVE_IEEEFP_H
34402                       #include <ieeefp.h>
34403                       #endif
34404
34405 int
34406 main ()
34407 {
34408  sqrtl(0);
34409   ;
34410   return 0;
34411 }
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414   glibcxx_cv_func_sqrtl_use=yes
34415 else
34416   glibcxx_cv_func_sqrtl_use=no
34417 fi
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419       ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34424
34425
34426 fi
34427
34428   fi
34429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34431
34432   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34433     for ac_func in sqrtl
34434 do :
34435   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34437   cat >>confdefs.h <<_ACEOF
34438 #define HAVE_SQRTL 1
34439 _ACEOF
34440
34441 fi
34442 done
34443
34444   else
34445
34446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34448   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34449     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34450   $as_echo_n "(cached) " >&6
34451 else
34452
34453
34454       ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459
34460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h.  */
34462 #include <math.h>
34463                       #ifdef HAVE_IEEEFP_H
34464                       #include <ieeefp.h>
34465                       #endif
34466
34467 int
34468 main ()
34469 {
34470  _sqrtl(0);
34471   ;
34472   return 0;
34473 }
34474 _ACEOF
34475 if ac_fn_cxx_try_compile "$LINENO"; then :
34476   glibcxx_cv_func__sqrtl_use=yes
34477 else
34478   glibcxx_cv_func__sqrtl_use=no
34479 fi
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481       ac_ext=c
34482 ac_cpp='$CPP $CPPFLAGS'
34483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486
34487
34488 fi
34489
34490   fi
34491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34493
34494     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34495       for ac_func in _sqrtl
34496 do :
34497   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34499   cat >>confdefs.h <<_ACEOF
34500 #define HAVE__SQRTL 1
34501 _ACEOF
34502
34503 fi
34504 done
34505
34506     fi
34507   fi
34508
34509
34510
34511
34512
34513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34514 $as_echo_n "checking for sincosl declaration... " >&6; }
34515   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34516     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34517   $as_echo_n "(cached) " >&6
34518 else
34519
34520
34521       ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526
34527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h.  */
34529 #include <math.h>
34530 int
34531 main ()
34532 {
34533  sincosl(0, 0, 0);
34534   ;
34535   return 0;
34536 }
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539   glibcxx_cv_func_sincosl_use=yes
34540 else
34541   glibcxx_cv_func_sincosl_use=no
34542 fi
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544       ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549
34550
34551 fi
34552
34553   fi
34554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34556
34557   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34558     for ac_func in sincosl
34559 do :
34560   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34561 if test "x$ac_cv_func_sincosl" = x""yes; then :
34562   cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SINCOSL 1
34564 _ACEOF
34565
34566 fi
34567 done
34568
34569   else
34570
34571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34572 $as_echo_n "checking for _sincosl declaration... " >&6; }
34573   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34574     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34575   $as_echo_n "(cached) " >&6
34576 else
34577
34578
34579       ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584
34585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h.  */
34587 #include <math.h>
34588 int
34589 main ()
34590 {
34591  _sincosl(0, 0, 0);
34592   ;
34593   return 0;
34594 }
34595 _ACEOF
34596 if ac_fn_cxx_try_compile "$LINENO"; then :
34597   glibcxx_cv_func__sincosl_use=yes
34598 else
34599   glibcxx_cv_func__sincosl_use=no
34600 fi
34601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34602       ac_ext=c
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607
34608
34609 fi
34610
34611   fi
34612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34614
34615     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34616       for ac_func in _sincosl
34617 do :
34618   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34619 if test "x$ac_cv_func__sincosl" = x""yes; then :
34620   cat >>confdefs.h <<_ACEOF
34621 #define HAVE__SINCOSL 1
34622 _ACEOF
34623
34624 fi
34625 done
34626
34627     fi
34628   fi
34629
34630
34631
34632
34633
34634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34635 $as_echo_n "checking for finitel declaration... " >&6; }
34636   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34637     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34638   $as_echo_n "(cached) " >&6
34639 else
34640
34641
34642       ac_ext=cpp
34643 ac_cpp='$CXXCPP $CPPFLAGS'
34644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647
34648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34649 /* end confdefs.h.  */
34650 #include <math.h>
34651                       #ifdef HAVE_IEEEFP_H
34652                       #include <ieeefp.h>
34653                       #endif
34654
34655 int
34656 main ()
34657 {
34658  finitel(0);
34659   ;
34660   return 0;
34661 }
34662 _ACEOF
34663 if ac_fn_cxx_try_compile "$LINENO"; then :
34664   glibcxx_cv_func_finitel_use=yes
34665 else
34666   glibcxx_cv_func_finitel_use=no
34667 fi
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669       ac_ext=c
34670 ac_cpp='$CPP $CPPFLAGS'
34671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34674
34675
34676 fi
34677
34678   fi
34679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34681
34682   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34683     for ac_func in finitel
34684 do :
34685   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34686 if test "x$ac_cv_func_finitel" = x""yes; then :
34687   cat >>confdefs.h <<_ACEOF
34688 #define HAVE_FINITEL 1
34689 _ACEOF
34690
34691 fi
34692 done
34693
34694   else
34695
34696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34697 $as_echo_n "checking for _finitel declaration... " >&6; }
34698   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34699     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34700   $as_echo_n "(cached) " >&6
34701 else
34702
34703
34704       ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709
34710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34711 /* end confdefs.h.  */
34712 #include <math.h>
34713                       #ifdef HAVE_IEEEFP_H
34714                       #include <ieeefp.h>
34715                       #endif
34716
34717 int
34718 main ()
34719 {
34720  _finitel(0);
34721   ;
34722   return 0;
34723 }
34724 _ACEOF
34725 if ac_fn_cxx_try_compile "$LINENO"; then :
34726   glibcxx_cv_func__finitel_use=yes
34727 else
34728   glibcxx_cv_func__finitel_use=no
34729 fi
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34731       ac_ext=c
34732 ac_cpp='$CPP $CPPFLAGS'
34733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34736
34737
34738 fi
34739
34740   fi
34741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34743
34744     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34745       for ac_func in _finitel
34746 do :
34747   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34748 if test "x$ac_cv_func__finitel" = x""yes; then :
34749   cat >>confdefs.h <<_ACEOF
34750 #define HAVE__FINITEL 1
34751 _ACEOF
34752
34753 fi
34754 done
34755
34756     fi
34757   fi
34758
34759
34760
34761
34762   LIBS="$ac_save_LIBS"
34763   CXXFLAGS="$ac_save_CXXFLAGS"
34764
34765
34766   ac_test_CXXFLAGS="${CXXFLAGS+set}"
34767   ac_save_CXXFLAGS="$CXXFLAGS"
34768   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34769
34770
34771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34772 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34773   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34774     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34775   $as_echo_n "(cached) " >&6
34776 else
34777
34778
34779       ac_ext=cpp
34780 ac_cpp='$CXXCPP $CPPFLAGS'
34781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784
34785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34786 /* end confdefs.h.  */
34787 #include <stdlib.h>
34788 int
34789 main ()
34790 {
34791  at_quick_exit(0);
34792   ;
34793   return 0;
34794 }
34795 _ACEOF
34796 if ac_fn_cxx_try_compile "$LINENO"; then :
34797   glibcxx_cv_func_at_quick_exit_use=yes
34798 else
34799   glibcxx_cv_func_at_quick_exit_use=no
34800 fi
34801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34802       ac_ext=c
34803 ac_cpp='$CPP $CPPFLAGS'
34804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34807
34808
34809 fi
34810
34811   fi
34812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34813 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34814   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34815     for ac_func in at_quick_exit
34816 do :
34817   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34818 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34819   cat >>confdefs.h <<_ACEOF
34820 #define HAVE_AT_QUICK_EXIT 1
34821 _ACEOF
34822
34823 fi
34824 done
34825
34826   fi
34827
34828
34829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34830 $as_echo_n "checking for quick_exit declaration... " >&6; }
34831   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34832     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34833   $as_echo_n "(cached) " >&6
34834 else
34835
34836
34837       ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842
34843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h.  */
34845 #include <stdlib.h>
34846 int
34847 main ()
34848 {
34849  quick_exit(0);
34850   ;
34851   return 0;
34852 }
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855   glibcxx_cv_func_quick_exit_use=yes
34856 else
34857   glibcxx_cv_func_quick_exit_use=no
34858 fi
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860       ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34865
34866
34867 fi
34868
34869   fi
34870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34871 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34872   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34873     for ac_func in quick_exit
34874 do :
34875   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34876 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34877   cat >>confdefs.h <<_ACEOF
34878 #define HAVE_QUICK_EXIT 1
34879 _ACEOF
34880
34881 fi
34882 done
34883
34884   fi
34885
34886
34887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34888 $as_echo_n "checking for strtold declaration... " >&6; }
34889   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34890     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34891   $as_echo_n "(cached) " >&6
34892 else
34893
34894
34895       ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34900
34901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h.  */
34903 #include <stdlib.h>
34904 int
34905 main ()
34906 {
34907  strtold(0, 0);
34908   ;
34909   return 0;
34910 }
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913   glibcxx_cv_func_strtold_use=yes
34914 else
34915   glibcxx_cv_func_strtold_use=no
34916 fi
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918       ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34923
34924
34925 fi
34926
34927   fi
34928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34929 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34930   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34931     for ac_func in strtold
34932 do :
34933   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34934 if test "x$ac_cv_func_strtold" = x""yes; then :
34935   cat >>confdefs.h <<_ACEOF
34936 #define HAVE_STRTOLD 1
34937 _ACEOF
34938
34939 fi
34940 done
34941
34942   fi
34943
34944
34945
34946
34947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34948 $as_echo_n "checking for strtof declaration... " >&6; }
34949   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34950     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34951   $as_echo_n "(cached) " >&6
34952 else
34953
34954
34955       ac_ext=cpp
34956 ac_cpp='$CXXCPP $CPPFLAGS'
34957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34960
34961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h.  */
34963 #include <stdlib.h>
34964 int
34965 main ()
34966 {
34967  strtof(0, 0);
34968   ;
34969   return 0;
34970 }
34971 _ACEOF
34972 if ac_fn_cxx_try_compile "$LINENO"; then :
34973   glibcxx_cv_func_strtof_use=yes
34974 else
34975   glibcxx_cv_func_strtof_use=no
34976 fi
34977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34978       ac_ext=c
34979 ac_cpp='$CPP $CPPFLAGS'
34980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34983
34984
34985 fi
34986
34987   fi
34988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34989 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34990   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34991     for ac_func in strtof
34992 do :
34993   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34994 if test "x$ac_cv_func_strtof" = x""yes; then :
34995   cat >>confdefs.h <<_ACEOF
34996 #define HAVE_STRTOF 1
34997 _ACEOF
34998
34999 fi
35000 done
35001
35002   fi
35003
35004
35005
35006
35007   CXXFLAGS="$ac_save_CXXFLAGS"
35008
35009
35010     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35011
35012     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35013
35014     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35015
35016     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35017
35018
35019     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35020
35021     $as_echo "#define HAVE_MODF 1" >>confdefs.h
35022
35023     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35024
35025     ;;
35026
35027   spu-*-elf*)
35028
35029   # All these tests are for C++; save the language and the compiler flags.
35030   # The CXXFLAGS thing is suspicious, but based on similar bits previously
35031   # found in GLIBCXX_CONFIGURE.
35032
35033   ac_ext=cpp
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038
35039   ac_test_CXXFLAGS="${CXXFLAGS+set}"
35040   ac_save_CXXFLAGS="$CXXFLAGS"
35041
35042   # Check for maintainer-mode bits.
35043   if test x"$USE_MAINTAINER_MODE" = xno; then
35044     WERROR=''
35045   else
35046     WERROR='-Werror'
35047   fi
35048
35049   # Check for -ffunction-sections -fdata-sections
35050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35052   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h.  */
35055 int foo; void bar() { };
35056 int
35057 main ()
35058 {
35059
35060   ;
35061   return 0;
35062 }
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065   ac_fdsections=yes
35066 else
35067   ac_fdsections=no
35068 fi
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070   if test "$ac_test_CXXFLAGS" = set; then
35071     CXXFLAGS="$ac_save_CXXFLAGS"
35072   else
35073     # this is the suspicious part
35074     CXXFLAGS=''
35075   fi
35076   if test x"$ac_fdsections" = x"yes"; then
35077     SECTION_FLAGS='-ffunction-sections -fdata-sections'
35078   fi
35079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35080 $as_echo "$ac_fdsections" >&6; }
35081
35082   ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35087
35088
35089
35090
35091
35092   # If we're not using GNU ld, then there's no point in even trying these
35093   # tests.  Check for that first.  We should have already tested for gld
35094   # by now (in libtool), but require it now just to be safe...
35095   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35096   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35097
35098
35099
35100   # The name set by libtool depends on the version of libtool.  Shame on us
35101   # for depending on an impl detail, but c'est la vie.  Older versions used
35102   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35103   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35104   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
35105   # set (hence we're using an older libtool), then set it.
35106   if test x${with_gnu_ld+set} != xset; then
35107     if test x${ac_cv_prog_gnu_ld+set} != xset; then
35108       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
35109       with_gnu_ld=no
35110     else
35111       with_gnu_ld=$ac_cv_prog_gnu_ld
35112     fi
35113   fi
35114
35115   # Start by getting the version number.  I think the libtool test already
35116   # does some of this, but throws away the result.
35117   glibcxx_ld_is_gold=no
35118   if test x"$with_gnu_ld" = x"yes"; then
35119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35120 $as_echo_n "checking for ld version... " >&6; }
35121
35122     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35123       glibcxx_ld_is_gold=yes
35124     fi
35125     ldver=`$LD --version 2>/dev/null |
35126            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'`
35127
35128     glibcxx_gnu_ld_version=`echo $ldver | \
35129            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35131 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35132   fi
35133
35134   # Set --gc-sections.
35135   glibcxx_have_gc_sections=no
35136   if test "$glibcxx_ld_is_gold" = "yes"; then
35137     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35138       glibcxx_have_gc_sections=yes
35139     fi
35140   else
35141     glibcxx_gcsections_min_ld=21602
35142     if test x"$with_gnu_ld" = x"yes" &&
35143         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35144       glibcxx_have_gc_sections=yes
35145     fi
35146   fi
35147   if test "$glibcxx_have_gc_sections" = "yes"; then
35148     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
35149     # NB: This flag only works reliably after 2.16.1. Configure tests
35150     # for this are difficult, so hard wire a value that should work.
35151
35152     ac_test_CFLAGS="${CFLAGS+set}"
35153     ac_save_CFLAGS="$CFLAGS"
35154     CFLAGS='-Wl,--gc-sections'
35155
35156     # Check for -Wl,--gc-sections
35157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35158 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35159     if test x$gcc_no_link = xyes; then
35160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35161 fi
35162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h.  */
35164  int one(void) { return 1; }
35165      int two(void) { return 2; }
35166
35167 int
35168 main ()
35169 {
35170  two();
35171   ;
35172   return 0;
35173 }
35174 _ACEOF
35175 if ac_fn_c_try_link "$LINENO"; then :
35176   ac_gcsections=yes
35177 else
35178   ac_gcsections=no
35179 fi
35180 rm -f core conftest.err conftest.$ac_objext \
35181     conftest$ac_exeext conftest.$ac_ext
35182     if test "$ac_gcsections" = "yes"; then
35183       rm -f conftest.c
35184       touch conftest.c
35185       if $CC -c conftest.c; then
35186         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35187            grep "Warning: gc-sections option ignored" > /dev/null; then
35188           ac_gcsections=no
35189         fi
35190       fi
35191       rm -f conftest.c conftest.o conftest
35192     fi
35193     if test "$ac_gcsections" = "yes"; then
35194       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35195     fi
35196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35197 $as_echo "$ac_gcsections" >&6; }
35198
35199     if test "$ac_test_CFLAGS" = set; then
35200       CFLAGS="$ac_save_CFLAGS"
35201     else
35202       # this is the suspicious part
35203       CFLAGS=''
35204     fi
35205   fi
35206
35207   # Set -z,relro.
35208   # Note this is only for shared objects.
35209   ac_ld_relro=no
35210   if test x"$with_gnu_ld" = x"yes"; then
35211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35212 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35213     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35214     if test -n "$cxx_z_relo"; then
35215       OPT_LDFLAGS="-Wl,-z,relro"
35216       ac_ld_relro=yes
35217     fi
35218     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35219 $as_echo "$ac_ld_relro" >&6; }
35220   fi
35221
35222   # Set linker optimization flags.
35223   if test x"$with_gnu_ld" = x"yes"; then
35224     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35225   fi
35226
35227
35228
35229
35230
35231   ac_test_CXXFLAGS="${CXXFLAGS+set}"
35232   ac_save_CXXFLAGS="$CXXFLAGS"
35233   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35234
35235     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35236 $as_echo_n "checking for sin in -lm... " >&6; }
35237 if test "${ac_cv_lib_m_sin+set}" = set; then :
35238   $as_echo_n "(cached) " >&6
35239 else
35240   ac_check_lib_save_LIBS=$LIBS
35241 LIBS="-lm  $LIBS"
35242 if test x$gcc_no_link = xyes; then
35243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35244 fi
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h.  */
35247
35248 /* Override any GCC internal prototype to avoid an error.
35249    Use char because int might match the return type of a GCC
35250    builtin and then its argument prototype would still apply.  */
35251 #ifdef __cplusplus
35252 extern "C"
35253 #endif
35254 char sin ();
35255 int
35256 main ()
35257 {
35258 return sin ();
35259   ;
35260   return 0;
35261 }
35262 _ACEOF
35263 if ac_fn_c_try_link "$LINENO"; then :
35264   ac_cv_lib_m_sin=yes
35265 else
35266   ac_cv_lib_m_sin=no
35267 fi
35268 rm -f core conftest.err conftest.$ac_objext \
35269     conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35271 fi
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35273 $as_echo "$ac_cv_lib_m_sin" >&6; }
35274 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35275   libm="-lm"
35276 fi
35277
35278   ac_save_LIBS="$LIBS"
35279   LIBS="$LIBS $libm"
35280
35281
35282
35283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35284 $as_echo_n "checking for isinf declaration... " >&6; }
35285   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35286     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35287   $as_echo_n "(cached) " >&6
35288 else
35289
35290
35291       ac_ext=cpp
35292 ac_cpp='$CXXCPP $CPPFLAGS'
35293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296
35297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35298 /* end confdefs.h.  */
35299 #include <math.h>
35300                       #ifdef HAVE_IEEEFP_H
35301                       #include <ieeefp.h>
35302                       #endif
35303
35304 int
35305 main ()
35306 {
35307  isinf(0);
35308   ;
35309   return 0;
35310 }
35311 _ACEOF
35312 if ac_fn_cxx_try_compile "$LINENO"; then :
35313   glibcxx_cv_func_isinf_use=yes
35314 else
35315   glibcxx_cv_func_isinf_use=no
35316 fi
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35318       ac_ext=c
35319 ac_cpp='$CPP $CPPFLAGS'
35320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35323
35324
35325 fi
35326
35327   fi
35328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35330
35331   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35332     for ac_func in isinf
35333 do :
35334   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35335 if test "x$ac_cv_func_isinf" = x""yes; then :
35336   cat >>confdefs.h <<_ACEOF
35337 #define HAVE_ISINF 1
35338 _ACEOF
35339
35340 fi
35341 done
35342
35343   else
35344
35345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35346 $as_echo_n "checking for _isinf declaration... " >&6; }
35347   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35348     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35349   $as_echo_n "(cached) " >&6
35350 else
35351
35352
35353       ac_ext=cpp
35354 ac_cpp='$CXXCPP $CPPFLAGS'
35355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358
35359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35360 /* end confdefs.h.  */
35361 #include <math.h>
35362                       #ifdef HAVE_IEEEFP_H
35363                       #include <ieeefp.h>
35364                       #endif
35365
35366 int
35367 main ()
35368 {
35369  _isinf(0);
35370   ;
35371   return 0;
35372 }
35373 _ACEOF
35374 if ac_fn_cxx_try_compile "$LINENO"; then :
35375   glibcxx_cv_func__isinf_use=yes
35376 else
35377   glibcxx_cv_func__isinf_use=no
35378 fi
35379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380       ac_ext=c
35381 ac_cpp='$CPP $CPPFLAGS'
35382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35385
35386
35387 fi
35388
35389   fi
35390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35392
35393     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35394       for ac_func in _isinf
35395 do :
35396   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35397 if test "x$ac_cv_func__isinf" = x""yes; then :
35398   cat >>confdefs.h <<_ACEOF
35399 #define HAVE__ISINF 1
35400 _ACEOF
35401
35402 fi
35403 done
35404
35405     fi
35406   fi
35407
35408
35409
35410
35411
35412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35413 $as_echo_n "checking for isnan declaration... " >&6; }
35414   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35415     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35416   $as_echo_n "(cached) " >&6
35417 else
35418
35419
35420       ac_ext=cpp
35421 ac_cpp='$CXXCPP $CPPFLAGS'
35422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35425
35426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35427 /* end confdefs.h.  */
35428 #include <math.h>
35429                       #ifdef HAVE_IEEEFP_H
35430                       #include <ieeefp.h>
35431                       #endif
35432
35433 int
35434 main ()
35435 {
35436  isnan(0);
35437   ;
35438   return 0;
35439 }
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442   glibcxx_cv_func_isnan_use=yes
35443 else
35444   glibcxx_cv_func_isnan_use=no
35445 fi
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447       ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452
35453
35454 fi
35455
35456   fi
35457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35459
35460   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35461     for ac_func in isnan
35462 do :
35463   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35464 if test "x$ac_cv_func_isnan" = x""yes; then :
35465   cat >>confdefs.h <<_ACEOF
35466 #define HAVE_ISNAN 1
35467 _ACEOF
35468
35469 fi
35470 done
35471
35472   else
35473
35474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35475 $as_echo_n "checking for _isnan declaration... " >&6; }
35476   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35477     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35478   $as_echo_n "(cached) " >&6
35479 else
35480
35481
35482       ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35487
35488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h.  */
35490 #include <math.h>
35491                       #ifdef HAVE_IEEEFP_H
35492                       #include <ieeefp.h>
35493                       #endif
35494
35495 int
35496 main ()
35497 {
35498  _isnan(0);
35499   ;
35500   return 0;
35501 }
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504   glibcxx_cv_func__isnan_use=yes
35505 else
35506   glibcxx_cv_func__isnan_use=no
35507 fi
35508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35509       ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514
35515
35516 fi
35517
35518   fi
35519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35521
35522     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35523       for ac_func in _isnan
35524 do :
35525   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35526 if test "x$ac_cv_func__isnan" = x""yes; then :
35527   cat >>confdefs.h <<_ACEOF
35528 #define HAVE__ISNAN 1
35529 _ACEOF
35530
35531 fi
35532 done
35533
35534     fi
35535   fi
35536
35537
35538
35539
35540
35541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35542 $as_echo_n "checking for finite declaration... " >&6; }
35543   if test x${glibcxx_cv_func_finite_use+set} != xset; then
35544     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35545   $as_echo_n "(cached) " >&6
35546 else
35547
35548
35549       ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554
35555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h.  */
35557 #include <math.h>
35558                       #ifdef HAVE_IEEEFP_H
35559                       #include <ieeefp.h>
35560                       #endif
35561
35562 int
35563 main ()
35564 {
35565  finite(0);
35566   ;
35567   return 0;
35568 }
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571   glibcxx_cv_func_finite_use=yes
35572 else
35573   glibcxx_cv_func_finite_use=no
35574 fi
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576       ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581
35582
35583 fi
35584
35585   fi
35586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35588
35589   if test x$glibcxx_cv_func_finite_use = x"yes"; then
35590     for ac_func in finite
35591 do :
35592   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35593 if test "x$ac_cv_func_finite" = x""yes; then :
35594   cat >>confdefs.h <<_ACEOF
35595 #define HAVE_FINITE 1
35596 _ACEOF
35597
35598 fi
35599 done
35600
35601   else
35602
35603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35604 $as_echo_n "checking for _finite declaration... " >&6; }
35605   if test x${glibcxx_cv_func__finite_use+set} != xset; then
35606     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35607   $as_echo_n "(cached) " >&6
35608 else
35609
35610
35611       ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616
35617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h.  */
35619 #include <math.h>
35620                       #ifdef HAVE_IEEEFP_H
35621                       #include <ieeefp.h>
35622                       #endif
35623
35624 int
35625 main ()
35626 {
35627  _finite(0);
35628   ;
35629   return 0;
35630 }
35631 _ACEOF
35632 if ac_fn_cxx_try_compile "$LINENO"; then :
35633   glibcxx_cv_func__finite_use=yes
35634 else
35635   glibcxx_cv_func__finite_use=no
35636 fi
35637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35638       ac_ext=c
35639 ac_cpp='$CPP $CPPFLAGS'
35640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643
35644
35645 fi
35646
35647   fi
35648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35650
35651     if test x$glibcxx_cv_func__finite_use = x"yes"; then
35652       for ac_func in _finite
35653 do :
35654   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35655 if test "x$ac_cv_func__finite" = x""yes; then :
35656   cat >>confdefs.h <<_ACEOF
35657 #define HAVE__FINITE 1
35658 _ACEOF
35659
35660 fi
35661 done
35662
35663     fi
35664   fi
35665
35666
35667
35668
35669
35670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35671 $as_echo_n "checking for sincos declaration... " >&6; }
35672   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35673     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35674   $as_echo_n "(cached) " >&6
35675 else
35676
35677
35678       ac_ext=cpp
35679 ac_cpp='$CXXCPP $CPPFLAGS'
35680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683
35684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35685 /* end confdefs.h.  */
35686 #include <math.h>
35687 int
35688 main ()
35689 {
35690  sincos(0, 0, 0);
35691   ;
35692   return 0;
35693 }
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696   glibcxx_cv_func_sincos_use=yes
35697 else
35698   glibcxx_cv_func_sincos_use=no
35699 fi
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701       ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 fi
35709
35710   fi
35711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35713
35714   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35715     for ac_func in sincos
35716 do :
35717   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35718 if test "x$ac_cv_func_sincos" = x""yes; then :
35719   cat >>confdefs.h <<_ACEOF
35720 #define HAVE_SINCOS 1
35721 _ACEOF
35722
35723 fi
35724 done
35725
35726   else
35727
35728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35729 $as_echo_n "checking for _sincos declaration... " >&6; }
35730   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35731     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35732   $as_echo_n "(cached) " >&6
35733 else
35734
35735
35736       ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741
35742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h.  */
35744 #include <math.h>
35745 int
35746 main ()
35747 {
35748  _sincos(0, 0, 0);
35749   ;
35750   return 0;
35751 }
35752 _ACEOF
35753 if ac_fn_cxx_try_compile "$LINENO"; then :
35754   glibcxx_cv_func__sincos_use=yes
35755 else
35756   glibcxx_cv_func__sincos_use=no
35757 fi
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35759       ac_ext=c
35760 ac_cpp='$CPP $CPPFLAGS'
35761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764
35765
35766 fi
35767
35768   fi
35769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35771
35772     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35773       for ac_func in _sincos
35774 do :
35775   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35776 if test "x$ac_cv_func__sincos" = x""yes; then :
35777   cat >>confdefs.h <<_ACEOF
35778 #define HAVE__SINCOS 1
35779 _ACEOF
35780
35781 fi
35782 done
35783
35784     fi
35785   fi
35786
35787
35788
35789
35790
35791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35792 $as_echo_n "checking for fpclass declaration... " >&6; }
35793   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35794     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35795   $as_echo_n "(cached) " >&6
35796 else
35797
35798
35799       ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804
35805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h.  */
35807 #include <math.h>
35808                       #ifdef HAVE_IEEEFP_H
35809                       #include <ieeefp.h>
35810                       #endif
35811
35812 int
35813 main ()
35814 {
35815  fpclass(0);
35816   ;
35817   return 0;
35818 }
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821   glibcxx_cv_func_fpclass_use=yes
35822 else
35823   glibcxx_cv_func_fpclass_use=no
35824 fi
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826       ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831
35832
35833 fi
35834
35835   fi
35836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35838
35839   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35840     for ac_func in fpclass
35841 do :
35842   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35843 if test "x$ac_cv_func_fpclass" = x""yes; then :
35844   cat >>confdefs.h <<_ACEOF
35845 #define HAVE_FPCLASS 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851   else
35852
35853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35854 $as_echo_n "checking for _fpclass declaration... " >&6; }
35855   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35856     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35857   $as_echo_n "(cached) " >&6
35858 else
35859
35860
35861       ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866
35867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h.  */
35869 #include <math.h>
35870                       #ifdef HAVE_IEEEFP_H
35871                       #include <ieeefp.h>
35872                       #endif
35873
35874 int
35875 main ()
35876 {
35877  _fpclass(0);
35878   ;
35879   return 0;
35880 }
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883   glibcxx_cv_func__fpclass_use=yes
35884 else
35885   glibcxx_cv_func__fpclass_use=no
35886 fi
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888       ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893
35894
35895 fi
35896
35897   fi
35898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35900
35901     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35902       for ac_func in _fpclass
35903 do :
35904   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35905 if test "x$ac_cv_func__fpclass" = x""yes; then :
35906   cat >>confdefs.h <<_ACEOF
35907 #define HAVE__FPCLASS 1
35908 _ACEOF
35909
35910 fi
35911 done
35912
35913     fi
35914   fi
35915
35916
35917
35918
35919
35920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35921 $as_echo_n "checking for qfpclass declaration... " >&6; }
35922   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35923     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35924   $as_echo_n "(cached) " >&6
35925 else
35926
35927
35928       ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933
35934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h.  */
35936 #include <math.h>
35937                       #ifdef HAVE_IEEEFP_H
35938                       #include <ieeefp.h>
35939                       #endif
35940
35941 int
35942 main ()
35943 {
35944  qfpclass(0);
35945   ;
35946   return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950   glibcxx_cv_func_qfpclass_use=yes
35951 else
35952   glibcxx_cv_func_qfpclass_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955       ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961
35962 fi
35963
35964   fi
35965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35967
35968   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35969     for ac_func in qfpclass
35970 do :
35971   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35972 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35973   cat >>confdefs.h <<_ACEOF
35974 #define HAVE_QFPCLASS 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980   else
35981
35982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35984   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35985     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35986   $as_echo_n "(cached) " >&6
35987 else
35988
35989
35990       ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995
35996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h.  */
35998 #include <math.h>
35999                       #ifdef HAVE_IEEEFP_H
36000                       #include <ieeefp.h>
36001                       #endif
36002
36003 int
36004 main ()
36005 {
36006  _qfpclass(0);
36007   ;
36008   return 0;
36009 }
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012   glibcxx_cv_func__qfpclass_use=yes
36013 else
36014   glibcxx_cv_func__qfpclass_use=no
36015 fi
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017       ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022
36023
36024 fi
36025
36026   fi
36027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36029
36030     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36031       for ac_func in _qfpclass
36032 do :
36033   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36034 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36035   cat >>confdefs.h <<_ACEOF
36036 #define HAVE__QFPCLASS 1
36037 _ACEOF
36038
36039 fi
36040 done
36041
36042     fi
36043   fi
36044
36045
36046
36047
36048
36049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36050 $as_echo_n "checking for hypot declaration... " >&6; }
36051   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36052     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36053   $as_echo_n "(cached) " >&6
36054 else
36055
36056
36057       ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062
36063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h.  */
36065 #include <math.h>
36066 int
36067 main ()
36068 {
36069  hypot(0, 0);
36070   ;
36071   return 0;
36072 }
36073 _ACEOF
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075   glibcxx_cv_func_hypot_use=yes
36076 else
36077   glibcxx_cv_func_hypot_use=no
36078 fi
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080       ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085
36086
36087 fi
36088
36089   fi
36090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36092
36093   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36094     for ac_func in hypot
36095 do :
36096   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36097 if test "x$ac_cv_func_hypot" = x""yes; then :
36098   cat >>confdefs.h <<_ACEOF
36099 #define HAVE_HYPOT 1
36100 _ACEOF
36101
36102 fi
36103 done
36104
36105   else
36106
36107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36108 $as_echo_n "checking for _hypot declaration... " >&6; }
36109   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36110     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36111   $as_echo_n "(cached) " >&6
36112 else
36113
36114
36115       ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120
36121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h.  */
36123 #include <math.h>
36124 int
36125 main ()
36126 {
36127  _hypot(0, 0);
36128   ;
36129   return 0;
36130 }
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133   glibcxx_cv_func__hypot_use=yes
36134 else
36135   glibcxx_cv_func__hypot_use=no
36136 fi
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138       ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143
36144
36145 fi
36146
36147   fi
36148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36150
36151     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36152       for ac_func in _hypot
36153 do :
36154   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36155 if test "x$ac_cv_func__hypot" = x""yes; then :
36156   cat >>confdefs.h <<_ACEOF
36157 #define HAVE__HYPOT 1
36158 _ACEOF
36159
36160 fi
36161 done
36162
36163     fi
36164   fi
36165
36166
36167
36168
36169
36170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36171 $as_echo_n "checking for float trig functions... " >&6; }
36172   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36173   $as_echo_n "(cached) " >&6
36174 else
36175
36176
36177     ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182
36183     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h.  */
36185 #include <math.h>
36186 int
36187 main ()
36188 {
36189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36190   ;
36191   return 0;
36192 }
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195   glibcxx_cv_func_float_trig_use=yes
36196 else
36197   glibcxx_cv_func_float_trig_use=no
36198 fi
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200     ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206 fi
36207
36208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36210   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36211     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36212 do :
36213   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36215 eval as_val=\$$as_ac_var
36216    if test "x$as_val" = x""yes; then :
36217   cat >>confdefs.h <<_ACEOF
36218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 _ACEOF
36220
36221 fi
36222 done
36223
36224   else
36225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36226 $as_echo_n "checking for _float trig functions... " >&6; }
36227     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36228   $as_echo_n "(cached) " >&6
36229 else
36230
36231
36232       ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h.  */
36240 #include <math.h>
36241 int
36242 main ()
36243 {
36244 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36245   ;
36246   return 0;
36247 }
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250   glibcxx_cv_func__float_trig_use=yes
36251 else
36252   glibcxx_cv_func__float_trig_use=no
36253 fi
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255       ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261 fi
36262
36263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36264 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36265     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36266       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36267 do :
36268   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36270 eval as_val=\$$as_ac_var
36271    if test "x$as_val" = x""yes; then :
36272   cat >>confdefs.h <<_ACEOF
36273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 _ACEOF
36275
36276 fi
36277 done
36278
36279     fi
36280   fi
36281
36282
36283
36284
36285
36286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36287 $as_echo_n "checking for float round functions... " >&6; }
36288   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36289   $as_echo_n "(cached) " >&6
36290 else
36291
36292
36293     ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298
36299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h.  */
36301 #include <math.h>
36302 int
36303 main ()
36304 {
36305 ceilf (0); floorf (0);
36306   ;
36307   return 0;
36308 }
36309 _ACEOF
36310 if ac_fn_cxx_try_compile "$LINENO"; then :
36311   glibcxx_cv_func_float_round_use=yes
36312 else
36313   glibcxx_cv_func_float_round_use=no
36314 fi
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36316     ac_ext=c
36317 ac_cpp='$CPP $CPPFLAGS'
36318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36321
36322 fi
36323
36324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36325 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36326   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36327     for ac_func in ceilf floorf
36328 do :
36329   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36331 eval as_val=\$$as_ac_var
36332    if test "x$as_val" = x""yes; then :
36333   cat >>confdefs.h <<_ACEOF
36334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36336
36337 fi
36338 done
36339
36340   else
36341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36342 $as_echo_n "checking for _float round functions... " >&6; }
36343     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36344   $as_echo_n "(cached) " >&6
36345 else
36346
36347
36348       ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353
36354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h.  */
36356 #include <math.h>
36357 int
36358 main ()
36359 {
36360 _ceilf (0); _floorf (0);
36361   ;
36362   return 0;
36363 }
36364 _ACEOF
36365 if ac_fn_cxx_try_compile "$LINENO"; then :
36366   glibcxx_cv_func__float_round_use=yes
36367 else
36368   glibcxx_cv_func__float_round_use=no
36369 fi
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371       ac_ext=c
36372 ac_cpp='$CPP $CPPFLAGS'
36373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36376
36377 fi
36378
36379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36380 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36381     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36382       for ac_func in _ceilf _floorf
36383 do :
36384   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36386 eval as_val=\$$as_ac_var
36387    if test "x$as_val" = x""yes; then :
36388   cat >>confdefs.h <<_ACEOF
36389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 _ACEOF
36391
36392 fi
36393 done
36394
36395     fi
36396   fi
36397
36398
36399
36400
36401
36402
36403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36404 $as_echo_n "checking for expf declaration... " >&6; }
36405   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36406     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36407   $as_echo_n "(cached) " >&6
36408 else
36409
36410
36411       ac_ext=cpp
36412 ac_cpp='$CXXCPP $CPPFLAGS'
36413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36416
36417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36418 /* end confdefs.h.  */
36419 #include <math.h>
36420                       #ifdef HAVE_IEEEFP_H
36421                       #include <ieeefp.h>
36422                       #endif
36423
36424 int
36425 main ()
36426 {
36427  expf(0);
36428   ;
36429   return 0;
36430 }
36431 _ACEOF
36432 if ac_fn_cxx_try_compile "$LINENO"; then :
36433   glibcxx_cv_func_expf_use=yes
36434 else
36435   glibcxx_cv_func_expf_use=no
36436 fi
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438       ac_ext=c
36439 ac_cpp='$CPP $CPPFLAGS'
36440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36443
36444
36445 fi
36446
36447   fi
36448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36449 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36450
36451   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36452     for ac_func in expf
36453 do :
36454   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36455 if test "x$ac_cv_func_expf" = x""yes; then :
36456   cat >>confdefs.h <<_ACEOF
36457 #define HAVE_EXPF 1
36458 _ACEOF
36459
36460 fi
36461 done
36462
36463   else
36464
36465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36466 $as_echo_n "checking for _expf declaration... " >&6; }
36467   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36468     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36469   $as_echo_n "(cached) " >&6
36470 else
36471
36472
36473       ac_ext=cpp
36474 ac_cpp='$CXXCPP $CPPFLAGS'
36475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478
36479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36480 /* end confdefs.h.  */
36481 #include <math.h>
36482                       #ifdef HAVE_IEEEFP_H
36483                       #include <ieeefp.h>
36484                       #endif
36485
36486 int
36487 main ()
36488 {
36489  _expf(0);
36490   ;
36491   return 0;
36492 }
36493 _ACEOF
36494 if ac_fn_cxx_try_compile "$LINENO"; then :
36495   glibcxx_cv_func__expf_use=yes
36496 else
36497   glibcxx_cv_func__expf_use=no
36498 fi
36499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36500       ac_ext=c
36501 ac_cpp='$CPP $CPPFLAGS'
36502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36505
36506
36507 fi
36508
36509   fi
36510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36511 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36512
36513     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36514       for ac_func in _expf
36515 do :
36516   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36517 if test "x$ac_cv_func__expf" = x""yes; then :
36518   cat >>confdefs.h <<_ACEOF
36519 #define HAVE__EXPF 1
36520 _ACEOF
36521
36522 fi
36523 done
36524
36525     fi
36526   fi
36527
36528
36529
36530
36531
36532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36533 $as_echo_n "checking for isnanf declaration... " >&6; }
36534   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36535     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36536   $as_echo_n "(cached) " >&6
36537 else
36538
36539
36540       ac_ext=cpp
36541 ac_cpp='$CXXCPP $CPPFLAGS'
36542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36545
36546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36547 /* end confdefs.h.  */
36548 #include <math.h>
36549                       #ifdef HAVE_IEEEFP_H
36550                       #include <ieeefp.h>
36551                       #endif
36552
36553 int
36554 main ()
36555 {
36556  isnanf(0);
36557   ;
36558   return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562   glibcxx_cv_func_isnanf_use=yes
36563 else
36564   glibcxx_cv_func_isnanf_use=no
36565 fi
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567       ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573
36574 fi
36575
36576   fi
36577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36578 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36579
36580   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36581     for ac_func in isnanf
36582 do :
36583   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36584 if test "x$ac_cv_func_isnanf" = x""yes; then :
36585   cat >>confdefs.h <<_ACEOF
36586 #define HAVE_ISNANF 1
36587 _ACEOF
36588
36589 fi
36590 done
36591
36592   else
36593
36594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36595 $as_echo_n "checking for _isnanf declaration... " >&6; }
36596   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36597     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36598   $as_echo_n "(cached) " >&6
36599 else
36600
36601
36602       ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607
36608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h.  */
36610 #include <math.h>
36611                       #ifdef HAVE_IEEEFP_H
36612                       #include <ieeefp.h>
36613                       #endif
36614
36615 int
36616 main ()
36617 {
36618  _isnanf(0);
36619   ;
36620   return 0;
36621 }
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624   glibcxx_cv_func__isnanf_use=yes
36625 else
36626   glibcxx_cv_func__isnanf_use=no
36627 fi
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629       ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634
36635
36636 fi
36637
36638   fi
36639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36640 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36641
36642     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36643       for ac_func in _isnanf
36644 do :
36645   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36646 if test "x$ac_cv_func__isnanf" = x""yes; then :
36647   cat >>confdefs.h <<_ACEOF
36648 #define HAVE__ISNANF 1
36649 _ACEOF
36650
36651 fi
36652 done
36653
36654     fi
36655   fi
36656
36657
36658
36659
36660
36661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36662 $as_echo_n "checking for isinff declaration... " >&6; }
36663   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36664     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36665   $as_echo_n "(cached) " >&6
36666 else
36667
36668
36669       ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674
36675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h.  */
36677 #include <math.h>
36678                       #ifdef HAVE_IEEEFP_H
36679                       #include <ieeefp.h>
36680                       #endif
36681
36682 int
36683 main ()
36684 {
36685  isinff(0);
36686   ;
36687   return 0;
36688 }
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691   glibcxx_cv_func_isinff_use=yes
36692 else
36693   glibcxx_cv_func_isinff_use=no
36694 fi
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696       ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701
36702
36703 fi
36704
36705   fi
36706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36707 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36708
36709   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36710     for ac_func in isinff
36711 do :
36712   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36713 if test "x$ac_cv_func_isinff" = x""yes; then :
36714   cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ISINFF 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721   else
36722
36723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36724 $as_echo_n "checking for _isinff declaration... " >&6; }
36725   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36726     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36727   $as_echo_n "(cached) " >&6
36728 else
36729
36730
36731       ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736
36737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h.  */
36739 #include <math.h>
36740                       #ifdef HAVE_IEEEFP_H
36741                       #include <ieeefp.h>
36742                       #endif
36743
36744 int
36745 main ()
36746 {
36747  _isinff(0);
36748   ;
36749   return 0;
36750 }
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753   glibcxx_cv_func__isinff_use=yes
36754 else
36755   glibcxx_cv_func__isinff_use=no
36756 fi
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758       ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763
36764
36765 fi
36766
36767   fi
36768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36769 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36770
36771     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36772       for ac_func in _isinff
36773 do :
36774   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36775 if test "x$ac_cv_func__isinff" = x""yes; then :
36776   cat >>confdefs.h <<_ACEOF
36777 #define HAVE__ISINFF 1
36778 _ACEOF
36779
36780 fi
36781 done
36782
36783     fi
36784   fi
36785
36786
36787
36788
36789
36790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36791 $as_echo_n "checking for atan2f declaration... " >&6; }
36792   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36793     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36794   $as_echo_n "(cached) " >&6
36795 else
36796
36797
36798       ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803
36804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h.  */
36806 #include <math.h>
36807 int
36808 main ()
36809 {
36810  atan2f(0, 0);
36811   ;
36812   return 0;
36813 }
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816   glibcxx_cv_func_atan2f_use=yes
36817 else
36818   glibcxx_cv_func_atan2f_use=no
36819 fi
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821       ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36826
36827
36828 fi
36829
36830   fi
36831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36832 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36833
36834   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36835     for ac_func in atan2f
36836 do :
36837   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36838 if test "x$ac_cv_func_atan2f" = x""yes; then :
36839   cat >>confdefs.h <<_ACEOF
36840 #define HAVE_ATAN2F 1
36841 _ACEOF
36842
36843 fi
36844 done
36845
36846   else
36847
36848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36849 $as_echo_n "checking for _atan2f declaration... " >&6; }
36850   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36851     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36852   $as_echo_n "(cached) " >&6
36853 else
36854
36855
36856       ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h.  */
36864 #include <math.h>
36865 int
36866 main ()
36867 {
36868  _atan2f(0, 0);
36869   ;
36870   return 0;
36871 }
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874   glibcxx_cv_func__atan2f_use=yes
36875 else
36876   glibcxx_cv_func__atan2f_use=no
36877 fi
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879       ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884
36885
36886 fi
36887
36888   fi
36889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36890 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36891
36892     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36893       for ac_func in _atan2f
36894 do :
36895   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36896 if test "x$ac_cv_func__atan2f" = x""yes; then :
36897   cat >>confdefs.h <<_ACEOF
36898 #define HAVE__ATAN2F 1
36899 _ACEOF
36900
36901 fi
36902 done
36903
36904     fi
36905   fi
36906
36907
36908
36909
36910
36911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36912 $as_echo_n "checking for fabsf declaration... " >&6; }
36913   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36914     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36915   $as_echo_n "(cached) " >&6
36916 else
36917
36918
36919       ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924
36925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h.  */
36927 #include <math.h>
36928                       #ifdef HAVE_IEEEFP_H
36929                       #include <ieeefp.h>
36930                       #endif
36931
36932 int
36933 main ()
36934 {
36935  fabsf(0);
36936   ;
36937   return 0;
36938 }
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941   glibcxx_cv_func_fabsf_use=yes
36942 else
36943   glibcxx_cv_func_fabsf_use=no
36944 fi
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946       ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36951
36952
36953 fi
36954
36955   fi
36956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36957 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36958
36959   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36960     for ac_func in fabsf
36961 do :
36962   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36963 if test "x$ac_cv_func_fabsf" = x""yes; then :
36964   cat >>confdefs.h <<_ACEOF
36965 #define HAVE_FABSF 1
36966 _ACEOF
36967
36968 fi
36969 done
36970
36971   else
36972
36973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36974 $as_echo_n "checking for _fabsf declaration... " >&6; }
36975   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36976     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36977   $as_echo_n "(cached) " >&6
36978 else
36979
36980
36981       ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h.  */
36989 #include <math.h>
36990                       #ifdef HAVE_IEEEFP_H
36991                       #include <ieeefp.h>
36992                       #endif
36993
36994 int
36995 main ()
36996 {
36997  _fabsf(0);
36998   ;
36999   return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003   glibcxx_cv_func__fabsf_use=yes
37004 else
37005   glibcxx_cv_func__fabsf_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008       ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017   fi
37018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37019 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37020
37021     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37022       for ac_func in _fabsf
37023 do :
37024   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37025 if test "x$ac_cv_func__fabsf" = x""yes; then :
37026   cat >>confdefs.h <<_ACEOF
37027 #define HAVE__FABSF 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033     fi
37034   fi
37035
37036
37037
37038
37039
37040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37041 $as_echo_n "checking for fmodf declaration... " >&6; }
37042   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37043     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37044   $as_echo_n "(cached) " >&6
37045 else
37046
37047
37048       ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053
37054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h.  */
37056 #include <math.h>
37057 int
37058 main ()
37059 {
37060  fmodf(0, 0);
37061   ;
37062   return 0;
37063 }
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066   glibcxx_cv_func_fmodf_use=yes
37067 else
37068   glibcxx_cv_func_fmodf_use=no
37069 fi
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071       ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37076
37077
37078 fi
37079
37080   fi
37081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37082 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37083
37084   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37085     for ac_func in fmodf
37086 do :
37087   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37088 if test "x$ac_cv_func_fmodf" = x""yes; then :
37089   cat >>confdefs.h <<_ACEOF
37090 #define HAVE_FMODF 1
37091 _ACEOF
37092
37093 fi
37094 done
37095
37096   else
37097
37098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37099 $as_echo_n "checking for _fmodf declaration... " >&6; }
37100   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37101     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37102   $as_echo_n "(cached) " >&6
37103 else
37104
37105
37106       ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111
37112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h.  */
37114 #include <math.h>
37115 int
37116 main ()
37117 {
37118  _fmodf(0, 0);
37119   ;
37120   return 0;
37121 }
37122 _ACEOF
37123 if ac_fn_cxx_try_compile "$LINENO"; then :
37124   glibcxx_cv_func__fmodf_use=yes
37125 else
37126   glibcxx_cv_func__fmodf_use=no
37127 fi
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129       ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134
37135
37136 fi
37137
37138   fi
37139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37140 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37141
37142     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37143       for ac_func in _fmodf
37144 do :
37145   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37146 if test "x$ac_cv_func__fmodf" = x""yes; then :
37147   cat >>confdefs.h <<_ACEOF
37148 #define HAVE__FMODF 1
37149 _ACEOF
37150
37151 fi
37152 done
37153
37154     fi
37155   fi
37156
37157
37158
37159
37160
37161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37162 $as_echo_n "checking for frexpf declaration... " >&6; }
37163   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37164     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37165   $as_echo_n "(cached) " >&6
37166 else
37167
37168
37169       ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174
37175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h.  */
37177 #include <math.h>
37178 int
37179 main ()
37180 {
37181  frexpf(0, 0);
37182   ;
37183   return 0;
37184 }
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187   glibcxx_cv_func_frexpf_use=yes
37188 else
37189   glibcxx_cv_func_frexpf_use=no
37190 fi
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192       ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37197
37198
37199 fi
37200
37201   fi
37202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37203 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37204
37205   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37206     for ac_func in frexpf
37207 do :
37208   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37209 if test "x$ac_cv_func_frexpf" = x""yes; then :
37210   cat >>confdefs.h <<_ACEOF
37211 #define HAVE_FREXPF 1
37212 _ACEOF
37213
37214 fi
37215 done
37216
37217   else
37218
37219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37220 $as_echo_n "checking for _frexpf declaration... " >&6; }
37221   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37222     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37223   $as_echo_n "(cached) " >&6
37224 else
37225
37226
37227       ac_ext=cpp
37228 ac_cpp='$CXXCPP $CPPFLAGS'
37229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37232
37233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37234 /* end confdefs.h.  */
37235 #include <math.h>
37236 int
37237 main ()
37238 {
37239  _frexpf(0, 0);
37240   ;
37241   return 0;
37242 }
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245   glibcxx_cv_func__frexpf_use=yes
37246 else
37247   glibcxx_cv_func__frexpf_use=no
37248 fi
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37250       ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255
37256
37257 fi
37258
37259   fi
37260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37261 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37262
37263     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37264       for ac_func in _frexpf
37265 do :
37266   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37267 if test "x$ac_cv_func__frexpf" = x""yes; then :
37268   cat >>confdefs.h <<_ACEOF
37269 #define HAVE__FREXPF 1
37270 _ACEOF
37271
37272 fi
37273 done
37274
37275     fi
37276   fi
37277
37278
37279
37280
37281
37282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37283 $as_echo_n "checking for hypotf declaration... " >&6; }
37284   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37285     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37286   $as_echo_n "(cached) " >&6
37287 else
37288
37289
37290       ac_ext=cpp
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295
37296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37297 /* end confdefs.h.  */
37298 #include <math.h>
37299 int
37300 main ()
37301 {
37302  hypotf(0, 0);
37303   ;
37304   return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308   glibcxx_cv_func_hypotf_use=yes
37309 else
37310   glibcxx_cv_func_hypotf_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313       ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322   fi
37323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37324 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37325
37326   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37327     for ac_func in hypotf
37328 do :
37329   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37330 if test "x$ac_cv_func_hypotf" = x""yes; then :
37331   cat >>confdefs.h <<_ACEOF
37332 #define HAVE_HYPOTF 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338   else
37339
37340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37341 $as_echo_n "checking for _hypotf declaration... " >&6; }
37342   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37343     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37344   $as_echo_n "(cached) " >&6
37345 else
37346
37347
37348       ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353
37354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h.  */
37356 #include <math.h>
37357 int
37358 main ()
37359 {
37360  _hypotf(0, 0);
37361   ;
37362   return 0;
37363 }
37364 _ACEOF
37365 if ac_fn_cxx_try_compile "$LINENO"; then :
37366   glibcxx_cv_func__hypotf_use=yes
37367 else
37368   glibcxx_cv_func__hypotf_use=no
37369 fi
37370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371       ac_ext=c
37372 ac_cpp='$CPP $CPPFLAGS'
37373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37376
37377
37378 fi
37379
37380   fi
37381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37382 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37383
37384     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37385       for ac_func in _hypotf
37386 do :
37387   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37388 if test "x$ac_cv_func__hypotf" = x""yes; then :
37389   cat >>confdefs.h <<_ACEOF
37390 #define HAVE__HYPOTF 1
37391 _ACEOF
37392
37393 fi
37394 done
37395
37396     fi
37397   fi
37398
37399
37400
37401
37402
37403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37404 $as_echo_n "checking for ldexpf declaration... " >&6; }
37405   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37406     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37407   $as_echo_n "(cached) " >&6
37408 else
37409
37410
37411       ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416
37417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h.  */
37419 #include <math.h>
37420 int
37421 main ()
37422 {
37423  ldexpf(0, 0);
37424   ;
37425   return 0;
37426 }
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429   glibcxx_cv_func_ldexpf_use=yes
37430 else
37431   glibcxx_cv_func_ldexpf_use=no
37432 fi
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434       ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37439
37440
37441 fi
37442
37443   fi
37444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37445 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37446
37447   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37448     for ac_func in ldexpf
37449 do :
37450   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37451 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37452   cat >>confdefs.h <<_ACEOF
37453 #define HAVE_LDEXPF 1
37454 _ACEOF
37455
37456 fi
37457 done
37458
37459   else
37460
37461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37462 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37463   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37464     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37465   $as_echo_n "(cached) " >&6
37466 else
37467
37468
37469       ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474
37475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h.  */
37477 #include <math.h>
37478 int
37479 main ()
37480 {
37481  _ldexpf(0, 0);
37482   ;
37483   return 0;
37484 }
37485 _ACEOF
37486 if ac_fn_cxx_try_compile "$LINENO"; then :
37487   glibcxx_cv_func__ldexpf_use=yes
37488 else
37489   glibcxx_cv_func__ldexpf_use=no
37490 fi
37491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492       ac_ext=c
37493 ac_cpp='$CPP $CPPFLAGS'
37494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497
37498
37499 fi
37500
37501   fi
37502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37503 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37504
37505     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37506       for ac_func in _ldexpf
37507 do :
37508   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37509 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37510   cat >>confdefs.h <<_ACEOF
37511 #define HAVE__LDEXPF 1
37512 _ACEOF
37513
37514 fi
37515 done
37516
37517     fi
37518   fi
37519
37520
37521
37522
37523
37524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37525 $as_echo_n "checking for logf declaration... " >&6; }
37526   if test x${glibcxx_cv_func_logf_use+set} != xset; then
37527     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37528   $as_echo_n "(cached) " >&6
37529 else
37530
37531
37532       ac_ext=cpp
37533 ac_cpp='$CXXCPP $CPPFLAGS'
37534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537
37538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37539 /* end confdefs.h.  */
37540 #include <math.h>
37541                       #ifdef HAVE_IEEEFP_H
37542                       #include <ieeefp.h>
37543                       #endif
37544
37545 int
37546 main ()
37547 {
37548  logf(0);
37549   ;
37550   return 0;
37551 }
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554   glibcxx_cv_func_logf_use=yes
37555 else
37556   glibcxx_cv_func_logf_use=no
37557 fi
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559       ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564
37565
37566 fi
37567
37568   fi
37569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37570 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37571
37572   if test x$glibcxx_cv_func_logf_use = x"yes"; then
37573     for ac_func in logf
37574 do :
37575   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37576 if test "x$ac_cv_func_logf" = x""yes; then :
37577   cat >>confdefs.h <<_ACEOF
37578 #define HAVE_LOGF 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584   else
37585
37586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37587 $as_echo_n "checking for _logf declaration... " >&6; }
37588   if test x${glibcxx_cv_func__logf_use+set} != xset; then
37589     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37590   $as_echo_n "(cached) " >&6
37591 else
37592
37593
37594       ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599
37600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h.  */
37602 #include <math.h>
37603                       #ifdef HAVE_IEEEFP_H
37604                       #include <ieeefp.h>
37605                       #endif
37606
37607 int
37608 main ()
37609 {
37610  _logf(0);
37611   ;
37612   return 0;
37613 }
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616   glibcxx_cv_func__logf_use=yes
37617 else
37618   glibcxx_cv_func__logf_use=no
37619 fi
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621       ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37626
37627
37628 fi
37629
37630   fi
37631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37632 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37633
37634     if test x$glibcxx_cv_func__logf_use = x"yes"; then
37635       for ac_func in _logf
37636 do :
37637   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37638 if test "x$ac_cv_func__logf" = x""yes; then :
37639   cat >>confdefs.h <<_ACEOF
37640 #define HAVE__LOGF 1
37641 _ACEOF
37642
37643 fi
37644 done
37645
37646     fi
37647   fi
37648
37649
37650
37651
37652
37653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37654 $as_echo_n "checking for log10f declaration... " >&6; }
37655   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37656     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37657   $as_echo_n "(cached) " >&6
37658 else
37659
37660
37661       ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h.  */
37669 #include <math.h>
37670                       #ifdef HAVE_IEEEFP_H
37671                       #include <ieeefp.h>
37672                       #endif
37673
37674 int
37675 main ()
37676 {
37677  log10f(0);
37678   ;
37679   return 0;
37680 }
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683   glibcxx_cv_func_log10f_use=yes
37684 else
37685   glibcxx_cv_func_log10f_use=no
37686 fi
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688       ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693
37694
37695 fi
37696
37697   fi
37698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37699 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37700
37701   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37702     for ac_func in log10f
37703 do :
37704   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37705 if test "x$ac_cv_func_log10f" = x""yes; then :
37706   cat >>confdefs.h <<_ACEOF
37707 #define HAVE_LOG10F 1
37708 _ACEOF
37709
37710 fi
37711 done
37712
37713   else
37714
37715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37716 $as_echo_n "checking for _log10f declaration... " >&6; }
37717   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37718     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37719   $as_echo_n "(cached) " >&6
37720 else
37721
37722
37723       ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728
37729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h.  */
37731 #include <math.h>
37732                       #ifdef HAVE_IEEEFP_H
37733                       #include <ieeefp.h>
37734                       #endif
37735
37736 int
37737 main ()
37738 {
37739  _log10f(0);
37740   ;
37741   return 0;
37742 }
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745   glibcxx_cv_func__log10f_use=yes
37746 else
37747   glibcxx_cv_func__log10f_use=no
37748 fi
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750       ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755
37756
37757 fi
37758
37759   fi
37760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37761 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37762
37763     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37764       for ac_func in _log10f
37765 do :
37766   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37767 if test "x$ac_cv_func__log10f" = x""yes; then :
37768   cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LOG10F 1
37770 _ACEOF
37771
37772 fi
37773 done
37774
37775     fi
37776   fi
37777
37778
37779
37780
37781
37782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37783 $as_echo_n "checking for modff declaration... " >&6; }
37784   if test x${glibcxx_cv_func_modff_use+set} != xset; then
37785     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37786   $as_echo_n "(cached) " >&6
37787 else
37788
37789
37790       ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795
37796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h.  */
37798 #include <math.h>
37799 int
37800 main ()
37801 {
37802  modff(0, 0);
37803   ;
37804   return 0;
37805 }
37806 _ACEOF
37807 if ac_fn_cxx_try_compile "$LINENO"; then :
37808   glibcxx_cv_func_modff_use=yes
37809 else
37810   glibcxx_cv_func_modff_use=no
37811 fi
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813       ac_ext=c
37814 ac_cpp='$CPP $CPPFLAGS'
37815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37818
37819
37820 fi
37821
37822   fi
37823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37824 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37825
37826   if test x$glibcxx_cv_func_modff_use = x"yes"; then
37827     for ac_func in modff
37828 do :
37829   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37830 if test "x$ac_cv_func_modff" = x""yes; then :
37831   cat >>confdefs.h <<_ACEOF
37832 #define HAVE_MODFF 1
37833 _ACEOF
37834
37835 fi
37836 done
37837
37838   else
37839
37840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37841 $as_echo_n "checking for _modff declaration... " >&6; }
37842   if test x${glibcxx_cv_func__modff_use+set} != xset; then
37843     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37844   $as_echo_n "(cached) " >&6
37845 else
37846
37847
37848       ac_ext=cpp
37849 ac_cpp='$CXXCPP $CPPFLAGS'
37850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853
37854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37855 /* end confdefs.h.  */
37856 #include <math.h>
37857 int
37858 main ()
37859 {
37860  _modff(0, 0);
37861   ;
37862   return 0;
37863 }
37864 _ACEOF
37865 if ac_fn_cxx_try_compile "$LINENO"; then :
37866   glibcxx_cv_func__modff_use=yes
37867 else
37868   glibcxx_cv_func__modff_use=no
37869 fi
37870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37871       ac_ext=c
37872 ac_cpp='$CPP $CPPFLAGS'
37873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37876
37877
37878 fi
37879
37880   fi
37881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37882 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37883
37884     if test x$glibcxx_cv_func__modff_use = x"yes"; then
37885       for ac_func in _modff
37886 do :
37887   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37888 if test "x$ac_cv_func__modff" = x""yes; then :
37889   cat >>confdefs.h <<_ACEOF
37890 #define HAVE__MODFF 1
37891 _ACEOF
37892
37893 fi
37894 done
37895
37896     fi
37897   fi
37898
37899
37900
37901
37902
37903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37904 $as_echo_n "checking for modf declaration... " >&6; }
37905   if test x${glibcxx_cv_func_modf_use+set} != xset; then
37906     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37907   $as_echo_n "(cached) " >&6
37908 else
37909
37910
37911       ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916
37917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918 /* end confdefs.h.  */
37919 #include <math.h>
37920 int
37921 main ()
37922 {
37923  modf(0, 0);
37924   ;
37925   return 0;
37926 }
37927 _ACEOF
37928 if ac_fn_cxx_try_compile "$LINENO"; then :
37929   glibcxx_cv_func_modf_use=yes
37930 else
37931   glibcxx_cv_func_modf_use=no
37932 fi
37933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37934       ac_ext=c
37935 ac_cpp='$CPP $CPPFLAGS'
37936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37939
37940
37941 fi
37942
37943   fi
37944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37945 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37946
37947   if test x$glibcxx_cv_func_modf_use = x"yes"; then
37948     for ac_func in modf
37949 do :
37950   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37951 if test "x$ac_cv_func_modf" = x""yes; then :
37952   cat >>confdefs.h <<_ACEOF
37953 #define HAVE_MODF 1
37954 _ACEOF
37955
37956 fi
37957 done
37958
37959   else
37960
37961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37962 $as_echo_n "checking for _modf declaration... " >&6; }
37963   if test x${glibcxx_cv_func__modf_use+set} != xset; then
37964     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37965   $as_echo_n "(cached) " >&6
37966 else
37967
37968
37969       ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974
37975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h.  */
37977 #include <math.h>
37978 int
37979 main ()
37980 {
37981  _modf(0, 0);
37982   ;
37983   return 0;
37984 }
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987   glibcxx_cv_func__modf_use=yes
37988 else
37989   glibcxx_cv_func__modf_use=no
37990 fi
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992       ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997
37998
37999 fi
38000
38001   fi
38002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38003 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38004
38005     if test x$glibcxx_cv_func__modf_use = x"yes"; then
38006       for ac_func in _modf
38007 do :
38008   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38009 if test "x$ac_cv_func__modf" = x""yes; then :
38010   cat >>confdefs.h <<_ACEOF
38011 #define HAVE__MODF 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017     fi
38018   fi
38019
38020
38021
38022
38023
38024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38025 $as_echo_n "checking for powf declaration... " >&6; }
38026   if test x${glibcxx_cv_func_powf_use+set} != xset; then
38027     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38028   $as_echo_n "(cached) " >&6
38029 else
38030
38031
38032       ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037
38038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h.  */
38040 #include <math.h>
38041 int
38042 main ()
38043 {
38044  powf(0, 0);
38045   ;
38046   return 0;
38047 }
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050   glibcxx_cv_func_powf_use=yes
38051 else
38052   glibcxx_cv_func_powf_use=no
38053 fi
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055       ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063
38064   fi
38065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38066 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38067
38068   if test x$glibcxx_cv_func_powf_use = x"yes"; then
38069     for ac_func in powf
38070 do :
38071   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38072 if test "x$ac_cv_func_powf" = x""yes; then :
38073   cat >>confdefs.h <<_ACEOF
38074 #define HAVE_POWF 1
38075 _ACEOF
38076
38077 fi
38078 done
38079
38080   else
38081
38082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38083 $as_echo_n "checking for _powf declaration... " >&6; }
38084   if test x${glibcxx_cv_func__powf_use+set} != xset; then
38085     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38086   $as_echo_n "(cached) " >&6
38087 else
38088
38089
38090       ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095
38096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h.  */
38098 #include <math.h>
38099 int
38100 main ()
38101 {
38102  _powf(0, 0);
38103   ;
38104   return 0;
38105 }
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108   glibcxx_cv_func__powf_use=yes
38109 else
38110   glibcxx_cv_func__powf_use=no
38111 fi
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113       ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38118
38119
38120 fi
38121
38122   fi
38123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38124 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38125
38126     if test x$glibcxx_cv_func__powf_use = x"yes"; then
38127       for ac_func in _powf
38128 do :
38129   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38130 if test "x$ac_cv_func__powf" = x""yes; then :
38131   cat >>confdefs.h <<_ACEOF
38132 #define HAVE__POWF 1
38133 _ACEOF
38134
38135 fi
38136 done
38137
38138     fi
38139   fi
38140
38141
38142
38143
38144
38145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38146 $as_echo_n "checking for sqrtf declaration... " >&6; }
38147   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38148     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38149   $as_echo_n "(cached) " >&6
38150 else
38151
38152
38153       ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158
38159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h.  */
38161 #include <math.h>
38162                       #ifdef HAVE_IEEEFP_H
38163                       #include <ieeefp.h>
38164                       #endif
38165
38166 int
38167 main ()
38168 {
38169  sqrtf(0);
38170   ;
38171   return 0;
38172 }
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175   glibcxx_cv_func_sqrtf_use=yes
38176 else
38177   glibcxx_cv_func_sqrtf_use=no
38178 fi
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180       ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38185
38186
38187 fi
38188
38189   fi
38190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38191 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38192
38193   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38194     for ac_func in sqrtf
38195 do :
38196   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38197 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38198   cat >>confdefs.h <<_ACEOF
38199 #define HAVE_SQRTF 1
38200 _ACEOF
38201
38202 fi
38203 done
38204
38205   else
38206
38207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38208 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38209   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38210     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38211   $as_echo_n "(cached) " >&6
38212 else
38213
38214
38215       ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220
38221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h.  */
38223 #include <math.h>
38224                       #ifdef HAVE_IEEEFP_H
38225                       #include <ieeefp.h>
38226                       #endif
38227
38228 int
38229 main ()
38230 {
38231  _sqrtf(0);
38232   ;
38233   return 0;
38234 }
38235 _ACEOF
38236 if ac_fn_cxx_try_compile "$LINENO"; then :
38237   glibcxx_cv_func__sqrtf_use=yes
38238 else
38239   glibcxx_cv_func__sqrtf_use=no
38240 fi
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242       ac_ext=c
38243 ac_cpp='$CPP $CPPFLAGS'
38244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247
38248
38249 fi
38250
38251   fi
38252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38253 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38254
38255     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38256       for ac_func in _sqrtf
38257 do :
38258   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38259 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38260   cat >>confdefs.h <<_ACEOF
38261 #define HAVE__SQRTF 1
38262 _ACEOF
38263
38264 fi
38265 done
38266
38267     fi
38268   fi
38269
38270
38271
38272
38273
38274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38275 $as_echo_n "checking for sincosf declaration... " >&6; }
38276   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38277     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38278   $as_echo_n "(cached) " >&6
38279 else
38280
38281
38282       ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287
38288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h.  */
38290 #include <math.h>
38291 int
38292 main ()
38293 {
38294  sincosf(0, 0, 0);
38295   ;
38296   return 0;
38297 }
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300   glibcxx_cv_func_sincosf_use=yes
38301 else
38302   glibcxx_cv_func_sincosf_use=no
38303 fi
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305       ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38310
38311
38312 fi
38313
38314   fi
38315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38316 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38317
38318   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38319     for ac_func in sincosf
38320 do :
38321   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38322 if test "x$ac_cv_func_sincosf" = x""yes; then :
38323   cat >>confdefs.h <<_ACEOF
38324 #define HAVE_SINCOSF 1
38325 _ACEOF
38326
38327 fi
38328 done
38329
38330   else
38331
38332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38333 $as_echo_n "checking for _sincosf declaration... " >&6; }
38334   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38335     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38336   $as_echo_n "(cached) " >&6
38337 else
38338
38339
38340       ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38345
38346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h.  */
38348 #include <math.h>
38349 int
38350 main ()
38351 {
38352  _sincosf(0, 0, 0);
38353   ;
38354   return 0;
38355 }
38356 _ACEOF
38357 if ac_fn_cxx_try_compile "$LINENO"; then :
38358   glibcxx_cv_func__sincosf_use=yes
38359 else
38360   glibcxx_cv_func__sincosf_use=no
38361 fi
38362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38363       ac_ext=c
38364 ac_cpp='$CPP $CPPFLAGS'
38365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38368
38369
38370 fi
38371
38372   fi
38373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38374 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38375
38376     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38377       for ac_func in _sincosf
38378 do :
38379   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38380 if test "x$ac_cv_func__sincosf" = x""yes; then :
38381   cat >>confdefs.h <<_ACEOF
38382 #define HAVE__SINCOSF 1
38383 _ACEOF
38384
38385 fi
38386 done
38387
38388     fi
38389   fi
38390
38391
38392
38393
38394
38395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38396 $as_echo_n "checking for finitef declaration... " >&6; }
38397   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38398     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38399   $as_echo_n "(cached) " >&6
38400 else
38401
38402
38403       ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408
38409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h.  */
38411 #include <math.h>
38412                       #ifdef HAVE_IEEEFP_H
38413                       #include <ieeefp.h>
38414                       #endif
38415
38416 int
38417 main ()
38418 {
38419  finitef(0);
38420   ;
38421   return 0;
38422 }
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425   glibcxx_cv_func_finitef_use=yes
38426 else
38427   glibcxx_cv_func_finitef_use=no
38428 fi
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430       ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435
38436
38437 fi
38438
38439   fi
38440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38441 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38442
38443   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38444     for ac_func in finitef
38445 do :
38446   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38447 if test "x$ac_cv_func_finitef" = x""yes; then :
38448   cat >>confdefs.h <<_ACEOF
38449 #define HAVE_FINITEF 1
38450 _ACEOF
38451
38452 fi
38453 done
38454
38455   else
38456
38457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38458 $as_echo_n "checking for _finitef declaration... " >&6; }
38459   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38460     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38461   $as_echo_n "(cached) " >&6
38462 else
38463
38464
38465       ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470
38471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h.  */
38473 #include <math.h>
38474                       #ifdef HAVE_IEEEFP_H
38475                       #include <ieeefp.h>
38476                       #endif
38477
38478 int
38479 main ()
38480 {
38481  _finitef(0);
38482   ;
38483   return 0;
38484 }
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487   glibcxx_cv_func__finitef_use=yes
38488 else
38489   glibcxx_cv_func__finitef_use=no
38490 fi
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492       ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500
38501   fi
38502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38503 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38504
38505     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38506       for ac_func in _finitef
38507 do :
38508   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38509 if test "x$ac_cv_func__finitef" = x""yes; then :
38510   cat >>confdefs.h <<_ACEOF
38511 #define HAVE__FINITEF 1
38512 _ACEOF
38513
38514 fi
38515 done
38516
38517     fi
38518   fi
38519
38520
38521
38522
38523
38524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38525 $as_echo_n "checking for long double trig functions... " >&6; }
38526   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38527   $as_echo_n "(cached) " >&6
38528 else
38529
38530
38531     ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536
38537     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h.  */
38539 #include <math.h>
38540 int
38541 main ()
38542 {
38543 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38544   ;
38545   return 0;
38546 }
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549   glibcxx_cv_func_long_double_trig_use=yes
38550 else
38551   glibcxx_cv_func_long_double_trig_use=no
38552 fi
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554     ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559
38560 fi
38561
38562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38563 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38564   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38565     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38566 do :
38567   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38569 eval as_val=\$$as_ac_var
38570    if test "x$as_val" = x""yes; then :
38571   cat >>confdefs.h <<_ACEOF
38572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575 fi
38576 done
38577
38578   else
38579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38580 $as_echo_n "checking for _long double trig functions... " >&6; }
38581     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38582   $as_echo_n "(cached) " >&6
38583 else
38584
38585
38586       ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591
38592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h.  */
38594 #include <math.h>
38595 int
38596 main ()
38597 {
38598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38599   ;
38600   return 0;
38601 }
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604   glibcxx_cv_func__long_double_trig_use=yes
38605 else
38606   glibcxx_cv_func__long_double_trig_use=no
38607 fi
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609       ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615 fi
38616
38617     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38619     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38620       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38621 do :
38622   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38624 eval as_val=\$$as_ac_var
38625    if test "x$as_val" = x""yes; then :
38626   cat >>confdefs.h <<_ACEOF
38627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38628 _ACEOF
38629
38630 fi
38631 done
38632
38633     fi
38634   fi
38635
38636
38637
38638
38639
38640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38641 $as_echo_n "checking for long double round functions... " >&6; }
38642   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38643   $as_echo_n "(cached) " >&6
38644 else
38645
38646
38647     ac_ext=cpp
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652
38653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38654 /* end confdefs.h.  */
38655 #include <math.h>
38656 int
38657 main ()
38658 {
38659 ceill (0); floorl (0);
38660   ;
38661   return 0;
38662 }
38663 _ACEOF
38664 if ac_fn_cxx_try_compile "$LINENO"; then :
38665   glibcxx_cv_func_long_double_round_use=yes
38666 else
38667   glibcxx_cv_func_long_double_round_use=no
38668 fi
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670     ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38675
38676 fi
38677
38678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38679 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38680   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38681     for ac_func in ceill floorl
38682 do :
38683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38685 eval as_val=\$$as_ac_var
38686    if test "x$as_val" = x""yes; then :
38687   cat >>confdefs.h <<_ACEOF
38688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 _ACEOF
38690
38691 fi
38692 done
38693
38694   else
38695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38696 $as_echo_n "checking for _long double round functions... " >&6; }
38697     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38698   $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702       ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h.  */
38710 #include <math.h>
38711 int
38712 main ()
38713 {
38714 _ceill (0); _floorl (0);
38715   ;
38716   return 0;
38717 }
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720   glibcxx_cv_func__long_double_round_use=yes
38721 else
38722   glibcxx_cv_func__long_double_round_use=no
38723 fi
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725       ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38730
38731 fi
38732
38733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38734 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38735     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38736       for ac_func in _ceill _floorl
38737 do :
38738   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38740 eval as_val=\$$as_ac_var
38741    if test "x$as_val" = x""yes; then :
38742   cat >>confdefs.h <<_ACEOF
38743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38744 _ACEOF
38745
38746 fi
38747 done
38748
38749     fi
38750   fi
38751
38752
38753
38754
38755
38756
38757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38758 $as_echo_n "checking for isnanl declaration... " >&6; }
38759   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38760     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38761   $as_echo_n "(cached) " >&6
38762 else
38763
38764
38765       ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770
38771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h.  */
38773 #include <math.h>
38774                       #ifdef HAVE_IEEEFP_H
38775                       #include <ieeefp.h>
38776                       #endif
38777
38778 int
38779 main ()
38780 {
38781  isnanl(0);
38782   ;
38783   return 0;
38784 }
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787   glibcxx_cv_func_isnanl_use=yes
38788 else
38789   glibcxx_cv_func_isnanl_use=no
38790 fi
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792       ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38797
38798
38799 fi
38800
38801   fi
38802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38803 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38804
38805   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38806     for ac_func in isnanl
38807 do :
38808   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38809 if test "x$ac_cv_func_isnanl" = x""yes; then :
38810   cat >>confdefs.h <<_ACEOF
38811 #define HAVE_ISNANL 1
38812 _ACEOF
38813
38814 fi
38815 done
38816
38817   else
38818
38819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38820 $as_echo_n "checking for _isnanl declaration... " >&6; }
38821   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38822     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38823   $as_echo_n "(cached) " >&6
38824 else
38825
38826
38827       ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832
38833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h.  */
38835 #include <math.h>
38836                       #ifdef HAVE_IEEEFP_H
38837                       #include <ieeefp.h>
38838                       #endif
38839
38840 int
38841 main ()
38842 {
38843  _isnanl(0);
38844   ;
38845   return 0;
38846 }
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849   glibcxx_cv_func__isnanl_use=yes
38850 else
38851   glibcxx_cv_func__isnanl_use=no
38852 fi
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854       ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38859
38860
38861 fi
38862
38863   fi
38864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38865 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38866
38867     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38868       for ac_func in _isnanl
38869 do :
38870   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38871 if test "x$ac_cv_func__isnanl" = x""yes; then :
38872   cat >>confdefs.h <<_ACEOF
38873 #define HAVE__ISNANL 1
38874 _ACEOF
38875
38876 fi
38877 done
38878
38879     fi
38880   fi
38881
38882
38883
38884
38885
38886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38887 $as_echo_n "checking for isinfl declaration... " >&6; }
38888   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38889     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38890   $as_echo_n "(cached) " >&6
38891 else
38892
38893
38894       ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899
38900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h.  */
38902 #include <math.h>
38903                       #ifdef HAVE_IEEEFP_H
38904                       #include <ieeefp.h>
38905                       #endif
38906
38907 int
38908 main ()
38909 {
38910  isinfl(0);
38911   ;
38912   return 0;
38913 }
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916   glibcxx_cv_func_isinfl_use=yes
38917 else
38918   glibcxx_cv_func_isinfl_use=no
38919 fi
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921       ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926
38927
38928 fi
38929
38930   fi
38931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38932 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38933
38934   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38935     for ac_func in isinfl
38936 do :
38937   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38938 if test "x$ac_cv_func_isinfl" = x""yes; then :
38939   cat >>confdefs.h <<_ACEOF
38940 #define HAVE_ISINFL 1
38941 _ACEOF
38942
38943 fi
38944 done
38945
38946   else
38947
38948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38949 $as_echo_n "checking for _isinfl declaration... " >&6; }
38950   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38951     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38952   $as_echo_n "(cached) " >&6
38953 else
38954
38955
38956       ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961
38962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h.  */
38964 #include <math.h>
38965                       #ifdef HAVE_IEEEFP_H
38966                       #include <ieeefp.h>
38967                       #endif
38968
38969 int
38970 main ()
38971 {
38972  _isinfl(0);
38973   ;
38974   return 0;
38975 }
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978   glibcxx_cv_func__isinfl_use=yes
38979 else
38980   glibcxx_cv_func__isinfl_use=no
38981 fi
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983       ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988
38989
38990 fi
38991
38992   fi
38993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38994 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38995
38996     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38997       for ac_func in _isinfl
38998 do :
38999   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39000 if test "x$ac_cv_func__isinfl" = x""yes; then :
39001   cat >>confdefs.h <<_ACEOF
39002 #define HAVE__ISINFL 1
39003 _ACEOF
39004
39005 fi
39006 done
39007
39008     fi
39009   fi
39010
39011
39012
39013
39014
39015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39016 $as_echo_n "checking for atan2l declaration... " >&6; }
39017   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39018     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39019   $as_echo_n "(cached) " >&6
39020 else
39021
39022
39023       ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028
39029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h.  */
39031 #include <math.h>
39032 int
39033 main ()
39034 {
39035  atan2l(0, 0);
39036   ;
39037   return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041   glibcxx_cv_func_atan2l_use=yes
39042 else
39043   glibcxx_cv_func_atan2l_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046       ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055   fi
39056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39057 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39058
39059   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39060     for ac_func in atan2l
39061 do :
39062   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39063 if test "x$ac_cv_func_atan2l" = x""yes; then :
39064   cat >>confdefs.h <<_ACEOF
39065 #define HAVE_ATAN2L 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071   else
39072
39073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39074 $as_echo_n "checking for _atan2l declaration... " >&6; }
39075   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39076     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39077   $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081       ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h.  */
39089 #include <math.h>
39090 int
39091 main ()
39092 {
39093  _atan2l(0, 0);
39094   ;
39095   return 0;
39096 }
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099   glibcxx_cv_func__atan2l_use=yes
39100 else
39101   glibcxx_cv_func__atan2l_use=no
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104       ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39109
39110
39111 fi
39112
39113   fi
39114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39115 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39116
39117     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39118       for ac_func in _atan2l
39119 do :
39120   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39121 if test "x$ac_cv_func__atan2l" = x""yes; then :
39122   cat >>confdefs.h <<_ACEOF
39123 #define HAVE__ATAN2L 1
39124 _ACEOF
39125
39126 fi
39127 done
39128
39129     fi
39130   fi
39131
39132
39133
39134
39135
39136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39137 $as_echo_n "checking for expl declaration... " >&6; }
39138   if test x${glibcxx_cv_func_expl_use+set} != xset; then
39139     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39140   $as_echo_n "(cached) " >&6
39141 else
39142
39143
39144       ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149
39150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h.  */
39152 #include <math.h>
39153                       #ifdef HAVE_IEEEFP_H
39154                       #include <ieeefp.h>
39155                       #endif
39156
39157 int
39158 main ()
39159 {
39160  expl(0);
39161   ;
39162   return 0;
39163 }
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166   glibcxx_cv_func_expl_use=yes
39167 else
39168   glibcxx_cv_func_expl_use=no
39169 fi
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171       ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39176
39177
39178 fi
39179
39180   fi
39181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39182 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39183
39184   if test x$glibcxx_cv_func_expl_use = x"yes"; then
39185     for ac_func in expl
39186 do :
39187   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39188 if test "x$ac_cv_func_expl" = x""yes; then :
39189   cat >>confdefs.h <<_ACEOF
39190 #define HAVE_EXPL 1
39191 _ACEOF
39192
39193 fi
39194 done
39195
39196   else
39197
39198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39199 $as_echo_n "checking for _expl declaration... " >&6; }
39200   if test x${glibcxx_cv_func__expl_use+set} != xset; then
39201     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39202   $as_echo_n "(cached) " >&6
39203 else
39204
39205
39206       ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211
39212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h.  */
39214 #include <math.h>
39215                       #ifdef HAVE_IEEEFP_H
39216                       #include <ieeefp.h>
39217                       #endif
39218
39219 int
39220 main ()
39221 {
39222  _expl(0);
39223   ;
39224   return 0;
39225 }
39226 _ACEOF
39227 if ac_fn_cxx_try_compile "$LINENO"; then :
39228   glibcxx_cv_func__expl_use=yes
39229 else
39230   glibcxx_cv_func__expl_use=no
39231 fi
39232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233       ac_ext=c
39234 ac_cpp='$CPP $CPPFLAGS'
39235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39238
39239
39240 fi
39241
39242   fi
39243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39244 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39245
39246     if test x$glibcxx_cv_func__expl_use = x"yes"; then
39247       for ac_func in _expl
39248 do :
39249   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39250 if test "x$ac_cv_func__expl" = x""yes; then :
39251   cat >>confdefs.h <<_ACEOF
39252 #define HAVE__EXPL 1
39253 _ACEOF
39254
39255 fi
39256 done
39257
39258     fi
39259   fi
39260
39261
39262
39263
39264
39265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39266 $as_echo_n "checking for fabsl declaration... " >&6; }
39267   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39268     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39269   $as_echo_n "(cached) " >&6
39270 else
39271
39272
39273       ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39278
39279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h.  */
39281 #include <math.h>
39282                       #ifdef HAVE_IEEEFP_H
39283                       #include <ieeefp.h>
39284                       #endif
39285
39286 int
39287 main ()
39288 {
39289  fabsl(0);
39290   ;
39291   return 0;
39292 }
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295   glibcxx_cv_func_fabsl_use=yes
39296 else
39297   glibcxx_cv_func_fabsl_use=no
39298 fi
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300       ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39305
39306
39307 fi
39308
39309   fi
39310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39311 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39312
39313   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39314     for ac_func in fabsl
39315 do :
39316   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39317 if test "x$ac_cv_func_fabsl" = x""yes; then :
39318   cat >>confdefs.h <<_ACEOF
39319 #define HAVE_FABSL 1
39320 _ACEOF
39321
39322 fi
39323 done
39324
39325   else
39326
39327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39328 $as_echo_n "checking for _fabsl declaration... " >&6; }
39329   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39330     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39331   $as_echo_n "(cached) " >&6
39332 else
39333
39334
39335       ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39340
39341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h.  */
39343 #include <math.h>
39344                       #ifdef HAVE_IEEEFP_H
39345                       #include <ieeefp.h>
39346                       #endif
39347
39348 int
39349 main ()
39350 {
39351  _fabsl(0);
39352   ;
39353   return 0;
39354 }
39355 _ACEOF
39356 if ac_fn_cxx_try_compile "$LINENO"; then :
39357   glibcxx_cv_func__fabsl_use=yes
39358 else
39359   glibcxx_cv_func__fabsl_use=no
39360 fi
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362       ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39367
39368
39369 fi
39370
39371   fi
39372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39373 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39374
39375     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39376       for ac_func in _fabsl
39377 do :
39378   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39379 if test "x$ac_cv_func__fabsl" = x""yes; then :
39380   cat >>confdefs.h <<_ACEOF
39381 #define HAVE__FABSL 1
39382 _ACEOF
39383
39384 fi
39385 done
39386
39387     fi
39388   fi
39389
39390
39391
39392
39393
39394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39395 $as_echo_n "checking for fmodl declaration... " >&6; }
39396   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39397     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39398   $as_echo_n "(cached) " >&6
39399 else
39400
39401
39402       ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407
39408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h.  */
39410 #include <math.h>
39411 int
39412 main ()
39413 {
39414  fmodl(0, 0);
39415   ;
39416   return 0;
39417 }
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420   glibcxx_cv_func_fmodl_use=yes
39421 else
39422   glibcxx_cv_func_fmodl_use=no
39423 fi
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425       ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39430
39431
39432 fi
39433
39434   fi
39435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39436 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39437
39438   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39439     for ac_func in fmodl
39440 do :
39441   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39442 if test "x$ac_cv_func_fmodl" = x""yes; then :
39443   cat >>confdefs.h <<_ACEOF
39444 #define HAVE_FMODL 1
39445 _ACEOF
39446
39447 fi
39448 done
39449
39450   else
39451
39452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39453 $as_echo_n "checking for _fmodl declaration... " >&6; }
39454   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39455     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39456   $as_echo_n "(cached) " >&6
39457 else
39458
39459
39460       ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465
39466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h.  */
39468 #include <math.h>
39469 int
39470 main ()
39471 {
39472  _fmodl(0, 0);
39473   ;
39474   return 0;
39475 }
39476 _ACEOF
39477 if ac_fn_cxx_try_compile "$LINENO"; then :
39478   glibcxx_cv_func__fmodl_use=yes
39479 else
39480   glibcxx_cv_func__fmodl_use=no
39481 fi
39482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39483       ac_ext=c
39484 ac_cpp='$CPP $CPPFLAGS'
39485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39488
39489
39490 fi
39491
39492   fi
39493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39494 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39495
39496     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39497       for ac_func in _fmodl
39498 do :
39499   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39500 if test "x$ac_cv_func__fmodl" = x""yes; then :
39501   cat >>confdefs.h <<_ACEOF
39502 #define HAVE__FMODL 1
39503 _ACEOF
39504
39505 fi
39506 done
39507
39508     fi
39509   fi
39510
39511
39512
39513
39514
39515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39516 $as_echo_n "checking for frexpl declaration... " >&6; }
39517   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39518     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39519   $as_echo_n "(cached) " >&6
39520 else
39521
39522
39523       ac_ext=cpp
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528
39529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h.  */
39531 #include <math.h>
39532 int
39533 main ()
39534 {
39535  frexpl(0, 0);
39536   ;
39537   return 0;
39538 }
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541   glibcxx_cv_func_frexpl_use=yes
39542 else
39543   glibcxx_cv_func_frexpl_use=no
39544 fi
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546       ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39551
39552
39553 fi
39554
39555   fi
39556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39557 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39558
39559   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39560     for ac_func in frexpl
39561 do :
39562   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39563 if test "x$ac_cv_func_frexpl" = x""yes; then :
39564   cat >>confdefs.h <<_ACEOF
39565 #define HAVE_FREXPL 1
39566 _ACEOF
39567
39568 fi
39569 done
39570
39571   else
39572
39573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39574 $as_echo_n "checking for _frexpl declaration... " >&6; }
39575   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39576     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39577   $as_echo_n "(cached) " >&6
39578 else
39579
39580
39581       ac_ext=cpp
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586
39587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 /* end confdefs.h.  */
39589 #include <math.h>
39590 int
39591 main ()
39592 {
39593  _frexpl(0, 0);
39594   ;
39595   return 0;
39596 }
39597 _ACEOF
39598 if ac_fn_cxx_try_compile "$LINENO"; then :
39599   glibcxx_cv_func__frexpl_use=yes
39600 else
39601   glibcxx_cv_func__frexpl_use=no
39602 fi
39603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39604       ac_ext=c
39605 ac_cpp='$CPP $CPPFLAGS'
39606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39609
39610
39611 fi
39612
39613   fi
39614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39615 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39616
39617     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39618       for ac_func in _frexpl
39619 do :
39620   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39621 if test "x$ac_cv_func__frexpl" = x""yes; then :
39622   cat >>confdefs.h <<_ACEOF
39623 #define HAVE__FREXPL 1
39624 _ACEOF
39625
39626 fi
39627 done
39628
39629     fi
39630   fi
39631
39632
39633
39634
39635
39636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39637 $as_echo_n "checking for hypotl declaration... " >&6; }
39638   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39639     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39640   $as_echo_n "(cached) " >&6
39641 else
39642
39643
39644       ac_ext=cpp
39645 ac_cpp='$CXXCPP $CPPFLAGS'
39646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39649
39650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 /* end confdefs.h.  */
39652 #include <math.h>
39653 int
39654 main ()
39655 {
39656  hypotl(0, 0);
39657   ;
39658   return 0;
39659 }
39660 _ACEOF
39661 if ac_fn_cxx_try_compile "$LINENO"; then :
39662   glibcxx_cv_func_hypotl_use=yes
39663 else
39664   glibcxx_cv_func_hypotl_use=no
39665 fi
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667       ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672
39673
39674 fi
39675
39676   fi
39677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39678 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39679
39680   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39681     for ac_func in hypotl
39682 do :
39683   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39684 if test "x$ac_cv_func_hypotl" = x""yes; then :
39685   cat >>confdefs.h <<_ACEOF
39686 #define HAVE_HYPOTL 1
39687 _ACEOF
39688
39689 fi
39690 done
39691
39692   else
39693
39694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39695 $as_echo_n "checking for _hypotl declaration... " >&6; }
39696   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39697     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39698   $as_echo_n "(cached) " >&6
39699 else
39700
39701
39702       ac_ext=cpp
39703 ac_cpp='$CXXCPP $CPPFLAGS'
39704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707
39708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h.  */
39710 #include <math.h>
39711 int
39712 main ()
39713 {
39714  _hypotl(0, 0);
39715   ;
39716   return 0;
39717 }
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720   glibcxx_cv_func__hypotl_use=yes
39721 else
39722   glibcxx_cv_func__hypotl_use=no
39723 fi
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725       ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730
39731
39732 fi
39733
39734   fi
39735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39736 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39737
39738     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39739       for ac_func in _hypotl
39740 do :
39741   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39742 if test "x$ac_cv_func__hypotl" = x""yes; then :
39743   cat >>confdefs.h <<_ACEOF
39744 #define HAVE__HYPOTL 1
39745 _ACEOF
39746
39747 fi
39748 done
39749
39750     fi
39751   fi
39752
39753
39754
39755
39756
39757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39758 $as_echo_n "checking for ldexpl declaration... " >&6; }
39759   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39760     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39761   $as_echo_n "(cached) " >&6
39762 else
39763
39764
39765       ac_ext=cpp
39766 ac_cpp='$CXXCPP $CPPFLAGS'
39767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770
39771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39772 /* end confdefs.h.  */
39773 #include <math.h>
39774 int
39775 main ()
39776 {
39777  ldexpl(0, 0);
39778   ;
39779   return 0;
39780 }
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783   glibcxx_cv_func_ldexpl_use=yes
39784 else
39785   glibcxx_cv_func_ldexpl_use=no
39786 fi
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788       ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39793
39794
39795 fi
39796
39797   fi
39798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39799 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39800
39801   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39802     for ac_func in ldexpl
39803 do :
39804   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39805 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39806   cat >>confdefs.h <<_ACEOF
39807 #define HAVE_LDEXPL 1
39808 _ACEOF
39809
39810 fi
39811 done
39812
39813   else
39814
39815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39816 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39817   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39818     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39819   $as_echo_n "(cached) " >&6
39820 else
39821
39822
39823       ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828
39829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h.  */
39831 #include <math.h>
39832 int
39833 main ()
39834 {
39835  _ldexpl(0, 0);
39836   ;
39837   return 0;
39838 }
39839 _ACEOF
39840 if ac_fn_cxx_try_compile "$LINENO"; then :
39841   glibcxx_cv_func__ldexpl_use=yes
39842 else
39843   glibcxx_cv_func__ldexpl_use=no
39844 fi
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846       ac_ext=c
39847 ac_cpp='$CPP $CPPFLAGS'
39848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39851
39852
39853 fi
39854
39855   fi
39856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39857 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39858
39859     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39860       for ac_func in _ldexpl
39861 do :
39862   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39863 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39864   cat >>confdefs.h <<_ACEOF
39865 #define HAVE__LDEXPL 1
39866 _ACEOF
39867
39868 fi
39869 done
39870
39871     fi
39872   fi
39873
39874
39875
39876
39877
39878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39879 $as_echo_n "checking for logl declaration... " >&6; }
39880   if test x${glibcxx_cv_func_logl_use+set} != xset; then
39881     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39882   $as_echo_n "(cached) " >&6
39883 else
39884
39885
39886       ac_ext=cpp
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891
39892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h.  */
39894 #include <math.h>
39895                       #ifdef HAVE_IEEEFP_H
39896                       #include <ieeefp.h>
39897                       #endif
39898
39899 int
39900 main ()
39901 {
39902  logl(0);
39903   ;
39904   return 0;
39905 }
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908   glibcxx_cv_func_logl_use=yes
39909 else
39910   glibcxx_cv_func_logl_use=no
39911 fi
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913       ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39918
39919
39920 fi
39921
39922   fi
39923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39925
39926   if test x$glibcxx_cv_func_logl_use = x"yes"; then
39927     for ac_func in logl
39928 do :
39929   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39930 if test "x$ac_cv_func_logl" = x""yes; then :
39931   cat >>confdefs.h <<_ACEOF
39932 #define HAVE_LOGL 1
39933 _ACEOF
39934
39935 fi
39936 done
39937
39938   else
39939
39940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39941 $as_echo_n "checking for _logl declaration... " >&6; }
39942   if test x${glibcxx_cv_func__logl_use+set} != xset; then
39943     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39944   $as_echo_n "(cached) " >&6
39945 else
39946
39947
39948       ac_ext=cpp
39949 ac_cpp='$CXXCPP $CPPFLAGS'
39950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953
39954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39955 /* end confdefs.h.  */
39956 #include <math.h>
39957                       #ifdef HAVE_IEEEFP_H
39958                       #include <ieeefp.h>
39959                       #endif
39960
39961 int
39962 main ()
39963 {
39964  _logl(0);
39965   ;
39966   return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970   glibcxx_cv_func__logl_use=yes
39971 else
39972   glibcxx_cv_func__logl_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975       ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984   fi
39985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39986 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39987
39988     if test x$glibcxx_cv_func__logl_use = x"yes"; then
39989       for ac_func in _logl
39990 do :
39991   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39992 if test "x$ac_cv_func__logl" = x""yes; then :
39993   cat >>confdefs.h <<_ACEOF
39994 #define HAVE__LOGL 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000     fi
40001   fi
40002
40003
40004
40005
40006
40007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40008 $as_echo_n "checking for log10l declaration... " >&6; }
40009   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40010     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40011   $as_echo_n "(cached) " >&6
40012 else
40013
40014
40015       ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020
40021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h.  */
40023 #include <math.h>
40024                       #ifdef HAVE_IEEEFP_H
40025                       #include <ieeefp.h>
40026                       #endif
40027
40028 int
40029 main ()
40030 {
40031  log10l(0);
40032   ;
40033   return 0;
40034 }
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037   glibcxx_cv_func_log10l_use=yes
40038 else
40039   glibcxx_cv_func_log10l_use=no
40040 fi
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042       ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40047
40048
40049 fi
40050
40051   fi
40052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40053 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40054
40055   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40056     for ac_func in log10l
40057 do :
40058   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40059 if test "x$ac_cv_func_log10l" = x""yes; then :
40060   cat >>confdefs.h <<_ACEOF
40061 #define HAVE_LOG10L 1
40062 _ACEOF
40063
40064 fi
40065 done
40066
40067   else
40068
40069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40070 $as_echo_n "checking for _log10l declaration... " >&6; }
40071   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40072     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40073   $as_echo_n "(cached) " >&6
40074 else
40075
40076
40077       ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082
40083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h.  */
40085 #include <math.h>
40086                       #ifdef HAVE_IEEEFP_H
40087                       #include <ieeefp.h>
40088                       #endif
40089
40090 int
40091 main ()
40092 {
40093  _log10l(0);
40094   ;
40095   return 0;
40096 }
40097 _ACEOF
40098 if ac_fn_cxx_try_compile "$LINENO"; then :
40099   glibcxx_cv_func__log10l_use=yes
40100 else
40101   glibcxx_cv_func__log10l_use=no
40102 fi
40103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40104       ac_ext=c
40105 ac_cpp='$CPP $CPPFLAGS'
40106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40109
40110
40111 fi
40112
40113   fi
40114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40115 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40116
40117     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40118       for ac_func in _log10l
40119 do :
40120   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40121 if test "x$ac_cv_func__log10l" = x""yes; then :
40122   cat >>confdefs.h <<_ACEOF
40123 #define HAVE__LOG10L 1
40124 _ACEOF
40125
40126 fi
40127 done
40128
40129     fi
40130   fi
40131
40132
40133
40134
40135
40136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40137 $as_echo_n "checking for modfl declaration... " >&6; }
40138   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40139     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40140   $as_echo_n "(cached) " >&6
40141 else
40142
40143
40144       ac_ext=cpp
40145 ac_cpp='$CXXCPP $CPPFLAGS'
40146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40149
40150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h.  */
40152 #include <math.h>
40153 int
40154 main ()
40155 {
40156  modfl(0, 0);
40157   ;
40158   return 0;
40159 }
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162   glibcxx_cv_func_modfl_use=yes
40163 else
40164   glibcxx_cv_func_modfl_use=no
40165 fi
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167       ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40172
40173
40174 fi
40175
40176   fi
40177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40178 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40179
40180   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40181     for ac_func in modfl
40182 do :
40183   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40184 if test "x$ac_cv_func_modfl" = x""yes; then :
40185   cat >>confdefs.h <<_ACEOF
40186 #define HAVE_MODFL 1
40187 _ACEOF
40188
40189 fi
40190 done
40191
40192   else
40193
40194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40195 $as_echo_n "checking for _modfl declaration... " >&6; }
40196   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40197     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40198   $as_echo_n "(cached) " >&6
40199 else
40200
40201
40202       ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207
40208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h.  */
40210 #include <math.h>
40211 int
40212 main ()
40213 {
40214  _modfl(0, 0);
40215   ;
40216   return 0;
40217 }
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220   glibcxx_cv_func__modfl_use=yes
40221 else
40222   glibcxx_cv_func__modfl_use=no
40223 fi
40224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40225       ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230
40231
40232 fi
40233
40234   fi
40235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40236 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40237
40238     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40239       for ac_func in _modfl
40240 do :
40241   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40242 if test "x$ac_cv_func__modfl" = x""yes; then :
40243   cat >>confdefs.h <<_ACEOF
40244 #define HAVE__MODFL 1
40245 _ACEOF
40246
40247 fi
40248 done
40249
40250     fi
40251   fi
40252
40253
40254
40255
40256
40257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40258 $as_echo_n "checking for powl declaration... " >&6; }
40259   if test x${glibcxx_cv_func_powl_use+set} != xset; then
40260     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40261   $as_echo_n "(cached) " >&6
40262 else
40263
40264
40265       ac_ext=cpp
40266 ac_cpp='$CXXCPP $CPPFLAGS'
40267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40270
40271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40272 /* end confdefs.h.  */
40273 #include <math.h>
40274 int
40275 main ()
40276 {
40277  powl(0, 0);
40278   ;
40279   return 0;
40280 }
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283   glibcxx_cv_func_powl_use=yes
40284 else
40285   glibcxx_cv_func_powl_use=no
40286 fi
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40288       ac_ext=c
40289 ac_cpp='$CPP $CPPFLAGS'
40290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40293
40294
40295 fi
40296
40297   fi
40298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40299 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40300
40301   if test x$glibcxx_cv_func_powl_use = x"yes"; then
40302     for ac_func in powl
40303 do :
40304   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40305 if test "x$ac_cv_func_powl" = x""yes; then :
40306   cat >>confdefs.h <<_ACEOF
40307 #define HAVE_POWL 1
40308 _ACEOF
40309
40310 fi
40311 done
40312
40313   else
40314
40315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40316 $as_echo_n "checking for _powl declaration... " >&6; }
40317   if test x${glibcxx_cv_func__powl_use+set} != xset; then
40318     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40319   $as_echo_n "(cached) " >&6
40320 else
40321
40322
40323       ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328
40329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h.  */
40331 #include <math.h>
40332 int
40333 main ()
40334 {
40335  _powl(0, 0);
40336   ;
40337   return 0;
40338 }
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341   glibcxx_cv_func__powl_use=yes
40342 else
40343   glibcxx_cv_func__powl_use=no
40344 fi
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346       ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351
40352
40353 fi
40354
40355   fi
40356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40357 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40358
40359     if test x$glibcxx_cv_func__powl_use = x"yes"; then
40360       for ac_func in _powl
40361 do :
40362   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40363 if test "x$ac_cv_func__powl" = x""yes; then :
40364   cat >>confdefs.h <<_ACEOF
40365 #define HAVE__POWL 1
40366 _ACEOF
40367
40368 fi
40369 done
40370
40371     fi
40372   fi
40373
40374
40375
40376
40377
40378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40379 $as_echo_n "checking for sqrtl declaration... " >&6; }
40380   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40381     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40382   $as_echo_n "(cached) " >&6
40383 else
40384
40385
40386       ac_ext=cpp
40387 ac_cpp='$CXXCPP $CPPFLAGS'
40388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391
40392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40393 /* end confdefs.h.  */
40394 #include <math.h>
40395                       #ifdef HAVE_IEEEFP_H
40396                       #include <ieeefp.h>
40397                       #endif
40398
40399 int
40400 main ()
40401 {
40402  sqrtl(0);
40403   ;
40404   return 0;
40405 }
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408   glibcxx_cv_func_sqrtl_use=yes
40409 else
40410   glibcxx_cv_func_sqrtl_use=no
40411 fi
40412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40413       ac_ext=c
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40418
40419
40420 fi
40421
40422   fi
40423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40424 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40425
40426   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40427     for ac_func in sqrtl
40428 do :
40429   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40430 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40431   cat >>confdefs.h <<_ACEOF
40432 #define HAVE_SQRTL 1
40433 _ACEOF
40434
40435 fi
40436 done
40437
40438   else
40439
40440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40441 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40442   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40443     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40444   $as_echo_n "(cached) " >&6
40445 else
40446
40447
40448       ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453
40454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h.  */
40456 #include <math.h>
40457                       #ifdef HAVE_IEEEFP_H
40458                       #include <ieeefp.h>
40459                       #endif
40460
40461 int
40462 main ()
40463 {
40464  _sqrtl(0);
40465   ;
40466   return 0;
40467 }
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470   glibcxx_cv_func__sqrtl_use=yes
40471 else
40472   glibcxx_cv_func__sqrtl_use=no
40473 fi
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475       ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480
40481
40482 fi
40483
40484   fi
40485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40486 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40487
40488     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40489       for ac_func in _sqrtl
40490 do :
40491   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40492 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40493   cat >>confdefs.h <<_ACEOF
40494 #define HAVE__SQRTL 1
40495 _ACEOF
40496
40497 fi
40498 done
40499
40500     fi
40501   fi
40502
40503
40504
40505
40506
40507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40508 $as_echo_n "checking for sincosl declaration... " >&6; }
40509   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40510     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40511   $as_echo_n "(cached) " >&6
40512 else
40513
40514
40515       ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520
40521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h.  */
40523 #include <math.h>
40524 int
40525 main ()
40526 {
40527  sincosl(0, 0, 0);
40528   ;
40529   return 0;
40530 }
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533   glibcxx_cv_func_sincosl_use=yes
40534 else
40535   glibcxx_cv_func_sincosl_use=no
40536 fi
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538       ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543
40544
40545 fi
40546
40547   fi
40548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40549 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40550
40551   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40552     for ac_func in sincosl
40553 do :
40554   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40555 if test "x$ac_cv_func_sincosl" = x""yes; then :
40556   cat >>confdefs.h <<_ACEOF
40557 #define HAVE_SINCOSL 1
40558 _ACEOF
40559
40560 fi
40561 done
40562
40563   else
40564
40565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40566 $as_echo_n "checking for _sincosl declaration... " >&6; }
40567   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40568     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40569   $as_echo_n "(cached) " >&6
40570 else
40571
40572
40573       ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578
40579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h.  */
40581 #include <math.h>
40582 int
40583 main ()
40584 {
40585  _sincosl(0, 0, 0);
40586   ;
40587   return 0;
40588 }
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591   glibcxx_cv_func__sincosl_use=yes
40592 else
40593   glibcxx_cv_func__sincosl_use=no
40594 fi
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596       ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601
40602
40603 fi
40604
40605   fi
40606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40607 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40608
40609     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40610       for ac_func in _sincosl
40611 do :
40612   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40613 if test "x$ac_cv_func__sincosl" = x""yes; then :
40614   cat >>confdefs.h <<_ACEOF
40615 #define HAVE__SINCOSL 1
40616 _ACEOF
40617
40618 fi
40619 done
40620
40621     fi
40622   fi
40623
40624
40625
40626
40627
40628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40629 $as_echo_n "checking for finitel declaration... " >&6; }
40630   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40631     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40632   $as_echo_n "(cached) " >&6
40633 else
40634
40635
40636       ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h.  */
40644 #include <math.h>
40645                       #ifdef HAVE_IEEEFP_H
40646                       #include <ieeefp.h>
40647                       #endif
40648
40649 int
40650 main ()
40651 {
40652  finitel(0);
40653   ;
40654   return 0;
40655 }
40656 _ACEOF
40657 if ac_fn_cxx_try_compile "$LINENO"; then :
40658   glibcxx_cv_func_finitel_use=yes
40659 else
40660   glibcxx_cv_func_finitel_use=no
40661 fi
40662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40663       ac_ext=c
40664 ac_cpp='$CPP $CPPFLAGS'
40665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668
40669
40670 fi
40671
40672   fi
40673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40674 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40675
40676   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40677     for ac_func in finitel
40678 do :
40679   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40680 if test "x$ac_cv_func_finitel" = x""yes; then :
40681   cat >>confdefs.h <<_ACEOF
40682 #define HAVE_FINITEL 1
40683 _ACEOF
40684
40685 fi
40686 done
40687
40688   else
40689
40690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40691 $as_echo_n "checking for _finitel declaration... " >&6; }
40692   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40693     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40694   $as_echo_n "(cached) " >&6
40695 else
40696
40697
40698       ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703
40704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h.  */
40706 #include <math.h>
40707                       #ifdef HAVE_IEEEFP_H
40708                       #include <ieeefp.h>
40709                       #endif
40710
40711 int
40712 main ()
40713 {
40714  _finitel(0);
40715   ;
40716   return 0;
40717 }
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720   glibcxx_cv_func__finitel_use=yes
40721 else
40722   glibcxx_cv_func__finitel_use=no
40723 fi
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725       ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730
40731
40732 fi
40733
40734   fi
40735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40736 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40737
40738     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40739       for ac_func in _finitel
40740 do :
40741   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40742 if test "x$ac_cv_func__finitel" = x""yes; then :
40743   cat >>confdefs.h <<_ACEOF
40744 #define HAVE__FINITEL 1
40745 _ACEOF
40746
40747 fi
40748 done
40749
40750     fi
40751   fi
40752
40753
40754
40755
40756   LIBS="$ac_save_LIBS"
40757   CXXFLAGS="$ac_save_CXXFLAGS"
40758
40759
40760   ac_test_CXXFLAGS="${CXXFLAGS+set}"
40761   ac_save_CXXFLAGS="$CXXFLAGS"
40762   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40763
40764
40765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40766 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40767   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40768     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40769   $as_echo_n "(cached) " >&6
40770 else
40771
40772
40773       ac_ext=cpp
40774 ac_cpp='$CXXCPP $CPPFLAGS'
40775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778
40779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40780 /* end confdefs.h.  */
40781 #include <stdlib.h>
40782 int
40783 main ()
40784 {
40785  at_quick_exit(0);
40786   ;
40787   return 0;
40788 }
40789 _ACEOF
40790 if ac_fn_cxx_try_compile "$LINENO"; then :
40791   glibcxx_cv_func_at_quick_exit_use=yes
40792 else
40793   glibcxx_cv_func_at_quick_exit_use=no
40794 fi
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796       ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40801
40802
40803 fi
40804
40805   fi
40806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40807 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40808   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40809     for ac_func in at_quick_exit
40810 do :
40811   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40812 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40813   cat >>confdefs.h <<_ACEOF
40814 #define HAVE_AT_QUICK_EXIT 1
40815 _ACEOF
40816
40817 fi
40818 done
40819
40820   fi
40821
40822
40823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40824 $as_echo_n "checking for quick_exit declaration... " >&6; }
40825   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40826     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40827   $as_echo_n "(cached) " >&6
40828 else
40829
40830
40831       ac_ext=cpp
40832 ac_cpp='$CXXCPP $CPPFLAGS'
40833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836
40837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40838 /* end confdefs.h.  */
40839 #include <stdlib.h>
40840 int
40841 main ()
40842 {
40843  quick_exit(0);
40844   ;
40845   return 0;
40846 }
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849   glibcxx_cv_func_quick_exit_use=yes
40850 else
40851   glibcxx_cv_func_quick_exit_use=no
40852 fi
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854       ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40859
40860
40861 fi
40862
40863   fi
40864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40865 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40866   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40867     for ac_func in quick_exit
40868 do :
40869   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40870 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40871   cat >>confdefs.h <<_ACEOF
40872 #define HAVE_QUICK_EXIT 1
40873 _ACEOF
40874
40875 fi
40876 done
40877
40878   fi
40879
40880
40881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40882 $as_echo_n "checking for strtold declaration... " >&6; }
40883   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40884     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40885   $as_echo_n "(cached) " >&6
40886 else
40887
40888
40889       ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894
40895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h.  */
40897 #include <stdlib.h>
40898 int
40899 main ()
40900 {
40901  strtold(0, 0);
40902   ;
40903   return 0;
40904 }
40905 _ACEOF
40906 if ac_fn_cxx_try_compile "$LINENO"; then :
40907   glibcxx_cv_func_strtold_use=yes
40908 else
40909   glibcxx_cv_func_strtold_use=no
40910 fi
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912       ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40917
40918
40919 fi
40920
40921   fi
40922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40924   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40925     for ac_func in strtold
40926 do :
40927   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40928 if test "x$ac_cv_func_strtold" = x""yes; then :
40929   cat >>confdefs.h <<_ACEOF
40930 #define HAVE_STRTOLD 1
40931 _ACEOF
40932
40933 fi
40934 done
40935
40936   fi
40937
40938
40939
40940
40941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40942 $as_echo_n "checking for strtof declaration... " >&6; }
40943   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40944     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40945   $as_echo_n "(cached) " >&6
40946 else
40947
40948
40949       ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954
40955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h.  */
40957 #include <stdlib.h>
40958 int
40959 main ()
40960 {
40961  strtof(0, 0);
40962   ;
40963   return 0;
40964 }
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967   glibcxx_cv_func_strtof_use=yes
40968 else
40969   glibcxx_cv_func_strtof_use=no
40970 fi
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972       ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40977
40978
40979 fi
40980
40981   fi
40982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40984   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40985     for ac_func in strtof
40986 do :
40987   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40988 if test "x$ac_cv_func_strtof" = x""yes; then :
40989   cat >>confdefs.h <<_ACEOF
40990 #define HAVE_STRTOF 1
40991 _ACEOF
40992
40993 fi
40994 done
40995
40996   fi
40997
40998
40999
41000
41001   CXXFLAGS="$ac_save_CXXFLAGS"
41002
41003
41004
41005
41006
41007
41008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41009 $as_echo_n "checking for iconv... " >&6; }
41010 if test "${am_cv_func_iconv+set}" = set; then :
41011   $as_echo_n "(cached) " >&6
41012 else
41013
41014     am_cv_func_iconv="no, consider installing GNU libiconv"
41015     am_cv_lib_iconv=no
41016                     am_save_CPPFLAGS="$CPPFLAGS"
41017     CPPFLAGS="$CPPFLAGS $INCICONV"
41018     if test x$gcc_no_link = xyes; then
41019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41020 fi
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h.  */
41023 #include <stdlib.h>
41024 #include <iconv.h>
41025 int
41026 main ()
41027 {
41028 iconv_t cd = iconv_open("","");
41029        iconv(cd,NULL,NULL,NULL,NULL);
41030        iconv_close(cd);
41031   ;
41032   return 0;
41033 }
41034 _ACEOF
41035 if ac_fn_c_try_link "$LINENO"; then :
41036   am_cv_func_iconv=yes
41037 fi
41038 rm -f core conftest.err conftest.$ac_objext \
41039     conftest$ac_exeext conftest.$ac_ext
41040     CPPFLAGS="$am_save_CPPFLAGS"
41041
41042     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41043       for _libs in .libs _libs; do
41044         am_save_CPPFLAGS="$CPPFLAGS"
41045         am_save_LIBS="$LIBS"
41046         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41047         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41048         if test x$gcc_no_link = xyes; then
41049   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41050 fi
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h.  */
41053 #include <stdlib.h>
41054 #include <iconv.h>
41055 int
41056 main ()
41057 {
41058 iconv_t cd = iconv_open("","");
41059            iconv(cd,NULL,NULL,NULL,NULL);
41060            iconv_close(cd);
41061   ;
41062   return 0;
41063 }
41064 _ACEOF
41065 if ac_fn_c_try_link "$LINENO"; then :
41066   INCICONV="-I../libiconv/include"
41067           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41068           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41069           am_cv_lib_iconv=yes
41070           am_cv_func_iconv=yes
41071 fi
41072 rm -f core conftest.err conftest.$ac_objext \
41073     conftest$ac_exeext conftest.$ac_ext
41074         CPPFLAGS="$am_save_CPPFLAGS"
41075         LIBS="$am_save_LIBS"
41076         if test "$am_cv_func_iconv" = "yes"; then
41077           break
41078         fi
41079       done
41080     fi
41081
41082     if test "$am_cv_func_iconv" != yes; then
41083       am_save_CPPFLAGS="$CPPFLAGS"
41084       am_save_LIBS="$LIBS"
41085       CPPFLAGS="$LIBS $INCICONV"
41086       LIBS="$LIBS $LIBICONV"
41087       if test x$gcc_no_link = xyes; then
41088   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 fi
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h.  */
41092 #include <stdlib.h>
41093 #include <iconv.h>
41094 int
41095 main ()
41096 {
41097 iconv_t cd = iconv_open("","");
41098          iconv(cd,NULL,NULL,NULL,NULL);
41099          iconv_close(cd);
41100   ;
41101   return 0;
41102 }
41103 _ACEOF
41104 if ac_fn_c_try_link "$LINENO"; then :
41105   am_cv_lib_iconv=yes
41106         am_cv_func_iconv=yes
41107 fi
41108 rm -f core conftest.err conftest.$ac_objext \
41109     conftest$ac_exeext conftest.$ac_ext
41110       CPPFLAGS="$am_save_CPPFLAGS"
41111       LIBS="$am_save_LIBS"
41112     fi
41113
41114 fi
41115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41116 $as_echo "$am_cv_func_iconv" >&6; }
41117   if test "$am_cv_func_iconv" = yes; then
41118
41119 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41120
41121   fi
41122   if test "$am_cv_lib_iconv" = yes; then
41123
41124   for element in $INCICONV; do
41125     haveit=
41126     for x in $CPPFLAGS; do
41127
41128   acl_save_prefix="$prefix"
41129   prefix="$acl_final_prefix"
41130   acl_save_exec_prefix="$exec_prefix"
41131   exec_prefix="$acl_final_exec_prefix"
41132   eval x=\"$x\"
41133   exec_prefix="$acl_save_exec_prefix"
41134   prefix="$acl_save_prefix"
41135
41136       if test "X$x" = "X$element"; then
41137         haveit=yes
41138         break
41139       fi
41140     done
41141     if test -z "$haveit"; then
41142       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41143     fi
41144   done
41145
41146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41147 $as_echo_n "checking how to link with libiconv... " >&6; }
41148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41149 $as_echo "$LIBICONV" >&6; }
41150   else
41151     LIBICONV=
41152     LTLIBICONV=
41153   fi
41154
41155
41156
41157   if test "$am_cv_func_iconv" = yes; then
41158     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41159 $as_echo_n "checking for iconv declaration... " >&6; }
41160     if test "${am_cv_proto_iconv+set}" = set; then :
41161   $as_echo_n "(cached) " >&6
41162 else
41163
41164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h.  */
41166
41167 #include <stdlib.h>
41168 #include <iconv.h>
41169 extern
41170 #ifdef __cplusplus
41171 "C"
41172 #endif
41173 #if defined(__STDC__) || defined(__cplusplus)
41174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41175 #else
41176 size_t iconv();
41177 #endif
41178
41179 int
41180 main ()
41181 {
41182
41183   ;
41184   return 0;
41185 }
41186 _ACEOF
41187 if ac_fn_c_try_compile "$LINENO"; then :
41188   am_cv_proto_iconv_arg1=""
41189 else
41190   am_cv_proto_iconv_arg1="const"
41191 fi
41192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41193       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);"
41194 fi
41195
41196     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41197     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41198          }$am_cv_proto_iconv" >&5
41199 $as_echo "${ac_t:-
41200          }$am_cv_proto_iconv" >&6; }
41201
41202 cat >>confdefs.h <<_ACEOF
41203 #define ICONV_CONST $am_cv_proto_iconv_arg1
41204 _ACEOF
41205
41206   fi
41207
41208     ;;
41209
41210   *-aix*)
41211
41212   # If we're not using GNU ld, then there's no point in even trying these
41213   # tests.  Check for that first.  We should have already tested for gld
41214   # by now (in libtool), but require it now just to be safe...
41215   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41216   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41217
41218
41219
41220   # The name set by libtool depends on the version of libtool.  Shame on us
41221   # for depending on an impl detail, but c'est la vie.  Older versions used
41222   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41223   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41224   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
41225   # set (hence we're using an older libtool), then set it.
41226   if test x${with_gnu_ld+set} != xset; then
41227     if test x${ac_cv_prog_gnu_ld+set} != xset; then
41228       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
41229       with_gnu_ld=no
41230     else
41231       with_gnu_ld=$ac_cv_prog_gnu_ld
41232     fi
41233   fi
41234
41235   # Start by getting the version number.  I think the libtool test already
41236   # does some of this, but throws away the result.
41237   glibcxx_ld_is_gold=no
41238   if test x"$with_gnu_ld" = x"yes"; then
41239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41240 $as_echo_n "checking for ld version... " >&6; }
41241
41242     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41243       glibcxx_ld_is_gold=yes
41244     fi
41245     ldver=`$LD --version 2>/dev/null |
41246            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'`
41247
41248     glibcxx_gnu_ld_version=`echo $ldver | \
41249            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41251 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41252   fi
41253
41254   # Set --gc-sections.
41255   glibcxx_have_gc_sections=no
41256   if test "$glibcxx_ld_is_gold" = "yes"; then
41257     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41258       glibcxx_have_gc_sections=yes
41259     fi
41260   else
41261     glibcxx_gcsections_min_ld=21602
41262     if test x"$with_gnu_ld" = x"yes" &&
41263         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41264       glibcxx_have_gc_sections=yes
41265     fi
41266   fi
41267   if test "$glibcxx_have_gc_sections" = "yes"; then
41268     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
41269     # NB: This flag only works reliably after 2.16.1. Configure tests
41270     # for this are difficult, so hard wire a value that should work.
41271
41272     ac_test_CFLAGS="${CFLAGS+set}"
41273     ac_save_CFLAGS="$CFLAGS"
41274     CFLAGS='-Wl,--gc-sections'
41275
41276     # Check for -Wl,--gc-sections
41277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41278 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41279     if test x$gcc_no_link = xyes; then
41280   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 fi
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h.  */
41284  int one(void) { return 1; }
41285      int two(void) { return 2; }
41286
41287 int
41288 main ()
41289 {
41290  two();
41291   ;
41292   return 0;
41293 }
41294 _ACEOF
41295 if ac_fn_c_try_link "$LINENO"; then :
41296   ac_gcsections=yes
41297 else
41298   ac_gcsections=no
41299 fi
41300 rm -f core conftest.err conftest.$ac_objext \
41301     conftest$ac_exeext conftest.$ac_ext
41302     if test "$ac_gcsections" = "yes"; then
41303       rm -f conftest.c
41304       touch conftest.c
41305       if $CC -c conftest.c; then
41306         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41307            grep "Warning: gc-sections option ignored" > /dev/null; then
41308           ac_gcsections=no
41309         fi
41310       fi
41311       rm -f conftest.c conftest.o conftest
41312     fi
41313     if test "$ac_gcsections" = "yes"; then
41314       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41315     fi
41316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41317 $as_echo "$ac_gcsections" >&6; }
41318
41319     if test "$ac_test_CFLAGS" = set; then
41320       CFLAGS="$ac_save_CFLAGS"
41321     else
41322       # this is the suspicious part
41323       CFLAGS=''
41324     fi
41325   fi
41326
41327   # Set -z,relro.
41328   # Note this is only for shared objects.
41329   ac_ld_relro=no
41330   if test x"$with_gnu_ld" = x"yes"; then
41331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41332 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41333     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41334     if test -n "$cxx_z_relo"; then
41335       OPT_LDFLAGS="-Wl,-z,relro"
41336       ac_ld_relro=yes
41337     fi
41338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41339 $as_echo "$ac_ld_relro" >&6; }
41340   fi
41341
41342   # Set linker optimization flags.
41343   if test x"$with_gnu_ld" = x"yes"; then
41344     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41345   fi
41346
41347
41348
41349
41350
41351   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41352   ac_save_CXXFLAGS="$CXXFLAGS"
41353   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41354
41355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41356 $as_echo_n "checking for sin in -lm... " >&6; }
41357 if test "${ac_cv_lib_m_sin+set}" = set; then :
41358   $as_echo_n "(cached) " >&6
41359 else
41360   ac_check_lib_save_LIBS=$LIBS
41361 LIBS="-lm  $LIBS"
41362 if test x$gcc_no_link = xyes; then
41363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41364 fi
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h.  */
41367
41368 /* Override any GCC internal prototype to avoid an error.
41369    Use char because int might match the return type of a GCC
41370    builtin and then its argument prototype would still apply.  */
41371 #ifdef __cplusplus
41372 extern "C"
41373 #endif
41374 char sin ();
41375 int
41376 main ()
41377 {
41378 return sin ();
41379   ;
41380   return 0;
41381 }
41382 _ACEOF
41383 if ac_fn_c_try_link "$LINENO"; then :
41384   ac_cv_lib_m_sin=yes
41385 else
41386   ac_cv_lib_m_sin=no
41387 fi
41388 rm -f core conftest.err conftest.$ac_objext \
41389     conftest$ac_exeext conftest.$ac_ext
41390 LIBS=$ac_check_lib_save_LIBS
41391 fi
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41393 $as_echo "$ac_cv_lib_m_sin" >&6; }
41394 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41395   libm="-lm"
41396 fi
41397
41398   ac_save_LIBS="$LIBS"
41399   LIBS="$LIBS $libm"
41400
41401
41402
41403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41404 $as_echo_n "checking for isinf declaration... " >&6; }
41405   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41406     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41407   $as_echo_n "(cached) " >&6
41408 else
41409
41410
41411       ac_ext=cpp
41412 ac_cpp='$CXXCPP $CPPFLAGS'
41413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41416
41417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41418 /* end confdefs.h.  */
41419 #include <math.h>
41420                       #ifdef HAVE_IEEEFP_H
41421                       #include <ieeefp.h>
41422                       #endif
41423
41424 int
41425 main ()
41426 {
41427  isinf(0);
41428   ;
41429   return 0;
41430 }
41431 _ACEOF
41432 if ac_fn_cxx_try_compile "$LINENO"; then :
41433   glibcxx_cv_func_isinf_use=yes
41434 else
41435   glibcxx_cv_func_isinf_use=no
41436 fi
41437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41438       ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41443
41444
41445 fi
41446
41447   fi
41448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41449 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41450
41451   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41452     for ac_func in isinf
41453 do :
41454   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41455 if test "x$ac_cv_func_isinf" = x""yes; then :
41456   cat >>confdefs.h <<_ACEOF
41457 #define HAVE_ISINF 1
41458 _ACEOF
41459
41460 fi
41461 done
41462
41463   else
41464
41465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41466 $as_echo_n "checking for _isinf declaration... " >&6; }
41467   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41468     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41469   $as_echo_n "(cached) " >&6
41470 else
41471
41472
41473       ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478
41479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h.  */
41481 #include <math.h>
41482                       #ifdef HAVE_IEEEFP_H
41483                       #include <ieeefp.h>
41484                       #endif
41485
41486 int
41487 main ()
41488 {
41489  _isinf(0);
41490   ;
41491   return 0;
41492 }
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495   glibcxx_cv_func__isinf_use=yes
41496 else
41497   glibcxx_cv_func__isinf_use=no
41498 fi
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500       ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41505
41506
41507 fi
41508
41509   fi
41510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41511 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41512
41513     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41514       for ac_func in _isinf
41515 do :
41516   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41517 if test "x$ac_cv_func__isinf" = x""yes; then :
41518   cat >>confdefs.h <<_ACEOF
41519 #define HAVE__ISINF 1
41520 _ACEOF
41521
41522 fi
41523 done
41524
41525     fi
41526   fi
41527
41528
41529
41530
41531
41532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41533 $as_echo_n "checking for isnan declaration... " >&6; }
41534   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41535     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41536   $as_echo_n "(cached) " >&6
41537 else
41538
41539
41540       ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41545
41546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h.  */
41548 #include <math.h>
41549                       #ifdef HAVE_IEEEFP_H
41550                       #include <ieeefp.h>
41551                       #endif
41552
41553 int
41554 main ()
41555 {
41556  isnan(0);
41557   ;
41558   return 0;
41559 }
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562   glibcxx_cv_func_isnan_use=yes
41563 else
41564   glibcxx_cv_func_isnan_use=no
41565 fi
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567       ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41572
41573
41574 fi
41575
41576   fi
41577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41578 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41579
41580   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41581     for ac_func in isnan
41582 do :
41583   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41584 if test "x$ac_cv_func_isnan" = x""yes; then :
41585   cat >>confdefs.h <<_ACEOF
41586 #define HAVE_ISNAN 1
41587 _ACEOF
41588
41589 fi
41590 done
41591
41592   else
41593
41594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41595 $as_echo_n "checking for _isnan declaration... " >&6; }
41596   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41597     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41598   $as_echo_n "(cached) " >&6
41599 else
41600
41601
41602       ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41607
41608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h.  */
41610 #include <math.h>
41611                       #ifdef HAVE_IEEEFP_H
41612                       #include <ieeefp.h>
41613                       #endif
41614
41615 int
41616 main ()
41617 {
41618  _isnan(0);
41619   ;
41620   return 0;
41621 }
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624   glibcxx_cv_func__isnan_use=yes
41625 else
41626   glibcxx_cv_func__isnan_use=no
41627 fi
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629       ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41634
41635
41636 fi
41637
41638   fi
41639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41640 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41641
41642     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41643       for ac_func in _isnan
41644 do :
41645   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41646 if test "x$ac_cv_func__isnan" = x""yes; then :
41647   cat >>confdefs.h <<_ACEOF
41648 #define HAVE__ISNAN 1
41649 _ACEOF
41650
41651 fi
41652 done
41653
41654     fi
41655   fi
41656
41657
41658
41659
41660
41661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41662 $as_echo_n "checking for finite declaration... " >&6; }
41663   if test x${glibcxx_cv_func_finite_use+set} != xset; then
41664     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41665   $as_echo_n "(cached) " >&6
41666 else
41667
41668
41669       ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674
41675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h.  */
41677 #include <math.h>
41678                       #ifdef HAVE_IEEEFP_H
41679                       #include <ieeefp.h>
41680                       #endif
41681
41682 int
41683 main ()
41684 {
41685  finite(0);
41686   ;
41687   return 0;
41688 }
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691   glibcxx_cv_func_finite_use=yes
41692 else
41693   glibcxx_cv_func_finite_use=no
41694 fi
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696       ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41701
41702
41703 fi
41704
41705   fi
41706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41707 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41708
41709   if test x$glibcxx_cv_func_finite_use = x"yes"; then
41710     for ac_func in finite
41711 do :
41712   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41713 if test "x$ac_cv_func_finite" = x""yes; then :
41714   cat >>confdefs.h <<_ACEOF
41715 #define HAVE_FINITE 1
41716 _ACEOF
41717
41718 fi
41719 done
41720
41721   else
41722
41723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41724 $as_echo_n "checking for _finite declaration... " >&6; }
41725   if test x${glibcxx_cv_func__finite_use+set} != xset; then
41726     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41727   $as_echo_n "(cached) " >&6
41728 else
41729
41730
41731       ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736
41737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h.  */
41739 #include <math.h>
41740                       #ifdef HAVE_IEEEFP_H
41741                       #include <ieeefp.h>
41742                       #endif
41743
41744 int
41745 main ()
41746 {
41747  _finite(0);
41748   ;
41749   return 0;
41750 }
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753   glibcxx_cv_func__finite_use=yes
41754 else
41755   glibcxx_cv_func__finite_use=no
41756 fi
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758       ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763
41764
41765 fi
41766
41767   fi
41768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41769 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41770
41771     if test x$glibcxx_cv_func__finite_use = x"yes"; then
41772       for ac_func in _finite
41773 do :
41774   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41775 if test "x$ac_cv_func__finite" = x""yes; then :
41776   cat >>confdefs.h <<_ACEOF
41777 #define HAVE__FINITE 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783     fi
41784   fi
41785
41786
41787
41788
41789
41790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41791 $as_echo_n "checking for sincos declaration... " >&6; }
41792   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41793     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41794   $as_echo_n "(cached) " >&6
41795 else
41796
41797
41798       ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803
41804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h.  */
41806 #include <math.h>
41807 int
41808 main ()
41809 {
41810  sincos(0, 0, 0);
41811   ;
41812   return 0;
41813 }
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816   glibcxx_cv_func_sincos_use=yes
41817 else
41818   glibcxx_cv_func_sincos_use=no
41819 fi
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821       ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41826
41827
41828 fi
41829
41830   fi
41831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41832 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41833
41834   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41835     for ac_func in sincos
41836 do :
41837   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41838 if test "x$ac_cv_func_sincos" = x""yes; then :
41839   cat >>confdefs.h <<_ACEOF
41840 #define HAVE_SINCOS 1
41841 _ACEOF
41842
41843 fi
41844 done
41845
41846   else
41847
41848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41849 $as_echo_n "checking for _sincos declaration... " >&6; }
41850   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41851     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41852   $as_echo_n "(cached) " >&6
41853 else
41854
41855
41856       ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861
41862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h.  */
41864 #include <math.h>
41865 int
41866 main ()
41867 {
41868  _sincos(0, 0, 0);
41869   ;
41870   return 0;
41871 }
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874   glibcxx_cv_func__sincos_use=yes
41875 else
41876   glibcxx_cv_func__sincos_use=no
41877 fi
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879       ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41884
41885
41886 fi
41887
41888   fi
41889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41890 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41891
41892     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41893       for ac_func in _sincos
41894 do :
41895   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41896 if test "x$ac_cv_func__sincos" = x""yes; then :
41897   cat >>confdefs.h <<_ACEOF
41898 #define HAVE__SINCOS 1
41899 _ACEOF
41900
41901 fi
41902 done
41903
41904     fi
41905   fi
41906
41907
41908
41909
41910
41911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41912 $as_echo_n "checking for fpclass declaration... " >&6; }
41913   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41914     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41915   $as_echo_n "(cached) " >&6
41916 else
41917
41918
41919       ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924
41925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h.  */
41927 #include <math.h>
41928                       #ifdef HAVE_IEEEFP_H
41929                       #include <ieeefp.h>
41930                       #endif
41931
41932 int
41933 main ()
41934 {
41935  fpclass(0);
41936   ;
41937   return 0;
41938 }
41939 _ACEOF
41940 if ac_fn_cxx_try_compile "$LINENO"; then :
41941   glibcxx_cv_func_fpclass_use=yes
41942 else
41943   glibcxx_cv_func_fpclass_use=no
41944 fi
41945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946       ac_ext=c
41947 ac_cpp='$CPP $CPPFLAGS'
41948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951
41952
41953 fi
41954
41955   fi
41956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41957 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41958
41959   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41960     for ac_func in fpclass
41961 do :
41962   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41963 if test "x$ac_cv_func_fpclass" = x""yes; then :
41964   cat >>confdefs.h <<_ACEOF
41965 #define HAVE_FPCLASS 1
41966 _ACEOF
41967
41968 fi
41969 done
41970
41971   else
41972
41973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41974 $as_echo_n "checking for _fpclass declaration... " >&6; }
41975   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41976     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41977   $as_echo_n "(cached) " >&6
41978 else
41979
41980
41981       ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986
41987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h.  */
41989 #include <math.h>
41990                       #ifdef HAVE_IEEEFP_H
41991                       #include <ieeefp.h>
41992                       #endif
41993
41994 int
41995 main ()
41996 {
41997  _fpclass(0);
41998   ;
41999   return 0;
42000 }
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003   glibcxx_cv_func__fpclass_use=yes
42004 else
42005   glibcxx_cv_func__fpclass_use=no
42006 fi
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008       ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013
42014
42015 fi
42016
42017   fi
42018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42019 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42020
42021     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42022       for ac_func in _fpclass
42023 do :
42024   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42025 if test "x$ac_cv_func__fpclass" = x""yes; then :
42026   cat >>confdefs.h <<_ACEOF
42027 #define HAVE__FPCLASS 1
42028 _ACEOF
42029
42030 fi
42031 done
42032
42033     fi
42034   fi
42035
42036
42037
42038
42039
42040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42041 $as_echo_n "checking for qfpclass declaration... " >&6; }
42042   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42043     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42044   $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048       ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h.  */
42056 #include <math.h>
42057                       #ifdef HAVE_IEEEFP_H
42058                       #include <ieeefp.h>
42059                       #endif
42060
42061 int
42062 main ()
42063 {
42064  qfpclass(0);
42065   ;
42066   return 0;
42067 }
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070   glibcxx_cv_func_qfpclass_use=yes
42071 else
42072   glibcxx_cv_func_qfpclass_use=no
42073 fi
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075       ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080
42081
42082 fi
42083
42084   fi
42085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42086 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42087
42088   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42089     for ac_func in qfpclass
42090 do :
42091   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42092 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42093   cat >>confdefs.h <<_ACEOF
42094 #define HAVE_QFPCLASS 1
42095 _ACEOF
42096
42097 fi
42098 done
42099
42100   else
42101
42102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42103 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42104   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42105     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42106   $as_echo_n "(cached) " >&6
42107 else
42108
42109
42110       ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115
42116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h.  */
42118 #include <math.h>
42119                       #ifdef HAVE_IEEEFP_H
42120                       #include <ieeefp.h>
42121                       #endif
42122
42123 int
42124 main ()
42125 {
42126  _qfpclass(0);
42127   ;
42128   return 0;
42129 }
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132   glibcxx_cv_func__qfpclass_use=yes
42133 else
42134   glibcxx_cv_func__qfpclass_use=no
42135 fi
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137       ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42142
42143
42144 fi
42145
42146   fi
42147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42148 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42149
42150     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42151       for ac_func in _qfpclass
42152 do :
42153   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42154 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42155   cat >>confdefs.h <<_ACEOF
42156 #define HAVE__QFPCLASS 1
42157 _ACEOF
42158
42159 fi
42160 done
42161
42162     fi
42163   fi
42164
42165
42166
42167
42168
42169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42170 $as_echo_n "checking for hypot declaration... " >&6; }
42171   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42172     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42173   $as_echo_n "(cached) " >&6
42174 else
42175
42176
42177       ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182
42183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h.  */
42185 #include <math.h>
42186 int
42187 main ()
42188 {
42189  hypot(0, 0);
42190   ;
42191   return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195   glibcxx_cv_func_hypot_use=yes
42196 else
42197   glibcxx_cv_func_hypot_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200       ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209   fi
42210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42211 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42212
42213   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42214     for ac_func in hypot
42215 do :
42216   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42217 if test "x$ac_cv_func_hypot" = x""yes; then :
42218   cat >>confdefs.h <<_ACEOF
42219 #define HAVE_HYPOT 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225   else
42226
42227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42228 $as_echo_n "checking for _hypot declaration... " >&6; }
42229   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42230     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42231   $as_echo_n "(cached) " >&6
42232 else
42233
42234
42235       ac_ext=cpp
42236 ac_cpp='$CXXCPP $CPPFLAGS'
42237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42240
42241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42242 /* end confdefs.h.  */
42243 #include <math.h>
42244 int
42245 main ()
42246 {
42247  _hypot(0, 0);
42248   ;
42249   return 0;
42250 }
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253   glibcxx_cv_func__hypot_use=yes
42254 else
42255   glibcxx_cv_func__hypot_use=no
42256 fi
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258       ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42263
42264
42265 fi
42266
42267   fi
42268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42269 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42270
42271     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42272       for ac_func in _hypot
42273 do :
42274   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42275 if test "x$ac_cv_func__hypot" = x""yes; then :
42276   cat >>confdefs.h <<_ACEOF
42277 #define HAVE__HYPOT 1
42278 _ACEOF
42279
42280 fi
42281 done
42282
42283     fi
42284   fi
42285
42286
42287
42288
42289
42290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42291 $as_echo_n "checking for float trig functions... " >&6; }
42292   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42293   $as_echo_n "(cached) " >&6
42294 else
42295
42296
42297     ac_ext=cpp
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42302
42303     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h.  */
42305 #include <math.h>
42306 int
42307 main ()
42308 {
42309 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42310   ;
42311   return 0;
42312 }
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315   glibcxx_cv_func_float_trig_use=yes
42316 else
42317   glibcxx_cv_func_float_trig_use=no
42318 fi
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320     ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42325
42326 fi
42327
42328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42329 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42330   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42331     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42332 do :
42333   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42335 eval as_val=\$$as_ac_var
42336    if test "x$as_val" = x""yes; then :
42337   cat >>confdefs.h <<_ACEOF
42338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42339 _ACEOF
42340
42341 fi
42342 done
42343
42344   else
42345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42346 $as_echo_n "checking for _float trig functions... " >&6; }
42347     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42348   $as_echo_n "(cached) " >&6
42349 else
42350
42351
42352       ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357
42358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h.  */
42360 #include <math.h>
42361 int
42362 main ()
42363 {
42364 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42365   ;
42366   return 0;
42367 }
42368 _ACEOF
42369 if ac_fn_cxx_try_compile "$LINENO"; then :
42370   glibcxx_cv_func__float_trig_use=yes
42371 else
42372   glibcxx_cv_func__float_trig_use=no
42373 fi
42374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42375       ac_ext=c
42376 ac_cpp='$CPP $CPPFLAGS'
42377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380
42381 fi
42382
42383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42384 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42385     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42386       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42387 do :
42388   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42390 eval as_val=\$$as_ac_var
42391    if test "x$as_val" = x""yes; then :
42392   cat >>confdefs.h <<_ACEOF
42393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42394 _ACEOF
42395
42396 fi
42397 done
42398
42399     fi
42400   fi
42401
42402
42403
42404
42405
42406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42407 $as_echo_n "checking for float round functions... " >&6; }
42408   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42409   $as_echo_n "(cached) " >&6
42410 else
42411
42412
42413     ac_ext=cpp
42414 ac_cpp='$CXXCPP $CPPFLAGS'
42415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42418
42419     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42420 /* end confdefs.h.  */
42421 #include <math.h>
42422 int
42423 main ()
42424 {
42425 ceilf (0); floorf (0);
42426   ;
42427   return 0;
42428 }
42429 _ACEOF
42430 if ac_fn_cxx_try_compile "$LINENO"; then :
42431   glibcxx_cv_func_float_round_use=yes
42432 else
42433   glibcxx_cv_func_float_round_use=no
42434 fi
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436     ac_ext=c
42437 ac_cpp='$CPP $CPPFLAGS'
42438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441
42442 fi
42443
42444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42445 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42446   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42447     for ac_func in ceilf floorf
42448 do :
42449   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42451 eval as_val=\$$as_ac_var
42452    if test "x$as_val" = x""yes; then :
42453   cat >>confdefs.h <<_ACEOF
42454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 _ACEOF
42456
42457 fi
42458 done
42459
42460   else
42461     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42462 $as_echo_n "checking for _float round functions... " >&6; }
42463     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42464   $as_echo_n "(cached) " >&6
42465 else
42466
42467
42468       ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473
42474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h.  */
42476 #include <math.h>
42477 int
42478 main ()
42479 {
42480 _ceilf (0); _floorf (0);
42481   ;
42482   return 0;
42483 }
42484 _ACEOF
42485 if ac_fn_cxx_try_compile "$LINENO"; then :
42486   glibcxx_cv_func__float_round_use=yes
42487 else
42488   glibcxx_cv_func__float_round_use=no
42489 fi
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42491       ac_ext=c
42492 ac_cpp='$CPP $CPPFLAGS'
42493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42496
42497 fi
42498
42499     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42500 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42501     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42502       for ac_func in _ceilf _floorf
42503 do :
42504   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42506 eval as_val=\$$as_ac_var
42507    if test "x$as_val" = x""yes; then :
42508   cat >>confdefs.h <<_ACEOF
42509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42510 _ACEOF
42511
42512 fi
42513 done
42514
42515     fi
42516   fi
42517
42518
42519
42520
42521
42522
42523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42524 $as_echo_n "checking for expf declaration... " >&6; }
42525   if test x${glibcxx_cv_func_expf_use+set} != xset; then
42526     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42527   $as_echo_n "(cached) " >&6
42528 else
42529
42530
42531       ac_ext=cpp
42532 ac_cpp='$CXXCPP $CPPFLAGS'
42533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42536
42537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42538 /* end confdefs.h.  */
42539 #include <math.h>
42540                       #ifdef HAVE_IEEEFP_H
42541                       #include <ieeefp.h>
42542                       #endif
42543
42544 int
42545 main ()
42546 {
42547  expf(0);
42548   ;
42549   return 0;
42550 }
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553   glibcxx_cv_func_expf_use=yes
42554 else
42555   glibcxx_cv_func_expf_use=no
42556 fi
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558       ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563
42564
42565 fi
42566
42567   fi
42568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42570
42571   if test x$glibcxx_cv_func_expf_use = x"yes"; then
42572     for ac_func in expf
42573 do :
42574   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42575 if test "x$ac_cv_func_expf" = x""yes; then :
42576   cat >>confdefs.h <<_ACEOF
42577 #define HAVE_EXPF 1
42578 _ACEOF
42579
42580 fi
42581 done
42582
42583   else
42584
42585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42586 $as_echo_n "checking for _expf declaration... " >&6; }
42587   if test x${glibcxx_cv_func__expf_use+set} != xset; then
42588     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42589   $as_echo_n "(cached) " >&6
42590 else
42591
42592
42593       ac_ext=cpp
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598
42599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42600 /* end confdefs.h.  */
42601 #include <math.h>
42602                       #ifdef HAVE_IEEEFP_H
42603                       #include <ieeefp.h>
42604                       #endif
42605
42606 int
42607 main ()
42608 {
42609  _expf(0);
42610   ;
42611   return 0;
42612 }
42613 _ACEOF
42614 if ac_fn_cxx_try_compile "$LINENO"; then :
42615   glibcxx_cv_func__expf_use=yes
42616 else
42617   glibcxx_cv_func__expf_use=no
42618 fi
42619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42620       ac_ext=c
42621 ac_cpp='$CPP $CPPFLAGS'
42622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625
42626
42627 fi
42628
42629   fi
42630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42632
42633     if test x$glibcxx_cv_func__expf_use = x"yes"; then
42634       for ac_func in _expf
42635 do :
42636   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42637 if test "x$ac_cv_func__expf" = x""yes; then :
42638   cat >>confdefs.h <<_ACEOF
42639 #define HAVE__EXPF 1
42640 _ACEOF
42641
42642 fi
42643 done
42644
42645     fi
42646   fi
42647
42648
42649
42650
42651
42652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42653 $as_echo_n "checking for isnanf declaration... " >&6; }
42654   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42655     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42656   $as_echo_n "(cached) " >&6
42657 else
42658
42659
42660       ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665
42666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h.  */
42668 #include <math.h>
42669                       #ifdef HAVE_IEEEFP_H
42670                       #include <ieeefp.h>
42671                       #endif
42672
42673 int
42674 main ()
42675 {
42676  isnanf(0);
42677   ;
42678   return 0;
42679 }
42680 _ACEOF
42681 if ac_fn_cxx_try_compile "$LINENO"; then :
42682   glibcxx_cv_func_isnanf_use=yes
42683 else
42684   glibcxx_cv_func_isnanf_use=no
42685 fi
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687       ac_ext=c
42688 ac_cpp='$CPP $CPPFLAGS'
42689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42692
42693
42694 fi
42695
42696   fi
42697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42699
42700   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42701     for ac_func in isnanf
42702 do :
42703   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42704 if test "x$ac_cv_func_isnanf" = x""yes; then :
42705   cat >>confdefs.h <<_ACEOF
42706 #define HAVE_ISNANF 1
42707 _ACEOF
42708
42709 fi
42710 done
42711
42712   else
42713
42714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42715 $as_echo_n "checking for _isnanf declaration... " >&6; }
42716   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42717     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42718   $as_echo_n "(cached) " >&6
42719 else
42720
42721
42722       ac_ext=cpp
42723 ac_cpp='$CXXCPP $CPPFLAGS'
42724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727
42728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729 /* end confdefs.h.  */
42730 #include <math.h>
42731                       #ifdef HAVE_IEEEFP_H
42732                       #include <ieeefp.h>
42733                       #endif
42734
42735 int
42736 main ()
42737 {
42738  _isnanf(0);
42739   ;
42740   return 0;
42741 }
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744   glibcxx_cv_func__isnanf_use=yes
42745 else
42746   glibcxx_cv_func__isnanf_use=no
42747 fi
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749       ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754
42755
42756 fi
42757
42758   fi
42759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42761
42762     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42763       for ac_func in _isnanf
42764 do :
42765   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42766 if test "x$ac_cv_func__isnanf" = x""yes; then :
42767   cat >>confdefs.h <<_ACEOF
42768 #define HAVE__ISNANF 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774     fi
42775   fi
42776
42777
42778
42779
42780
42781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42782 $as_echo_n "checking for isinff declaration... " >&6; }
42783   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42784     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42785   $as_echo_n "(cached) " >&6
42786 else
42787
42788
42789       ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794
42795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h.  */
42797 #include <math.h>
42798                       #ifdef HAVE_IEEEFP_H
42799                       #include <ieeefp.h>
42800                       #endif
42801
42802 int
42803 main ()
42804 {
42805  isinff(0);
42806   ;
42807   return 0;
42808 }
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811   glibcxx_cv_func_isinff_use=yes
42812 else
42813   glibcxx_cv_func_isinff_use=no
42814 fi
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816       ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42821
42822
42823 fi
42824
42825   fi
42826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42828
42829   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42830     for ac_func in isinff
42831 do :
42832   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42833 if test "x$ac_cv_func_isinff" = x""yes; then :
42834   cat >>confdefs.h <<_ACEOF
42835 #define HAVE_ISINFF 1
42836 _ACEOF
42837
42838 fi
42839 done
42840
42841   else
42842
42843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42844 $as_echo_n "checking for _isinff declaration... " >&6; }
42845   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42846     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42847   $as_echo_n "(cached) " >&6
42848 else
42849
42850
42851       ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42856
42857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h.  */
42859 #include <math.h>
42860                       #ifdef HAVE_IEEEFP_H
42861                       #include <ieeefp.h>
42862                       #endif
42863
42864 int
42865 main ()
42866 {
42867  _isinff(0);
42868   ;
42869   return 0;
42870 }
42871 _ACEOF
42872 if ac_fn_cxx_try_compile "$LINENO"; then :
42873   glibcxx_cv_func__isinff_use=yes
42874 else
42875   glibcxx_cv_func__isinff_use=no
42876 fi
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878       ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42883
42884
42885 fi
42886
42887   fi
42888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42890
42891     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42892       for ac_func in _isinff
42893 do :
42894   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42895 if test "x$ac_cv_func__isinff" = x""yes; then :
42896   cat >>confdefs.h <<_ACEOF
42897 #define HAVE__ISINFF 1
42898 _ACEOF
42899
42900 fi
42901 done
42902
42903     fi
42904   fi
42905
42906
42907
42908
42909
42910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42911 $as_echo_n "checking for atan2f declaration... " >&6; }
42912   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42913     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42914   $as_echo_n "(cached) " >&6
42915 else
42916
42917
42918       ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923
42924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h.  */
42926 #include <math.h>
42927 int
42928 main ()
42929 {
42930  atan2f(0, 0);
42931   ;
42932   return 0;
42933 }
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936   glibcxx_cv_func_atan2f_use=yes
42937 else
42938   glibcxx_cv_func_atan2f_use=no
42939 fi
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941       ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42946
42947
42948 fi
42949
42950   fi
42951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42953
42954   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42955     for ac_func in atan2f
42956 do :
42957   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42958 if test "x$ac_cv_func_atan2f" = x""yes; then :
42959   cat >>confdefs.h <<_ACEOF
42960 #define HAVE_ATAN2F 1
42961 _ACEOF
42962
42963 fi
42964 done
42965
42966   else
42967
42968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42969 $as_echo_n "checking for _atan2f declaration... " >&6; }
42970   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42971     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42972   $as_echo_n "(cached) " >&6
42973 else
42974
42975
42976       ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981
42982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h.  */
42984 #include <math.h>
42985 int
42986 main ()
42987 {
42988  _atan2f(0, 0);
42989   ;
42990   return 0;
42991 }
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994   glibcxx_cv_func__atan2f_use=yes
42995 else
42996   glibcxx_cv_func__atan2f_use=no
42997 fi
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999       ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43004
43005
43006 fi
43007
43008   fi
43009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43011
43012     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43013       for ac_func in _atan2f
43014 do :
43015   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43016 if test "x$ac_cv_func__atan2f" = x""yes; then :
43017   cat >>confdefs.h <<_ACEOF
43018 #define HAVE__ATAN2F 1
43019 _ACEOF
43020
43021 fi
43022 done
43023
43024     fi
43025   fi
43026
43027
43028
43029
43030
43031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43032 $as_echo_n "checking for fabsf declaration... " >&6; }
43033   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43034     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43035   $as_echo_n "(cached) " >&6
43036 else
43037
43038
43039       ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044
43045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h.  */
43047 #include <math.h>
43048                       #ifdef HAVE_IEEEFP_H
43049                       #include <ieeefp.h>
43050                       #endif
43051
43052 int
43053 main ()
43054 {
43055  fabsf(0);
43056   ;
43057   return 0;
43058 }
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061   glibcxx_cv_func_fabsf_use=yes
43062 else
43063   glibcxx_cv_func_fabsf_use=no
43064 fi
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066       ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43071
43072
43073 fi
43074
43075   fi
43076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43078
43079   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43080     for ac_func in fabsf
43081 do :
43082   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43083 if test "x$ac_cv_func_fabsf" = x""yes; then :
43084   cat >>confdefs.h <<_ACEOF
43085 #define HAVE_FABSF 1
43086 _ACEOF
43087
43088 fi
43089 done
43090
43091   else
43092
43093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43094 $as_echo_n "checking for _fabsf declaration... " >&6; }
43095   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43096     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43097   $as_echo_n "(cached) " >&6
43098 else
43099
43100
43101       ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106
43107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h.  */
43109 #include <math.h>
43110                       #ifdef HAVE_IEEEFP_H
43111                       #include <ieeefp.h>
43112                       #endif
43113
43114 int
43115 main ()
43116 {
43117  _fabsf(0);
43118   ;
43119   return 0;
43120 }
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123   glibcxx_cv_func__fabsf_use=yes
43124 else
43125   glibcxx_cv_func__fabsf_use=no
43126 fi
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128       ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136
43137   fi
43138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43140
43141     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43142       for ac_func in _fabsf
43143 do :
43144   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43145 if test "x$ac_cv_func__fabsf" = x""yes; then :
43146   cat >>confdefs.h <<_ACEOF
43147 #define HAVE__FABSF 1
43148 _ACEOF
43149
43150 fi
43151 done
43152
43153     fi
43154   fi
43155
43156
43157
43158
43159
43160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43161 $as_echo_n "checking for fmodf declaration... " >&6; }
43162   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43163     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43164   $as_echo_n "(cached) " >&6
43165 else
43166
43167
43168       ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h.  */
43176 #include <math.h>
43177 int
43178 main ()
43179 {
43180  fmodf(0, 0);
43181   ;
43182   return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186   glibcxx_cv_func_fmodf_use=yes
43187 else
43188   glibcxx_cv_func_fmodf_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191       ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200   fi
43201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43203
43204   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43205     for ac_func in fmodf
43206 do :
43207   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43208 if test "x$ac_cv_func_fmodf" = x""yes; then :
43209   cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FMODF 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216   else
43217
43218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43219 $as_echo_n "checking for _fmodf declaration... " >&6; }
43220   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43221     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43222   $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226       ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h.  */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238  _fmodf(0, 0);
43239   ;
43240   return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244   glibcxx_cv_func__fmodf_use=yes
43245 else
43246   glibcxx_cv_func__fmodf_use=no
43247 fi
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249       ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258   fi
43259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43261
43262     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43263       for ac_func in _fmodf
43264 do :
43265   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43266 if test "x$ac_cv_func__fmodf" = x""yes; then :
43267   cat >>confdefs.h <<_ACEOF
43268 #define HAVE__FMODF 1
43269 _ACEOF
43270
43271 fi
43272 done
43273
43274     fi
43275   fi
43276
43277
43278
43279
43280
43281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43282 $as_echo_n "checking for frexpf declaration... " >&6; }
43283   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43284     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43285   $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289       ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h.  */
43297 #include <math.h>
43298 int
43299 main ()
43300 {
43301  frexpf(0, 0);
43302   ;
43303   return 0;
43304 }
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307   glibcxx_cv_func_frexpf_use=yes
43308 else
43309   glibcxx_cv_func_frexpf_use=no
43310 fi
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312       ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317
43318
43319 fi
43320
43321   fi
43322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43324
43325   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43326     for ac_func in frexpf
43327 do :
43328   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43329 if test "x$ac_cv_func_frexpf" = x""yes; then :
43330   cat >>confdefs.h <<_ACEOF
43331 #define HAVE_FREXPF 1
43332 _ACEOF
43333
43334 fi
43335 done
43336
43337   else
43338
43339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43340 $as_echo_n "checking for _frexpf declaration... " >&6; }
43341   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43342     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43343   $as_echo_n "(cached) " >&6
43344 else
43345
43346
43347       ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352
43353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h.  */
43355 #include <math.h>
43356 int
43357 main ()
43358 {
43359  _frexpf(0, 0);
43360   ;
43361   return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365   glibcxx_cv_func__frexpf_use=yes
43366 else
43367   glibcxx_cv_func__frexpf_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370       ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379   fi
43380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43382
43383     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43384       for ac_func in _frexpf
43385 do :
43386   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43387 if test "x$ac_cv_func__frexpf" = x""yes; then :
43388   cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FREXPF 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395     fi
43396   fi
43397
43398
43399
43400
43401
43402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43403 $as_echo_n "checking for hypotf declaration... " >&6; }
43404   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43405     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43406   $as_echo_n "(cached) " >&6
43407 else
43408
43409
43410       ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415
43416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h.  */
43418 #include <math.h>
43419 int
43420 main ()
43421 {
43422  hypotf(0, 0);
43423   ;
43424   return 0;
43425 }
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428   glibcxx_cv_func_hypotf_use=yes
43429 else
43430   glibcxx_cv_func_hypotf_use=no
43431 fi
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433       ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438
43439
43440 fi
43441
43442   fi
43443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43445
43446   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43447     for ac_func in hypotf
43448 do :
43449   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43450 if test "x$ac_cv_func_hypotf" = x""yes; then :
43451   cat >>confdefs.h <<_ACEOF
43452 #define HAVE_HYPOTF 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458   else
43459
43460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43461 $as_echo_n "checking for _hypotf declaration... " >&6; }
43462   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43463     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43464   $as_echo_n "(cached) " >&6
43465 else
43466
43467
43468       ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473
43474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h.  */
43476 #include <math.h>
43477 int
43478 main ()
43479 {
43480  _hypotf(0, 0);
43481   ;
43482   return 0;
43483 }
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486   glibcxx_cv_func__hypotf_use=yes
43487 else
43488   glibcxx_cv_func__hypotf_use=no
43489 fi
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491       ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43496
43497
43498 fi
43499
43500   fi
43501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43503
43504     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43505       for ac_func in _hypotf
43506 do :
43507   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43508 if test "x$ac_cv_func__hypotf" = x""yes; then :
43509   cat >>confdefs.h <<_ACEOF
43510 #define HAVE__HYPOTF 1
43511 _ACEOF
43512
43513 fi
43514 done
43515
43516     fi
43517   fi
43518
43519
43520
43521
43522
43523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43524 $as_echo_n "checking for ldexpf declaration... " >&6; }
43525   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43526     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43527   $as_echo_n "(cached) " >&6
43528 else
43529
43530
43531       ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536
43537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h.  */
43539 #include <math.h>
43540 int
43541 main ()
43542 {
43543  ldexpf(0, 0);
43544   ;
43545   return 0;
43546 }
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549   glibcxx_cv_func_ldexpf_use=yes
43550 else
43551   glibcxx_cv_func_ldexpf_use=no
43552 fi
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554       ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43559
43560
43561 fi
43562
43563   fi
43564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43566
43567   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43568     for ac_func in ldexpf
43569 do :
43570   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43571 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43572   cat >>confdefs.h <<_ACEOF
43573 #define HAVE_LDEXPF 1
43574 _ACEOF
43575
43576 fi
43577 done
43578
43579   else
43580
43581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43583   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43584     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43585   $as_echo_n "(cached) " >&6
43586 else
43587
43588
43589       ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594
43595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h.  */
43597 #include <math.h>
43598 int
43599 main ()
43600 {
43601  _ldexpf(0, 0);
43602   ;
43603   return 0;
43604 }
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607   glibcxx_cv_func__ldexpf_use=yes
43608 else
43609   glibcxx_cv_func__ldexpf_use=no
43610 fi
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612       ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43617
43618
43619 fi
43620
43621   fi
43622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43624
43625     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43626       for ac_func in _ldexpf
43627 do :
43628   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43629 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43630   cat >>confdefs.h <<_ACEOF
43631 #define HAVE__LDEXPF 1
43632 _ACEOF
43633
43634 fi
43635 done
43636
43637     fi
43638   fi
43639
43640
43641
43642
43643
43644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43645 $as_echo_n "checking for logf declaration... " >&6; }
43646   if test x${glibcxx_cv_func_logf_use+set} != xset; then
43647     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43648   $as_echo_n "(cached) " >&6
43649 else
43650
43651
43652       ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657
43658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h.  */
43660 #include <math.h>
43661                       #ifdef HAVE_IEEEFP_H
43662                       #include <ieeefp.h>
43663                       #endif
43664
43665 int
43666 main ()
43667 {
43668  logf(0);
43669   ;
43670   return 0;
43671 }
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674   glibcxx_cv_func_logf_use=yes
43675 else
43676   glibcxx_cv_func_logf_use=no
43677 fi
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679       ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43684
43685
43686 fi
43687
43688   fi
43689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43691
43692   if test x$glibcxx_cv_func_logf_use = x"yes"; then
43693     for ac_func in logf
43694 do :
43695   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43696 if test "x$ac_cv_func_logf" = x""yes; then :
43697   cat >>confdefs.h <<_ACEOF
43698 #define HAVE_LOGF 1
43699 _ACEOF
43700
43701 fi
43702 done
43703
43704   else
43705
43706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43707 $as_echo_n "checking for _logf declaration... " >&6; }
43708   if test x${glibcxx_cv_func__logf_use+set} != xset; then
43709     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43710   $as_echo_n "(cached) " >&6
43711 else
43712
43713
43714       ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719
43720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h.  */
43722 #include <math.h>
43723                       #ifdef HAVE_IEEEFP_H
43724                       #include <ieeefp.h>
43725                       #endif
43726
43727 int
43728 main ()
43729 {
43730  _logf(0);
43731   ;
43732   return 0;
43733 }
43734 _ACEOF
43735 if ac_fn_cxx_try_compile "$LINENO"; then :
43736   glibcxx_cv_func__logf_use=yes
43737 else
43738   glibcxx_cv_func__logf_use=no
43739 fi
43740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43741       ac_ext=c
43742 ac_cpp='$CPP $CPPFLAGS'
43743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43746
43747
43748 fi
43749
43750   fi
43751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43753
43754     if test x$glibcxx_cv_func__logf_use = x"yes"; then
43755       for ac_func in _logf
43756 do :
43757   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43758 if test "x$ac_cv_func__logf" = x""yes; then :
43759   cat >>confdefs.h <<_ACEOF
43760 #define HAVE__LOGF 1
43761 _ACEOF
43762
43763 fi
43764 done
43765
43766     fi
43767   fi
43768
43769
43770
43771
43772
43773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43774 $as_echo_n "checking for log10f declaration... " >&6; }
43775   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43776     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43777   $as_echo_n "(cached) " >&6
43778 else
43779
43780
43781       ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786
43787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h.  */
43789 #include <math.h>
43790                       #ifdef HAVE_IEEEFP_H
43791                       #include <ieeefp.h>
43792                       #endif
43793
43794 int
43795 main ()
43796 {
43797  log10f(0);
43798   ;
43799   return 0;
43800 }
43801 _ACEOF
43802 if ac_fn_cxx_try_compile "$LINENO"; then :
43803   glibcxx_cv_func_log10f_use=yes
43804 else
43805   glibcxx_cv_func_log10f_use=no
43806 fi
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43808       ac_ext=c
43809 ac_cpp='$CPP $CPPFLAGS'
43810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43813
43814
43815 fi
43816
43817   fi
43818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43820
43821   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43822     for ac_func in log10f
43823 do :
43824   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43825 if test "x$ac_cv_func_log10f" = x""yes; then :
43826   cat >>confdefs.h <<_ACEOF
43827 #define HAVE_LOG10F 1
43828 _ACEOF
43829
43830 fi
43831 done
43832
43833   else
43834
43835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43836 $as_echo_n "checking for _log10f declaration... " >&6; }
43837   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43838     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43839   $as_echo_n "(cached) " >&6
43840 else
43841
43842
43843       ac_ext=cpp
43844 ac_cpp='$CXXCPP $CPPFLAGS'
43845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43848
43849       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43850 /* end confdefs.h.  */
43851 #include <math.h>
43852                       #ifdef HAVE_IEEEFP_H
43853                       #include <ieeefp.h>
43854                       #endif
43855
43856 int
43857 main ()
43858 {
43859  _log10f(0);
43860   ;
43861   return 0;
43862 }
43863 _ACEOF
43864 if ac_fn_cxx_try_compile "$LINENO"; then :
43865   glibcxx_cv_func__log10f_use=yes
43866 else
43867   glibcxx_cv_func__log10f_use=no
43868 fi
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870       ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43875
43876
43877 fi
43878
43879   fi
43880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43882
43883     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43884       for ac_func in _log10f
43885 do :
43886   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43887 if test "x$ac_cv_func__log10f" = x""yes; then :
43888   cat >>confdefs.h <<_ACEOF
43889 #define HAVE__LOG10F 1
43890 _ACEOF
43891
43892 fi
43893 done
43894
43895     fi
43896   fi
43897
43898
43899
43900
43901
43902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43903 $as_echo_n "checking for modff declaration... " >&6; }
43904   if test x${glibcxx_cv_func_modff_use+set} != xset; then
43905     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43906   $as_echo_n "(cached) " >&6
43907 else
43908
43909
43910       ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h.  */
43918 #include <math.h>
43919 int
43920 main ()
43921 {
43922  modff(0, 0);
43923   ;
43924   return 0;
43925 }
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928   glibcxx_cv_func_modff_use=yes
43929 else
43930   glibcxx_cv_func_modff_use=no
43931 fi
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933       ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938
43939
43940 fi
43941
43942   fi
43943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43945
43946   if test x$glibcxx_cv_func_modff_use = x"yes"; then
43947     for ac_func in modff
43948 do :
43949   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43950 if test "x$ac_cv_func_modff" = x""yes; then :
43951   cat >>confdefs.h <<_ACEOF
43952 #define HAVE_MODFF 1
43953 _ACEOF
43954
43955 fi
43956 done
43957
43958   else
43959
43960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43961 $as_echo_n "checking for _modff declaration... " >&6; }
43962   if test x${glibcxx_cv_func__modff_use+set} != xset; then
43963     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43964   $as_echo_n "(cached) " >&6
43965 else
43966
43967
43968       ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973
43974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h.  */
43976 #include <math.h>
43977 int
43978 main ()
43979 {
43980  _modff(0, 0);
43981   ;
43982   return 0;
43983 }
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986   glibcxx_cv_func__modff_use=yes
43987 else
43988   glibcxx_cv_func__modff_use=no
43989 fi
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991       ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997
43998 fi
43999
44000   fi
44001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44003
44004     if test x$glibcxx_cv_func__modff_use = x"yes"; then
44005       for ac_func in _modff
44006 do :
44007   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44008 if test "x$ac_cv_func__modff" = x""yes; then :
44009   cat >>confdefs.h <<_ACEOF
44010 #define HAVE__MODFF 1
44011 _ACEOF
44012
44013 fi
44014 done
44015
44016     fi
44017   fi
44018
44019
44020
44021
44022
44023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44024 $as_echo_n "checking for modf declaration... " >&6; }
44025   if test x${glibcxx_cv_func_modf_use+set} != xset; then
44026     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44027   $as_echo_n "(cached) " >&6
44028 else
44029
44030
44031       ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036
44037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h.  */
44039 #include <math.h>
44040 int
44041 main ()
44042 {
44043  modf(0, 0);
44044   ;
44045   return 0;
44046 }
44047 _ACEOF
44048 if ac_fn_cxx_try_compile "$LINENO"; then :
44049   glibcxx_cv_func_modf_use=yes
44050 else
44051   glibcxx_cv_func_modf_use=no
44052 fi
44053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44054       ac_ext=c
44055 ac_cpp='$CPP $CPPFLAGS'
44056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44059
44060
44061 fi
44062
44063   fi
44064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44066
44067   if test x$glibcxx_cv_func_modf_use = x"yes"; then
44068     for ac_func in modf
44069 do :
44070   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44071 if test "x$ac_cv_func_modf" = x""yes; then :
44072   cat >>confdefs.h <<_ACEOF
44073 #define HAVE_MODF 1
44074 _ACEOF
44075
44076 fi
44077 done
44078
44079   else
44080
44081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44082 $as_echo_n "checking for _modf declaration... " >&6; }
44083   if test x${glibcxx_cv_func__modf_use+set} != xset; then
44084     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44085   $as_echo_n "(cached) " >&6
44086 else
44087
44088
44089       ac_ext=cpp
44090 ac_cpp='$CXXCPP $CPPFLAGS'
44091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44094
44095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44096 /* end confdefs.h.  */
44097 #include <math.h>
44098 int
44099 main ()
44100 {
44101  _modf(0, 0);
44102   ;
44103   return 0;
44104 }
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107   glibcxx_cv_func__modf_use=yes
44108 else
44109   glibcxx_cv_func__modf_use=no
44110 fi
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112       ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117
44118
44119 fi
44120
44121   fi
44122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44124
44125     if test x$glibcxx_cv_func__modf_use = x"yes"; then
44126       for ac_func in _modf
44127 do :
44128   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44129 if test "x$ac_cv_func__modf" = x""yes; then :
44130   cat >>confdefs.h <<_ACEOF
44131 #define HAVE__MODF 1
44132 _ACEOF
44133
44134 fi
44135 done
44136
44137     fi
44138   fi
44139
44140
44141
44142
44143
44144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44145 $as_echo_n "checking for powf declaration... " >&6; }
44146   if test x${glibcxx_cv_func_powf_use+set} != xset; then
44147     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44148   $as_echo_n "(cached) " >&6
44149 else
44150
44151
44152       ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157
44158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h.  */
44160 #include <math.h>
44161 int
44162 main ()
44163 {
44164  powf(0, 0);
44165   ;
44166   return 0;
44167 }
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170   glibcxx_cv_func_powf_use=yes
44171 else
44172   glibcxx_cv_func_powf_use=no
44173 fi
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175       ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44180
44181
44182 fi
44183
44184   fi
44185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44187
44188   if test x$glibcxx_cv_func_powf_use = x"yes"; then
44189     for ac_func in powf
44190 do :
44191   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44192 if test "x$ac_cv_func_powf" = x""yes; then :
44193   cat >>confdefs.h <<_ACEOF
44194 #define HAVE_POWF 1
44195 _ACEOF
44196
44197 fi
44198 done
44199
44200   else
44201
44202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44203 $as_echo_n "checking for _powf declaration... " >&6; }
44204   if test x${glibcxx_cv_func__powf_use+set} != xset; then
44205     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44206   $as_echo_n "(cached) " >&6
44207 else
44208
44209
44210       ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215
44216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h.  */
44218 #include <math.h>
44219 int
44220 main ()
44221 {
44222  _powf(0, 0);
44223   ;
44224   return 0;
44225 }
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228   glibcxx_cv_func__powf_use=yes
44229 else
44230   glibcxx_cv_func__powf_use=no
44231 fi
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233       ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44238
44239
44240 fi
44241
44242   fi
44243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44245
44246     if test x$glibcxx_cv_func__powf_use = x"yes"; then
44247       for ac_func in _powf
44248 do :
44249   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44250 if test "x$ac_cv_func__powf" = x""yes; then :
44251   cat >>confdefs.h <<_ACEOF
44252 #define HAVE__POWF 1
44253 _ACEOF
44254
44255 fi
44256 done
44257
44258     fi
44259   fi
44260
44261
44262
44263
44264
44265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44266 $as_echo_n "checking for sqrtf declaration... " >&6; }
44267   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44268     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44269   $as_echo_n "(cached) " >&6
44270 else
44271
44272
44273       ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278
44279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h.  */
44281 #include <math.h>
44282                       #ifdef HAVE_IEEEFP_H
44283                       #include <ieeefp.h>
44284                       #endif
44285
44286 int
44287 main ()
44288 {
44289  sqrtf(0);
44290   ;
44291   return 0;
44292 }
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295   glibcxx_cv_func_sqrtf_use=yes
44296 else
44297   glibcxx_cv_func_sqrtf_use=no
44298 fi
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300       ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44305
44306
44307 fi
44308
44309   fi
44310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44312
44313   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44314     for ac_func in sqrtf
44315 do :
44316   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44317 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44318   cat >>confdefs.h <<_ACEOF
44319 #define HAVE_SQRTF 1
44320 _ACEOF
44321
44322 fi
44323 done
44324
44325   else
44326
44327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44329   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44330     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44331   $as_echo_n "(cached) " >&6
44332 else
44333
44334
44335       ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340
44341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h.  */
44343 #include <math.h>
44344                       #ifdef HAVE_IEEEFP_H
44345                       #include <ieeefp.h>
44346                       #endif
44347
44348 int
44349 main ()
44350 {
44351  _sqrtf(0);
44352   ;
44353   return 0;
44354 }
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357   glibcxx_cv_func__sqrtf_use=yes
44358 else
44359   glibcxx_cv_func__sqrtf_use=no
44360 fi
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362       ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44367
44368
44369 fi
44370
44371   fi
44372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44374
44375     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44376       for ac_func in _sqrtf
44377 do :
44378   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44379 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44380   cat >>confdefs.h <<_ACEOF
44381 #define HAVE__SQRTF 1
44382 _ACEOF
44383
44384 fi
44385 done
44386
44387     fi
44388   fi
44389
44390
44391
44392
44393
44394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44395 $as_echo_n "checking for sincosf declaration... " >&6; }
44396   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44397     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44398   $as_echo_n "(cached) " >&6
44399 else
44400
44401
44402       ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44407
44408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h.  */
44410 #include <math.h>
44411 int
44412 main ()
44413 {
44414  sincosf(0, 0, 0);
44415   ;
44416   return 0;
44417 }
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420   glibcxx_cv_func_sincosf_use=yes
44421 else
44422   glibcxx_cv_func_sincosf_use=no
44423 fi
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425       ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430
44431
44432 fi
44433
44434   fi
44435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44437
44438   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44439     for ac_func in sincosf
44440 do :
44441   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44442 if test "x$ac_cv_func_sincosf" = x""yes; then :
44443   cat >>confdefs.h <<_ACEOF
44444 #define HAVE_SINCOSF 1
44445 _ACEOF
44446
44447 fi
44448 done
44449
44450   else
44451
44452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44453 $as_echo_n "checking for _sincosf declaration... " >&6; }
44454   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44455     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44456   $as_echo_n "(cached) " >&6
44457 else
44458
44459
44460       ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44465
44466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h.  */
44468 #include <math.h>
44469 int
44470 main ()
44471 {
44472  _sincosf(0, 0, 0);
44473   ;
44474   return 0;
44475 }
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478   glibcxx_cv_func__sincosf_use=yes
44479 else
44480   glibcxx_cv_func__sincosf_use=no
44481 fi
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483       ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44488
44489
44490 fi
44491
44492   fi
44493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44495
44496     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44497       for ac_func in _sincosf
44498 do :
44499   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44500 if test "x$ac_cv_func__sincosf" = x""yes; then :
44501   cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SINCOSF 1
44503 _ACEOF
44504
44505 fi
44506 done
44507
44508     fi
44509   fi
44510
44511
44512
44513
44514
44515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44516 $as_echo_n "checking for finitef declaration... " >&6; }
44517   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44518     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44519   $as_echo_n "(cached) " >&6
44520 else
44521
44522
44523       ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528
44529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h.  */
44531 #include <math.h>
44532                       #ifdef HAVE_IEEEFP_H
44533                       #include <ieeefp.h>
44534                       #endif
44535
44536 int
44537 main ()
44538 {
44539  finitef(0);
44540   ;
44541   return 0;
44542 }
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545   glibcxx_cv_func_finitef_use=yes
44546 else
44547   glibcxx_cv_func_finitef_use=no
44548 fi
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550       ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44555
44556
44557 fi
44558
44559   fi
44560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44562
44563   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44564     for ac_func in finitef
44565 do :
44566   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44567 if test "x$ac_cv_func_finitef" = x""yes; then :
44568   cat >>confdefs.h <<_ACEOF
44569 #define HAVE_FINITEF 1
44570 _ACEOF
44571
44572 fi
44573 done
44574
44575   else
44576
44577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44578 $as_echo_n "checking for _finitef declaration... " >&6; }
44579   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44580     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44581   $as_echo_n "(cached) " >&6
44582 else
44583
44584
44585       ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590
44591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h.  */
44593 #include <math.h>
44594                       #ifdef HAVE_IEEEFP_H
44595                       #include <ieeefp.h>
44596                       #endif
44597
44598 int
44599 main ()
44600 {
44601  _finitef(0);
44602   ;
44603   return 0;
44604 }
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607   glibcxx_cv_func__finitef_use=yes
44608 else
44609   glibcxx_cv_func__finitef_use=no
44610 fi
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612       ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617
44618
44619 fi
44620
44621   fi
44622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44624
44625     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44626       for ac_func in _finitef
44627 do :
44628   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44629 if test "x$ac_cv_func__finitef" = x""yes; then :
44630   cat >>confdefs.h <<_ACEOF
44631 #define HAVE__FINITEF 1
44632 _ACEOF
44633
44634 fi
44635 done
44636
44637     fi
44638   fi
44639
44640
44641
44642
44643
44644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44645 $as_echo_n "checking for long double trig functions... " >&6; }
44646   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44647   $as_echo_n "(cached) " >&6
44648 else
44649
44650
44651     ac_ext=cpp
44652 ac_cpp='$CXXCPP $CPPFLAGS'
44653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656
44657     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44658 /* end confdefs.h.  */
44659 #include <math.h>
44660 int
44661 main ()
44662 {
44663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44664   ;
44665   return 0;
44666 }
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669   glibcxx_cv_func_long_double_trig_use=yes
44670 else
44671   glibcxx_cv_func_long_double_trig_use=no
44672 fi
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674     ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44679
44680 fi
44681
44682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44684   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44685     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44686 do :
44687   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44689 eval as_val=\$$as_ac_var
44690    if test "x$as_val" = x""yes; then :
44691   cat >>confdefs.h <<_ACEOF
44692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44693 _ACEOF
44694
44695 fi
44696 done
44697
44698   else
44699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44700 $as_echo_n "checking for _long double trig functions... " >&6; }
44701     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44702   $as_echo_n "(cached) " >&6
44703 else
44704
44705
44706       ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711
44712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h.  */
44714 #include <math.h>
44715 int
44716 main ()
44717 {
44718 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44719   ;
44720   return 0;
44721 }
44722 _ACEOF
44723 if ac_fn_cxx_try_compile "$LINENO"; then :
44724   glibcxx_cv_func__long_double_trig_use=yes
44725 else
44726   glibcxx_cv_func__long_double_trig_use=no
44727 fi
44728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44729       ac_ext=c
44730 ac_cpp='$CPP $CPPFLAGS'
44731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44734
44735 fi
44736
44737     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44738 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44739     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44740       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44741 do :
44742   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44744 eval as_val=\$$as_ac_var
44745    if test "x$as_val" = x""yes; then :
44746   cat >>confdefs.h <<_ACEOF
44747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44748 _ACEOF
44749
44750 fi
44751 done
44752
44753     fi
44754   fi
44755
44756
44757
44758
44759
44760     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44761 $as_echo_n "checking for long double round functions... " >&6; }
44762   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44763   $as_echo_n "(cached) " >&6
44764 else
44765
44766
44767     ac_ext=cpp
44768 ac_cpp='$CXXCPP $CPPFLAGS'
44769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44772
44773     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h.  */
44775 #include <math.h>
44776 int
44777 main ()
44778 {
44779 ceill (0); floorl (0);
44780   ;
44781   return 0;
44782 }
44783 _ACEOF
44784 if ac_fn_cxx_try_compile "$LINENO"; then :
44785   glibcxx_cv_func_long_double_round_use=yes
44786 else
44787   glibcxx_cv_func_long_double_round_use=no
44788 fi
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44790     ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44795
44796 fi
44797
44798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44799 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44800   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44801     for ac_func in ceill floorl
44802 do :
44803   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44805 eval as_val=\$$as_ac_var
44806    if test "x$as_val" = x""yes; then :
44807   cat >>confdefs.h <<_ACEOF
44808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44809 _ACEOF
44810
44811 fi
44812 done
44813
44814   else
44815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44816 $as_echo_n "checking for _long double round functions... " >&6; }
44817     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44818   $as_echo_n "(cached) " >&6
44819 else
44820
44821
44822       ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827
44828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h.  */
44830 #include <math.h>
44831 int
44832 main ()
44833 {
44834 _ceill (0); _floorl (0);
44835   ;
44836   return 0;
44837 }
44838 _ACEOF
44839 if ac_fn_cxx_try_compile "$LINENO"; then :
44840   glibcxx_cv_func__long_double_round_use=yes
44841 else
44842   glibcxx_cv_func__long_double_round_use=no
44843 fi
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44845       ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850
44851 fi
44852
44853     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44854 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44855     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44856       for ac_func in _ceill _floorl
44857 do :
44858   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44860 eval as_val=\$$as_ac_var
44861    if test "x$as_val" = x""yes; then :
44862   cat >>confdefs.h <<_ACEOF
44863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44864 _ACEOF
44865
44866 fi
44867 done
44868
44869     fi
44870   fi
44871
44872
44873
44874
44875
44876
44877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44878 $as_echo_n "checking for isnanl declaration... " >&6; }
44879   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44880     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44881   $as_echo_n "(cached) " >&6
44882 else
44883
44884
44885       ac_ext=cpp
44886 ac_cpp='$CXXCPP $CPPFLAGS'
44887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44890
44891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44892 /* end confdefs.h.  */
44893 #include <math.h>
44894                       #ifdef HAVE_IEEEFP_H
44895                       #include <ieeefp.h>
44896                       #endif
44897
44898 int
44899 main ()
44900 {
44901  isnanl(0);
44902   ;
44903   return 0;
44904 }
44905 _ACEOF
44906 if ac_fn_cxx_try_compile "$LINENO"; then :
44907   glibcxx_cv_func_isnanl_use=yes
44908 else
44909   glibcxx_cv_func_isnanl_use=no
44910 fi
44911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44912       ac_ext=c
44913 ac_cpp='$CPP $CPPFLAGS'
44914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44917
44918
44919 fi
44920
44921   fi
44922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44924
44925   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44926     for ac_func in isnanl
44927 do :
44928   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44929 if test "x$ac_cv_func_isnanl" = x""yes; then :
44930   cat >>confdefs.h <<_ACEOF
44931 #define HAVE_ISNANL 1
44932 _ACEOF
44933
44934 fi
44935 done
44936
44937   else
44938
44939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44940 $as_echo_n "checking for _isnanl declaration... " >&6; }
44941   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44942     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44943   $as_echo_n "(cached) " >&6
44944 else
44945
44946
44947       ac_ext=cpp
44948 ac_cpp='$CXXCPP $CPPFLAGS'
44949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952
44953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44954 /* end confdefs.h.  */
44955 #include <math.h>
44956                       #ifdef HAVE_IEEEFP_H
44957                       #include <ieeefp.h>
44958                       #endif
44959
44960 int
44961 main ()
44962 {
44963  _isnanl(0);
44964   ;
44965   return 0;
44966 }
44967 _ACEOF
44968 if ac_fn_cxx_try_compile "$LINENO"; then :
44969   glibcxx_cv_func__isnanl_use=yes
44970 else
44971   glibcxx_cv_func__isnanl_use=no
44972 fi
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974       ac_ext=c
44975 ac_cpp='$CPP $CPPFLAGS'
44976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44979
44980
44981 fi
44982
44983   fi
44984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44986
44987     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44988       for ac_func in _isnanl
44989 do :
44990   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44991 if test "x$ac_cv_func__isnanl" = x""yes; then :
44992   cat >>confdefs.h <<_ACEOF
44993 #define HAVE__ISNANL 1
44994 _ACEOF
44995
44996 fi
44997 done
44998
44999     fi
45000   fi
45001
45002
45003
45004
45005
45006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45007 $as_echo_n "checking for isinfl declaration... " >&6; }
45008   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45009     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45010   $as_echo_n "(cached) " >&6
45011 else
45012
45013
45014       ac_ext=cpp
45015 ac_cpp='$CXXCPP $CPPFLAGS'
45016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45019
45020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45021 /* end confdefs.h.  */
45022 #include <math.h>
45023                       #ifdef HAVE_IEEEFP_H
45024                       #include <ieeefp.h>
45025                       #endif
45026
45027 int
45028 main ()
45029 {
45030  isinfl(0);
45031   ;
45032   return 0;
45033 }
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036   glibcxx_cv_func_isinfl_use=yes
45037 else
45038   glibcxx_cv_func_isinfl_use=no
45039 fi
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041       ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45046
45047
45048 fi
45049
45050   fi
45051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45053
45054   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45055     for ac_func in isinfl
45056 do :
45057   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45058 if test "x$ac_cv_func_isinfl" = x""yes; then :
45059   cat >>confdefs.h <<_ACEOF
45060 #define HAVE_ISINFL 1
45061 _ACEOF
45062
45063 fi
45064 done
45065
45066   else
45067
45068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45069 $as_echo_n "checking for _isinfl declaration... " >&6; }
45070   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45071     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45072   $as_echo_n "(cached) " >&6
45073 else
45074
45075
45076       ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081
45082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h.  */
45084 #include <math.h>
45085                       #ifdef HAVE_IEEEFP_H
45086                       #include <ieeefp.h>
45087                       #endif
45088
45089 int
45090 main ()
45091 {
45092  _isinfl(0);
45093   ;
45094   return 0;
45095 }
45096 _ACEOF
45097 if ac_fn_cxx_try_compile "$LINENO"; then :
45098   glibcxx_cv_func__isinfl_use=yes
45099 else
45100   glibcxx_cv_func__isinfl_use=no
45101 fi
45102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45103       ac_ext=c
45104 ac_cpp='$CPP $CPPFLAGS'
45105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45108
45109
45110 fi
45111
45112   fi
45113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45115
45116     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45117       for ac_func in _isinfl
45118 do :
45119   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45120 if test "x$ac_cv_func__isinfl" = x""yes; then :
45121   cat >>confdefs.h <<_ACEOF
45122 #define HAVE__ISINFL 1
45123 _ACEOF
45124
45125 fi
45126 done
45127
45128     fi
45129   fi
45130
45131
45132
45133
45134
45135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45136 $as_echo_n "checking for atan2l declaration... " >&6; }
45137   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45138     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45139   $as_echo_n "(cached) " >&6
45140 else
45141
45142
45143       ac_ext=cpp
45144 ac_cpp='$CXXCPP $CPPFLAGS'
45145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45148
45149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45150 /* end confdefs.h.  */
45151 #include <math.h>
45152 int
45153 main ()
45154 {
45155  atan2l(0, 0);
45156   ;
45157   return 0;
45158 }
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161   glibcxx_cv_func_atan2l_use=yes
45162 else
45163   glibcxx_cv_func_atan2l_use=no
45164 fi
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166       ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45171
45172
45173 fi
45174
45175   fi
45176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45178
45179   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45180     for ac_func in atan2l
45181 do :
45182   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45183 if test "x$ac_cv_func_atan2l" = x""yes; then :
45184   cat >>confdefs.h <<_ACEOF
45185 #define HAVE_ATAN2L 1
45186 _ACEOF
45187
45188 fi
45189 done
45190
45191   else
45192
45193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45194 $as_echo_n "checking for _atan2l declaration... " >&6; }
45195   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45196     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45197   $as_echo_n "(cached) " >&6
45198 else
45199
45200
45201       ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206
45207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h.  */
45209 #include <math.h>
45210 int
45211 main ()
45212 {
45213  _atan2l(0, 0);
45214   ;
45215   return 0;
45216 }
45217 _ACEOF
45218 if ac_fn_cxx_try_compile "$LINENO"; then :
45219   glibcxx_cv_func__atan2l_use=yes
45220 else
45221   glibcxx_cv_func__atan2l_use=no
45222 fi
45223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45224       ac_ext=c
45225 ac_cpp='$CPP $CPPFLAGS'
45226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45229
45230
45231 fi
45232
45233   fi
45234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45236
45237     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45238       for ac_func in _atan2l
45239 do :
45240   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45241 if test "x$ac_cv_func__atan2l" = x""yes; then :
45242   cat >>confdefs.h <<_ACEOF
45243 #define HAVE__ATAN2L 1
45244 _ACEOF
45245
45246 fi
45247 done
45248
45249     fi
45250   fi
45251
45252
45253
45254
45255
45256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45257 $as_echo_n "checking for expl declaration... " >&6; }
45258   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45259     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45260   $as_echo_n "(cached) " >&6
45261 else
45262
45263
45264       ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269
45270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h.  */
45272 #include <math.h>
45273                       #ifdef HAVE_IEEEFP_H
45274                       #include <ieeefp.h>
45275                       #endif
45276
45277 int
45278 main ()
45279 {
45280  expl(0);
45281   ;
45282   return 0;
45283 }
45284 _ACEOF
45285 if ac_fn_cxx_try_compile "$LINENO"; then :
45286   glibcxx_cv_func_expl_use=yes
45287 else
45288   glibcxx_cv_func_expl_use=no
45289 fi
45290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45291       ac_ext=c
45292 ac_cpp='$CPP $CPPFLAGS'
45293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45296
45297
45298 fi
45299
45300   fi
45301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45303
45304   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45305     for ac_func in expl
45306 do :
45307   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45308 if test "x$ac_cv_func_expl" = x""yes; then :
45309   cat >>confdefs.h <<_ACEOF
45310 #define HAVE_EXPL 1
45311 _ACEOF
45312
45313 fi
45314 done
45315
45316   else
45317
45318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45319 $as_echo_n "checking for _expl declaration... " >&6; }
45320   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45321     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45322   $as_echo_n "(cached) " >&6
45323 else
45324
45325
45326       ac_ext=cpp
45327 ac_cpp='$CXXCPP $CPPFLAGS'
45328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45331
45332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h.  */
45334 #include <math.h>
45335                       #ifdef HAVE_IEEEFP_H
45336                       #include <ieeefp.h>
45337                       #endif
45338
45339 int
45340 main ()
45341 {
45342  _expl(0);
45343   ;
45344   return 0;
45345 }
45346 _ACEOF
45347 if ac_fn_cxx_try_compile "$LINENO"; then :
45348   glibcxx_cv_func__expl_use=yes
45349 else
45350   glibcxx_cv_func__expl_use=no
45351 fi
45352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45353       ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45358
45359
45360 fi
45361
45362   fi
45363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45365
45366     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45367       for ac_func in _expl
45368 do :
45369   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45370 if test "x$ac_cv_func__expl" = x""yes; then :
45371   cat >>confdefs.h <<_ACEOF
45372 #define HAVE__EXPL 1
45373 _ACEOF
45374
45375 fi
45376 done
45377
45378     fi
45379   fi
45380
45381
45382
45383
45384
45385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45386 $as_echo_n "checking for fabsl declaration... " >&6; }
45387   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45388     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45389   $as_echo_n "(cached) " >&6
45390 else
45391
45392
45393       ac_ext=cpp
45394 ac_cpp='$CXXCPP $CPPFLAGS'
45395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45398
45399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45400 /* end confdefs.h.  */
45401 #include <math.h>
45402                       #ifdef HAVE_IEEEFP_H
45403                       #include <ieeefp.h>
45404                       #endif
45405
45406 int
45407 main ()
45408 {
45409  fabsl(0);
45410   ;
45411   return 0;
45412 }
45413 _ACEOF
45414 if ac_fn_cxx_try_compile "$LINENO"; then :
45415   glibcxx_cv_func_fabsl_use=yes
45416 else
45417   glibcxx_cv_func_fabsl_use=no
45418 fi
45419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420       ac_ext=c
45421 ac_cpp='$CPP $CPPFLAGS'
45422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45425
45426
45427 fi
45428
45429   fi
45430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45432
45433   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45434     for ac_func in fabsl
45435 do :
45436   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45437 if test "x$ac_cv_func_fabsl" = x""yes; then :
45438   cat >>confdefs.h <<_ACEOF
45439 #define HAVE_FABSL 1
45440 _ACEOF
45441
45442 fi
45443 done
45444
45445   else
45446
45447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45448 $as_echo_n "checking for _fabsl declaration... " >&6; }
45449   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45450     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45451   $as_echo_n "(cached) " >&6
45452 else
45453
45454
45455       ac_ext=cpp
45456 ac_cpp='$CXXCPP $CPPFLAGS'
45457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45460
45461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45462 /* end confdefs.h.  */
45463 #include <math.h>
45464                       #ifdef HAVE_IEEEFP_H
45465                       #include <ieeefp.h>
45466                       #endif
45467
45468 int
45469 main ()
45470 {
45471  _fabsl(0);
45472   ;
45473   return 0;
45474 }
45475 _ACEOF
45476 if ac_fn_cxx_try_compile "$LINENO"; then :
45477   glibcxx_cv_func__fabsl_use=yes
45478 else
45479   glibcxx_cv_func__fabsl_use=no
45480 fi
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482       ac_ext=c
45483 ac_cpp='$CPP $CPPFLAGS'
45484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45487
45488
45489 fi
45490
45491   fi
45492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45494
45495     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45496       for ac_func in _fabsl
45497 do :
45498   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45499 if test "x$ac_cv_func__fabsl" = x""yes; then :
45500   cat >>confdefs.h <<_ACEOF
45501 #define HAVE__FABSL 1
45502 _ACEOF
45503
45504 fi
45505 done
45506
45507     fi
45508   fi
45509
45510
45511
45512
45513
45514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45515 $as_echo_n "checking for fmodl declaration... " >&6; }
45516   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45517     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45518   $as_echo_n "(cached) " >&6
45519 else
45520
45521
45522       ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527
45528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h.  */
45530 #include <math.h>
45531 int
45532 main ()
45533 {
45534  fmodl(0, 0);
45535   ;
45536   return 0;
45537 }
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540   glibcxx_cv_func_fmodl_use=yes
45541 else
45542   glibcxx_cv_func_fmodl_use=no
45543 fi
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545       ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45550
45551
45552 fi
45553
45554   fi
45555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45557
45558   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45559     for ac_func in fmodl
45560 do :
45561   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45562 if test "x$ac_cv_func_fmodl" = x""yes; then :
45563   cat >>confdefs.h <<_ACEOF
45564 #define HAVE_FMODL 1
45565 _ACEOF
45566
45567 fi
45568 done
45569
45570   else
45571
45572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45573 $as_echo_n "checking for _fmodl declaration... " >&6; }
45574   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45575     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45576   $as_echo_n "(cached) " >&6
45577 else
45578
45579
45580       ac_ext=cpp
45581 ac_cpp='$CXXCPP $CPPFLAGS'
45582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585
45586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45587 /* end confdefs.h.  */
45588 #include <math.h>
45589 int
45590 main ()
45591 {
45592  _fmodl(0, 0);
45593   ;
45594   return 0;
45595 }
45596 _ACEOF
45597 if ac_fn_cxx_try_compile "$LINENO"; then :
45598   glibcxx_cv_func__fmodl_use=yes
45599 else
45600   glibcxx_cv_func__fmodl_use=no
45601 fi
45602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603       ac_ext=c
45604 ac_cpp='$CPP $CPPFLAGS'
45605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45608
45609
45610 fi
45611
45612   fi
45613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45615
45616     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45617       for ac_func in _fmodl
45618 do :
45619   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45620 if test "x$ac_cv_func__fmodl" = x""yes; then :
45621   cat >>confdefs.h <<_ACEOF
45622 #define HAVE__FMODL 1
45623 _ACEOF
45624
45625 fi
45626 done
45627
45628     fi
45629   fi
45630
45631
45632
45633
45634
45635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45636 $as_echo_n "checking for frexpl declaration... " >&6; }
45637   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45638     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45639   $as_echo_n "(cached) " >&6
45640 else
45641
45642
45643       ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45648
45649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h.  */
45651 #include <math.h>
45652 int
45653 main ()
45654 {
45655  frexpl(0, 0);
45656   ;
45657   return 0;
45658 }
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661   glibcxx_cv_func_frexpl_use=yes
45662 else
45663   glibcxx_cv_func_frexpl_use=no
45664 fi
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666       ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45671
45672
45673 fi
45674
45675   fi
45676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45678
45679   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45680     for ac_func in frexpl
45681 do :
45682   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45683 if test "x$ac_cv_func_frexpl" = x""yes; then :
45684   cat >>confdefs.h <<_ACEOF
45685 #define HAVE_FREXPL 1
45686 _ACEOF
45687
45688 fi
45689 done
45690
45691   else
45692
45693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45694 $as_echo_n "checking for _frexpl declaration... " >&6; }
45695   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45696     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45697   $as_echo_n "(cached) " >&6
45698 else
45699
45700
45701       ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706
45707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h.  */
45709 #include <math.h>
45710 int
45711 main ()
45712 {
45713  _frexpl(0, 0);
45714   ;
45715   return 0;
45716 }
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719   glibcxx_cv_func__frexpl_use=yes
45720 else
45721   glibcxx_cv_func__frexpl_use=no
45722 fi
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724       ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45729
45730
45731 fi
45732
45733   fi
45734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45736
45737     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45738       for ac_func in _frexpl
45739 do :
45740   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45741 if test "x$ac_cv_func__frexpl" = x""yes; then :
45742   cat >>confdefs.h <<_ACEOF
45743 #define HAVE__FREXPL 1
45744 _ACEOF
45745
45746 fi
45747 done
45748
45749     fi
45750   fi
45751
45752
45753
45754
45755
45756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45757 $as_echo_n "checking for hypotl declaration... " >&6; }
45758   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45759     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45760   $as_echo_n "(cached) " >&6
45761 else
45762
45763
45764       ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769
45770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h.  */
45772 #include <math.h>
45773 int
45774 main ()
45775 {
45776  hypotl(0, 0);
45777   ;
45778   return 0;
45779 }
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782   glibcxx_cv_func_hypotl_use=yes
45783 else
45784   glibcxx_cv_func_hypotl_use=no
45785 fi
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787       ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45792
45793
45794 fi
45795
45796   fi
45797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45799
45800   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45801     for ac_func in hypotl
45802 do :
45803   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45804 if test "x$ac_cv_func_hypotl" = x""yes; then :
45805   cat >>confdefs.h <<_ACEOF
45806 #define HAVE_HYPOTL 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812   else
45813
45814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45815 $as_echo_n "checking for _hypotl declaration... " >&6; }
45816   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45817     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45818   $as_echo_n "(cached) " >&6
45819 else
45820
45821
45822       ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827
45828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h.  */
45830 #include <math.h>
45831 int
45832 main ()
45833 {
45834  _hypotl(0, 0);
45835   ;
45836   return 0;
45837 }
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840   glibcxx_cv_func__hypotl_use=yes
45841 else
45842   glibcxx_cv_func__hypotl_use=no
45843 fi
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845       ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45850
45851
45852 fi
45853
45854   fi
45855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45857
45858     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45859       for ac_func in _hypotl
45860 do :
45861   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45862 if test "x$ac_cv_func__hypotl" = x""yes; then :
45863   cat >>confdefs.h <<_ACEOF
45864 #define HAVE__HYPOTL 1
45865 _ACEOF
45866
45867 fi
45868 done
45869
45870     fi
45871   fi
45872
45873
45874
45875
45876
45877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45878 $as_echo_n "checking for ldexpl declaration... " >&6; }
45879   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45880     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45881   $as_echo_n "(cached) " >&6
45882 else
45883
45884
45885       ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890
45891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h.  */
45893 #include <math.h>
45894 int
45895 main ()
45896 {
45897  ldexpl(0, 0);
45898   ;
45899   return 0;
45900 }
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903   glibcxx_cv_func_ldexpl_use=yes
45904 else
45905   glibcxx_cv_func_ldexpl_use=no
45906 fi
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908       ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913
45914
45915 fi
45916
45917   fi
45918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45920
45921   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45922     for ac_func in ldexpl
45923 do :
45924   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45925 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45926   cat >>confdefs.h <<_ACEOF
45927 #define HAVE_LDEXPL 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933   else
45934
45935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45937   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45938     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45939   $as_echo_n "(cached) " >&6
45940 else
45941
45942
45943       ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h.  */
45951 #include <math.h>
45952 int
45953 main ()
45954 {
45955  _ldexpl(0, 0);
45956   ;
45957   return 0;
45958 }
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961   glibcxx_cv_func__ldexpl_use=yes
45962 else
45963   glibcxx_cv_func__ldexpl_use=no
45964 fi
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966       ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45971
45972
45973 fi
45974
45975   fi
45976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45978
45979     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45980       for ac_func in _ldexpl
45981 do :
45982   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45983 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45984   cat >>confdefs.h <<_ACEOF
45985 #define HAVE__LDEXPL 1
45986 _ACEOF
45987
45988 fi
45989 done
45990
45991     fi
45992   fi
45993
45994
45995
45996
45997
45998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45999 $as_echo_n "checking for logl declaration... " >&6; }
46000   if test x${glibcxx_cv_func_logl_use+set} != xset; then
46001     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46002   $as_echo_n "(cached) " >&6
46003 else
46004
46005
46006       ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46011
46012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h.  */
46014 #include <math.h>
46015                       #ifdef HAVE_IEEEFP_H
46016                       #include <ieeefp.h>
46017                       #endif
46018
46019 int
46020 main ()
46021 {
46022  logl(0);
46023   ;
46024   return 0;
46025 }
46026 _ACEOF
46027 if ac_fn_cxx_try_compile "$LINENO"; then :
46028   glibcxx_cv_func_logl_use=yes
46029 else
46030   glibcxx_cv_func_logl_use=no
46031 fi
46032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46033       ac_ext=c
46034 ac_cpp='$CPP $CPPFLAGS'
46035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46038
46039
46040 fi
46041
46042   fi
46043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46045
46046   if test x$glibcxx_cv_func_logl_use = x"yes"; then
46047     for ac_func in logl
46048 do :
46049   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46050 if test "x$ac_cv_func_logl" = x""yes; then :
46051   cat >>confdefs.h <<_ACEOF
46052 #define HAVE_LOGL 1
46053 _ACEOF
46054
46055 fi
46056 done
46057
46058   else
46059
46060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46061 $as_echo_n "checking for _logl declaration... " >&6; }
46062   if test x${glibcxx_cv_func__logl_use+set} != xset; then
46063     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46064   $as_echo_n "(cached) " >&6
46065 else
46066
46067
46068       ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073
46074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h.  */
46076 #include <math.h>
46077                       #ifdef HAVE_IEEEFP_H
46078                       #include <ieeefp.h>
46079                       #endif
46080
46081 int
46082 main ()
46083 {
46084  _logl(0);
46085   ;
46086   return 0;
46087 }
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090   glibcxx_cv_func__logl_use=yes
46091 else
46092   glibcxx_cv_func__logl_use=no
46093 fi
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095       ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46100
46101
46102 fi
46103
46104   fi
46105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46107
46108     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46109       for ac_func in _logl
46110 do :
46111   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46112 if test "x$ac_cv_func__logl" = x""yes; then :
46113   cat >>confdefs.h <<_ACEOF
46114 #define HAVE__LOGL 1
46115 _ACEOF
46116
46117 fi
46118 done
46119
46120     fi
46121   fi
46122
46123
46124
46125
46126
46127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46128 $as_echo_n "checking for log10l declaration... " >&6; }
46129   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46130     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46131   $as_echo_n "(cached) " >&6
46132 else
46133
46134
46135       ac_ext=cpp
46136 ac_cpp='$CXXCPP $CPPFLAGS'
46137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140
46141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46142 /* end confdefs.h.  */
46143 #include <math.h>
46144                       #ifdef HAVE_IEEEFP_H
46145                       #include <ieeefp.h>
46146                       #endif
46147
46148 int
46149 main ()
46150 {
46151  log10l(0);
46152   ;
46153   return 0;
46154 }
46155 _ACEOF
46156 if ac_fn_cxx_try_compile "$LINENO"; then :
46157   glibcxx_cv_func_log10l_use=yes
46158 else
46159   glibcxx_cv_func_log10l_use=no
46160 fi
46161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46162       ac_ext=c
46163 ac_cpp='$CPP $CPPFLAGS'
46164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46167
46168
46169 fi
46170
46171   fi
46172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46174
46175   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46176     for ac_func in log10l
46177 do :
46178   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46179 if test "x$ac_cv_func_log10l" = x""yes; then :
46180   cat >>confdefs.h <<_ACEOF
46181 #define HAVE_LOG10L 1
46182 _ACEOF
46183
46184 fi
46185 done
46186
46187   else
46188
46189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46190 $as_echo_n "checking for _log10l declaration... " >&6; }
46191   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46192     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46193   $as_echo_n "(cached) " >&6
46194 else
46195
46196
46197       ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202
46203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h.  */
46205 #include <math.h>
46206                       #ifdef HAVE_IEEEFP_H
46207                       #include <ieeefp.h>
46208                       #endif
46209
46210 int
46211 main ()
46212 {
46213  _log10l(0);
46214   ;
46215   return 0;
46216 }
46217 _ACEOF
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219   glibcxx_cv_func__log10l_use=yes
46220 else
46221   glibcxx_cv_func__log10l_use=no
46222 fi
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224       ac_ext=c
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46229
46230
46231 fi
46232
46233   fi
46234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46236
46237     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46238       for ac_func in _log10l
46239 do :
46240   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46241 if test "x$ac_cv_func__log10l" = x""yes; then :
46242   cat >>confdefs.h <<_ACEOF
46243 #define HAVE__LOG10L 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249     fi
46250   fi
46251
46252
46253
46254
46255
46256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46257 $as_echo_n "checking for modfl declaration... " >&6; }
46258   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46259     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46260   $as_echo_n "(cached) " >&6
46261 else
46262
46263
46264       ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269
46270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h.  */
46272 #include <math.h>
46273 int
46274 main ()
46275 {
46276  modfl(0, 0);
46277   ;
46278   return 0;
46279 }
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282   glibcxx_cv_func_modfl_use=yes
46283 else
46284   glibcxx_cv_func_modfl_use=no
46285 fi
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287       ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46292
46293
46294 fi
46295
46296   fi
46297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46299
46300   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46301     for ac_func in modfl
46302 do :
46303   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46304 if test "x$ac_cv_func_modfl" = x""yes; then :
46305   cat >>confdefs.h <<_ACEOF
46306 #define HAVE_MODFL 1
46307 _ACEOF
46308
46309 fi
46310 done
46311
46312   else
46313
46314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46315 $as_echo_n "checking for _modfl declaration... " >&6; }
46316   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46317     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46318   $as_echo_n "(cached) " >&6
46319 else
46320
46321
46322       ac_ext=cpp
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46327
46328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46329 /* end confdefs.h.  */
46330 #include <math.h>
46331 int
46332 main ()
46333 {
46334  _modfl(0, 0);
46335   ;
46336   return 0;
46337 }
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340   glibcxx_cv_func__modfl_use=yes
46341 else
46342   glibcxx_cv_func__modfl_use=no
46343 fi
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345       ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46350
46351
46352 fi
46353
46354   fi
46355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46357
46358     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46359       for ac_func in _modfl
46360 do :
46361   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46362 if test "x$ac_cv_func__modfl" = x""yes; then :
46363   cat >>confdefs.h <<_ACEOF
46364 #define HAVE__MODFL 1
46365 _ACEOF
46366
46367 fi
46368 done
46369
46370     fi
46371   fi
46372
46373
46374
46375
46376
46377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46378 $as_echo_n "checking for powl declaration... " >&6; }
46379   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46380     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46381   $as_echo_n "(cached) " >&6
46382 else
46383
46384
46385       ac_ext=cpp
46386 ac_cpp='$CXXCPP $CPPFLAGS'
46387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46390
46391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46392 /* end confdefs.h.  */
46393 #include <math.h>
46394 int
46395 main ()
46396 {
46397  powl(0, 0);
46398   ;
46399   return 0;
46400 }
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403   glibcxx_cv_func_powl_use=yes
46404 else
46405   glibcxx_cv_func_powl_use=no
46406 fi
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408       ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46413
46414
46415 fi
46416
46417   fi
46418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46420
46421   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46422     for ac_func in powl
46423 do :
46424   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46425 if test "x$ac_cv_func_powl" = x""yes; then :
46426   cat >>confdefs.h <<_ACEOF
46427 #define HAVE_POWL 1
46428 _ACEOF
46429
46430 fi
46431 done
46432
46433   else
46434
46435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46436 $as_echo_n "checking for _powl declaration... " >&6; }
46437   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46438     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46439   $as_echo_n "(cached) " >&6
46440 else
46441
46442
46443       ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h.  */
46451 #include <math.h>
46452 int
46453 main ()
46454 {
46455  _powl(0, 0);
46456   ;
46457   return 0;
46458 }
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461   glibcxx_cv_func__powl_use=yes
46462 else
46463   glibcxx_cv_func__powl_use=no
46464 fi
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466       ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46471
46472
46473 fi
46474
46475   fi
46476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46478
46479     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46480       for ac_func in _powl
46481 do :
46482   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46483 if test "x$ac_cv_func__powl" = x""yes; then :
46484   cat >>confdefs.h <<_ACEOF
46485 #define HAVE__POWL 1
46486 _ACEOF
46487
46488 fi
46489 done
46490
46491     fi
46492   fi
46493
46494
46495
46496
46497
46498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46499 $as_echo_n "checking for sqrtl declaration... " >&6; }
46500   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46501     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46502   $as_echo_n "(cached) " >&6
46503 else
46504
46505
46506       ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46511
46512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h.  */
46514 #include <math.h>
46515                       #ifdef HAVE_IEEEFP_H
46516                       #include <ieeefp.h>
46517                       #endif
46518
46519 int
46520 main ()
46521 {
46522  sqrtl(0);
46523   ;
46524   return 0;
46525 }
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528   glibcxx_cv_func_sqrtl_use=yes
46529 else
46530   glibcxx_cv_func_sqrtl_use=no
46531 fi
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533       ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46538
46539
46540 fi
46541
46542   fi
46543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46545
46546   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46547     for ac_func in sqrtl
46548 do :
46549   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46550 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46551   cat >>confdefs.h <<_ACEOF
46552 #define HAVE_SQRTL 1
46553 _ACEOF
46554
46555 fi
46556 done
46557
46558   else
46559
46560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46562   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46563     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46564   $as_echo_n "(cached) " >&6
46565 else
46566
46567
46568       ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46573
46574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h.  */
46576 #include <math.h>
46577                       #ifdef HAVE_IEEEFP_H
46578                       #include <ieeefp.h>
46579                       #endif
46580
46581 int
46582 main ()
46583 {
46584  _sqrtl(0);
46585   ;
46586   return 0;
46587 }
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590   glibcxx_cv_func__sqrtl_use=yes
46591 else
46592   glibcxx_cv_func__sqrtl_use=no
46593 fi
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595       ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46600
46601
46602 fi
46603
46604   fi
46605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46607
46608     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46609       for ac_func in _sqrtl
46610 do :
46611   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46612 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46613   cat >>confdefs.h <<_ACEOF
46614 #define HAVE__SQRTL 1
46615 _ACEOF
46616
46617 fi
46618 done
46619
46620     fi
46621   fi
46622
46623
46624
46625
46626
46627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46628 $as_echo_n "checking for sincosl declaration... " >&6; }
46629   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46630     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46631   $as_echo_n "(cached) " >&6
46632 else
46633
46634
46635       ac_ext=cpp
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46640
46641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46642 /* end confdefs.h.  */
46643 #include <math.h>
46644 int
46645 main ()
46646 {
46647  sincosl(0, 0, 0);
46648   ;
46649   return 0;
46650 }
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653   glibcxx_cv_func_sincosl_use=yes
46654 else
46655   glibcxx_cv_func_sincosl_use=no
46656 fi
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658       ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46663
46664
46665 fi
46666
46667   fi
46668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46670
46671   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46672     for ac_func in sincosl
46673 do :
46674   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46675 if test "x$ac_cv_func_sincosl" = x""yes; then :
46676   cat >>confdefs.h <<_ACEOF
46677 #define HAVE_SINCOSL 1
46678 _ACEOF
46679
46680 fi
46681 done
46682
46683   else
46684
46685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46686 $as_echo_n "checking for _sincosl declaration... " >&6; }
46687   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46688     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46689   $as_echo_n "(cached) " >&6
46690 else
46691
46692
46693       ac_ext=cpp
46694 ac_cpp='$CXXCPP $CPPFLAGS'
46695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46698
46699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46700 /* end confdefs.h.  */
46701 #include <math.h>
46702 int
46703 main ()
46704 {
46705  _sincosl(0, 0, 0);
46706   ;
46707   return 0;
46708 }
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711   glibcxx_cv_func__sincosl_use=yes
46712 else
46713   glibcxx_cv_func__sincosl_use=no
46714 fi
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716       ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46721
46722
46723 fi
46724
46725   fi
46726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46728
46729     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46730       for ac_func in _sincosl
46731 do :
46732   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46733 if test "x$ac_cv_func__sincosl" = x""yes; then :
46734   cat >>confdefs.h <<_ACEOF
46735 #define HAVE__SINCOSL 1
46736 _ACEOF
46737
46738 fi
46739 done
46740
46741     fi
46742   fi
46743
46744
46745
46746
46747
46748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46749 $as_echo_n "checking for finitel declaration... " >&6; }
46750   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46751     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46752   $as_echo_n "(cached) " >&6
46753 else
46754
46755
46756       ac_ext=cpp
46757 ac_cpp='$CXXCPP $CPPFLAGS'
46758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46761
46762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46763 /* end confdefs.h.  */
46764 #include <math.h>
46765                       #ifdef HAVE_IEEEFP_H
46766                       #include <ieeefp.h>
46767                       #endif
46768
46769 int
46770 main ()
46771 {
46772  finitel(0);
46773   ;
46774   return 0;
46775 }
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778   glibcxx_cv_func_finitel_use=yes
46779 else
46780   glibcxx_cv_func_finitel_use=no
46781 fi
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783       ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788
46789
46790 fi
46791
46792   fi
46793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46795
46796   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46797     for ac_func in finitel
46798 do :
46799   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46800 if test "x$ac_cv_func_finitel" = x""yes; then :
46801   cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FINITEL 1
46803 _ACEOF
46804
46805 fi
46806 done
46807
46808   else
46809
46810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46811 $as_echo_n "checking for _finitel declaration... " >&6; }
46812   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46813     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46814   $as_echo_n "(cached) " >&6
46815 else
46816
46817
46818       ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823
46824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h.  */
46826 #include <math.h>
46827                       #ifdef HAVE_IEEEFP_H
46828                       #include <ieeefp.h>
46829                       #endif
46830
46831 int
46832 main ()
46833 {
46834  _finitel(0);
46835   ;
46836   return 0;
46837 }
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840   glibcxx_cv_func__finitel_use=yes
46841 else
46842   glibcxx_cv_func__finitel_use=no
46843 fi
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845       ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850
46851
46852 fi
46853
46854   fi
46855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46857
46858     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46859       for ac_func in _finitel
46860 do :
46861   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46862 if test "x$ac_cv_func__finitel" = x""yes; then :
46863   cat >>confdefs.h <<_ACEOF
46864 #define HAVE__FINITEL 1
46865 _ACEOF
46866
46867 fi
46868 done
46869
46870     fi
46871   fi
46872
46873
46874
46875
46876   LIBS="$ac_save_LIBS"
46877   CXXFLAGS="$ac_save_CXXFLAGS"
46878
46879
46880   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46881   ac_save_CXXFLAGS="$CXXFLAGS"
46882   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46883
46884
46885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46887   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46888     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46889   $as_echo_n "(cached) " >&6
46890 else
46891
46892
46893       ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898
46899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h.  */
46901 #include <stdlib.h>
46902 int
46903 main ()
46904 {
46905  at_quick_exit(0);
46906   ;
46907   return 0;
46908 }
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911   glibcxx_cv_func_at_quick_exit_use=yes
46912 else
46913   glibcxx_cv_func_at_quick_exit_use=no
46914 fi
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916       ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46921
46922
46923 fi
46924
46925   fi
46926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46928   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46929     for ac_func in at_quick_exit
46930 do :
46931   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46932 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46933   cat >>confdefs.h <<_ACEOF
46934 #define HAVE_AT_QUICK_EXIT 1
46935 _ACEOF
46936
46937 fi
46938 done
46939
46940   fi
46941
46942
46943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46944 $as_echo_n "checking for quick_exit declaration... " >&6; }
46945   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46946     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46947   $as_echo_n "(cached) " >&6
46948 else
46949
46950
46951       ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956
46957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46958 /* end confdefs.h.  */
46959 #include <stdlib.h>
46960 int
46961 main ()
46962 {
46963  quick_exit(0);
46964   ;
46965   return 0;
46966 }
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969   glibcxx_cv_func_quick_exit_use=yes
46970 else
46971   glibcxx_cv_func_quick_exit_use=no
46972 fi
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974       ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46979
46980
46981 fi
46982
46983   fi
46984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46986   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46987     for ac_func in quick_exit
46988 do :
46989   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46990 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46991   cat >>confdefs.h <<_ACEOF
46992 #define HAVE_QUICK_EXIT 1
46993 _ACEOF
46994
46995 fi
46996 done
46997
46998   fi
46999
47000
47001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47002 $as_echo_n "checking for strtold declaration... " >&6; }
47003   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47004     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47005   $as_echo_n "(cached) " >&6
47006 else
47007
47008
47009       ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47014
47015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h.  */
47017 #include <stdlib.h>
47018 int
47019 main ()
47020 {
47021  strtold(0, 0);
47022   ;
47023   return 0;
47024 }
47025 _ACEOF
47026 if ac_fn_cxx_try_compile "$LINENO"; then :
47027   glibcxx_cv_func_strtold_use=yes
47028 else
47029   glibcxx_cv_func_strtold_use=no
47030 fi
47031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47032       ac_ext=c
47033 ac_cpp='$CPP $CPPFLAGS'
47034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47037
47038
47039 fi
47040
47041   fi
47042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47044   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47045     for ac_func in strtold
47046 do :
47047   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47048 if test "x$ac_cv_func_strtold" = x""yes; then :
47049   cat >>confdefs.h <<_ACEOF
47050 #define HAVE_STRTOLD 1
47051 _ACEOF
47052
47053 fi
47054 done
47055
47056   fi
47057
47058
47059
47060
47061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47062 $as_echo_n "checking for strtof declaration... " >&6; }
47063   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47064     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47065   $as_echo_n "(cached) " >&6
47066 else
47067
47068
47069       ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074
47075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h.  */
47077 #include <stdlib.h>
47078 int
47079 main ()
47080 {
47081  strtof(0, 0);
47082   ;
47083   return 0;
47084 }
47085 _ACEOF
47086 if ac_fn_cxx_try_compile "$LINENO"; then :
47087   glibcxx_cv_func_strtof_use=yes
47088 else
47089   glibcxx_cv_func_strtof_use=no
47090 fi
47091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092       ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47097
47098
47099 fi
47100
47101   fi
47102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47104   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47105     for ac_func in strtof
47106 do :
47107   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47108 if test "x$ac_cv_func_strtof" = x""yes; then :
47109   cat >>confdefs.h <<_ACEOF
47110 #define HAVE_STRTOF 1
47111 _ACEOF
47112
47113 fi
47114 done
47115
47116   fi
47117
47118
47119
47120
47121   CXXFLAGS="$ac_save_CXXFLAGS"
47122
47123     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47124
47125     # We don't yet support AIX's TLS ABI.
47126     #GCC_CHECK_TLS
47127
47128
47129
47130
47131
47132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47133 $as_echo_n "checking for iconv... " >&6; }
47134 if test "${am_cv_func_iconv+set}" = set; then :
47135   $as_echo_n "(cached) " >&6
47136 else
47137
47138     am_cv_func_iconv="no, consider installing GNU libiconv"
47139     am_cv_lib_iconv=no
47140                     am_save_CPPFLAGS="$CPPFLAGS"
47141     CPPFLAGS="$CPPFLAGS $INCICONV"
47142     if test x$gcc_no_link = xyes; then
47143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 fi
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h.  */
47147 #include <stdlib.h>
47148 #include <iconv.h>
47149 int
47150 main ()
47151 {
47152 iconv_t cd = iconv_open("","");
47153        iconv(cd,NULL,NULL,NULL,NULL);
47154        iconv_close(cd);
47155   ;
47156   return 0;
47157 }
47158 _ACEOF
47159 if ac_fn_c_try_link "$LINENO"; then :
47160   am_cv_func_iconv=yes
47161 fi
47162 rm -f core conftest.err conftest.$ac_objext \
47163     conftest$ac_exeext conftest.$ac_ext
47164     CPPFLAGS="$am_save_CPPFLAGS"
47165
47166     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47167       for _libs in .libs _libs; do
47168         am_save_CPPFLAGS="$CPPFLAGS"
47169         am_save_LIBS="$LIBS"
47170         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47171         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47172         if test x$gcc_no_link = xyes; then
47173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47174 fi
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h.  */
47177 #include <stdlib.h>
47178 #include <iconv.h>
47179 int
47180 main ()
47181 {
47182 iconv_t cd = iconv_open("","");
47183            iconv(cd,NULL,NULL,NULL,NULL);
47184            iconv_close(cd);
47185   ;
47186   return 0;
47187 }
47188 _ACEOF
47189 if ac_fn_c_try_link "$LINENO"; then :
47190   INCICONV="-I../libiconv/include"
47191           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47192           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47193           am_cv_lib_iconv=yes
47194           am_cv_func_iconv=yes
47195 fi
47196 rm -f core conftest.err conftest.$ac_objext \
47197     conftest$ac_exeext conftest.$ac_ext
47198         CPPFLAGS="$am_save_CPPFLAGS"
47199         LIBS="$am_save_LIBS"
47200         if test "$am_cv_func_iconv" = "yes"; then
47201           break
47202         fi
47203       done
47204     fi
47205
47206     if test "$am_cv_func_iconv" != yes; then
47207       am_save_CPPFLAGS="$CPPFLAGS"
47208       am_save_LIBS="$LIBS"
47209       CPPFLAGS="$LIBS $INCICONV"
47210       LIBS="$LIBS $LIBICONV"
47211       if test x$gcc_no_link = xyes; then
47212   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47213 fi
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h.  */
47216 #include <stdlib.h>
47217 #include <iconv.h>
47218 int
47219 main ()
47220 {
47221 iconv_t cd = iconv_open("","");
47222          iconv(cd,NULL,NULL,NULL,NULL);
47223          iconv_close(cd);
47224   ;
47225   return 0;
47226 }
47227 _ACEOF
47228 if ac_fn_c_try_link "$LINENO"; then :
47229   am_cv_lib_iconv=yes
47230         am_cv_func_iconv=yes
47231 fi
47232 rm -f core conftest.err conftest.$ac_objext \
47233     conftest$ac_exeext conftest.$ac_ext
47234       CPPFLAGS="$am_save_CPPFLAGS"
47235       LIBS="$am_save_LIBS"
47236     fi
47237
47238 fi
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47240 $as_echo "$am_cv_func_iconv" >&6; }
47241   if test "$am_cv_func_iconv" = yes; then
47242
47243 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47244
47245   fi
47246   if test "$am_cv_lib_iconv" = yes; then
47247
47248   for element in $INCICONV; do
47249     haveit=
47250     for x in $CPPFLAGS; do
47251
47252   acl_save_prefix="$prefix"
47253   prefix="$acl_final_prefix"
47254   acl_save_exec_prefix="$exec_prefix"
47255   exec_prefix="$acl_final_exec_prefix"
47256   eval x=\"$x\"
47257   exec_prefix="$acl_save_exec_prefix"
47258   prefix="$acl_save_prefix"
47259
47260       if test "X$x" = "X$element"; then
47261         haveit=yes
47262         break
47263       fi
47264     done
47265     if test -z "$haveit"; then
47266       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47267     fi
47268   done
47269
47270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47271 $as_echo_n "checking how to link with libiconv... " >&6; }
47272     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47273 $as_echo "$LIBICONV" >&6; }
47274   else
47275     LIBICONV=
47276     LTLIBICONV=
47277   fi
47278
47279
47280
47281   if test "$am_cv_func_iconv" = yes; then
47282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47283 $as_echo_n "checking for iconv declaration... " >&6; }
47284     if test "${am_cv_proto_iconv+set}" = set; then :
47285   $as_echo_n "(cached) " >&6
47286 else
47287
47288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47289 /* end confdefs.h.  */
47290
47291 #include <stdlib.h>
47292 #include <iconv.h>
47293 extern
47294 #ifdef __cplusplus
47295 "C"
47296 #endif
47297 #if defined(__STDC__) || defined(__cplusplus)
47298 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47299 #else
47300 size_t iconv();
47301 #endif
47302
47303 int
47304 main ()
47305 {
47306
47307   ;
47308   return 0;
47309 }
47310 _ACEOF
47311 if ac_fn_c_try_compile "$LINENO"; then :
47312   am_cv_proto_iconv_arg1=""
47313 else
47314   am_cv_proto_iconv_arg1="const"
47315 fi
47316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47317       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);"
47318 fi
47319
47320     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47322          }$am_cv_proto_iconv" >&5
47323 $as_echo "${ac_t:-
47324          }$am_cv_proto_iconv" >&6; }
47325
47326 cat >>confdefs.h <<_ACEOF
47327 #define ICONV_CONST $am_cv_proto_iconv_arg1
47328 _ACEOF
47329
47330   fi
47331
47332     ;;
47333
47334   *-darwin*)
47335     # Darwin versions vary, but the linker should work in a cross environment,
47336     # so we just check for all the features here.
47337     # Check for available headers.
47338
47339     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47340
47341   ac_test_CXXFLAGS="${CXXFLAGS+set}"
47342   ac_save_CXXFLAGS="$CXXFLAGS"
47343   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47344
47345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47346 $as_echo_n "checking for sin in -lm... " >&6; }
47347 if test "${ac_cv_lib_m_sin+set}" = set; then :
47348   $as_echo_n "(cached) " >&6
47349 else
47350   ac_check_lib_save_LIBS=$LIBS
47351 LIBS="-lm  $LIBS"
47352 if test x$gcc_no_link = xyes; then
47353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47354 fi
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h.  */
47357
47358 /* Override any GCC internal prototype to avoid an error.
47359    Use char because int might match the return type of a GCC
47360    builtin and then its argument prototype would still apply.  */
47361 #ifdef __cplusplus
47362 extern "C"
47363 #endif
47364 char sin ();
47365 int
47366 main ()
47367 {
47368 return sin ();
47369   ;
47370   return 0;
47371 }
47372 _ACEOF
47373 if ac_fn_c_try_link "$LINENO"; then :
47374   ac_cv_lib_m_sin=yes
47375 else
47376   ac_cv_lib_m_sin=no
47377 fi
47378 rm -f core conftest.err conftest.$ac_objext \
47379     conftest$ac_exeext conftest.$ac_ext
47380 LIBS=$ac_check_lib_save_LIBS
47381 fi
47382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47383 $as_echo "$ac_cv_lib_m_sin" >&6; }
47384 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47385   libm="-lm"
47386 fi
47387
47388   ac_save_LIBS="$LIBS"
47389   LIBS="$LIBS $libm"
47390
47391
47392
47393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47394 $as_echo_n "checking for isinf declaration... " >&6; }
47395   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47396     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47397   $as_echo_n "(cached) " >&6
47398 else
47399
47400
47401       ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406
47407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h.  */
47409 #include <math.h>
47410                       #ifdef HAVE_IEEEFP_H
47411                       #include <ieeefp.h>
47412                       #endif
47413
47414 int
47415 main ()
47416 {
47417  isinf(0);
47418   ;
47419   return 0;
47420 }
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423   glibcxx_cv_func_isinf_use=yes
47424 else
47425   glibcxx_cv_func_isinf_use=no
47426 fi
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428       ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47433
47434
47435 fi
47436
47437   fi
47438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47439 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47440
47441   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47442     for ac_func in isinf
47443 do :
47444   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47445 if test "x$ac_cv_func_isinf" = x""yes; then :
47446   cat >>confdefs.h <<_ACEOF
47447 #define HAVE_ISINF 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453   else
47454
47455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47456 $as_echo_n "checking for _isinf declaration... " >&6; }
47457   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47458     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47459   $as_echo_n "(cached) " >&6
47460 else
47461
47462
47463       ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468
47469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h.  */
47471 #include <math.h>
47472                       #ifdef HAVE_IEEEFP_H
47473                       #include <ieeefp.h>
47474                       #endif
47475
47476 int
47477 main ()
47478 {
47479  _isinf(0);
47480   ;
47481   return 0;
47482 }
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485   glibcxx_cv_func__isinf_use=yes
47486 else
47487   glibcxx_cv_func__isinf_use=no
47488 fi
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490       ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495
47496
47497 fi
47498
47499   fi
47500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47501 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47502
47503     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47504       for ac_func in _isinf
47505 do :
47506   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47507 if test "x$ac_cv_func__isinf" = x""yes; then :
47508   cat >>confdefs.h <<_ACEOF
47509 #define HAVE__ISINF 1
47510 _ACEOF
47511
47512 fi
47513 done
47514
47515     fi
47516   fi
47517
47518
47519
47520
47521
47522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47523 $as_echo_n "checking for isnan declaration... " >&6; }
47524   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47525     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47526   $as_echo_n "(cached) " >&6
47527 else
47528
47529
47530       ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535
47536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h.  */
47538 #include <math.h>
47539                       #ifdef HAVE_IEEEFP_H
47540                       #include <ieeefp.h>
47541                       #endif
47542
47543 int
47544 main ()
47545 {
47546  isnan(0);
47547   ;
47548   return 0;
47549 }
47550 _ACEOF
47551 if ac_fn_cxx_try_compile "$LINENO"; then :
47552   glibcxx_cv_func_isnan_use=yes
47553 else
47554   glibcxx_cv_func_isnan_use=no
47555 fi
47556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47557       ac_ext=c
47558 ac_cpp='$CPP $CPPFLAGS'
47559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47562
47563
47564 fi
47565
47566   fi
47567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47568 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47569
47570   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47571     for ac_func in isnan
47572 do :
47573   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47574 if test "x$ac_cv_func_isnan" = x""yes; then :
47575   cat >>confdefs.h <<_ACEOF
47576 #define HAVE_ISNAN 1
47577 _ACEOF
47578
47579 fi
47580 done
47581
47582   else
47583
47584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47585 $as_echo_n "checking for _isnan declaration... " >&6; }
47586   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47587     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47588   $as_echo_n "(cached) " >&6
47589 else
47590
47591
47592       ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47597
47598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h.  */
47600 #include <math.h>
47601                       #ifdef HAVE_IEEEFP_H
47602                       #include <ieeefp.h>
47603                       #endif
47604
47605 int
47606 main ()
47607 {
47608  _isnan(0);
47609   ;
47610   return 0;
47611 }
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614   glibcxx_cv_func__isnan_use=yes
47615 else
47616   glibcxx_cv_func__isnan_use=no
47617 fi
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619       ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624
47625
47626 fi
47627
47628   fi
47629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47630 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47631
47632     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47633       for ac_func in _isnan
47634 do :
47635   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47636 if test "x$ac_cv_func__isnan" = x""yes; then :
47637   cat >>confdefs.h <<_ACEOF
47638 #define HAVE__ISNAN 1
47639 _ACEOF
47640
47641 fi
47642 done
47643
47644     fi
47645   fi
47646
47647
47648
47649
47650
47651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47652 $as_echo_n "checking for finite declaration... " >&6; }
47653   if test x${glibcxx_cv_func_finite_use+set} != xset; then
47654     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47655   $as_echo_n "(cached) " >&6
47656 else
47657
47658
47659       ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664
47665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h.  */
47667 #include <math.h>
47668                       #ifdef HAVE_IEEEFP_H
47669                       #include <ieeefp.h>
47670                       #endif
47671
47672 int
47673 main ()
47674 {
47675  finite(0);
47676   ;
47677   return 0;
47678 }
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681   glibcxx_cv_func_finite_use=yes
47682 else
47683   glibcxx_cv_func_finite_use=no
47684 fi
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686       ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47691
47692
47693 fi
47694
47695   fi
47696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47697 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47698
47699   if test x$glibcxx_cv_func_finite_use = x"yes"; then
47700     for ac_func in finite
47701 do :
47702   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47703 if test "x$ac_cv_func_finite" = x""yes; then :
47704   cat >>confdefs.h <<_ACEOF
47705 #define HAVE_FINITE 1
47706 _ACEOF
47707
47708 fi
47709 done
47710
47711   else
47712
47713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47714 $as_echo_n "checking for _finite declaration... " >&6; }
47715   if test x${glibcxx_cv_func__finite_use+set} != xset; then
47716     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47717   $as_echo_n "(cached) " >&6
47718 else
47719
47720
47721       ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47726
47727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h.  */
47729 #include <math.h>
47730                       #ifdef HAVE_IEEEFP_H
47731                       #include <ieeefp.h>
47732                       #endif
47733
47734 int
47735 main ()
47736 {
47737  _finite(0);
47738   ;
47739   return 0;
47740 }
47741 _ACEOF
47742 if ac_fn_cxx_try_compile "$LINENO"; then :
47743   glibcxx_cv_func__finite_use=yes
47744 else
47745   glibcxx_cv_func__finite_use=no
47746 fi
47747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47748       ac_ext=c
47749 ac_cpp='$CPP $CPPFLAGS'
47750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47753
47754
47755 fi
47756
47757   fi
47758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47759 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47760
47761     if test x$glibcxx_cv_func__finite_use = x"yes"; then
47762       for ac_func in _finite
47763 do :
47764   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47765 if test "x$ac_cv_func__finite" = x""yes; then :
47766   cat >>confdefs.h <<_ACEOF
47767 #define HAVE__FINITE 1
47768 _ACEOF
47769
47770 fi
47771 done
47772
47773     fi
47774   fi
47775
47776
47777
47778
47779
47780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47781 $as_echo_n "checking for sincos declaration... " >&6; }
47782   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47783     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47784   $as_echo_n "(cached) " >&6
47785 else
47786
47787
47788       ac_ext=cpp
47789 ac_cpp='$CXXCPP $CPPFLAGS'
47790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47793
47794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47795 /* end confdefs.h.  */
47796 #include <math.h>
47797 int
47798 main ()
47799 {
47800  sincos(0, 0, 0);
47801   ;
47802   return 0;
47803 }
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806   glibcxx_cv_func_sincos_use=yes
47807 else
47808   glibcxx_cv_func_sincos_use=no
47809 fi
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811       ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47816
47817
47818 fi
47819
47820   fi
47821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47822 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47823
47824   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47825     for ac_func in sincos
47826 do :
47827   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47828 if test "x$ac_cv_func_sincos" = x""yes; then :
47829   cat >>confdefs.h <<_ACEOF
47830 #define HAVE_SINCOS 1
47831 _ACEOF
47832
47833 fi
47834 done
47835
47836   else
47837
47838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47839 $as_echo_n "checking for _sincos declaration... " >&6; }
47840   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47841     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47842   $as_echo_n "(cached) " >&6
47843 else
47844
47845
47846       ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851
47852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h.  */
47854 #include <math.h>
47855 int
47856 main ()
47857 {
47858  _sincos(0, 0, 0);
47859   ;
47860   return 0;
47861 }
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864   glibcxx_cv_func__sincos_use=yes
47865 else
47866   glibcxx_cv_func__sincos_use=no
47867 fi
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869       ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47874
47875
47876 fi
47877
47878   fi
47879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47880 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47881
47882     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47883       for ac_func in _sincos
47884 do :
47885   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47886 if test "x$ac_cv_func__sincos" = x""yes; then :
47887   cat >>confdefs.h <<_ACEOF
47888 #define HAVE__SINCOS 1
47889 _ACEOF
47890
47891 fi
47892 done
47893
47894     fi
47895   fi
47896
47897
47898
47899
47900
47901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47902 $as_echo_n "checking for fpclass declaration... " >&6; }
47903   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47904     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47905   $as_echo_n "(cached) " >&6
47906 else
47907
47908
47909       ac_ext=cpp
47910 ac_cpp='$CXXCPP $CPPFLAGS'
47911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47914
47915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47916 /* end confdefs.h.  */
47917 #include <math.h>
47918                       #ifdef HAVE_IEEEFP_H
47919                       #include <ieeefp.h>
47920                       #endif
47921
47922 int
47923 main ()
47924 {
47925  fpclass(0);
47926   ;
47927   return 0;
47928 }
47929 _ACEOF
47930 if ac_fn_cxx_try_compile "$LINENO"; then :
47931   glibcxx_cv_func_fpclass_use=yes
47932 else
47933   glibcxx_cv_func_fpclass_use=no
47934 fi
47935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47936       ac_ext=c
47937 ac_cpp='$CPP $CPPFLAGS'
47938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47941
47942
47943 fi
47944
47945   fi
47946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47947 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47948
47949   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47950     for ac_func in fpclass
47951 do :
47952   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47953 if test "x$ac_cv_func_fpclass" = x""yes; then :
47954   cat >>confdefs.h <<_ACEOF
47955 #define HAVE_FPCLASS 1
47956 _ACEOF
47957
47958 fi
47959 done
47960
47961   else
47962
47963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47964 $as_echo_n "checking for _fpclass declaration... " >&6; }
47965   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47966     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47967   $as_echo_n "(cached) " >&6
47968 else
47969
47970
47971       ac_ext=cpp
47972 ac_cpp='$CXXCPP $CPPFLAGS'
47973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47976
47977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47978 /* end confdefs.h.  */
47979 #include <math.h>
47980                       #ifdef HAVE_IEEEFP_H
47981                       #include <ieeefp.h>
47982                       #endif
47983
47984 int
47985 main ()
47986 {
47987  _fpclass(0);
47988   ;
47989   return 0;
47990 }
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993   glibcxx_cv_func__fpclass_use=yes
47994 else
47995   glibcxx_cv_func__fpclass_use=no
47996 fi
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998       ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48003
48004
48005 fi
48006
48007   fi
48008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48009 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48010
48011     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48012       for ac_func in _fpclass
48013 do :
48014   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48015 if test "x$ac_cv_func__fpclass" = x""yes; then :
48016   cat >>confdefs.h <<_ACEOF
48017 #define HAVE__FPCLASS 1
48018 _ACEOF
48019
48020 fi
48021 done
48022
48023     fi
48024   fi
48025
48026
48027
48028
48029
48030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48031 $as_echo_n "checking for qfpclass declaration... " >&6; }
48032   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48033     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48034   $as_echo_n "(cached) " >&6
48035 else
48036
48037
48038       ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48043
48044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h.  */
48046 #include <math.h>
48047                       #ifdef HAVE_IEEEFP_H
48048                       #include <ieeefp.h>
48049                       #endif
48050
48051 int
48052 main ()
48053 {
48054  qfpclass(0);
48055   ;
48056   return 0;
48057 }
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060   glibcxx_cv_func_qfpclass_use=yes
48061 else
48062   glibcxx_cv_func_qfpclass_use=no
48063 fi
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065       ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48070
48071
48072 fi
48073
48074   fi
48075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48076 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48077
48078   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48079     for ac_func in qfpclass
48080 do :
48081   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48082 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48083   cat >>confdefs.h <<_ACEOF
48084 #define HAVE_QFPCLASS 1
48085 _ACEOF
48086
48087 fi
48088 done
48089
48090   else
48091
48092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48093 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48094   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48095     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48096   $as_echo_n "(cached) " >&6
48097 else
48098
48099
48100       ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105
48106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h.  */
48108 #include <math.h>
48109                       #ifdef HAVE_IEEEFP_H
48110                       #include <ieeefp.h>
48111                       #endif
48112
48113 int
48114 main ()
48115 {
48116  _qfpclass(0);
48117   ;
48118   return 0;
48119 }
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122   glibcxx_cv_func__qfpclass_use=yes
48123 else
48124   glibcxx_cv_func__qfpclass_use=no
48125 fi
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127       ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132
48133
48134 fi
48135
48136   fi
48137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48138 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48139
48140     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48141       for ac_func in _qfpclass
48142 do :
48143   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48144 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48145   cat >>confdefs.h <<_ACEOF
48146 #define HAVE__QFPCLASS 1
48147 _ACEOF
48148
48149 fi
48150 done
48151
48152     fi
48153   fi
48154
48155
48156
48157
48158
48159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48160 $as_echo_n "checking for hypot declaration... " >&6; }
48161   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48162     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48163   $as_echo_n "(cached) " >&6
48164 else
48165
48166
48167       ac_ext=cpp
48168 ac_cpp='$CXXCPP $CPPFLAGS'
48169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172
48173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48174 /* end confdefs.h.  */
48175 #include <math.h>
48176 int
48177 main ()
48178 {
48179  hypot(0, 0);
48180   ;
48181   return 0;
48182 }
48183 _ACEOF
48184 if ac_fn_cxx_try_compile "$LINENO"; then :
48185   glibcxx_cv_func_hypot_use=yes
48186 else
48187   glibcxx_cv_func_hypot_use=no
48188 fi
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190       ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48195
48196
48197 fi
48198
48199   fi
48200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48201 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48202
48203   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48204     for ac_func in hypot
48205 do :
48206   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48207 if test "x$ac_cv_func_hypot" = x""yes; then :
48208   cat >>confdefs.h <<_ACEOF
48209 #define HAVE_HYPOT 1
48210 _ACEOF
48211
48212 fi
48213 done
48214
48215   else
48216
48217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48218 $as_echo_n "checking for _hypot declaration... " >&6; }
48219   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48220     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48221   $as_echo_n "(cached) " >&6
48222 else
48223
48224
48225       ac_ext=cpp
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230
48231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48232 /* end confdefs.h.  */
48233 #include <math.h>
48234 int
48235 main ()
48236 {
48237  _hypot(0, 0);
48238   ;
48239   return 0;
48240 }
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243   glibcxx_cv_func__hypot_use=yes
48244 else
48245   glibcxx_cv_func__hypot_use=no
48246 fi
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248       ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48253
48254
48255 fi
48256
48257   fi
48258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48259 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48260
48261     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48262       for ac_func in _hypot
48263 do :
48264   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48265 if test "x$ac_cv_func__hypot" = x""yes; then :
48266   cat >>confdefs.h <<_ACEOF
48267 #define HAVE__HYPOT 1
48268 _ACEOF
48269
48270 fi
48271 done
48272
48273     fi
48274   fi
48275
48276
48277
48278
48279
48280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48281 $as_echo_n "checking for float trig functions... " >&6; }
48282   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48283   $as_echo_n "(cached) " >&6
48284 else
48285
48286
48287     ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292
48293     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h.  */
48295 #include <math.h>
48296 int
48297 main ()
48298 {
48299 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48300   ;
48301   return 0;
48302 }
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305   glibcxx_cv_func_float_trig_use=yes
48306 else
48307   glibcxx_cv_func_float_trig_use=no
48308 fi
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310     ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48315
48316 fi
48317
48318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48319 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48320   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48321     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48322 do :
48323   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48325 eval as_val=\$$as_ac_var
48326    if test "x$as_val" = x""yes; then :
48327   cat >>confdefs.h <<_ACEOF
48328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48329 _ACEOF
48330
48331 fi
48332 done
48333
48334   else
48335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48336 $as_echo_n "checking for _float trig functions... " >&6; }
48337     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48338   $as_echo_n "(cached) " >&6
48339 else
48340
48341
48342       ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347
48348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h.  */
48350 #include <math.h>
48351 int
48352 main ()
48353 {
48354 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48355   ;
48356   return 0;
48357 }
48358 _ACEOF
48359 if ac_fn_cxx_try_compile "$LINENO"; then :
48360   glibcxx_cv_func__float_trig_use=yes
48361 else
48362   glibcxx_cv_func__float_trig_use=no
48363 fi
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365       ac_ext=c
48366 ac_cpp='$CPP $CPPFLAGS'
48367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48370
48371 fi
48372
48373     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48374 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48375     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48376       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48377 do :
48378   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48380 eval as_val=\$$as_ac_var
48381    if test "x$as_val" = x""yes; then :
48382   cat >>confdefs.h <<_ACEOF
48383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48384 _ACEOF
48385
48386 fi
48387 done
48388
48389     fi
48390   fi
48391
48392
48393
48394
48395
48396     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48397 $as_echo_n "checking for float round functions... " >&6; }
48398   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48399   $as_echo_n "(cached) " >&6
48400 else
48401
48402
48403     ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408
48409     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h.  */
48411 #include <math.h>
48412 int
48413 main ()
48414 {
48415 ceilf (0); floorf (0);
48416   ;
48417   return 0;
48418 }
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421   glibcxx_cv_func_float_round_use=yes
48422 else
48423   glibcxx_cv_func_float_round_use=no
48424 fi
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426     ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431
48432 fi
48433
48434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48435 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48436   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48437     for ac_func in ceilf floorf
48438 do :
48439   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48441 eval as_val=\$$as_ac_var
48442    if test "x$as_val" = x""yes; then :
48443   cat >>confdefs.h <<_ACEOF
48444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48445 _ACEOF
48446
48447 fi
48448 done
48449
48450   else
48451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48452 $as_echo_n "checking for _float round functions... " >&6; }
48453     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48454   $as_echo_n "(cached) " >&6
48455 else
48456
48457
48458       ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463
48464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h.  */
48466 #include <math.h>
48467 int
48468 main ()
48469 {
48470 _ceilf (0); _floorf (0);
48471   ;
48472   return 0;
48473 }
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476   glibcxx_cv_func__float_round_use=yes
48477 else
48478   glibcxx_cv_func__float_round_use=no
48479 fi
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481       ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48486
48487 fi
48488
48489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48490 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48491     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48492       for ac_func in _ceilf _floorf
48493 do :
48494   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48496 eval as_val=\$$as_ac_var
48497    if test "x$as_val" = x""yes; then :
48498   cat >>confdefs.h <<_ACEOF
48499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48500 _ACEOF
48501
48502 fi
48503 done
48504
48505     fi
48506   fi
48507
48508
48509
48510
48511
48512
48513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48514 $as_echo_n "checking for expf declaration... " >&6; }
48515   if test x${glibcxx_cv_func_expf_use+set} != xset; then
48516     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48517   $as_echo_n "(cached) " >&6
48518 else
48519
48520
48521       ac_ext=cpp
48522 ac_cpp='$CXXCPP $CPPFLAGS'
48523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526
48527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48528 /* end confdefs.h.  */
48529 #include <math.h>
48530                       #ifdef HAVE_IEEEFP_H
48531                       #include <ieeefp.h>
48532                       #endif
48533
48534 int
48535 main ()
48536 {
48537  expf(0);
48538   ;
48539   return 0;
48540 }
48541 _ACEOF
48542 if ac_fn_cxx_try_compile "$LINENO"; then :
48543   glibcxx_cv_func_expf_use=yes
48544 else
48545   glibcxx_cv_func_expf_use=no
48546 fi
48547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548       ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48553
48554
48555 fi
48556
48557   fi
48558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48559 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48560
48561   if test x$glibcxx_cv_func_expf_use = x"yes"; then
48562     for ac_func in expf
48563 do :
48564   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48565 if test "x$ac_cv_func_expf" = x""yes; then :
48566   cat >>confdefs.h <<_ACEOF
48567 #define HAVE_EXPF 1
48568 _ACEOF
48569
48570 fi
48571 done
48572
48573   else
48574
48575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48576 $as_echo_n "checking for _expf declaration... " >&6; }
48577   if test x${glibcxx_cv_func__expf_use+set} != xset; then
48578     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48579   $as_echo_n "(cached) " >&6
48580 else
48581
48582
48583       ac_ext=cpp
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588
48589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h.  */
48591 #include <math.h>
48592                       #ifdef HAVE_IEEEFP_H
48593                       #include <ieeefp.h>
48594                       #endif
48595
48596 int
48597 main ()
48598 {
48599  _expf(0);
48600   ;
48601   return 0;
48602 }
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605   glibcxx_cv_func__expf_use=yes
48606 else
48607   glibcxx_cv_func__expf_use=no
48608 fi
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610       ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48615
48616
48617 fi
48618
48619   fi
48620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48621 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48622
48623     if test x$glibcxx_cv_func__expf_use = x"yes"; then
48624       for ac_func in _expf
48625 do :
48626   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48627 if test "x$ac_cv_func__expf" = x""yes; then :
48628   cat >>confdefs.h <<_ACEOF
48629 #define HAVE__EXPF 1
48630 _ACEOF
48631
48632 fi
48633 done
48634
48635     fi
48636   fi
48637
48638
48639
48640
48641
48642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48643 $as_echo_n "checking for isnanf declaration... " >&6; }
48644   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48645     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48646   $as_echo_n "(cached) " >&6
48647 else
48648
48649
48650       ac_ext=cpp
48651 ac_cpp='$CXXCPP $CPPFLAGS'
48652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48655
48656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48657 /* end confdefs.h.  */
48658 #include <math.h>
48659                       #ifdef HAVE_IEEEFP_H
48660                       #include <ieeefp.h>
48661                       #endif
48662
48663 int
48664 main ()
48665 {
48666  isnanf(0);
48667   ;
48668   return 0;
48669 }
48670 _ACEOF
48671 if ac_fn_cxx_try_compile "$LINENO"; then :
48672   glibcxx_cv_func_isnanf_use=yes
48673 else
48674   glibcxx_cv_func_isnanf_use=no
48675 fi
48676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48677       ac_ext=c
48678 ac_cpp='$CPP $CPPFLAGS'
48679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48682
48683
48684 fi
48685
48686   fi
48687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48688 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48689
48690   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48691     for ac_func in isnanf
48692 do :
48693   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48694 if test "x$ac_cv_func_isnanf" = x""yes; then :
48695   cat >>confdefs.h <<_ACEOF
48696 #define HAVE_ISNANF 1
48697 _ACEOF
48698
48699 fi
48700 done
48701
48702   else
48703
48704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48705 $as_echo_n "checking for _isnanf declaration... " >&6; }
48706   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48707     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48708   $as_echo_n "(cached) " >&6
48709 else
48710
48711
48712       ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717
48718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h.  */
48720 #include <math.h>
48721                       #ifdef HAVE_IEEEFP_H
48722                       #include <ieeefp.h>
48723                       #endif
48724
48725 int
48726 main ()
48727 {
48728  _isnanf(0);
48729   ;
48730   return 0;
48731 }
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734   glibcxx_cv_func__isnanf_use=yes
48735 else
48736   glibcxx_cv_func__isnanf_use=no
48737 fi
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739       ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48744
48745
48746 fi
48747
48748   fi
48749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48750 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48751
48752     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48753       for ac_func in _isnanf
48754 do :
48755   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48756 if test "x$ac_cv_func__isnanf" = x""yes; then :
48757   cat >>confdefs.h <<_ACEOF
48758 #define HAVE__ISNANF 1
48759 _ACEOF
48760
48761 fi
48762 done
48763
48764     fi
48765   fi
48766
48767
48768
48769
48770
48771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48772 $as_echo_n "checking for isinff declaration... " >&6; }
48773   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48774     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48775   $as_echo_n "(cached) " >&6
48776 else
48777
48778
48779       ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784
48785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h.  */
48787 #include <math.h>
48788                       #ifdef HAVE_IEEEFP_H
48789                       #include <ieeefp.h>
48790                       #endif
48791
48792 int
48793 main ()
48794 {
48795  isinff(0);
48796   ;
48797   return 0;
48798 }
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801   glibcxx_cv_func_isinff_use=yes
48802 else
48803   glibcxx_cv_func_isinff_use=no
48804 fi
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806       ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811
48812
48813 fi
48814
48815   fi
48816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48817 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48818
48819   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48820     for ac_func in isinff
48821 do :
48822   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48823 if test "x$ac_cv_func_isinff" = x""yes; then :
48824   cat >>confdefs.h <<_ACEOF
48825 #define HAVE_ISINFF 1
48826 _ACEOF
48827
48828 fi
48829 done
48830
48831   else
48832
48833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48834 $as_echo_n "checking for _isinff declaration... " >&6; }
48835   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48836     if test "${glibcxx_cv_func__isinff_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                       #ifdef HAVE_IEEEFP_H
48851                       #include <ieeefp.h>
48852                       #endif
48853
48854 int
48855 main ()
48856 {
48857  _isinff(0);
48858   ;
48859   return 0;
48860 }
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863   glibcxx_cv_func__isinff_use=yes
48864 else
48865   glibcxx_cv_func__isinff_use=no
48866 fi
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868       ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873
48874
48875 fi
48876
48877   fi
48878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48879 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48880
48881     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48882       for ac_func in _isinff
48883 do :
48884   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48885 if test "x$ac_cv_func__isinff" = x""yes; then :
48886   cat >>confdefs.h <<_ACEOF
48887 #define HAVE__ISINFF 1
48888 _ACEOF
48889
48890 fi
48891 done
48892
48893     fi
48894   fi
48895
48896
48897
48898
48899
48900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48901 $as_echo_n "checking for atan2f declaration... " >&6; }
48902   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48903     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48904   $as_echo_n "(cached) " >&6
48905 else
48906
48907
48908       ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913
48914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h.  */
48916 #include <math.h>
48917 int
48918 main ()
48919 {
48920  atan2f(0, 0);
48921   ;
48922   return 0;
48923 }
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926   glibcxx_cv_func_atan2f_use=yes
48927 else
48928   glibcxx_cv_func_atan2f_use=no
48929 fi
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931       ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936
48937
48938 fi
48939
48940   fi
48941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48942 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48943
48944   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48945     for ac_func in atan2f
48946 do :
48947   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48948 if test "x$ac_cv_func_atan2f" = x""yes; then :
48949   cat >>confdefs.h <<_ACEOF
48950 #define HAVE_ATAN2F 1
48951 _ACEOF
48952
48953 fi
48954 done
48955
48956   else
48957
48958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48959 $as_echo_n "checking for _atan2f declaration... " >&6; }
48960   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48961     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48962   $as_echo_n "(cached) " >&6
48963 else
48964
48965
48966       ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971
48972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h.  */
48974 #include <math.h>
48975 int
48976 main ()
48977 {
48978  _atan2f(0, 0);
48979   ;
48980   return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984   glibcxx_cv_func__atan2f_use=yes
48985 else
48986   glibcxx_cv_func__atan2f_use=no
48987 fi
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989       ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994
48995
48996 fi
48997
48998   fi
48999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49000 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49001
49002     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49003       for ac_func in _atan2f
49004 do :
49005   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49006 if test "x$ac_cv_func__atan2f" = x""yes; then :
49007   cat >>confdefs.h <<_ACEOF
49008 #define HAVE__ATAN2F 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014     fi
49015   fi
49016
49017
49018
49019
49020
49021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49022 $as_echo_n "checking for fabsf declaration... " >&6; }
49023   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49024     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49025   $as_echo_n "(cached) " >&6
49026 else
49027
49028
49029       ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034
49035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h.  */
49037 #include <math.h>
49038                       #ifdef HAVE_IEEEFP_H
49039                       #include <ieeefp.h>
49040                       #endif
49041
49042 int
49043 main ()
49044 {
49045  fabsf(0);
49046   ;
49047   return 0;
49048 }
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051   glibcxx_cv_func_fabsf_use=yes
49052 else
49053   glibcxx_cv_func_fabsf_use=no
49054 fi
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056       ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061
49062
49063 fi
49064
49065   fi
49066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49067 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49068
49069   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49070     for ac_func in fabsf
49071 do :
49072   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49073 if test "x$ac_cv_func_fabsf" = x""yes; then :
49074   cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FABSF 1
49076 _ACEOF
49077
49078 fi
49079 done
49080
49081   else
49082
49083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49084 $as_echo_n "checking for _fabsf declaration... " >&6; }
49085   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49086     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49087   $as_echo_n "(cached) " >&6
49088 else
49089
49090
49091       ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096
49097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h.  */
49099 #include <math.h>
49100                       #ifdef HAVE_IEEEFP_H
49101                       #include <ieeefp.h>
49102                       #endif
49103
49104 int
49105 main ()
49106 {
49107  _fabsf(0);
49108   ;
49109   return 0;
49110 }
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113   glibcxx_cv_func__fabsf_use=yes
49114 else
49115   glibcxx_cv_func__fabsf_use=no
49116 fi
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118       ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124
49125 fi
49126
49127   fi
49128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49129 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49130
49131     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49132       for ac_func in _fabsf
49133 do :
49134   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49135 if test "x$ac_cv_func__fabsf" = x""yes; then :
49136   cat >>confdefs.h <<_ACEOF
49137 #define HAVE__FABSF 1
49138 _ACEOF
49139
49140 fi
49141 done
49142
49143     fi
49144   fi
49145
49146
49147
49148
49149
49150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49151 $as_echo_n "checking for fmodf declaration... " >&6; }
49152   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49153     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49154   $as_echo_n "(cached) " >&6
49155 else
49156
49157
49158       ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163
49164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h.  */
49166 #include <math.h>
49167 int
49168 main ()
49169 {
49170  fmodf(0, 0);
49171   ;
49172   return 0;
49173 }
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176   glibcxx_cv_func_fmodf_use=yes
49177 else
49178   glibcxx_cv_func_fmodf_use=no
49179 fi
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181       ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186
49187
49188 fi
49189
49190   fi
49191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49192 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49193
49194   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49195     for ac_func in fmodf
49196 do :
49197   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49198 if test "x$ac_cv_func_fmodf" = x""yes; then :
49199   cat >>confdefs.h <<_ACEOF
49200 #define HAVE_FMODF 1
49201 _ACEOF
49202
49203 fi
49204 done
49205
49206   else
49207
49208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49209 $as_echo_n "checking for _fmodf declaration... " >&6; }
49210   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49211     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49212   $as_echo_n "(cached) " >&6
49213 else
49214
49215
49216       ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h.  */
49224 #include <math.h>
49225 int
49226 main ()
49227 {
49228  _fmodf(0, 0);
49229   ;
49230   return 0;
49231 }
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234   glibcxx_cv_func__fmodf_use=yes
49235 else
49236   glibcxx_cv_func__fmodf_use=no
49237 fi
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239       ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244
49245
49246 fi
49247
49248   fi
49249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49250 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49251
49252     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49253       for ac_func in _fmodf
49254 do :
49255   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49256 if test "x$ac_cv_func__fmodf" = x""yes; then :
49257   cat >>confdefs.h <<_ACEOF
49258 #define HAVE__FMODF 1
49259 _ACEOF
49260
49261 fi
49262 done
49263
49264     fi
49265   fi
49266
49267
49268
49269
49270
49271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49272 $as_echo_n "checking for frexpf declaration... " >&6; }
49273   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49274     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49275   $as_echo_n "(cached) " >&6
49276 else
49277
49278
49279       ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284
49285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h.  */
49287 #include <math.h>
49288 int
49289 main ()
49290 {
49291  frexpf(0, 0);
49292   ;
49293   return 0;
49294 }
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297   glibcxx_cv_func_frexpf_use=yes
49298 else
49299   glibcxx_cv_func_frexpf_use=no
49300 fi
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302       ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49307
49308
49309 fi
49310
49311   fi
49312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49313 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49314
49315   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49316     for ac_func in frexpf
49317 do :
49318   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49319 if test "x$ac_cv_func_frexpf" = x""yes; then :
49320   cat >>confdefs.h <<_ACEOF
49321 #define HAVE_FREXPF 1
49322 _ACEOF
49323
49324 fi
49325 done
49326
49327   else
49328
49329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49330 $as_echo_n "checking for _frexpf declaration... " >&6; }
49331   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49332     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49333   $as_echo_n "(cached) " >&6
49334 else
49335
49336
49337       ac_ext=cpp
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49342
49343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49344 /* end confdefs.h.  */
49345 #include <math.h>
49346 int
49347 main ()
49348 {
49349  _frexpf(0, 0);
49350   ;
49351   return 0;
49352 }
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355   glibcxx_cv_func__frexpf_use=yes
49356 else
49357   glibcxx_cv_func__frexpf_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__frexpf_use" >&5
49371 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49372
49373     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49374       for ac_func in _frexpf
49375 do :
49376   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49377 if test "x$ac_cv_func__frexpf" = x""yes; then :
49378   cat >>confdefs.h <<_ACEOF
49379 #define HAVE__FREXPF 1
49380 _ACEOF
49381
49382 fi
49383 done
49384
49385     fi
49386   fi
49387
49388
49389
49390
49391
49392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49393 $as_echo_n "checking for hypotf declaration... " >&6; }
49394   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49395     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49396   $as_echo_n "(cached) " >&6
49397 else
49398
49399
49400       ac_ext=cpp
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405
49406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49407 /* end confdefs.h.  */
49408 #include <math.h>
49409 int
49410 main ()
49411 {
49412  hypotf(0, 0);
49413   ;
49414   return 0;
49415 }
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418   glibcxx_cv_func_hypotf_use=yes
49419 else
49420   glibcxx_cv_func_hypotf_use=no
49421 fi
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423       ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49428
49429
49430 fi
49431
49432   fi
49433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49434 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49435
49436   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49437     for ac_func in hypotf
49438 do :
49439   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49440 if test "x$ac_cv_func_hypotf" = x""yes; then :
49441   cat >>confdefs.h <<_ACEOF
49442 #define HAVE_HYPOTF 1
49443 _ACEOF
49444
49445 fi
49446 done
49447
49448   else
49449
49450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49451 $as_echo_n "checking for _hypotf declaration... " >&6; }
49452   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49453     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49454   $as_echo_n "(cached) " >&6
49455 else
49456
49457
49458       ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463
49464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h.  */
49466 #include <math.h>
49467 int
49468 main ()
49469 {
49470  _hypotf(0, 0);
49471   ;
49472   return 0;
49473 }
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476   glibcxx_cv_func__hypotf_use=yes
49477 else
49478   glibcxx_cv_func__hypotf_use=no
49479 fi
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481       ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49486
49487
49488 fi
49489
49490   fi
49491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49492 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49493
49494     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49495       for ac_func in _hypotf
49496 do :
49497   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49498 if test "x$ac_cv_func__hypotf" = x""yes; then :
49499   cat >>confdefs.h <<_ACEOF
49500 #define HAVE__HYPOTF 1
49501 _ACEOF
49502
49503 fi
49504 done
49505
49506     fi
49507   fi
49508
49509
49510
49511
49512
49513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49514 $as_echo_n "checking for ldexpf declaration... " >&6; }
49515   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49516     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49517   $as_echo_n "(cached) " >&6
49518 else
49519
49520
49521       ac_ext=cpp
49522 ac_cpp='$CXXCPP $CPPFLAGS'
49523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49526
49527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49528 /* end confdefs.h.  */
49529 #include <math.h>
49530 int
49531 main ()
49532 {
49533  ldexpf(0, 0);
49534   ;
49535   return 0;
49536 }
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539   glibcxx_cv_func_ldexpf_use=yes
49540 else
49541   glibcxx_cv_func_ldexpf_use=no
49542 fi
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544       ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49549
49550
49551 fi
49552
49553   fi
49554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49555 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49556
49557   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49558     for ac_func in ldexpf
49559 do :
49560   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49561 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49562   cat >>confdefs.h <<_ACEOF
49563 #define HAVE_LDEXPF 1
49564 _ACEOF
49565
49566 fi
49567 done
49568
49569   else
49570
49571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49572 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49573   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49574     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49575   $as_echo_n "(cached) " >&6
49576 else
49577
49578
49579       ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584
49585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h.  */
49587 #include <math.h>
49588 int
49589 main ()
49590 {
49591  _ldexpf(0, 0);
49592   ;
49593   return 0;
49594 }
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597   glibcxx_cv_func__ldexpf_use=yes
49598 else
49599   glibcxx_cv_func__ldexpf_use=no
49600 fi
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602       ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49607
49608
49609 fi
49610
49611   fi
49612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49613 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49614
49615     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49616       for ac_func in _ldexpf
49617 do :
49618   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49619 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49620   cat >>confdefs.h <<_ACEOF
49621 #define HAVE__LDEXPF 1
49622 _ACEOF
49623
49624 fi
49625 done
49626
49627     fi
49628   fi
49629
49630
49631
49632
49633
49634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49635 $as_echo_n "checking for logf declaration... " >&6; }
49636   if test x${glibcxx_cv_func_logf_use+set} != xset; then
49637     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49638   $as_echo_n "(cached) " >&6
49639 else
49640
49641
49642       ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647
49648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h.  */
49650 #include <math.h>
49651                       #ifdef HAVE_IEEEFP_H
49652                       #include <ieeefp.h>
49653                       #endif
49654
49655 int
49656 main ()
49657 {
49658  logf(0);
49659   ;
49660   return 0;
49661 }
49662 _ACEOF
49663 if ac_fn_cxx_try_compile "$LINENO"; then :
49664   glibcxx_cv_func_logf_use=yes
49665 else
49666   glibcxx_cv_func_logf_use=no
49667 fi
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669       ac_ext=c
49670 ac_cpp='$CPP $CPPFLAGS'
49671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674
49675
49676 fi
49677
49678   fi
49679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49680 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49681
49682   if test x$glibcxx_cv_func_logf_use = x"yes"; then
49683     for ac_func in logf
49684 do :
49685   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49686 if test "x$ac_cv_func_logf" = x""yes; then :
49687   cat >>confdefs.h <<_ACEOF
49688 #define HAVE_LOGF 1
49689 _ACEOF
49690
49691 fi
49692 done
49693
49694   else
49695
49696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49697 $as_echo_n "checking for _logf declaration... " >&6; }
49698   if test x${glibcxx_cv_func__logf_use+set} != xset; then
49699     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49700   $as_echo_n "(cached) " >&6
49701 else
49702
49703
49704       ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709
49710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h.  */
49712 #include <math.h>
49713                       #ifdef HAVE_IEEEFP_H
49714                       #include <ieeefp.h>
49715                       #endif
49716
49717 int
49718 main ()
49719 {
49720  _logf(0);
49721   ;
49722   return 0;
49723 }
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726   glibcxx_cv_func__logf_use=yes
49727 else
49728   glibcxx_cv_func__logf_use=no
49729 fi
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731       ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49736
49737
49738 fi
49739
49740   fi
49741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49742 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49743
49744     if test x$glibcxx_cv_func__logf_use = x"yes"; then
49745       for ac_func in _logf
49746 do :
49747   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49748 if test "x$ac_cv_func__logf" = x""yes; then :
49749   cat >>confdefs.h <<_ACEOF
49750 #define HAVE__LOGF 1
49751 _ACEOF
49752
49753 fi
49754 done
49755
49756     fi
49757   fi
49758
49759
49760
49761
49762
49763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49764 $as_echo_n "checking for log10f declaration... " >&6; }
49765   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49766     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49767   $as_echo_n "(cached) " >&6
49768 else
49769
49770
49771       ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49776
49777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h.  */
49779 #include <math.h>
49780                       #ifdef HAVE_IEEEFP_H
49781                       #include <ieeefp.h>
49782                       #endif
49783
49784 int
49785 main ()
49786 {
49787  log10f(0);
49788   ;
49789   return 0;
49790 }
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793   glibcxx_cv_func_log10f_use=yes
49794 else
49795   glibcxx_cv_func_log10f_use=no
49796 fi
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798       ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49803
49804
49805 fi
49806
49807   fi
49808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49809 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49810
49811   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49812     for ac_func in log10f
49813 do :
49814   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49815 if test "x$ac_cv_func_log10f" = x""yes; then :
49816   cat >>confdefs.h <<_ACEOF
49817 #define HAVE_LOG10F 1
49818 _ACEOF
49819
49820 fi
49821 done
49822
49823   else
49824
49825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49826 $as_echo_n "checking for _log10f declaration... " >&6; }
49827   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49828     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49829   $as_echo_n "(cached) " >&6
49830 else
49831
49832
49833       ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838
49839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h.  */
49841 #include <math.h>
49842                       #ifdef HAVE_IEEEFP_H
49843                       #include <ieeefp.h>
49844                       #endif
49845
49846 int
49847 main ()
49848 {
49849  _log10f(0);
49850   ;
49851   return 0;
49852 }
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855   glibcxx_cv_func__log10f_use=yes
49856 else
49857   glibcxx_cv_func__log10f_use=no
49858 fi
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860       ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865
49866
49867 fi
49868
49869   fi
49870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49871 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49872
49873     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49874       for ac_func in _log10f
49875 do :
49876   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49877 if test "x$ac_cv_func__log10f" = x""yes; then :
49878   cat >>confdefs.h <<_ACEOF
49879 #define HAVE__LOG10F 1
49880 _ACEOF
49881
49882 fi
49883 done
49884
49885     fi
49886   fi
49887
49888
49889
49890
49891
49892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49893 $as_echo_n "checking for modff declaration... " >&6; }
49894   if test x${glibcxx_cv_func_modff_use+set} != xset; then
49895     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49896   $as_echo_n "(cached) " >&6
49897 else
49898
49899
49900       ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49905
49906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h.  */
49908 #include <math.h>
49909 int
49910 main ()
49911 {
49912  modff(0, 0);
49913   ;
49914   return 0;
49915 }
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918   glibcxx_cv_func_modff_use=yes
49919 else
49920   glibcxx_cv_func_modff_use=no
49921 fi
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923       ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49928
49929
49930 fi
49931
49932   fi
49933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49934 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49935
49936   if test x$glibcxx_cv_func_modff_use = x"yes"; then
49937     for ac_func in modff
49938 do :
49939   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49940 if test "x$ac_cv_func_modff" = x""yes; then :
49941   cat >>confdefs.h <<_ACEOF
49942 #define HAVE_MODFF 1
49943 _ACEOF
49944
49945 fi
49946 done
49947
49948   else
49949
49950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49951 $as_echo_n "checking for _modff declaration... " >&6; }
49952   if test x${glibcxx_cv_func__modff_use+set} != xset; then
49953     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49954   $as_echo_n "(cached) " >&6
49955 else
49956
49957
49958       ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963
49964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h.  */
49966 #include <math.h>
49967 int
49968 main ()
49969 {
49970  _modff(0, 0);
49971   ;
49972   return 0;
49973 }
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976   glibcxx_cv_func__modff_use=yes
49977 else
49978   glibcxx_cv_func__modff_use=no
49979 fi
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981       ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49986
49987
49988 fi
49989
49990   fi
49991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49992 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49993
49994     if test x$glibcxx_cv_func__modff_use = x"yes"; then
49995       for ac_func in _modff
49996 do :
49997   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49998 if test "x$ac_cv_func__modff" = x""yes; then :
49999   cat >>confdefs.h <<_ACEOF
50000 #define HAVE__MODFF 1
50001 _ACEOF
50002
50003 fi
50004 done
50005
50006     fi
50007   fi
50008
50009
50010
50011
50012
50013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50014 $as_echo_n "checking for modf declaration... " >&6; }
50015   if test x${glibcxx_cv_func_modf_use+set} != xset; then
50016     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50017   $as_echo_n "(cached) " >&6
50018 else
50019
50020
50021       ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026
50027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h.  */
50029 #include <math.h>
50030 int
50031 main ()
50032 {
50033  modf(0, 0);
50034   ;
50035   return 0;
50036 }
50037 _ACEOF
50038 if ac_fn_cxx_try_compile "$LINENO"; then :
50039   glibcxx_cv_func_modf_use=yes
50040 else
50041   glibcxx_cv_func_modf_use=no
50042 fi
50043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50044       ac_ext=c
50045 ac_cpp='$CPP $CPPFLAGS'
50046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50049
50050
50051 fi
50052
50053   fi
50054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50055 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50056
50057   if test x$glibcxx_cv_func_modf_use = x"yes"; then
50058     for ac_func in modf
50059 do :
50060   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50061 if test "x$ac_cv_func_modf" = x""yes; then :
50062   cat >>confdefs.h <<_ACEOF
50063 #define HAVE_MODF 1
50064 _ACEOF
50065
50066 fi
50067 done
50068
50069   else
50070
50071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50072 $as_echo_n "checking for _modf declaration... " >&6; }
50073   if test x${glibcxx_cv_func__modf_use+set} != xset; then
50074     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50075   $as_echo_n "(cached) " >&6
50076 else
50077
50078
50079       ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084
50085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h.  */
50087 #include <math.h>
50088 int
50089 main ()
50090 {
50091  _modf(0, 0);
50092   ;
50093   return 0;
50094 }
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097   glibcxx_cv_func__modf_use=yes
50098 else
50099   glibcxx_cv_func__modf_use=no
50100 fi
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102       ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50107
50108
50109 fi
50110
50111   fi
50112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50113 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50114
50115     if test x$glibcxx_cv_func__modf_use = x"yes"; then
50116       for ac_func in _modf
50117 do :
50118   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50119 if test "x$ac_cv_func__modf" = x""yes; then :
50120   cat >>confdefs.h <<_ACEOF
50121 #define HAVE__MODF 1
50122 _ACEOF
50123
50124 fi
50125 done
50126
50127     fi
50128   fi
50129
50130
50131
50132
50133
50134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50135 $as_echo_n "checking for powf declaration... " >&6; }
50136   if test x${glibcxx_cv_func_powf_use+set} != xset; then
50137     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50138   $as_echo_n "(cached) " >&6
50139 else
50140
50141
50142       ac_ext=cpp
50143 ac_cpp='$CXXCPP $CPPFLAGS'
50144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50147
50148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50149 /* end confdefs.h.  */
50150 #include <math.h>
50151 int
50152 main ()
50153 {
50154  powf(0, 0);
50155   ;
50156   return 0;
50157 }
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160   glibcxx_cv_func_powf_use=yes
50161 else
50162   glibcxx_cv_func_powf_use=no
50163 fi
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165       ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50170
50171
50172 fi
50173
50174   fi
50175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50176 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50177
50178   if test x$glibcxx_cv_func_powf_use = x"yes"; then
50179     for ac_func in powf
50180 do :
50181   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50182 if test "x$ac_cv_func_powf" = x""yes; then :
50183   cat >>confdefs.h <<_ACEOF
50184 #define HAVE_POWF 1
50185 _ACEOF
50186
50187 fi
50188 done
50189
50190   else
50191
50192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50193 $as_echo_n "checking for _powf declaration... " >&6; }
50194   if test x${glibcxx_cv_func__powf_use+set} != xset; then
50195     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50196   $as_echo_n "(cached) " >&6
50197 else
50198
50199
50200       ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205
50206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h.  */
50208 #include <math.h>
50209 int
50210 main ()
50211 {
50212  _powf(0, 0);
50213   ;
50214   return 0;
50215 }
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218   glibcxx_cv_func__powf_use=yes
50219 else
50220   glibcxx_cv_func__powf_use=no
50221 fi
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223       ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50228
50229
50230 fi
50231
50232   fi
50233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50234 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50235
50236     if test x$glibcxx_cv_func__powf_use = x"yes"; then
50237       for ac_func in _powf
50238 do :
50239   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50240 if test "x$ac_cv_func__powf" = x""yes; then :
50241   cat >>confdefs.h <<_ACEOF
50242 #define HAVE__POWF 1
50243 _ACEOF
50244
50245 fi
50246 done
50247
50248     fi
50249   fi
50250
50251
50252
50253
50254
50255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50256 $as_echo_n "checking for sqrtf declaration... " >&6; }
50257   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50258     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50259   $as_echo_n "(cached) " >&6
50260 else
50261
50262
50263       ac_ext=cpp
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268
50269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h.  */
50271 #include <math.h>
50272                       #ifdef HAVE_IEEEFP_H
50273                       #include <ieeefp.h>
50274                       #endif
50275
50276 int
50277 main ()
50278 {
50279  sqrtf(0);
50280   ;
50281   return 0;
50282 }
50283 _ACEOF
50284 if ac_fn_cxx_try_compile "$LINENO"; then :
50285   glibcxx_cv_func_sqrtf_use=yes
50286 else
50287   glibcxx_cv_func_sqrtf_use=no
50288 fi
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290       ac_ext=c
50291 ac_cpp='$CPP $CPPFLAGS'
50292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50295
50296
50297 fi
50298
50299   fi
50300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50301 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50302
50303   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50304     for ac_func in sqrtf
50305 do :
50306   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50307 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50308   cat >>confdefs.h <<_ACEOF
50309 #define HAVE_SQRTF 1
50310 _ACEOF
50311
50312 fi
50313 done
50314
50315   else
50316
50317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50318 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50319   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50320     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50321   $as_echo_n "(cached) " >&6
50322 else
50323
50324
50325       ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330
50331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h.  */
50333 #include <math.h>
50334                       #ifdef HAVE_IEEEFP_H
50335                       #include <ieeefp.h>
50336                       #endif
50337
50338 int
50339 main ()
50340 {
50341  _sqrtf(0);
50342   ;
50343   return 0;
50344 }
50345 _ACEOF
50346 if ac_fn_cxx_try_compile "$LINENO"; then :
50347   glibcxx_cv_func__sqrtf_use=yes
50348 else
50349   glibcxx_cv_func__sqrtf_use=no
50350 fi
50351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50352       ac_ext=c
50353 ac_cpp='$CPP $CPPFLAGS'
50354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357
50358
50359 fi
50360
50361   fi
50362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50363 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50364
50365     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50366       for ac_func in _sqrtf
50367 do :
50368   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50369 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50370   cat >>confdefs.h <<_ACEOF
50371 #define HAVE__SQRTF 1
50372 _ACEOF
50373
50374 fi
50375 done
50376
50377     fi
50378   fi
50379
50380
50381
50382
50383
50384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50385 $as_echo_n "checking for sincosf declaration... " >&6; }
50386   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50387     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50388   $as_echo_n "(cached) " >&6
50389 else
50390
50391
50392       ac_ext=cpp
50393 ac_cpp='$CXXCPP $CPPFLAGS'
50394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397
50398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50399 /* end confdefs.h.  */
50400 #include <math.h>
50401 int
50402 main ()
50403 {
50404  sincosf(0, 0, 0);
50405   ;
50406   return 0;
50407 }
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410   glibcxx_cv_func_sincosf_use=yes
50411 else
50412   glibcxx_cv_func_sincosf_use=no
50413 fi
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415       ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50420
50421
50422 fi
50423
50424   fi
50425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50426 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50427
50428   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50429     for ac_func in sincosf
50430 do :
50431   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50432 if test "x$ac_cv_func_sincosf" = x""yes; then :
50433   cat >>confdefs.h <<_ACEOF
50434 #define HAVE_SINCOSF 1
50435 _ACEOF
50436
50437 fi
50438 done
50439
50440   else
50441
50442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50443 $as_echo_n "checking for _sincosf declaration... " >&6; }
50444   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50445     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50446   $as_echo_n "(cached) " >&6
50447 else
50448
50449
50450       ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50455
50456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h.  */
50458 #include <math.h>
50459 int
50460 main ()
50461 {
50462  _sincosf(0, 0, 0);
50463   ;
50464   return 0;
50465 }
50466 _ACEOF
50467 if ac_fn_cxx_try_compile "$LINENO"; then :
50468   glibcxx_cv_func__sincosf_use=yes
50469 else
50470   glibcxx_cv_func__sincosf_use=no
50471 fi
50472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50473       ac_ext=c
50474 ac_cpp='$CPP $CPPFLAGS'
50475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50478
50479
50480 fi
50481
50482   fi
50483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50484 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50485
50486     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50487       for ac_func in _sincosf
50488 do :
50489   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50490 if test "x$ac_cv_func__sincosf" = x""yes; then :
50491   cat >>confdefs.h <<_ACEOF
50492 #define HAVE__SINCOSF 1
50493 _ACEOF
50494
50495 fi
50496 done
50497
50498     fi
50499   fi
50500
50501
50502
50503
50504
50505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50506 $as_echo_n "checking for finitef declaration... " >&6; }
50507   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50508     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50509   $as_echo_n "(cached) " >&6
50510 else
50511
50512
50513       ac_ext=cpp
50514 ac_cpp='$CXXCPP $CPPFLAGS'
50515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518
50519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50520 /* end confdefs.h.  */
50521 #include <math.h>
50522                       #ifdef HAVE_IEEEFP_H
50523                       #include <ieeefp.h>
50524                       #endif
50525
50526 int
50527 main ()
50528 {
50529  finitef(0);
50530   ;
50531   return 0;
50532 }
50533 _ACEOF
50534 if ac_fn_cxx_try_compile "$LINENO"; then :
50535   glibcxx_cv_func_finitef_use=yes
50536 else
50537   glibcxx_cv_func_finitef_use=no
50538 fi
50539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50540       ac_ext=c
50541 ac_cpp='$CPP $CPPFLAGS'
50542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50545
50546
50547 fi
50548
50549   fi
50550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50551 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50552
50553   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50554     for ac_func in finitef
50555 do :
50556   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50557 if test "x$ac_cv_func_finitef" = x""yes; then :
50558   cat >>confdefs.h <<_ACEOF
50559 #define HAVE_FINITEF 1
50560 _ACEOF
50561
50562 fi
50563 done
50564
50565   else
50566
50567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50568 $as_echo_n "checking for _finitef declaration... " >&6; }
50569   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50570     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50571   $as_echo_n "(cached) " >&6
50572 else
50573
50574
50575       ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580
50581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h.  */
50583 #include <math.h>
50584                       #ifdef HAVE_IEEEFP_H
50585                       #include <ieeefp.h>
50586                       #endif
50587
50588 int
50589 main ()
50590 {
50591  _finitef(0);
50592   ;
50593   return 0;
50594 }
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597   glibcxx_cv_func__finitef_use=yes
50598 else
50599   glibcxx_cv_func__finitef_use=no
50600 fi
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602       ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50607
50608
50609 fi
50610
50611   fi
50612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50613 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50614
50615     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50616       for ac_func in _finitef
50617 do :
50618   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50619 if test "x$ac_cv_func__finitef" = x""yes; then :
50620   cat >>confdefs.h <<_ACEOF
50621 #define HAVE__FINITEF 1
50622 _ACEOF
50623
50624 fi
50625 done
50626
50627     fi
50628   fi
50629
50630
50631
50632
50633
50634     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50635 $as_echo_n "checking for long double trig functions... " >&6; }
50636   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50637   $as_echo_n "(cached) " >&6
50638 else
50639
50640
50641     ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646
50647     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h.  */
50649 #include <math.h>
50650 int
50651 main ()
50652 {
50653 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50654   ;
50655   return 0;
50656 }
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659   glibcxx_cv_func_long_double_trig_use=yes
50660 else
50661   glibcxx_cv_func_long_double_trig_use=no
50662 fi
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664     ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669
50670 fi
50671
50672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50673 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50674   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50675     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50676 do :
50677   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50679 eval as_val=\$$as_ac_var
50680    if test "x$as_val" = x""yes; then :
50681   cat >>confdefs.h <<_ACEOF
50682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50683 _ACEOF
50684
50685 fi
50686 done
50687
50688   else
50689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50690 $as_echo_n "checking for _long double trig functions... " >&6; }
50691     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50692   $as_echo_n "(cached) " >&6
50693 else
50694
50695
50696       ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701
50702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h.  */
50704 #include <math.h>
50705 int
50706 main ()
50707 {
50708 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50709   ;
50710   return 0;
50711 }
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714   glibcxx_cv_func__long_double_trig_use=yes
50715 else
50716   glibcxx_cv_func__long_double_trig_use=no
50717 fi
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719       ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50724
50725 fi
50726
50727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50728 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50729     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50730       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50731 do :
50732   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50734 eval as_val=\$$as_ac_var
50735    if test "x$as_val" = x""yes; then :
50736   cat >>confdefs.h <<_ACEOF
50737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50738 _ACEOF
50739
50740 fi
50741 done
50742
50743     fi
50744   fi
50745
50746
50747
50748
50749
50750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50751 $as_echo_n "checking for long double round functions... " >&6; }
50752   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50753   $as_echo_n "(cached) " >&6
50754 else
50755
50756
50757     ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h.  */
50765 #include <math.h>
50766 int
50767 main ()
50768 {
50769 ceill (0); floorl (0);
50770   ;
50771   return 0;
50772 }
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775   glibcxx_cv_func_long_double_round_use=yes
50776 else
50777   glibcxx_cv_func_long_double_round_use=no
50778 fi
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780     ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785
50786 fi
50787
50788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50789 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50790   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50791     for ac_func in ceill floorl
50792 do :
50793   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50795 eval as_val=\$$as_ac_var
50796    if test "x$as_val" = x""yes; then :
50797   cat >>confdefs.h <<_ACEOF
50798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50799 _ACEOF
50800
50801 fi
50802 done
50803
50804   else
50805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50806 $as_echo_n "checking for _long double round functions... " >&6; }
50807     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50808   $as_echo_n "(cached) " >&6
50809 else
50810
50811
50812       ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817
50818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h.  */
50820 #include <math.h>
50821 int
50822 main ()
50823 {
50824 _ceill (0); _floorl (0);
50825   ;
50826   return 0;
50827 }
50828 _ACEOF
50829 if ac_fn_cxx_try_compile "$LINENO"; then :
50830   glibcxx_cv_func__long_double_round_use=yes
50831 else
50832   glibcxx_cv_func__long_double_round_use=no
50833 fi
50834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835       ac_ext=c
50836 ac_cpp='$CPP $CPPFLAGS'
50837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50840
50841 fi
50842
50843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50844 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50845     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50846       for ac_func in _ceill _floorl
50847 do :
50848   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50850 eval as_val=\$$as_ac_var
50851    if test "x$as_val" = x""yes; then :
50852   cat >>confdefs.h <<_ACEOF
50853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50854 _ACEOF
50855
50856 fi
50857 done
50858
50859     fi
50860   fi
50861
50862
50863
50864
50865
50866
50867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50868 $as_echo_n "checking for isnanl declaration... " >&6; }
50869   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50870     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50871   $as_echo_n "(cached) " >&6
50872 else
50873
50874
50875       ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880
50881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h.  */
50883 #include <math.h>
50884                       #ifdef HAVE_IEEEFP_H
50885                       #include <ieeefp.h>
50886                       #endif
50887
50888 int
50889 main ()
50890 {
50891  isnanl(0);
50892   ;
50893   return 0;
50894 }
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897   glibcxx_cv_func_isnanl_use=yes
50898 else
50899   glibcxx_cv_func_isnanl_use=no
50900 fi
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902       ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50907
50908
50909 fi
50910
50911   fi
50912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50913 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50914
50915   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50916     for ac_func in isnanl
50917 do :
50918   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50919 if test "x$ac_cv_func_isnanl" = x""yes; then :
50920   cat >>confdefs.h <<_ACEOF
50921 #define HAVE_ISNANL 1
50922 _ACEOF
50923
50924 fi
50925 done
50926
50927   else
50928
50929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50930 $as_echo_n "checking for _isnanl declaration... " >&6; }
50931   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50932     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50933   $as_echo_n "(cached) " >&6
50934 else
50935
50936
50937       ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942
50943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h.  */
50945 #include <math.h>
50946                       #ifdef HAVE_IEEEFP_H
50947                       #include <ieeefp.h>
50948                       #endif
50949
50950 int
50951 main ()
50952 {
50953  _isnanl(0);
50954   ;
50955   return 0;
50956 }
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959   glibcxx_cv_func__isnanl_use=yes
50960 else
50961   glibcxx_cv_func__isnanl_use=no
50962 fi
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964       ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50969
50970
50971 fi
50972
50973   fi
50974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50975 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50976
50977     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50978       for ac_func in _isnanl
50979 do :
50980   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50981 if test "x$ac_cv_func__isnanl" = x""yes; then :
50982   cat >>confdefs.h <<_ACEOF
50983 #define HAVE__ISNANL 1
50984 _ACEOF
50985
50986 fi
50987 done
50988
50989     fi
50990   fi
50991
50992
50993
50994
50995
50996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50997 $as_echo_n "checking for isinfl declaration... " >&6; }
50998   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50999     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51000   $as_echo_n "(cached) " >&6
51001 else
51002
51003
51004       ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009
51010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h.  */
51012 #include <math.h>
51013                       #ifdef HAVE_IEEEFP_H
51014                       #include <ieeefp.h>
51015                       #endif
51016
51017 int
51018 main ()
51019 {
51020  isinfl(0);
51021   ;
51022   return 0;
51023 }
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026   glibcxx_cv_func_isinfl_use=yes
51027 else
51028   glibcxx_cv_func_isinfl_use=no
51029 fi
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031       ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51036
51037
51038 fi
51039
51040   fi
51041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51042 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51043
51044   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51045     for ac_func in isinfl
51046 do :
51047   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51048 if test "x$ac_cv_func_isinfl" = x""yes; then :
51049   cat >>confdefs.h <<_ACEOF
51050 #define HAVE_ISINFL 1
51051 _ACEOF
51052
51053 fi
51054 done
51055
51056   else
51057
51058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51059 $as_echo_n "checking for _isinfl declaration... " >&6; }
51060   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51061     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51062   $as_echo_n "(cached) " >&6
51063 else
51064
51065
51066       ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071
51072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h.  */
51074 #include <math.h>
51075                       #ifdef HAVE_IEEEFP_H
51076                       #include <ieeefp.h>
51077                       #endif
51078
51079 int
51080 main ()
51081 {
51082  _isinfl(0);
51083   ;
51084   return 0;
51085 }
51086 _ACEOF
51087 if ac_fn_cxx_try_compile "$LINENO"; then :
51088   glibcxx_cv_func__isinfl_use=yes
51089 else
51090   glibcxx_cv_func__isinfl_use=no
51091 fi
51092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51093       ac_ext=c
51094 ac_cpp='$CPP $CPPFLAGS'
51095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51098
51099
51100 fi
51101
51102   fi
51103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51104 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51105
51106     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51107       for ac_func in _isinfl
51108 do :
51109   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51110 if test "x$ac_cv_func__isinfl" = x""yes; then :
51111   cat >>confdefs.h <<_ACEOF
51112 #define HAVE__ISINFL 1
51113 _ACEOF
51114
51115 fi
51116 done
51117
51118     fi
51119   fi
51120
51121
51122
51123
51124
51125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51126 $as_echo_n "checking for atan2l declaration... " >&6; }
51127   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51128     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51129   $as_echo_n "(cached) " >&6
51130 else
51131
51132
51133       ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138
51139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h.  */
51141 #include <math.h>
51142 int
51143 main ()
51144 {
51145  atan2l(0, 0);
51146   ;
51147   return 0;
51148 }
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151   glibcxx_cv_func_atan2l_use=yes
51152 else
51153   glibcxx_cv_func_atan2l_use=no
51154 fi
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156       ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161
51162
51163 fi
51164
51165   fi
51166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51167 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51168
51169   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51170     for ac_func in atan2l
51171 do :
51172   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51173 if test "x$ac_cv_func_atan2l" = x""yes; then :
51174   cat >>confdefs.h <<_ACEOF
51175 #define HAVE_ATAN2L 1
51176 _ACEOF
51177
51178 fi
51179 done
51180
51181   else
51182
51183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51184 $as_echo_n "checking for _atan2l declaration... " >&6; }
51185   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51186     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51187   $as_echo_n "(cached) " >&6
51188 else
51189
51190
51191       ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196
51197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h.  */
51199 #include <math.h>
51200 int
51201 main ()
51202 {
51203  _atan2l(0, 0);
51204   ;
51205   return 0;
51206 }
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209   glibcxx_cv_func__atan2l_use=yes
51210 else
51211   glibcxx_cv_func__atan2l_use=no
51212 fi
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214       ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51219
51220
51221 fi
51222
51223   fi
51224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51225 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51226
51227     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51228       for ac_func in _atan2l
51229 do :
51230   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51231 if test "x$ac_cv_func__atan2l" = x""yes; then :
51232   cat >>confdefs.h <<_ACEOF
51233 #define HAVE__ATAN2L 1
51234 _ACEOF
51235
51236 fi
51237 done
51238
51239     fi
51240   fi
51241
51242
51243
51244
51245
51246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51247 $as_echo_n "checking for expl declaration... " >&6; }
51248   if test x${glibcxx_cv_func_expl_use+set} != xset; then
51249     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51250   $as_echo_n "(cached) " >&6
51251 else
51252
51253
51254       ac_ext=cpp
51255 ac_cpp='$CXXCPP $CPPFLAGS'
51256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259
51260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51261 /* end confdefs.h.  */
51262 #include <math.h>
51263                       #ifdef HAVE_IEEEFP_H
51264                       #include <ieeefp.h>
51265                       #endif
51266
51267 int
51268 main ()
51269 {
51270  expl(0);
51271   ;
51272   return 0;
51273 }
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276   glibcxx_cv_func_expl_use=yes
51277 else
51278   glibcxx_cv_func_expl_use=no
51279 fi
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281       ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286
51287
51288 fi
51289
51290   fi
51291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51292 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51293
51294   if test x$glibcxx_cv_func_expl_use = x"yes"; then
51295     for ac_func in expl
51296 do :
51297   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51298 if test "x$ac_cv_func_expl" = x""yes; then :
51299   cat >>confdefs.h <<_ACEOF
51300 #define HAVE_EXPL 1
51301 _ACEOF
51302
51303 fi
51304 done
51305
51306   else
51307
51308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51309 $as_echo_n "checking for _expl declaration... " >&6; }
51310   if test x${glibcxx_cv_func__expl_use+set} != xset; then
51311     if test "${glibcxx_cv_func__expl_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  _expl(0);
51333   ;
51334   return 0;
51335 }
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338   glibcxx_cv_func__expl_use=yes
51339 else
51340   glibcxx_cv_func__expl_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__expl_use" >&5
51354 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51355
51356     if test x$glibcxx_cv_func__expl_use = x"yes"; then
51357       for ac_func in _expl
51358 do :
51359   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51360 if test "x$ac_cv_func__expl" = x""yes; then :
51361   cat >>confdefs.h <<_ACEOF
51362 #define HAVE__EXPL 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368     fi
51369   fi
51370
51371
51372
51373
51374
51375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51376 $as_echo_n "checking for fabsl declaration... " >&6; }
51377   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51378     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51379   $as_echo_n "(cached) " >&6
51380 else
51381
51382
51383       ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388
51389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h.  */
51391 #include <math.h>
51392                       #ifdef HAVE_IEEEFP_H
51393                       #include <ieeefp.h>
51394                       #endif
51395
51396 int
51397 main ()
51398 {
51399  fabsl(0);
51400   ;
51401   return 0;
51402 }
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405   glibcxx_cv_func_fabsl_use=yes
51406 else
51407   glibcxx_cv_func_fabsl_use=no
51408 fi
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410       ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415
51416
51417 fi
51418
51419   fi
51420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51421 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51422
51423   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51424     for ac_func in fabsl
51425 do :
51426   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51427 if test "x$ac_cv_func_fabsl" = x""yes; then :
51428   cat >>confdefs.h <<_ACEOF
51429 #define HAVE_FABSL 1
51430 _ACEOF
51431
51432 fi
51433 done
51434
51435   else
51436
51437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51438 $as_echo_n "checking for _fabsl declaration... " >&6; }
51439   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51440     if test "${glibcxx_cv_func__fabsl_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                       #ifdef HAVE_IEEEFP_H
51455                       #include <ieeefp.h>
51456                       #endif
51457
51458 int
51459 main ()
51460 {
51461  _fabsl(0);
51462   ;
51463   return 0;
51464 }
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467   glibcxx_cv_func__fabsl_use=yes
51468 else
51469   glibcxx_cv_func__fabsl_use=no
51470 fi
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472       ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51477
51478
51479 fi
51480
51481   fi
51482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51483 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51484
51485     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51486       for ac_func in _fabsl
51487 do :
51488   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51489 if test "x$ac_cv_func__fabsl" = x""yes; then :
51490   cat >>confdefs.h <<_ACEOF
51491 #define HAVE__FABSL 1
51492 _ACEOF
51493
51494 fi
51495 done
51496
51497     fi
51498   fi
51499
51500
51501
51502
51503
51504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51505 $as_echo_n "checking for fmodl declaration... " >&6; }
51506   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51507     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51508   $as_echo_n "(cached) " >&6
51509 else
51510
51511
51512       ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517
51518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h.  */
51520 #include <math.h>
51521 int
51522 main ()
51523 {
51524  fmodl(0, 0);
51525   ;
51526   return 0;
51527 }
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530   glibcxx_cv_func_fmodl_use=yes
51531 else
51532   glibcxx_cv_func_fmodl_use=no
51533 fi
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535       ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51540
51541
51542 fi
51543
51544   fi
51545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51546 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51547
51548   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51549     for ac_func in fmodl
51550 do :
51551   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51552 if test "x$ac_cv_func_fmodl" = x""yes; then :
51553   cat >>confdefs.h <<_ACEOF
51554 #define HAVE_FMODL 1
51555 _ACEOF
51556
51557 fi
51558 done
51559
51560   else
51561
51562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51563 $as_echo_n "checking for _fmodl declaration... " >&6; }
51564   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51565     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51566   $as_echo_n "(cached) " >&6
51567 else
51568
51569
51570       ac_ext=cpp
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575
51576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h.  */
51578 #include <math.h>
51579 int
51580 main ()
51581 {
51582  _fmodl(0, 0);
51583   ;
51584   return 0;
51585 }
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588   glibcxx_cv_func__fmodl_use=yes
51589 else
51590   glibcxx_cv_func__fmodl_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__fmodl_use" >&5
51604 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51605
51606     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51607       for ac_func in _fmodl
51608 do :
51609   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51610 if test "x$ac_cv_func__fmodl" = x""yes; then :
51611   cat >>confdefs.h <<_ACEOF
51612 #define HAVE__FMODL 1
51613 _ACEOF
51614
51615 fi
51616 done
51617
51618     fi
51619   fi
51620
51621
51622
51623
51624
51625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51626 $as_echo_n "checking for frexpl declaration... " >&6; }
51627   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51628     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51629   $as_echo_n "(cached) " >&6
51630 else
51631
51632
51633       ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638
51639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h.  */
51641 #include <math.h>
51642 int
51643 main ()
51644 {
51645  frexpl(0, 0);
51646   ;
51647   return 0;
51648 }
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651   glibcxx_cv_func_frexpl_use=yes
51652 else
51653   glibcxx_cv_func_frexpl_use=no
51654 fi
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656       ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51661
51662
51663 fi
51664
51665   fi
51666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51667 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51668
51669   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51670     for ac_func in frexpl
51671 do :
51672   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51673 if test "x$ac_cv_func_frexpl" = x""yes; then :
51674   cat >>confdefs.h <<_ACEOF
51675 #define HAVE_FREXPL 1
51676 _ACEOF
51677
51678 fi
51679 done
51680
51681   else
51682
51683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51684 $as_echo_n "checking for _frexpl declaration... " >&6; }
51685   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51686     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51687   $as_echo_n "(cached) " >&6
51688 else
51689
51690
51691       ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h.  */
51699 #include <math.h>
51700 int
51701 main ()
51702 {
51703  _frexpl(0, 0);
51704   ;
51705   return 0;
51706 }
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709   glibcxx_cv_func__frexpl_use=yes
51710 else
51711   glibcxx_cv_func__frexpl_use=no
51712 fi
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714       ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51719
51720
51721 fi
51722
51723   fi
51724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51725 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51726
51727     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51728       for ac_func in _frexpl
51729 do :
51730   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51731 if test "x$ac_cv_func__frexpl" = x""yes; then :
51732   cat >>confdefs.h <<_ACEOF
51733 #define HAVE__FREXPL 1
51734 _ACEOF
51735
51736 fi
51737 done
51738
51739     fi
51740   fi
51741
51742
51743
51744
51745
51746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51747 $as_echo_n "checking for hypotl declaration... " >&6; }
51748   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51749     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51750   $as_echo_n "(cached) " >&6
51751 else
51752
51753
51754       ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h.  */
51762 #include <math.h>
51763 int
51764 main ()
51765 {
51766  hypotl(0, 0);
51767   ;
51768   return 0;
51769 }
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772   glibcxx_cv_func_hypotl_use=yes
51773 else
51774   glibcxx_cv_func_hypotl_use=no
51775 fi
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777       ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782
51783
51784 fi
51785
51786   fi
51787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51789
51790   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51791     for ac_func in hypotl
51792 do :
51793   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51794 if test "x$ac_cv_func_hypotl" = x""yes; then :
51795   cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOTL 1
51797 _ACEOF
51798
51799 fi
51800 done
51801
51802   else
51803
51804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51805 $as_echo_n "checking for _hypotl declaration... " >&6; }
51806   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51807     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51808   $as_echo_n "(cached) " >&6
51809 else
51810
51811
51812       ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817
51818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h.  */
51820 #include <math.h>
51821 int
51822 main ()
51823 {
51824  _hypotl(0, 0);
51825   ;
51826   return 0;
51827 }
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830   glibcxx_cv_func__hypotl_use=yes
51831 else
51832   glibcxx_cv_func__hypotl_use=no
51833 fi
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835       ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51840
51841
51842 fi
51843
51844   fi
51845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51847
51848     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51849       for ac_func in _hypotl
51850 do :
51851   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51852 if test "x$ac_cv_func__hypotl" = x""yes; then :
51853   cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOTL 1
51855 _ACEOF
51856
51857 fi
51858 done
51859
51860     fi
51861   fi
51862
51863
51864
51865
51866
51867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51868 $as_echo_n "checking for ldexpl declaration... " >&6; }
51869   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51870     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51871   $as_echo_n "(cached) " >&6
51872 else
51873
51874
51875       ac_ext=cpp
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51880
51881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51882 /* end confdefs.h.  */
51883 #include <math.h>
51884 int
51885 main ()
51886 {
51887  ldexpl(0, 0);
51888   ;
51889   return 0;
51890 }
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893   glibcxx_cv_func_ldexpl_use=yes
51894 else
51895   glibcxx_cv_func_ldexpl_use=no
51896 fi
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898       ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51903
51904
51905 fi
51906
51907   fi
51908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51909 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51910
51911   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51912     for ac_func in ldexpl
51913 do :
51914   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51915 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51916   cat >>confdefs.h <<_ACEOF
51917 #define HAVE_LDEXPL 1
51918 _ACEOF
51919
51920 fi
51921 done
51922
51923   else
51924
51925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51926 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51927   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51928     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51929   $as_echo_n "(cached) " >&6
51930 else
51931
51932
51933       ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938
51939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h.  */
51941 #include <math.h>
51942 int
51943 main ()
51944 {
51945  _ldexpl(0, 0);
51946   ;
51947   return 0;
51948 }
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951   glibcxx_cv_func__ldexpl_use=yes
51952 else
51953   glibcxx_cv_func__ldexpl_use=no
51954 fi
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956       ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961
51962
51963 fi
51964
51965   fi
51966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51967 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51968
51969     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51970       for ac_func in _ldexpl
51971 do :
51972   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51973 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51974   cat >>confdefs.h <<_ACEOF
51975 #define HAVE__LDEXPL 1
51976 _ACEOF
51977
51978 fi
51979 done
51980
51981     fi
51982   fi
51983
51984
51985
51986
51987
51988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51989 $as_echo_n "checking for logl declaration... " >&6; }
51990   if test x${glibcxx_cv_func_logl_use+set} != xset; then
51991     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51992   $as_echo_n "(cached) " >&6
51993 else
51994
51995
51996       ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001
52002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h.  */
52004 #include <math.h>
52005                       #ifdef HAVE_IEEEFP_H
52006                       #include <ieeefp.h>
52007                       #endif
52008
52009 int
52010 main ()
52011 {
52012  logl(0);
52013   ;
52014   return 0;
52015 }
52016 _ACEOF
52017 if ac_fn_cxx_try_compile "$LINENO"; then :
52018   glibcxx_cv_func_logl_use=yes
52019 else
52020   glibcxx_cv_func_logl_use=no
52021 fi
52022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52023       ac_ext=c
52024 ac_cpp='$CPP $CPPFLAGS'
52025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52028
52029
52030 fi
52031
52032   fi
52033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52034 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52035
52036   if test x$glibcxx_cv_func_logl_use = x"yes"; then
52037     for ac_func in logl
52038 do :
52039   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52040 if test "x$ac_cv_func_logl" = x""yes; then :
52041   cat >>confdefs.h <<_ACEOF
52042 #define HAVE_LOGL 1
52043 _ACEOF
52044
52045 fi
52046 done
52047
52048   else
52049
52050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52051 $as_echo_n "checking for _logl declaration... " >&6; }
52052   if test x${glibcxx_cv_func__logl_use+set} != xset; then
52053     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52054   $as_echo_n "(cached) " >&6
52055 else
52056
52057
52058       ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063
52064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h.  */
52066 #include <math.h>
52067                       #ifdef HAVE_IEEEFP_H
52068                       #include <ieeefp.h>
52069                       #endif
52070
52071 int
52072 main ()
52073 {
52074  _logl(0);
52075   ;
52076   return 0;
52077 }
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080   glibcxx_cv_func__logl_use=yes
52081 else
52082   glibcxx_cv_func__logl_use=no
52083 fi
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085       ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090
52091
52092 fi
52093
52094   fi
52095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52096 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52097
52098     if test x$glibcxx_cv_func__logl_use = x"yes"; then
52099       for ac_func in _logl
52100 do :
52101   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52102 if test "x$ac_cv_func__logl" = x""yes; then :
52103   cat >>confdefs.h <<_ACEOF
52104 #define HAVE__LOGL 1
52105 _ACEOF
52106
52107 fi
52108 done
52109
52110     fi
52111   fi
52112
52113
52114
52115
52116
52117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52118 $as_echo_n "checking for log10l declaration... " >&6; }
52119   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52120     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52121   $as_echo_n "(cached) " >&6
52122 else
52123
52124
52125       ac_ext=cpp
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130
52131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52132 /* end confdefs.h.  */
52133 #include <math.h>
52134                       #ifdef HAVE_IEEEFP_H
52135                       #include <ieeefp.h>
52136                       #endif
52137
52138 int
52139 main ()
52140 {
52141  log10l(0);
52142   ;
52143   return 0;
52144 }
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147   glibcxx_cv_func_log10l_use=yes
52148 else
52149   glibcxx_cv_func_log10l_use=no
52150 fi
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152       ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52157
52158
52159 fi
52160
52161   fi
52162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52163 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52164
52165   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52166     for ac_func in log10l
52167 do :
52168   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52169 if test "x$ac_cv_func_log10l" = x""yes; then :
52170   cat >>confdefs.h <<_ACEOF
52171 #define HAVE_LOG10L 1
52172 _ACEOF
52173
52174 fi
52175 done
52176
52177   else
52178
52179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52180 $as_echo_n "checking for _log10l declaration... " >&6; }
52181   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52182     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52183   $as_echo_n "(cached) " >&6
52184 else
52185
52186
52187       ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52192
52193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h.  */
52195 #include <math.h>
52196                       #ifdef HAVE_IEEEFP_H
52197                       #include <ieeefp.h>
52198                       #endif
52199
52200 int
52201 main ()
52202 {
52203  _log10l(0);
52204   ;
52205   return 0;
52206 }
52207 _ACEOF
52208 if ac_fn_cxx_try_compile "$LINENO"; then :
52209   glibcxx_cv_func__log10l_use=yes
52210 else
52211   glibcxx_cv_func__log10l_use=no
52212 fi
52213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52214       ac_ext=c
52215 ac_cpp='$CPP $CPPFLAGS'
52216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52219
52220
52221 fi
52222
52223   fi
52224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52225 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52226
52227     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52228       for ac_func in _log10l
52229 do :
52230   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52231 if test "x$ac_cv_func__log10l" = x""yes; then :
52232   cat >>confdefs.h <<_ACEOF
52233 #define HAVE__LOG10L 1
52234 _ACEOF
52235
52236 fi
52237 done
52238
52239     fi
52240   fi
52241
52242
52243
52244
52245
52246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52247 $as_echo_n "checking for modfl declaration... " >&6; }
52248   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52249     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52250   $as_echo_n "(cached) " >&6
52251 else
52252
52253
52254       ac_ext=cpp
52255 ac_cpp='$CXXCPP $CPPFLAGS'
52256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52259
52260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52261 /* end confdefs.h.  */
52262 #include <math.h>
52263 int
52264 main ()
52265 {
52266  modfl(0, 0);
52267   ;
52268   return 0;
52269 }
52270 _ACEOF
52271 if ac_fn_cxx_try_compile "$LINENO"; then :
52272   glibcxx_cv_func_modfl_use=yes
52273 else
52274   glibcxx_cv_func_modfl_use=no
52275 fi
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277       ac_ext=c
52278 ac_cpp='$CPP $CPPFLAGS'
52279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52282
52283
52284 fi
52285
52286   fi
52287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52288 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52289
52290   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52291     for ac_func in modfl
52292 do :
52293   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52294 if test "x$ac_cv_func_modfl" = x""yes; then :
52295   cat >>confdefs.h <<_ACEOF
52296 #define HAVE_MODFL 1
52297 _ACEOF
52298
52299 fi
52300 done
52301
52302   else
52303
52304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52305 $as_echo_n "checking for _modfl declaration... " >&6; }
52306   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52307     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52308   $as_echo_n "(cached) " >&6
52309 else
52310
52311
52312       ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52317
52318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h.  */
52320 #include <math.h>
52321 int
52322 main ()
52323 {
52324  _modfl(0, 0);
52325   ;
52326   return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330   glibcxx_cv_func__modfl_use=yes
52331 else
52332   glibcxx_cv_func__modfl_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335       ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344   fi
52345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52346 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52347
52348     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52349       for ac_func in _modfl
52350 do :
52351   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52352 if test "x$ac_cv_func__modfl" = x""yes; then :
52353   cat >>confdefs.h <<_ACEOF
52354 #define HAVE__MODFL 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360     fi
52361   fi
52362
52363
52364
52365
52366
52367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52368 $as_echo_n "checking for powl declaration... " >&6; }
52369   if test x${glibcxx_cv_func_powl_use+set} != xset; then
52370     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52371   $as_echo_n "(cached) " >&6
52372 else
52373
52374
52375       ac_ext=cpp
52376 ac_cpp='$CXXCPP $CPPFLAGS'
52377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380
52381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h.  */
52383 #include <math.h>
52384 int
52385 main ()
52386 {
52387  powl(0, 0);
52388   ;
52389   return 0;
52390 }
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393   glibcxx_cv_func_powl_use=yes
52394 else
52395   glibcxx_cv_func_powl_use=no
52396 fi
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398       ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52403
52404
52405 fi
52406
52407   fi
52408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52409 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52410
52411   if test x$glibcxx_cv_func_powl_use = x"yes"; then
52412     for ac_func in powl
52413 do :
52414   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52415 if test "x$ac_cv_func_powl" = x""yes; then :
52416   cat >>confdefs.h <<_ACEOF
52417 #define HAVE_POWL 1
52418 _ACEOF
52419
52420 fi
52421 done
52422
52423   else
52424
52425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52426 $as_echo_n "checking for _powl declaration... " >&6; }
52427   if test x${glibcxx_cv_func__powl_use+set} != xset; then
52428     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52429   $as_echo_n "(cached) " >&6
52430 else
52431
52432
52433       ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438
52439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h.  */
52441 #include <math.h>
52442 int
52443 main ()
52444 {
52445  _powl(0, 0);
52446   ;
52447   return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451   glibcxx_cv_func__powl_use=yes
52452 else
52453   glibcxx_cv_func__powl_use=no
52454 fi
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456       ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465   fi
52466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52467 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52468
52469     if test x$glibcxx_cv_func__powl_use = x"yes"; then
52470       for ac_func in _powl
52471 do :
52472   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52473 if test "x$ac_cv_func__powl" = x""yes; then :
52474   cat >>confdefs.h <<_ACEOF
52475 #define HAVE__POWL 1
52476 _ACEOF
52477
52478 fi
52479 done
52480
52481     fi
52482   fi
52483
52484
52485
52486
52487
52488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52489 $as_echo_n "checking for sqrtl declaration... " >&6; }
52490   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52491     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52492   $as_echo_n "(cached) " >&6
52493 else
52494
52495
52496       ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501
52502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h.  */
52504 #include <math.h>
52505                       #ifdef HAVE_IEEEFP_H
52506                       #include <ieeefp.h>
52507                       #endif
52508
52509 int
52510 main ()
52511 {
52512  sqrtl(0);
52513   ;
52514   return 0;
52515 }
52516 _ACEOF
52517 if ac_fn_cxx_try_compile "$LINENO"; then :
52518   glibcxx_cv_func_sqrtl_use=yes
52519 else
52520   glibcxx_cv_func_sqrtl_use=no
52521 fi
52522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52523       ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528
52529
52530 fi
52531
52532   fi
52533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52534 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52535
52536   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52537     for ac_func in sqrtl
52538 do :
52539   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52540 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52541   cat >>confdefs.h <<_ACEOF
52542 #define HAVE_SQRTL 1
52543 _ACEOF
52544
52545 fi
52546 done
52547
52548   else
52549
52550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52551 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52552   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52553     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52554   $as_echo_n "(cached) " >&6
52555 else
52556
52557
52558       ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52563
52564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h.  */
52566 #include <math.h>
52567                       #ifdef HAVE_IEEEFP_H
52568                       #include <ieeefp.h>
52569                       #endif
52570
52571 int
52572 main ()
52573 {
52574  _sqrtl(0);
52575   ;
52576   return 0;
52577 }
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580   glibcxx_cv_func__sqrtl_use=yes
52581 else
52582   glibcxx_cv_func__sqrtl_use=no
52583 fi
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585       ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52590
52591
52592 fi
52593
52594   fi
52595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52596 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52597
52598     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52599       for ac_func in _sqrtl
52600 do :
52601   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52602 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52603   cat >>confdefs.h <<_ACEOF
52604 #define HAVE__SQRTL 1
52605 _ACEOF
52606
52607 fi
52608 done
52609
52610     fi
52611   fi
52612
52613
52614
52615
52616
52617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52618 $as_echo_n "checking for sincosl declaration... " >&6; }
52619   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52620     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52621   $as_echo_n "(cached) " >&6
52622 else
52623
52624
52625       ac_ext=cpp
52626 ac_cpp='$CXXCPP $CPPFLAGS'
52627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630
52631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h.  */
52633 #include <math.h>
52634 int
52635 main ()
52636 {
52637  sincosl(0, 0, 0);
52638   ;
52639   return 0;
52640 }
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643   glibcxx_cv_func_sincosl_use=yes
52644 else
52645   glibcxx_cv_func_sincosl_use=no
52646 fi
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648       ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653
52654
52655 fi
52656
52657   fi
52658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52659 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52660
52661   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52662     for ac_func in sincosl
52663 do :
52664   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52665 if test "x$ac_cv_func_sincosl" = x""yes; then :
52666   cat >>confdefs.h <<_ACEOF
52667 #define HAVE_SINCOSL 1
52668 _ACEOF
52669
52670 fi
52671 done
52672
52673   else
52674
52675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52676 $as_echo_n "checking for _sincosl declaration... " >&6; }
52677   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52678     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52679   $as_echo_n "(cached) " >&6
52680 else
52681
52682
52683       ac_ext=cpp
52684 ac_cpp='$CXXCPP $CPPFLAGS'
52685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52688
52689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52690 /* end confdefs.h.  */
52691 #include <math.h>
52692 int
52693 main ()
52694 {
52695  _sincosl(0, 0, 0);
52696   ;
52697   return 0;
52698 }
52699 _ACEOF
52700 if ac_fn_cxx_try_compile "$LINENO"; then :
52701   glibcxx_cv_func__sincosl_use=yes
52702 else
52703   glibcxx_cv_func__sincosl_use=no
52704 fi
52705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706       ac_ext=c
52707 ac_cpp='$CPP $CPPFLAGS'
52708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52711
52712
52713 fi
52714
52715   fi
52716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52717 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52718
52719     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52720       for ac_func in _sincosl
52721 do :
52722   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52723 if test "x$ac_cv_func__sincosl" = x""yes; then :
52724   cat >>confdefs.h <<_ACEOF
52725 #define HAVE__SINCOSL 1
52726 _ACEOF
52727
52728 fi
52729 done
52730
52731     fi
52732   fi
52733
52734
52735
52736
52737
52738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52739 $as_echo_n "checking for finitel declaration... " >&6; }
52740   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52741     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52742   $as_echo_n "(cached) " >&6
52743 else
52744
52745
52746       ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751
52752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h.  */
52754 #include <math.h>
52755                       #ifdef HAVE_IEEEFP_H
52756                       #include <ieeefp.h>
52757                       #endif
52758
52759 int
52760 main ()
52761 {
52762  finitel(0);
52763   ;
52764   return 0;
52765 }
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768   glibcxx_cv_func_finitel_use=yes
52769 else
52770   glibcxx_cv_func_finitel_use=no
52771 fi
52772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52773       ac_ext=c
52774 ac_cpp='$CPP $CPPFLAGS'
52775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52778
52779
52780 fi
52781
52782   fi
52783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52784 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52785
52786   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52787     for ac_func in finitel
52788 do :
52789   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52790 if test "x$ac_cv_func_finitel" = x""yes; then :
52791   cat >>confdefs.h <<_ACEOF
52792 #define HAVE_FINITEL 1
52793 _ACEOF
52794
52795 fi
52796 done
52797
52798   else
52799
52800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52801 $as_echo_n "checking for _finitel declaration... " >&6; }
52802   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52803     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52804   $as_echo_n "(cached) " >&6
52805 else
52806
52807
52808       ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813
52814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h.  */
52816 #include <math.h>
52817                       #ifdef HAVE_IEEEFP_H
52818                       #include <ieeefp.h>
52819                       #endif
52820
52821 int
52822 main ()
52823 {
52824  _finitel(0);
52825   ;
52826   return 0;
52827 }
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830   glibcxx_cv_func__finitel_use=yes
52831 else
52832   glibcxx_cv_func__finitel_use=no
52833 fi
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835       ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52840
52841
52842 fi
52843
52844   fi
52845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52846 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52847
52848     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52849       for ac_func in _finitel
52850 do :
52851   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52852 if test "x$ac_cv_func__finitel" = x""yes; then :
52853   cat >>confdefs.h <<_ACEOF
52854 #define HAVE__FINITEL 1
52855 _ACEOF
52856
52857 fi
52858 done
52859
52860     fi
52861   fi
52862
52863
52864
52865
52866   LIBS="$ac_save_LIBS"
52867   CXXFLAGS="$ac_save_CXXFLAGS"
52868
52869
52870   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52871   ac_save_CXXFLAGS="$CXXFLAGS"
52872   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52873
52874
52875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52876 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52877   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52878     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52879   $as_echo_n "(cached) " >&6
52880 else
52881
52882
52883       ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888
52889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h.  */
52891 #include <stdlib.h>
52892 int
52893 main ()
52894 {
52895  at_quick_exit(0);
52896   ;
52897   return 0;
52898 }
52899 _ACEOF
52900 if ac_fn_cxx_try_compile "$LINENO"; then :
52901   glibcxx_cv_func_at_quick_exit_use=yes
52902 else
52903   glibcxx_cv_func_at_quick_exit_use=no
52904 fi
52905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52906       ac_ext=c
52907 ac_cpp='$CPP $CPPFLAGS'
52908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52911
52912
52913 fi
52914
52915   fi
52916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52917 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52918   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52919     for ac_func in at_quick_exit
52920 do :
52921   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52922 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52923   cat >>confdefs.h <<_ACEOF
52924 #define HAVE_AT_QUICK_EXIT 1
52925 _ACEOF
52926
52927 fi
52928 done
52929
52930   fi
52931
52932
52933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52934 $as_echo_n "checking for quick_exit declaration... " >&6; }
52935   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52936     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52937   $as_echo_n "(cached) " >&6
52938 else
52939
52940
52941       ac_ext=cpp
52942 ac_cpp='$CXXCPP $CPPFLAGS'
52943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946
52947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52948 /* end confdefs.h.  */
52949 #include <stdlib.h>
52950 int
52951 main ()
52952 {
52953  quick_exit(0);
52954   ;
52955   return 0;
52956 }
52957 _ACEOF
52958 if ac_fn_cxx_try_compile "$LINENO"; then :
52959   glibcxx_cv_func_quick_exit_use=yes
52960 else
52961   glibcxx_cv_func_quick_exit_use=no
52962 fi
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964       ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52969
52970
52971 fi
52972
52973   fi
52974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52975 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52976   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52977     for ac_func in quick_exit
52978 do :
52979   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52980 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52981   cat >>confdefs.h <<_ACEOF
52982 #define HAVE_QUICK_EXIT 1
52983 _ACEOF
52984
52985 fi
52986 done
52987
52988   fi
52989
52990
52991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52992 $as_echo_n "checking for strtold declaration... " >&6; }
52993   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52994     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52995   $as_echo_n "(cached) " >&6
52996 else
52997
52998
52999       ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004
53005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h.  */
53007 #include <stdlib.h>
53008 int
53009 main ()
53010 {
53011  strtold(0, 0);
53012   ;
53013   return 0;
53014 }
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017   glibcxx_cv_func_strtold_use=yes
53018 else
53019   glibcxx_cv_func_strtold_use=no
53020 fi
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022       ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53027
53028
53029 fi
53030
53031   fi
53032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53034   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53035     for ac_func in strtold
53036 do :
53037   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53038 if test "x$ac_cv_func_strtold" = x""yes; then :
53039   cat >>confdefs.h <<_ACEOF
53040 #define HAVE_STRTOLD 1
53041 _ACEOF
53042
53043 fi
53044 done
53045
53046   fi
53047
53048
53049
53050
53051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53052 $as_echo_n "checking for strtof declaration... " >&6; }
53053   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53054     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53055   $as_echo_n "(cached) " >&6
53056 else
53057
53058
53059       ac_ext=cpp
53060 ac_cpp='$CXXCPP $CPPFLAGS'
53061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53064
53065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53066 /* end confdefs.h.  */
53067 #include <stdlib.h>
53068 int
53069 main ()
53070 {
53071  strtof(0, 0);
53072   ;
53073   return 0;
53074 }
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077   glibcxx_cv_func_strtof_use=yes
53078 else
53079   glibcxx_cv_func_strtof_use=no
53080 fi
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082       ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53087
53088
53089 fi
53090
53091   fi
53092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53094   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53095     for ac_func in strtof
53096 do :
53097   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53098 if test "x$ac_cv_func_strtof" = x""yes; then :
53099   cat >>confdefs.h <<_ACEOF
53100 #define HAVE_STRTOF 1
53101 _ACEOF
53102
53103 fi
53104 done
53105
53106   fi
53107
53108
53109
53110
53111   CXXFLAGS="$ac_save_CXXFLAGS"
53112
53113     ;;
53114
53115   *djgpp)
53116     # GLIBCXX_CHECK_MATH_SUPPORT
53117     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53118
53119     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53120
53121     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53122
53123     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53124
53125     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53126
53127     ;;
53128
53129   *-freebsd*)
53130     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53131
53132
53133   # If we're not using GNU ld, then there's no point in even trying these
53134   # tests.  Check for that first.  We should have already tested for gld
53135   # by now (in libtool), but require it now just to be safe...
53136   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53137   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53138
53139
53140
53141   # The name set by libtool depends on the version of libtool.  Shame on us
53142   # for depending on an impl detail, but c'est la vie.  Older versions used
53143   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53144   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53145   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53146   # set (hence we're using an older libtool), then set it.
53147   if test x${with_gnu_ld+set} != xset; then
53148     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53149       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53150       with_gnu_ld=no
53151     else
53152       with_gnu_ld=$ac_cv_prog_gnu_ld
53153     fi
53154   fi
53155
53156   # Start by getting the version number.  I think the libtool test already
53157   # does some of this, but throws away the result.
53158   glibcxx_ld_is_gold=no
53159   if test x"$with_gnu_ld" = x"yes"; then
53160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53161 $as_echo_n "checking for ld version... " >&6; }
53162
53163     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53164       glibcxx_ld_is_gold=yes
53165     fi
53166     ldver=`$LD --version 2>/dev/null |
53167            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'`
53168
53169     glibcxx_gnu_ld_version=`echo $ldver | \
53170            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53173   fi
53174
53175   # Set --gc-sections.
53176   glibcxx_have_gc_sections=no
53177   if test "$glibcxx_ld_is_gold" = "yes"; then
53178     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53179       glibcxx_have_gc_sections=yes
53180     fi
53181   else
53182     glibcxx_gcsections_min_ld=21602
53183     if test x"$with_gnu_ld" = x"yes" &&
53184         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53185       glibcxx_have_gc_sections=yes
53186     fi
53187   fi
53188   if test "$glibcxx_have_gc_sections" = "yes"; then
53189     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53190     # NB: This flag only works reliably after 2.16.1. Configure tests
53191     # for this are difficult, so hard wire a value that should work.
53192
53193     ac_test_CFLAGS="${CFLAGS+set}"
53194     ac_save_CFLAGS="$CFLAGS"
53195     CFLAGS='-Wl,--gc-sections'
53196
53197     # Check for -Wl,--gc-sections
53198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53200     if test x$gcc_no_link = xyes; then
53201   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53202 fi
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h.  */
53205  int one(void) { return 1; }
53206      int two(void) { return 2; }
53207
53208 int
53209 main ()
53210 {
53211  two();
53212   ;
53213   return 0;
53214 }
53215 _ACEOF
53216 if ac_fn_c_try_link "$LINENO"; then :
53217   ac_gcsections=yes
53218 else
53219   ac_gcsections=no
53220 fi
53221 rm -f core conftest.err conftest.$ac_objext \
53222     conftest$ac_exeext conftest.$ac_ext
53223     if test "$ac_gcsections" = "yes"; then
53224       rm -f conftest.c
53225       touch conftest.c
53226       if $CC -c conftest.c; then
53227         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53228            grep "Warning: gc-sections option ignored" > /dev/null; then
53229           ac_gcsections=no
53230         fi
53231       fi
53232       rm -f conftest.c conftest.o conftest
53233     fi
53234     if test "$ac_gcsections" = "yes"; then
53235       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53236     fi
53237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53238 $as_echo "$ac_gcsections" >&6; }
53239
53240     if test "$ac_test_CFLAGS" = set; then
53241       CFLAGS="$ac_save_CFLAGS"
53242     else
53243       # this is the suspicious part
53244       CFLAGS=''
53245     fi
53246   fi
53247
53248   # Set -z,relro.
53249   # Note this is only for shared objects.
53250   ac_ld_relro=no
53251   if test x"$with_gnu_ld" = x"yes"; then
53252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53254     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53255     if test -n "$cxx_z_relo"; then
53256       OPT_LDFLAGS="-Wl,-z,relro"
53257       ac_ld_relro=yes
53258     fi
53259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53260 $as_echo "$ac_ld_relro" >&6; }
53261   fi
53262
53263   # Set linker optimization flags.
53264   if test x"$with_gnu_ld" = x"yes"; then
53265     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53266   fi
53267
53268
53269
53270
53271     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53272
53273     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53274
53275     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53276
53277     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53278
53279     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280
53281     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53282
53283     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53284
53285     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53286
53287     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53288
53289
53290     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53291
53292     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53293
53294     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53295
53296     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53297
53298     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53299
53300     $as_echo "#define HAVE_COSF 1" >>confdefs.h
53301
53302     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53303
53304     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53305
53306     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53307
53308     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53309
53310     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53311
53312     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53313
53314     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53315
53316     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53317
53318     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53319
53320     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53321
53322     $as_echo "#define HAVE_POWF 1" >>confdefs.h
53323
53324     $as_echo "#define HAVE_SINF 1" >>confdefs.h
53325
53326     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53327
53328     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53329
53330     $as_echo "#define HAVE_TANF 1" >>confdefs.h
53331
53332     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53333
53334     if test x"long_double_math_on_this_cpu" = x"yes"; then
53335       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53336
53337       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53338
53339       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53340
53341     fi
53342     for ac_func in __cxa_thread_atexit
53343 do :
53344   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53345 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53346   cat >>confdefs.h <<_ACEOF
53347 #define HAVE___CXA_THREAD_ATEXIT 1
53348 _ACEOF
53349
53350 fi
53351 done
53352
53353     ;;
53354
53355   *-fuchsia*)
53356     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53357
53358     ;;
53359
53360   *-hpux*)
53361     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53362
53363
53364   # If we're not using GNU ld, then there's no point in even trying these
53365   # tests.  Check for that first.  We should have already tested for gld
53366   # by now (in libtool), but require it now just to be safe...
53367   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53368   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53369
53370
53371
53372   # The name set by libtool depends on the version of libtool.  Shame on us
53373   # for depending on an impl detail, but c'est la vie.  Older versions used
53374   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53375   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53376   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53377   # set (hence we're using an older libtool), then set it.
53378   if test x${with_gnu_ld+set} != xset; then
53379     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53380       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53381       with_gnu_ld=no
53382     else
53383       with_gnu_ld=$ac_cv_prog_gnu_ld
53384     fi
53385   fi
53386
53387   # Start by getting the version number.  I think the libtool test already
53388   # does some of this, but throws away the result.
53389   glibcxx_ld_is_gold=no
53390   if test x"$with_gnu_ld" = x"yes"; then
53391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53392 $as_echo_n "checking for ld version... " >&6; }
53393
53394     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53395       glibcxx_ld_is_gold=yes
53396     fi
53397     ldver=`$LD --version 2>/dev/null |
53398            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'`
53399
53400     glibcxx_gnu_ld_version=`echo $ldver | \
53401            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53403 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53404   fi
53405
53406   # Set --gc-sections.
53407   glibcxx_have_gc_sections=no
53408   if test "$glibcxx_ld_is_gold" = "yes"; then
53409     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53410       glibcxx_have_gc_sections=yes
53411     fi
53412   else
53413     glibcxx_gcsections_min_ld=21602
53414     if test x"$with_gnu_ld" = x"yes" &&
53415         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53416       glibcxx_have_gc_sections=yes
53417     fi
53418   fi
53419   if test "$glibcxx_have_gc_sections" = "yes"; then
53420     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53421     # NB: This flag only works reliably after 2.16.1. Configure tests
53422     # for this are difficult, so hard wire a value that should work.
53423
53424     ac_test_CFLAGS="${CFLAGS+set}"
53425     ac_save_CFLAGS="$CFLAGS"
53426     CFLAGS='-Wl,--gc-sections'
53427
53428     # Check for -Wl,--gc-sections
53429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53430 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53431     if test x$gcc_no_link = xyes; then
53432   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53433 fi
53434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53435 /* end confdefs.h.  */
53436  int one(void) { return 1; }
53437      int two(void) { return 2; }
53438
53439 int
53440 main ()
53441 {
53442  two();
53443   ;
53444   return 0;
53445 }
53446 _ACEOF
53447 if ac_fn_c_try_link "$LINENO"; then :
53448   ac_gcsections=yes
53449 else
53450   ac_gcsections=no
53451 fi
53452 rm -f core conftest.err conftest.$ac_objext \
53453     conftest$ac_exeext conftest.$ac_ext
53454     if test "$ac_gcsections" = "yes"; then
53455       rm -f conftest.c
53456       touch conftest.c
53457       if $CC -c conftest.c; then
53458         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53459            grep "Warning: gc-sections option ignored" > /dev/null; then
53460           ac_gcsections=no
53461         fi
53462       fi
53463       rm -f conftest.c conftest.o conftest
53464     fi
53465     if test "$ac_gcsections" = "yes"; then
53466       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53467     fi
53468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53469 $as_echo "$ac_gcsections" >&6; }
53470
53471     if test "$ac_test_CFLAGS" = set; then
53472       CFLAGS="$ac_save_CFLAGS"
53473     else
53474       # this is the suspicious part
53475       CFLAGS=''
53476     fi
53477   fi
53478
53479   # Set -z,relro.
53480   # Note this is only for shared objects.
53481   ac_ld_relro=no
53482   if test x"$with_gnu_ld" = x"yes"; then
53483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53484 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53485     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53486     if test -n "$cxx_z_relo"; then
53487       OPT_LDFLAGS="-Wl,-z,relro"
53488       ac_ld_relro=yes
53489     fi
53490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53491 $as_echo "$ac_ld_relro" >&6; }
53492   fi
53493
53494   # Set linker optimization flags.
53495   if test x"$with_gnu_ld" = x"yes"; then
53496     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53497   fi
53498
53499
53500
53501
53502
53503     # GLIBCXX_CHECK_MATH_SUPPORT
53504     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53505
53506     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53507
53508     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53509
53510     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53511
53512     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53513
53514     $as_echo "#define HAVE_COSF 1" >>confdefs.h
53515
53516     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53517
53518     $as_echo "#define HAVE_SINF 1" >>confdefs.h
53519
53520     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53521
53522     $as_echo "#define HAVE_TANF 1" >>confdefs.h
53523
53524     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53525
53526     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53527
53528     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53529
53530     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53531
53532     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53533
53534     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53535
53536     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53537
53538     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53539
53540     $as_echo "#define HAVE_MODF 1" >>confdefs.h
53541
53542     $as_echo "#define HAVE_POWF 1" >>confdefs.h
53543
53544     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53545
53546
53547     # GLIBCXX_CHECK_STDLIB_SUPPORT
53548     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53549
53550
53551
53552
53553    # Check whether --enable-tls was given.
53554 if test "${enable_tls+set}" = set; then :
53555   enableval=$enable_tls;
53556       case "$enableval" in
53557        yes|no) ;;
53558        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53559       esac
53560
53561 else
53562   enable_tls=yes
53563 fi
53564
53565
53566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53567 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53568 if test "${gcc_cv_have_tls+set}" = set; then :
53569   $as_echo_n "(cached) " >&6
53570 else
53571
53572     if test "$cross_compiling" = yes; then :
53573                 if test x$gcc_no_link = xyes; then
53574   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53575 fi
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h.  */
53578 __thread int a; int b; int main() { return a = b; }
53579 _ACEOF
53580 if ac_fn_c_try_link "$LINENO"; then :
53581   chktls_save_LDFLAGS="$LDFLAGS"
53582                           case $host in
53583             *-*-linux*)
53584               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53585               ;;
53586           esac
53587           chktls_save_CFLAGS="$CFLAGS"
53588           CFLAGS="-fPIC $CFLAGS"
53589                   if test x$gcc_no_link = xyes; then
53590   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53591 fi
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h.  */
53594 int f() { return 0; }
53595 _ACEOF
53596 if ac_fn_c_try_link "$LINENO"; then :
53597   if test x$gcc_no_link = xyes; then
53598   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53599 fi
53600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53601 /* end confdefs.h.  */
53602 __thread int a; int b; int f() { return a = b; }
53603 _ACEOF
53604 if ac_fn_c_try_link "$LINENO"; then :
53605   gcc_cv_have_tls=yes
53606 else
53607   gcc_cv_have_tls=no
53608 fi
53609 rm -f core conftest.err conftest.$ac_objext \
53610     conftest$ac_exeext conftest.$ac_ext
53611 else
53612   gcc_cv_have_tls=yes
53613 fi
53614 rm -f core conftest.err conftest.$ac_objext \
53615     conftest$ac_exeext conftest.$ac_ext
53616           CFLAGS="$chktls_save_CFLAGS"
53617           LDFLAGS="$chktls_save_LDFLAGS"
53618 else
53619   gcc_cv_have_tls=no
53620 fi
53621 rm -f core conftest.err conftest.$ac_objext \
53622     conftest$ac_exeext conftest.$ac_ext
53623
53624
53625 else
53626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53627 /* end confdefs.h.  */
53628 __thread int a; int b; int main() { return a = b; }
53629 _ACEOF
53630 if ac_fn_c_try_run "$LINENO"; then :
53631                       chktls_save_LDFLAGS="$LDFLAGS"
53632       LDFLAGS="-static $LDFLAGS"
53633       if test x$gcc_no_link = xyes; then
53634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53635 fi
53636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53637 /* end confdefs.h.  */
53638 int main() { return 0; }
53639 _ACEOF
53640 if ac_fn_c_try_link "$LINENO"; then :
53641   if test "$cross_compiling" = yes; then :
53642   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53644 as_fn_error "cannot run test program while cross compiling
53645 See \`config.log' for more details." "$LINENO" 5; }
53646 else
53647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53648 /* end confdefs.h.  */
53649 __thread int a; int b; int main() { return a = b; }
53650 _ACEOF
53651 if ac_fn_c_try_run "$LINENO"; then :
53652   gcc_cv_have_tls=yes
53653 else
53654   gcc_cv_have_tls=no
53655 fi
53656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53657   conftest.$ac_objext conftest.beam conftest.$ac_ext
53658 fi
53659
53660 else
53661   gcc_cv_have_tls=yes
53662 fi
53663 rm -f core conftest.err conftest.$ac_objext \
53664     conftest$ac_exeext conftest.$ac_ext
53665       LDFLAGS="$chktls_save_LDFLAGS"
53666       if test $gcc_cv_have_tls = yes; then
53667                                                 chktls_save_CFLAGS="$CFLAGS"
53668         thread_CFLAGS=failed
53669         for flag in '' '-pthread' '-lpthread'; do
53670           CFLAGS="$flag $chktls_save_CFLAGS"
53671           if test x$gcc_no_link = xyes; then
53672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53673 fi
53674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53675 /* end confdefs.h.  */
53676 #include <pthread.h>
53677                 void *g(void *d) { return NULL; }
53678 int
53679 main ()
53680 {
53681 pthread_t t; pthread_create(&t,NULL,g,NULL);
53682   ;
53683   return 0;
53684 }
53685 _ACEOF
53686 if ac_fn_c_try_link "$LINENO"; then :
53687   thread_CFLAGS="$flag"
53688 fi
53689 rm -f core conftest.err conftest.$ac_objext \
53690     conftest$ac_exeext conftest.$ac_ext
53691           if test "X$thread_CFLAGS" != Xfailed; then
53692             break
53693           fi
53694         done
53695         CFLAGS="$chktls_save_CFLAGS"
53696         if test "X$thread_CFLAGS" != Xfailed; then
53697           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53698                                                   if test "$cross_compiling" = yes; then :
53699   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53701 as_fn_error "cannot run test program while cross compiling
53702 See \`config.log' for more details." "$LINENO" 5; }
53703 else
53704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53705 /* end confdefs.h.  */
53706 #include <pthread.h>
53707                 __thread int a;
53708                 static int *volatile a_in_other_thread;
53709                 static void *
53710                 thread_func (void *arg)
53711                 {
53712                   a_in_other_thread = &a;
53713                   return (void *)0;
53714                 }
53715 int
53716 main ()
53717 {
53718 pthread_t thread;
53719                 void *thread_retval;
53720                 int *volatile a_in_main_thread;
53721                 a_in_main_thread = &a;
53722                 if (pthread_create (&thread, (pthread_attr_t *)0,
53723                                     thread_func, (void *)0))
53724                   return 0;
53725                 if (pthread_join (thread, &thread_retval))
53726                   return 0;
53727                 return (a_in_other_thread == a_in_main_thread);
53728   ;
53729   return 0;
53730 }
53731 _ACEOF
53732 if ac_fn_c_try_run "$LINENO"; then :
53733   gcc_cv_have_tls=yes
53734 else
53735   gcc_cv_have_tls=no
53736 fi
53737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53738   conftest.$ac_objext conftest.beam conftest.$ac_ext
53739 fi
53740
53741           CFLAGS="$chktls_save_CFLAGS"
53742         fi
53743       fi
53744 else
53745   gcc_cv_have_tls=no
53746 fi
53747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53748   conftest.$ac_objext conftest.beam conftest.$ac_ext
53749 fi
53750
53751 fi
53752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53753 $as_echo "$gcc_cv_have_tls" >&6; }
53754   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53755
53756 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53757
53758   fi
53759     case "$target" in
53760       *-hpux10*)
53761         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53762
53763         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53764
53765         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53766
53767         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53768
53769         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53770
53771         ;;
53772     esac
53773     ;;
53774   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53775
53776   # All these tests are for C++; save the language and the compiler flags.
53777   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53778   # found in GLIBCXX_CONFIGURE.
53779
53780   ac_ext=cpp
53781 ac_cpp='$CXXCPP $CPPFLAGS'
53782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53785
53786   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53787   ac_save_CXXFLAGS="$CXXFLAGS"
53788
53789   # Check for maintainer-mode bits.
53790   if test x"$USE_MAINTAINER_MODE" = xno; then
53791     WERROR=''
53792   else
53793     WERROR='-Werror'
53794   fi
53795
53796   # Check for -ffunction-sections -fdata-sections
53797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53798 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53799   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53801 /* end confdefs.h.  */
53802 int foo; void bar() { };
53803 int
53804 main ()
53805 {
53806
53807   ;
53808   return 0;
53809 }
53810 _ACEOF
53811 if ac_fn_cxx_try_compile "$LINENO"; then :
53812   ac_fdsections=yes
53813 else
53814   ac_fdsections=no
53815 fi
53816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53817   if test "$ac_test_CXXFLAGS" = set; then
53818     CXXFLAGS="$ac_save_CXXFLAGS"
53819   else
53820     # this is the suspicious part
53821     CXXFLAGS=''
53822   fi
53823   if test x"$ac_fdsections" = x"yes"; then
53824     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53825   fi
53826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53827 $as_echo "$ac_fdsections" >&6; }
53828
53829   ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53834
53835
53836
53837
53838
53839   # If we're not using GNU ld, then there's no point in even trying these
53840   # tests.  Check for that first.  We should have already tested for gld
53841   # by now (in libtool), but require it now just to be safe...
53842   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53843   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53844
53845
53846
53847   # The name set by libtool depends on the version of libtool.  Shame on us
53848   # for depending on an impl detail, but c'est la vie.  Older versions used
53849   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53850   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53851   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53852   # set (hence we're using an older libtool), then set it.
53853   if test x${with_gnu_ld+set} != xset; then
53854     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53855       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53856       with_gnu_ld=no
53857     else
53858       with_gnu_ld=$ac_cv_prog_gnu_ld
53859     fi
53860   fi
53861
53862   # Start by getting the version number.  I think the libtool test already
53863   # does some of this, but throws away the result.
53864   glibcxx_ld_is_gold=no
53865   if test x"$with_gnu_ld" = x"yes"; then
53866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53867 $as_echo_n "checking for ld version... " >&6; }
53868
53869     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53870       glibcxx_ld_is_gold=yes
53871     fi
53872     ldver=`$LD --version 2>/dev/null |
53873            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'`
53874
53875     glibcxx_gnu_ld_version=`echo $ldver | \
53876            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53878 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53879   fi
53880
53881   # Set --gc-sections.
53882   glibcxx_have_gc_sections=no
53883   if test "$glibcxx_ld_is_gold" = "yes"; then
53884     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53885       glibcxx_have_gc_sections=yes
53886     fi
53887   else
53888     glibcxx_gcsections_min_ld=21602
53889     if test x"$with_gnu_ld" = x"yes" &&
53890         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53891       glibcxx_have_gc_sections=yes
53892     fi
53893   fi
53894   if test "$glibcxx_have_gc_sections" = "yes"; then
53895     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53896     # NB: This flag only works reliably after 2.16.1. Configure tests
53897     # for this are difficult, so hard wire a value that should work.
53898
53899     ac_test_CFLAGS="${CFLAGS+set}"
53900     ac_save_CFLAGS="$CFLAGS"
53901     CFLAGS='-Wl,--gc-sections'
53902
53903     # Check for -Wl,--gc-sections
53904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53905 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53906     if test x$gcc_no_link = xyes; then
53907   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53908 fi
53909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53910 /* end confdefs.h.  */
53911  int one(void) { return 1; }
53912      int two(void) { return 2; }
53913
53914 int
53915 main ()
53916 {
53917  two();
53918   ;
53919   return 0;
53920 }
53921 _ACEOF
53922 if ac_fn_c_try_link "$LINENO"; then :
53923   ac_gcsections=yes
53924 else
53925   ac_gcsections=no
53926 fi
53927 rm -f core conftest.err conftest.$ac_objext \
53928     conftest$ac_exeext conftest.$ac_ext
53929     if test "$ac_gcsections" = "yes"; then
53930       rm -f conftest.c
53931       touch conftest.c
53932       if $CC -c conftest.c; then
53933         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53934            grep "Warning: gc-sections option ignored" > /dev/null; then
53935           ac_gcsections=no
53936         fi
53937       fi
53938       rm -f conftest.c conftest.o conftest
53939     fi
53940     if test "$ac_gcsections" = "yes"; then
53941       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53942     fi
53943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53944 $as_echo "$ac_gcsections" >&6; }
53945
53946     if test "$ac_test_CFLAGS" = set; then
53947       CFLAGS="$ac_save_CFLAGS"
53948     else
53949       # this is the suspicious part
53950       CFLAGS=''
53951     fi
53952   fi
53953
53954   # Set -z,relro.
53955   # Note this is only for shared objects.
53956   ac_ld_relro=no
53957   if test x"$with_gnu_ld" = x"yes"; then
53958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53959 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53960     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53961     if test -n "$cxx_z_relo"; then
53962       OPT_LDFLAGS="-Wl,-z,relro"
53963       ac_ld_relro=yes
53964     fi
53965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53966 $as_echo "$ac_ld_relro" >&6; }
53967   fi
53968
53969   # Set linker optimization flags.
53970   if test x"$with_gnu_ld" = x"yes"; then
53971     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53972   fi
53973
53974
53975
53976
53977
53978   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53979   ac_save_CXXFLAGS="$CXXFLAGS"
53980   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53981
53982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53983 $as_echo_n "checking for sin in -lm... " >&6; }
53984 if test "${ac_cv_lib_m_sin+set}" = set; then :
53985   $as_echo_n "(cached) " >&6
53986 else
53987   ac_check_lib_save_LIBS=$LIBS
53988 LIBS="-lm  $LIBS"
53989 if test x$gcc_no_link = xyes; then
53990   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53991 fi
53992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53993 /* end confdefs.h.  */
53994
53995 /* Override any GCC internal prototype to avoid an error.
53996    Use char because int might match the return type of a GCC
53997    builtin and then its argument prototype would still apply.  */
53998 #ifdef __cplusplus
53999 extern "C"
54000 #endif
54001 char sin ();
54002 int
54003 main ()
54004 {
54005 return sin ();
54006   ;
54007   return 0;
54008 }
54009 _ACEOF
54010 if ac_fn_c_try_link "$LINENO"; then :
54011   ac_cv_lib_m_sin=yes
54012 else
54013   ac_cv_lib_m_sin=no
54014 fi
54015 rm -f core conftest.err conftest.$ac_objext \
54016     conftest$ac_exeext conftest.$ac_ext
54017 LIBS=$ac_check_lib_save_LIBS
54018 fi
54019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54020 $as_echo "$ac_cv_lib_m_sin" >&6; }
54021 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54022   libm="-lm"
54023 fi
54024
54025   ac_save_LIBS="$LIBS"
54026   LIBS="$LIBS $libm"
54027
54028
54029
54030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54031 $as_echo_n "checking for isinf declaration... " >&6; }
54032   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54033     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54034   $as_echo_n "(cached) " >&6
54035 else
54036
54037
54038       ac_ext=cpp
54039 ac_cpp='$CXXCPP $CPPFLAGS'
54040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54043
54044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54045 /* end confdefs.h.  */
54046 #include <math.h>
54047                       #ifdef HAVE_IEEEFP_H
54048                       #include <ieeefp.h>
54049                       #endif
54050
54051 int
54052 main ()
54053 {
54054  isinf(0);
54055   ;
54056   return 0;
54057 }
54058 _ACEOF
54059 if ac_fn_cxx_try_compile "$LINENO"; then :
54060   glibcxx_cv_func_isinf_use=yes
54061 else
54062   glibcxx_cv_func_isinf_use=no
54063 fi
54064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54065       ac_ext=c
54066 ac_cpp='$CPP $CPPFLAGS'
54067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54070
54071
54072 fi
54073
54074   fi
54075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54076 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54077
54078   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54079     for ac_func in isinf
54080 do :
54081   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54082 if test "x$ac_cv_func_isinf" = x""yes; then :
54083   cat >>confdefs.h <<_ACEOF
54084 #define HAVE_ISINF 1
54085 _ACEOF
54086
54087 fi
54088 done
54089
54090   else
54091
54092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54093 $as_echo_n "checking for _isinf declaration... " >&6; }
54094   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54095     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54096   $as_echo_n "(cached) " >&6
54097 else
54098
54099
54100       ac_ext=cpp
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54105
54106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h.  */
54108 #include <math.h>
54109                       #ifdef HAVE_IEEEFP_H
54110                       #include <ieeefp.h>
54111                       #endif
54112
54113 int
54114 main ()
54115 {
54116  _isinf(0);
54117   ;
54118   return 0;
54119 }
54120 _ACEOF
54121 if ac_fn_cxx_try_compile "$LINENO"; then :
54122   glibcxx_cv_func__isinf_use=yes
54123 else
54124   glibcxx_cv_func__isinf_use=no
54125 fi
54126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54127       ac_ext=c
54128 ac_cpp='$CPP $CPPFLAGS'
54129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54132
54133
54134 fi
54135
54136   fi
54137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54138 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54139
54140     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54141       for ac_func in _isinf
54142 do :
54143   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54144 if test "x$ac_cv_func__isinf" = x""yes; then :
54145   cat >>confdefs.h <<_ACEOF
54146 #define HAVE__ISINF 1
54147 _ACEOF
54148
54149 fi
54150 done
54151
54152     fi
54153   fi
54154
54155
54156
54157
54158
54159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54160 $as_echo_n "checking for isnan declaration... " >&6; }
54161   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54162     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54163   $as_echo_n "(cached) " >&6
54164 else
54165
54166
54167       ac_ext=cpp
54168 ac_cpp='$CXXCPP $CPPFLAGS'
54169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54172
54173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54174 /* end confdefs.h.  */
54175 #include <math.h>
54176                       #ifdef HAVE_IEEEFP_H
54177                       #include <ieeefp.h>
54178                       #endif
54179
54180 int
54181 main ()
54182 {
54183  isnan(0);
54184   ;
54185   return 0;
54186 }
54187 _ACEOF
54188 if ac_fn_cxx_try_compile "$LINENO"; then :
54189   glibcxx_cv_func_isnan_use=yes
54190 else
54191   glibcxx_cv_func_isnan_use=no
54192 fi
54193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54194       ac_ext=c
54195 ac_cpp='$CPP $CPPFLAGS'
54196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54199
54200
54201 fi
54202
54203   fi
54204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54205 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54206
54207   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54208     for ac_func in isnan
54209 do :
54210   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54211 if test "x$ac_cv_func_isnan" = x""yes; then :
54212   cat >>confdefs.h <<_ACEOF
54213 #define HAVE_ISNAN 1
54214 _ACEOF
54215
54216 fi
54217 done
54218
54219   else
54220
54221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54222 $as_echo_n "checking for _isnan declaration... " >&6; }
54223   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54224     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54225   $as_echo_n "(cached) " >&6
54226 else
54227
54228
54229       ac_ext=cpp
54230 ac_cpp='$CXXCPP $CPPFLAGS'
54231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54234
54235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54236 /* end confdefs.h.  */
54237 #include <math.h>
54238                       #ifdef HAVE_IEEEFP_H
54239                       #include <ieeefp.h>
54240                       #endif
54241
54242 int
54243 main ()
54244 {
54245  _isnan(0);
54246   ;
54247   return 0;
54248 }
54249 _ACEOF
54250 if ac_fn_cxx_try_compile "$LINENO"; then :
54251   glibcxx_cv_func__isnan_use=yes
54252 else
54253   glibcxx_cv_func__isnan_use=no
54254 fi
54255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54256       ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54261
54262
54263 fi
54264
54265   fi
54266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54267 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54268
54269     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54270       for ac_func in _isnan
54271 do :
54272   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54273 if test "x$ac_cv_func__isnan" = x""yes; then :
54274   cat >>confdefs.h <<_ACEOF
54275 #define HAVE__ISNAN 1
54276 _ACEOF
54277
54278 fi
54279 done
54280
54281     fi
54282   fi
54283
54284
54285
54286
54287
54288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54289 $as_echo_n "checking for finite declaration... " >&6; }
54290   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54291     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54292   $as_echo_n "(cached) " >&6
54293 else
54294
54295
54296       ac_ext=cpp
54297 ac_cpp='$CXXCPP $CPPFLAGS'
54298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54301
54302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54303 /* end confdefs.h.  */
54304 #include <math.h>
54305                       #ifdef HAVE_IEEEFP_H
54306                       #include <ieeefp.h>
54307                       #endif
54308
54309 int
54310 main ()
54311 {
54312  finite(0);
54313   ;
54314   return 0;
54315 }
54316 _ACEOF
54317 if ac_fn_cxx_try_compile "$LINENO"; then :
54318   glibcxx_cv_func_finite_use=yes
54319 else
54320   glibcxx_cv_func_finite_use=no
54321 fi
54322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54323       ac_ext=c
54324 ac_cpp='$CPP $CPPFLAGS'
54325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54328
54329
54330 fi
54331
54332   fi
54333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54334 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54335
54336   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54337     for ac_func in finite
54338 do :
54339   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54340 if test "x$ac_cv_func_finite" = x""yes; then :
54341   cat >>confdefs.h <<_ACEOF
54342 #define HAVE_FINITE 1
54343 _ACEOF
54344
54345 fi
54346 done
54347
54348   else
54349
54350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54351 $as_echo_n "checking for _finite declaration... " >&6; }
54352   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54353     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54354   $as_echo_n "(cached) " >&6
54355 else
54356
54357
54358       ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54363
54364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h.  */
54366 #include <math.h>
54367                       #ifdef HAVE_IEEEFP_H
54368                       #include <ieeefp.h>
54369                       #endif
54370
54371 int
54372 main ()
54373 {
54374  _finite(0);
54375   ;
54376   return 0;
54377 }
54378 _ACEOF
54379 if ac_fn_cxx_try_compile "$LINENO"; then :
54380   glibcxx_cv_func__finite_use=yes
54381 else
54382   glibcxx_cv_func__finite_use=no
54383 fi
54384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54385       ac_ext=c
54386 ac_cpp='$CPP $CPPFLAGS'
54387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54390
54391
54392 fi
54393
54394   fi
54395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54396 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54397
54398     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54399       for ac_func in _finite
54400 do :
54401   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54402 if test "x$ac_cv_func__finite" = x""yes; then :
54403   cat >>confdefs.h <<_ACEOF
54404 #define HAVE__FINITE 1
54405 _ACEOF
54406
54407 fi
54408 done
54409
54410     fi
54411   fi
54412
54413
54414
54415
54416
54417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54418 $as_echo_n "checking for sincos declaration... " >&6; }
54419   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54420     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54421   $as_echo_n "(cached) " >&6
54422 else
54423
54424
54425       ac_ext=cpp
54426 ac_cpp='$CXXCPP $CPPFLAGS'
54427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54430
54431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54432 /* end confdefs.h.  */
54433 #include <math.h>
54434 int
54435 main ()
54436 {
54437  sincos(0, 0, 0);
54438   ;
54439   return 0;
54440 }
54441 _ACEOF
54442 if ac_fn_cxx_try_compile "$LINENO"; then :
54443   glibcxx_cv_func_sincos_use=yes
54444 else
54445   glibcxx_cv_func_sincos_use=no
54446 fi
54447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54448       ac_ext=c
54449 ac_cpp='$CPP $CPPFLAGS'
54450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453
54454
54455 fi
54456
54457   fi
54458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54459 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54460
54461   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54462     for ac_func in sincos
54463 do :
54464   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54465 if test "x$ac_cv_func_sincos" = x""yes; then :
54466   cat >>confdefs.h <<_ACEOF
54467 #define HAVE_SINCOS 1
54468 _ACEOF
54469
54470 fi
54471 done
54472
54473   else
54474
54475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54476 $as_echo_n "checking for _sincos declaration... " >&6; }
54477   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54478     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54479   $as_echo_n "(cached) " >&6
54480 else
54481
54482
54483       ac_ext=cpp
54484 ac_cpp='$CXXCPP $CPPFLAGS'
54485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54488
54489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54490 /* end confdefs.h.  */
54491 #include <math.h>
54492 int
54493 main ()
54494 {
54495  _sincos(0, 0, 0);
54496   ;
54497   return 0;
54498 }
54499 _ACEOF
54500 if ac_fn_cxx_try_compile "$LINENO"; then :
54501   glibcxx_cv_func__sincos_use=yes
54502 else
54503   glibcxx_cv_func__sincos_use=no
54504 fi
54505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54506       ac_ext=c
54507 ac_cpp='$CPP $CPPFLAGS'
54508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54511
54512
54513 fi
54514
54515   fi
54516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54517 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54518
54519     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54520       for ac_func in _sincos
54521 do :
54522   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54523 if test "x$ac_cv_func__sincos" = x""yes; then :
54524   cat >>confdefs.h <<_ACEOF
54525 #define HAVE__SINCOS 1
54526 _ACEOF
54527
54528 fi
54529 done
54530
54531     fi
54532   fi
54533
54534
54535
54536
54537
54538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54539 $as_echo_n "checking for fpclass declaration... " >&6; }
54540   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54541     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54542   $as_echo_n "(cached) " >&6
54543 else
54544
54545
54546       ac_ext=cpp
54547 ac_cpp='$CXXCPP $CPPFLAGS'
54548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54551
54552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54553 /* end confdefs.h.  */
54554 #include <math.h>
54555                       #ifdef HAVE_IEEEFP_H
54556                       #include <ieeefp.h>
54557                       #endif
54558
54559 int
54560 main ()
54561 {
54562  fpclass(0);
54563   ;
54564   return 0;
54565 }
54566 _ACEOF
54567 if ac_fn_cxx_try_compile "$LINENO"; then :
54568   glibcxx_cv_func_fpclass_use=yes
54569 else
54570   glibcxx_cv_func_fpclass_use=no
54571 fi
54572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54573       ac_ext=c
54574 ac_cpp='$CPP $CPPFLAGS'
54575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578
54579
54580 fi
54581
54582   fi
54583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54584 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54585
54586   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54587     for ac_func in fpclass
54588 do :
54589   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54590 if test "x$ac_cv_func_fpclass" = x""yes; then :
54591   cat >>confdefs.h <<_ACEOF
54592 #define HAVE_FPCLASS 1
54593 _ACEOF
54594
54595 fi
54596 done
54597
54598   else
54599
54600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54601 $as_echo_n "checking for _fpclass declaration... " >&6; }
54602   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54603     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54604   $as_echo_n "(cached) " >&6
54605 else
54606
54607
54608       ac_ext=cpp
54609 ac_cpp='$CXXCPP $CPPFLAGS'
54610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613
54614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54615 /* end confdefs.h.  */
54616 #include <math.h>
54617                       #ifdef HAVE_IEEEFP_H
54618                       #include <ieeefp.h>
54619                       #endif
54620
54621 int
54622 main ()
54623 {
54624  _fpclass(0);
54625   ;
54626   return 0;
54627 }
54628 _ACEOF
54629 if ac_fn_cxx_try_compile "$LINENO"; then :
54630   glibcxx_cv_func__fpclass_use=yes
54631 else
54632   glibcxx_cv_func__fpclass_use=no
54633 fi
54634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54635       ac_ext=c
54636 ac_cpp='$CPP $CPPFLAGS'
54637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54640
54641
54642 fi
54643
54644   fi
54645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54646 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54647
54648     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54649       for ac_func in _fpclass
54650 do :
54651   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54652 if test "x$ac_cv_func__fpclass" = x""yes; then :
54653   cat >>confdefs.h <<_ACEOF
54654 #define HAVE__FPCLASS 1
54655 _ACEOF
54656
54657 fi
54658 done
54659
54660     fi
54661   fi
54662
54663
54664
54665
54666
54667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54668 $as_echo_n "checking for qfpclass declaration... " >&6; }
54669   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54670     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54671   $as_echo_n "(cached) " >&6
54672 else
54673
54674
54675       ac_ext=cpp
54676 ac_cpp='$CXXCPP $CPPFLAGS'
54677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54680
54681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54682 /* end confdefs.h.  */
54683 #include <math.h>
54684                       #ifdef HAVE_IEEEFP_H
54685                       #include <ieeefp.h>
54686                       #endif
54687
54688 int
54689 main ()
54690 {
54691  qfpclass(0);
54692   ;
54693   return 0;
54694 }
54695 _ACEOF
54696 if ac_fn_cxx_try_compile "$LINENO"; then :
54697   glibcxx_cv_func_qfpclass_use=yes
54698 else
54699   glibcxx_cv_func_qfpclass_use=no
54700 fi
54701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54702       ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54707
54708
54709 fi
54710
54711   fi
54712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54713 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54714
54715   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54716     for ac_func in qfpclass
54717 do :
54718   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54719 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54720   cat >>confdefs.h <<_ACEOF
54721 #define HAVE_QFPCLASS 1
54722 _ACEOF
54723
54724 fi
54725 done
54726
54727   else
54728
54729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54730 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54731   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54732     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54733   $as_echo_n "(cached) " >&6
54734 else
54735
54736
54737       ac_ext=cpp
54738 ac_cpp='$CXXCPP $CPPFLAGS'
54739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54742
54743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54744 /* end confdefs.h.  */
54745 #include <math.h>
54746                       #ifdef HAVE_IEEEFP_H
54747                       #include <ieeefp.h>
54748                       #endif
54749
54750 int
54751 main ()
54752 {
54753  _qfpclass(0);
54754   ;
54755   return 0;
54756 }
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759   glibcxx_cv_func__qfpclass_use=yes
54760 else
54761   glibcxx_cv_func__qfpclass_use=no
54762 fi
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764       ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769
54770
54771 fi
54772
54773   fi
54774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54775 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54776
54777     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54778       for ac_func in _qfpclass
54779 do :
54780   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54781 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54782   cat >>confdefs.h <<_ACEOF
54783 #define HAVE__QFPCLASS 1
54784 _ACEOF
54785
54786 fi
54787 done
54788
54789     fi
54790   fi
54791
54792
54793
54794
54795
54796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54797 $as_echo_n "checking for hypot declaration... " >&6; }
54798   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54799     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54800   $as_echo_n "(cached) " >&6
54801 else
54802
54803
54804       ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54809
54810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h.  */
54812 #include <math.h>
54813 int
54814 main ()
54815 {
54816  hypot(0, 0);
54817   ;
54818   return 0;
54819 }
54820 _ACEOF
54821 if ac_fn_cxx_try_compile "$LINENO"; then :
54822   glibcxx_cv_func_hypot_use=yes
54823 else
54824   glibcxx_cv_func_hypot_use=no
54825 fi
54826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54827       ac_ext=c
54828 ac_cpp='$CPP $CPPFLAGS'
54829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54832
54833
54834 fi
54835
54836   fi
54837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54838 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54839
54840   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54841     for ac_func in hypot
54842 do :
54843   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54844 if test "x$ac_cv_func_hypot" = x""yes; then :
54845   cat >>confdefs.h <<_ACEOF
54846 #define HAVE_HYPOT 1
54847 _ACEOF
54848
54849 fi
54850 done
54851
54852   else
54853
54854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54855 $as_echo_n "checking for _hypot declaration... " >&6; }
54856   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54857     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54858   $as_echo_n "(cached) " >&6
54859 else
54860
54861
54862       ac_ext=cpp
54863 ac_cpp='$CXXCPP $CPPFLAGS'
54864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54867
54868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54869 /* end confdefs.h.  */
54870 #include <math.h>
54871 int
54872 main ()
54873 {
54874  _hypot(0, 0);
54875   ;
54876   return 0;
54877 }
54878 _ACEOF
54879 if ac_fn_cxx_try_compile "$LINENO"; then :
54880   glibcxx_cv_func__hypot_use=yes
54881 else
54882   glibcxx_cv_func__hypot_use=no
54883 fi
54884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54885       ac_ext=c
54886 ac_cpp='$CPP $CPPFLAGS'
54887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54890
54891
54892 fi
54893
54894   fi
54895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54896 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54897
54898     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54899       for ac_func in _hypot
54900 do :
54901   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54902 if test "x$ac_cv_func__hypot" = x""yes; then :
54903   cat >>confdefs.h <<_ACEOF
54904 #define HAVE__HYPOT 1
54905 _ACEOF
54906
54907 fi
54908 done
54909
54910     fi
54911   fi
54912
54913
54914
54915
54916
54917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54918 $as_echo_n "checking for float trig functions... " >&6; }
54919   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54920   $as_echo_n "(cached) " >&6
54921 else
54922
54923
54924     ac_ext=cpp
54925 ac_cpp='$CXXCPP $CPPFLAGS'
54926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54929
54930     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54931 /* end confdefs.h.  */
54932 #include <math.h>
54933 int
54934 main ()
54935 {
54936 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54937   ;
54938   return 0;
54939 }
54940 _ACEOF
54941 if ac_fn_cxx_try_compile "$LINENO"; then :
54942   glibcxx_cv_func_float_trig_use=yes
54943 else
54944   glibcxx_cv_func_float_trig_use=no
54945 fi
54946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54947     ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54952
54953 fi
54954
54955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54956 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54957   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54958     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54959 do :
54960   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54962 eval as_val=\$$as_ac_var
54963    if test "x$as_val" = x""yes; then :
54964   cat >>confdefs.h <<_ACEOF
54965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54966 _ACEOF
54967
54968 fi
54969 done
54970
54971   else
54972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54973 $as_echo_n "checking for _float trig functions... " >&6; }
54974     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54975   $as_echo_n "(cached) " >&6
54976 else
54977
54978
54979       ac_ext=cpp
54980 ac_cpp='$CXXCPP $CPPFLAGS'
54981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54984
54985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54986 /* end confdefs.h.  */
54987 #include <math.h>
54988 int
54989 main ()
54990 {
54991 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54992   ;
54993   return 0;
54994 }
54995 _ACEOF
54996 if ac_fn_cxx_try_compile "$LINENO"; then :
54997   glibcxx_cv_func__float_trig_use=yes
54998 else
54999   glibcxx_cv_func__float_trig_use=no
55000 fi
55001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55002       ac_ext=c
55003 ac_cpp='$CPP $CPPFLAGS'
55004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55007
55008 fi
55009
55010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55011 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55012     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55013       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55014 do :
55015   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55017 eval as_val=\$$as_ac_var
55018    if test "x$as_val" = x""yes; then :
55019   cat >>confdefs.h <<_ACEOF
55020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55021 _ACEOF
55022
55023 fi
55024 done
55025
55026     fi
55027   fi
55028
55029
55030
55031
55032
55033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55034 $as_echo_n "checking for float round functions... " >&6; }
55035   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55036   $as_echo_n "(cached) " >&6
55037 else
55038
55039
55040     ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55045
55046     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h.  */
55048 #include <math.h>
55049 int
55050 main ()
55051 {
55052 ceilf (0); floorf (0);
55053   ;
55054   return 0;
55055 }
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058   glibcxx_cv_func_float_round_use=yes
55059 else
55060   glibcxx_cv_func_float_round_use=no
55061 fi
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063     ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55068
55069 fi
55070
55071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55072 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55073   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55074     for ac_func in ceilf floorf
55075 do :
55076   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55078 eval as_val=\$$as_ac_var
55079    if test "x$as_val" = x""yes; then :
55080   cat >>confdefs.h <<_ACEOF
55081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55082 _ACEOF
55083
55084 fi
55085 done
55086
55087   else
55088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55089 $as_echo_n "checking for _float round functions... " >&6; }
55090     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55091   $as_echo_n "(cached) " >&6
55092 else
55093
55094
55095       ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55100
55101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h.  */
55103 #include <math.h>
55104 int
55105 main ()
55106 {
55107 _ceilf (0); _floorf (0);
55108   ;
55109   return 0;
55110 }
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113   glibcxx_cv_func__float_round_use=yes
55114 else
55115   glibcxx_cv_func__float_round_use=no
55116 fi
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118       ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55123
55124 fi
55125
55126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55127 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55128     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55129       for ac_func in _ceilf _floorf
55130 do :
55131   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55133 eval as_val=\$$as_ac_var
55134    if test "x$as_val" = x""yes; then :
55135   cat >>confdefs.h <<_ACEOF
55136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55137 _ACEOF
55138
55139 fi
55140 done
55141
55142     fi
55143   fi
55144
55145
55146
55147
55148
55149
55150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55151 $as_echo_n "checking for expf declaration... " >&6; }
55152   if test x${glibcxx_cv_func_expf_use+set} != xset; then
55153     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55154   $as_echo_n "(cached) " >&6
55155 else
55156
55157
55158       ac_ext=cpp
55159 ac_cpp='$CXXCPP $CPPFLAGS'
55160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55163
55164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55165 /* end confdefs.h.  */
55166 #include <math.h>
55167                       #ifdef HAVE_IEEEFP_H
55168                       #include <ieeefp.h>
55169                       #endif
55170
55171 int
55172 main ()
55173 {
55174  expf(0);
55175   ;
55176   return 0;
55177 }
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180   glibcxx_cv_func_expf_use=yes
55181 else
55182   glibcxx_cv_func_expf_use=no
55183 fi
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185       ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190
55191
55192 fi
55193
55194   fi
55195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55196 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55197
55198   if test x$glibcxx_cv_func_expf_use = x"yes"; then
55199     for ac_func in expf
55200 do :
55201   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55202 if test "x$ac_cv_func_expf" = x""yes; then :
55203   cat >>confdefs.h <<_ACEOF
55204 #define HAVE_EXPF 1
55205 _ACEOF
55206
55207 fi
55208 done
55209
55210   else
55211
55212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55213 $as_echo_n "checking for _expf declaration... " >&6; }
55214   if test x${glibcxx_cv_func__expf_use+set} != xset; then
55215     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55216   $as_echo_n "(cached) " >&6
55217 else
55218
55219
55220       ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225
55226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h.  */
55228 #include <math.h>
55229                       #ifdef HAVE_IEEEFP_H
55230                       #include <ieeefp.h>
55231                       #endif
55232
55233 int
55234 main ()
55235 {
55236  _expf(0);
55237   ;
55238   return 0;
55239 }
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242   glibcxx_cv_func__expf_use=yes
55243 else
55244   glibcxx_cv_func__expf_use=no
55245 fi
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247       ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252
55253
55254 fi
55255
55256   fi
55257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55258 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55259
55260     if test x$glibcxx_cv_func__expf_use = x"yes"; then
55261       for ac_func in _expf
55262 do :
55263   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55264 if test "x$ac_cv_func__expf" = x""yes; then :
55265   cat >>confdefs.h <<_ACEOF
55266 #define HAVE__EXPF 1
55267 _ACEOF
55268
55269 fi
55270 done
55271
55272     fi
55273   fi
55274
55275
55276
55277
55278
55279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55280 $as_echo_n "checking for isnanf declaration... " >&6; }
55281   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55282     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55283   $as_echo_n "(cached) " >&6
55284 else
55285
55286
55287       ac_ext=cpp
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55292
55293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55294 /* end confdefs.h.  */
55295 #include <math.h>
55296                       #ifdef HAVE_IEEEFP_H
55297                       #include <ieeefp.h>
55298                       #endif
55299
55300 int
55301 main ()
55302 {
55303  isnanf(0);
55304   ;
55305   return 0;
55306 }
55307 _ACEOF
55308 if ac_fn_cxx_try_compile "$LINENO"; then :
55309   glibcxx_cv_func_isnanf_use=yes
55310 else
55311   glibcxx_cv_func_isnanf_use=no
55312 fi
55313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55314       ac_ext=c
55315 ac_cpp='$CPP $CPPFLAGS'
55316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319
55320
55321 fi
55322
55323   fi
55324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55325 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55326
55327   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55328     for ac_func in isnanf
55329 do :
55330   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55331 if test "x$ac_cv_func_isnanf" = x""yes; then :
55332   cat >>confdefs.h <<_ACEOF
55333 #define HAVE_ISNANF 1
55334 _ACEOF
55335
55336 fi
55337 done
55338
55339   else
55340
55341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55342 $as_echo_n "checking for _isnanf declaration... " >&6; }
55343   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55344     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55345   $as_echo_n "(cached) " >&6
55346 else
55347
55348
55349       ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55354
55355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h.  */
55357 #include <math.h>
55358                       #ifdef HAVE_IEEEFP_H
55359                       #include <ieeefp.h>
55360                       #endif
55361
55362 int
55363 main ()
55364 {
55365  _isnanf(0);
55366   ;
55367   return 0;
55368 }
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371   glibcxx_cv_func__isnanf_use=yes
55372 else
55373   glibcxx_cv_func__isnanf_use=no
55374 fi
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376       ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381
55382
55383 fi
55384
55385   fi
55386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55387 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55388
55389     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55390       for ac_func in _isnanf
55391 do :
55392   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55393 if test "x$ac_cv_func__isnanf" = x""yes; then :
55394   cat >>confdefs.h <<_ACEOF
55395 #define HAVE__ISNANF 1
55396 _ACEOF
55397
55398 fi
55399 done
55400
55401     fi
55402   fi
55403
55404
55405
55406
55407
55408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55409 $as_echo_n "checking for isinff declaration... " >&6; }
55410   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55411     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55412   $as_echo_n "(cached) " >&6
55413 else
55414
55415
55416       ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55421
55422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h.  */
55424 #include <math.h>
55425                       #ifdef HAVE_IEEEFP_H
55426                       #include <ieeefp.h>
55427                       #endif
55428
55429 int
55430 main ()
55431 {
55432  isinff(0);
55433   ;
55434   return 0;
55435 }
55436 _ACEOF
55437 if ac_fn_cxx_try_compile "$LINENO"; then :
55438   glibcxx_cv_func_isinff_use=yes
55439 else
55440   glibcxx_cv_func_isinff_use=no
55441 fi
55442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55443       ac_ext=c
55444 ac_cpp='$CPP $CPPFLAGS'
55445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55448
55449
55450 fi
55451
55452   fi
55453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55454 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55455
55456   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55457     for ac_func in isinff
55458 do :
55459   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55460 if test "x$ac_cv_func_isinff" = x""yes; then :
55461   cat >>confdefs.h <<_ACEOF
55462 #define HAVE_ISINFF 1
55463 _ACEOF
55464
55465 fi
55466 done
55467
55468   else
55469
55470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55471 $as_echo_n "checking for _isinff declaration... " >&6; }
55472   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55473     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55474   $as_echo_n "(cached) " >&6
55475 else
55476
55477
55478       ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55483
55484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h.  */
55486 #include <math.h>
55487                       #ifdef HAVE_IEEEFP_H
55488                       #include <ieeefp.h>
55489                       #endif
55490
55491 int
55492 main ()
55493 {
55494  _isinff(0);
55495   ;
55496   return 0;
55497 }
55498 _ACEOF
55499 if ac_fn_cxx_try_compile "$LINENO"; then :
55500   glibcxx_cv_func__isinff_use=yes
55501 else
55502   glibcxx_cv_func__isinff_use=no
55503 fi
55504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55505       ac_ext=c
55506 ac_cpp='$CPP $CPPFLAGS'
55507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55510
55511
55512 fi
55513
55514   fi
55515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55516 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55517
55518     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55519       for ac_func in _isinff
55520 do :
55521   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55522 if test "x$ac_cv_func__isinff" = x""yes; then :
55523   cat >>confdefs.h <<_ACEOF
55524 #define HAVE__ISINFF 1
55525 _ACEOF
55526
55527 fi
55528 done
55529
55530     fi
55531   fi
55532
55533
55534
55535
55536
55537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55538 $as_echo_n "checking for atan2f declaration... " >&6; }
55539   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55540     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55541   $as_echo_n "(cached) " >&6
55542 else
55543
55544
55545       ac_ext=cpp
55546 ac_cpp='$CXXCPP $CPPFLAGS'
55547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55550
55551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55552 /* end confdefs.h.  */
55553 #include <math.h>
55554 int
55555 main ()
55556 {
55557  atan2f(0, 0);
55558   ;
55559   return 0;
55560 }
55561 _ACEOF
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563   glibcxx_cv_func_atan2f_use=yes
55564 else
55565   glibcxx_cv_func_atan2f_use=no
55566 fi
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568       ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55573
55574
55575 fi
55576
55577   fi
55578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55579 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55580
55581   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55582     for ac_func in atan2f
55583 do :
55584   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55585 if test "x$ac_cv_func_atan2f" = x""yes; then :
55586   cat >>confdefs.h <<_ACEOF
55587 #define HAVE_ATAN2F 1
55588 _ACEOF
55589
55590 fi
55591 done
55592
55593   else
55594
55595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55596 $as_echo_n "checking for _atan2f declaration... " >&6; }
55597   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55598     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55599   $as_echo_n "(cached) " >&6
55600 else
55601
55602
55603       ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55608
55609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h.  */
55611 #include <math.h>
55612 int
55613 main ()
55614 {
55615  _atan2f(0, 0);
55616   ;
55617   return 0;
55618 }
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621   glibcxx_cv_func__atan2f_use=yes
55622 else
55623   glibcxx_cv_func__atan2f_use=no
55624 fi
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626       ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55631
55632
55633 fi
55634
55635   fi
55636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55637 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55638
55639     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55640       for ac_func in _atan2f
55641 do :
55642   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55643 if test "x$ac_cv_func__atan2f" = x""yes; then :
55644   cat >>confdefs.h <<_ACEOF
55645 #define HAVE__ATAN2F 1
55646 _ACEOF
55647
55648 fi
55649 done
55650
55651     fi
55652   fi
55653
55654
55655
55656
55657
55658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55659 $as_echo_n "checking for fabsf declaration... " >&6; }
55660   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55661     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55662   $as_echo_n "(cached) " >&6
55663 else
55664
55665
55666       ac_ext=cpp
55667 ac_cpp='$CXXCPP $CPPFLAGS'
55668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55671
55672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55673 /* end confdefs.h.  */
55674 #include <math.h>
55675                       #ifdef HAVE_IEEEFP_H
55676                       #include <ieeefp.h>
55677                       #endif
55678
55679 int
55680 main ()
55681 {
55682  fabsf(0);
55683   ;
55684   return 0;
55685 }
55686 _ACEOF
55687 if ac_fn_cxx_try_compile "$LINENO"; then :
55688   glibcxx_cv_func_fabsf_use=yes
55689 else
55690   glibcxx_cv_func_fabsf_use=no
55691 fi
55692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55693       ac_ext=c
55694 ac_cpp='$CPP $CPPFLAGS'
55695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55698
55699
55700 fi
55701
55702   fi
55703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55704 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55705
55706   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55707     for ac_func in fabsf
55708 do :
55709   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55710 if test "x$ac_cv_func_fabsf" = x""yes; then :
55711   cat >>confdefs.h <<_ACEOF
55712 #define HAVE_FABSF 1
55713 _ACEOF
55714
55715 fi
55716 done
55717
55718   else
55719
55720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55721 $as_echo_n "checking for _fabsf declaration... " >&6; }
55722   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55723     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55724   $as_echo_n "(cached) " >&6
55725 else
55726
55727
55728       ac_ext=cpp
55729 ac_cpp='$CXXCPP $CPPFLAGS'
55730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55733
55734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55735 /* end confdefs.h.  */
55736 #include <math.h>
55737                       #ifdef HAVE_IEEEFP_H
55738                       #include <ieeefp.h>
55739                       #endif
55740
55741 int
55742 main ()
55743 {
55744  _fabsf(0);
55745   ;
55746   return 0;
55747 }
55748 _ACEOF
55749 if ac_fn_cxx_try_compile "$LINENO"; then :
55750   glibcxx_cv_func__fabsf_use=yes
55751 else
55752   glibcxx_cv_func__fabsf_use=no
55753 fi
55754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55755       ac_ext=c
55756 ac_cpp='$CPP $CPPFLAGS'
55757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55760
55761
55762 fi
55763
55764   fi
55765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55766 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55767
55768     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55769       for ac_func in _fabsf
55770 do :
55771   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55772 if test "x$ac_cv_func__fabsf" = x""yes; then :
55773   cat >>confdefs.h <<_ACEOF
55774 #define HAVE__FABSF 1
55775 _ACEOF
55776
55777 fi
55778 done
55779
55780     fi
55781   fi
55782
55783
55784
55785
55786
55787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55788 $as_echo_n "checking for fmodf declaration... " >&6; }
55789   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55790     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55791   $as_echo_n "(cached) " >&6
55792 else
55793
55794
55795       ac_ext=cpp
55796 ac_cpp='$CXXCPP $CPPFLAGS'
55797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800
55801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55802 /* end confdefs.h.  */
55803 #include <math.h>
55804 int
55805 main ()
55806 {
55807  fmodf(0, 0);
55808   ;
55809   return 0;
55810 }
55811 _ACEOF
55812 if ac_fn_cxx_try_compile "$LINENO"; then :
55813   glibcxx_cv_func_fmodf_use=yes
55814 else
55815   glibcxx_cv_func_fmodf_use=no
55816 fi
55817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55818       ac_ext=c
55819 ac_cpp='$CPP $CPPFLAGS'
55820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55823
55824
55825 fi
55826
55827   fi
55828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55829 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55830
55831   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55832     for ac_func in fmodf
55833 do :
55834   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55835 if test "x$ac_cv_func_fmodf" = x""yes; then :
55836   cat >>confdefs.h <<_ACEOF
55837 #define HAVE_FMODF 1
55838 _ACEOF
55839
55840 fi
55841 done
55842
55843   else
55844
55845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55846 $as_echo_n "checking for _fmodf declaration... " >&6; }
55847   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55848     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55849   $as_echo_n "(cached) " >&6
55850 else
55851
55852
55853       ac_ext=cpp
55854 ac_cpp='$CXXCPP $CPPFLAGS'
55855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55858
55859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55860 /* end confdefs.h.  */
55861 #include <math.h>
55862 int
55863 main ()
55864 {
55865  _fmodf(0, 0);
55866   ;
55867   return 0;
55868 }
55869 _ACEOF
55870 if ac_fn_cxx_try_compile "$LINENO"; then :
55871   glibcxx_cv_func__fmodf_use=yes
55872 else
55873   glibcxx_cv_func__fmodf_use=no
55874 fi
55875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55876       ac_ext=c
55877 ac_cpp='$CPP $CPPFLAGS'
55878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55881
55882
55883 fi
55884
55885   fi
55886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55887 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55888
55889     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55890       for ac_func in _fmodf
55891 do :
55892   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55893 if test "x$ac_cv_func__fmodf" = x""yes; then :
55894   cat >>confdefs.h <<_ACEOF
55895 #define HAVE__FMODF 1
55896 _ACEOF
55897
55898 fi
55899 done
55900
55901     fi
55902   fi
55903
55904
55905
55906
55907
55908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55909 $as_echo_n "checking for frexpf declaration... " >&6; }
55910   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55911     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55912   $as_echo_n "(cached) " >&6
55913 else
55914
55915
55916       ac_ext=cpp
55917 ac_cpp='$CXXCPP $CPPFLAGS'
55918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55921
55922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55923 /* end confdefs.h.  */
55924 #include <math.h>
55925 int
55926 main ()
55927 {
55928  frexpf(0, 0);
55929   ;
55930   return 0;
55931 }
55932 _ACEOF
55933 if ac_fn_cxx_try_compile "$LINENO"; then :
55934   glibcxx_cv_func_frexpf_use=yes
55935 else
55936   glibcxx_cv_func_frexpf_use=no
55937 fi
55938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55939       ac_ext=c
55940 ac_cpp='$CPP $CPPFLAGS'
55941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55944
55945
55946 fi
55947
55948   fi
55949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55950 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55951
55952   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55953     for ac_func in frexpf
55954 do :
55955   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55956 if test "x$ac_cv_func_frexpf" = x""yes; then :
55957   cat >>confdefs.h <<_ACEOF
55958 #define HAVE_FREXPF 1
55959 _ACEOF
55960
55961 fi
55962 done
55963
55964   else
55965
55966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55967 $as_echo_n "checking for _frexpf declaration... " >&6; }
55968   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55969     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55970   $as_echo_n "(cached) " >&6
55971 else
55972
55973
55974       ac_ext=cpp
55975 ac_cpp='$CXXCPP $CPPFLAGS'
55976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55979
55980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55981 /* end confdefs.h.  */
55982 #include <math.h>
55983 int
55984 main ()
55985 {
55986  _frexpf(0, 0);
55987   ;
55988   return 0;
55989 }
55990 _ACEOF
55991 if ac_fn_cxx_try_compile "$LINENO"; then :
55992   glibcxx_cv_func__frexpf_use=yes
55993 else
55994   glibcxx_cv_func__frexpf_use=no
55995 fi
55996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55997       ac_ext=c
55998 ac_cpp='$CPP $CPPFLAGS'
55999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002
56003
56004 fi
56005
56006   fi
56007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56008 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56009
56010     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56011       for ac_func in _frexpf
56012 do :
56013   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56014 if test "x$ac_cv_func__frexpf" = x""yes; then :
56015   cat >>confdefs.h <<_ACEOF
56016 #define HAVE__FREXPF 1
56017 _ACEOF
56018
56019 fi
56020 done
56021
56022     fi
56023   fi
56024
56025
56026
56027
56028
56029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56030 $as_echo_n "checking for hypotf declaration... " >&6; }
56031   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56032     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56033   $as_echo_n "(cached) " >&6
56034 else
56035
56036
56037       ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56042
56043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h.  */
56045 #include <math.h>
56046 int
56047 main ()
56048 {
56049  hypotf(0, 0);
56050   ;
56051   return 0;
56052 }
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055   glibcxx_cv_func_hypotf_use=yes
56056 else
56057   glibcxx_cv_func_hypotf_use=no
56058 fi
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060       ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065
56066
56067 fi
56068
56069   fi
56070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56071 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56072
56073   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56074     for ac_func in hypotf
56075 do :
56076   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56077 if test "x$ac_cv_func_hypotf" = x""yes; then :
56078   cat >>confdefs.h <<_ACEOF
56079 #define HAVE_HYPOTF 1
56080 _ACEOF
56081
56082 fi
56083 done
56084
56085   else
56086
56087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56088 $as_echo_n "checking for _hypotf declaration... " >&6; }
56089   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56090     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56091   $as_echo_n "(cached) " >&6
56092 else
56093
56094
56095       ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56100
56101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h.  */
56103 #include <math.h>
56104 int
56105 main ()
56106 {
56107  _hypotf(0, 0);
56108   ;
56109   return 0;
56110 }
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113   glibcxx_cv_func__hypotf_use=yes
56114 else
56115   glibcxx_cv_func__hypotf_use=no
56116 fi
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118       ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123
56124
56125 fi
56126
56127   fi
56128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56129 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56130
56131     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56132       for ac_func in _hypotf
56133 do :
56134   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56135 if test "x$ac_cv_func__hypotf" = x""yes; then :
56136   cat >>confdefs.h <<_ACEOF
56137 #define HAVE__HYPOTF 1
56138 _ACEOF
56139
56140 fi
56141 done
56142
56143     fi
56144   fi
56145
56146
56147
56148
56149
56150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56151 $as_echo_n "checking for ldexpf declaration... " >&6; }
56152   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56153     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56154   $as_echo_n "(cached) " >&6
56155 else
56156
56157
56158       ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56163
56164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h.  */
56166 #include <math.h>
56167 int
56168 main ()
56169 {
56170  ldexpf(0, 0);
56171   ;
56172   return 0;
56173 }
56174 _ACEOF
56175 if ac_fn_cxx_try_compile "$LINENO"; then :
56176   glibcxx_cv_func_ldexpf_use=yes
56177 else
56178   glibcxx_cv_func_ldexpf_use=no
56179 fi
56180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56181       ac_ext=c
56182 ac_cpp='$CPP $CPPFLAGS'
56183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186
56187
56188 fi
56189
56190   fi
56191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56192 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56193
56194   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56195     for ac_func in ldexpf
56196 do :
56197   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56198 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56199   cat >>confdefs.h <<_ACEOF
56200 #define HAVE_LDEXPF 1
56201 _ACEOF
56202
56203 fi
56204 done
56205
56206   else
56207
56208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56209 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56210   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56211     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56212   $as_echo_n "(cached) " >&6
56213 else
56214
56215
56216       ac_ext=cpp
56217 ac_cpp='$CXXCPP $CPPFLAGS'
56218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56221
56222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56223 /* end confdefs.h.  */
56224 #include <math.h>
56225 int
56226 main ()
56227 {
56228  _ldexpf(0, 0);
56229   ;
56230   return 0;
56231 }
56232 _ACEOF
56233 if ac_fn_cxx_try_compile "$LINENO"; then :
56234   glibcxx_cv_func__ldexpf_use=yes
56235 else
56236   glibcxx_cv_func__ldexpf_use=no
56237 fi
56238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56239       ac_ext=c
56240 ac_cpp='$CPP $CPPFLAGS'
56241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244
56245
56246 fi
56247
56248   fi
56249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56250 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56251
56252     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56253       for ac_func in _ldexpf
56254 do :
56255   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56256 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56257   cat >>confdefs.h <<_ACEOF
56258 #define HAVE__LDEXPF 1
56259 _ACEOF
56260
56261 fi
56262 done
56263
56264     fi
56265   fi
56266
56267
56268
56269
56270
56271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56272 $as_echo_n "checking for logf declaration... " >&6; }
56273   if test x${glibcxx_cv_func_logf_use+set} != xset; then
56274     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56275   $as_echo_n "(cached) " >&6
56276 else
56277
56278
56279       ac_ext=cpp
56280 ac_cpp='$CXXCPP $CPPFLAGS'
56281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56284
56285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56286 /* end confdefs.h.  */
56287 #include <math.h>
56288                       #ifdef HAVE_IEEEFP_H
56289                       #include <ieeefp.h>
56290                       #endif
56291
56292 int
56293 main ()
56294 {
56295  logf(0);
56296   ;
56297   return 0;
56298 }
56299 _ACEOF
56300 if ac_fn_cxx_try_compile "$LINENO"; then :
56301   glibcxx_cv_func_logf_use=yes
56302 else
56303   glibcxx_cv_func_logf_use=no
56304 fi
56305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56306       ac_ext=c
56307 ac_cpp='$CPP $CPPFLAGS'
56308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56311
56312
56313 fi
56314
56315   fi
56316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56317 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56318
56319   if test x$glibcxx_cv_func_logf_use = x"yes"; then
56320     for ac_func in logf
56321 do :
56322   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56323 if test "x$ac_cv_func_logf" = x""yes; then :
56324   cat >>confdefs.h <<_ACEOF
56325 #define HAVE_LOGF 1
56326 _ACEOF
56327
56328 fi
56329 done
56330
56331   else
56332
56333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56334 $as_echo_n "checking for _logf declaration... " >&6; }
56335   if test x${glibcxx_cv_func__logf_use+set} != xset; then
56336     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56337   $as_echo_n "(cached) " >&6
56338 else
56339
56340
56341       ac_ext=cpp
56342 ac_cpp='$CXXCPP $CPPFLAGS'
56343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56346
56347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56348 /* end confdefs.h.  */
56349 #include <math.h>
56350                       #ifdef HAVE_IEEEFP_H
56351                       #include <ieeefp.h>
56352                       #endif
56353
56354 int
56355 main ()
56356 {
56357  _logf(0);
56358   ;
56359   return 0;
56360 }
56361 _ACEOF
56362 if ac_fn_cxx_try_compile "$LINENO"; then :
56363   glibcxx_cv_func__logf_use=yes
56364 else
56365   glibcxx_cv_func__logf_use=no
56366 fi
56367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56368       ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373
56374
56375 fi
56376
56377   fi
56378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56379 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56380
56381     if test x$glibcxx_cv_func__logf_use = x"yes"; then
56382       for ac_func in _logf
56383 do :
56384   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56385 if test "x$ac_cv_func__logf" = x""yes; then :
56386   cat >>confdefs.h <<_ACEOF
56387 #define HAVE__LOGF 1
56388 _ACEOF
56389
56390 fi
56391 done
56392
56393     fi
56394   fi
56395
56396
56397
56398
56399
56400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56401 $as_echo_n "checking for log10f declaration... " >&6; }
56402   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56403     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56404   $as_echo_n "(cached) " >&6
56405 else
56406
56407
56408       ac_ext=cpp
56409 ac_cpp='$CXXCPP $CPPFLAGS'
56410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56413
56414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56415 /* end confdefs.h.  */
56416 #include <math.h>
56417                       #ifdef HAVE_IEEEFP_H
56418                       #include <ieeefp.h>
56419                       #endif
56420
56421 int
56422 main ()
56423 {
56424  log10f(0);
56425   ;
56426   return 0;
56427 }
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430   glibcxx_cv_func_log10f_use=yes
56431 else
56432   glibcxx_cv_func_log10f_use=no
56433 fi
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435       ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56440
56441
56442 fi
56443
56444   fi
56445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56446 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56447
56448   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56449     for ac_func in log10f
56450 do :
56451   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56452 if test "x$ac_cv_func_log10f" = x""yes; then :
56453   cat >>confdefs.h <<_ACEOF
56454 #define HAVE_LOG10F 1
56455 _ACEOF
56456
56457 fi
56458 done
56459
56460   else
56461
56462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56463 $as_echo_n "checking for _log10f declaration... " >&6; }
56464   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56465     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56466   $as_echo_n "(cached) " >&6
56467 else
56468
56469
56470       ac_ext=cpp
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56475
56476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h.  */
56478 #include <math.h>
56479                       #ifdef HAVE_IEEEFP_H
56480                       #include <ieeefp.h>
56481                       #endif
56482
56483 int
56484 main ()
56485 {
56486  _log10f(0);
56487   ;
56488   return 0;
56489 }
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492   glibcxx_cv_func__log10f_use=yes
56493 else
56494   glibcxx_cv_func__log10f_use=no
56495 fi
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497       ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502
56503
56504 fi
56505
56506   fi
56507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56508 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56509
56510     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56511       for ac_func in _log10f
56512 do :
56513   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56514 if test "x$ac_cv_func__log10f" = x""yes; then :
56515   cat >>confdefs.h <<_ACEOF
56516 #define HAVE__LOG10F 1
56517 _ACEOF
56518
56519 fi
56520 done
56521
56522     fi
56523   fi
56524
56525
56526
56527
56528
56529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56530 $as_echo_n "checking for modff declaration... " >&6; }
56531   if test x${glibcxx_cv_func_modff_use+set} != xset; then
56532     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56533   $as_echo_n "(cached) " >&6
56534 else
56535
56536
56537       ac_ext=cpp
56538 ac_cpp='$CXXCPP $CPPFLAGS'
56539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56542
56543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56544 /* end confdefs.h.  */
56545 #include <math.h>
56546 int
56547 main ()
56548 {
56549  modff(0, 0);
56550   ;
56551   return 0;
56552 }
56553 _ACEOF
56554 if ac_fn_cxx_try_compile "$LINENO"; then :
56555   glibcxx_cv_func_modff_use=yes
56556 else
56557   glibcxx_cv_func_modff_use=no
56558 fi
56559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56560       ac_ext=c
56561 ac_cpp='$CPP $CPPFLAGS'
56562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56565
56566
56567 fi
56568
56569   fi
56570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56571 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56572
56573   if test x$glibcxx_cv_func_modff_use = x"yes"; then
56574     for ac_func in modff
56575 do :
56576   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56577 if test "x$ac_cv_func_modff" = x""yes; then :
56578   cat >>confdefs.h <<_ACEOF
56579 #define HAVE_MODFF 1
56580 _ACEOF
56581
56582 fi
56583 done
56584
56585   else
56586
56587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56588 $as_echo_n "checking for _modff declaration... " >&6; }
56589   if test x${glibcxx_cv_func__modff_use+set} != xset; then
56590     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56591   $as_echo_n "(cached) " >&6
56592 else
56593
56594
56595       ac_ext=cpp
56596 ac_cpp='$CXXCPP $CPPFLAGS'
56597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56600
56601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h.  */
56603 #include <math.h>
56604 int
56605 main ()
56606 {
56607  _modff(0, 0);
56608   ;
56609   return 0;
56610 }
56611 _ACEOF
56612 if ac_fn_cxx_try_compile "$LINENO"; then :
56613   glibcxx_cv_func__modff_use=yes
56614 else
56615   glibcxx_cv_func__modff_use=no
56616 fi
56617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56618       ac_ext=c
56619 ac_cpp='$CPP $CPPFLAGS'
56620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623
56624
56625 fi
56626
56627   fi
56628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56629 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56630
56631     if test x$glibcxx_cv_func__modff_use = x"yes"; then
56632       for ac_func in _modff
56633 do :
56634   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56635 if test "x$ac_cv_func__modff" = x""yes; then :
56636   cat >>confdefs.h <<_ACEOF
56637 #define HAVE__MODFF 1
56638 _ACEOF
56639
56640 fi
56641 done
56642
56643     fi
56644   fi
56645
56646
56647
56648
56649
56650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56651 $as_echo_n "checking for modf declaration... " >&6; }
56652   if test x${glibcxx_cv_func_modf_use+set} != xset; then
56653     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56654   $as_echo_n "(cached) " >&6
56655 else
56656
56657
56658       ac_ext=cpp
56659 ac_cpp='$CXXCPP $CPPFLAGS'
56660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56663
56664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56665 /* end confdefs.h.  */
56666 #include <math.h>
56667 int
56668 main ()
56669 {
56670  modf(0, 0);
56671   ;
56672   return 0;
56673 }
56674 _ACEOF
56675 if ac_fn_cxx_try_compile "$LINENO"; then :
56676   glibcxx_cv_func_modf_use=yes
56677 else
56678   glibcxx_cv_func_modf_use=no
56679 fi
56680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56681       ac_ext=c
56682 ac_cpp='$CPP $CPPFLAGS'
56683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56686
56687
56688 fi
56689
56690   fi
56691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56692 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56693
56694   if test x$glibcxx_cv_func_modf_use = x"yes"; then
56695     for ac_func in modf
56696 do :
56697   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56698 if test "x$ac_cv_func_modf" = x""yes; then :
56699   cat >>confdefs.h <<_ACEOF
56700 #define HAVE_MODF 1
56701 _ACEOF
56702
56703 fi
56704 done
56705
56706   else
56707
56708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56709 $as_echo_n "checking for _modf declaration... " >&6; }
56710   if test x${glibcxx_cv_func__modf_use+set} != xset; then
56711     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56712   $as_echo_n "(cached) " >&6
56713 else
56714
56715
56716       ac_ext=cpp
56717 ac_cpp='$CXXCPP $CPPFLAGS'
56718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721
56722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56723 /* end confdefs.h.  */
56724 #include <math.h>
56725 int
56726 main ()
56727 {
56728  _modf(0, 0);
56729   ;
56730   return 0;
56731 }
56732 _ACEOF
56733 if ac_fn_cxx_try_compile "$LINENO"; then :
56734   glibcxx_cv_func__modf_use=yes
56735 else
56736   glibcxx_cv_func__modf_use=no
56737 fi
56738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56739       ac_ext=c
56740 ac_cpp='$CPP $CPPFLAGS'
56741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56744
56745
56746 fi
56747
56748   fi
56749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56750 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56751
56752     if test x$glibcxx_cv_func__modf_use = x"yes"; then
56753       for ac_func in _modf
56754 do :
56755   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56756 if test "x$ac_cv_func__modf" = x""yes; then :
56757   cat >>confdefs.h <<_ACEOF
56758 #define HAVE__MODF 1
56759 _ACEOF
56760
56761 fi
56762 done
56763
56764     fi
56765   fi
56766
56767
56768
56769
56770
56771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56772 $as_echo_n "checking for powf declaration... " >&6; }
56773   if test x${glibcxx_cv_func_powf_use+set} != xset; then
56774     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56775   $as_echo_n "(cached) " >&6
56776 else
56777
56778
56779       ac_ext=cpp
56780 ac_cpp='$CXXCPP $CPPFLAGS'
56781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56784
56785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56786 /* end confdefs.h.  */
56787 #include <math.h>
56788 int
56789 main ()
56790 {
56791  powf(0, 0);
56792   ;
56793   return 0;
56794 }
56795 _ACEOF
56796 if ac_fn_cxx_try_compile "$LINENO"; then :
56797   glibcxx_cv_func_powf_use=yes
56798 else
56799   glibcxx_cv_func_powf_use=no
56800 fi
56801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56802       ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807
56808
56809 fi
56810
56811   fi
56812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56813 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56814
56815   if test x$glibcxx_cv_func_powf_use = x"yes"; then
56816     for ac_func in powf
56817 do :
56818   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56819 if test "x$ac_cv_func_powf" = x""yes; then :
56820   cat >>confdefs.h <<_ACEOF
56821 #define HAVE_POWF 1
56822 _ACEOF
56823
56824 fi
56825 done
56826
56827   else
56828
56829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56830 $as_echo_n "checking for _powf declaration... " >&6; }
56831   if test x${glibcxx_cv_func__powf_use+set} != xset; then
56832     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56833   $as_echo_n "(cached) " >&6
56834 else
56835
56836
56837       ac_ext=cpp
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56842
56843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56844 /* end confdefs.h.  */
56845 #include <math.h>
56846 int
56847 main ()
56848 {
56849  _powf(0, 0);
56850   ;
56851   return 0;
56852 }
56853 _ACEOF
56854 if ac_fn_cxx_try_compile "$LINENO"; then :
56855   glibcxx_cv_func__powf_use=yes
56856 else
56857   glibcxx_cv_func__powf_use=no
56858 fi
56859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56860       ac_ext=c
56861 ac_cpp='$CPP $CPPFLAGS'
56862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56865
56866
56867 fi
56868
56869   fi
56870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56871 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56872
56873     if test x$glibcxx_cv_func__powf_use = x"yes"; then
56874       for ac_func in _powf
56875 do :
56876   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56877 if test "x$ac_cv_func__powf" = x""yes; then :
56878   cat >>confdefs.h <<_ACEOF
56879 #define HAVE__POWF 1
56880 _ACEOF
56881
56882 fi
56883 done
56884
56885     fi
56886   fi
56887
56888
56889
56890
56891
56892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56893 $as_echo_n "checking for sqrtf declaration... " >&6; }
56894   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56895     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56896   $as_echo_n "(cached) " >&6
56897 else
56898
56899
56900       ac_ext=cpp
56901 ac_cpp='$CXXCPP $CPPFLAGS'
56902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56905
56906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56907 /* end confdefs.h.  */
56908 #include <math.h>
56909                       #ifdef HAVE_IEEEFP_H
56910                       #include <ieeefp.h>
56911                       #endif
56912
56913 int
56914 main ()
56915 {
56916  sqrtf(0);
56917   ;
56918   return 0;
56919 }
56920 _ACEOF
56921 if ac_fn_cxx_try_compile "$LINENO"; then :
56922   glibcxx_cv_func_sqrtf_use=yes
56923 else
56924   glibcxx_cv_func_sqrtf_use=no
56925 fi
56926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56927       ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932
56933
56934 fi
56935
56936   fi
56937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56938 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56939
56940   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56941     for ac_func in sqrtf
56942 do :
56943   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56944 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56945   cat >>confdefs.h <<_ACEOF
56946 #define HAVE_SQRTF 1
56947 _ACEOF
56948
56949 fi
56950 done
56951
56952   else
56953
56954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56955 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56956   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56957     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56958   $as_echo_n "(cached) " >&6
56959 else
56960
56961
56962       ac_ext=cpp
56963 ac_cpp='$CXXCPP $CPPFLAGS'
56964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967
56968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56969 /* end confdefs.h.  */
56970 #include <math.h>
56971                       #ifdef HAVE_IEEEFP_H
56972                       #include <ieeefp.h>
56973                       #endif
56974
56975 int
56976 main ()
56977 {
56978  _sqrtf(0);
56979   ;
56980   return 0;
56981 }
56982 _ACEOF
56983 if ac_fn_cxx_try_compile "$LINENO"; then :
56984   glibcxx_cv_func__sqrtf_use=yes
56985 else
56986   glibcxx_cv_func__sqrtf_use=no
56987 fi
56988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56989       ac_ext=c
56990 ac_cpp='$CPP $CPPFLAGS'
56991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994
56995
56996 fi
56997
56998   fi
56999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57000 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57001
57002     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57003       for ac_func in _sqrtf
57004 do :
57005   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57006 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57007   cat >>confdefs.h <<_ACEOF
57008 #define HAVE__SQRTF 1
57009 _ACEOF
57010
57011 fi
57012 done
57013
57014     fi
57015   fi
57016
57017
57018
57019
57020
57021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57022 $as_echo_n "checking for sincosf declaration... " >&6; }
57023   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57024     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57025   $as_echo_n "(cached) " >&6
57026 else
57027
57028
57029       ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57034
57035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h.  */
57037 #include <math.h>
57038 int
57039 main ()
57040 {
57041  sincosf(0, 0, 0);
57042   ;
57043   return 0;
57044 }
57045 _ACEOF
57046 if ac_fn_cxx_try_compile "$LINENO"; then :
57047   glibcxx_cv_func_sincosf_use=yes
57048 else
57049   glibcxx_cv_func_sincosf_use=no
57050 fi
57051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57052       ac_ext=c
57053 ac_cpp='$CPP $CPPFLAGS'
57054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057
57058
57059 fi
57060
57061   fi
57062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57063 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57064
57065   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57066     for ac_func in sincosf
57067 do :
57068   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57069 if test "x$ac_cv_func_sincosf" = x""yes; then :
57070   cat >>confdefs.h <<_ACEOF
57071 #define HAVE_SINCOSF 1
57072 _ACEOF
57073
57074 fi
57075 done
57076
57077   else
57078
57079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57080 $as_echo_n "checking for _sincosf declaration... " >&6; }
57081   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57082     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57083   $as_echo_n "(cached) " >&6
57084 else
57085
57086
57087       ac_ext=cpp
57088 ac_cpp='$CXXCPP $CPPFLAGS'
57089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57092
57093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57094 /* end confdefs.h.  */
57095 #include <math.h>
57096 int
57097 main ()
57098 {
57099  _sincosf(0, 0, 0);
57100   ;
57101   return 0;
57102 }
57103 _ACEOF
57104 if ac_fn_cxx_try_compile "$LINENO"; then :
57105   glibcxx_cv_func__sincosf_use=yes
57106 else
57107   glibcxx_cv_func__sincosf_use=no
57108 fi
57109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57110       ac_ext=c
57111 ac_cpp='$CPP $CPPFLAGS'
57112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57115
57116
57117 fi
57118
57119   fi
57120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57121 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57122
57123     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57124       for ac_func in _sincosf
57125 do :
57126   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57127 if test "x$ac_cv_func__sincosf" = x""yes; then :
57128   cat >>confdefs.h <<_ACEOF
57129 #define HAVE__SINCOSF 1
57130 _ACEOF
57131
57132 fi
57133 done
57134
57135     fi
57136   fi
57137
57138
57139
57140
57141
57142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57143 $as_echo_n "checking for finitef declaration... " >&6; }
57144   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57145     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57146   $as_echo_n "(cached) " >&6
57147 else
57148
57149
57150       ac_ext=cpp
57151 ac_cpp='$CXXCPP $CPPFLAGS'
57152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57155
57156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57157 /* end confdefs.h.  */
57158 #include <math.h>
57159                       #ifdef HAVE_IEEEFP_H
57160                       #include <ieeefp.h>
57161                       #endif
57162
57163 int
57164 main ()
57165 {
57166  finitef(0);
57167   ;
57168   return 0;
57169 }
57170 _ACEOF
57171 if ac_fn_cxx_try_compile "$LINENO"; then :
57172   glibcxx_cv_func_finitef_use=yes
57173 else
57174   glibcxx_cv_func_finitef_use=no
57175 fi
57176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57177       ac_ext=c
57178 ac_cpp='$CPP $CPPFLAGS'
57179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57182
57183
57184 fi
57185
57186   fi
57187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57188 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57189
57190   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57191     for ac_func in finitef
57192 do :
57193   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57194 if test "x$ac_cv_func_finitef" = x""yes; then :
57195   cat >>confdefs.h <<_ACEOF
57196 #define HAVE_FINITEF 1
57197 _ACEOF
57198
57199 fi
57200 done
57201
57202   else
57203
57204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57205 $as_echo_n "checking for _finitef declaration... " >&6; }
57206   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57207     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57208   $as_echo_n "(cached) " >&6
57209 else
57210
57211
57212       ac_ext=cpp
57213 ac_cpp='$CXXCPP $CPPFLAGS'
57214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57217
57218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57219 /* end confdefs.h.  */
57220 #include <math.h>
57221                       #ifdef HAVE_IEEEFP_H
57222                       #include <ieeefp.h>
57223                       #endif
57224
57225 int
57226 main ()
57227 {
57228  _finitef(0);
57229   ;
57230   return 0;
57231 }
57232 _ACEOF
57233 if ac_fn_cxx_try_compile "$LINENO"; then :
57234   glibcxx_cv_func__finitef_use=yes
57235 else
57236   glibcxx_cv_func__finitef_use=no
57237 fi
57238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57239       ac_ext=c
57240 ac_cpp='$CPP $CPPFLAGS'
57241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57244
57245
57246 fi
57247
57248   fi
57249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57250 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57251
57252     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57253       for ac_func in _finitef
57254 do :
57255   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57256 if test "x$ac_cv_func__finitef" = x""yes; then :
57257   cat >>confdefs.h <<_ACEOF
57258 #define HAVE__FINITEF 1
57259 _ACEOF
57260
57261 fi
57262 done
57263
57264     fi
57265   fi
57266
57267
57268
57269
57270
57271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57272 $as_echo_n "checking for long double trig functions... " >&6; }
57273   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57274   $as_echo_n "(cached) " >&6
57275 else
57276
57277
57278     ac_ext=cpp
57279 ac_cpp='$CXXCPP $CPPFLAGS'
57280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57283
57284     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57285 /* end confdefs.h.  */
57286 #include <math.h>
57287 int
57288 main ()
57289 {
57290 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57291   ;
57292   return 0;
57293 }
57294 _ACEOF
57295 if ac_fn_cxx_try_compile "$LINENO"; then :
57296   glibcxx_cv_func_long_double_trig_use=yes
57297 else
57298   glibcxx_cv_func_long_double_trig_use=no
57299 fi
57300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57301     ac_ext=c
57302 ac_cpp='$CPP $CPPFLAGS'
57303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57306
57307 fi
57308
57309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57310 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57311   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57312     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57313 do :
57314   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57316 eval as_val=\$$as_ac_var
57317    if test "x$as_val" = x""yes; then :
57318   cat >>confdefs.h <<_ACEOF
57319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57320 _ACEOF
57321
57322 fi
57323 done
57324
57325   else
57326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57327 $as_echo_n "checking for _long double trig functions... " >&6; }
57328     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57329   $as_echo_n "(cached) " >&6
57330 else
57331
57332
57333       ac_ext=cpp
57334 ac_cpp='$CXXCPP $CPPFLAGS'
57335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57338
57339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57340 /* end confdefs.h.  */
57341 #include <math.h>
57342 int
57343 main ()
57344 {
57345 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57346   ;
57347   return 0;
57348 }
57349 _ACEOF
57350 if ac_fn_cxx_try_compile "$LINENO"; then :
57351   glibcxx_cv_func__long_double_trig_use=yes
57352 else
57353   glibcxx_cv_func__long_double_trig_use=no
57354 fi
57355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57356       ac_ext=c
57357 ac_cpp='$CPP $CPPFLAGS'
57358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57361
57362 fi
57363
57364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57365 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57366     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57367       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57368 do :
57369   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57371 eval as_val=\$$as_ac_var
57372    if test "x$as_val" = x""yes; then :
57373   cat >>confdefs.h <<_ACEOF
57374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380     fi
57381   fi
57382
57383
57384
57385
57386
57387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57388 $as_echo_n "checking for long double round functions... " >&6; }
57389   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57390   $as_echo_n "(cached) " >&6
57391 else
57392
57393
57394     ac_ext=cpp
57395 ac_cpp='$CXXCPP $CPPFLAGS'
57396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57399
57400     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57401 /* end confdefs.h.  */
57402 #include <math.h>
57403 int
57404 main ()
57405 {
57406 ceill (0); floorl (0);
57407   ;
57408   return 0;
57409 }
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412   glibcxx_cv_func_long_double_round_use=yes
57413 else
57414   glibcxx_cv_func_long_double_round_use=no
57415 fi
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417     ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57422
57423 fi
57424
57425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57426 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57427   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57428     for ac_func in ceill floorl
57429 do :
57430   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57432 eval as_val=\$$as_ac_var
57433    if test "x$as_val" = x""yes; then :
57434   cat >>confdefs.h <<_ACEOF
57435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57436 _ACEOF
57437
57438 fi
57439 done
57440
57441   else
57442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57443 $as_echo_n "checking for _long double round functions... " >&6; }
57444     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57445   $as_echo_n "(cached) " >&6
57446 else
57447
57448
57449       ac_ext=cpp
57450 ac_cpp='$CXXCPP $CPPFLAGS'
57451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57454
57455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57456 /* end confdefs.h.  */
57457 #include <math.h>
57458 int
57459 main ()
57460 {
57461 _ceill (0); _floorl (0);
57462   ;
57463   return 0;
57464 }
57465 _ACEOF
57466 if ac_fn_cxx_try_compile "$LINENO"; then :
57467   glibcxx_cv_func__long_double_round_use=yes
57468 else
57469   glibcxx_cv_func__long_double_round_use=no
57470 fi
57471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57472       ac_ext=c
57473 ac_cpp='$CPP $CPPFLAGS'
57474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477
57478 fi
57479
57480     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57481 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57482     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57483       for ac_func in _ceill _floorl
57484 do :
57485   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57487 eval as_val=\$$as_ac_var
57488    if test "x$as_val" = x""yes; then :
57489   cat >>confdefs.h <<_ACEOF
57490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57491 _ACEOF
57492
57493 fi
57494 done
57495
57496     fi
57497   fi
57498
57499
57500
57501
57502
57503
57504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57505 $as_echo_n "checking for isnanl declaration... " >&6; }
57506   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57507     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57508   $as_echo_n "(cached) " >&6
57509 else
57510
57511
57512       ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57517
57518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h.  */
57520 #include <math.h>
57521                       #ifdef HAVE_IEEEFP_H
57522                       #include <ieeefp.h>
57523                       #endif
57524
57525 int
57526 main ()
57527 {
57528  isnanl(0);
57529   ;
57530   return 0;
57531 }
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534   glibcxx_cv_func_isnanl_use=yes
57535 else
57536   glibcxx_cv_func_isnanl_use=no
57537 fi
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539       ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544
57545
57546 fi
57547
57548   fi
57549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57550 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57551
57552   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57553     for ac_func in isnanl
57554 do :
57555   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57556 if test "x$ac_cv_func_isnanl" = x""yes; then :
57557   cat >>confdefs.h <<_ACEOF
57558 #define HAVE_ISNANL 1
57559 _ACEOF
57560
57561 fi
57562 done
57563
57564   else
57565
57566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57567 $as_echo_n "checking for _isnanl declaration... " >&6; }
57568   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57569     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57570   $as_echo_n "(cached) " >&6
57571 else
57572
57573
57574       ac_ext=cpp
57575 ac_cpp='$CXXCPP $CPPFLAGS'
57576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57579
57580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57581 /* end confdefs.h.  */
57582 #include <math.h>
57583                       #ifdef HAVE_IEEEFP_H
57584                       #include <ieeefp.h>
57585                       #endif
57586
57587 int
57588 main ()
57589 {
57590  _isnanl(0);
57591   ;
57592   return 0;
57593 }
57594 _ACEOF
57595 if ac_fn_cxx_try_compile "$LINENO"; then :
57596   glibcxx_cv_func__isnanl_use=yes
57597 else
57598   glibcxx_cv_func__isnanl_use=no
57599 fi
57600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57601       ac_ext=c
57602 ac_cpp='$CPP $CPPFLAGS'
57603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57606
57607
57608 fi
57609
57610   fi
57611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57612 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57613
57614     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57615       for ac_func in _isnanl
57616 do :
57617   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57618 if test "x$ac_cv_func__isnanl" = x""yes; then :
57619   cat >>confdefs.h <<_ACEOF
57620 #define HAVE__ISNANL 1
57621 _ACEOF
57622
57623 fi
57624 done
57625
57626     fi
57627   fi
57628
57629
57630
57631
57632
57633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57634 $as_echo_n "checking for isinfl declaration... " >&6; }
57635   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57636     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57637   $as_echo_n "(cached) " >&6
57638 else
57639
57640
57641       ac_ext=cpp
57642 ac_cpp='$CXXCPP $CPPFLAGS'
57643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57646
57647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57648 /* end confdefs.h.  */
57649 #include <math.h>
57650                       #ifdef HAVE_IEEEFP_H
57651                       #include <ieeefp.h>
57652                       #endif
57653
57654 int
57655 main ()
57656 {
57657  isinfl(0);
57658   ;
57659   return 0;
57660 }
57661 _ACEOF
57662 if ac_fn_cxx_try_compile "$LINENO"; then :
57663   glibcxx_cv_func_isinfl_use=yes
57664 else
57665   glibcxx_cv_func_isinfl_use=no
57666 fi
57667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668       ac_ext=c
57669 ac_cpp='$CPP $CPPFLAGS'
57670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673
57674
57675 fi
57676
57677   fi
57678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57679 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57680
57681   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57682     for ac_func in isinfl
57683 do :
57684   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57685 if test "x$ac_cv_func_isinfl" = x""yes; then :
57686   cat >>confdefs.h <<_ACEOF
57687 #define HAVE_ISINFL 1
57688 _ACEOF
57689
57690 fi
57691 done
57692
57693   else
57694
57695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57696 $as_echo_n "checking for _isinfl declaration... " >&6; }
57697   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57698     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57699   $as_echo_n "(cached) " >&6
57700 else
57701
57702
57703       ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57708
57709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h.  */
57711 #include <math.h>
57712                       #ifdef HAVE_IEEEFP_H
57713                       #include <ieeefp.h>
57714                       #endif
57715
57716 int
57717 main ()
57718 {
57719  _isinfl(0);
57720   ;
57721   return 0;
57722 }
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725   glibcxx_cv_func__isinfl_use=yes
57726 else
57727   glibcxx_cv_func__isinfl_use=no
57728 fi
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730       ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57735
57736
57737 fi
57738
57739   fi
57740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57741 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57742
57743     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57744       for ac_func in _isinfl
57745 do :
57746   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57747 if test "x$ac_cv_func__isinfl" = x""yes; then :
57748   cat >>confdefs.h <<_ACEOF
57749 #define HAVE__ISINFL 1
57750 _ACEOF
57751
57752 fi
57753 done
57754
57755     fi
57756   fi
57757
57758
57759
57760
57761
57762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57763 $as_echo_n "checking for atan2l declaration... " >&6; }
57764   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57765     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57766   $as_echo_n "(cached) " >&6
57767 else
57768
57769
57770       ac_ext=cpp
57771 ac_cpp='$CXXCPP $CPPFLAGS'
57772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57775
57776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57777 /* end confdefs.h.  */
57778 #include <math.h>
57779 int
57780 main ()
57781 {
57782  atan2l(0, 0);
57783   ;
57784   return 0;
57785 }
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788   glibcxx_cv_func_atan2l_use=yes
57789 else
57790   glibcxx_cv_func_atan2l_use=no
57791 fi
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793       ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798
57799
57800 fi
57801
57802   fi
57803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57804 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57805
57806   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57807     for ac_func in atan2l
57808 do :
57809   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57810 if test "x$ac_cv_func_atan2l" = x""yes; then :
57811   cat >>confdefs.h <<_ACEOF
57812 #define HAVE_ATAN2L 1
57813 _ACEOF
57814
57815 fi
57816 done
57817
57818   else
57819
57820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57821 $as_echo_n "checking for _atan2l declaration... " >&6; }
57822   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57823     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57824   $as_echo_n "(cached) " >&6
57825 else
57826
57827
57828       ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57833
57834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h.  */
57836 #include <math.h>
57837 int
57838 main ()
57839 {
57840  _atan2l(0, 0);
57841   ;
57842   return 0;
57843 }
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846   glibcxx_cv_func__atan2l_use=yes
57847 else
57848   glibcxx_cv_func__atan2l_use=no
57849 fi
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851       ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57856
57857
57858 fi
57859
57860   fi
57861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57862 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57863
57864     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57865       for ac_func in _atan2l
57866 do :
57867   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57868 if test "x$ac_cv_func__atan2l" = x""yes; then :
57869   cat >>confdefs.h <<_ACEOF
57870 #define HAVE__ATAN2L 1
57871 _ACEOF
57872
57873 fi
57874 done
57875
57876     fi
57877   fi
57878
57879
57880
57881
57882
57883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57884 $as_echo_n "checking for expl declaration... " >&6; }
57885   if test x${glibcxx_cv_func_expl_use+set} != xset; then
57886     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57887   $as_echo_n "(cached) " >&6
57888 else
57889
57890
57891       ac_ext=cpp
57892 ac_cpp='$CXXCPP $CPPFLAGS'
57893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57896
57897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57898 /* end confdefs.h.  */
57899 #include <math.h>
57900                       #ifdef HAVE_IEEEFP_H
57901                       #include <ieeefp.h>
57902                       #endif
57903
57904 int
57905 main ()
57906 {
57907  expl(0);
57908   ;
57909   return 0;
57910 }
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913   glibcxx_cv_func_expl_use=yes
57914 else
57915   glibcxx_cv_func_expl_use=no
57916 fi
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918       ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57923
57924
57925 fi
57926
57927   fi
57928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57929 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57930
57931   if test x$glibcxx_cv_func_expl_use = x"yes"; then
57932     for ac_func in expl
57933 do :
57934   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57935 if test "x$ac_cv_func_expl" = x""yes; then :
57936   cat >>confdefs.h <<_ACEOF
57937 #define HAVE_EXPL 1
57938 _ACEOF
57939
57940 fi
57941 done
57942
57943   else
57944
57945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57946 $as_echo_n "checking for _expl declaration... " >&6; }
57947   if test x${glibcxx_cv_func__expl_use+set} != xset; then
57948     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57949   $as_echo_n "(cached) " >&6
57950 else
57951
57952
57953       ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57958
57959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h.  */
57961 #include <math.h>
57962                       #ifdef HAVE_IEEEFP_H
57963                       #include <ieeefp.h>
57964                       #endif
57965
57966 int
57967 main ()
57968 {
57969  _expl(0);
57970   ;
57971   return 0;
57972 }
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975   glibcxx_cv_func__expl_use=yes
57976 else
57977   glibcxx_cv_func__expl_use=no
57978 fi
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980       ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57985
57986
57987 fi
57988
57989   fi
57990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57991 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57992
57993     if test x$glibcxx_cv_func__expl_use = x"yes"; then
57994       for ac_func in _expl
57995 do :
57996   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57997 if test "x$ac_cv_func__expl" = x""yes; then :
57998   cat >>confdefs.h <<_ACEOF
57999 #define HAVE__EXPL 1
58000 _ACEOF
58001
58002 fi
58003 done
58004
58005     fi
58006   fi
58007
58008
58009
58010
58011
58012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58013 $as_echo_n "checking for fabsl declaration... " >&6; }
58014   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58015     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58016   $as_echo_n "(cached) " >&6
58017 else
58018
58019
58020       ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58025
58026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h.  */
58028 #include <math.h>
58029                       #ifdef HAVE_IEEEFP_H
58030                       #include <ieeefp.h>
58031                       #endif
58032
58033 int
58034 main ()
58035 {
58036  fabsl(0);
58037   ;
58038   return 0;
58039 }
58040 _ACEOF
58041 if ac_fn_cxx_try_compile "$LINENO"; then :
58042   glibcxx_cv_func_fabsl_use=yes
58043 else
58044   glibcxx_cv_func_fabsl_use=no
58045 fi
58046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58047       ac_ext=c
58048 ac_cpp='$CPP $CPPFLAGS'
58049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58052
58053
58054 fi
58055
58056   fi
58057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58058 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58059
58060   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58061     for ac_func in fabsl
58062 do :
58063   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58064 if test "x$ac_cv_func_fabsl" = x""yes; then :
58065   cat >>confdefs.h <<_ACEOF
58066 #define HAVE_FABSL 1
58067 _ACEOF
58068
58069 fi
58070 done
58071
58072   else
58073
58074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58075 $as_echo_n "checking for _fabsl declaration... " >&6; }
58076   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58077     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58078   $as_echo_n "(cached) " >&6
58079 else
58080
58081
58082       ac_ext=cpp
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58087
58088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58089 /* end confdefs.h.  */
58090 #include <math.h>
58091                       #ifdef HAVE_IEEEFP_H
58092                       #include <ieeefp.h>
58093                       #endif
58094
58095 int
58096 main ()
58097 {
58098  _fabsl(0);
58099   ;
58100   return 0;
58101 }
58102 _ACEOF
58103 if ac_fn_cxx_try_compile "$LINENO"; then :
58104   glibcxx_cv_func__fabsl_use=yes
58105 else
58106   glibcxx_cv_func__fabsl_use=no
58107 fi
58108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58109       ac_ext=c
58110 ac_cpp='$CPP $CPPFLAGS'
58111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58114
58115
58116 fi
58117
58118   fi
58119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58120 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58121
58122     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58123       for ac_func in _fabsl
58124 do :
58125   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58126 if test "x$ac_cv_func__fabsl" = x""yes; then :
58127   cat >>confdefs.h <<_ACEOF
58128 #define HAVE__FABSL 1
58129 _ACEOF
58130
58131 fi
58132 done
58133
58134     fi
58135   fi
58136
58137
58138
58139
58140
58141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58142 $as_echo_n "checking for fmodl declaration... " >&6; }
58143   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58144     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58145   $as_echo_n "(cached) " >&6
58146 else
58147
58148
58149       ac_ext=cpp
58150 ac_cpp='$CXXCPP $CPPFLAGS'
58151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58154
58155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58156 /* end confdefs.h.  */
58157 #include <math.h>
58158 int
58159 main ()
58160 {
58161  fmodl(0, 0);
58162   ;
58163   return 0;
58164 }
58165 _ACEOF
58166 if ac_fn_cxx_try_compile "$LINENO"; then :
58167   glibcxx_cv_func_fmodl_use=yes
58168 else
58169   glibcxx_cv_func_fmodl_use=no
58170 fi
58171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58172       ac_ext=c
58173 ac_cpp='$CPP $CPPFLAGS'
58174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58177
58178
58179 fi
58180
58181   fi
58182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58183 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58184
58185   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58186     for ac_func in fmodl
58187 do :
58188   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58189 if test "x$ac_cv_func_fmodl" = x""yes; then :
58190   cat >>confdefs.h <<_ACEOF
58191 #define HAVE_FMODL 1
58192 _ACEOF
58193
58194 fi
58195 done
58196
58197   else
58198
58199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58200 $as_echo_n "checking for _fmodl declaration... " >&6; }
58201   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58202     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58203   $as_echo_n "(cached) " >&6
58204 else
58205
58206
58207       ac_ext=cpp
58208 ac_cpp='$CXXCPP $CPPFLAGS'
58209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58212
58213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58214 /* end confdefs.h.  */
58215 #include <math.h>
58216 int
58217 main ()
58218 {
58219  _fmodl(0, 0);
58220   ;
58221   return 0;
58222 }
58223 _ACEOF
58224 if ac_fn_cxx_try_compile "$LINENO"; then :
58225   glibcxx_cv_func__fmodl_use=yes
58226 else
58227   glibcxx_cv_func__fmodl_use=no
58228 fi
58229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58230       ac_ext=c
58231 ac_cpp='$CPP $CPPFLAGS'
58232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58235
58236
58237 fi
58238
58239   fi
58240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58241 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58242
58243     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58244       for ac_func in _fmodl
58245 do :
58246   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58247 if test "x$ac_cv_func__fmodl" = x""yes; then :
58248   cat >>confdefs.h <<_ACEOF
58249 #define HAVE__FMODL 1
58250 _ACEOF
58251
58252 fi
58253 done
58254
58255     fi
58256   fi
58257
58258
58259
58260
58261
58262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58263 $as_echo_n "checking for frexpl declaration... " >&6; }
58264   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58265     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58266   $as_echo_n "(cached) " >&6
58267 else
58268
58269
58270       ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58275
58276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h.  */
58278 #include <math.h>
58279 int
58280 main ()
58281 {
58282  frexpl(0, 0);
58283   ;
58284   return 0;
58285 }
58286 _ACEOF
58287 if ac_fn_cxx_try_compile "$LINENO"; then :
58288   glibcxx_cv_func_frexpl_use=yes
58289 else
58290   glibcxx_cv_func_frexpl_use=no
58291 fi
58292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58293       ac_ext=c
58294 ac_cpp='$CPP $CPPFLAGS'
58295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298
58299
58300 fi
58301
58302   fi
58303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58304 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58305
58306   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58307     for ac_func in frexpl
58308 do :
58309   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58310 if test "x$ac_cv_func_frexpl" = x""yes; then :
58311   cat >>confdefs.h <<_ACEOF
58312 #define HAVE_FREXPL 1
58313 _ACEOF
58314
58315 fi
58316 done
58317
58318   else
58319
58320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58321 $as_echo_n "checking for _frexpl declaration... " >&6; }
58322   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58323     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58324   $as_echo_n "(cached) " >&6
58325 else
58326
58327
58328       ac_ext=cpp
58329 ac_cpp='$CXXCPP $CPPFLAGS'
58330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58333
58334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58335 /* end confdefs.h.  */
58336 #include <math.h>
58337 int
58338 main ()
58339 {
58340  _frexpl(0, 0);
58341   ;
58342   return 0;
58343 }
58344 _ACEOF
58345 if ac_fn_cxx_try_compile "$LINENO"; then :
58346   glibcxx_cv_func__frexpl_use=yes
58347 else
58348   glibcxx_cv_func__frexpl_use=no
58349 fi
58350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58351       ac_ext=c
58352 ac_cpp='$CPP $CPPFLAGS'
58353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356
58357
58358 fi
58359
58360   fi
58361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58362 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58363
58364     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58365       for ac_func in _frexpl
58366 do :
58367   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58368 if test "x$ac_cv_func__frexpl" = x""yes; then :
58369   cat >>confdefs.h <<_ACEOF
58370 #define HAVE__FREXPL 1
58371 _ACEOF
58372
58373 fi
58374 done
58375
58376     fi
58377   fi
58378
58379
58380
58381
58382
58383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58384 $as_echo_n "checking for hypotl declaration... " >&6; }
58385   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58386     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58387   $as_echo_n "(cached) " >&6
58388 else
58389
58390
58391       ac_ext=cpp
58392 ac_cpp='$CXXCPP $CPPFLAGS'
58393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58396
58397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h.  */
58399 #include <math.h>
58400 int
58401 main ()
58402 {
58403  hypotl(0, 0);
58404   ;
58405   return 0;
58406 }
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409   glibcxx_cv_func_hypotl_use=yes
58410 else
58411   glibcxx_cv_func_hypotl_use=no
58412 fi
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414       ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58419
58420
58421 fi
58422
58423   fi
58424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58425 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58426
58427   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58428     for ac_func in hypotl
58429 do :
58430   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58431 if test "x$ac_cv_func_hypotl" = x""yes; then :
58432   cat >>confdefs.h <<_ACEOF
58433 #define HAVE_HYPOTL 1
58434 _ACEOF
58435
58436 fi
58437 done
58438
58439   else
58440
58441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58442 $as_echo_n "checking for _hypotl declaration... " >&6; }
58443   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58444     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58445   $as_echo_n "(cached) " >&6
58446 else
58447
58448
58449       ac_ext=cpp
58450 ac_cpp='$CXXCPP $CPPFLAGS'
58451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58454
58455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58456 /* end confdefs.h.  */
58457 #include <math.h>
58458 int
58459 main ()
58460 {
58461  _hypotl(0, 0);
58462   ;
58463   return 0;
58464 }
58465 _ACEOF
58466 if ac_fn_cxx_try_compile "$LINENO"; then :
58467   glibcxx_cv_func__hypotl_use=yes
58468 else
58469   glibcxx_cv_func__hypotl_use=no
58470 fi
58471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58472       ac_ext=c
58473 ac_cpp='$CPP $CPPFLAGS'
58474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477
58478
58479 fi
58480
58481   fi
58482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58483 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58484
58485     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58486       for ac_func in _hypotl
58487 do :
58488   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58489 if test "x$ac_cv_func__hypotl" = x""yes; then :
58490   cat >>confdefs.h <<_ACEOF
58491 #define HAVE__HYPOTL 1
58492 _ACEOF
58493
58494 fi
58495 done
58496
58497     fi
58498   fi
58499
58500
58501
58502
58503
58504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58505 $as_echo_n "checking for ldexpl declaration... " >&6; }
58506   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58507     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58508   $as_echo_n "(cached) " >&6
58509 else
58510
58511
58512       ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58517
58518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h.  */
58520 #include <math.h>
58521 int
58522 main ()
58523 {
58524  ldexpl(0, 0);
58525   ;
58526   return 0;
58527 }
58528 _ACEOF
58529 if ac_fn_cxx_try_compile "$LINENO"; then :
58530   glibcxx_cv_func_ldexpl_use=yes
58531 else
58532   glibcxx_cv_func_ldexpl_use=no
58533 fi
58534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58535       ac_ext=c
58536 ac_cpp='$CPP $CPPFLAGS'
58537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58540
58541
58542 fi
58543
58544   fi
58545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58546 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58547
58548   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58549     for ac_func in ldexpl
58550 do :
58551   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58552 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58553   cat >>confdefs.h <<_ACEOF
58554 #define HAVE_LDEXPL 1
58555 _ACEOF
58556
58557 fi
58558 done
58559
58560   else
58561
58562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58563 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58564   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58565     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58566   $as_echo_n "(cached) " >&6
58567 else
58568
58569
58570       ac_ext=cpp
58571 ac_cpp='$CXXCPP $CPPFLAGS'
58572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58575
58576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58577 /* end confdefs.h.  */
58578 #include <math.h>
58579 int
58580 main ()
58581 {
58582  _ldexpl(0, 0);
58583   ;
58584   return 0;
58585 }
58586 _ACEOF
58587 if ac_fn_cxx_try_compile "$LINENO"; then :
58588   glibcxx_cv_func__ldexpl_use=yes
58589 else
58590   glibcxx_cv_func__ldexpl_use=no
58591 fi
58592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593       ac_ext=c
58594 ac_cpp='$CPP $CPPFLAGS'
58595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598
58599
58600 fi
58601
58602   fi
58603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58604 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58605
58606     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58607       for ac_func in _ldexpl
58608 do :
58609   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58610 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58611   cat >>confdefs.h <<_ACEOF
58612 #define HAVE__LDEXPL 1
58613 _ACEOF
58614
58615 fi
58616 done
58617
58618     fi
58619   fi
58620
58621
58622
58623
58624
58625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58626 $as_echo_n "checking for logl declaration... " >&6; }
58627   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58628     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58629   $as_echo_n "(cached) " >&6
58630 else
58631
58632
58633       ac_ext=cpp
58634 ac_cpp='$CXXCPP $CPPFLAGS'
58635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638
58639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58640 /* end confdefs.h.  */
58641 #include <math.h>
58642                       #ifdef HAVE_IEEEFP_H
58643                       #include <ieeefp.h>
58644                       #endif
58645
58646 int
58647 main ()
58648 {
58649  logl(0);
58650   ;
58651   return 0;
58652 }
58653 _ACEOF
58654 if ac_fn_cxx_try_compile "$LINENO"; then :
58655   glibcxx_cv_func_logl_use=yes
58656 else
58657   glibcxx_cv_func_logl_use=no
58658 fi
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58660       ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665
58666
58667 fi
58668
58669   fi
58670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58671 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58672
58673   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58674     for ac_func in logl
58675 do :
58676   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58677 if test "x$ac_cv_func_logl" = x""yes; then :
58678   cat >>confdefs.h <<_ACEOF
58679 #define HAVE_LOGL 1
58680 _ACEOF
58681
58682 fi
58683 done
58684
58685   else
58686
58687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58688 $as_echo_n "checking for _logl declaration... " >&6; }
58689   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58690     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58691   $as_echo_n "(cached) " >&6
58692 else
58693
58694
58695       ac_ext=cpp
58696 ac_cpp='$CXXCPP $CPPFLAGS'
58697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58700
58701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h.  */
58703 #include <math.h>
58704                       #ifdef HAVE_IEEEFP_H
58705                       #include <ieeefp.h>
58706                       #endif
58707
58708 int
58709 main ()
58710 {
58711  _logl(0);
58712   ;
58713   return 0;
58714 }
58715 _ACEOF
58716 if ac_fn_cxx_try_compile "$LINENO"; then :
58717   glibcxx_cv_func__logl_use=yes
58718 else
58719   glibcxx_cv_func__logl_use=no
58720 fi
58721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58722       ac_ext=c
58723 ac_cpp='$CPP $CPPFLAGS'
58724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58727
58728
58729 fi
58730
58731   fi
58732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58733 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58734
58735     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58736       for ac_func in _logl
58737 do :
58738   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58739 if test "x$ac_cv_func__logl" = x""yes; then :
58740   cat >>confdefs.h <<_ACEOF
58741 #define HAVE__LOGL 1
58742 _ACEOF
58743
58744 fi
58745 done
58746
58747     fi
58748   fi
58749
58750
58751
58752
58753
58754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58755 $as_echo_n "checking for log10l declaration... " >&6; }
58756   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58757     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58758   $as_echo_n "(cached) " >&6
58759 else
58760
58761
58762       ac_ext=cpp
58763 ac_cpp='$CXXCPP $CPPFLAGS'
58764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58767
58768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58769 /* end confdefs.h.  */
58770 #include <math.h>
58771                       #ifdef HAVE_IEEEFP_H
58772                       #include <ieeefp.h>
58773                       #endif
58774
58775 int
58776 main ()
58777 {
58778  log10l(0);
58779   ;
58780   return 0;
58781 }
58782 _ACEOF
58783 if ac_fn_cxx_try_compile "$LINENO"; then :
58784   glibcxx_cv_func_log10l_use=yes
58785 else
58786   glibcxx_cv_func_log10l_use=no
58787 fi
58788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58789       ac_ext=c
58790 ac_cpp='$CPP $CPPFLAGS'
58791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58794
58795
58796 fi
58797
58798   fi
58799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58800 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58801
58802   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58803     for ac_func in log10l
58804 do :
58805   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58806 if test "x$ac_cv_func_log10l" = x""yes; then :
58807   cat >>confdefs.h <<_ACEOF
58808 #define HAVE_LOG10L 1
58809 _ACEOF
58810
58811 fi
58812 done
58813
58814   else
58815
58816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58817 $as_echo_n "checking for _log10l declaration... " >&6; }
58818   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58819     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58820   $as_echo_n "(cached) " >&6
58821 else
58822
58823
58824       ac_ext=cpp
58825 ac_cpp='$CXXCPP $CPPFLAGS'
58826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58829
58830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58831 /* end confdefs.h.  */
58832 #include <math.h>
58833                       #ifdef HAVE_IEEEFP_H
58834                       #include <ieeefp.h>
58835                       #endif
58836
58837 int
58838 main ()
58839 {
58840  _log10l(0);
58841   ;
58842   return 0;
58843 }
58844 _ACEOF
58845 if ac_fn_cxx_try_compile "$LINENO"; then :
58846   glibcxx_cv_func__log10l_use=yes
58847 else
58848   glibcxx_cv_func__log10l_use=no
58849 fi
58850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58851       ac_ext=c
58852 ac_cpp='$CPP $CPPFLAGS'
58853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58856
58857
58858 fi
58859
58860   fi
58861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58862 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58863
58864     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58865       for ac_func in _log10l
58866 do :
58867   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58868 if test "x$ac_cv_func__log10l" = x""yes; then :
58869   cat >>confdefs.h <<_ACEOF
58870 #define HAVE__LOG10L 1
58871 _ACEOF
58872
58873 fi
58874 done
58875
58876     fi
58877   fi
58878
58879
58880
58881
58882
58883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58884 $as_echo_n "checking for modfl declaration... " >&6; }
58885   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58886     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58887   $as_echo_n "(cached) " >&6
58888 else
58889
58890
58891       ac_ext=cpp
58892 ac_cpp='$CXXCPP $CPPFLAGS'
58893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58896
58897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58898 /* end confdefs.h.  */
58899 #include <math.h>
58900 int
58901 main ()
58902 {
58903  modfl(0, 0);
58904   ;
58905   return 0;
58906 }
58907 _ACEOF
58908 if ac_fn_cxx_try_compile "$LINENO"; then :
58909   glibcxx_cv_func_modfl_use=yes
58910 else
58911   glibcxx_cv_func_modfl_use=no
58912 fi
58913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58914       ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919
58920
58921 fi
58922
58923   fi
58924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58925 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58926
58927   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58928     for ac_func in modfl
58929 do :
58930   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58931 if test "x$ac_cv_func_modfl" = x""yes; then :
58932   cat >>confdefs.h <<_ACEOF
58933 #define HAVE_MODFL 1
58934 _ACEOF
58935
58936 fi
58937 done
58938
58939   else
58940
58941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58942 $as_echo_n "checking for _modfl declaration... " >&6; }
58943   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58944     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58945   $as_echo_n "(cached) " >&6
58946 else
58947
58948
58949       ac_ext=cpp
58950 ac_cpp='$CXXCPP $CPPFLAGS'
58951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58954
58955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58956 /* end confdefs.h.  */
58957 #include <math.h>
58958 int
58959 main ()
58960 {
58961  _modfl(0, 0);
58962   ;
58963   return 0;
58964 }
58965 _ACEOF
58966 if ac_fn_cxx_try_compile "$LINENO"; then :
58967   glibcxx_cv_func__modfl_use=yes
58968 else
58969   glibcxx_cv_func__modfl_use=no
58970 fi
58971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58972       ac_ext=c
58973 ac_cpp='$CPP $CPPFLAGS'
58974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58977
58978
58979 fi
58980
58981   fi
58982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58983 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58984
58985     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58986       for ac_func in _modfl
58987 do :
58988   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58989 if test "x$ac_cv_func__modfl" = x""yes; then :
58990   cat >>confdefs.h <<_ACEOF
58991 #define HAVE__MODFL 1
58992 _ACEOF
58993
58994 fi
58995 done
58996
58997     fi
58998   fi
58999
59000
59001
59002
59003
59004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59005 $as_echo_n "checking for powl declaration... " >&6; }
59006   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59007     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59008   $as_echo_n "(cached) " >&6
59009 else
59010
59011
59012       ac_ext=cpp
59013 ac_cpp='$CXXCPP $CPPFLAGS'
59014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59017
59018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59019 /* end confdefs.h.  */
59020 #include <math.h>
59021 int
59022 main ()
59023 {
59024  powl(0, 0);
59025   ;
59026   return 0;
59027 }
59028 _ACEOF
59029 if ac_fn_cxx_try_compile "$LINENO"; then :
59030   glibcxx_cv_func_powl_use=yes
59031 else
59032   glibcxx_cv_func_powl_use=no
59033 fi
59034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59035       ac_ext=c
59036 ac_cpp='$CPP $CPPFLAGS'
59037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59040
59041
59042 fi
59043
59044   fi
59045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59046 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59047
59048   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59049     for ac_func in powl
59050 do :
59051   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59052 if test "x$ac_cv_func_powl" = x""yes; then :
59053   cat >>confdefs.h <<_ACEOF
59054 #define HAVE_POWL 1
59055 _ACEOF
59056
59057 fi
59058 done
59059
59060   else
59061
59062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59063 $as_echo_n "checking for _powl declaration... " >&6; }
59064   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59065     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59066   $as_echo_n "(cached) " >&6
59067 else
59068
59069
59070       ac_ext=cpp
59071 ac_cpp='$CXXCPP $CPPFLAGS'
59072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59075
59076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59077 /* end confdefs.h.  */
59078 #include <math.h>
59079 int
59080 main ()
59081 {
59082  _powl(0, 0);
59083   ;
59084   return 0;
59085 }
59086 _ACEOF
59087 if ac_fn_cxx_try_compile "$LINENO"; then :
59088   glibcxx_cv_func__powl_use=yes
59089 else
59090   glibcxx_cv_func__powl_use=no
59091 fi
59092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59093       ac_ext=c
59094 ac_cpp='$CPP $CPPFLAGS'
59095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59098
59099
59100 fi
59101
59102   fi
59103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59104 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59105
59106     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59107       for ac_func in _powl
59108 do :
59109   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59110 if test "x$ac_cv_func__powl" = x""yes; then :
59111   cat >>confdefs.h <<_ACEOF
59112 #define HAVE__POWL 1
59113 _ACEOF
59114
59115 fi
59116 done
59117
59118     fi
59119   fi
59120
59121
59122
59123
59124
59125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59126 $as_echo_n "checking for sqrtl declaration... " >&6; }
59127   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59128     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59129   $as_echo_n "(cached) " >&6
59130 else
59131
59132
59133       ac_ext=cpp
59134 ac_cpp='$CXXCPP $CPPFLAGS'
59135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59138
59139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59140 /* end confdefs.h.  */
59141 #include <math.h>
59142                       #ifdef HAVE_IEEEFP_H
59143                       #include <ieeefp.h>
59144                       #endif
59145
59146 int
59147 main ()
59148 {
59149  sqrtl(0);
59150   ;
59151   return 0;
59152 }
59153 _ACEOF
59154 if ac_fn_cxx_try_compile "$LINENO"; then :
59155   glibcxx_cv_func_sqrtl_use=yes
59156 else
59157   glibcxx_cv_func_sqrtl_use=no
59158 fi
59159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59160       ac_ext=c
59161 ac_cpp='$CPP $CPPFLAGS'
59162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59165
59166
59167 fi
59168
59169   fi
59170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59171 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59172
59173   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59174     for ac_func in sqrtl
59175 do :
59176   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59177 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59178   cat >>confdefs.h <<_ACEOF
59179 #define HAVE_SQRTL 1
59180 _ACEOF
59181
59182 fi
59183 done
59184
59185   else
59186
59187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59188 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59189   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59190     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59191   $as_echo_n "(cached) " >&6
59192 else
59193
59194
59195       ac_ext=cpp
59196 ac_cpp='$CXXCPP $CPPFLAGS'
59197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59200
59201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59202 /* end confdefs.h.  */
59203 #include <math.h>
59204                       #ifdef HAVE_IEEEFP_H
59205                       #include <ieeefp.h>
59206                       #endif
59207
59208 int
59209 main ()
59210 {
59211  _sqrtl(0);
59212   ;
59213   return 0;
59214 }
59215 _ACEOF
59216 if ac_fn_cxx_try_compile "$LINENO"; then :
59217   glibcxx_cv_func__sqrtl_use=yes
59218 else
59219   glibcxx_cv_func__sqrtl_use=no
59220 fi
59221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59222       ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227
59228
59229 fi
59230
59231   fi
59232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59233 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59234
59235     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59236       for ac_func in _sqrtl
59237 do :
59238   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59239 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59240   cat >>confdefs.h <<_ACEOF
59241 #define HAVE__SQRTL 1
59242 _ACEOF
59243
59244 fi
59245 done
59246
59247     fi
59248   fi
59249
59250
59251
59252
59253
59254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59255 $as_echo_n "checking for sincosl declaration... " >&6; }
59256   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59257     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59258   $as_echo_n "(cached) " >&6
59259 else
59260
59261
59262       ac_ext=cpp
59263 ac_cpp='$CXXCPP $CPPFLAGS'
59264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59267
59268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59269 /* end confdefs.h.  */
59270 #include <math.h>
59271 int
59272 main ()
59273 {
59274  sincosl(0, 0, 0);
59275   ;
59276   return 0;
59277 }
59278 _ACEOF
59279 if ac_fn_cxx_try_compile "$LINENO"; then :
59280   glibcxx_cv_func_sincosl_use=yes
59281 else
59282   glibcxx_cv_func_sincosl_use=no
59283 fi
59284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59285       ac_ext=c
59286 ac_cpp='$CPP $CPPFLAGS'
59287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59290
59291
59292 fi
59293
59294   fi
59295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59296 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59297
59298   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59299     for ac_func in sincosl
59300 do :
59301   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59302 if test "x$ac_cv_func_sincosl" = x""yes; then :
59303   cat >>confdefs.h <<_ACEOF
59304 #define HAVE_SINCOSL 1
59305 _ACEOF
59306
59307 fi
59308 done
59309
59310   else
59311
59312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59313 $as_echo_n "checking for _sincosl declaration... " >&6; }
59314   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59315     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59316   $as_echo_n "(cached) " >&6
59317 else
59318
59319
59320       ac_ext=cpp
59321 ac_cpp='$CXXCPP $CPPFLAGS'
59322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59325
59326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59327 /* end confdefs.h.  */
59328 #include <math.h>
59329 int
59330 main ()
59331 {
59332  _sincosl(0, 0, 0);
59333   ;
59334   return 0;
59335 }
59336 _ACEOF
59337 if ac_fn_cxx_try_compile "$LINENO"; then :
59338   glibcxx_cv_func__sincosl_use=yes
59339 else
59340   glibcxx_cv_func__sincosl_use=no
59341 fi
59342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59343       ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348
59349
59350 fi
59351
59352   fi
59353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59354 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59355
59356     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59357       for ac_func in _sincosl
59358 do :
59359   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59360 if test "x$ac_cv_func__sincosl" = x""yes; then :
59361   cat >>confdefs.h <<_ACEOF
59362 #define HAVE__SINCOSL 1
59363 _ACEOF
59364
59365 fi
59366 done
59367
59368     fi
59369   fi
59370
59371
59372
59373
59374
59375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59376 $as_echo_n "checking for finitel declaration... " >&6; }
59377   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59378     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59379   $as_echo_n "(cached) " >&6
59380 else
59381
59382
59383       ac_ext=cpp
59384 ac_cpp='$CXXCPP $CPPFLAGS'
59385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59388
59389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59390 /* end confdefs.h.  */
59391 #include <math.h>
59392                       #ifdef HAVE_IEEEFP_H
59393                       #include <ieeefp.h>
59394                       #endif
59395
59396 int
59397 main ()
59398 {
59399  finitel(0);
59400   ;
59401   return 0;
59402 }
59403 _ACEOF
59404 if ac_fn_cxx_try_compile "$LINENO"; then :
59405   glibcxx_cv_func_finitel_use=yes
59406 else
59407   glibcxx_cv_func_finitel_use=no
59408 fi
59409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59410       ac_ext=c
59411 ac_cpp='$CPP $CPPFLAGS'
59412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59415
59416
59417 fi
59418
59419   fi
59420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59421 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59422
59423   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59424     for ac_func in finitel
59425 do :
59426   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59427 if test "x$ac_cv_func_finitel" = x""yes; then :
59428   cat >>confdefs.h <<_ACEOF
59429 #define HAVE_FINITEL 1
59430 _ACEOF
59431
59432 fi
59433 done
59434
59435   else
59436
59437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59438 $as_echo_n "checking for _finitel declaration... " >&6; }
59439   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59440     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59441   $as_echo_n "(cached) " >&6
59442 else
59443
59444
59445       ac_ext=cpp
59446 ac_cpp='$CXXCPP $CPPFLAGS'
59447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59450
59451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h.  */
59453 #include <math.h>
59454                       #ifdef HAVE_IEEEFP_H
59455                       #include <ieeefp.h>
59456                       #endif
59457
59458 int
59459 main ()
59460 {
59461  _finitel(0);
59462   ;
59463   return 0;
59464 }
59465 _ACEOF
59466 if ac_fn_cxx_try_compile "$LINENO"; then :
59467   glibcxx_cv_func__finitel_use=yes
59468 else
59469   glibcxx_cv_func__finitel_use=no
59470 fi
59471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59472       ac_ext=c
59473 ac_cpp='$CPP $CPPFLAGS'
59474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59477
59478
59479 fi
59480
59481   fi
59482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59483 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59484
59485     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59486       for ac_func in _finitel
59487 do :
59488   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59489 if test "x$ac_cv_func__finitel" = x""yes; then :
59490   cat >>confdefs.h <<_ACEOF
59491 #define HAVE__FINITEL 1
59492 _ACEOF
59493
59494 fi
59495 done
59496
59497     fi
59498   fi
59499
59500
59501
59502
59503   LIBS="$ac_save_LIBS"
59504   CXXFLAGS="$ac_save_CXXFLAGS"
59505
59506
59507   ac_test_CXXFLAGS="${CXXFLAGS+set}"
59508   ac_save_CXXFLAGS="$CXXFLAGS"
59509   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59510
59511
59512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59513 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59514   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59515     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59516   $as_echo_n "(cached) " >&6
59517 else
59518
59519
59520       ac_ext=cpp
59521 ac_cpp='$CXXCPP $CPPFLAGS'
59522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59525
59526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59527 /* end confdefs.h.  */
59528 #include <stdlib.h>
59529 int
59530 main ()
59531 {
59532  at_quick_exit(0);
59533   ;
59534   return 0;
59535 }
59536 _ACEOF
59537 if ac_fn_cxx_try_compile "$LINENO"; then :
59538   glibcxx_cv_func_at_quick_exit_use=yes
59539 else
59540   glibcxx_cv_func_at_quick_exit_use=no
59541 fi
59542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59543       ac_ext=c
59544 ac_cpp='$CPP $CPPFLAGS'
59545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548
59549
59550 fi
59551
59552   fi
59553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59554 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59555   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59556     for ac_func in at_quick_exit
59557 do :
59558   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59559 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59560   cat >>confdefs.h <<_ACEOF
59561 #define HAVE_AT_QUICK_EXIT 1
59562 _ACEOF
59563
59564 fi
59565 done
59566
59567   fi
59568
59569
59570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59571 $as_echo_n "checking for quick_exit declaration... " >&6; }
59572   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59573     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59574   $as_echo_n "(cached) " >&6
59575 else
59576
59577
59578       ac_ext=cpp
59579 ac_cpp='$CXXCPP $CPPFLAGS'
59580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59583
59584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59585 /* end confdefs.h.  */
59586 #include <stdlib.h>
59587 int
59588 main ()
59589 {
59590  quick_exit(0);
59591   ;
59592   return 0;
59593 }
59594 _ACEOF
59595 if ac_fn_cxx_try_compile "$LINENO"; then :
59596   glibcxx_cv_func_quick_exit_use=yes
59597 else
59598   glibcxx_cv_func_quick_exit_use=no
59599 fi
59600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59601       ac_ext=c
59602 ac_cpp='$CPP $CPPFLAGS'
59603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59606
59607
59608 fi
59609
59610   fi
59611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59612 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59613   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59614     for ac_func in quick_exit
59615 do :
59616   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59617 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59618   cat >>confdefs.h <<_ACEOF
59619 #define HAVE_QUICK_EXIT 1
59620 _ACEOF
59621
59622 fi
59623 done
59624
59625   fi
59626
59627
59628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59629 $as_echo_n "checking for strtold declaration... " >&6; }
59630   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59631     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59632   $as_echo_n "(cached) " >&6
59633 else
59634
59635
59636       ac_ext=cpp
59637 ac_cpp='$CXXCPP $CPPFLAGS'
59638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59641
59642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59643 /* end confdefs.h.  */
59644 #include <stdlib.h>
59645 int
59646 main ()
59647 {
59648  strtold(0, 0);
59649   ;
59650   return 0;
59651 }
59652 _ACEOF
59653 if ac_fn_cxx_try_compile "$LINENO"; then :
59654   glibcxx_cv_func_strtold_use=yes
59655 else
59656   glibcxx_cv_func_strtold_use=no
59657 fi
59658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59659       ac_ext=c
59660 ac_cpp='$CPP $CPPFLAGS'
59661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59664
59665
59666 fi
59667
59668   fi
59669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59670 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59671   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59672     for ac_func in strtold
59673 do :
59674   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59675 if test "x$ac_cv_func_strtold" = x""yes; then :
59676   cat >>confdefs.h <<_ACEOF
59677 #define HAVE_STRTOLD 1
59678 _ACEOF
59679
59680 fi
59681 done
59682
59683   fi
59684
59685
59686
59687
59688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59689 $as_echo_n "checking for strtof declaration... " >&6; }
59690   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59691     if test "${glibcxx_cv_func_strtof_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 <stdlib.h>
59705 int
59706 main ()
59707 {
59708  strtof(0, 0);
59709   ;
59710   return 0;
59711 }
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714   glibcxx_cv_func_strtof_use=yes
59715 else
59716   glibcxx_cv_func_strtof_use=no
59717 fi
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719       ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59724
59725
59726 fi
59727
59728   fi
59729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59730 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59731   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59732     for ac_func in strtof
59733 do :
59734   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59735 if test "x$ac_cv_func_strtof" = x""yes; then :
59736   cat >>confdefs.h <<_ACEOF
59737 #define HAVE_STRTOF 1
59738 _ACEOF
59739
59740 fi
59741 done
59742
59743   fi
59744
59745
59746
59747
59748   CXXFLAGS="$ac_save_CXXFLAGS"
59749
59750     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59751
59752
59753
59754    # Check whether --enable-tls was given.
59755 if test "${enable_tls+set}" = set; then :
59756   enableval=$enable_tls;
59757       case "$enableval" in
59758        yes|no) ;;
59759        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59760       esac
59761
59762 else
59763   enable_tls=yes
59764 fi
59765
59766
59767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59768 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59769 if test "${gcc_cv_have_tls+set}" = set; then :
59770   $as_echo_n "(cached) " >&6
59771 else
59772
59773     if test "$cross_compiling" = yes; then :
59774                 if test x$gcc_no_link = xyes; then
59775   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59776 fi
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h.  */
59779 __thread int a; int b; int main() { return a = b; }
59780 _ACEOF
59781 if ac_fn_c_try_link "$LINENO"; then :
59782   chktls_save_LDFLAGS="$LDFLAGS"
59783                           case $host in
59784             *-*-linux*)
59785               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59786               ;;
59787           esac
59788           chktls_save_CFLAGS="$CFLAGS"
59789           CFLAGS="-fPIC $CFLAGS"
59790                   if test x$gcc_no_link = xyes; then
59791   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59792 fi
59793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59794 /* end confdefs.h.  */
59795 int f() { return 0; }
59796 _ACEOF
59797 if ac_fn_c_try_link "$LINENO"; then :
59798   if test x$gcc_no_link = xyes; then
59799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59800 fi
59801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h.  */
59803 __thread int a; int b; int f() { return a = b; }
59804 _ACEOF
59805 if ac_fn_c_try_link "$LINENO"; then :
59806   gcc_cv_have_tls=yes
59807 else
59808   gcc_cv_have_tls=no
59809 fi
59810 rm -f core conftest.err conftest.$ac_objext \
59811     conftest$ac_exeext conftest.$ac_ext
59812 else
59813   gcc_cv_have_tls=yes
59814 fi
59815 rm -f core conftest.err conftest.$ac_objext \
59816     conftest$ac_exeext conftest.$ac_ext
59817           CFLAGS="$chktls_save_CFLAGS"
59818           LDFLAGS="$chktls_save_LDFLAGS"
59819 else
59820   gcc_cv_have_tls=no
59821 fi
59822 rm -f core conftest.err conftest.$ac_objext \
59823     conftest$ac_exeext conftest.$ac_ext
59824
59825
59826 else
59827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h.  */
59829 __thread int a; int b; int main() { return a = b; }
59830 _ACEOF
59831 if ac_fn_c_try_run "$LINENO"; then :
59832                       chktls_save_LDFLAGS="$LDFLAGS"
59833       LDFLAGS="-static $LDFLAGS"
59834       if test x$gcc_no_link = xyes; then
59835   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59836 fi
59837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59838 /* end confdefs.h.  */
59839 int main() { return 0; }
59840 _ACEOF
59841 if ac_fn_c_try_link "$LINENO"; then :
59842   if test "$cross_compiling" = yes; then :
59843   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59845 as_fn_error "cannot run test program while cross compiling
59846 See \`config.log' for more details." "$LINENO" 5; }
59847 else
59848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59849 /* end confdefs.h.  */
59850 __thread int a; int b; int main() { return a = b; }
59851 _ACEOF
59852 if ac_fn_c_try_run "$LINENO"; then :
59853   gcc_cv_have_tls=yes
59854 else
59855   gcc_cv_have_tls=no
59856 fi
59857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59858   conftest.$ac_objext conftest.beam conftest.$ac_ext
59859 fi
59860
59861 else
59862   gcc_cv_have_tls=yes
59863 fi
59864 rm -f core conftest.err conftest.$ac_objext \
59865     conftest$ac_exeext conftest.$ac_ext
59866       LDFLAGS="$chktls_save_LDFLAGS"
59867       if test $gcc_cv_have_tls = yes; then
59868                                                 chktls_save_CFLAGS="$CFLAGS"
59869         thread_CFLAGS=failed
59870         for flag in '' '-pthread' '-lpthread'; do
59871           CFLAGS="$flag $chktls_save_CFLAGS"
59872           if test x$gcc_no_link = xyes; then
59873   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59874 fi
59875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59876 /* end confdefs.h.  */
59877 #include <pthread.h>
59878                 void *g(void *d) { return NULL; }
59879 int
59880 main ()
59881 {
59882 pthread_t t; pthread_create(&t,NULL,g,NULL);
59883   ;
59884   return 0;
59885 }
59886 _ACEOF
59887 if ac_fn_c_try_link "$LINENO"; then :
59888   thread_CFLAGS="$flag"
59889 fi
59890 rm -f core conftest.err conftest.$ac_objext \
59891     conftest$ac_exeext conftest.$ac_ext
59892           if test "X$thread_CFLAGS" != Xfailed; then
59893             break
59894           fi
59895         done
59896         CFLAGS="$chktls_save_CFLAGS"
59897         if test "X$thread_CFLAGS" != Xfailed; then
59898           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59899                                                   if test "$cross_compiling" = yes; then :
59900   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59902 as_fn_error "cannot run test program while cross compiling
59903 See \`config.log' for more details." "$LINENO" 5; }
59904 else
59905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h.  */
59907 #include <pthread.h>
59908                 __thread int a;
59909                 static int *volatile a_in_other_thread;
59910                 static void *
59911                 thread_func (void *arg)
59912                 {
59913                   a_in_other_thread = &a;
59914                   return (void *)0;
59915                 }
59916 int
59917 main ()
59918 {
59919 pthread_t thread;
59920                 void *thread_retval;
59921                 int *volatile a_in_main_thread;
59922                 a_in_main_thread = &a;
59923                 if (pthread_create (&thread, (pthread_attr_t *)0,
59924                                     thread_func, (void *)0))
59925                   return 0;
59926                 if (pthread_join (thread, &thread_retval))
59927                   return 0;
59928                 return (a_in_other_thread == a_in_main_thread);
59929   ;
59930   return 0;
59931 }
59932 _ACEOF
59933 if ac_fn_c_try_run "$LINENO"; then :
59934   gcc_cv_have_tls=yes
59935 else
59936   gcc_cv_have_tls=no
59937 fi
59938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59939   conftest.$ac_objext conftest.beam conftest.$ac_ext
59940 fi
59941
59942           CFLAGS="$chktls_save_CFLAGS"
59943         fi
59944       fi
59945 else
59946   gcc_cv_have_tls=no
59947 fi
59948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59949   conftest.$ac_objext conftest.beam conftest.$ac_ext
59950 fi
59951
59952 fi
59953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59954 $as_echo "$gcc_cv_have_tls" >&6; }
59955   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59956
59957 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59958
59959   fi
59960     for ac_func in __cxa_thread_atexit_impl
59961 do :
59962   ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59963 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59964   cat >>confdefs.h <<_ACEOF
59965 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59966 _ACEOF
59967
59968 fi
59969 done
59970
59971     for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59972 do :
59973   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59975 eval as_val=\$$as_ac_var
59976    if test "x$as_val" = x""yes; then :
59977   cat >>confdefs.h <<_ACEOF
59978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59979 _ACEOF
59980
59981 fi
59982 done
59983
59984
59985
59986
59987
59988
59989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59990 $as_echo_n "checking for iconv... " >&6; }
59991 if test "${am_cv_func_iconv+set}" = set; then :
59992   $as_echo_n "(cached) " >&6
59993 else
59994
59995     am_cv_func_iconv="no, consider installing GNU libiconv"
59996     am_cv_lib_iconv=no
59997                     am_save_CPPFLAGS="$CPPFLAGS"
59998     CPPFLAGS="$CPPFLAGS $INCICONV"
59999     if test x$gcc_no_link = xyes; then
60000   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60001 fi
60002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60003 /* end confdefs.h.  */
60004 #include <stdlib.h>
60005 #include <iconv.h>
60006 int
60007 main ()
60008 {
60009 iconv_t cd = iconv_open("","");
60010        iconv(cd,NULL,NULL,NULL,NULL);
60011        iconv_close(cd);
60012   ;
60013   return 0;
60014 }
60015 _ACEOF
60016 if ac_fn_c_try_link "$LINENO"; then :
60017   am_cv_func_iconv=yes
60018 fi
60019 rm -f core conftest.err conftest.$ac_objext \
60020     conftest$ac_exeext conftest.$ac_ext
60021     CPPFLAGS="$am_save_CPPFLAGS"
60022
60023     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60024       for _libs in .libs _libs; do
60025         am_save_CPPFLAGS="$CPPFLAGS"
60026         am_save_LIBS="$LIBS"
60027         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60028         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60029         if test x$gcc_no_link = xyes; then
60030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60031 fi
60032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60033 /* end confdefs.h.  */
60034 #include <stdlib.h>
60035 #include <iconv.h>
60036 int
60037 main ()
60038 {
60039 iconv_t cd = iconv_open("","");
60040            iconv(cd,NULL,NULL,NULL,NULL);
60041            iconv_close(cd);
60042   ;
60043   return 0;
60044 }
60045 _ACEOF
60046 if ac_fn_c_try_link "$LINENO"; then :
60047   INCICONV="-I../libiconv/include"
60048           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60049           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60050           am_cv_lib_iconv=yes
60051           am_cv_func_iconv=yes
60052 fi
60053 rm -f core conftest.err conftest.$ac_objext \
60054     conftest$ac_exeext conftest.$ac_ext
60055         CPPFLAGS="$am_save_CPPFLAGS"
60056         LIBS="$am_save_LIBS"
60057         if test "$am_cv_func_iconv" = "yes"; then
60058           break
60059         fi
60060       done
60061     fi
60062
60063     if test "$am_cv_func_iconv" != yes; then
60064       am_save_CPPFLAGS="$CPPFLAGS"
60065       am_save_LIBS="$LIBS"
60066       CPPFLAGS="$LIBS $INCICONV"
60067       LIBS="$LIBS $LIBICONV"
60068       if test x$gcc_no_link = xyes; then
60069   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60070 fi
60071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60072 /* end confdefs.h.  */
60073 #include <stdlib.h>
60074 #include <iconv.h>
60075 int
60076 main ()
60077 {
60078 iconv_t cd = iconv_open("","");
60079          iconv(cd,NULL,NULL,NULL,NULL);
60080          iconv_close(cd);
60081   ;
60082   return 0;
60083 }
60084 _ACEOF
60085 if ac_fn_c_try_link "$LINENO"; then :
60086   am_cv_lib_iconv=yes
60087         am_cv_func_iconv=yes
60088 fi
60089 rm -f core conftest.err conftest.$ac_objext \
60090     conftest$ac_exeext conftest.$ac_ext
60091       CPPFLAGS="$am_save_CPPFLAGS"
60092       LIBS="$am_save_LIBS"
60093     fi
60094
60095 fi
60096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60097 $as_echo "$am_cv_func_iconv" >&6; }
60098   if test "$am_cv_func_iconv" = yes; then
60099
60100 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60101
60102   fi
60103   if test "$am_cv_lib_iconv" = yes; then
60104
60105   for element in $INCICONV; do
60106     haveit=
60107     for x in $CPPFLAGS; do
60108
60109   acl_save_prefix="$prefix"
60110   prefix="$acl_final_prefix"
60111   acl_save_exec_prefix="$exec_prefix"
60112   exec_prefix="$acl_final_exec_prefix"
60113   eval x=\"$x\"
60114   exec_prefix="$acl_save_exec_prefix"
60115   prefix="$acl_save_prefix"
60116
60117       if test "X$x" = "X$element"; then
60118         haveit=yes
60119         break
60120       fi
60121     done
60122     if test -z "$haveit"; then
60123       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60124     fi
60125   done
60126
60127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60128 $as_echo_n "checking how to link with libiconv... " >&6; }
60129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60130 $as_echo "$LIBICONV" >&6; }
60131   else
60132     LIBICONV=
60133     LTLIBICONV=
60134   fi
60135
60136
60137
60138   if test "$am_cv_func_iconv" = yes; then
60139     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60140 $as_echo_n "checking for iconv declaration... " >&6; }
60141     if test "${am_cv_proto_iconv+set}" = set; then :
60142   $as_echo_n "(cached) " >&6
60143 else
60144
60145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60146 /* end confdefs.h.  */
60147
60148 #include <stdlib.h>
60149 #include <iconv.h>
60150 extern
60151 #ifdef __cplusplus
60152 "C"
60153 #endif
60154 #if defined(__STDC__) || defined(__cplusplus)
60155 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60156 #else
60157 size_t iconv();
60158 #endif
60159
60160 int
60161 main ()
60162 {
60163
60164   ;
60165   return 0;
60166 }
60167 _ACEOF
60168 if ac_fn_c_try_compile "$LINENO"; then :
60169   am_cv_proto_iconv_arg1=""
60170 else
60171   am_cv_proto_iconv_arg1="const"
60172 fi
60173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60174       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);"
60175 fi
60176
60177     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60178     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60179          }$am_cv_proto_iconv" >&5
60180 $as_echo "${ac_t:-
60181          }$am_cv_proto_iconv" >&6; }
60182
60183 cat >>confdefs.h <<_ACEOF
60184 #define ICONV_CONST $am_cv_proto_iconv_arg1
60185 _ACEOF
60186
60187   fi
60188
60189     ;;
60190   *-mingw32*)
60191
60192   # If we're not using GNU ld, then there's no point in even trying these
60193   # tests.  Check for that first.  We should have already tested for gld
60194   # by now (in libtool), but require it now just to be safe...
60195   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60196   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60197
60198
60199
60200   # The name set by libtool depends on the version of libtool.  Shame on us
60201   # for depending on an impl detail, but c'est la vie.  Older versions used
60202   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60203   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60204   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
60205   # set (hence we're using an older libtool), then set it.
60206   if test x${with_gnu_ld+set} != xset; then
60207     if test x${ac_cv_prog_gnu_ld+set} != xset; then
60208       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
60209       with_gnu_ld=no
60210     else
60211       with_gnu_ld=$ac_cv_prog_gnu_ld
60212     fi
60213   fi
60214
60215   # Start by getting the version number.  I think the libtool test already
60216   # does some of this, but throws away the result.
60217   glibcxx_ld_is_gold=no
60218   if test x"$with_gnu_ld" = x"yes"; then
60219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60220 $as_echo_n "checking for ld version... " >&6; }
60221
60222     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60223       glibcxx_ld_is_gold=yes
60224     fi
60225     ldver=`$LD --version 2>/dev/null |
60226            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'`
60227
60228     glibcxx_gnu_ld_version=`echo $ldver | \
60229            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60230     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60231 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60232   fi
60233
60234   # Set --gc-sections.
60235   glibcxx_have_gc_sections=no
60236   if test "$glibcxx_ld_is_gold" = "yes"; then
60237     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60238       glibcxx_have_gc_sections=yes
60239     fi
60240   else
60241     glibcxx_gcsections_min_ld=21602
60242     if test x"$with_gnu_ld" = x"yes" &&
60243         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60244       glibcxx_have_gc_sections=yes
60245     fi
60246   fi
60247   if test "$glibcxx_have_gc_sections" = "yes"; then
60248     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
60249     # NB: This flag only works reliably after 2.16.1. Configure tests
60250     # for this are difficult, so hard wire a value that should work.
60251
60252     ac_test_CFLAGS="${CFLAGS+set}"
60253     ac_save_CFLAGS="$CFLAGS"
60254     CFLAGS='-Wl,--gc-sections'
60255
60256     # Check for -Wl,--gc-sections
60257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60258 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60259     if test x$gcc_no_link = xyes; then
60260   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60261 fi
60262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60263 /* end confdefs.h.  */
60264  int one(void) { return 1; }
60265      int two(void) { return 2; }
60266
60267 int
60268 main ()
60269 {
60270  two();
60271   ;
60272   return 0;
60273 }
60274 _ACEOF
60275 if ac_fn_c_try_link "$LINENO"; then :
60276   ac_gcsections=yes
60277 else
60278   ac_gcsections=no
60279 fi
60280 rm -f core conftest.err conftest.$ac_objext \
60281     conftest$ac_exeext conftest.$ac_ext
60282     if test "$ac_gcsections" = "yes"; then
60283       rm -f conftest.c
60284       touch conftest.c
60285       if $CC -c conftest.c; then
60286         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60287            grep "Warning: gc-sections option ignored" > /dev/null; then
60288           ac_gcsections=no
60289         fi
60290       fi
60291       rm -f conftest.c conftest.o conftest
60292     fi
60293     if test "$ac_gcsections" = "yes"; then
60294       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60295     fi
60296     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60297 $as_echo "$ac_gcsections" >&6; }
60298
60299     if test "$ac_test_CFLAGS" = set; then
60300       CFLAGS="$ac_save_CFLAGS"
60301     else
60302       # this is the suspicious part
60303       CFLAGS=''
60304     fi
60305   fi
60306
60307   # Set -z,relro.
60308   # Note this is only for shared objects.
60309   ac_ld_relro=no
60310   if test x"$with_gnu_ld" = x"yes"; then
60311     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60312 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60313     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60314     if test -n "$cxx_z_relo"; then
60315       OPT_LDFLAGS="-Wl,-z,relro"
60316       ac_ld_relro=yes
60317     fi
60318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60319 $as_echo "$ac_ld_relro" >&6; }
60320   fi
60321
60322   # Set linker optimization flags.
60323   if test x"$with_gnu_ld" = x"yes"; then
60324     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60325   fi
60326
60327
60328
60329
60330
60331   ac_test_CXXFLAGS="${CXXFLAGS+set}"
60332   ac_save_CXXFLAGS="$CXXFLAGS"
60333   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60334
60335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60336 $as_echo_n "checking for sin in -lm... " >&6; }
60337 if test "${ac_cv_lib_m_sin+set}" = set; then :
60338   $as_echo_n "(cached) " >&6
60339 else
60340   ac_check_lib_save_LIBS=$LIBS
60341 LIBS="-lm  $LIBS"
60342 if test x$gcc_no_link = xyes; then
60343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60344 fi
60345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60346 /* end confdefs.h.  */
60347
60348 /* Override any GCC internal prototype to avoid an error.
60349    Use char because int might match the return type of a GCC
60350    builtin and then its argument prototype would still apply.  */
60351 #ifdef __cplusplus
60352 extern "C"
60353 #endif
60354 char sin ();
60355 int
60356 main ()
60357 {
60358 return sin ();
60359   ;
60360   return 0;
60361 }
60362 _ACEOF
60363 if ac_fn_c_try_link "$LINENO"; then :
60364   ac_cv_lib_m_sin=yes
60365 else
60366   ac_cv_lib_m_sin=no
60367 fi
60368 rm -f core conftest.err conftest.$ac_objext \
60369     conftest$ac_exeext conftest.$ac_ext
60370 LIBS=$ac_check_lib_save_LIBS
60371 fi
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60373 $as_echo "$ac_cv_lib_m_sin" >&6; }
60374 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60375   libm="-lm"
60376 fi
60377
60378   ac_save_LIBS="$LIBS"
60379   LIBS="$LIBS $libm"
60380
60381
60382
60383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60384 $as_echo_n "checking for isinf declaration... " >&6; }
60385   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60386     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60387   $as_echo_n "(cached) " >&6
60388 else
60389
60390
60391       ac_ext=cpp
60392 ac_cpp='$CXXCPP $CPPFLAGS'
60393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60396
60397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60398 /* end confdefs.h.  */
60399 #include <math.h>
60400                       #ifdef HAVE_IEEEFP_H
60401                       #include <ieeefp.h>
60402                       #endif
60403
60404 int
60405 main ()
60406 {
60407  isinf(0);
60408   ;
60409   return 0;
60410 }
60411 _ACEOF
60412 if ac_fn_cxx_try_compile "$LINENO"; then :
60413   glibcxx_cv_func_isinf_use=yes
60414 else
60415   glibcxx_cv_func_isinf_use=no
60416 fi
60417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60418       ac_ext=c
60419 ac_cpp='$CPP $CPPFLAGS'
60420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60423
60424
60425 fi
60426
60427   fi
60428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60429 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60430
60431   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60432     for ac_func in isinf
60433 do :
60434   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60435 if test "x$ac_cv_func_isinf" = x""yes; then :
60436   cat >>confdefs.h <<_ACEOF
60437 #define HAVE_ISINF 1
60438 _ACEOF
60439
60440 fi
60441 done
60442
60443   else
60444
60445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60446 $as_echo_n "checking for _isinf declaration... " >&6; }
60447   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60448     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60449   $as_echo_n "(cached) " >&6
60450 else
60451
60452
60453       ac_ext=cpp
60454 ac_cpp='$CXXCPP $CPPFLAGS'
60455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60458
60459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60460 /* end confdefs.h.  */
60461 #include <math.h>
60462                       #ifdef HAVE_IEEEFP_H
60463                       #include <ieeefp.h>
60464                       #endif
60465
60466 int
60467 main ()
60468 {
60469  _isinf(0);
60470   ;
60471   return 0;
60472 }
60473 _ACEOF
60474 if ac_fn_cxx_try_compile "$LINENO"; then :
60475   glibcxx_cv_func__isinf_use=yes
60476 else
60477   glibcxx_cv_func__isinf_use=no
60478 fi
60479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60480       ac_ext=c
60481 ac_cpp='$CPP $CPPFLAGS'
60482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60485
60486
60487 fi
60488
60489   fi
60490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60491 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60492
60493     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60494       for ac_func in _isinf
60495 do :
60496   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60497 if test "x$ac_cv_func__isinf" = x""yes; then :
60498   cat >>confdefs.h <<_ACEOF
60499 #define HAVE__ISINF 1
60500 _ACEOF
60501
60502 fi
60503 done
60504
60505     fi
60506   fi
60507
60508
60509
60510
60511
60512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60513 $as_echo_n "checking for isnan declaration... " >&6; }
60514   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60515     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60516   $as_echo_n "(cached) " >&6
60517 else
60518
60519
60520       ac_ext=cpp
60521 ac_cpp='$CXXCPP $CPPFLAGS'
60522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60525
60526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60527 /* end confdefs.h.  */
60528 #include <math.h>
60529                       #ifdef HAVE_IEEEFP_H
60530                       #include <ieeefp.h>
60531                       #endif
60532
60533 int
60534 main ()
60535 {
60536  isnan(0);
60537   ;
60538   return 0;
60539 }
60540 _ACEOF
60541 if ac_fn_cxx_try_compile "$LINENO"; then :
60542   glibcxx_cv_func_isnan_use=yes
60543 else
60544   glibcxx_cv_func_isnan_use=no
60545 fi
60546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60547       ac_ext=c
60548 ac_cpp='$CPP $CPPFLAGS'
60549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60552
60553
60554 fi
60555
60556   fi
60557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60558 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60559
60560   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60561     for ac_func in isnan
60562 do :
60563   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60564 if test "x$ac_cv_func_isnan" = x""yes; then :
60565   cat >>confdefs.h <<_ACEOF
60566 #define HAVE_ISNAN 1
60567 _ACEOF
60568
60569 fi
60570 done
60571
60572   else
60573
60574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60575 $as_echo_n "checking for _isnan declaration... " >&6; }
60576   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60577     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60578   $as_echo_n "(cached) " >&6
60579 else
60580
60581
60582       ac_ext=cpp
60583 ac_cpp='$CXXCPP $CPPFLAGS'
60584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60587
60588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60589 /* end confdefs.h.  */
60590 #include <math.h>
60591                       #ifdef HAVE_IEEEFP_H
60592                       #include <ieeefp.h>
60593                       #endif
60594
60595 int
60596 main ()
60597 {
60598  _isnan(0);
60599   ;
60600   return 0;
60601 }
60602 _ACEOF
60603 if ac_fn_cxx_try_compile "$LINENO"; then :
60604   glibcxx_cv_func__isnan_use=yes
60605 else
60606   glibcxx_cv_func__isnan_use=no
60607 fi
60608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60609       ac_ext=c
60610 ac_cpp='$CPP $CPPFLAGS'
60611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60614
60615
60616 fi
60617
60618   fi
60619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60620 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60621
60622     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60623       for ac_func in _isnan
60624 do :
60625   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60626 if test "x$ac_cv_func__isnan" = x""yes; then :
60627   cat >>confdefs.h <<_ACEOF
60628 #define HAVE__ISNAN 1
60629 _ACEOF
60630
60631 fi
60632 done
60633
60634     fi
60635   fi
60636
60637
60638
60639
60640
60641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60642 $as_echo_n "checking for finite declaration... " >&6; }
60643   if test x${glibcxx_cv_func_finite_use+set} != xset; then
60644     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60645   $as_echo_n "(cached) " >&6
60646 else
60647
60648
60649       ac_ext=cpp
60650 ac_cpp='$CXXCPP $CPPFLAGS'
60651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60654
60655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60656 /* end confdefs.h.  */
60657 #include <math.h>
60658                       #ifdef HAVE_IEEEFP_H
60659                       #include <ieeefp.h>
60660                       #endif
60661
60662 int
60663 main ()
60664 {
60665  finite(0);
60666   ;
60667   return 0;
60668 }
60669 _ACEOF
60670 if ac_fn_cxx_try_compile "$LINENO"; then :
60671   glibcxx_cv_func_finite_use=yes
60672 else
60673   glibcxx_cv_func_finite_use=no
60674 fi
60675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60676       ac_ext=c
60677 ac_cpp='$CPP $CPPFLAGS'
60678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60681
60682
60683 fi
60684
60685   fi
60686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60687 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60688
60689   if test x$glibcxx_cv_func_finite_use = x"yes"; then
60690     for ac_func in finite
60691 do :
60692   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60693 if test "x$ac_cv_func_finite" = x""yes; then :
60694   cat >>confdefs.h <<_ACEOF
60695 #define HAVE_FINITE 1
60696 _ACEOF
60697
60698 fi
60699 done
60700
60701   else
60702
60703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60704 $as_echo_n "checking for _finite declaration... " >&6; }
60705   if test x${glibcxx_cv_func__finite_use+set} != xset; then
60706     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60707   $as_echo_n "(cached) " >&6
60708 else
60709
60710
60711       ac_ext=cpp
60712 ac_cpp='$CXXCPP $CPPFLAGS'
60713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60716
60717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60718 /* end confdefs.h.  */
60719 #include <math.h>
60720                       #ifdef HAVE_IEEEFP_H
60721                       #include <ieeefp.h>
60722                       #endif
60723
60724 int
60725 main ()
60726 {
60727  _finite(0);
60728   ;
60729   return 0;
60730 }
60731 _ACEOF
60732 if ac_fn_cxx_try_compile "$LINENO"; then :
60733   glibcxx_cv_func__finite_use=yes
60734 else
60735   glibcxx_cv_func__finite_use=no
60736 fi
60737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60738       ac_ext=c
60739 ac_cpp='$CPP $CPPFLAGS'
60740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60743
60744
60745 fi
60746
60747   fi
60748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60749 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60750
60751     if test x$glibcxx_cv_func__finite_use = x"yes"; then
60752       for ac_func in _finite
60753 do :
60754   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60755 if test "x$ac_cv_func__finite" = x""yes; then :
60756   cat >>confdefs.h <<_ACEOF
60757 #define HAVE__FINITE 1
60758 _ACEOF
60759
60760 fi
60761 done
60762
60763     fi
60764   fi
60765
60766
60767
60768
60769
60770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60771 $as_echo_n "checking for sincos declaration... " >&6; }
60772   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60773     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60774   $as_echo_n "(cached) " >&6
60775 else
60776
60777
60778       ac_ext=cpp
60779 ac_cpp='$CXXCPP $CPPFLAGS'
60780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60783
60784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60785 /* end confdefs.h.  */
60786 #include <math.h>
60787 int
60788 main ()
60789 {
60790  sincos(0, 0, 0);
60791   ;
60792   return 0;
60793 }
60794 _ACEOF
60795 if ac_fn_cxx_try_compile "$LINENO"; then :
60796   glibcxx_cv_func_sincos_use=yes
60797 else
60798   glibcxx_cv_func_sincos_use=no
60799 fi
60800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60801       ac_ext=c
60802 ac_cpp='$CPP $CPPFLAGS'
60803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60806
60807
60808 fi
60809
60810   fi
60811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60812 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60813
60814   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60815     for ac_func in sincos
60816 do :
60817   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60818 if test "x$ac_cv_func_sincos" = x""yes; then :
60819   cat >>confdefs.h <<_ACEOF
60820 #define HAVE_SINCOS 1
60821 _ACEOF
60822
60823 fi
60824 done
60825
60826   else
60827
60828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60829 $as_echo_n "checking for _sincos declaration... " >&6; }
60830   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60831     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60832   $as_echo_n "(cached) " >&6
60833 else
60834
60835
60836       ac_ext=cpp
60837 ac_cpp='$CXXCPP $CPPFLAGS'
60838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60841
60842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60843 /* end confdefs.h.  */
60844 #include <math.h>
60845 int
60846 main ()
60847 {
60848  _sincos(0, 0, 0);
60849   ;
60850   return 0;
60851 }
60852 _ACEOF
60853 if ac_fn_cxx_try_compile "$LINENO"; then :
60854   glibcxx_cv_func__sincos_use=yes
60855 else
60856   glibcxx_cv_func__sincos_use=no
60857 fi
60858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60859       ac_ext=c
60860 ac_cpp='$CPP $CPPFLAGS'
60861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60864
60865
60866 fi
60867
60868   fi
60869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60870 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60871
60872     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60873       for ac_func in _sincos
60874 do :
60875   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60876 if test "x$ac_cv_func__sincos" = x""yes; then :
60877   cat >>confdefs.h <<_ACEOF
60878 #define HAVE__SINCOS 1
60879 _ACEOF
60880
60881 fi
60882 done
60883
60884     fi
60885   fi
60886
60887
60888
60889
60890
60891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60892 $as_echo_n "checking for fpclass declaration... " >&6; }
60893   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60894     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60895   $as_echo_n "(cached) " >&6
60896 else
60897
60898
60899       ac_ext=cpp
60900 ac_cpp='$CXXCPP $CPPFLAGS'
60901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60904
60905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60906 /* end confdefs.h.  */
60907 #include <math.h>
60908                       #ifdef HAVE_IEEEFP_H
60909                       #include <ieeefp.h>
60910                       #endif
60911
60912 int
60913 main ()
60914 {
60915  fpclass(0);
60916   ;
60917   return 0;
60918 }
60919 _ACEOF
60920 if ac_fn_cxx_try_compile "$LINENO"; then :
60921   glibcxx_cv_func_fpclass_use=yes
60922 else
60923   glibcxx_cv_func_fpclass_use=no
60924 fi
60925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60926       ac_ext=c
60927 ac_cpp='$CPP $CPPFLAGS'
60928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60931
60932
60933 fi
60934
60935   fi
60936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60937 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60938
60939   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60940     for ac_func in fpclass
60941 do :
60942   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60943 if test "x$ac_cv_func_fpclass" = x""yes; then :
60944   cat >>confdefs.h <<_ACEOF
60945 #define HAVE_FPCLASS 1
60946 _ACEOF
60947
60948 fi
60949 done
60950
60951   else
60952
60953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60954 $as_echo_n "checking for _fpclass declaration... " >&6; }
60955   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60956     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60957   $as_echo_n "(cached) " >&6
60958 else
60959
60960
60961       ac_ext=cpp
60962 ac_cpp='$CXXCPP $CPPFLAGS'
60963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60966
60967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60968 /* end confdefs.h.  */
60969 #include <math.h>
60970                       #ifdef HAVE_IEEEFP_H
60971                       #include <ieeefp.h>
60972                       #endif
60973
60974 int
60975 main ()
60976 {
60977  _fpclass(0);
60978   ;
60979   return 0;
60980 }
60981 _ACEOF
60982 if ac_fn_cxx_try_compile "$LINENO"; then :
60983   glibcxx_cv_func__fpclass_use=yes
60984 else
60985   glibcxx_cv_func__fpclass_use=no
60986 fi
60987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60988       ac_ext=c
60989 ac_cpp='$CPP $CPPFLAGS'
60990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60993
60994
60995 fi
60996
60997   fi
60998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60999 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61000
61001     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61002       for ac_func in _fpclass
61003 do :
61004   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61005 if test "x$ac_cv_func__fpclass" = x""yes; then :
61006   cat >>confdefs.h <<_ACEOF
61007 #define HAVE__FPCLASS 1
61008 _ACEOF
61009
61010 fi
61011 done
61012
61013     fi
61014   fi
61015
61016
61017
61018
61019
61020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61021 $as_echo_n "checking for qfpclass declaration... " >&6; }
61022   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61023     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61024   $as_echo_n "(cached) " >&6
61025 else
61026
61027
61028       ac_ext=cpp
61029 ac_cpp='$CXXCPP $CPPFLAGS'
61030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61033
61034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61035 /* end confdefs.h.  */
61036 #include <math.h>
61037                       #ifdef HAVE_IEEEFP_H
61038                       #include <ieeefp.h>
61039                       #endif
61040
61041 int
61042 main ()
61043 {
61044  qfpclass(0);
61045   ;
61046   return 0;
61047 }
61048 _ACEOF
61049 if ac_fn_cxx_try_compile "$LINENO"; then :
61050   glibcxx_cv_func_qfpclass_use=yes
61051 else
61052   glibcxx_cv_func_qfpclass_use=no
61053 fi
61054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61055       ac_ext=c
61056 ac_cpp='$CPP $CPPFLAGS'
61057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61060
61061
61062 fi
61063
61064   fi
61065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61066 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61067
61068   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61069     for ac_func in qfpclass
61070 do :
61071   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61072 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61073   cat >>confdefs.h <<_ACEOF
61074 #define HAVE_QFPCLASS 1
61075 _ACEOF
61076
61077 fi
61078 done
61079
61080   else
61081
61082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61083 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61084   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61085     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61086   $as_echo_n "(cached) " >&6
61087 else
61088
61089
61090       ac_ext=cpp
61091 ac_cpp='$CXXCPP $CPPFLAGS'
61092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61095
61096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61097 /* end confdefs.h.  */
61098 #include <math.h>
61099                       #ifdef HAVE_IEEEFP_H
61100                       #include <ieeefp.h>
61101                       #endif
61102
61103 int
61104 main ()
61105 {
61106  _qfpclass(0);
61107   ;
61108   return 0;
61109 }
61110 _ACEOF
61111 if ac_fn_cxx_try_compile "$LINENO"; then :
61112   glibcxx_cv_func__qfpclass_use=yes
61113 else
61114   glibcxx_cv_func__qfpclass_use=no
61115 fi
61116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117       ac_ext=c
61118 ac_cpp='$CPP $CPPFLAGS'
61119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61122
61123
61124 fi
61125
61126   fi
61127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61128 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61129
61130     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61131       for ac_func in _qfpclass
61132 do :
61133   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61134 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61135   cat >>confdefs.h <<_ACEOF
61136 #define HAVE__QFPCLASS 1
61137 _ACEOF
61138
61139 fi
61140 done
61141
61142     fi
61143   fi
61144
61145
61146
61147
61148
61149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61150 $as_echo_n "checking for hypot declaration... " >&6; }
61151   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61152     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61153   $as_echo_n "(cached) " >&6
61154 else
61155
61156
61157       ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162
61163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h.  */
61165 #include <math.h>
61166 int
61167 main ()
61168 {
61169  hypot(0, 0);
61170   ;
61171   return 0;
61172 }
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175   glibcxx_cv_func_hypot_use=yes
61176 else
61177   glibcxx_cv_func_hypot_use=no
61178 fi
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180       ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61185
61186
61187 fi
61188
61189   fi
61190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61191 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61192
61193   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61194     for ac_func in hypot
61195 do :
61196   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61197 if test "x$ac_cv_func_hypot" = x""yes; then :
61198   cat >>confdefs.h <<_ACEOF
61199 #define HAVE_HYPOT 1
61200 _ACEOF
61201
61202 fi
61203 done
61204
61205   else
61206
61207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61208 $as_echo_n "checking for _hypot declaration... " >&6; }
61209   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61210     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61211   $as_echo_n "(cached) " >&6
61212 else
61213
61214
61215       ac_ext=cpp
61216 ac_cpp='$CXXCPP $CPPFLAGS'
61217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220
61221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61222 /* end confdefs.h.  */
61223 #include <math.h>
61224 int
61225 main ()
61226 {
61227  _hypot(0, 0);
61228   ;
61229   return 0;
61230 }
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233   glibcxx_cv_func__hypot_use=yes
61234 else
61235   glibcxx_cv_func__hypot_use=no
61236 fi
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238       ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61243
61244
61245 fi
61246
61247   fi
61248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61249 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61250
61251     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61252       for ac_func in _hypot
61253 do :
61254   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61255 if test "x$ac_cv_func__hypot" = x""yes; then :
61256   cat >>confdefs.h <<_ACEOF
61257 #define HAVE__HYPOT 1
61258 _ACEOF
61259
61260 fi
61261 done
61262
61263     fi
61264   fi
61265
61266
61267
61268
61269
61270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61271 $as_echo_n "checking for float trig functions... " >&6; }
61272   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61273   $as_echo_n "(cached) " >&6
61274 else
61275
61276
61277     ac_ext=cpp
61278 ac_cpp='$CXXCPP $CPPFLAGS'
61279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61282
61283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61284 /* end confdefs.h.  */
61285 #include <math.h>
61286 int
61287 main ()
61288 {
61289 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61290   ;
61291   return 0;
61292 }
61293 _ACEOF
61294 if ac_fn_cxx_try_compile "$LINENO"; then :
61295   glibcxx_cv_func_float_trig_use=yes
61296 else
61297   glibcxx_cv_func_float_trig_use=no
61298 fi
61299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61300     ac_ext=c
61301 ac_cpp='$CPP $CPPFLAGS'
61302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61305
61306 fi
61307
61308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61309 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61310   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61311     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61312 do :
61313   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61315 eval as_val=\$$as_ac_var
61316    if test "x$as_val" = x""yes; then :
61317   cat >>confdefs.h <<_ACEOF
61318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61319 _ACEOF
61320
61321 fi
61322 done
61323
61324   else
61325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61326 $as_echo_n "checking for _float trig functions... " >&6; }
61327     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61328   $as_echo_n "(cached) " >&6
61329 else
61330
61331
61332       ac_ext=cpp
61333 ac_cpp='$CXXCPP $CPPFLAGS'
61334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61337
61338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61339 /* end confdefs.h.  */
61340 #include <math.h>
61341 int
61342 main ()
61343 {
61344 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61345   ;
61346   return 0;
61347 }
61348 _ACEOF
61349 if ac_fn_cxx_try_compile "$LINENO"; then :
61350   glibcxx_cv_func__float_trig_use=yes
61351 else
61352   glibcxx_cv_func__float_trig_use=no
61353 fi
61354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61355       ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360
61361 fi
61362
61363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61364 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61365     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61366       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61367 do :
61368   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61370 eval as_val=\$$as_ac_var
61371    if test "x$as_val" = x""yes; then :
61372   cat >>confdefs.h <<_ACEOF
61373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61374 _ACEOF
61375
61376 fi
61377 done
61378
61379     fi
61380   fi
61381
61382
61383
61384
61385
61386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61387 $as_echo_n "checking for float round functions... " >&6; }
61388   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61389   $as_echo_n "(cached) " >&6
61390 else
61391
61392
61393     ac_ext=cpp
61394 ac_cpp='$CXXCPP $CPPFLAGS'
61395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61398
61399     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61400 /* end confdefs.h.  */
61401 #include <math.h>
61402 int
61403 main ()
61404 {
61405 ceilf (0); floorf (0);
61406   ;
61407   return 0;
61408 }
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411   glibcxx_cv_func_float_round_use=yes
61412 else
61413   glibcxx_cv_func_float_round_use=no
61414 fi
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416     ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61421
61422 fi
61423
61424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61425 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61426   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61427     for ac_func in ceilf floorf
61428 do :
61429   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61431 eval as_val=\$$as_ac_var
61432    if test "x$as_val" = x""yes; then :
61433   cat >>confdefs.h <<_ACEOF
61434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61435 _ACEOF
61436
61437 fi
61438 done
61439
61440   else
61441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61442 $as_echo_n "checking for _float round functions... " >&6; }
61443     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61444   $as_echo_n "(cached) " >&6
61445 else
61446
61447
61448       ac_ext=cpp
61449 ac_cpp='$CXXCPP $CPPFLAGS'
61450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61453
61454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61455 /* end confdefs.h.  */
61456 #include <math.h>
61457 int
61458 main ()
61459 {
61460 _ceilf (0); _floorf (0);
61461   ;
61462   return 0;
61463 }
61464 _ACEOF
61465 if ac_fn_cxx_try_compile "$LINENO"; then :
61466   glibcxx_cv_func__float_round_use=yes
61467 else
61468   glibcxx_cv_func__float_round_use=no
61469 fi
61470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61471       ac_ext=c
61472 ac_cpp='$CPP $CPPFLAGS'
61473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476
61477 fi
61478
61479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61480 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61481     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61482       for ac_func in _ceilf _floorf
61483 do :
61484   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61486 eval as_val=\$$as_ac_var
61487    if test "x$as_val" = x""yes; then :
61488   cat >>confdefs.h <<_ACEOF
61489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61490 _ACEOF
61491
61492 fi
61493 done
61494
61495     fi
61496   fi
61497
61498
61499
61500
61501
61502
61503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61504 $as_echo_n "checking for expf declaration... " >&6; }
61505   if test x${glibcxx_cv_func_expf_use+set} != xset; then
61506     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61507   $as_echo_n "(cached) " >&6
61508 else
61509
61510
61511       ac_ext=cpp
61512 ac_cpp='$CXXCPP $CPPFLAGS'
61513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61516
61517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61518 /* end confdefs.h.  */
61519 #include <math.h>
61520                       #ifdef HAVE_IEEEFP_H
61521                       #include <ieeefp.h>
61522                       #endif
61523
61524 int
61525 main ()
61526 {
61527  expf(0);
61528   ;
61529   return 0;
61530 }
61531 _ACEOF
61532 if ac_fn_cxx_try_compile "$LINENO"; then :
61533   glibcxx_cv_func_expf_use=yes
61534 else
61535   glibcxx_cv_func_expf_use=no
61536 fi
61537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61538       ac_ext=c
61539 ac_cpp='$CPP $CPPFLAGS'
61540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61543
61544
61545 fi
61546
61547   fi
61548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61549 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61550
61551   if test x$glibcxx_cv_func_expf_use = x"yes"; then
61552     for ac_func in expf
61553 do :
61554   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61555 if test "x$ac_cv_func_expf" = x""yes; then :
61556   cat >>confdefs.h <<_ACEOF
61557 #define HAVE_EXPF 1
61558 _ACEOF
61559
61560 fi
61561 done
61562
61563   else
61564
61565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61566 $as_echo_n "checking for _expf declaration... " >&6; }
61567   if test x${glibcxx_cv_func__expf_use+set} != xset; then
61568     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61569   $as_echo_n "(cached) " >&6
61570 else
61571
61572
61573       ac_ext=cpp
61574 ac_cpp='$CXXCPP $CPPFLAGS'
61575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61578
61579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61580 /* end confdefs.h.  */
61581 #include <math.h>
61582                       #ifdef HAVE_IEEEFP_H
61583                       #include <ieeefp.h>
61584                       #endif
61585
61586 int
61587 main ()
61588 {
61589  _expf(0);
61590   ;
61591   return 0;
61592 }
61593 _ACEOF
61594 if ac_fn_cxx_try_compile "$LINENO"; then :
61595   glibcxx_cv_func__expf_use=yes
61596 else
61597   glibcxx_cv_func__expf_use=no
61598 fi
61599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61600       ac_ext=c
61601 ac_cpp='$CPP $CPPFLAGS'
61602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61605
61606
61607 fi
61608
61609   fi
61610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61611 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61612
61613     if test x$glibcxx_cv_func__expf_use = x"yes"; then
61614       for ac_func in _expf
61615 do :
61616   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61617 if test "x$ac_cv_func__expf" = x""yes; then :
61618   cat >>confdefs.h <<_ACEOF
61619 #define HAVE__EXPF 1
61620 _ACEOF
61621
61622 fi
61623 done
61624
61625     fi
61626   fi
61627
61628
61629
61630
61631
61632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61633 $as_echo_n "checking for isnanf declaration... " >&6; }
61634   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61635     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61636   $as_echo_n "(cached) " >&6
61637 else
61638
61639
61640       ac_ext=cpp
61641 ac_cpp='$CXXCPP $CPPFLAGS'
61642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61645
61646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61647 /* end confdefs.h.  */
61648 #include <math.h>
61649                       #ifdef HAVE_IEEEFP_H
61650                       #include <ieeefp.h>
61651                       #endif
61652
61653 int
61654 main ()
61655 {
61656  isnanf(0);
61657   ;
61658   return 0;
61659 }
61660 _ACEOF
61661 if ac_fn_cxx_try_compile "$LINENO"; then :
61662   glibcxx_cv_func_isnanf_use=yes
61663 else
61664   glibcxx_cv_func_isnanf_use=no
61665 fi
61666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61667       ac_ext=c
61668 ac_cpp='$CPP $CPPFLAGS'
61669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61672
61673
61674 fi
61675
61676   fi
61677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61678 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61679
61680   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61681     for ac_func in isnanf
61682 do :
61683   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61684 if test "x$ac_cv_func_isnanf" = x""yes; then :
61685   cat >>confdefs.h <<_ACEOF
61686 #define HAVE_ISNANF 1
61687 _ACEOF
61688
61689 fi
61690 done
61691
61692   else
61693
61694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61695 $as_echo_n "checking for _isnanf declaration... " >&6; }
61696   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61697     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61698   $as_echo_n "(cached) " >&6
61699 else
61700
61701
61702       ac_ext=cpp
61703 ac_cpp='$CXXCPP $CPPFLAGS'
61704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61707
61708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61709 /* end confdefs.h.  */
61710 #include <math.h>
61711                       #ifdef HAVE_IEEEFP_H
61712                       #include <ieeefp.h>
61713                       #endif
61714
61715 int
61716 main ()
61717 {
61718  _isnanf(0);
61719   ;
61720   return 0;
61721 }
61722 _ACEOF
61723 if ac_fn_cxx_try_compile "$LINENO"; then :
61724   glibcxx_cv_func__isnanf_use=yes
61725 else
61726   glibcxx_cv_func__isnanf_use=no
61727 fi
61728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61729       ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61734
61735
61736 fi
61737
61738   fi
61739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61740 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61741
61742     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61743       for ac_func in _isnanf
61744 do :
61745   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61746 if test "x$ac_cv_func__isnanf" = x""yes; then :
61747   cat >>confdefs.h <<_ACEOF
61748 #define HAVE__ISNANF 1
61749 _ACEOF
61750
61751 fi
61752 done
61753
61754     fi
61755   fi
61756
61757
61758
61759
61760
61761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61762 $as_echo_n "checking for isinff declaration... " >&6; }
61763   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61764     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61765   $as_echo_n "(cached) " >&6
61766 else
61767
61768
61769       ac_ext=cpp
61770 ac_cpp='$CXXCPP $CPPFLAGS'
61771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61774
61775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61776 /* end confdefs.h.  */
61777 #include <math.h>
61778                       #ifdef HAVE_IEEEFP_H
61779                       #include <ieeefp.h>
61780                       #endif
61781
61782 int
61783 main ()
61784 {
61785  isinff(0);
61786   ;
61787   return 0;
61788 }
61789 _ACEOF
61790 if ac_fn_cxx_try_compile "$LINENO"; then :
61791   glibcxx_cv_func_isinff_use=yes
61792 else
61793   glibcxx_cv_func_isinff_use=no
61794 fi
61795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61796       ac_ext=c
61797 ac_cpp='$CPP $CPPFLAGS'
61798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61801
61802
61803 fi
61804
61805   fi
61806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61807 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61808
61809   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61810     for ac_func in isinff
61811 do :
61812   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61813 if test "x$ac_cv_func_isinff" = x""yes; then :
61814   cat >>confdefs.h <<_ACEOF
61815 #define HAVE_ISINFF 1
61816 _ACEOF
61817
61818 fi
61819 done
61820
61821   else
61822
61823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61824 $as_echo_n "checking for _isinff declaration... " >&6; }
61825   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61826     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61827   $as_echo_n "(cached) " >&6
61828 else
61829
61830
61831       ac_ext=cpp
61832 ac_cpp='$CXXCPP $CPPFLAGS'
61833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61836
61837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61838 /* end confdefs.h.  */
61839 #include <math.h>
61840                       #ifdef HAVE_IEEEFP_H
61841                       #include <ieeefp.h>
61842                       #endif
61843
61844 int
61845 main ()
61846 {
61847  _isinff(0);
61848   ;
61849   return 0;
61850 }
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853   glibcxx_cv_func__isinff_use=yes
61854 else
61855   glibcxx_cv_func__isinff_use=no
61856 fi
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858       ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61863
61864
61865 fi
61866
61867   fi
61868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61869 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61870
61871     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61872       for ac_func in _isinff
61873 do :
61874   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61875 if test "x$ac_cv_func__isinff" = x""yes; then :
61876   cat >>confdefs.h <<_ACEOF
61877 #define HAVE__ISINFF 1
61878 _ACEOF
61879
61880 fi
61881 done
61882
61883     fi
61884   fi
61885
61886
61887
61888
61889
61890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61891 $as_echo_n "checking for atan2f declaration... " >&6; }
61892   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61893     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61894   $as_echo_n "(cached) " >&6
61895 else
61896
61897
61898       ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61903
61904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h.  */
61906 #include <math.h>
61907 int
61908 main ()
61909 {
61910  atan2f(0, 0);
61911   ;
61912   return 0;
61913 }
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916   glibcxx_cv_func_atan2f_use=yes
61917 else
61918   glibcxx_cv_func_atan2f_use=no
61919 fi
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921       ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926
61927
61928 fi
61929
61930   fi
61931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61932 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61933
61934   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61935     for ac_func in atan2f
61936 do :
61937   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61938 if test "x$ac_cv_func_atan2f" = x""yes; then :
61939   cat >>confdefs.h <<_ACEOF
61940 #define HAVE_ATAN2F 1
61941 _ACEOF
61942
61943 fi
61944 done
61945
61946   else
61947
61948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61949 $as_echo_n "checking for _atan2f declaration... " >&6; }
61950   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61951     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61952   $as_echo_n "(cached) " >&6
61953 else
61954
61955
61956       ac_ext=cpp
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61961
61962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h.  */
61964 #include <math.h>
61965 int
61966 main ()
61967 {
61968  _atan2f(0, 0);
61969   ;
61970   return 0;
61971 }
61972 _ACEOF
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974   glibcxx_cv_func__atan2f_use=yes
61975 else
61976   glibcxx_cv_func__atan2f_use=no
61977 fi
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61979       ac_ext=c
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61984
61985
61986 fi
61987
61988   fi
61989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61990 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61991
61992     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61993       for ac_func in _atan2f
61994 do :
61995   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61996 if test "x$ac_cv_func__atan2f" = x""yes; then :
61997   cat >>confdefs.h <<_ACEOF
61998 #define HAVE__ATAN2F 1
61999 _ACEOF
62000
62001 fi
62002 done
62003
62004     fi
62005   fi
62006
62007
62008
62009
62010
62011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62012 $as_echo_n "checking for fabsf declaration... " >&6; }
62013   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62014     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62015   $as_echo_n "(cached) " >&6
62016 else
62017
62018
62019       ac_ext=cpp
62020 ac_cpp='$CXXCPP $CPPFLAGS'
62021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62024
62025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62026 /* end confdefs.h.  */
62027 #include <math.h>
62028                       #ifdef HAVE_IEEEFP_H
62029                       #include <ieeefp.h>
62030                       #endif
62031
62032 int
62033 main ()
62034 {
62035  fabsf(0);
62036   ;
62037   return 0;
62038 }
62039 _ACEOF
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041   glibcxx_cv_func_fabsf_use=yes
62042 else
62043   glibcxx_cv_func_fabsf_use=no
62044 fi
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046       ac_ext=c
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62051
62052
62053 fi
62054
62055   fi
62056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62057 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62058
62059   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62060     for ac_func in fabsf
62061 do :
62062   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62063 if test "x$ac_cv_func_fabsf" = x""yes; then :
62064   cat >>confdefs.h <<_ACEOF
62065 #define HAVE_FABSF 1
62066 _ACEOF
62067
62068 fi
62069 done
62070
62071   else
62072
62073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62074 $as_echo_n "checking for _fabsf declaration... " >&6; }
62075   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62076     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62077   $as_echo_n "(cached) " >&6
62078 else
62079
62080
62081       ac_ext=cpp
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62086
62087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h.  */
62089 #include <math.h>
62090                       #ifdef HAVE_IEEEFP_H
62091                       #include <ieeefp.h>
62092                       #endif
62093
62094 int
62095 main ()
62096 {
62097  _fabsf(0);
62098   ;
62099   return 0;
62100 }
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103   glibcxx_cv_func__fabsf_use=yes
62104 else
62105   glibcxx_cv_func__fabsf_use=no
62106 fi
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62108       ac_ext=c
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62113
62114
62115 fi
62116
62117   fi
62118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62119 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62120
62121     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62122       for ac_func in _fabsf
62123 do :
62124   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62125 if test "x$ac_cv_func__fabsf" = x""yes; then :
62126   cat >>confdefs.h <<_ACEOF
62127 #define HAVE__FABSF 1
62128 _ACEOF
62129
62130 fi
62131 done
62132
62133     fi
62134   fi
62135
62136
62137
62138
62139
62140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62141 $as_echo_n "checking for fmodf declaration... " >&6; }
62142   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62143     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62144   $as_echo_n "(cached) " >&6
62145 else
62146
62147
62148       ac_ext=cpp
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62153
62154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62155 /* end confdefs.h.  */
62156 #include <math.h>
62157 int
62158 main ()
62159 {
62160  fmodf(0, 0);
62161   ;
62162   return 0;
62163 }
62164 _ACEOF
62165 if ac_fn_cxx_try_compile "$LINENO"; then :
62166   glibcxx_cv_func_fmodf_use=yes
62167 else
62168   glibcxx_cv_func_fmodf_use=no
62169 fi
62170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62171       ac_ext=c
62172 ac_cpp='$CPP $CPPFLAGS'
62173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62176
62177
62178 fi
62179
62180   fi
62181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62182 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62183
62184   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62185     for ac_func in fmodf
62186 do :
62187   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62188 if test "x$ac_cv_func_fmodf" = x""yes; then :
62189   cat >>confdefs.h <<_ACEOF
62190 #define HAVE_FMODF 1
62191 _ACEOF
62192
62193 fi
62194 done
62195
62196   else
62197
62198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62199 $as_echo_n "checking for _fmodf declaration... " >&6; }
62200   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62201     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62202   $as_echo_n "(cached) " >&6
62203 else
62204
62205
62206       ac_ext=cpp
62207 ac_cpp='$CXXCPP $CPPFLAGS'
62208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62211
62212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62213 /* end confdefs.h.  */
62214 #include <math.h>
62215 int
62216 main ()
62217 {
62218  _fmodf(0, 0);
62219   ;
62220   return 0;
62221 }
62222 _ACEOF
62223 if ac_fn_cxx_try_compile "$LINENO"; then :
62224   glibcxx_cv_func__fmodf_use=yes
62225 else
62226   glibcxx_cv_func__fmodf_use=no
62227 fi
62228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62229       ac_ext=c
62230 ac_cpp='$CPP $CPPFLAGS'
62231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62234
62235
62236 fi
62237
62238   fi
62239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62240 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62241
62242     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62243       for ac_func in _fmodf
62244 do :
62245   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62246 if test "x$ac_cv_func__fmodf" = x""yes; then :
62247   cat >>confdefs.h <<_ACEOF
62248 #define HAVE__FMODF 1
62249 _ACEOF
62250
62251 fi
62252 done
62253
62254     fi
62255   fi
62256
62257
62258
62259
62260
62261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62262 $as_echo_n "checking for frexpf declaration... " >&6; }
62263   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62264     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62265   $as_echo_n "(cached) " >&6
62266 else
62267
62268
62269       ac_ext=cpp
62270 ac_cpp='$CXXCPP $CPPFLAGS'
62271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62274
62275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62276 /* end confdefs.h.  */
62277 #include <math.h>
62278 int
62279 main ()
62280 {
62281  frexpf(0, 0);
62282   ;
62283   return 0;
62284 }
62285 _ACEOF
62286 if ac_fn_cxx_try_compile "$LINENO"; then :
62287   glibcxx_cv_func_frexpf_use=yes
62288 else
62289   glibcxx_cv_func_frexpf_use=no
62290 fi
62291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62292       ac_ext=c
62293 ac_cpp='$CPP $CPPFLAGS'
62294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62297
62298
62299 fi
62300
62301   fi
62302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62303 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62304
62305   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62306     for ac_func in frexpf
62307 do :
62308   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62309 if test "x$ac_cv_func_frexpf" = x""yes; then :
62310   cat >>confdefs.h <<_ACEOF
62311 #define HAVE_FREXPF 1
62312 _ACEOF
62313
62314 fi
62315 done
62316
62317   else
62318
62319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62320 $as_echo_n "checking for _frexpf declaration... " >&6; }
62321   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62322     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62323   $as_echo_n "(cached) " >&6
62324 else
62325
62326
62327       ac_ext=cpp
62328 ac_cpp='$CXXCPP $CPPFLAGS'
62329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62332
62333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62334 /* end confdefs.h.  */
62335 #include <math.h>
62336 int
62337 main ()
62338 {
62339  _frexpf(0, 0);
62340   ;
62341   return 0;
62342 }
62343 _ACEOF
62344 if ac_fn_cxx_try_compile "$LINENO"; then :
62345   glibcxx_cv_func__frexpf_use=yes
62346 else
62347   glibcxx_cv_func__frexpf_use=no
62348 fi
62349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62350       ac_ext=c
62351 ac_cpp='$CPP $CPPFLAGS'
62352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62355
62356
62357 fi
62358
62359   fi
62360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62361 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62362
62363     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62364       for ac_func in _frexpf
62365 do :
62366   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62367 if test "x$ac_cv_func__frexpf" = x""yes; then :
62368   cat >>confdefs.h <<_ACEOF
62369 #define HAVE__FREXPF 1
62370 _ACEOF
62371
62372 fi
62373 done
62374
62375     fi
62376   fi
62377
62378
62379
62380
62381
62382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62383 $as_echo_n "checking for hypotf declaration... " >&6; }
62384   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62385     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62386   $as_echo_n "(cached) " >&6
62387 else
62388
62389
62390       ac_ext=cpp
62391 ac_cpp='$CXXCPP $CPPFLAGS'
62392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62395
62396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62397 /* end confdefs.h.  */
62398 #include <math.h>
62399 int
62400 main ()
62401 {
62402  hypotf(0, 0);
62403   ;
62404   return 0;
62405 }
62406 _ACEOF
62407 if ac_fn_cxx_try_compile "$LINENO"; then :
62408   glibcxx_cv_func_hypotf_use=yes
62409 else
62410   glibcxx_cv_func_hypotf_use=no
62411 fi
62412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62413       ac_ext=c
62414 ac_cpp='$CPP $CPPFLAGS'
62415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62418
62419
62420 fi
62421
62422   fi
62423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62424 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62425
62426   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62427     for ac_func in hypotf
62428 do :
62429   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62430 if test "x$ac_cv_func_hypotf" = x""yes; then :
62431   cat >>confdefs.h <<_ACEOF
62432 #define HAVE_HYPOTF 1
62433 _ACEOF
62434
62435 fi
62436 done
62437
62438   else
62439
62440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62441 $as_echo_n "checking for _hypotf declaration... " >&6; }
62442   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62443     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62444   $as_echo_n "(cached) " >&6
62445 else
62446
62447
62448       ac_ext=cpp
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62453
62454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62455 /* end confdefs.h.  */
62456 #include <math.h>
62457 int
62458 main ()
62459 {
62460  _hypotf(0, 0);
62461   ;
62462   return 0;
62463 }
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466   glibcxx_cv_func__hypotf_use=yes
62467 else
62468   glibcxx_cv_func__hypotf_use=no
62469 fi
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471       ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62476
62477
62478 fi
62479
62480   fi
62481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62482 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62483
62484     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62485       for ac_func in _hypotf
62486 do :
62487   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62488 if test "x$ac_cv_func__hypotf" = x""yes; then :
62489   cat >>confdefs.h <<_ACEOF
62490 #define HAVE__HYPOTF 1
62491 _ACEOF
62492
62493 fi
62494 done
62495
62496     fi
62497   fi
62498
62499
62500
62501
62502
62503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62504 $as_echo_n "checking for ldexpf declaration... " >&6; }
62505   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62506     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62507   $as_echo_n "(cached) " >&6
62508 else
62509
62510
62511       ac_ext=cpp
62512 ac_cpp='$CXXCPP $CPPFLAGS'
62513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62516
62517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62518 /* end confdefs.h.  */
62519 #include <math.h>
62520 int
62521 main ()
62522 {
62523  ldexpf(0, 0);
62524   ;
62525   return 0;
62526 }
62527 _ACEOF
62528 if ac_fn_cxx_try_compile "$LINENO"; then :
62529   glibcxx_cv_func_ldexpf_use=yes
62530 else
62531   glibcxx_cv_func_ldexpf_use=no
62532 fi
62533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62534       ac_ext=c
62535 ac_cpp='$CPP $CPPFLAGS'
62536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62539
62540
62541 fi
62542
62543   fi
62544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62545 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62546
62547   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62548     for ac_func in ldexpf
62549 do :
62550   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62551 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62552   cat >>confdefs.h <<_ACEOF
62553 #define HAVE_LDEXPF 1
62554 _ACEOF
62555
62556 fi
62557 done
62558
62559   else
62560
62561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62562 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62563   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62564     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62565   $as_echo_n "(cached) " >&6
62566 else
62567
62568
62569       ac_ext=cpp
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62574
62575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62576 /* end confdefs.h.  */
62577 #include <math.h>
62578 int
62579 main ()
62580 {
62581  _ldexpf(0, 0);
62582   ;
62583   return 0;
62584 }
62585 _ACEOF
62586 if ac_fn_cxx_try_compile "$LINENO"; then :
62587   glibcxx_cv_func__ldexpf_use=yes
62588 else
62589   glibcxx_cv_func__ldexpf_use=no
62590 fi
62591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62592       ac_ext=c
62593 ac_cpp='$CPP $CPPFLAGS'
62594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597
62598
62599 fi
62600
62601   fi
62602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62603 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62604
62605     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62606       for ac_func in _ldexpf
62607 do :
62608   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62609 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62610   cat >>confdefs.h <<_ACEOF
62611 #define HAVE__LDEXPF 1
62612 _ACEOF
62613
62614 fi
62615 done
62616
62617     fi
62618   fi
62619
62620
62621
62622
62623
62624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62625 $as_echo_n "checking for logf declaration... " >&6; }
62626   if test x${glibcxx_cv_func_logf_use+set} != xset; then
62627     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62628   $as_echo_n "(cached) " >&6
62629 else
62630
62631
62632       ac_ext=cpp
62633 ac_cpp='$CXXCPP $CPPFLAGS'
62634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62637
62638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62639 /* end confdefs.h.  */
62640 #include <math.h>
62641                       #ifdef HAVE_IEEEFP_H
62642                       #include <ieeefp.h>
62643                       #endif
62644
62645 int
62646 main ()
62647 {
62648  logf(0);
62649   ;
62650   return 0;
62651 }
62652 _ACEOF
62653 if ac_fn_cxx_try_compile "$LINENO"; then :
62654   glibcxx_cv_func_logf_use=yes
62655 else
62656   glibcxx_cv_func_logf_use=no
62657 fi
62658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62659       ac_ext=c
62660 ac_cpp='$CPP $CPPFLAGS'
62661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62664
62665
62666 fi
62667
62668   fi
62669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62670 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62671
62672   if test x$glibcxx_cv_func_logf_use = x"yes"; then
62673     for ac_func in logf
62674 do :
62675   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62676 if test "x$ac_cv_func_logf" = x""yes; then :
62677   cat >>confdefs.h <<_ACEOF
62678 #define HAVE_LOGF 1
62679 _ACEOF
62680
62681 fi
62682 done
62683
62684   else
62685
62686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62687 $as_echo_n "checking for _logf declaration... " >&6; }
62688   if test x${glibcxx_cv_func__logf_use+set} != xset; then
62689     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62690   $as_echo_n "(cached) " >&6
62691 else
62692
62693
62694       ac_ext=cpp
62695 ac_cpp='$CXXCPP $CPPFLAGS'
62696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62699
62700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62701 /* end confdefs.h.  */
62702 #include <math.h>
62703                       #ifdef HAVE_IEEEFP_H
62704                       #include <ieeefp.h>
62705                       #endif
62706
62707 int
62708 main ()
62709 {
62710  _logf(0);
62711   ;
62712   return 0;
62713 }
62714 _ACEOF
62715 if ac_fn_cxx_try_compile "$LINENO"; then :
62716   glibcxx_cv_func__logf_use=yes
62717 else
62718   glibcxx_cv_func__logf_use=no
62719 fi
62720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62721       ac_ext=c
62722 ac_cpp='$CPP $CPPFLAGS'
62723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62726
62727
62728 fi
62729
62730   fi
62731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62732 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62733
62734     if test x$glibcxx_cv_func__logf_use = x"yes"; then
62735       for ac_func in _logf
62736 do :
62737   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62738 if test "x$ac_cv_func__logf" = x""yes; then :
62739   cat >>confdefs.h <<_ACEOF
62740 #define HAVE__LOGF 1
62741 _ACEOF
62742
62743 fi
62744 done
62745
62746     fi
62747   fi
62748
62749
62750
62751
62752
62753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62754 $as_echo_n "checking for log10f declaration... " >&6; }
62755   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62756     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62757   $as_echo_n "(cached) " >&6
62758 else
62759
62760
62761       ac_ext=cpp
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62766
62767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62768 /* end confdefs.h.  */
62769 #include <math.h>
62770                       #ifdef HAVE_IEEEFP_H
62771                       #include <ieeefp.h>
62772                       #endif
62773
62774 int
62775 main ()
62776 {
62777  log10f(0);
62778   ;
62779   return 0;
62780 }
62781 _ACEOF
62782 if ac_fn_cxx_try_compile "$LINENO"; then :
62783   glibcxx_cv_func_log10f_use=yes
62784 else
62785   glibcxx_cv_func_log10f_use=no
62786 fi
62787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62788       ac_ext=c
62789 ac_cpp='$CPP $CPPFLAGS'
62790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62793
62794
62795 fi
62796
62797   fi
62798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62799 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62800
62801   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62802     for ac_func in log10f
62803 do :
62804   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62805 if test "x$ac_cv_func_log10f" = x""yes; then :
62806   cat >>confdefs.h <<_ACEOF
62807 #define HAVE_LOG10F 1
62808 _ACEOF
62809
62810 fi
62811 done
62812
62813   else
62814
62815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62816 $as_echo_n "checking for _log10f declaration... " >&6; }
62817   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62818     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62819   $as_echo_n "(cached) " >&6
62820 else
62821
62822
62823       ac_ext=cpp
62824 ac_cpp='$CXXCPP $CPPFLAGS'
62825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62828
62829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62830 /* end confdefs.h.  */
62831 #include <math.h>
62832                       #ifdef HAVE_IEEEFP_H
62833                       #include <ieeefp.h>
62834                       #endif
62835
62836 int
62837 main ()
62838 {
62839  _log10f(0);
62840   ;
62841   return 0;
62842 }
62843 _ACEOF
62844 if ac_fn_cxx_try_compile "$LINENO"; then :
62845   glibcxx_cv_func__log10f_use=yes
62846 else
62847   glibcxx_cv_func__log10f_use=no
62848 fi
62849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62850       ac_ext=c
62851 ac_cpp='$CPP $CPPFLAGS'
62852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62855
62856
62857 fi
62858
62859   fi
62860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62861 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62862
62863     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62864       for ac_func in _log10f
62865 do :
62866   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62867 if test "x$ac_cv_func__log10f" = x""yes; then :
62868   cat >>confdefs.h <<_ACEOF
62869 #define HAVE__LOG10F 1
62870 _ACEOF
62871
62872 fi
62873 done
62874
62875     fi
62876   fi
62877
62878
62879
62880
62881
62882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62883 $as_echo_n "checking for modff declaration... " >&6; }
62884   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62885     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62886   $as_echo_n "(cached) " >&6
62887 else
62888
62889
62890       ac_ext=cpp
62891 ac_cpp='$CXXCPP $CPPFLAGS'
62892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62895
62896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62897 /* end confdefs.h.  */
62898 #include <math.h>
62899 int
62900 main ()
62901 {
62902  modff(0, 0);
62903   ;
62904   return 0;
62905 }
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908   glibcxx_cv_func_modff_use=yes
62909 else
62910   glibcxx_cv_func_modff_use=no
62911 fi
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913       ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62918
62919
62920 fi
62921
62922   fi
62923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62924 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62925
62926   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62927     for ac_func in modff
62928 do :
62929   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62930 if test "x$ac_cv_func_modff" = x""yes; then :
62931   cat >>confdefs.h <<_ACEOF
62932 #define HAVE_MODFF 1
62933 _ACEOF
62934
62935 fi
62936 done
62937
62938   else
62939
62940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62941 $as_echo_n "checking for _modff declaration... " >&6; }
62942   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62943     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62944   $as_echo_n "(cached) " >&6
62945 else
62946
62947
62948       ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953
62954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h.  */
62956 #include <math.h>
62957 int
62958 main ()
62959 {
62960  _modff(0, 0);
62961   ;
62962   return 0;
62963 }
62964 _ACEOF
62965 if ac_fn_cxx_try_compile "$LINENO"; then :
62966   glibcxx_cv_func__modff_use=yes
62967 else
62968   glibcxx_cv_func__modff_use=no
62969 fi
62970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62971       ac_ext=c
62972 ac_cpp='$CPP $CPPFLAGS'
62973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62976
62977
62978 fi
62979
62980   fi
62981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62982 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62983
62984     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62985       for ac_func in _modff
62986 do :
62987   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62988 if test "x$ac_cv_func__modff" = x""yes; then :
62989   cat >>confdefs.h <<_ACEOF
62990 #define HAVE__MODFF 1
62991 _ACEOF
62992
62993 fi
62994 done
62995
62996     fi
62997   fi
62998
62999
63000
63001
63002
63003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63004 $as_echo_n "checking for modf declaration... " >&6; }
63005   if test x${glibcxx_cv_func_modf_use+set} != xset; then
63006     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63007   $as_echo_n "(cached) " >&6
63008 else
63009
63010
63011       ac_ext=cpp
63012 ac_cpp='$CXXCPP $CPPFLAGS'
63013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63016
63017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63018 /* end confdefs.h.  */
63019 #include <math.h>
63020 int
63021 main ()
63022 {
63023  modf(0, 0);
63024   ;
63025   return 0;
63026 }
63027 _ACEOF
63028 if ac_fn_cxx_try_compile "$LINENO"; then :
63029   glibcxx_cv_func_modf_use=yes
63030 else
63031   glibcxx_cv_func_modf_use=no
63032 fi
63033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63034       ac_ext=c
63035 ac_cpp='$CPP $CPPFLAGS'
63036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63039
63040
63041 fi
63042
63043   fi
63044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63045 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63046
63047   if test x$glibcxx_cv_func_modf_use = x"yes"; then
63048     for ac_func in modf
63049 do :
63050   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63051 if test "x$ac_cv_func_modf" = x""yes; then :
63052   cat >>confdefs.h <<_ACEOF
63053 #define HAVE_MODF 1
63054 _ACEOF
63055
63056 fi
63057 done
63058
63059   else
63060
63061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63062 $as_echo_n "checking for _modf declaration... " >&6; }
63063   if test x${glibcxx_cv_func__modf_use+set} != xset; then
63064     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63065   $as_echo_n "(cached) " >&6
63066 else
63067
63068
63069       ac_ext=cpp
63070 ac_cpp='$CXXCPP $CPPFLAGS'
63071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63074
63075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63076 /* end confdefs.h.  */
63077 #include <math.h>
63078 int
63079 main ()
63080 {
63081  _modf(0, 0);
63082   ;
63083   return 0;
63084 }
63085 _ACEOF
63086 if ac_fn_cxx_try_compile "$LINENO"; then :
63087   glibcxx_cv_func__modf_use=yes
63088 else
63089   glibcxx_cv_func__modf_use=no
63090 fi
63091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63092       ac_ext=c
63093 ac_cpp='$CPP $CPPFLAGS'
63094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63097
63098
63099 fi
63100
63101   fi
63102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63103 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63104
63105     if test x$glibcxx_cv_func__modf_use = x"yes"; then
63106       for ac_func in _modf
63107 do :
63108   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63109 if test "x$ac_cv_func__modf" = x""yes; then :
63110   cat >>confdefs.h <<_ACEOF
63111 #define HAVE__MODF 1
63112 _ACEOF
63113
63114 fi
63115 done
63116
63117     fi
63118   fi
63119
63120
63121
63122
63123
63124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63125 $as_echo_n "checking for powf declaration... " >&6; }
63126   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63127     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63128   $as_echo_n "(cached) " >&6
63129 else
63130
63131
63132       ac_ext=cpp
63133 ac_cpp='$CXXCPP $CPPFLAGS'
63134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63137
63138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63139 /* end confdefs.h.  */
63140 #include <math.h>
63141 int
63142 main ()
63143 {
63144  powf(0, 0);
63145   ;
63146   return 0;
63147 }
63148 _ACEOF
63149 if ac_fn_cxx_try_compile "$LINENO"; then :
63150   glibcxx_cv_func_powf_use=yes
63151 else
63152   glibcxx_cv_func_powf_use=no
63153 fi
63154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63155       ac_ext=c
63156 ac_cpp='$CPP $CPPFLAGS'
63157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63160
63161
63162 fi
63163
63164   fi
63165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63166 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63167
63168   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63169     for ac_func in powf
63170 do :
63171   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63172 if test "x$ac_cv_func_powf" = x""yes; then :
63173   cat >>confdefs.h <<_ACEOF
63174 #define HAVE_POWF 1
63175 _ACEOF
63176
63177 fi
63178 done
63179
63180   else
63181
63182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63183 $as_echo_n "checking for _powf declaration... " >&6; }
63184   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63185     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63186   $as_echo_n "(cached) " >&6
63187 else
63188
63189
63190       ac_ext=cpp
63191 ac_cpp='$CXXCPP $CPPFLAGS'
63192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63195
63196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63197 /* end confdefs.h.  */
63198 #include <math.h>
63199 int
63200 main ()
63201 {
63202  _powf(0, 0);
63203   ;
63204   return 0;
63205 }
63206 _ACEOF
63207 if ac_fn_cxx_try_compile "$LINENO"; then :
63208   glibcxx_cv_func__powf_use=yes
63209 else
63210   glibcxx_cv_func__powf_use=no
63211 fi
63212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63213       ac_ext=c
63214 ac_cpp='$CPP $CPPFLAGS'
63215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63218
63219
63220 fi
63221
63222   fi
63223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63224 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63225
63226     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63227       for ac_func in _powf
63228 do :
63229   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63230 if test "x$ac_cv_func__powf" = x""yes; then :
63231   cat >>confdefs.h <<_ACEOF
63232 #define HAVE__POWF 1
63233 _ACEOF
63234
63235 fi
63236 done
63237
63238     fi
63239   fi
63240
63241
63242
63243
63244
63245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63246 $as_echo_n "checking for sqrtf declaration... " >&6; }
63247   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63248     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63249   $as_echo_n "(cached) " >&6
63250 else
63251
63252
63253       ac_ext=cpp
63254 ac_cpp='$CXXCPP $CPPFLAGS'
63255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63258
63259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63260 /* end confdefs.h.  */
63261 #include <math.h>
63262                       #ifdef HAVE_IEEEFP_H
63263                       #include <ieeefp.h>
63264                       #endif
63265
63266 int
63267 main ()
63268 {
63269  sqrtf(0);
63270   ;
63271   return 0;
63272 }
63273 _ACEOF
63274 if ac_fn_cxx_try_compile "$LINENO"; then :
63275   glibcxx_cv_func_sqrtf_use=yes
63276 else
63277   glibcxx_cv_func_sqrtf_use=no
63278 fi
63279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63280       ac_ext=c
63281 ac_cpp='$CPP $CPPFLAGS'
63282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63285
63286
63287 fi
63288
63289   fi
63290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63291 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63292
63293   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63294     for ac_func in sqrtf
63295 do :
63296   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63297 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63298   cat >>confdefs.h <<_ACEOF
63299 #define HAVE_SQRTF 1
63300 _ACEOF
63301
63302 fi
63303 done
63304
63305   else
63306
63307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63308 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63309   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63310     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63311   $as_echo_n "(cached) " >&6
63312 else
63313
63314
63315       ac_ext=cpp
63316 ac_cpp='$CXXCPP $CPPFLAGS'
63317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63320
63321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63322 /* end confdefs.h.  */
63323 #include <math.h>
63324                       #ifdef HAVE_IEEEFP_H
63325                       #include <ieeefp.h>
63326                       #endif
63327
63328 int
63329 main ()
63330 {
63331  _sqrtf(0);
63332   ;
63333   return 0;
63334 }
63335 _ACEOF
63336 if ac_fn_cxx_try_compile "$LINENO"; then :
63337   glibcxx_cv_func__sqrtf_use=yes
63338 else
63339   glibcxx_cv_func__sqrtf_use=no
63340 fi
63341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63342       ac_ext=c
63343 ac_cpp='$CPP $CPPFLAGS'
63344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63347
63348
63349 fi
63350
63351   fi
63352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63353 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63354
63355     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63356       for ac_func in _sqrtf
63357 do :
63358   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63359 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63360   cat >>confdefs.h <<_ACEOF
63361 #define HAVE__SQRTF 1
63362 _ACEOF
63363
63364 fi
63365 done
63366
63367     fi
63368   fi
63369
63370
63371
63372
63373
63374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63375 $as_echo_n "checking for sincosf declaration... " >&6; }
63376   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63377     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63378   $as_echo_n "(cached) " >&6
63379 else
63380
63381
63382       ac_ext=cpp
63383 ac_cpp='$CXXCPP $CPPFLAGS'
63384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63387
63388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63389 /* end confdefs.h.  */
63390 #include <math.h>
63391 int
63392 main ()
63393 {
63394  sincosf(0, 0, 0);
63395   ;
63396   return 0;
63397 }
63398 _ACEOF
63399 if ac_fn_cxx_try_compile "$LINENO"; then :
63400   glibcxx_cv_func_sincosf_use=yes
63401 else
63402   glibcxx_cv_func_sincosf_use=no
63403 fi
63404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63405       ac_ext=c
63406 ac_cpp='$CPP $CPPFLAGS'
63407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63410
63411
63412 fi
63413
63414   fi
63415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63416 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63417
63418   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63419     for ac_func in sincosf
63420 do :
63421   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63422 if test "x$ac_cv_func_sincosf" = x""yes; then :
63423   cat >>confdefs.h <<_ACEOF
63424 #define HAVE_SINCOSF 1
63425 _ACEOF
63426
63427 fi
63428 done
63429
63430   else
63431
63432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63433 $as_echo_n "checking for _sincosf declaration... " >&6; }
63434   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63435     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63436   $as_echo_n "(cached) " >&6
63437 else
63438
63439
63440       ac_ext=cpp
63441 ac_cpp='$CXXCPP $CPPFLAGS'
63442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63445
63446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63447 /* end confdefs.h.  */
63448 #include <math.h>
63449 int
63450 main ()
63451 {
63452  _sincosf(0, 0, 0);
63453   ;
63454   return 0;
63455 }
63456 _ACEOF
63457 if ac_fn_cxx_try_compile "$LINENO"; then :
63458   glibcxx_cv_func__sincosf_use=yes
63459 else
63460   glibcxx_cv_func__sincosf_use=no
63461 fi
63462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63463       ac_ext=c
63464 ac_cpp='$CPP $CPPFLAGS'
63465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63468
63469
63470 fi
63471
63472   fi
63473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63474 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63475
63476     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63477       for ac_func in _sincosf
63478 do :
63479   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63480 if test "x$ac_cv_func__sincosf" = x""yes; then :
63481   cat >>confdefs.h <<_ACEOF
63482 #define HAVE__SINCOSF 1
63483 _ACEOF
63484
63485 fi
63486 done
63487
63488     fi
63489   fi
63490
63491
63492
63493
63494
63495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63496 $as_echo_n "checking for finitef declaration... " >&6; }
63497   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63498     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63499   $as_echo_n "(cached) " >&6
63500 else
63501
63502
63503       ac_ext=cpp
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63508
63509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63510 /* end confdefs.h.  */
63511 #include <math.h>
63512                       #ifdef HAVE_IEEEFP_H
63513                       #include <ieeefp.h>
63514                       #endif
63515
63516 int
63517 main ()
63518 {
63519  finitef(0);
63520   ;
63521   return 0;
63522 }
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525   glibcxx_cv_func_finitef_use=yes
63526 else
63527   glibcxx_cv_func_finitef_use=no
63528 fi
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530       ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63535
63536
63537 fi
63538
63539   fi
63540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63541 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63542
63543   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63544     for ac_func in finitef
63545 do :
63546   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63547 if test "x$ac_cv_func_finitef" = x""yes; then :
63548   cat >>confdefs.h <<_ACEOF
63549 #define HAVE_FINITEF 1
63550 _ACEOF
63551
63552 fi
63553 done
63554
63555   else
63556
63557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63558 $as_echo_n "checking for _finitef declaration... " >&6; }
63559   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63560     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63561   $as_echo_n "(cached) " >&6
63562 else
63563
63564
63565       ac_ext=cpp
63566 ac_cpp='$CXXCPP $CPPFLAGS'
63567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63570
63571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63572 /* end confdefs.h.  */
63573 #include <math.h>
63574                       #ifdef HAVE_IEEEFP_H
63575                       #include <ieeefp.h>
63576                       #endif
63577
63578 int
63579 main ()
63580 {
63581  _finitef(0);
63582   ;
63583   return 0;
63584 }
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587   glibcxx_cv_func__finitef_use=yes
63588 else
63589   glibcxx_cv_func__finitef_use=no
63590 fi
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592       ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63597
63598
63599 fi
63600
63601   fi
63602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63603 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63604
63605     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63606       for ac_func in _finitef
63607 do :
63608   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63609 if test "x$ac_cv_func__finitef" = x""yes; then :
63610   cat >>confdefs.h <<_ACEOF
63611 #define HAVE__FINITEF 1
63612 _ACEOF
63613
63614 fi
63615 done
63616
63617     fi
63618   fi
63619
63620
63621
63622
63623
63624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63625 $as_echo_n "checking for long double trig functions... " >&6; }
63626   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63627   $as_echo_n "(cached) " >&6
63628 else
63629
63630
63631     ac_ext=cpp
63632 ac_cpp='$CXXCPP $CPPFLAGS'
63633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63636
63637     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63638 /* end confdefs.h.  */
63639 #include <math.h>
63640 int
63641 main ()
63642 {
63643 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63644   ;
63645   return 0;
63646 }
63647 _ACEOF
63648 if ac_fn_cxx_try_compile "$LINENO"; then :
63649   glibcxx_cv_func_long_double_trig_use=yes
63650 else
63651   glibcxx_cv_func_long_double_trig_use=no
63652 fi
63653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63654     ac_ext=c
63655 ac_cpp='$CPP $CPPFLAGS'
63656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659
63660 fi
63661
63662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63663 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63664   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63665     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63666 do :
63667   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63669 eval as_val=\$$as_ac_var
63670    if test "x$as_val" = x""yes; then :
63671   cat >>confdefs.h <<_ACEOF
63672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63673 _ACEOF
63674
63675 fi
63676 done
63677
63678   else
63679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63680 $as_echo_n "checking for _long double trig functions... " >&6; }
63681     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63682   $as_echo_n "(cached) " >&6
63683 else
63684
63685
63686       ac_ext=cpp
63687 ac_cpp='$CXXCPP $CPPFLAGS'
63688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63691
63692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63693 /* end confdefs.h.  */
63694 #include <math.h>
63695 int
63696 main ()
63697 {
63698 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63699   ;
63700   return 0;
63701 }
63702 _ACEOF
63703 if ac_fn_cxx_try_compile "$LINENO"; then :
63704   glibcxx_cv_func__long_double_trig_use=yes
63705 else
63706   glibcxx_cv_func__long_double_trig_use=no
63707 fi
63708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63709       ac_ext=c
63710 ac_cpp='$CPP $CPPFLAGS'
63711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63714
63715 fi
63716
63717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63718 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63719     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63720       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63721 do :
63722   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63724 eval as_val=\$$as_ac_var
63725    if test "x$as_val" = x""yes; then :
63726   cat >>confdefs.h <<_ACEOF
63727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63728 _ACEOF
63729
63730 fi
63731 done
63732
63733     fi
63734   fi
63735
63736
63737
63738
63739
63740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63741 $as_echo_n "checking for long double round functions... " >&6; }
63742   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63743   $as_echo_n "(cached) " >&6
63744 else
63745
63746
63747     ac_ext=cpp
63748 ac_cpp='$CXXCPP $CPPFLAGS'
63749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63752
63753     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63754 /* end confdefs.h.  */
63755 #include <math.h>
63756 int
63757 main ()
63758 {
63759 ceill (0); floorl (0);
63760   ;
63761   return 0;
63762 }
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765   glibcxx_cv_func_long_double_round_use=yes
63766 else
63767   glibcxx_cv_func_long_double_round_use=no
63768 fi
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770     ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63775
63776 fi
63777
63778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63779 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63780   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63781     for ac_func in ceill floorl
63782 do :
63783   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63785 eval as_val=\$$as_ac_var
63786    if test "x$as_val" = x""yes; then :
63787   cat >>confdefs.h <<_ACEOF
63788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63789 _ACEOF
63790
63791 fi
63792 done
63793
63794   else
63795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63796 $as_echo_n "checking for _long double round functions... " >&6; }
63797     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63798   $as_echo_n "(cached) " >&6
63799 else
63800
63801
63802       ac_ext=cpp
63803 ac_cpp='$CXXCPP $CPPFLAGS'
63804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63807
63808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h.  */
63810 #include <math.h>
63811 int
63812 main ()
63813 {
63814 _ceill (0); _floorl (0);
63815   ;
63816   return 0;
63817 }
63818 _ACEOF
63819 if ac_fn_cxx_try_compile "$LINENO"; then :
63820   glibcxx_cv_func__long_double_round_use=yes
63821 else
63822   glibcxx_cv_func__long_double_round_use=no
63823 fi
63824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63825       ac_ext=c
63826 ac_cpp='$CPP $CPPFLAGS'
63827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63830
63831 fi
63832
63833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63834 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63835     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63836       for ac_func in _ceill _floorl
63837 do :
63838   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63840 eval as_val=\$$as_ac_var
63841    if test "x$as_val" = x""yes; then :
63842   cat >>confdefs.h <<_ACEOF
63843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63844 _ACEOF
63845
63846 fi
63847 done
63848
63849     fi
63850   fi
63851
63852
63853
63854
63855
63856
63857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63858 $as_echo_n "checking for isnanl declaration... " >&6; }
63859   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63860     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63861   $as_echo_n "(cached) " >&6
63862 else
63863
63864
63865       ac_ext=cpp
63866 ac_cpp='$CXXCPP $CPPFLAGS'
63867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63870
63871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63872 /* end confdefs.h.  */
63873 #include <math.h>
63874                       #ifdef HAVE_IEEEFP_H
63875                       #include <ieeefp.h>
63876                       #endif
63877
63878 int
63879 main ()
63880 {
63881  isnanl(0);
63882   ;
63883   return 0;
63884 }
63885 _ACEOF
63886 if ac_fn_cxx_try_compile "$LINENO"; then :
63887   glibcxx_cv_func_isnanl_use=yes
63888 else
63889   glibcxx_cv_func_isnanl_use=no
63890 fi
63891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63892       ac_ext=c
63893 ac_cpp='$CPP $CPPFLAGS'
63894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63897
63898
63899 fi
63900
63901   fi
63902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63903 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63904
63905   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63906     for ac_func in isnanl
63907 do :
63908   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63909 if test "x$ac_cv_func_isnanl" = x""yes; then :
63910   cat >>confdefs.h <<_ACEOF
63911 #define HAVE_ISNANL 1
63912 _ACEOF
63913
63914 fi
63915 done
63916
63917   else
63918
63919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63920 $as_echo_n "checking for _isnanl declaration... " >&6; }
63921   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63922     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63923   $as_echo_n "(cached) " >&6
63924 else
63925
63926
63927       ac_ext=cpp
63928 ac_cpp='$CXXCPP $CPPFLAGS'
63929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63932
63933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63934 /* end confdefs.h.  */
63935 #include <math.h>
63936                       #ifdef HAVE_IEEEFP_H
63937                       #include <ieeefp.h>
63938                       #endif
63939
63940 int
63941 main ()
63942 {
63943  _isnanl(0);
63944   ;
63945   return 0;
63946 }
63947 _ACEOF
63948 if ac_fn_cxx_try_compile "$LINENO"; then :
63949   glibcxx_cv_func__isnanl_use=yes
63950 else
63951   glibcxx_cv_func__isnanl_use=no
63952 fi
63953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63954       ac_ext=c
63955 ac_cpp='$CPP $CPPFLAGS'
63956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63959
63960
63961 fi
63962
63963   fi
63964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63965 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63966
63967     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63968       for ac_func in _isnanl
63969 do :
63970   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63971 if test "x$ac_cv_func__isnanl" = x""yes; then :
63972   cat >>confdefs.h <<_ACEOF
63973 #define HAVE__ISNANL 1
63974 _ACEOF
63975
63976 fi
63977 done
63978
63979     fi
63980   fi
63981
63982
63983
63984
63985
63986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63987 $as_echo_n "checking for isinfl declaration... " >&6; }
63988   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63989     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63990   $as_echo_n "(cached) " >&6
63991 else
63992
63993
63994       ac_ext=cpp
63995 ac_cpp='$CXXCPP $CPPFLAGS'
63996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63999
64000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64001 /* end confdefs.h.  */
64002 #include <math.h>
64003                       #ifdef HAVE_IEEEFP_H
64004                       #include <ieeefp.h>
64005                       #endif
64006
64007 int
64008 main ()
64009 {
64010  isinfl(0);
64011   ;
64012   return 0;
64013 }
64014 _ACEOF
64015 if ac_fn_cxx_try_compile "$LINENO"; then :
64016   glibcxx_cv_func_isinfl_use=yes
64017 else
64018   glibcxx_cv_func_isinfl_use=no
64019 fi
64020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64021       ac_ext=c
64022 ac_cpp='$CPP $CPPFLAGS'
64023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64026
64027
64028 fi
64029
64030   fi
64031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64032 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64033
64034   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64035     for ac_func in isinfl
64036 do :
64037   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64038 if test "x$ac_cv_func_isinfl" = x""yes; then :
64039   cat >>confdefs.h <<_ACEOF
64040 #define HAVE_ISINFL 1
64041 _ACEOF
64042
64043 fi
64044 done
64045
64046   else
64047
64048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64049 $as_echo_n "checking for _isinfl declaration... " >&6; }
64050   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64051     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64052   $as_echo_n "(cached) " >&6
64053 else
64054
64055
64056       ac_ext=cpp
64057 ac_cpp='$CXXCPP $CPPFLAGS'
64058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64061
64062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64063 /* end confdefs.h.  */
64064 #include <math.h>
64065                       #ifdef HAVE_IEEEFP_H
64066                       #include <ieeefp.h>
64067                       #endif
64068
64069 int
64070 main ()
64071 {
64072  _isinfl(0);
64073   ;
64074   return 0;
64075 }
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078   glibcxx_cv_func__isinfl_use=yes
64079 else
64080   glibcxx_cv_func__isinfl_use=no
64081 fi
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083       ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64088
64089
64090 fi
64091
64092   fi
64093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64094 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64095
64096     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64097       for ac_func in _isinfl
64098 do :
64099   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64100 if test "x$ac_cv_func__isinfl" = x""yes; then :
64101   cat >>confdefs.h <<_ACEOF
64102 #define HAVE__ISINFL 1
64103 _ACEOF
64104
64105 fi
64106 done
64107
64108     fi
64109   fi
64110
64111
64112
64113
64114
64115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64116 $as_echo_n "checking for atan2l declaration... " >&6; }
64117   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64118     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64119   $as_echo_n "(cached) " >&6
64120 else
64121
64122
64123       ac_ext=cpp
64124 ac_cpp='$CXXCPP $CPPFLAGS'
64125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64128
64129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64130 /* end confdefs.h.  */
64131 #include <math.h>
64132 int
64133 main ()
64134 {
64135  atan2l(0, 0);
64136   ;
64137   return 0;
64138 }
64139 _ACEOF
64140 if ac_fn_cxx_try_compile "$LINENO"; then :
64141   glibcxx_cv_func_atan2l_use=yes
64142 else
64143   glibcxx_cv_func_atan2l_use=no
64144 fi
64145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64146       ac_ext=c
64147 ac_cpp='$CPP $CPPFLAGS'
64148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64151
64152
64153 fi
64154
64155   fi
64156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64157 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64158
64159   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64160     for ac_func in atan2l
64161 do :
64162   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64163 if test "x$ac_cv_func_atan2l" = x""yes; then :
64164   cat >>confdefs.h <<_ACEOF
64165 #define HAVE_ATAN2L 1
64166 _ACEOF
64167
64168 fi
64169 done
64170
64171   else
64172
64173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64174 $as_echo_n "checking for _atan2l declaration... " >&6; }
64175   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64176     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64177   $as_echo_n "(cached) " >&6
64178 else
64179
64180
64181       ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64186
64187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h.  */
64189 #include <math.h>
64190 int
64191 main ()
64192 {
64193  _atan2l(0, 0);
64194   ;
64195   return 0;
64196 }
64197 _ACEOF
64198 if ac_fn_cxx_try_compile "$LINENO"; then :
64199   glibcxx_cv_func__atan2l_use=yes
64200 else
64201   glibcxx_cv_func__atan2l_use=no
64202 fi
64203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64204       ac_ext=c
64205 ac_cpp='$CPP $CPPFLAGS'
64206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64209
64210
64211 fi
64212
64213   fi
64214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64215 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64216
64217     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64218       for ac_func in _atan2l
64219 do :
64220   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64221 if test "x$ac_cv_func__atan2l" = x""yes; then :
64222   cat >>confdefs.h <<_ACEOF
64223 #define HAVE__ATAN2L 1
64224 _ACEOF
64225
64226 fi
64227 done
64228
64229     fi
64230   fi
64231
64232
64233
64234
64235
64236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64237 $as_echo_n "checking for expl declaration... " >&6; }
64238   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64239     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64240   $as_echo_n "(cached) " >&6
64241 else
64242
64243
64244       ac_ext=cpp
64245 ac_cpp='$CXXCPP $CPPFLAGS'
64246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64249
64250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64251 /* end confdefs.h.  */
64252 #include <math.h>
64253                       #ifdef HAVE_IEEEFP_H
64254                       #include <ieeefp.h>
64255                       #endif
64256
64257 int
64258 main ()
64259 {
64260  expl(0);
64261   ;
64262   return 0;
64263 }
64264 _ACEOF
64265 if ac_fn_cxx_try_compile "$LINENO"; then :
64266   glibcxx_cv_func_expl_use=yes
64267 else
64268   glibcxx_cv_func_expl_use=no
64269 fi
64270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64271       ac_ext=c
64272 ac_cpp='$CPP $CPPFLAGS'
64273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64276
64277
64278 fi
64279
64280   fi
64281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64282 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64283
64284   if test x$glibcxx_cv_func_expl_use = x"yes"; then
64285     for ac_func in expl
64286 do :
64287   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64288 if test "x$ac_cv_func_expl" = x""yes; then :
64289   cat >>confdefs.h <<_ACEOF
64290 #define HAVE_EXPL 1
64291 _ACEOF
64292
64293 fi
64294 done
64295
64296   else
64297
64298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64299 $as_echo_n "checking for _expl declaration... " >&6; }
64300   if test x${glibcxx_cv_func__expl_use+set} != xset; then
64301     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64302   $as_echo_n "(cached) " >&6
64303 else
64304
64305
64306       ac_ext=cpp
64307 ac_cpp='$CXXCPP $CPPFLAGS'
64308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64311
64312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64313 /* end confdefs.h.  */
64314 #include <math.h>
64315                       #ifdef HAVE_IEEEFP_H
64316                       #include <ieeefp.h>
64317                       #endif
64318
64319 int
64320 main ()
64321 {
64322  _expl(0);
64323   ;
64324   return 0;
64325 }
64326 _ACEOF
64327 if ac_fn_cxx_try_compile "$LINENO"; then :
64328   glibcxx_cv_func__expl_use=yes
64329 else
64330   glibcxx_cv_func__expl_use=no
64331 fi
64332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64333       ac_ext=c
64334 ac_cpp='$CPP $CPPFLAGS'
64335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64338
64339
64340 fi
64341
64342   fi
64343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64344 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64345
64346     if test x$glibcxx_cv_func__expl_use = x"yes"; then
64347       for ac_func in _expl
64348 do :
64349   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64350 if test "x$ac_cv_func__expl" = x""yes; then :
64351   cat >>confdefs.h <<_ACEOF
64352 #define HAVE__EXPL 1
64353 _ACEOF
64354
64355 fi
64356 done
64357
64358     fi
64359   fi
64360
64361
64362
64363
64364
64365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64366 $as_echo_n "checking for fabsl declaration... " >&6; }
64367   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64368     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64369   $as_echo_n "(cached) " >&6
64370 else
64371
64372
64373       ac_ext=cpp
64374 ac_cpp='$CXXCPP $CPPFLAGS'
64375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64378
64379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64380 /* end confdefs.h.  */
64381 #include <math.h>
64382                       #ifdef HAVE_IEEEFP_H
64383                       #include <ieeefp.h>
64384                       #endif
64385
64386 int
64387 main ()
64388 {
64389  fabsl(0);
64390   ;
64391   return 0;
64392 }
64393 _ACEOF
64394 if ac_fn_cxx_try_compile "$LINENO"; then :
64395   glibcxx_cv_func_fabsl_use=yes
64396 else
64397   glibcxx_cv_func_fabsl_use=no
64398 fi
64399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64400       ac_ext=c
64401 ac_cpp='$CPP $CPPFLAGS'
64402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64405
64406
64407 fi
64408
64409   fi
64410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64411 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64412
64413   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64414     for ac_func in fabsl
64415 do :
64416   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64417 if test "x$ac_cv_func_fabsl" = x""yes; then :
64418   cat >>confdefs.h <<_ACEOF
64419 #define HAVE_FABSL 1
64420 _ACEOF
64421
64422 fi
64423 done
64424
64425   else
64426
64427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64428 $as_echo_n "checking for _fabsl declaration... " >&6; }
64429   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64430     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64431   $as_echo_n "(cached) " >&6
64432 else
64433
64434
64435       ac_ext=cpp
64436 ac_cpp='$CXXCPP $CPPFLAGS'
64437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64440
64441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64442 /* end confdefs.h.  */
64443 #include <math.h>
64444                       #ifdef HAVE_IEEEFP_H
64445                       #include <ieeefp.h>
64446                       #endif
64447
64448 int
64449 main ()
64450 {
64451  _fabsl(0);
64452   ;
64453   return 0;
64454 }
64455 _ACEOF
64456 if ac_fn_cxx_try_compile "$LINENO"; then :
64457   glibcxx_cv_func__fabsl_use=yes
64458 else
64459   glibcxx_cv_func__fabsl_use=no
64460 fi
64461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64462       ac_ext=c
64463 ac_cpp='$CPP $CPPFLAGS'
64464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64467
64468
64469 fi
64470
64471   fi
64472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64473 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64474
64475     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64476       for ac_func in _fabsl
64477 do :
64478   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64479 if test "x$ac_cv_func__fabsl" = x""yes; then :
64480   cat >>confdefs.h <<_ACEOF
64481 #define HAVE__FABSL 1
64482 _ACEOF
64483
64484 fi
64485 done
64486
64487     fi
64488   fi
64489
64490
64491
64492
64493
64494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64495 $as_echo_n "checking for fmodl declaration... " >&6; }
64496   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64497     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64498   $as_echo_n "(cached) " >&6
64499 else
64500
64501
64502       ac_ext=cpp
64503 ac_cpp='$CXXCPP $CPPFLAGS'
64504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64507
64508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64509 /* end confdefs.h.  */
64510 #include <math.h>
64511 int
64512 main ()
64513 {
64514  fmodl(0, 0);
64515   ;
64516   return 0;
64517 }
64518 _ACEOF
64519 if ac_fn_cxx_try_compile "$LINENO"; then :
64520   glibcxx_cv_func_fmodl_use=yes
64521 else
64522   glibcxx_cv_func_fmodl_use=no
64523 fi
64524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64525       ac_ext=c
64526 ac_cpp='$CPP $CPPFLAGS'
64527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64530
64531
64532 fi
64533
64534   fi
64535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64536 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64537
64538   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64539     for ac_func in fmodl
64540 do :
64541   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64542 if test "x$ac_cv_func_fmodl" = x""yes; then :
64543   cat >>confdefs.h <<_ACEOF
64544 #define HAVE_FMODL 1
64545 _ACEOF
64546
64547 fi
64548 done
64549
64550   else
64551
64552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64553 $as_echo_n "checking for _fmodl declaration... " >&6; }
64554   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64555     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64556   $as_echo_n "(cached) " >&6
64557 else
64558
64559
64560       ac_ext=cpp
64561 ac_cpp='$CXXCPP $CPPFLAGS'
64562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64565
64566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64567 /* end confdefs.h.  */
64568 #include <math.h>
64569 int
64570 main ()
64571 {
64572  _fmodl(0, 0);
64573   ;
64574   return 0;
64575 }
64576 _ACEOF
64577 if ac_fn_cxx_try_compile "$LINENO"; then :
64578   glibcxx_cv_func__fmodl_use=yes
64579 else
64580   glibcxx_cv_func__fmodl_use=no
64581 fi
64582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64583       ac_ext=c
64584 ac_cpp='$CPP $CPPFLAGS'
64585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64588
64589
64590 fi
64591
64592   fi
64593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64594 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64595
64596     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64597       for ac_func in _fmodl
64598 do :
64599   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64600 if test "x$ac_cv_func__fmodl" = x""yes; then :
64601   cat >>confdefs.h <<_ACEOF
64602 #define HAVE__FMODL 1
64603 _ACEOF
64604
64605 fi
64606 done
64607
64608     fi
64609   fi
64610
64611
64612
64613
64614
64615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64616 $as_echo_n "checking for frexpl declaration... " >&6; }
64617   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64618     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64619   $as_echo_n "(cached) " >&6
64620 else
64621
64622
64623       ac_ext=cpp
64624 ac_cpp='$CXXCPP $CPPFLAGS'
64625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64628
64629       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64630 /* end confdefs.h.  */
64631 #include <math.h>
64632 int
64633 main ()
64634 {
64635  frexpl(0, 0);
64636   ;
64637   return 0;
64638 }
64639 _ACEOF
64640 if ac_fn_cxx_try_compile "$LINENO"; then :
64641   glibcxx_cv_func_frexpl_use=yes
64642 else
64643   glibcxx_cv_func_frexpl_use=no
64644 fi
64645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64646       ac_ext=c
64647 ac_cpp='$CPP $CPPFLAGS'
64648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64651
64652
64653 fi
64654
64655   fi
64656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64657 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64658
64659   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64660     for ac_func in frexpl
64661 do :
64662   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64663 if test "x$ac_cv_func_frexpl" = x""yes; then :
64664   cat >>confdefs.h <<_ACEOF
64665 #define HAVE_FREXPL 1
64666 _ACEOF
64667
64668 fi
64669 done
64670
64671   else
64672
64673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64674 $as_echo_n "checking for _frexpl declaration... " >&6; }
64675   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64676     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64677   $as_echo_n "(cached) " >&6
64678 else
64679
64680
64681       ac_ext=cpp
64682 ac_cpp='$CXXCPP $CPPFLAGS'
64683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64686
64687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64688 /* end confdefs.h.  */
64689 #include <math.h>
64690 int
64691 main ()
64692 {
64693  _frexpl(0, 0);
64694   ;
64695   return 0;
64696 }
64697 _ACEOF
64698 if ac_fn_cxx_try_compile "$LINENO"; then :
64699   glibcxx_cv_func__frexpl_use=yes
64700 else
64701   glibcxx_cv_func__frexpl_use=no
64702 fi
64703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64704       ac_ext=c
64705 ac_cpp='$CPP $CPPFLAGS'
64706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64709
64710
64711 fi
64712
64713   fi
64714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64715 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64716
64717     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64718       for ac_func in _frexpl
64719 do :
64720   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64721 if test "x$ac_cv_func__frexpl" = x""yes; then :
64722   cat >>confdefs.h <<_ACEOF
64723 #define HAVE__FREXPL 1
64724 _ACEOF
64725
64726 fi
64727 done
64728
64729     fi
64730   fi
64731
64732
64733
64734
64735
64736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64737 $as_echo_n "checking for hypotl declaration... " >&6; }
64738   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64739     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64740   $as_echo_n "(cached) " >&6
64741 else
64742
64743
64744       ac_ext=cpp
64745 ac_cpp='$CXXCPP $CPPFLAGS'
64746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64749
64750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64751 /* end confdefs.h.  */
64752 #include <math.h>
64753 int
64754 main ()
64755 {
64756  hypotl(0, 0);
64757   ;
64758   return 0;
64759 }
64760 _ACEOF
64761 if ac_fn_cxx_try_compile "$LINENO"; then :
64762   glibcxx_cv_func_hypotl_use=yes
64763 else
64764   glibcxx_cv_func_hypotl_use=no
64765 fi
64766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64767       ac_ext=c
64768 ac_cpp='$CPP $CPPFLAGS'
64769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64772
64773
64774 fi
64775
64776   fi
64777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64778 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64779
64780   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64781     for ac_func in hypotl
64782 do :
64783   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64784 if test "x$ac_cv_func_hypotl" = x""yes; then :
64785   cat >>confdefs.h <<_ACEOF
64786 #define HAVE_HYPOTL 1
64787 _ACEOF
64788
64789 fi
64790 done
64791
64792   else
64793
64794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64795 $as_echo_n "checking for _hypotl declaration... " >&6; }
64796   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64797     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64798   $as_echo_n "(cached) " >&6
64799 else
64800
64801
64802       ac_ext=cpp
64803 ac_cpp='$CXXCPP $CPPFLAGS'
64804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64807
64808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64809 /* end confdefs.h.  */
64810 #include <math.h>
64811 int
64812 main ()
64813 {
64814  _hypotl(0, 0);
64815   ;
64816   return 0;
64817 }
64818 _ACEOF
64819 if ac_fn_cxx_try_compile "$LINENO"; then :
64820   glibcxx_cv_func__hypotl_use=yes
64821 else
64822   glibcxx_cv_func__hypotl_use=no
64823 fi
64824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64825       ac_ext=c
64826 ac_cpp='$CPP $CPPFLAGS'
64827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64830
64831
64832 fi
64833
64834   fi
64835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64836 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64837
64838     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64839       for ac_func in _hypotl
64840 do :
64841   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64842 if test "x$ac_cv_func__hypotl" = x""yes; then :
64843   cat >>confdefs.h <<_ACEOF
64844 #define HAVE__HYPOTL 1
64845 _ACEOF
64846
64847 fi
64848 done
64849
64850     fi
64851   fi
64852
64853
64854
64855
64856
64857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64858 $as_echo_n "checking for ldexpl declaration... " >&6; }
64859   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64860     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64861   $as_echo_n "(cached) " >&6
64862 else
64863
64864
64865       ac_ext=cpp
64866 ac_cpp='$CXXCPP $CPPFLAGS'
64867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64870
64871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64872 /* end confdefs.h.  */
64873 #include <math.h>
64874 int
64875 main ()
64876 {
64877  ldexpl(0, 0);
64878   ;
64879   return 0;
64880 }
64881 _ACEOF
64882 if ac_fn_cxx_try_compile "$LINENO"; then :
64883   glibcxx_cv_func_ldexpl_use=yes
64884 else
64885   glibcxx_cv_func_ldexpl_use=no
64886 fi
64887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64888       ac_ext=c
64889 ac_cpp='$CPP $CPPFLAGS'
64890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64893
64894
64895 fi
64896
64897   fi
64898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64899 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64900
64901   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64902     for ac_func in ldexpl
64903 do :
64904   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64905 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64906   cat >>confdefs.h <<_ACEOF
64907 #define HAVE_LDEXPL 1
64908 _ACEOF
64909
64910 fi
64911 done
64912
64913   else
64914
64915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64916 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64917   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64918     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64919   $as_echo_n "(cached) " >&6
64920 else
64921
64922
64923       ac_ext=cpp
64924 ac_cpp='$CXXCPP $CPPFLAGS'
64925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64928
64929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64930 /* end confdefs.h.  */
64931 #include <math.h>
64932 int
64933 main ()
64934 {
64935  _ldexpl(0, 0);
64936   ;
64937   return 0;
64938 }
64939 _ACEOF
64940 if ac_fn_cxx_try_compile "$LINENO"; then :
64941   glibcxx_cv_func__ldexpl_use=yes
64942 else
64943   glibcxx_cv_func__ldexpl_use=no
64944 fi
64945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64946       ac_ext=c
64947 ac_cpp='$CPP $CPPFLAGS'
64948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64951
64952
64953 fi
64954
64955   fi
64956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64957 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64958
64959     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64960       for ac_func in _ldexpl
64961 do :
64962   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64963 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64964   cat >>confdefs.h <<_ACEOF
64965 #define HAVE__LDEXPL 1
64966 _ACEOF
64967
64968 fi
64969 done
64970
64971     fi
64972   fi
64973
64974
64975
64976
64977
64978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64979 $as_echo_n "checking for logl declaration... " >&6; }
64980   if test x${glibcxx_cv_func_logl_use+set} != xset; then
64981     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64982   $as_echo_n "(cached) " >&6
64983 else
64984
64985
64986       ac_ext=cpp
64987 ac_cpp='$CXXCPP $CPPFLAGS'
64988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64991
64992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64993 /* end confdefs.h.  */
64994 #include <math.h>
64995                       #ifdef HAVE_IEEEFP_H
64996                       #include <ieeefp.h>
64997                       #endif
64998
64999 int
65000 main ()
65001 {
65002  logl(0);
65003   ;
65004   return 0;
65005 }
65006 _ACEOF
65007 if ac_fn_cxx_try_compile "$LINENO"; then :
65008   glibcxx_cv_func_logl_use=yes
65009 else
65010   glibcxx_cv_func_logl_use=no
65011 fi
65012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65013       ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65018
65019
65020 fi
65021
65022   fi
65023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65024 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65025
65026   if test x$glibcxx_cv_func_logl_use = x"yes"; then
65027     for ac_func in logl
65028 do :
65029   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65030 if test "x$ac_cv_func_logl" = x""yes; then :
65031   cat >>confdefs.h <<_ACEOF
65032 #define HAVE_LOGL 1
65033 _ACEOF
65034
65035 fi
65036 done
65037
65038   else
65039
65040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65041 $as_echo_n "checking for _logl declaration... " >&6; }
65042   if test x${glibcxx_cv_func__logl_use+set} != xset; then
65043     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65044   $as_echo_n "(cached) " >&6
65045 else
65046
65047
65048       ac_ext=cpp
65049 ac_cpp='$CXXCPP $CPPFLAGS'
65050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65053
65054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65055 /* end confdefs.h.  */
65056 #include <math.h>
65057                       #ifdef HAVE_IEEEFP_H
65058                       #include <ieeefp.h>
65059                       #endif
65060
65061 int
65062 main ()
65063 {
65064  _logl(0);
65065   ;
65066   return 0;
65067 }
65068 _ACEOF
65069 if ac_fn_cxx_try_compile "$LINENO"; then :
65070   glibcxx_cv_func__logl_use=yes
65071 else
65072   glibcxx_cv_func__logl_use=no
65073 fi
65074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65075       ac_ext=c
65076 ac_cpp='$CPP $CPPFLAGS'
65077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65080
65081
65082 fi
65083
65084   fi
65085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65086 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65087
65088     if test x$glibcxx_cv_func__logl_use = x"yes"; then
65089       for ac_func in _logl
65090 do :
65091   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65092 if test "x$ac_cv_func__logl" = x""yes; then :
65093   cat >>confdefs.h <<_ACEOF
65094 #define HAVE__LOGL 1
65095 _ACEOF
65096
65097 fi
65098 done
65099
65100     fi
65101   fi
65102
65103
65104
65105
65106
65107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65108 $as_echo_n "checking for log10l declaration... " >&6; }
65109   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65110     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65111   $as_echo_n "(cached) " >&6
65112 else
65113
65114
65115       ac_ext=cpp
65116 ac_cpp='$CXXCPP $CPPFLAGS'
65117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65120
65121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65122 /* end confdefs.h.  */
65123 #include <math.h>
65124                       #ifdef HAVE_IEEEFP_H
65125                       #include <ieeefp.h>
65126                       #endif
65127
65128 int
65129 main ()
65130 {
65131  log10l(0);
65132   ;
65133   return 0;
65134 }
65135 _ACEOF
65136 if ac_fn_cxx_try_compile "$LINENO"; then :
65137   glibcxx_cv_func_log10l_use=yes
65138 else
65139   glibcxx_cv_func_log10l_use=no
65140 fi
65141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65142       ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65147
65148
65149 fi
65150
65151   fi
65152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65153 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65154
65155   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65156     for ac_func in log10l
65157 do :
65158   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65159 if test "x$ac_cv_func_log10l" = x""yes; then :
65160   cat >>confdefs.h <<_ACEOF
65161 #define HAVE_LOG10L 1
65162 _ACEOF
65163
65164 fi
65165 done
65166
65167   else
65168
65169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65170 $as_echo_n "checking for _log10l declaration... " >&6; }
65171   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65172     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65173   $as_echo_n "(cached) " >&6
65174 else
65175
65176
65177       ac_ext=cpp
65178 ac_cpp='$CXXCPP $CPPFLAGS'
65179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65182
65183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65184 /* end confdefs.h.  */
65185 #include <math.h>
65186                       #ifdef HAVE_IEEEFP_H
65187                       #include <ieeefp.h>
65188                       #endif
65189
65190 int
65191 main ()
65192 {
65193  _log10l(0);
65194   ;
65195   return 0;
65196 }
65197 _ACEOF
65198 if ac_fn_cxx_try_compile "$LINENO"; then :
65199   glibcxx_cv_func__log10l_use=yes
65200 else
65201   glibcxx_cv_func__log10l_use=no
65202 fi
65203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65204       ac_ext=c
65205 ac_cpp='$CPP $CPPFLAGS'
65206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65209
65210
65211 fi
65212
65213   fi
65214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65215 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65216
65217     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65218       for ac_func in _log10l
65219 do :
65220   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65221 if test "x$ac_cv_func__log10l" = x""yes; then :
65222   cat >>confdefs.h <<_ACEOF
65223 #define HAVE__LOG10L 1
65224 _ACEOF
65225
65226 fi
65227 done
65228
65229     fi
65230   fi
65231
65232
65233
65234
65235
65236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65237 $as_echo_n "checking for modfl declaration... " >&6; }
65238   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65239     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65240   $as_echo_n "(cached) " >&6
65241 else
65242
65243
65244       ac_ext=cpp
65245 ac_cpp='$CXXCPP $CPPFLAGS'
65246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65249
65250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65251 /* end confdefs.h.  */
65252 #include <math.h>
65253 int
65254 main ()
65255 {
65256  modfl(0, 0);
65257   ;
65258   return 0;
65259 }
65260 _ACEOF
65261 if ac_fn_cxx_try_compile "$LINENO"; then :
65262   glibcxx_cv_func_modfl_use=yes
65263 else
65264   glibcxx_cv_func_modfl_use=no
65265 fi
65266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65267       ac_ext=c
65268 ac_cpp='$CPP $CPPFLAGS'
65269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65272
65273
65274 fi
65275
65276   fi
65277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65278 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65279
65280   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65281     for ac_func in modfl
65282 do :
65283   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65284 if test "x$ac_cv_func_modfl" = x""yes; then :
65285   cat >>confdefs.h <<_ACEOF
65286 #define HAVE_MODFL 1
65287 _ACEOF
65288
65289 fi
65290 done
65291
65292   else
65293
65294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65295 $as_echo_n "checking for _modfl declaration... " >&6; }
65296   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65297     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65298   $as_echo_n "(cached) " >&6
65299 else
65300
65301
65302       ac_ext=cpp
65303 ac_cpp='$CXXCPP $CPPFLAGS'
65304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65307
65308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65309 /* end confdefs.h.  */
65310 #include <math.h>
65311 int
65312 main ()
65313 {
65314  _modfl(0, 0);
65315   ;
65316   return 0;
65317 }
65318 _ACEOF
65319 if ac_fn_cxx_try_compile "$LINENO"; then :
65320   glibcxx_cv_func__modfl_use=yes
65321 else
65322   glibcxx_cv_func__modfl_use=no
65323 fi
65324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65325       ac_ext=c
65326 ac_cpp='$CPP $CPPFLAGS'
65327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65330
65331
65332 fi
65333
65334   fi
65335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65336 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65337
65338     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65339       for ac_func in _modfl
65340 do :
65341   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65342 if test "x$ac_cv_func__modfl" = x""yes; then :
65343   cat >>confdefs.h <<_ACEOF
65344 #define HAVE__MODFL 1
65345 _ACEOF
65346
65347 fi
65348 done
65349
65350     fi
65351   fi
65352
65353
65354
65355
65356
65357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65358 $as_echo_n "checking for powl declaration... " >&6; }
65359   if test x${glibcxx_cv_func_powl_use+set} != xset; then
65360     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65361   $as_echo_n "(cached) " >&6
65362 else
65363
65364
65365       ac_ext=cpp
65366 ac_cpp='$CXXCPP $CPPFLAGS'
65367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65370
65371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65372 /* end confdefs.h.  */
65373 #include <math.h>
65374 int
65375 main ()
65376 {
65377  powl(0, 0);
65378   ;
65379   return 0;
65380 }
65381 _ACEOF
65382 if ac_fn_cxx_try_compile "$LINENO"; then :
65383   glibcxx_cv_func_powl_use=yes
65384 else
65385   glibcxx_cv_func_powl_use=no
65386 fi
65387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65388       ac_ext=c
65389 ac_cpp='$CPP $CPPFLAGS'
65390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65393
65394
65395 fi
65396
65397   fi
65398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65399 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65400
65401   if test x$glibcxx_cv_func_powl_use = x"yes"; then
65402     for ac_func in powl
65403 do :
65404   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65405 if test "x$ac_cv_func_powl" = x""yes; then :
65406   cat >>confdefs.h <<_ACEOF
65407 #define HAVE_POWL 1
65408 _ACEOF
65409
65410 fi
65411 done
65412
65413   else
65414
65415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65416 $as_echo_n "checking for _powl declaration... " >&6; }
65417   if test x${glibcxx_cv_func__powl_use+set} != xset; then
65418     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65419   $as_echo_n "(cached) " >&6
65420 else
65421
65422
65423       ac_ext=cpp
65424 ac_cpp='$CXXCPP $CPPFLAGS'
65425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65428
65429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65430 /* end confdefs.h.  */
65431 #include <math.h>
65432 int
65433 main ()
65434 {
65435  _powl(0, 0);
65436   ;
65437   return 0;
65438 }
65439 _ACEOF
65440 if ac_fn_cxx_try_compile "$LINENO"; then :
65441   glibcxx_cv_func__powl_use=yes
65442 else
65443   glibcxx_cv_func__powl_use=no
65444 fi
65445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65446       ac_ext=c
65447 ac_cpp='$CPP $CPPFLAGS'
65448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65451
65452
65453 fi
65454
65455   fi
65456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65457 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65458
65459     if test x$glibcxx_cv_func__powl_use = x"yes"; then
65460       for ac_func in _powl
65461 do :
65462   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65463 if test "x$ac_cv_func__powl" = x""yes; then :
65464   cat >>confdefs.h <<_ACEOF
65465 #define HAVE__POWL 1
65466 _ACEOF
65467
65468 fi
65469 done
65470
65471     fi
65472   fi
65473
65474
65475
65476
65477
65478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65479 $as_echo_n "checking for sqrtl declaration... " >&6; }
65480   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65481     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65482   $as_echo_n "(cached) " >&6
65483 else
65484
65485
65486       ac_ext=cpp
65487 ac_cpp='$CXXCPP $CPPFLAGS'
65488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65491
65492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65493 /* end confdefs.h.  */
65494 #include <math.h>
65495                       #ifdef HAVE_IEEEFP_H
65496                       #include <ieeefp.h>
65497                       #endif
65498
65499 int
65500 main ()
65501 {
65502  sqrtl(0);
65503   ;
65504   return 0;
65505 }
65506 _ACEOF
65507 if ac_fn_cxx_try_compile "$LINENO"; then :
65508   glibcxx_cv_func_sqrtl_use=yes
65509 else
65510   glibcxx_cv_func_sqrtl_use=no
65511 fi
65512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65513       ac_ext=c
65514 ac_cpp='$CPP $CPPFLAGS'
65515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65518
65519
65520 fi
65521
65522   fi
65523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65524 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65525
65526   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65527     for ac_func in sqrtl
65528 do :
65529   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65530 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65531   cat >>confdefs.h <<_ACEOF
65532 #define HAVE_SQRTL 1
65533 _ACEOF
65534
65535 fi
65536 done
65537
65538   else
65539
65540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65541 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65542   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65543     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65544   $as_echo_n "(cached) " >&6
65545 else
65546
65547
65548       ac_ext=cpp
65549 ac_cpp='$CXXCPP $CPPFLAGS'
65550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65553
65554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65555 /* end confdefs.h.  */
65556 #include <math.h>
65557                       #ifdef HAVE_IEEEFP_H
65558                       #include <ieeefp.h>
65559                       #endif
65560
65561 int
65562 main ()
65563 {
65564  _sqrtl(0);
65565   ;
65566   return 0;
65567 }
65568 _ACEOF
65569 if ac_fn_cxx_try_compile "$LINENO"; then :
65570   glibcxx_cv_func__sqrtl_use=yes
65571 else
65572   glibcxx_cv_func__sqrtl_use=no
65573 fi
65574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65575       ac_ext=c
65576 ac_cpp='$CPP $CPPFLAGS'
65577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65580
65581
65582 fi
65583
65584   fi
65585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65586 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65587
65588     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65589       for ac_func in _sqrtl
65590 do :
65591   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65592 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65593   cat >>confdefs.h <<_ACEOF
65594 #define HAVE__SQRTL 1
65595 _ACEOF
65596
65597 fi
65598 done
65599
65600     fi
65601   fi
65602
65603
65604
65605
65606
65607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65608 $as_echo_n "checking for sincosl declaration... " >&6; }
65609   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65610     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65611   $as_echo_n "(cached) " >&6
65612 else
65613
65614
65615       ac_ext=cpp
65616 ac_cpp='$CXXCPP $CPPFLAGS'
65617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65620
65621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65622 /* end confdefs.h.  */
65623 #include <math.h>
65624 int
65625 main ()
65626 {
65627  sincosl(0, 0, 0);
65628   ;
65629   return 0;
65630 }
65631 _ACEOF
65632 if ac_fn_cxx_try_compile "$LINENO"; then :
65633   glibcxx_cv_func_sincosl_use=yes
65634 else
65635   glibcxx_cv_func_sincosl_use=no
65636 fi
65637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65638       ac_ext=c
65639 ac_cpp='$CPP $CPPFLAGS'
65640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65643
65644
65645 fi
65646
65647   fi
65648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65649 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65650
65651   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65652     for ac_func in sincosl
65653 do :
65654   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65655 if test "x$ac_cv_func_sincosl" = x""yes; then :
65656   cat >>confdefs.h <<_ACEOF
65657 #define HAVE_SINCOSL 1
65658 _ACEOF
65659
65660 fi
65661 done
65662
65663   else
65664
65665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65666 $as_echo_n "checking for _sincosl declaration... " >&6; }
65667   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65668     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65669   $as_echo_n "(cached) " >&6
65670 else
65671
65672
65673       ac_ext=cpp
65674 ac_cpp='$CXXCPP $CPPFLAGS'
65675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65678
65679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65680 /* end confdefs.h.  */
65681 #include <math.h>
65682 int
65683 main ()
65684 {
65685  _sincosl(0, 0, 0);
65686   ;
65687   return 0;
65688 }
65689 _ACEOF
65690 if ac_fn_cxx_try_compile "$LINENO"; then :
65691   glibcxx_cv_func__sincosl_use=yes
65692 else
65693   glibcxx_cv_func__sincosl_use=no
65694 fi
65695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65696       ac_ext=c
65697 ac_cpp='$CPP $CPPFLAGS'
65698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65701
65702
65703 fi
65704
65705   fi
65706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65707 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65708
65709     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65710       for ac_func in _sincosl
65711 do :
65712   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65713 if test "x$ac_cv_func__sincosl" = x""yes; then :
65714   cat >>confdefs.h <<_ACEOF
65715 #define HAVE__SINCOSL 1
65716 _ACEOF
65717
65718 fi
65719 done
65720
65721     fi
65722   fi
65723
65724
65725
65726
65727
65728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65729 $as_echo_n "checking for finitel declaration... " >&6; }
65730   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65731     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65732   $as_echo_n "(cached) " >&6
65733 else
65734
65735
65736       ac_ext=cpp
65737 ac_cpp='$CXXCPP $CPPFLAGS'
65738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65741
65742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65743 /* end confdefs.h.  */
65744 #include <math.h>
65745                       #ifdef HAVE_IEEEFP_H
65746                       #include <ieeefp.h>
65747                       #endif
65748
65749 int
65750 main ()
65751 {
65752  finitel(0);
65753   ;
65754   return 0;
65755 }
65756 _ACEOF
65757 if ac_fn_cxx_try_compile "$LINENO"; then :
65758   glibcxx_cv_func_finitel_use=yes
65759 else
65760   glibcxx_cv_func_finitel_use=no
65761 fi
65762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65763       ac_ext=c
65764 ac_cpp='$CPP $CPPFLAGS'
65765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65768
65769
65770 fi
65771
65772   fi
65773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65774 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65775
65776   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65777     for ac_func in finitel
65778 do :
65779   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65780 if test "x$ac_cv_func_finitel" = x""yes; then :
65781   cat >>confdefs.h <<_ACEOF
65782 #define HAVE_FINITEL 1
65783 _ACEOF
65784
65785 fi
65786 done
65787
65788   else
65789
65790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65791 $as_echo_n "checking for _finitel declaration... " >&6; }
65792   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65793     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65794   $as_echo_n "(cached) " >&6
65795 else
65796
65797
65798       ac_ext=cpp
65799 ac_cpp='$CXXCPP $CPPFLAGS'
65800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65803
65804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65805 /* end confdefs.h.  */
65806 #include <math.h>
65807                       #ifdef HAVE_IEEEFP_H
65808                       #include <ieeefp.h>
65809                       #endif
65810
65811 int
65812 main ()
65813 {
65814  _finitel(0);
65815   ;
65816   return 0;
65817 }
65818 _ACEOF
65819 if ac_fn_cxx_try_compile "$LINENO"; then :
65820   glibcxx_cv_func__finitel_use=yes
65821 else
65822   glibcxx_cv_func__finitel_use=no
65823 fi
65824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65825       ac_ext=c
65826 ac_cpp='$CPP $CPPFLAGS'
65827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65830
65831
65832 fi
65833
65834   fi
65835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65836 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65837
65838     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65839       for ac_func in _finitel
65840 do :
65841   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65842 if test "x$ac_cv_func__finitel" = x""yes; then :
65843   cat >>confdefs.h <<_ACEOF
65844 #define HAVE__FINITEL 1
65845 _ACEOF
65846
65847 fi
65848 done
65849
65850     fi
65851   fi
65852
65853
65854
65855
65856   LIBS="$ac_save_LIBS"
65857   CXXFLAGS="$ac_save_CXXFLAGS"
65858
65859
65860   ac_test_CXXFLAGS="${CXXFLAGS+set}"
65861   ac_save_CXXFLAGS="$CXXFLAGS"
65862   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65863
65864
65865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65866 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65867   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65868     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65869   $as_echo_n "(cached) " >&6
65870 else
65871
65872
65873       ac_ext=cpp
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65878
65879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65880 /* end confdefs.h.  */
65881 #include <stdlib.h>
65882 int
65883 main ()
65884 {
65885  at_quick_exit(0);
65886   ;
65887   return 0;
65888 }
65889 _ACEOF
65890 if ac_fn_cxx_try_compile "$LINENO"; then :
65891   glibcxx_cv_func_at_quick_exit_use=yes
65892 else
65893   glibcxx_cv_func_at_quick_exit_use=no
65894 fi
65895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65896       ac_ext=c
65897 ac_cpp='$CPP $CPPFLAGS'
65898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65901
65902
65903 fi
65904
65905   fi
65906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65907 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65908   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65909     for ac_func in at_quick_exit
65910 do :
65911   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65912 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65913   cat >>confdefs.h <<_ACEOF
65914 #define HAVE_AT_QUICK_EXIT 1
65915 _ACEOF
65916
65917 fi
65918 done
65919
65920   fi
65921
65922
65923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65924 $as_echo_n "checking for quick_exit declaration... " >&6; }
65925   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65926     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65927   $as_echo_n "(cached) " >&6
65928 else
65929
65930
65931       ac_ext=cpp
65932 ac_cpp='$CXXCPP $CPPFLAGS'
65933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65936
65937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65938 /* end confdefs.h.  */
65939 #include <stdlib.h>
65940 int
65941 main ()
65942 {
65943  quick_exit(0);
65944   ;
65945   return 0;
65946 }
65947 _ACEOF
65948 if ac_fn_cxx_try_compile "$LINENO"; then :
65949   glibcxx_cv_func_quick_exit_use=yes
65950 else
65951   glibcxx_cv_func_quick_exit_use=no
65952 fi
65953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65954       ac_ext=c
65955 ac_cpp='$CPP $CPPFLAGS'
65956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65959
65960
65961 fi
65962
65963   fi
65964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65965 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65966   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65967     for ac_func in quick_exit
65968 do :
65969   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65970 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65971   cat >>confdefs.h <<_ACEOF
65972 #define HAVE_QUICK_EXIT 1
65973 _ACEOF
65974
65975 fi
65976 done
65977
65978   fi
65979
65980
65981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65982 $as_echo_n "checking for strtold declaration... " >&6; }
65983   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65984     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65985   $as_echo_n "(cached) " >&6
65986 else
65987
65988
65989       ac_ext=cpp
65990 ac_cpp='$CXXCPP $CPPFLAGS'
65991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65994
65995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65996 /* end confdefs.h.  */
65997 #include <stdlib.h>
65998 int
65999 main ()
66000 {
66001  strtold(0, 0);
66002   ;
66003   return 0;
66004 }
66005 _ACEOF
66006 if ac_fn_cxx_try_compile "$LINENO"; then :
66007   glibcxx_cv_func_strtold_use=yes
66008 else
66009   glibcxx_cv_func_strtold_use=no
66010 fi
66011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66012       ac_ext=c
66013 ac_cpp='$CPP $CPPFLAGS'
66014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66017
66018
66019 fi
66020
66021   fi
66022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66023 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66024   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66025     for ac_func in strtold
66026 do :
66027   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66028 if test "x$ac_cv_func_strtold" = x""yes; then :
66029   cat >>confdefs.h <<_ACEOF
66030 #define HAVE_STRTOLD 1
66031 _ACEOF
66032
66033 fi
66034 done
66035
66036   fi
66037
66038
66039
66040
66041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66042 $as_echo_n "checking for strtof declaration... " >&6; }
66043   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66044     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66045   $as_echo_n "(cached) " >&6
66046 else
66047
66048
66049       ac_ext=cpp
66050 ac_cpp='$CXXCPP $CPPFLAGS'
66051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66054
66055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66056 /* end confdefs.h.  */
66057 #include <stdlib.h>
66058 int
66059 main ()
66060 {
66061  strtof(0, 0);
66062   ;
66063   return 0;
66064 }
66065 _ACEOF
66066 if ac_fn_cxx_try_compile "$LINENO"; then :
66067   glibcxx_cv_func_strtof_use=yes
66068 else
66069   glibcxx_cv_func_strtof_use=no
66070 fi
66071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66072       ac_ext=c
66073 ac_cpp='$CPP $CPPFLAGS'
66074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66077
66078
66079 fi
66080
66081   fi
66082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66083 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66084   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66085     for ac_func in strtof
66086 do :
66087   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66088 if test "x$ac_cv_func_strtof" = x""yes; then :
66089   cat >>confdefs.h <<_ACEOF
66090 #define HAVE_STRTOF 1
66091 _ACEOF
66092
66093 fi
66094 done
66095
66096   fi
66097
66098
66099
66100
66101   CXXFLAGS="$ac_save_CXXFLAGS"
66102
66103     ;;
66104   *-netbsd*)
66105     SECTION_FLAGS='-ffunction-sections -fdata-sections'
66106
66107
66108   # If we're not using GNU ld, then there's no point in even trying these
66109   # tests.  Check for that first.  We should have already tested for gld
66110   # by now (in libtool), but require it now just to be safe...
66111   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66112   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66113
66114
66115
66116   # The name set by libtool depends on the version of libtool.  Shame on us
66117   # for depending on an impl detail, but c'est la vie.  Older versions used
66118   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66119   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66120   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66121   # set (hence we're using an older libtool), then set it.
66122   if test x${with_gnu_ld+set} != xset; then
66123     if test x${ac_cv_prog_gnu_ld+set} != xset; then
66124       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66125       with_gnu_ld=no
66126     else
66127       with_gnu_ld=$ac_cv_prog_gnu_ld
66128     fi
66129   fi
66130
66131   # Start by getting the version number.  I think the libtool test already
66132   # does some of this, but throws away the result.
66133   glibcxx_ld_is_gold=no
66134   if test x"$with_gnu_ld" = x"yes"; then
66135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66136 $as_echo_n "checking for ld version... " >&6; }
66137
66138     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66139       glibcxx_ld_is_gold=yes
66140     fi
66141     ldver=`$LD --version 2>/dev/null |
66142            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'`
66143
66144     glibcxx_gnu_ld_version=`echo $ldver | \
66145            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66146     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66147 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66148   fi
66149
66150   # Set --gc-sections.
66151   glibcxx_have_gc_sections=no
66152   if test "$glibcxx_ld_is_gold" = "yes"; then
66153     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66154       glibcxx_have_gc_sections=yes
66155     fi
66156   else
66157     glibcxx_gcsections_min_ld=21602
66158     if test x"$with_gnu_ld" = x"yes" &&
66159         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66160       glibcxx_have_gc_sections=yes
66161     fi
66162   fi
66163   if test "$glibcxx_have_gc_sections" = "yes"; then
66164     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66165     # NB: This flag only works reliably after 2.16.1. Configure tests
66166     # for this are difficult, so hard wire a value that should work.
66167
66168     ac_test_CFLAGS="${CFLAGS+set}"
66169     ac_save_CFLAGS="$CFLAGS"
66170     CFLAGS='-Wl,--gc-sections'
66171
66172     # Check for -Wl,--gc-sections
66173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66174 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66175     if test x$gcc_no_link = xyes; then
66176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66177 fi
66178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66179 /* end confdefs.h.  */
66180  int one(void) { return 1; }
66181      int two(void) { return 2; }
66182
66183 int
66184 main ()
66185 {
66186  two();
66187   ;
66188   return 0;
66189 }
66190 _ACEOF
66191 if ac_fn_c_try_link "$LINENO"; then :
66192   ac_gcsections=yes
66193 else
66194   ac_gcsections=no
66195 fi
66196 rm -f core conftest.err conftest.$ac_objext \
66197     conftest$ac_exeext conftest.$ac_ext
66198     if test "$ac_gcsections" = "yes"; then
66199       rm -f conftest.c
66200       touch conftest.c
66201       if $CC -c conftest.c; then
66202         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66203            grep "Warning: gc-sections option ignored" > /dev/null; then
66204           ac_gcsections=no
66205         fi
66206       fi
66207       rm -f conftest.c conftest.o conftest
66208     fi
66209     if test "$ac_gcsections" = "yes"; then
66210       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66211     fi
66212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66213 $as_echo "$ac_gcsections" >&6; }
66214
66215     if test "$ac_test_CFLAGS" = set; then
66216       CFLAGS="$ac_save_CFLAGS"
66217     else
66218       # this is the suspicious part
66219       CFLAGS=''
66220     fi
66221   fi
66222
66223   # Set -z,relro.
66224   # Note this is only for shared objects.
66225   ac_ld_relro=no
66226   if test x"$with_gnu_ld" = x"yes"; then
66227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66228 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66229     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66230     if test -n "$cxx_z_relo"; then
66231       OPT_LDFLAGS="-Wl,-z,relro"
66232       ac_ld_relro=yes
66233     fi
66234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66235 $as_echo "$ac_ld_relro" >&6; }
66236   fi
66237
66238   # Set linker optimization flags.
66239   if test x"$with_gnu_ld" = x"yes"; then
66240     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66241   fi
66242
66243
66244
66245
66246     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66247
66248     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66249
66250     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66251
66252     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66253
66254     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66255
66256     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66257
66258     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66259
66260     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66261
66262     if test x"long_double_math_on_this_cpu" = x"yes"; then
66263       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66264
66265       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66266
66267       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66268
66269     fi
66270     ;;
66271   *-qnx6.1* | *-qnx6.2*)
66272     SECTION_FLAGS='-ffunction-sections -fdata-sections'
66273
66274
66275   # If we're not using GNU ld, then there's no point in even trying these
66276   # tests.  Check for that first.  We should have already tested for gld
66277   # by now (in libtool), but require it now just to be safe...
66278   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66279   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66280
66281
66282
66283   # The name set by libtool depends on the version of libtool.  Shame on us
66284   # for depending on an impl detail, but c'est la vie.  Older versions used
66285   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66286   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66287   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66288   # set (hence we're using an older libtool), then set it.
66289   if test x${with_gnu_ld+set} != xset; then
66290     if test x${ac_cv_prog_gnu_ld+set} != xset; then
66291       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66292       with_gnu_ld=no
66293     else
66294       with_gnu_ld=$ac_cv_prog_gnu_ld
66295     fi
66296   fi
66297
66298   # Start by getting the version number.  I think the libtool test already
66299   # does some of this, but throws away the result.
66300   glibcxx_ld_is_gold=no
66301   if test x"$with_gnu_ld" = x"yes"; then
66302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66303 $as_echo_n "checking for ld version... " >&6; }
66304
66305     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66306       glibcxx_ld_is_gold=yes
66307     fi
66308     ldver=`$LD --version 2>/dev/null |
66309            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'`
66310
66311     glibcxx_gnu_ld_version=`echo $ldver | \
66312            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66314 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66315   fi
66316
66317   # Set --gc-sections.
66318   glibcxx_have_gc_sections=no
66319   if test "$glibcxx_ld_is_gold" = "yes"; then
66320     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66321       glibcxx_have_gc_sections=yes
66322     fi
66323   else
66324     glibcxx_gcsections_min_ld=21602
66325     if test x"$with_gnu_ld" = x"yes" &&
66326         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66327       glibcxx_have_gc_sections=yes
66328     fi
66329   fi
66330   if test "$glibcxx_have_gc_sections" = "yes"; then
66331     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66332     # NB: This flag only works reliably after 2.16.1. Configure tests
66333     # for this are difficult, so hard wire a value that should work.
66334
66335     ac_test_CFLAGS="${CFLAGS+set}"
66336     ac_save_CFLAGS="$CFLAGS"
66337     CFLAGS='-Wl,--gc-sections'
66338
66339     # Check for -Wl,--gc-sections
66340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66341 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66342     if test x$gcc_no_link = xyes; then
66343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66344 fi
66345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66346 /* end confdefs.h.  */
66347  int one(void) { return 1; }
66348      int two(void) { return 2; }
66349
66350 int
66351 main ()
66352 {
66353  two();
66354   ;
66355   return 0;
66356 }
66357 _ACEOF
66358 if ac_fn_c_try_link "$LINENO"; then :
66359   ac_gcsections=yes
66360 else
66361   ac_gcsections=no
66362 fi
66363 rm -f core conftest.err conftest.$ac_objext \
66364     conftest$ac_exeext conftest.$ac_ext
66365     if test "$ac_gcsections" = "yes"; then
66366       rm -f conftest.c
66367       touch conftest.c
66368       if $CC -c conftest.c; then
66369         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66370            grep "Warning: gc-sections option ignored" > /dev/null; then
66371           ac_gcsections=no
66372         fi
66373       fi
66374       rm -f conftest.c conftest.o conftest
66375     fi
66376     if test "$ac_gcsections" = "yes"; then
66377       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66378     fi
66379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66380 $as_echo "$ac_gcsections" >&6; }
66381
66382     if test "$ac_test_CFLAGS" = set; then
66383       CFLAGS="$ac_save_CFLAGS"
66384     else
66385       # this is the suspicious part
66386       CFLAGS=''
66387     fi
66388   fi
66389
66390   # Set -z,relro.
66391   # Note this is only for shared objects.
66392   ac_ld_relro=no
66393   if test x"$with_gnu_ld" = x"yes"; then
66394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66395 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66396     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66397     if test -n "$cxx_z_relo"; then
66398       OPT_LDFLAGS="-Wl,-z,relro"
66399       ac_ld_relro=yes
66400     fi
66401     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66402 $as_echo "$ac_ld_relro" >&6; }
66403   fi
66404
66405   # Set linker optimization flags.
66406   if test x"$with_gnu_ld" = x"yes"; then
66407     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66408   fi
66409
66410
66411
66412
66413     $as_echo "#define HAVE_COSF 1" >>confdefs.h
66414
66415     $as_echo "#define HAVE_COSL 1" >>confdefs.h
66416
66417     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66418
66419     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66420
66421     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66422
66423     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66424
66425     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66426
66427     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66428
66429     $as_echo "#define HAVE_SINF 1" >>confdefs.h
66430
66431     $as_echo "#define HAVE_SINL 1" >>confdefs.h
66432
66433     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66434
66435     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66436
66437     ;;
66438   *-rtems*)
66439
66440   # All these tests are for C++; save the language and the compiler flags.
66441   # The CXXFLAGS thing is suspicious, but based on similar bits previously
66442   # found in GLIBCXX_CONFIGURE.
66443
66444   ac_ext=cpp
66445 ac_cpp='$CXXCPP $CPPFLAGS'
66446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66449
66450   ac_test_CXXFLAGS="${CXXFLAGS+set}"
66451   ac_save_CXXFLAGS="$CXXFLAGS"
66452
66453   # Check for maintainer-mode bits.
66454   if test x"$USE_MAINTAINER_MODE" = xno; then
66455     WERROR=''
66456   else
66457     WERROR='-Werror'
66458   fi
66459
66460   # Check for -ffunction-sections -fdata-sections
66461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66462 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66463   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66465 /* end confdefs.h.  */
66466 int foo; void bar() { };
66467 int
66468 main ()
66469 {
66470
66471   ;
66472   return 0;
66473 }
66474 _ACEOF
66475 if ac_fn_cxx_try_compile "$LINENO"; then :
66476   ac_fdsections=yes
66477 else
66478   ac_fdsections=no
66479 fi
66480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66481   if test "$ac_test_CXXFLAGS" = set; then
66482     CXXFLAGS="$ac_save_CXXFLAGS"
66483   else
66484     # this is the suspicious part
66485     CXXFLAGS=''
66486   fi
66487   if test x"$ac_fdsections" = x"yes"; then
66488     SECTION_FLAGS='-ffunction-sections -fdata-sections'
66489   fi
66490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66491 $as_echo "$ac_fdsections" >&6; }
66492
66493   ac_ext=c
66494 ac_cpp='$CPP $CPPFLAGS'
66495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66498
66499
66500
66501
66502
66503   # If we're not using GNU ld, then there's no point in even trying these
66504   # tests.  Check for that first.  We should have already tested for gld
66505   # by now (in libtool), but require it now just to be safe...
66506   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66507   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66508
66509
66510
66511   # The name set by libtool depends on the version of libtool.  Shame on us
66512   # for depending on an impl detail, but c'est la vie.  Older versions used
66513   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66514   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66515   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
66516   # set (hence we're using an older libtool), then set it.
66517   if test x${with_gnu_ld+set} != xset; then
66518     if test x${ac_cv_prog_gnu_ld+set} != xset; then
66519       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
66520       with_gnu_ld=no
66521     else
66522       with_gnu_ld=$ac_cv_prog_gnu_ld
66523     fi
66524   fi
66525
66526   # Start by getting the version number.  I think the libtool test already
66527   # does some of this, but throws away the result.
66528   glibcxx_ld_is_gold=no
66529   if test x"$with_gnu_ld" = x"yes"; then
66530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66531 $as_echo_n "checking for ld version... " >&6; }
66532
66533     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66534       glibcxx_ld_is_gold=yes
66535     fi
66536     ldver=`$LD --version 2>/dev/null |
66537            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'`
66538
66539     glibcxx_gnu_ld_version=`echo $ldver | \
66540            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66542 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66543   fi
66544
66545   # Set --gc-sections.
66546   glibcxx_have_gc_sections=no
66547   if test "$glibcxx_ld_is_gold" = "yes"; then
66548     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66549       glibcxx_have_gc_sections=yes
66550     fi
66551   else
66552     glibcxx_gcsections_min_ld=21602
66553     if test x"$with_gnu_ld" = x"yes" &&
66554         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66555       glibcxx_have_gc_sections=yes
66556     fi
66557   fi
66558   if test "$glibcxx_have_gc_sections" = "yes"; then
66559     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
66560     # NB: This flag only works reliably after 2.16.1. Configure tests
66561     # for this are difficult, so hard wire a value that should work.
66562
66563     ac_test_CFLAGS="${CFLAGS+set}"
66564     ac_save_CFLAGS="$CFLAGS"
66565     CFLAGS='-Wl,--gc-sections'
66566
66567     # Check for -Wl,--gc-sections
66568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66569 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66570     if test x$gcc_no_link = xyes; then
66571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66572 fi
66573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66574 /* end confdefs.h.  */
66575  int one(void) { return 1; }
66576      int two(void) { return 2; }
66577
66578 int
66579 main ()
66580 {
66581  two();
66582   ;
66583   return 0;
66584 }
66585 _ACEOF
66586 if ac_fn_c_try_link "$LINENO"; then :
66587   ac_gcsections=yes
66588 else
66589   ac_gcsections=no
66590 fi
66591 rm -f core conftest.err conftest.$ac_objext \
66592     conftest$ac_exeext conftest.$ac_ext
66593     if test "$ac_gcsections" = "yes"; then
66594       rm -f conftest.c
66595       touch conftest.c
66596       if $CC -c conftest.c; then
66597         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66598            grep "Warning: gc-sections option ignored" > /dev/null; then
66599           ac_gcsections=no
66600         fi
66601       fi
66602       rm -f conftest.c conftest.o conftest
66603     fi
66604     if test "$ac_gcsections" = "yes"; then
66605       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66606     fi
66607     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66608 $as_echo "$ac_gcsections" >&6; }
66609
66610     if test "$ac_test_CFLAGS" = set; then
66611       CFLAGS="$ac_save_CFLAGS"
66612     else
66613       # this is the suspicious part
66614       CFLAGS=''
66615     fi
66616   fi
66617
66618   # Set -z,relro.
66619   # Note this is only for shared objects.
66620   ac_ld_relro=no
66621   if test x"$with_gnu_ld" = x"yes"; then
66622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66623 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66624     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66625     if test -n "$cxx_z_relo"; then
66626       OPT_LDFLAGS="-Wl,-z,relro"
66627       ac_ld_relro=yes
66628     fi
66629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66630 $as_echo "$ac_ld_relro" >&6; }
66631   fi
66632
66633   # Set linker optimization flags.
66634   if test x"$with_gnu_ld" = x"yes"; then
66635     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66636   fi
66637
66638
66639
66640
66641
66642   ac_test_CXXFLAGS="${CXXFLAGS+set}"
66643   ac_save_CXXFLAGS="$CXXFLAGS"
66644   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66645
66646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66647 $as_echo_n "checking for sin in -lm... " >&6; }
66648 if test "${ac_cv_lib_m_sin+set}" = set; then :
66649   $as_echo_n "(cached) " >&6
66650 else
66651   ac_check_lib_save_LIBS=$LIBS
66652 LIBS="-lm  $LIBS"
66653 if test x$gcc_no_link = xyes; then
66654   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66655 fi
66656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66657 /* end confdefs.h.  */
66658
66659 /* Override any GCC internal prototype to avoid an error.
66660    Use char because int might match the return type of a GCC
66661    builtin and then its argument prototype would still apply.  */
66662 #ifdef __cplusplus
66663 extern "C"
66664 #endif
66665 char sin ();
66666 int
66667 main ()
66668 {
66669 return sin ();
66670   ;
66671   return 0;
66672 }
66673 _ACEOF
66674 if ac_fn_c_try_link "$LINENO"; then :
66675   ac_cv_lib_m_sin=yes
66676 else
66677   ac_cv_lib_m_sin=no
66678 fi
66679 rm -f core conftest.err conftest.$ac_objext \
66680     conftest$ac_exeext conftest.$ac_ext
66681 LIBS=$ac_check_lib_save_LIBS
66682 fi
66683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66684 $as_echo "$ac_cv_lib_m_sin" >&6; }
66685 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66686   libm="-lm"
66687 fi
66688
66689   ac_save_LIBS="$LIBS"
66690   LIBS="$LIBS $libm"
66691
66692
66693
66694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66695 $as_echo_n "checking for isinf declaration... " >&6; }
66696   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66697     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66698   $as_echo_n "(cached) " >&6
66699 else
66700
66701
66702       ac_ext=cpp
66703 ac_cpp='$CXXCPP $CPPFLAGS'
66704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66707
66708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66709 /* end confdefs.h.  */
66710 #include <math.h>
66711                       #ifdef HAVE_IEEEFP_H
66712                       #include <ieeefp.h>
66713                       #endif
66714
66715 int
66716 main ()
66717 {
66718  isinf(0);
66719   ;
66720   return 0;
66721 }
66722 _ACEOF
66723 if ac_fn_cxx_try_compile "$LINENO"; then :
66724   glibcxx_cv_func_isinf_use=yes
66725 else
66726   glibcxx_cv_func_isinf_use=no
66727 fi
66728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66729       ac_ext=c
66730 ac_cpp='$CPP $CPPFLAGS'
66731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66734
66735
66736 fi
66737
66738   fi
66739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66740 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66741
66742   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66743     for ac_func in isinf
66744 do :
66745   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66746 if test "x$ac_cv_func_isinf" = x""yes; then :
66747   cat >>confdefs.h <<_ACEOF
66748 #define HAVE_ISINF 1
66749 _ACEOF
66750
66751 fi
66752 done
66753
66754   else
66755
66756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66757 $as_echo_n "checking for _isinf declaration... " >&6; }
66758   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66759     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66760   $as_echo_n "(cached) " >&6
66761 else
66762
66763
66764       ac_ext=cpp
66765 ac_cpp='$CXXCPP $CPPFLAGS'
66766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66769
66770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66771 /* end confdefs.h.  */
66772 #include <math.h>
66773                       #ifdef HAVE_IEEEFP_H
66774                       #include <ieeefp.h>
66775                       #endif
66776
66777 int
66778 main ()
66779 {
66780  _isinf(0);
66781   ;
66782   return 0;
66783 }
66784 _ACEOF
66785 if ac_fn_cxx_try_compile "$LINENO"; then :
66786   glibcxx_cv_func__isinf_use=yes
66787 else
66788   glibcxx_cv_func__isinf_use=no
66789 fi
66790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66791       ac_ext=c
66792 ac_cpp='$CPP $CPPFLAGS'
66793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66796
66797
66798 fi
66799
66800   fi
66801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66802 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66803
66804     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66805       for ac_func in _isinf
66806 do :
66807   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66808 if test "x$ac_cv_func__isinf" = x""yes; then :
66809   cat >>confdefs.h <<_ACEOF
66810 #define HAVE__ISINF 1
66811 _ACEOF
66812
66813 fi
66814 done
66815
66816     fi
66817   fi
66818
66819
66820
66821
66822
66823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66824 $as_echo_n "checking for isnan declaration... " >&6; }
66825   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66826     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66827   $as_echo_n "(cached) " >&6
66828 else
66829
66830
66831       ac_ext=cpp
66832 ac_cpp='$CXXCPP $CPPFLAGS'
66833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66836
66837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66838 /* end confdefs.h.  */
66839 #include <math.h>
66840                       #ifdef HAVE_IEEEFP_H
66841                       #include <ieeefp.h>
66842                       #endif
66843
66844 int
66845 main ()
66846 {
66847  isnan(0);
66848   ;
66849   return 0;
66850 }
66851 _ACEOF
66852 if ac_fn_cxx_try_compile "$LINENO"; then :
66853   glibcxx_cv_func_isnan_use=yes
66854 else
66855   glibcxx_cv_func_isnan_use=no
66856 fi
66857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66858       ac_ext=c
66859 ac_cpp='$CPP $CPPFLAGS'
66860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66863
66864
66865 fi
66866
66867   fi
66868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66869 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66870
66871   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66872     for ac_func in isnan
66873 do :
66874   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66875 if test "x$ac_cv_func_isnan" = x""yes; then :
66876   cat >>confdefs.h <<_ACEOF
66877 #define HAVE_ISNAN 1
66878 _ACEOF
66879
66880 fi
66881 done
66882
66883   else
66884
66885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66886 $as_echo_n "checking for _isnan declaration... " >&6; }
66887   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66888     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66889   $as_echo_n "(cached) " >&6
66890 else
66891
66892
66893       ac_ext=cpp
66894 ac_cpp='$CXXCPP $CPPFLAGS'
66895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66898
66899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66900 /* end confdefs.h.  */
66901 #include <math.h>
66902                       #ifdef HAVE_IEEEFP_H
66903                       #include <ieeefp.h>
66904                       #endif
66905
66906 int
66907 main ()
66908 {
66909  _isnan(0);
66910   ;
66911   return 0;
66912 }
66913 _ACEOF
66914 if ac_fn_cxx_try_compile "$LINENO"; then :
66915   glibcxx_cv_func__isnan_use=yes
66916 else
66917   glibcxx_cv_func__isnan_use=no
66918 fi
66919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66920       ac_ext=c
66921 ac_cpp='$CPP $CPPFLAGS'
66922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66925
66926
66927 fi
66928
66929   fi
66930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66931 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66932
66933     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66934       for ac_func in _isnan
66935 do :
66936   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66937 if test "x$ac_cv_func__isnan" = x""yes; then :
66938   cat >>confdefs.h <<_ACEOF
66939 #define HAVE__ISNAN 1
66940 _ACEOF
66941
66942 fi
66943 done
66944
66945     fi
66946   fi
66947
66948
66949
66950
66951
66952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66953 $as_echo_n "checking for finite declaration... " >&6; }
66954   if test x${glibcxx_cv_func_finite_use+set} != xset; then
66955     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66956   $as_echo_n "(cached) " >&6
66957 else
66958
66959
66960       ac_ext=cpp
66961 ac_cpp='$CXXCPP $CPPFLAGS'
66962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66965
66966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66967 /* end confdefs.h.  */
66968 #include <math.h>
66969                       #ifdef HAVE_IEEEFP_H
66970                       #include <ieeefp.h>
66971                       #endif
66972
66973 int
66974 main ()
66975 {
66976  finite(0);
66977   ;
66978   return 0;
66979 }
66980 _ACEOF
66981 if ac_fn_cxx_try_compile "$LINENO"; then :
66982   glibcxx_cv_func_finite_use=yes
66983 else
66984   glibcxx_cv_func_finite_use=no
66985 fi
66986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66987       ac_ext=c
66988 ac_cpp='$CPP $CPPFLAGS'
66989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66992
66993
66994 fi
66995
66996   fi
66997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66998 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66999
67000   if test x$glibcxx_cv_func_finite_use = x"yes"; then
67001     for ac_func in finite
67002 do :
67003   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67004 if test "x$ac_cv_func_finite" = x""yes; then :
67005   cat >>confdefs.h <<_ACEOF
67006 #define HAVE_FINITE 1
67007 _ACEOF
67008
67009 fi
67010 done
67011
67012   else
67013
67014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67015 $as_echo_n "checking for _finite declaration... " >&6; }
67016   if test x${glibcxx_cv_func__finite_use+set} != xset; then
67017     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67018   $as_echo_n "(cached) " >&6
67019 else
67020
67021
67022       ac_ext=cpp
67023 ac_cpp='$CXXCPP $CPPFLAGS'
67024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67027
67028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67029 /* end confdefs.h.  */
67030 #include <math.h>
67031                       #ifdef HAVE_IEEEFP_H
67032                       #include <ieeefp.h>
67033                       #endif
67034
67035 int
67036 main ()
67037 {
67038  _finite(0);
67039   ;
67040   return 0;
67041 }
67042 _ACEOF
67043 if ac_fn_cxx_try_compile "$LINENO"; then :
67044   glibcxx_cv_func__finite_use=yes
67045 else
67046   glibcxx_cv_func__finite_use=no
67047 fi
67048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67049       ac_ext=c
67050 ac_cpp='$CPP $CPPFLAGS'
67051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67054
67055
67056 fi
67057
67058   fi
67059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67060 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67061
67062     if test x$glibcxx_cv_func__finite_use = x"yes"; then
67063       for ac_func in _finite
67064 do :
67065   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67066 if test "x$ac_cv_func__finite" = x""yes; then :
67067   cat >>confdefs.h <<_ACEOF
67068 #define HAVE__FINITE 1
67069 _ACEOF
67070
67071 fi
67072 done
67073
67074     fi
67075   fi
67076
67077
67078
67079
67080
67081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67082 $as_echo_n "checking for sincos declaration... " >&6; }
67083   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67084     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67085   $as_echo_n "(cached) " >&6
67086 else
67087
67088
67089       ac_ext=cpp
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67094
67095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67096 /* end confdefs.h.  */
67097 #include <math.h>
67098 int
67099 main ()
67100 {
67101  sincos(0, 0, 0);
67102   ;
67103   return 0;
67104 }
67105 _ACEOF
67106 if ac_fn_cxx_try_compile "$LINENO"; then :
67107   glibcxx_cv_func_sincos_use=yes
67108 else
67109   glibcxx_cv_func_sincos_use=no
67110 fi
67111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67112       ac_ext=c
67113 ac_cpp='$CPP $CPPFLAGS'
67114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67117
67118
67119 fi
67120
67121   fi
67122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67123 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67124
67125   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67126     for ac_func in sincos
67127 do :
67128   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67129 if test "x$ac_cv_func_sincos" = x""yes; then :
67130   cat >>confdefs.h <<_ACEOF
67131 #define HAVE_SINCOS 1
67132 _ACEOF
67133
67134 fi
67135 done
67136
67137   else
67138
67139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67140 $as_echo_n "checking for _sincos declaration... " >&6; }
67141   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67142     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67143   $as_echo_n "(cached) " >&6
67144 else
67145
67146
67147       ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67152
67153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h.  */
67155 #include <math.h>
67156 int
67157 main ()
67158 {
67159  _sincos(0, 0, 0);
67160   ;
67161   return 0;
67162 }
67163 _ACEOF
67164 if ac_fn_cxx_try_compile "$LINENO"; then :
67165   glibcxx_cv_func__sincos_use=yes
67166 else
67167   glibcxx_cv_func__sincos_use=no
67168 fi
67169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67170       ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67175
67176
67177 fi
67178
67179   fi
67180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67181 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67182
67183     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67184       for ac_func in _sincos
67185 do :
67186   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67187 if test "x$ac_cv_func__sincos" = x""yes; then :
67188   cat >>confdefs.h <<_ACEOF
67189 #define HAVE__SINCOS 1
67190 _ACEOF
67191
67192 fi
67193 done
67194
67195     fi
67196   fi
67197
67198
67199
67200
67201
67202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67203 $as_echo_n "checking for fpclass declaration... " >&6; }
67204   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67205     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67206   $as_echo_n "(cached) " >&6
67207 else
67208
67209
67210       ac_ext=cpp
67211 ac_cpp='$CXXCPP $CPPFLAGS'
67212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67215
67216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67217 /* end confdefs.h.  */
67218 #include <math.h>
67219                       #ifdef HAVE_IEEEFP_H
67220                       #include <ieeefp.h>
67221                       #endif
67222
67223 int
67224 main ()
67225 {
67226  fpclass(0);
67227   ;
67228   return 0;
67229 }
67230 _ACEOF
67231 if ac_fn_cxx_try_compile "$LINENO"; then :
67232   glibcxx_cv_func_fpclass_use=yes
67233 else
67234   glibcxx_cv_func_fpclass_use=no
67235 fi
67236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67237       ac_ext=c
67238 ac_cpp='$CPP $CPPFLAGS'
67239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67242
67243
67244 fi
67245
67246   fi
67247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67248 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67249
67250   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67251     for ac_func in fpclass
67252 do :
67253   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67254 if test "x$ac_cv_func_fpclass" = x""yes; then :
67255   cat >>confdefs.h <<_ACEOF
67256 #define HAVE_FPCLASS 1
67257 _ACEOF
67258
67259 fi
67260 done
67261
67262   else
67263
67264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67265 $as_echo_n "checking for _fpclass declaration... " >&6; }
67266   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67267     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67268   $as_echo_n "(cached) " >&6
67269 else
67270
67271
67272       ac_ext=cpp
67273 ac_cpp='$CXXCPP $CPPFLAGS'
67274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67277
67278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67279 /* end confdefs.h.  */
67280 #include <math.h>
67281                       #ifdef HAVE_IEEEFP_H
67282                       #include <ieeefp.h>
67283                       #endif
67284
67285 int
67286 main ()
67287 {
67288  _fpclass(0);
67289   ;
67290   return 0;
67291 }
67292 _ACEOF
67293 if ac_fn_cxx_try_compile "$LINENO"; then :
67294   glibcxx_cv_func__fpclass_use=yes
67295 else
67296   glibcxx_cv_func__fpclass_use=no
67297 fi
67298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67299       ac_ext=c
67300 ac_cpp='$CPP $CPPFLAGS'
67301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67304
67305
67306 fi
67307
67308   fi
67309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67310 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67311
67312     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67313       for ac_func in _fpclass
67314 do :
67315   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67316 if test "x$ac_cv_func__fpclass" = x""yes; then :
67317   cat >>confdefs.h <<_ACEOF
67318 #define HAVE__FPCLASS 1
67319 _ACEOF
67320
67321 fi
67322 done
67323
67324     fi
67325   fi
67326
67327
67328
67329
67330
67331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67332 $as_echo_n "checking for qfpclass declaration... " >&6; }
67333   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67334     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67335   $as_echo_n "(cached) " >&6
67336 else
67337
67338
67339       ac_ext=cpp
67340 ac_cpp='$CXXCPP $CPPFLAGS'
67341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67344
67345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67346 /* end confdefs.h.  */
67347 #include <math.h>
67348                       #ifdef HAVE_IEEEFP_H
67349                       #include <ieeefp.h>
67350                       #endif
67351
67352 int
67353 main ()
67354 {
67355  qfpclass(0);
67356   ;
67357   return 0;
67358 }
67359 _ACEOF
67360 if ac_fn_cxx_try_compile "$LINENO"; then :
67361   glibcxx_cv_func_qfpclass_use=yes
67362 else
67363   glibcxx_cv_func_qfpclass_use=no
67364 fi
67365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67366       ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67371
67372
67373 fi
67374
67375   fi
67376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67377 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67378
67379   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67380     for ac_func in qfpclass
67381 do :
67382   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67383 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67384   cat >>confdefs.h <<_ACEOF
67385 #define HAVE_QFPCLASS 1
67386 _ACEOF
67387
67388 fi
67389 done
67390
67391   else
67392
67393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67394 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67395   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67396     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67397   $as_echo_n "(cached) " >&6
67398 else
67399
67400
67401       ac_ext=cpp
67402 ac_cpp='$CXXCPP $CPPFLAGS'
67403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67406
67407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67408 /* end confdefs.h.  */
67409 #include <math.h>
67410                       #ifdef HAVE_IEEEFP_H
67411                       #include <ieeefp.h>
67412                       #endif
67413
67414 int
67415 main ()
67416 {
67417  _qfpclass(0);
67418   ;
67419   return 0;
67420 }
67421 _ACEOF
67422 if ac_fn_cxx_try_compile "$LINENO"; then :
67423   glibcxx_cv_func__qfpclass_use=yes
67424 else
67425   glibcxx_cv_func__qfpclass_use=no
67426 fi
67427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67428       ac_ext=c
67429 ac_cpp='$CPP $CPPFLAGS'
67430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67433
67434
67435 fi
67436
67437   fi
67438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67439 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67440
67441     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67442       for ac_func in _qfpclass
67443 do :
67444   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67445 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67446   cat >>confdefs.h <<_ACEOF
67447 #define HAVE__QFPCLASS 1
67448 _ACEOF
67449
67450 fi
67451 done
67452
67453     fi
67454   fi
67455
67456
67457
67458
67459
67460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67461 $as_echo_n "checking for hypot declaration... " >&6; }
67462   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67463     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67464   $as_echo_n "(cached) " >&6
67465 else
67466
67467
67468       ac_ext=cpp
67469 ac_cpp='$CXXCPP $CPPFLAGS'
67470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67473
67474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67475 /* end confdefs.h.  */
67476 #include <math.h>
67477 int
67478 main ()
67479 {
67480  hypot(0, 0);
67481   ;
67482   return 0;
67483 }
67484 _ACEOF
67485 if ac_fn_cxx_try_compile "$LINENO"; then :
67486   glibcxx_cv_func_hypot_use=yes
67487 else
67488   glibcxx_cv_func_hypot_use=no
67489 fi
67490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67491       ac_ext=c
67492 ac_cpp='$CPP $CPPFLAGS'
67493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67496
67497
67498 fi
67499
67500   fi
67501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67502 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67503
67504   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67505     for ac_func in hypot
67506 do :
67507   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67508 if test "x$ac_cv_func_hypot" = x""yes; then :
67509   cat >>confdefs.h <<_ACEOF
67510 #define HAVE_HYPOT 1
67511 _ACEOF
67512
67513 fi
67514 done
67515
67516   else
67517
67518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67519 $as_echo_n "checking for _hypot declaration... " >&6; }
67520   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67521     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67522   $as_echo_n "(cached) " >&6
67523 else
67524
67525
67526       ac_ext=cpp
67527 ac_cpp='$CXXCPP $CPPFLAGS'
67528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67531
67532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67533 /* end confdefs.h.  */
67534 #include <math.h>
67535 int
67536 main ()
67537 {
67538  _hypot(0, 0);
67539   ;
67540   return 0;
67541 }
67542 _ACEOF
67543 if ac_fn_cxx_try_compile "$LINENO"; then :
67544   glibcxx_cv_func__hypot_use=yes
67545 else
67546   glibcxx_cv_func__hypot_use=no
67547 fi
67548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67549       ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67554
67555
67556 fi
67557
67558   fi
67559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67560 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67561
67562     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67563       for ac_func in _hypot
67564 do :
67565   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67566 if test "x$ac_cv_func__hypot" = x""yes; then :
67567   cat >>confdefs.h <<_ACEOF
67568 #define HAVE__HYPOT 1
67569 _ACEOF
67570
67571 fi
67572 done
67573
67574     fi
67575   fi
67576
67577
67578
67579
67580
67581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67582 $as_echo_n "checking for float trig functions... " >&6; }
67583   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67584   $as_echo_n "(cached) " >&6
67585 else
67586
67587
67588     ac_ext=cpp
67589 ac_cpp='$CXXCPP $CPPFLAGS'
67590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67593
67594     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67595 /* end confdefs.h.  */
67596 #include <math.h>
67597 int
67598 main ()
67599 {
67600 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67601   ;
67602   return 0;
67603 }
67604 _ACEOF
67605 if ac_fn_cxx_try_compile "$LINENO"; then :
67606   glibcxx_cv_func_float_trig_use=yes
67607 else
67608   glibcxx_cv_func_float_trig_use=no
67609 fi
67610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67611     ac_ext=c
67612 ac_cpp='$CPP $CPPFLAGS'
67613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67616
67617 fi
67618
67619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67620 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67621   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67622     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67623 do :
67624   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67626 eval as_val=\$$as_ac_var
67627    if test "x$as_val" = x""yes; then :
67628   cat >>confdefs.h <<_ACEOF
67629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67630 _ACEOF
67631
67632 fi
67633 done
67634
67635   else
67636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67637 $as_echo_n "checking for _float trig functions... " >&6; }
67638     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67639   $as_echo_n "(cached) " >&6
67640 else
67641
67642
67643       ac_ext=cpp
67644 ac_cpp='$CXXCPP $CPPFLAGS'
67645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67648
67649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67650 /* end confdefs.h.  */
67651 #include <math.h>
67652 int
67653 main ()
67654 {
67655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67656   ;
67657   return 0;
67658 }
67659 _ACEOF
67660 if ac_fn_cxx_try_compile "$LINENO"; then :
67661   glibcxx_cv_func__float_trig_use=yes
67662 else
67663   glibcxx_cv_func__float_trig_use=no
67664 fi
67665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67666       ac_ext=c
67667 ac_cpp='$CPP $CPPFLAGS'
67668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67671
67672 fi
67673
67674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67676     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67677       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67678 do :
67679   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67681 eval as_val=\$$as_ac_var
67682    if test "x$as_val" = x""yes; then :
67683   cat >>confdefs.h <<_ACEOF
67684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67685 _ACEOF
67686
67687 fi
67688 done
67689
67690     fi
67691   fi
67692
67693
67694
67695
67696
67697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67698 $as_echo_n "checking for float round functions... " >&6; }
67699   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67700   $as_echo_n "(cached) " >&6
67701 else
67702
67703
67704     ac_ext=cpp
67705 ac_cpp='$CXXCPP $CPPFLAGS'
67706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67709
67710     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67711 /* end confdefs.h.  */
67712 #include <math.h>
67713 int
67714 main ()
67715 {
67716 ceilf (0); floorf (0);
67717   ;
67718   return 0;
67719 }
67720 _ACEOF
67721 if ac_fn_cxx_try_compile "$LINENO"; then :
67722   glibcxx_cv_func_float_round_use=yes
67723 else
67724   glibcxx_cv_func_float_round_use=no
67725 fi
67726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67727     ac_ext=c
67728 ac_cpp='$CPP $CPPFLAGS'
67729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67732
67733 fi
67734
67735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67736 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67737   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67738     for ac_func in ceilf floorf
67739 do :
67740   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67742 eval as_val=\$$as_ac_var
67743    if test "x$as_val" = x""yes; then :
67744   cat >>confdefs.h <<_ACEOF
67745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67746 _ACEOF
67747
67748 fi
67749 done
67750
67751   else
67752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67753 $as_echo_n "checking for _float round functions... " >&6; }
67754     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67755   $as_echo_n "(cached) " >&6
67756 else
67757
67758
67759       ac_ext=cpp
67760 ac_cpp='$CXXCPP $CPPFLAGS'
67761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67764
67765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67766 /* end confdefs.h.  */
67767 #include <math.h>
67768 int
67769 main ()
67770 {
67771 _ceilf (0); _floorf (0);
67772   ;
67773   return 0;
67774 }
67775 _ACEOF
67776 if ac_fn_cxx_try_compile "$LINENO"; then :
67777   glibcxx_cv_func__float_round_use=yes
67778 else
67779   glibcxx_cv_func__float_round_use=no
67780 fi
67781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67782       ac_ext=c
67783 ac_cpp='$CPP $CPPFLAGS'
67784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67787
67788 fi
67789
67790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67791 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67792     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67793       for ac_func in _ceilf _floorf
67794 do :
67795   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67797 eval as_val=\$$as_ac_var
67798    if test "x$as_val" = x""yes; then :
67799   cat >>confdefs.h <<_ACEOF
67800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67801 _ACEOF
67802
67803 fi
67804 done
67805
67806     fi
67807   fi
67808
67809
67810
67811
67812
67813
67814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67815 $as_echo_n "checking for expf declaration... " >&6; }
67816   if test x${glibcxx_cv_func_expf_use+set} != xset; then
67817     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67818   $as_echo_n "(cached) " >&6
67819 else
67820
67821
67822       ac_ext=cpp
67823 ac_cpp='$CXXCPP $CPPFLAGS'
67824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67827
67828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67829 /* end confdefs.h.  */
67830 #include <math.h>
67831                       #ifdef HAVE_IEEEFP_H
67832                       #include <ieeefp.h>
67833                       #endif
67834
67835 int
67836 main ()
67837 {
67838  expf(0);
67839   ;
67840   return 0;
67841 }
67842 _ACEOF
67843 if ac_fn_cxx_try_compile "$LINENO"; then :
67844   glibcxx_cv_func_expf_use=yes
67845 else
67846   glibcxx_cv_func_expf_use=no
67847 fi
67848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67849       ac_ext=c
67850 ac_cpp='$CPP $CPPFLAGS'
67851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67854
67855
67856 fi
67857
67858   fi
67859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67861
67862   if test x$glibcxx_cv_func_expf_use = x"yes"; then
67863     for ac_func in expf
67864 do :
67865   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67866 if test "x$ac_cv_func_expf" = x""yes; then :
67867   cat >>confdefs.h <<_ACEOF
67868 #define HAVE_EXPF 1
67869 _ACEOF
67870
67871 fi
67872 done
67873
67874   else
67875
67876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67877 $as_echo_n "checking for _expf declaration... " >&6; }
67878   if test x${glibcxx_cv_func__expf_use+set} != xset; then
67879     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67880   $as_echo_n "(cached) " >&6
67881 else
67882
67883
67884       ac_ext=cpp
67885 ac_cpp='$CXXCPP $CPPFLAGS'
67886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67889
67890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891 /* end confdefs.h.  */
67892 #include <math.h>
67893                       #ifdef HAVE_IEEEFP_H
67894                       #include <ieeefp.h>
67895                       #endif
67896
67897 int
67898 main ()
67899 {
67900  _expf(0);
67901   ;
67902   return 0;
67903 }
67904 _ACEOF
67905 if ac_fn_cxx_try_compile "$LINENO"; then :
67906   glibcxx_cv_func__expf_use=yes
67907 else
67908   glibcxx_cv_func__expf_use=no
67909 fi
67910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67911       ac_ext=c
67912 ac_cpp='$CPP $CPPFLAGS'
67913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67916
67917
67918 fi
67919
67920   fi
67921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67923
67924     if test x$glibcxx_cv_func__expf_use = x"yes"; then
67925       for ac_func in _expf
67926 do :
67927   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67928 if test "x$ac_cv_func__expf" = x""yes; then :
67929   cat >>confdefs.h <<_ACEOF
67930 #define HAVE__EXPF 1
67931 _ACEOF
67932
67933 fi
67934 done
67935
67936     fi
67937   fi
67938
67939
67940
67941
67942
67943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67944 $as_echo_n "checking for isnanf declaration... " >&6; }
67945   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67946     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67947   $as_echo_n "(cached) " >&6
67948 else
67949
67950
67951       ac_ext=cpp
67952 ac_cpp='$CXXCPP $CPPFLAGS'
67953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956
67957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67958 /* end confdefs.h.  */
67959 #include <math.h>
67960                       #ifdef HAVE_IEEEFP_H
67961                       #include <ieeefp.h>
67962                       #endif
67963
67964 int
67965 main ()
67966 {
67967  isnanf(0);
67968   ;
67969   return 0;
67970 }
67971 _ACEOF
67972 if ac_fn_cxx_try_compile "$LINENO"; then :
67973   glibcxx_cv_func_isnanf_use=yes
67974 else
67975   glibcxx_cv_func_isnanf_use=no
67976 fi
67977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67978       ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67983
67984
67985 fi
67986
67987   fi
67988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67990
67991   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67992     for ac_func in isnanf
67993 do :
67994   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67995 if test "x$ac_cv_func_isnanf" = x""yes; then :
67996   cat >>confdefs.h <<_ACEOF
67997 #define HAVE_ISNANF 1
67998 _ACEOF
67999
68000 fi
68001 done
68002
68003   else
68004
68005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68006 $as_echo_n "checking for _isnanf declaration... " >&6; }
68007   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68008     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68009   $as_echo_n "(cached) " >&6
68010 else
68011
68012
68013       ac_ext=cpp
68014 ac_cpp='$CXXCPP $CPPFLAGS'
68015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68018
68019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68020 /* end confdefs.h.  */
68021 #include <math.h>
68022                       #ifdef HAVE_IEEEFP_H
68023                       #include <ieeefp.h>
68024                       #endif
68025
68026 int
68027 main ()
68028 {
68029  _isnanf(0);
68030   ;
68031   return 0;
68032 }
68033 _ACEOF
68034 if ac_fn_cxx_try_compile "$LINENO"; then :
68035   glibcxx_cv_func__isnanf_use=yes
68036 else
68037   glibcxx_cv_func__isnanf_use=no
68038 fi
68039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68040       ac_ext=c
68041 ac_cpp='$CPP $CPPFLAGS'
68042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68045
68046
68047 fi
68048
68049   fi
68050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68052
68053     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68054       for ac_func in _isnanf
68055 do :
68056   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68057 if test "x$ac_cv_func__isnanf" = x""yes; then :
68058   cat >>confdefs.h <<_ACEOF
68059 #define HAVE__ISNANF 1
68060 _ACEOF
68061
68062 fi
68063 done
68064
68065     fi
68066   fi
68067
68068
68069
68070
68071
68072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68073 $as_echo_n "checking for isinff declaration... " >&6; }
68074   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68075     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68076   $as_echo_n "(cached) " >&6
68077 else
68078
68079
68080       ac_ext=cpp
68081 ac_cpp='$CXXCPP $CPPFLAGS'
68082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68085
68086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68087 /* end confdefs.h.  */
68088 #include <math.h>
68089                       #ifdef HAVE_IEEEFP_H
68090                       #include <ieeefp.h>
68091                       #endif
68092
68093 int
68094 main ()
68095 {
68096  isinff(0);
68097   ;
68098   return 0;
68099 }
68100 _ACEOF
68101 if ac_fn_cxx_try_compile "$LINENO"; then :
68102   glibcxx_cv_func_isinff_use=yes
68103 else
68104   glibcxx_cv_func_isinff_use=no
68105 fi
68106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68107       ac_ext=c
68108 ac_cpp='$CPP $CPPFLAGS'
68109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68112
68113
68114 fi
68115
68116   fi
68117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68119
68120   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68121     for ac_func in isinff
68122 do :
68123   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68124 if test "x$ac_cv_func_isinff" = x""yes; then :
68125   cat >>confdefs.h <<_ACEOF
68126 #define HAVE_ISINFF 1
68127 _ACEOF
68128
68129 fi
68130 done
68131
68132   else
68133
68134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68135 $as_echo_n "checking for _isinff declaration... " >&6; }
68136   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68137     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68138   $as_echo_n "(cached) " >&6
68139 else
68140
68141
68142       ac_ext=cpp
68143 ac_cpp='$CXXCPP $CPPFLAGS'
68144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68147
68148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68149 /* end confdefs.h.  */
68150 #include <math.h>
68151                       #ifdef HAVE_IEEEFP_H
68152                       #include <ieeefp.h>
68153                       #endif
68154
68155 int
68156 main ()
68157 {
68158  _isinff(0);
68159   ;
68160   return 0;
68161 }
68162 _ACEOF
68163 if ac_fn_cxx_try_compile "$LINENO"; then :
68164   glibcxx_cv_func__isinff_use=yes
68165 else
68166   glibcxx_cv_func__isinff_use=no
68167 fi
68168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68169       ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68174
68175
68176 fi
68177
68178   fi
68179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68181
68182     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68183       for ac_func in _isinff
68184 do :
68185   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68186 if test "x$ac_cv_func__isinff" = x""yes; then :
68187   cat >>confdefs.h <<_ACEOF
68188 #define HAVE__ISINFF 1
68189 _ACEOF
68190
68191 fi
68192 done
68193
68194     fi
68195   fi
68196
68197
68198
68199
68200
68201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68202 $as_echo_n "checking for atan2f declaration... " >&6; }
68203   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68204     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68205   $as_echo_n "(cached) " >&6
68206 else
68207
68208
68209       ac_ext=cpp
68210 ac_cpp='$CXXCPP $CPPFLAGS'
68211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68214
68215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68216 /* end confdefs.h.  */
68217 #include <math.h>
68218 int
68219 main ()
68220 {
68221  atan2f(0, 0);
68222   ;
68223   return 0;
68224 }
68225 _ACEOF
68226 if ac_fn_cxx_try_compile "$LINENO"; then :
68227   glibcxx_cv_func_atan2f_use=yes
68228 else
68229   glibcxx_cv_func_atan2f_use=no
68230 fi
68231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68232       ac_ext=c
68233 ac_cpp='$CPP $CPPFLAGS'
68234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68237
68238
68239 fi
68240
68241   fi
68242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68244
68245   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68246     for ac_func in atan2f
68247 do :
68248   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68249 if test "x$ac_cv_func_atan2f" = x""yes; then :
68250   cat >>confdefs.h <<_ACEOF
68251 #define HAVE_ATAN2F 1
68252 _ACEOF
68253
68254 fi
68255 done
68256
68257   else
68258
68259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68260 $as_echo_n "checking for _atan2f declaration... " >&6; }
68261   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68262     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68263   $as_echo_n "(cached) " >&6
68264 else
68265
68266
68267       ac_ext=cpp
68268 ac_cpp='$CXXCPP $CPPFLAGS'
68269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68272
68273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68274 /* end confdefs.h.  */
68275 #include <math.h>
68276 int
68277 main ()
68278 {
68279  _atan2f(0, 0);
68280   ;
68281   return 0;
68282 }
68283 _ACEOF
68284 if ac_fn_cxx_try_compile "$LINENO"; then :
68285   glibcxx_cv_func__atan2f_use=yes
68286 else
68287   glibcxx_cv_func__atan2f_use=no
68288 fi
68289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68290       ac_ext=c
68291 ac_cpp='$CPP $CPPFLAGS'
68292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68295
68296
68297 fi
68298
68299   fi
68300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68302
68303     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68304       for ac_func in _atan2f
68305 do :
68306   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68307 if test "x$ac_cv_func__atan2f" = x""yes; then :
68308   cat >>confdefs.h <<_ACEOF
68309 #define HAVE__ATAN2F 1
68310 _ACEOF
68311
68312 fi
68313 done
68314
68315     fi
68316   fi
68317
68318
68319
68320
68321
68322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68323 $as_echo_n "checking for fabsf declaration... " >&6; }
68324   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68325     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68326   $as_echo_n "(cached) " >&6
68327 else
68328
68329
68330       ac_ext=cpp
68331 ac_cpp='$CXXCPP $CPPFLAGS'
68332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68335
68336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68337 /* end confdefs.h.  */
68338 #include <math.h>
68339                       #ifdef HAVE_IEEEFP_H
68340                       #include <ieeefp.h>
68341                       #endif
68342
68343 int
68344 main ()
68345 {
68346  fabsf(0);
68347   ;
68348   return 0;
68349 }
68350 _ACEOF
68351 if ac_fn_cxx_try_compile "$LINENO"; then :
68352   glibcxx_cv_func_fabsf_use=yes
68353 else
68354   glibcxx_cv_func_fabsf_use=no
68355 fi
68356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68357       ac_ext=c
68358 ac_cpp='$CPP $CPPFLAGS'
68359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68362
68363
68364 fi
68365
68366   fi
68367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68369
68370   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68371     for ac_func in fabsf
68372 do :
68373   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68374 if test "x$ac_cv_func_fabsf" = x""yes; then :
68375   cat >>confdefs.h <<_ACEOF
68376 #define HAVE_FABSF 1
68377 _ACEOF
68378
68379 fi
68380 done
68381
68382   else
68383
68384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68385 $as_echo_n "checking for _fabsf declaration... " >&6; }
68386   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68387     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68388   $as_echo_n "(cached) " >&6
68389 else
68390
68391
68392       ac_ext=cpp
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68397
68398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68399 /* end confdefs.h.  */
68400 #include <math.h>
68401                       #ifdef HAVE_IEEEFP_H
68402                       #include <ieeefp.h>
68403                       #endif
68404
68405 int
68406 main ()
68407 {
68408  _fabsf(0);
68409   ;
68410   return 0;
68411 }
68412 _ACEOF
68413 if ac_fn_cxx_try_compile "$LINENO"; then :
68414   glibcxx_cv_func__fabsf_use=yes
68415 else
68416   glibcxx_cv_func__fabsf_use=no
68417 fi
68418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68419       ac_ext=c
68420 ac_cpp='$CPP $CPPFLAGS'
68421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68424
68425
68426 fi
68427
68428   fi
68429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68431
68432     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68433       for ac_func in _fabsf
68434 do :
68435   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68436 if test "x$ac_cv_func__fabsf" = x""yes; then :
68437   cat >>confdefs.h <<_ACEOF
68438 #define HAVE__FABSF 1
68439 _ACEOF
68440
68441 fi
68442 done
68443
68444     fi
68445   fi
68446
68447
68448
68449
68450
68451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68452 $as_echo_n "checking for fmodf declaration... " >&6; }
68453   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68454     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68455   $as_echo_n "(cached) " >&6
68456 else
68457
68458
68459       ac_ext=cpp
68460 ac_cpp='$CXXCPP $CPPFLAGS'
68461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68464
68465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68466 /* end confdefs.h.  */
68467 #include <math.h>
68468 int
68469 main ()
68470 {
68471  fmodf(0, 0);
68472   ;
68473   return 0;
68474 }
68475 _ACEOF
68476 if ac_fn_cxx_try_compile "$LINENO"; then :
68477   glibcxx_cv_func_fmodf_use=yes
68478 else
68479   glibcxx_cv_func_fmodf_use=no
68480 fi
68481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68482       ac_ext=c
68483 ac_cpp='$CPP $CPPFLAGS'
68484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68487
68488
68489 fi
68490
68491   fi
68492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68494
68495   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68496     for ac_func in fmodf
68497 do :
68498   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68499 if test "x$ac_cv_func_fmodf" = x""yes; then :
68500   cat >>confdefs.h <<_ACEOF
68501 #define HAVE_FMODF 1
68502 _ACEOF
68503
68504 fi
68505 done
68506
68507   else
68508
68509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68510 $as_echo_n "checking for _fmodf declaration... " >&6; }
68511   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68512     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68513   $as_echo_n "(cached) " >&6
68514 else
68515
68516
68517       ac_ext=cpp
68518 ac_cpp='$CXXCPP $CPPFLAGS'
68519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68522
68523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68524 /* end confdefs.h.  */
68525 #include <math.h>
68526 int
68527 main ()
68528 {
68529  _fmodf(0, 0);
68530   ;
68531   return 0;
68532 }
68533 _ACEOF
68534 if ac_fn_cxx_try_compile "$LINENO"; then :
68535   glibcxx_cv_func__fmodf_use=yes
68536 else
68537   glibcxx_cv_func__fmodf_use=no
68538 fi
68539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68540       ac_ext=c
68541 ac_cpp='$CPP $CPPFLAGS'
68542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68545
68546
68547 fi
68548
68549   fi
68550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68552
68553     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68554       for ac_func in _fmodf
68555 do :
68556   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68557 if test "x$ac_cv_func__fmodf" = x""yes; then :
68558   cat >>confdefs.h <<_ACEOF
68559 #define HAVE__FMODF 1
68560 _ACEOF
68561
68562 fi
68563 done
68564
68565     fi
68566   fi
68567
68568
68569
68570
68571
68572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68573 $as_echo_n "checking for frexpf declaration... " >&6; }
68574   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68575     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68576   $as_echo_n "(cached) " >&6
68577 else
68578
68579
68580       ac_ext=cpp
68581 ac_cpp='$CXXCPP $CPPFLAGS'
68582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68585
68586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68587 /* end confdefs.h.  */
68588 #include <math.h>
68589 int
68590 main ()
68591 {
68592  frexpf(0, 0);
68593   ;
68594   return 0;
68595 }
68596 _ACEOF
68597 if ac_fn_cxx_try_compile "$LINENO"; then :
68598   glibcxx_cv_func_frexpf_use=yes
68599 else
68600   glibcxx_cv_func_frexpf_use=no
68601 fi
68602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68603       ac_ext=c
68604 ac_cpp='$CPP $CPPFLAGS'
68605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68608
68609
68610 fi
68611
68612   fi
68613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68615
68616   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68617     for ac_func in frexpf
68618 do :
68619   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68620 if test "x$ac_cv_func_frexpf" = x""yes; then :
68621   cat >>confdefs.h <<_ACEOF
68622 #define HAVE_FREXPF 1
68623 _ACEOF
68624
68625 fi
68626 done
68627
68628   else
68629
68630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68631 $as_echo_n "checking for _frexpf declaration... " >&6; }
68632   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68633     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68634   $as_echo_n "(cached) " >&6
68635 else
68636
68637
68638       ac_ext=cpp
68639 ac_cpp='$CXXCPP $CPPFLAGS'
68640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68643
68644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68645 /* end confdefs.h.  */
68646 #include <math.h>
68647 int
68648 main ()
68649 {
68650  _frexpf(0, 0);
68651   ;
68652   return 0;
68653 }
68654 _ACEOF
68655 if ac_fn_cxx_try_compile "$LINENO"; then :
68656   glibcxx_cv_func__frexpf_use=yes
68657 else
68658   glibcxx_cv_func__frexpf_use=no
68659 fi
68660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68661       ac_ext=c
68662 ac_cpp='$CPP $CPPFLAGS'
68663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68666
68667
68668 fi
68669
68670   fi
68671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68673
68674     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68675       for ac_func in _frexpf
68676 do :
68677   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68678 if test "x$ac_cv_func__frexpf" = x""yes; then :
68679   cat >>confdefs.h <<_ACEOF
68680 #define HAVE__FREXPF 1
68681 _ACEOF
68682
68683 fi
68684 done
68685
68686     fi
68687   fi
68688
68689
68690
68691
68692
68693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68694 $as_echo_n "checking for hypotf declaration... " >&6; }
68695   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68696     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68697   $as_echo_n "(cached) " >&6
68698 else
68699
68700
68701       ac_ext=cpp
68702 ac_cpp='$CXXCPP $CPPFLAGS'
68703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68706
68707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68708 /* end confdefs.h.  */
68709 #include <math.h>
68710 int
68711 main ()
68712 {
68713  hypotf(0, 0);
68714   ;
68715   return 0;
68716 }
68717 _ACEOF
68718 if ac_fn_cxx_try_compile "$LINENO"; then :
68719   glibcxx_cv_func_hypotf_use=yes
68720 else
68721   glibcxx_cv_func_hypotf_use=no
68722 fi
68723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68724       ac_ext=c
68725 ac_cpp='$CPP $CPPFLAGS'
68726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68729
68730
68731 fi
68732
68733   fi
68734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68736
68737   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68738     for ac_func in hypotf
68739 do :
68740   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68741 if test "x$ac_cv_func_hypotf" = x""yes; then :
68742   cat >>confdefs.h <<_ACEOF
68743 #define HAVE_HYPOTF 1
68744 _ACEOF
68745
68746 fi
68747 done
68748
68749   else
68750
68751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68752 $as_echo_n "checking for _hypotf declaration... " >&6; }
68753   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68754     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68755   $as_echo_n "(cached) " >&6
68756 else
68757
68758
68759       ac_ext=cpp
68760 ac_cpp='$CXXCPP $CPPFLAGS'
68761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68764
68765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68766 /* end confdefs.h.  */
68767 #include <math.h>
68768 int
68769 main ()
68770 {
68771  _hypotf(0, 0);
68772   ;
68773   return 0;
68774 }
68775 _ACEOF
68776 if ac_fn_cxx_try_compile "$LINENO"; then :
68777   glibcxx_cv_func__hypotf_use=yes
68778 else
68779   glibcxx_cv_func__hypotf_use=no
68780 fi
68781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68782       ac_ext=c
68783 ac_cpp='$CPP $CPPFLAGS'
68784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68787
68788
68789 fi
68790
68791   fi
68792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68794
68795     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68796       for ac_func in _hypotf
68797 do :
68798   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68799 if test "x$ac_cv_func__hypotf" = x""yes; then :
68800   cat >>confdefs.h <<_ACEOF
68801 #define HAVE__HYPOTF 1
68802 _ACEOF
68803
68804 fi
68805 done
68806
68807     fi
68808   fi
68809
68810
68811
68812
68813
68814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68815 $as_echo_n "checking for ldexpf declaration... " >&6; }
68816   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68817     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68818   $as_echo_n "(cached) " >&6
68819 else
68820
68821
68822       ac_ext=cpp
68823 ac_cpp='$CXXCPP $CPPFLAGS'
68824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68827
68828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68829 /* end confdefs.h.  */
68830 #include <math.h>
68831 int
68832 main ()
68833 {
68834  ldexpf(0, 0);
68835   ;
68836   return 0;
68837 }
68838 _ACEOF
68839 if ac_fn_cxx_try_compile "$LINENO"; then :
68840   glibcxx_cv_func_ldexpf_use=yes
68841 else
68842   glibcxx_cv_func_ldexpf_use=no
68843 fi
68844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68845       ac_ext=c
68846 ac_cpp='$CPP $CPPFLAGS'
68847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68850
68851
68852 fi
68853
68854   fi
68855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68857
68858   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68859     for ac_func in ldexpf
68860 do :
68861   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68862 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68863   cat >>confdefs.h <<_ACEOF
68864 #define HAVE_LDEXPF 1
68865 _ACEOF
68866
68867 fi
68868 done
68869
68870   else
68871
68872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68874   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68875     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68876   $as_echo_n "(cached) " >&6
68877 else
68878
68879
68880       ac_ext=cpp
68881 ac_cpp='$CXXCPP $CPPFLAGS'
68882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68885
68886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68887 /* end confdefs.h.  */
68888 #include <math.h>
68889 int
68890 main ()
68891 {
68892  _ldexpf(0, 0);
68893   ;
68894   return 0;
68895 }
68896 _ACEOF
68897 if ac_fn_cxx_try_compile "$LINENO"; then :
68898   glibcxx_cv_func__ldexpf_use=yes
68899 else
68900   glibcxx_cv_func__ldexpf_use=no
68901 fi
68902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68903       ac_ext=c
68904 ac_cpp='$CPP $CPPFLAGS'
68905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68908
68909
68910 fi
68911
68912   fi
68913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68915
68916     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68917       for ac_func in _ldexpf
68918 do :
68919   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68920 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68921   cat >>confdefs.h <<_ACEOF
68922 #define HAVE__LDEXPF 1
68923 _ACEOF
68924
68925 fi
68926 done
68927
68928     fi
68929   fi
68930
68931
68932
68933
68934
68935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68936 $as_echo_n "checking for logf declaration... " >&6; }
68937   if test x${glibcxx_cv_func_logf_use+set} != xset; then
68938     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68939   $as_echo_n "(cached) " >&6
68940 else
68941
68942
68943       ac_ext=cpp
68944 ac_cpp='$CXXCPP $CPPFLAGS'
68945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68948
68949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68950 /* end confdefs.h.  */
68951 #include <math.h>
68952                       #ifdef HAVE_IEEEFP_H
68953                       #include <ieeefp.h>
68954                       #endif
68955
68956 int
68957 main ()
68958 {
68959  logf(0);
68960   ;
68961   return 0;
68962 }
68963 _ACEOF
68964 if ac_fn_cxx_try_compile "$LINENO"; then :
68965   glibcxx_cv_func_logf_use=yes
68966 else
68967   glibcxx_cv_func_logf_use=no
68968 fi
68969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68970       ac_ext=c
68971 ac_cpp='$CPP $CPPFLAGS'
68972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68975
68976
68977 fi
68978
68979   fi
68980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68982
68983   if test x$glibcxx_cv_func_logf_use = x"yes"; then
68984     for ac_func in logf
68985 do :
68986   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68987 if test "x$ac_cv_func_logf" = x""yes; then :
68988   cat >>confdefs.h <<_ACEOF
68989 #define HAVE_LOGF 1
68990 _ACEOF
68991
68992 fi
68993 done
68994
68995   else
68996
68997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68998 $as_echo_n "checking for _logf declaration... " >&6; }
68999   if test x${glibcxx_cv_func__logf_use+set} != xset; then
69000     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69001   $as_echo_n "(cached) " >&6
69002 else
69003
69004
69005       ac_ext=cpp
69006 ac_cpp='$CXXCPP $CPPFLAGS'
69007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69010
69011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69012 /* end confdefs.h.  */
69013 #include <math.h>
69014                       #ifdef HAVE_IEEEFP_H
69015                       #include <ieeefp.h>
69016                       #endif
69017
69018 int
69019 main ()
69020 {
69021  _logf(0);
69022   ;
69023   return 0;
69024 }
69025 _ACEOF
69026 if ac_fn_cxx_try_compile "$LINENO"; then :
69027   glibcxx_cv_func__logf_use=yes
69028 else
69029   glibcxx_cv_func__logf_use=no
69030 fi
69031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69032       ac_ext=c
69033 ac_cpp='$CPP $CPPFLAGS'
69034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69037
69038
69039 fi
69040
69041   fi
69042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69044
69045     if test x$glibcxx_cv_func__logf_use = x"yes"; then
69046       for ac_func in _logf
69047 do :
69048   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69049 if test "x$ac_cv_func__logf" = x""yes; then :
69050   cat >>confdefs.h <<_ACEOF
69051 #define HAVE__LOGF 1
69052 _ACEOF
69053
69054 fi
69055 done
69056
69057     fi
69058   fi
69059
69060
69061
69062
69063
69064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69065 $as_echo_n "checking for log10f declaration... " >&6; }
69066   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69067     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69068   $as_echo_n "(cached) " >&6
69069 else
69070
69071
69072       ac_ext=cpp
69073 ac_cpp='$CXXCPP $CPPFLAGS'
69074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69077
69078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69079 /* end confdefs.h.  */
69080 #include <math.h>
69081                       #ifdef HAVE_IEEEFP_H
69082                       #include <ieeefp.h>
69083                       #endif
69084
69085 int
69086 main ()
69087 {
69088  log10f(0);
69089   ;
69090   return 0;
69091 }
69092 _ACEOF
69093 if ac_fn_cxx_try_compile "$LINENO"; then :
69094   glibcxx_cv_func_log10f_use=yes
69095 else
69096   glibcxx_cv_func_log10f_use=no
69097 fi
69098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69099       ac_ext=c
69100 ac_cpp='$CPP $CPPFLAGS'
69101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69104
69105
69106 fi
69107
69108   fi
69109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69111
69112   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69113     for ac_func in log10f
69114 do :
69115   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69116 if test "x$ac_cv_func_log10f" = x""yes; then :
69117   cat >>confdefs.h <<_ACEOF
69118 #define HAVE_LOG10F 1
69119 _ACEOF
69120
69121 fi
69122 done
69123
69124   else
69125
69126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69127 $as_echo_n "checking for _log10f declaration... " >&6; }
69128   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69129     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69130   $as_echo_n "(cached) " >&6
69131 else
69132
69133
69134       ac_ext=cpp
69135 ac_cpp='$CXXCPP $CPPFLAGS'
69136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69139
69140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69141 /* end confdefs.h.  */
69142 #include <math.h>
69143                       #ifdef HAVE_IEEEFP_H
69144                       #include <ieeefp.h>
69145                       #endif
69146
69147 int
69148 main ()
69149 {
69150  _log10f(0);
69151   ;
69152   return 0;
69153 }
69154 _ACEOF
69155 if ac_fn_cxx_try_compile "$LINENO"; then :
69156   glibcxx_cv_func__log10f_use=yes
69157 else
69158   glibcxx_cv_func__log10f_use=no
69159 fi
69160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69161       ac_ext=c
69162 ac_cpp='$CPP $CPPFLAGS'
69163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69166
69167
69168 fi
69169
69170   fi
69171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69173
69174     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69175       for ac_func in _log10f
69176 do :
69177   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69178 if test "x$ac_cv_func__log10f" = x""yes; then :
69179   cat >>confdefs.h <<_ACEOF
69180 #define HAVE__LOG10F 1
69181 _ACEOF
69182
69183 fi
69184 done
69185
69186     fi
69187   fi
69188
69189
69190
69191
69192
69193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69194 $as_echo_n "checking for modff declaration... " >&6; }
69195   if test x${glibcxx_cv_func_modff_use+set} != xset; then
69196     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69197   $as_echo_n "(cached) " >&6
69198 else
69199
69200
69201       ac_ext=cpp
69202 ac_cpp='$CXXCPP $CPPFLAGS'
69203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69206
69207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69208 /* end confdefs.h.  */
69209 #include <math.h>
69210 int
69211 main ()
69212 {
69213  modff(0, 0);
69214   ;
69215   return 0;
69216 }
69217 _ACEOF
69218 if ac_fn_cxx_try_compile "$LINENO"; then :
69219   glibcxx_cv_func_modff_use=yes
69220 else
69221   glibcxx_cv_func_modff_use=no
69222 fi
69223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69224       ac_ext=c
69225 ac_cpp='$CPP $CPPFLAGS'
69226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69229
69230
69231 fi
69232
69233   fi
69234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69236
69237   if test x$glibcxx_cv_func_modff_use = x"yes"; then
69238     for ac_func in modff
69239 do :
69240   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69241 if test "x$ac_cv_func_modff" = x""yes; then :
69242   cat >>confdefs.h <<_ACEOF
69243 #define HAVE_MODFF 1
69244 _ACEOF
69245
69246 fi
69247 done
69248
69249   else
69250
69251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69252 $as_echo_n "checking for _modff declaration... " >&6; }
69253   if test x${glibcxx_cv_func__modff_use+set} != xset; then
69254     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69255   $as_echo_n "(cached) " >&6
69256 else
69257
69258
69259       ac_ext=cpp
69260 ac_cpp='$CXXCPP $CPPFLAGS'
69261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69264
69265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69266 /* end confdefs.h.  */
69267 #include <math.h>
69268 int
69269 main ()
69270 {
69271  _modff(0, 0);
69272   ;
69273   return 0;
69274 }
69275 _ACEOF
69276 if ac_fn_cxx_try_compile "$LINENO"; then :
69277   glibcxx_cv_func__modff_use=yes
69278 else
69279   glibcxx_cv_func__modff_use=no
69280 fi
69281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69282       ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69287
69288
69289 fi
69290
69291   fi
69292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69294
69295     if test x$glibcxx_cv_func__modff_use = x"yes"; then
69296       for ac_func in _modff
69297 do :
69298   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69299 if test "x$ac_cv_func__modff" = x""yes; then :
69300   cat >>confdefs.h <<_ACEOF
69301 #define HAVE__MODFF 1
69302 _ACEOF
69303
69304 fi
69305 done
69306
69307     fi
69308   fi
69309
69310
69311
69312
69313
69314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69315 $as_echo_n "checking for modf declaration... " >&6; }
69316   if test x${glibcxx_cv_func_modf_use+set} != xset; then
69317     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69318   $as_echo_n "(cached) " >&6
69319 else
69320
69321
69322       ac_ext=cpp
69323 ac_cpp='$CXXCPP $CPPFLAGS'
69324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69327
69328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69329 /* end confdefs.h.  */
69330 #include <math.h>
69331 int
69332 main ()
69333 {
69334  modf(0, 0);
69335   ;
69336   return 0;
69337 }
69338 _ACEOF
69339 if ac_fn_cxx_try_compile "$LINENO"; then :
69340   glibcxx_cv_func_modf_use=yes
69341 else
69342   glibcxx_cv_func_modf_use=no
69343 fi
69344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69345       ac_ext=c
69346 ac_cpp='$CPP $CPPFLAGS'
69347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69350
69351
69352 fi
69353
69354   fi
69355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69357
69358   if test x$glibcxx_cv_func_modf_use = x"yes"; then
69359     for ac_func in modf
69360 do :
69361   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69362 if test "x$ac_cv_func_modf" = x""yes; then :
69363   cat >>confdefs.h <<_ACEOF
69364 #define HAVE_MODF 1
69365 _ACEOF
69366
69367 fi
69368 done
69369
69370   else
69371
69372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69373 $as_echo_n "checking for _modf declaration... " >&6; }
69374   if test x${glibcxx_cv_func__modf_use+set} != xset; then
69375     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69376   $as_echo_n "(cached) " >&6
69377 else
69378
69379
69380       ac_ext=cpp
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69385
69386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69387 /* end confdefs.h.  */
69388 #include <math.h>
69389 int
69390 main ()
69391 {
69392  _modf(0, 0);
69393   ;
69394   return 0;
69395 }
69396 _ACEOF
69397 if ac_fn_cxx_try_compile "$LINENO"; then :
69398   glibcxx_cv_func__modf_use=yes
69399 else
69400   glibcxx_cv_func__modf_use=no
69401 fi
69402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69403       ac_ext=c
69404 ac_cpp='$CPP $CPPFLAGS'
69405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69408
69409
69410 fi
69411
69412   fi
69413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69415
69416     if test x$glibcxx_cv_func__modf_use = x"yes"; then
69417       for ac_func in _modf
69418 do :
69419   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69420 if test "x$ac_cv_func__modf" = x""yes; then :
69421   cat >>confdefs.h <<_ACEOF
69422 #define HAVE__MODF 1
69423 _ACEOF
69424
69425 fi
69426 done
69427
69428     fi
69429   fi
69430
69431
69432
69433
69434
69435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69436 $as_echo_n "checking for powf declaration... " >&6; }
69437   if test x${glibcxx_cv_func_powf_use+set} != xset; then
69438     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69439   $as_echo_n "(cached) " >&6
69440 else
69441
69442
69443       ac_ext=cpp
69444 ac_cpp='$CXXCPP $CPPFLAGS'
69445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69448
69449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69450 /* end confdefs.h.  */
69451 #include <math.h>
69452 int
69453 main ()
69454 {
69455  powf(0, 0);
69456   ;
69457   return 0;
69458 }
69459 _ACEOF
69460 if ac_fn_cxx_try_compile "$LINENO"; then :
69461   glibcxx_cv_func_powf_use=yes
69462 else
69463   glibcxx_cv_func_powf_use=no
69464 fi
69465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69466       ac_ext=c
69467 ac_cpp='$CPP $CPPFLAGS'
69468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69471
69472
69473 fi
69474
69475   fi
69476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69478
69479   if test x$glibcxx_cv_func_powf_use = x"yes"; then
69480     for ac_func in powf
69481 do :
69482   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69483 if test "x$ac_cv_func_powf" = x""yes; then :
69484   cat >>confdefs.h <<_ACEOF
69485 #define HAVE_POWF 1
69486 _ACEOF
69487
69488 fi
69489 done
69490
69491   else
69492
69493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69494 $as_echo_n "checking for _powf declaration... " >&6; }
69495   if test x${glibcxx_cv_func__powf_use+set} != xset; then
69496     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69497   $as_echo_n "(cached) " >&6
69498 else
69499
69500
69501       ac_ext=cpp
69502 ac_cpp='$CXXCPP $CPPFLAGS'
69503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69506
69507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69508 /* end confdefs.h.  */
69509 #include <math.h>
69510 int
69511 main ()
69512 {
69513  _powf(0, 0);
69514   ;
69515   return 0;
69516 }
69517 _ACEOF
69518 if ac_fn_cxx_try_compile "$LINENO"; then :
69519   glibcxx_cv_func__powf_use=yes
69520 else
69521   glibcxx_cv_func__powf_use=no
69522 fi
69523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69524       ac_ext=c
69525 ac_cpp='$CPP $CPPFLAGS'
69526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69529
69530
69531 fi
69532
69533   fi
69534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69536
69537     if test x$glibcxx_cv_func__powf_use = x"yes"; then
69538       for ac_func in _powf
69539 do :
69540   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69541 if test "x$ac_cv_func__powf" = x""yes; then :
69542   cat >>confdefs.h <<_ACEOF
69543 #define HAVE__POWF 1
69544 _ACEOF
69545
69546 fi
69547 done
69548
69549     fi
69550   fi
69551
69552
69553
69554
69555
69556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69557 $as_echo_n "checking for sqrtf declaration... " >&6; }
69558   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69559     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69560   $as_echo_n "(cached) " >&6
69561 else
69562
69563
69564       ac_ext=cpp
69565 ac_cpp='$CXXCPP $CPPFLAGS'
69566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69569
69570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69571 /* end confdefs.h.  */
69572 #include <math.h>
69573                       #ifdef HAVE_IEEEFP_H
69574                       #include <ieeefp.h>
69575                       #endif
69576
69577 int
69578 main ()
69579 {
69580  sqrtf(0);
69581   ;
69582   return 0;
69583 }
69584 _ACEOF
69585 if ac_fn_cxx_try_compile "$LINENO"; then :
69586   glibcxx_cv_func_sqrtf_use=yes
69587 else
69588   glibcxx_cv_func_sqrtf_use=no
69589 fi
69590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69591       ac_ext=c
69592 ac_cpp='$CPP $CPPFLAGS'
69593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69596
69597
69598 fi
69599
69600   fi
69601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69603
69604   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69605     for ac_func in sqrtf
69606 do :
69607   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69608 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69609   cat >>confdefs.h <<_ACEOF
69610 #define HAVE_SQRTF 1
69611 _ACEOF
69612
69613 fi
69614 done
69615
69616   else
69617
69618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69620   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69621     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69622   $as_echo_n "(cached) " >&6
69623 else
69624
69625
69626       ac_ext=cpp
69627 ac_cpp='$CXXCPP $CPPFLAGS'
69628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69631
69632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69633 /* end confdefs.h.  */
69634 #include <math.h>
69635                       #ifdef HAVE_IEEEFP_H
69636                       #include <ieeefp.h>
69637                       #endif
69638
69639 int
69640 main ()
69641 {
69642  _sqrtf(0);
69643   ;
69644   return 0;
69645 }
69646 _ACEOF
69647 if ac_fn_cxx_try_compile "$LINENO"; then :
69648   glibcxx_cv_func__sqrtf_use=yes
69649 else
69650   glibcxx_cv_func__sqrtf_use=no
69651 fi
69652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69653       ac_ext=c
69654 ac_cpp='$CPP $CPPFLAGS'
69655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69658
69659
69660 fi
69661
69662   fi
69663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69665
69666     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69667       for ac_func in _sqrtf
69668 do :
69669   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69670 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69671   cat >>confdefs.h <<_ACEOF
69672 #define HAVE__SQRTF 1
69673 _ACEOF
69674
69675 fi
69676 done
69677
69678     fi
69679   fi
69680
69681
69682
69683
69684
69685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69686 $as_echo_n "checking for sincosf declaration... " >&6; }
69687   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69688     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69689   $as_echo_n "(cached) " >&6
69690 else
69691
69692
69693       ac_ext=cpp
69694 ac_cpp='$CXXCPP $CPPFLAGS'
69695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69698
69699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69700 /* end confdefs.h.  */
69701 #include <math.h>
69702 int
69703 main ()
69704 {
69705  sincosf(0, 0, 0);
69706   ;
69707   return 0;
69708 }
69709 _ACEOF
69710 if ac_fn_cxx_try_compile "$LINENO"; then :
69711   glibcxx_cv_func_sincosf_use=yes
69712 else
69713   glibcxx_cv_func_sincosf_use=no
69714 fi
69715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69716       ac_ext=c
69717 ac_cpp='$CPP $CPPFLAGS'
69718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69721
69722
69723 fi
69724
69725   fi
69726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69728
69729   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69730     for ac_func in sincosf
69731 do :
69732   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69733 if test "x$ac_cv_func_sincosf" = x""yes; then :
69734   cat >>confdefs.h <<_ACEOF
69735 #define HAVE_SINCOSF 1
69736 _ACEOF
69737
69738 fi
69739 done
69740
69741   else
69742
69743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69744 $as_echo_n "checking for _sincosf declaration... " >&6; }
69745   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69746     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69747   $as_echo_n "(cached) " >&6
69748 else
69749
69750
69751       ac_ext=cpp
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69756
69757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69758 /* end confdefs.h.  */
69759 #include <math.h>
69760 int
69761 main ()
69762 {
69763  _sincosf(0, 0, 0);
69764   ;
69765   return 0;
69766 }
69767 _ACEOF
69768 if ac_fn_cxx_try_compile "$LINENO"; then :
69769   glibcxx_cv_func__sincosf_use=yes
69770 else
69771   glibcxx_cv_func__sincosf_use=no
69772 fi
69773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69774       ac_ext=c
69775 ac_cpp='$CPP $CPPFLAGS'
69776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69779
69780
69781 fi
69782
69783   fi
69784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69786
69787     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69788       for ac_func in _sincosf
69789 do :
69790   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69791 if test "x$ac_cv_func__sincosf" = x""yes; then :
69792   cat >>confdefs.h <<_ACEOF
69793 #define HAVE__SINCOSF 1
69794 _ACEOF
69795
69796 fi
69797 done
69798
69799     fi
69800   fi
69801
69802
69803
69804
69805
69806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69807 $as_echo_n "checking for finitef declaration... " >&6; }
69808   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69809     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69810   $as_echo_n "(cached) " >&6
69811 else
69812
69813
69814       ac_ext=cpp
69815 ac_cpp='$CXXCPP $CPPFLAGS'
69816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69819
69820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h.  */
69822 #include <math.h>
69823                       #ifdef HAVE_IEEEFP_H
69824                       #include <ieeefp.h>
69825                       #endif
69826
69827 int
69828 main ()
69829 {
69830  finitef(0);
69831   ;
69832   return 0;
69833 }
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836   glibcxx_cv_func_finitef_use=yes
69837 else
69838   glibcxx_cv_func_finitef_use=no
69839 fi
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841       ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69846
69847
69848 fi
69849
69850   fi
69851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69853
69854   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69855     for ac_func in finitef
69856 do :
69857   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69858 if test "x$ac_cv_func_finitef" = x""yes; then :
69859   cat >>confdefs.h <<_ACEOF
69860 #define HAVE_FINITEF 1
69861 _ACEOF
69862
69863 fi
69864 done
69865
69866   else
69867
69868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69869 $as_echo_n "checking for _finitef declaration... " >&6; }
69870   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69871     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69872   $as_echo_n "(cached) " >&6
69873 else
69874
69875
69876       ac_ext=cpp
69877 ac_cpp='$CXXCPP $CPPFLAGS'
69878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69881
69882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69883 /* end confdefs.h.  */
69884 #include <math.h>
69885                       #ifdef HAVE_IEEEFP_H
69886                       #include <ieeefp.h>
69887                       #endif
69888
69889 int
69890 main ()
69891 {
69892  _finitef(0);
69893   ;
69894   return 0;
69895 }
69896 _ACEOF
69897 if ac_fn_cxx_try_compile "$LINENO"; then :
69898   glibcxx_cv_func__finitef_use=yes
69899 else
69900   glibcxx_cv_func__finitef_use=no
69901 fi
69902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69903       ac_ext=c
69904 ac_cpp='$CPP $CPPFLAGS'
69905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69908
69909
69910 fi
69911
69912   fi
69913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69915
69916     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69917       for ac_func in _finitef
69918 do :
69919   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69920 if test "x$ac_cv_func__finitef" = x""yes; then :
69921   cat >>confdefs.h <<_ACEOF
69922 #define HAVE__FINITEF 1
69923 _ACEOF
69924
69925 fi
69926 done
69927
69928     fi
69929   fi
69930
69931
69932
69933
69934
69935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69936 $as_echo_n "checking for long double trig functions... " >&6; }
69937   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69938   $as_echo_n "(cached) " >&6
69939 else
69940
69941
69942     ac_ext=cpp
69943 ac_cpp='$CXXCPP $CPPFLAGS'
69944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69947
69948     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69949 /* end confdefs.h.  */
69950 #include <math.h>
69951 int
69952 main ()
69953 {
69954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69955   ;
69956   return 0;
69957 }
69958 _ACEOF
69959 if ac_fn_cxx_try_compile "$LINENO"; then :
69960   glibcxx_cv_func_long_double_trig_use=yes
69961 else
69962   glibcxx_cv_func_long_double_trig_use=no
69963 fi
69964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69965     ac_ext=c
69966 ac_cpp='$CPP $CPPFLAGS'
69967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69970
69971 fi
69972
69973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69975   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69976     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69977 do :
69978   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69980 eval as_val=\$$as_ac_var
69981    if test "x$as_val" = x""yes; then :
69982   cat >>confdefs.h <<_ACEOF
69983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69984 _ACEOF
69985
69986 fi
69987 done
69988
69989   else
69990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69991 $as_echo_n "checking for _long double trig functions... " >&6; }
69992     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69993   $as_echo_n "(cached) " >&6
69994 else
69995
69996
69997       ac_ext=cpp
69998 ac_cpp='$CXXCPP $CPPFLAGS'
69999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70002
70003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70004 /* end confdefs.h.  */
70005 #include <math.h>
70006 int
70007 main ()
70008 {
70009 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70010   ;
70011   return 0;
70012 }
70013 _ACEOF
70014 if ac_fn_cxx_try_compile "$LINENO"; then :
70015   glibcxx_cv_func__long_double_trig_use=yes
70016 else
70017   glibcxx_cv_func__long_double_trig_use=no
70018 fi
70019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70020       ac_ext=c
70021 ac_cpp='$CPP $CPPFLAGS'
70022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70025
70026 fi
70027
70028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70029 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70030     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70031       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70032 do :
70033   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70035 eval as_val=\$$as_ac_var
70036    if test "x$as_val" = x""yes; then :
70037   cat >>confdefs.h <<_ACEOF
70038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70039 _ACEOF
70040
70041 fi
70042 done
70043
70044     fi
70045   fi
70046
70047
70048
70049
70050
70051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70052 $as_echo_n "checking for long double round functions... " >&6; }
70053   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70054   $as_echo_n "(cached) " >&6
70055 else
70056
70057
70058     ac_ext=cpp
70059 ac_cpp='$CXXCPP $CPPFLAGS'
70060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70063
70064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70065 /* end confdefs.h.  */
70066 #include <math.h>
70067 int
70068 main ()
70069 {
70070 ceill (0); floorl (0);
70071   ;
70072   return 0;
70073 }
70074 _ACEOF
70075 if ac_fn_cxx_try_compile "$LINENO"; then :
70076   glibcxx_cv_func_long_double_round_use=yes
70077 else
70078   glibcxx_cv_func_long_double_round_use=no
70079 fi
70080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70081     ac_ext=c
70082 ac_cpp='$CPP $CPPFLAGS'
70083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70086
70087 fi
70088
70089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70090 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70091   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70092     for ac_func in ceill floorl
70093 do :
70094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70096 eval as_val=\$$as_ac_var
70097    if test "x$as_val" = x""yes; then :
70098   cat >>confdefs.h <<_ACEOF
70099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70100 _ACEOF
70101
70102 fi
70103 done
70104
70105   else
70106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70107 $as_echo_n "checking for _long double round functions... " >&6; }
70108     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70109   $as_echo_n "(cached) " >&6
70110 else
70111
70112
70113       ac_ext=cpp
70114 ac_cpp='$CXXCPP $CPPFLAGS'
70115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70118
70119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70120 /* end confdefs.h.  */
70121 #include <math.h>
70122 int
70123 main ()
70124 {
70125 _ceill (0); _floorl (0);
70126   ;
70127   return 0;
70128 }
70129 _ACEOF
70130 if ac_fn_cxx_try_compile "$LINENO"; then :
70131   glibcxx_cv_func__long_double_round_use=yes
70132 else
70133   glibcxx_cv_func__long_double_round_use=no
70134 fi
70135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70136       ac_ext=c
70137 ac_cpp='$CPP $CPPFLAGS'
70138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70141
70142 fi
70143
70144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70145 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70146     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70147       for ac_func in _ceill _floorl
70148 do :
70149   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70151 eval as_val=\$$as_ac_var
70152    if test "x$as_val" = x""yes; then :
70153   cat >>confdefs.h <<_ACEOF
70154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70155 _ACEOF
70156
70157 fi
70158 done
70159
70160     fi
70161   fi
70162
70163
70164
70165
70166
70167
70168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70169 $as_echo_n "checking for isnanl declaration... " >&6; }
70170   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70171     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70172   $as_echo_n "(cached) " >&6
70173 else
70174
70175
70176       ac_ext=cpp
70177 ac_cpp='$CXXCPP $CPPFLAGS'
70178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70181
70182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70183 /* end confdefs.h.  */
70184 #include <math.h>
70185                       #ifdef HAVE_IEEEFP_H
70186                       #include <ieeefp.h>
70187                       #endif
70188
70189 int
70190 main ()
70191 {
70192  isnanl(0);
70193   ;
70194   return 0;
70195 }
70196 _ACEOF
70197 if ac_fn_cxx_try_compile "$LINENO"; then :
70198   glibcxx_cv_func_isnanl_use=yes
70199 else
70200   glibcxx_cv_func_isnanl_use=no
70201 fi
70202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70203       ac_ext=c
70204 ac_cpp='$CPP $CPPFLAGS'
70205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70208
70209
70210 fi
70211
70212   fi
70213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70215
70216   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70217     for ac_func in isnanl
70218 do :
70219   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70220 if test "x$ac_cv_func_isnanl" = x""yes; then :
70221   cat >>confdefs.h <<_ACEOF
70222 #define HAVE_ISNANL 1
70223 _ACEOF
70224
70225 fi
70226 done
70227
70228   else
70229
70230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70231 $as_echo_n "checking for _isnanl declaration... " >&6; }
70232   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70233     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70234   $as_echo_n "(cached) " >&6
70235 else
70236
70237
70238       ac_ext=cpp
70239 ac_cpp='$CXXCPP $CPPFLAGS'
70240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70243
70244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70245 /* end confdefs.h.  */
70246 #include <math.h>
70247                       #ifdef HAVE_IEEEFP_H
70248                       #include <ieeefp.h>
70249                       #endif
70250
70251 int
70252 main ()
70253 {
70254  _isnanl(0);
70255   ;
70256   return 0;
70257 }
70258 _ACEOF
70259 if ac_fn_cxx_try_compile "$LINENO"; then :
70260   glibcxx_cv_func__isnanl_use=yes
70261 else
70262   glibcxx_cv_func__isnanl_use=no
70263 fi
70264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70265       ac_ext=c
70266 ac_cpp='$CPP $CPPFLAGS'
70267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70270
70271
70272 fi
70273
70274   fi
70275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70277
70278     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70279       for ac_func in _isnanl
70280 do :
70281   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70282 if test "x$ac_cv_func__isnanl" = x""yes; then :
70283   cat >>confdefs.h <<_ACEOF
70284 #define HAVE__ISNANL 1
70285 _ACEOF
70286
70287 fi
70288 done
70289
70290     fi
70291   fi
70292
70293
70294
70295
70296
70297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70298 $as_echo_n "checking for isinfl declaration... " >&6; }
70299   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70300     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70301   $as_echo_n "(cached) " >&6
70302 else
70303
70304
70305       ac_ext=cpp
70306 ac_cpp='$CXXCPP $CPPFLAGS'
70307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70310
70311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70312 /* end confdefs.h.  */
70313 #include <math.h>
70314                       #ifdef HAVE_IEEEFP_H
70315                       #include <ieeefp.h>
70316                       #endif
70317
70318 int
70319 main ()
70320 {
70321  isinfl(0);
70322   ;
70323   return 0;
70324 }
70325 _ACEOF
70326 if ac_fn_cxx_try_compile "$LINENO"; then :
70327   glibcxx_cv_func_isinfl_use=yes
70328 else
70329   glibcxx_cv_func_isinfl_use=no
70330 fi
70331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70332       ac_ext=c
70333 ac_cpp='$CPP $CPPFLAGS'
70334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70337
70338
70339 fi
70340
70341   fi
70342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70344
70345   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70346     for ac_func in isinfl
70347 do :
70348   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70349 if test "x$ac_cv_func_isinfl" = x""yes; then :
70350   cat >>confdefs.h <<_ACEOF
70351 #define HAVE_ISINFL 1
70352 _ACEOF
70353
70354 fi
70355 done
70356
70357   else
70358
70359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70360 $as_echo_n "checking for _isinfl declaration... " >&6; }
70361   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70362     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70363   $as_echo_n "(cached) " >&6
70364 else
70365
70366
70367       ac_ext=cpp
70368 ac_cpp='$CXXCPP $CPPFLAGS'
70369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70372
70373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70374 /* end confdefs.h.  */
70375 #include <math.h>
70376                       #ifdef HAVE_IEEEFP_H
70377                       #include <ieeefp.h>
70378                       #endif
70379
70380 int
70381 main ()
70382 {
70383  _isinfl(0);
70384   ;
70385   return 0;
70386 }
70387 _ACEOF
70388 if ac_fn_cxx_try_compile "$LINENO"; then :
70389   glibcxx_cv_func__isinfl_use=yes
70390 else
70391   glibcxx_cv_func__isinfl_use=no
70392 fi
70393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70394       ac_ext=c
70395 ac_cpp='$CPP $CPPFLAGS'
70396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70399
70400
70401 fi
70402
70403   fi
70404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70406
70407     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70408       for ac_func in _isinfl
70409 do :
70410   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70411 if test "x$ac_cv_func__isinfl" = x""yes; then :
70412   cat >>confdefs.h <<_ACEOF
70413 #define HAVE__ISINFL 1
70414 _ACEOF
70415
70416 fi
70417 done
70418
70419     fi
70420   fi
70421
70422
70423
70424
70425
70426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70427 $as_echo_n "checking for atan2l declaration... " >&6; }
70428   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70429     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70430   $as_echo_n "(cached) " >&6
70431 else
70432
70433
70434       ac_ext=cpp
70435 ac_cpp='$CXXCPP $CPPFLAGS'
70436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70439
70440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70441 /* end confdefs.h.  */
70442 #include <math.h>
70443 int
70444 main ()
70445 {
70446  atan2l(0, 0);
70447   ;
70448   return 0;
70449 }
70450 _ACEOF
70451 if ac_fn_cxx_try_compile "$LINENO"; then :
70452   glibcxx_cv_func_atan2l_use=yes
70453 else
70454   glibcxx_cv_func_atan2l_use=no
70455 fi
70456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70457       ac_ext=c
70458 ac_cpp='$CPP $CPPFLAGS'
70459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70462
70463
70464 fi
70465
70466   fi
70467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70469
70470   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70471     for ac_func in atan2l
70472 do :
70473   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70474 if test "x$ac_cv_func_atan2l" = x""yes; then :
70475   cat >>confdefs.h <<_ACEOF
70476 #define HAVE_ATAN2L 1
70477 _ACEOF
70478
70479 fi
70480 done
70481
70482   else
70483
70484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70485 $as_echo_n "checking for _atan2l declaration... " >&6; }
70486   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70487     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70488   $as_echo_n "(cached) " >&6
70489 else
70490
70491
70492       ac_ext=cpp
70493 ac_cpp='$CXXCPP $CPPFLAGS'
70494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70497
70498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70499 /* end confdefs.h.  */
70500 #include <math.h>
70501 int
70502 main ()
70503 {
70504  _atan2l(0, 0);
70505   ;
70506   return 0;
70507 }
70508 _ACEOF
70509 if ac_fn_cxx_try_compile "$LINENO"; then :
70510   glibcxx_cv_func__atan2l_use=yes
70511 else
70512   glibcxx_cv_func__atan2l_use=no
70513 fi
70514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70515       ac_ext=c
70516 ac_cpp='$CPP $CPPFLAGS'
70517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70520
70521
70522 fi
70523
70524   fi
70525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70527
70528     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70529       for ac_func in _atan2l
70530 do :
70531   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70532 if test "x$ac_cv_func__atan2l" = x""yes; then :
70533   cat >>confdefs.h <<_ACEOF
70534 #define HAVE__ATAN2L 1
70535 _ACEOF
70536
70537 fi
70538 done
70539
70540     fi
70541   fi
70542
70543
70544
70545
70546
70547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70548 $as_echo_n "checking for expl declaration... " >&6; }
70549   if test x${glibcxx_cv_func_expl_use+set} != xset; then
70550     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70551   $as_echo_n "(cached) " >&6
70552 else
70553
70554
70555       ac_ext=cpp
70556 ac_cpp='$CXXCPP $CPPFLAGS'
70557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70560
70561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70562 /* end confdefs.h.  */
70563 #include <math.h>
70564                       #ifdef HAVE_IEEEFP_H
70565                       #include <ieeefp.h>
70566                       #endif
70567
70568 int
70569 main ()
70570 {
70571  expl(0);
70572   ;
70573   return 0;
70574 }
70575 _ACEOF
70576 if ac_fn_cxx_try_compile "$LINENO"; then :
70577   glibcxx_cv_func_expl_use=yes
70578 else
70579   glibcxx_cv_func_expl_use=no
70580 fi
70581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70582       ac_ext=c
70583 ac_cpp='$CPP $CPPFLAGS'
70584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70587
70588
70589 fi
70590
70591   fi
70592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70594
70595   if test x$glibcxx_cv_func_expl_use = x"yes"; then
70596     for ac_func in expl
70597 do :
70598   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70599 if test "x$ac_cv_func_expl" = x""yes; then :
70600   cat >>confdefs.h <<_ACEOF
70601 #define HAVE_EXPL 1
70602 _ACEOF
70603
70604 fi
70605 done
70606
70607   else
70608
70609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70610 $as_echo_n "checking for _expl declaration... " >&6; }
70611   if test x${glibcxx_cv_func__expl_use+set} != xset; then
70612     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70613   $as_echo_n "(cached) " >&6
70614 else
70615
70616
70617       ac_ext=cpp
70618 ac_cpp='$CXXCPP $CPPFLAGS'
70619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70622
70623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70624 /* end confdefs.h.  */
70625 #include <math.h>
70626                       #ifdef HAVE_IEEEFP_H
70627                       #include <ieeefp.h>
70628                       #endif
70629
70630 int
70631 main ()
70632 {
70633  _expl(0);
70634   ;
70635   return 0;
70636 }
70637 _ACEOF
70638 if ac_fn_cxx_try_compile "$LINENO"; then :
70639   glibcxx_cv_func__expl_use=yes
70640 else
70641   glibcxx_cv_func__expl_use=no
70642 fi
70643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70644       ac_ext=c
70645 ac_cpp='$CPP $CPPFLAGS'
70646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70649
70650
70651 fi
70652
70653   fi
70654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70656
70657     if test x$glibcxx_cv_func__expl_use = x"yes"; then
70658       for ac_func in _expl
70659 do :
70660   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70661 if test "x$ac_cv_func__expl" = x""yes; then :
70662   cat >>confdefs.h <<_ACEOF
70663 #define HAVE__EXPL 1
70664 _ACEOF
70665
70666 fi
70667 done
70668
70669     fi
70670   fi
70671
70672
70673
70674
70675
70676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70677 $as_echo_n "checking for fabsl declaration... " >&6; }
70678   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70679     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70680   $as_echo_n "(cached) " >&6
70681 else
70682
70683
70684       ac_ext=cpp
70685 ac_cpp='$CXXCPP $CPPFLAGS'
70686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70689
70690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70691 /* end confdefs.h.  */
70692 #include <math.h>
70693                       #ifdef HAVE_IEEEFP_H
70694                       #include <ieeefp.h>
70695                       #endif
70696
70697 int
70698 main ()
70699 {
70700  fabsl(0);
70701   ;
70702   return 0;
70703 }
70704 _ACEOF
70705 if ac_fn_cxx_try_compile "$LINENO"; then :
70706   glibcxx_cv_func_fabsl_use=yes
70707 else
70708   glibcxx_cv_func_fabsl_use=no
70709 fi
70710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70711       ac_ext=c
70712 ac_cpp='$CPP $CPPFLAGS'
70713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70716
70717
70718 fi
70719
70720   fi
70721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70723
70724   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70725     for ac_func in fabsl
70726 do :
70727   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70728 if test "x$ac_cv_func_fabsl" = x""yes; then :
70729   cat >>confdefs.h <<_ACEOF
70730 #define HAVE_FABSL 1
70731 _ACEOF
70732
70733 fi
70734 done
70735
70736   else
70737
70738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70739 $as_echo_n "checking for _fabsl declaration... " >&6; }
70740   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70741     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70742   $as_echo_n "(cached) " >&6
70743 else
70744
70745
70746       ac_ext=cpp
70747 ac_cpp='$CXXCPP $CPPFLAGS'
70748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70751
70752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70753 /* end confdefs.h.  */
70754 #include <math.h>
70755                       #ifdef HAVE_IEEEFP_H
70756                       #include <ieeefp.h>
70757                       #endif
70758
70759 int
70760 main ()
70761 {
70762  _fabsl(0);
70763   ;
70764   return 0;
70765 }
70766 _ACEOF
70767 if ac_fn_cxx_try_compile "$LINENO"; then :
70768   glibcxx_cv_func__fabsl_use=yes
70769 else
70770   glibcxx_cv_func__fabsl_use=no
70771 fi
70772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70773       ac_ext=c
70774 ac_cpp='$CPP $CPPFLAGS'
70775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70778
70779
70780 fi
70781
70782   fi
70783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70785
70786     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70787       for ac_func in _fabsl
70788 do :
70789   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70790 if test "x$ac_cv_func__fabsl" = x""yes; then :
70791   cat >>confdefs.h <<_ACEOF
70792 #define HAVE__FABSL 1
70793 _ACEOF
70794
70795 fi
70796 done
70797
70798     fi
70799   fi
70800
70801
70802
70803
70804
70805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70806 $as_echo_n "checking for fmodl declaration... " >&6; }
70807   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70808     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70809   $as_echo_n "(cached) " >&6
70810 else
70811
70812
70813       ac_ext=cpp
70814 ac_cpp='$CXXCPP $CPPFLAGS'
70815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70818
70819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70820 /* end confdefs.h.  */
70821 #include <math.h>
70822 int
70823 main ()
70824 {
70825  fmodl(0, 0);
70826   ;
70827   return 0;
70828 }
70829 _ACEOF
70830 if ac_fn_cxx_try_compile "$LINENO"; then :
70831   glibcxx_cv_func_fmodl_use=yes
70832 else
70833   glibcxx_cv_func_fmodl_use=no
70834 fi
70835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70836       ac_ext=c
70837 ac_cpp='$CPP $CPPFLAGS'
70838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70841
70842
70843 fi
70844
70845   fi
70846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70848
70849   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70850     for ac_func in fmodl
70851 do :
70852   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70853 if test "x$ac_cv_func_fmodl" = x""yes; then :
70854   cat >>confdefs.h <<_ACEOF
70855 #define HAVE_FMODL 1
70856 _ACEOF
70857
70858 fi
70859 done
70860
70861   else
70862
70863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70864 $as_echo_n "checking for _fmodl declaration... " >&6; }
70865   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70866     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70867   $as_echo_n "(cached) " >&6
70868 else
70869
70870
70871       ac_ext=cpp
70872 ac_cpp='$CXXCPP $CPPFLAGS'
70873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70876
70877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70878 /* end confdefs.h.  */
70879 #include <math.h>
70880 int
70881 main ()
70882 {
70883  _fmodl(0, 0);
70884   ;
70885   return 0;
70886 }
70887 _ACEOF
70888 if ac_fn_cxx_try_compile "$LINENO"; then :
70889   glibcxx_cv_func__fmodl_use=yes
70890 else
70891   glibcxx_cv_func__fmodl_use=no
70892 fi
70893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70894       ac_ext=c
70895 ac_cpp='$CPP $CPPFLAGS'
70896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70899
70900
70901 fi
70902
70903   fi
70904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70906
70907     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70908       for ac_func in _fmodl
70909 do :
70910   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70911 if test "x$ac_cv_func__fmodl" = x""yes; then :
70912   cat >>confdefs.h <<_ACEOF
70913 #define HAVE__FMODL 1
70914 _ACEOF
70915
70916 fi
70917 done
70918
70919     fi
70920   fi
70921
70922
70923
70924
70925
70926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70927 $as_echo_n "checking for frexpl declaration... " >&6; }
70928   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70929     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70930   $as_echo_n "(cached) " >&6
70931 else
70932
70933
70934       ac_ext=cpp
70935 ac_cpp='$CXXCPP $CPPFLAGS'
70936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70939
70940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70941 /* end confdefs.h.  */
70942 #include <math.h>
70943 int
70944 main ()
70945 {
70946  frexpl(0, 0);
70947   ;
70948   return 0;
70949 }
70950 _ACEOF
70951 if ac_fn_cxx_try_compile "$LINENO"; then :
70952   glibcxx_cv_func_frexpl_use=yes
70953 else
70954   glibcxx_cv_func_frexpl_use=no
70955 fi
70956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70957       ac_ext=c
70958 ac_cpp='$CPP $CPPFLAGS'
70959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70962
70963
70964 fi
70965
70966   fi
70967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70969
70970   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70971     for ac_func in frexpl
70972 do :
70973   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70974 if test "x$ac_cv_func_frexpl" = x""yes; then :
70975   cat >>confdefs.h <<_ACEOF
70976 #define HAVE_FREXPL 1
70977 _ACEOF
70978
70979 fi
70980 done
70981
70982   else
70983
70984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70985 $as_echo_n "checking for _frexpl declaration... " >&6; }
70986   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70987     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70988   $as_echo_n "(cached) " >&6
70989 else
70990
70991
70992       ac_ext=cpp
70993 ac_cpp='$CXXCPP $CPPFLAGS'
70994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70997
70998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70999 /* end confdefs.h.  */
71000 #include <math.h>
71001 int
71002 main ()
71003 {
71004  _frexpl(0, 0);
71005   ;
71006   return 0;
71007 }
71008 _ACEOF
71009 if ac_fn_cxx_try_compile "$LINENO"; then :
71010   glibcxx_cv_func__frexpl_use=yes
71011 else
71012   glibcxx_cv_func__frexpl_use=no
71013 fi
71014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71015       ac_ext=c
71016 ac_cpp='$CPP $CPPFLAGS'
71017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71020
71021
71022 fi
71023
71024   fi
71025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71027
71028     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71029       for ac_func in _frexpl
71030 do :
71031   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71032 if test "x$ac_cv_func__frexpl" = x""yes; then :
71033   cat >>confdefs.h <<_ACEOF
71034 #define HAVE__FREXPL 1
71035 _ACEOF
71036
71037 fi
71038 done
71039
71040     fi
71041   fi
71042
71043
71044
71045
71046
71047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71048 $as_echo_n "checking for hypotl declaration... " >&6; }
71049   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71050     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71051   $as_echo_n "(cached) " >&6
71052 else
71053
71054
71055       ac_ext=cpp
71056 ac_cpp='$CXXCPP $CPPFLAGS'
71057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71060
71061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71062 /* end confdefs.h.  */
71063 #include <math.h>
71064 int
71065 main ()
71066 {
71067  hypotl(0, 0);
71068   ;
71069   return 0;
71070 }
71071 _ACEOF
71072 if ac_fn_cxx_try_compile "$LINENO"; then :
71073   glibcxx_cv_func_hypotl_use=yes
71074 else
71075   glibcxx_cv_func_hypotl_use=no
71076 fi
71077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71078       ac_ext=c
71079 ac_cpp='$CPP $CPPFLAGS'
71080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71083
71084
71085 fi
71086
71087   fi
71088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71090
71091   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71092     for ac_func in hypotl
71093 do :
71094   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71095 if test "x$ac_cv_func_hypotl" = x""yes; then :
71096   cat >>confdefs.h <<_ACEOF
71097 #define HAVE_HYPOTL 1
71098 _ACEOF
71099
71100 fi
71101 done
71102
71103   else
71104
71105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71106 $as_echo_n "checking for _hypotl declaration... " >&6; }
71107   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71108     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71109   $as_echo_n "(cached) " >&6
71110 else
71111
71112
71113       ac_ext=cpp
71114 ac_cpp='$CXXCPP $CPPFLAGS'
71115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71118
71119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71120 /* end confdefs.h.  */
71121 #include <math.h>
71122 int
71123 main ()
71124 {
71125  _hypotl(0, 0);
71126   ;
71127   return 0;
71128 }
71129 _ACEOF
71130 if ac_fn_cxx_try_compile "$LINENO"; then :
71131   glibcxx_cv_func__hypotl_use=yes
71132 else
71133   glibcxx_cv_func__hypotl_use=no
71134 fi
71135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71136       ac_ext=c
71137 ac_cpp='$CPP $CPPFLAGS'
71138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71141
71142
71143 fi
71144
71145   fi
71146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71148
71149     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71150       for ac_func in _hypotl
71151 do :
71152   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71153 if test "x$ac_cv_func__hypotl" = x""yes; then :
71154   cat >>confdefs.h <<_ACEOF
71155 #define HAVE__HYPOTL 1
71156 _ACEOF
71157
71158 fi
71159 done
71160
71161     fi
71162   fi
71163
71164
71165
71166
71167
71168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71169 $as_echo_n "checking for ldexpl declaration... " >&6; }
71170   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71171     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71172   $as_echo_n "(cached) " >&6
71173 else
71174
71175
71176       ac_ext=cpp
71177 ac_cpp='$CXXCPP $CPPFLAGS'
71178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71181
71182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71183 /* end confdefs.h.  */
71184 #include <math.h>
71185 int
71186 main ()
71187 {
71188  ldexpl(0, 0);
71189   ;
71190   return 0;
71191 }
71192 _ACEOF
71193 if ac_fn_cxx_try_compile "$LINENO"; then :
71194   glibcxx_cv_func_ldexpl_use=yes
71195 else
71196   glibcxx_cv_func_ldexpl_use=no
71197 fi
71198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71199       ac_ext=c
71200 ac_cpp='$CPP $CPPFLAGS'
71201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71204
71205
71206 fi
71207
71208   fi
71209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71211
71212   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71213     for ac_func in ldexpl
71214 do :
71215   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71216 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71217   cat >>confdefs.h <<_ACEOF
71218 #define HAVE_LDEXPL 1
71219 _ACEOF
71220
71221 fi
71222 done
71223
71224   else
71225
71226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71228   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71229     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71230   $as_echo_n "(cached) " >&6
71231 else
71232
71233
71234       ac_ext=cpp
71235 ac_cpp='$CXXCPP $CPPFLAGS'
71236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71239
71240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71241 /* end confdefs.h.  */
71242 #include <math.h>
71243 int
71244 main ()
71245 {
71246  _ldexpl(0, 0);
71247   ;
71248   return 0;
71249 }
71250 _ACEOF
71251 if ac_fn_cxx_try_compile "$LINENO"; then :
71252   glibcxx_cv_func__ldexpl_use=yes
71253 else
71254   glibcxx_cv_func__ldexpl_use=no
71255 fi
71256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71257       ac_ext=c
71258 ac_cpp='$CPP $CPPFLAGS'
71259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71262
71263
71264 fi
71265
71266   fi
71267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71269
71270     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71271       for ac_func in _ldexpl
71272 do :
71273   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71274 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71275   cat >>confdefs.h <<_ACEOF
71276 #define HAVE__LDEXPL 1
71277 _ACEOF
71278
71279 fi
71280 done
71281
71282     fi
71283   fi
71284
71285
71286
71287
71288
71289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71290 $as_echo_n "checking for logl declaration... " >&6; }
71291   if test x${glibcxx_cv_func_logl_use+set} != xset; then
71292     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71293   $as_echo_n "(cached) " >&6
71294 else
71295
71296
71297       ac_ext=cpp
71298 ac_cpp='$CXXCPP $CPPFLAGS'
71299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71302
71303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71304 /* end confdefs.h.  */
71305 #include <math.h>
71306                       #ifdef HAVE_IEEEFP_H
71307                       #include <ieeefp.h>
71308                       #endif
71309
71310 int
71311 main ()
71312 {
71313  logl(0);
71314   ;
71315   return 0;
71316 }
71317 _ACEOF
71318 if ac_fn_cxx_try_compile "$LINENO"; then :
71319   glibcxx_cv_func_logl_use=yes
71320 else
71321   glibcxx_cv_func_logl_use=no
71322 fi
71323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71324       ac_ext=c
71325 ac_cpp='$CPP $CPPFLAGS'
71326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71329
71330
71331 fi
71332
71333   fi
71334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71336
71337   if test x$glibcxx_cv_func_logl_use = x"yes"; then
71338     for ac_func in logl
71339 do :
71340   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71341 if test "x$ac_cv_func_logl" = x""yes; then :
71342   cat >>confdefs.h <<_ACEOF
71343 #define HAVE_LOGL 1
71344 _ACEOF
71345
71346 fi
71347 done
71348
71349   else
71350
71351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71352 $as_echo_n "checking for _logl declaration... " >&6; }
71353   if test x${glibcxx_cv_func__logl_use+set} != xset; then
71354     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71355   $as_echo_n "(cached) " >&6
71356 else
71357
71358
71359       ac_ext=cpp
71360 ac_cpp='$CXXCPP $CPPFLAGS'
71361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71364
71365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71366 /* end confdefs.h.  */
71367 #include <math.h>
71368                       #ifdef HAVE_IEEEFP_H
71369                       #include <ieeefp.h>
71370                       #endif
71371
71372 int
71373 main ()
71374 {
71375  _logl(0);
71376   ;
71377   return 0;
71378 }
71379 _ACEOF
71380 if ac_fn_cxx_try_compile "$LINENO"; then :
71381   glibcxx_cv_func__logl_use=yes
71382 else
71383   glibcxx_cv_func__logl_use=no
71384 fi
71385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71386       ac_ext=c
71387 ac_cpp='$CPP $CPPFLAGS'
71388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71391
71392
71393 fi
71394
71395   fi
71396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71398
71399     if test x$glibcxx_cv_func__logl_use = x"yes"; then
71400       for ac_func in _logl
71401 do :
71402   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71403 if test "x$ac_cv_func__logl" = x""yes; then :
71404   cat >>confdefs.h <<_ACEOF
71405 #define HAVE__LOGL 1
71406 _ACEOF
71407
71408 fi
71409 done
71410
71411     fi
71412   fi
71413
71414
71415
71416
71417
71418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71419 $as_echo_n "checking for log10l declaration... " >&6; }
71420   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71421     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71422   $as_echo_n "(cached) " >&6
71423 else
71424
71425
71426       ac_ext=cpp
71427 ac_cpp='$CXXCPP $CPPFLAGS'
71428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71431
71432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71433 /* end confdefs.h.  */
71434 #include <math.h>
71435                       #ifdef HAVE_IEEEFP_H
71436                       #include <ieeefp.h>
71437                       #endif
71438
71439 int
71440 main ()
71441 {
71442  log10l(0);
71443   ;
71444   return 0;
71445 }
71446 _ACEOF
71447 if ac_fn_cxx_try_compile "$LINENO"; then :
71448   glibcxx_cv_func_log10l_use=yes
71449 else
71450   glibcxx_cv_func_log10l_use=no
71451 fi
71452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71453       ac_ext=c
71454 ac_cpp='$CPP $CPPFLAGS'
71455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71458
71459
71460 fi
71461
71462   fi
71463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71465
71466   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71467     for ac_func in log10l
71468 do :
71469   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71470 if test "x$ac_cv_func_log10l" = x""yes; then :
71471   cat >>confdefs.h <<_ACEOF
71472 #define HAVE_LOG10L 1
71473 _ACEOF
71474
71475 fi
71476 done
71477
71478   else
71479
71480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71481 $as_echo_n "checking for _log10l declaration... " >&6; }
71482   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71483     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71484   $as_echo_n "(cached) " >&6
71485 else
71486
71487
71488       ac_ext=cpp
71489 ac_cpp='$CXXCPP $CPPFLAGS'
71490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71493
71494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71495 /* end confdefs.h.  */
71496 #include <math.h>
71497                       #ifdef HAVE_IEEEFP_H
71498                       #include <ieeefp.h>
71499                       #endif
71500
71501 int
71502 main ()
71503 {
71504  _log10l(0);
71505   ;
71506   return 0;
71507 }
71508 _ACEOF
71509 if ac_fn_cxx_try_compile "$LINENO"; then :
71510   glibcxx_cv_func__log10l_use=yes
71511 else
71512   glibcxx_cv_func__log10l_use=no
71513 fi
71514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71515       ac_ext=c
71516 ac_cpp='$CPP $CPPFLAGS'
71517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71520
71521
71522 fi
71523
71524   fi
71525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71527
71528     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71529       for ac_func in _log10l
71530 do :
71531   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71532 if test "x$ac_cv_func__log10l" = x""yes; then :
71533   cat >>confdefs.h <<_ACEOF
71534 #define HAVE__LOG10L 1
71535 _ACEOF
71536
71537 fi
71538 done
71539
71540     fi
71541   fi
71542
71543
71544
71545
71546
71547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71548 $as_echo_n "checking for modfl declaration... " >&6; }
71549   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71550     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71551   $as_echo_n "(cached) " >&6
71552 else
71553
71554
71555       ac_ext=cpp
71556 ac_cpp='$CXXCPP $CPPFLAGS'
71557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71560
71561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71562 /* end confdefs.h.  */
71563 #include <math.h>
71564 int
71565 main ()
71566 {
71567  modfl(0, 0);
71568   ;
71569   return 0;
71570 }
71571 _ACEOF
71572 if ac_fn_cxx_try_compile "$LINENO"; then :
71573   glibcxx_cv_func_modfl_use=yes
71574 else
71575   glibcxx_cv_func_modfl_use=no
71576 fi
71577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71578       ac_ext=c
71579 ac_cpp='$CPP $CPPFLAGS'
71580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71583
71584
71585 fi
71586
71587   fi
71588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71590
71591   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71592     for ac_func in modfl
71593 do :
71594   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71595 if test "x$ac_cv_func_modfl" = x""yes; then :
71596   cat >>confdefs.h <<_ACEOF
71597 #define HAVE_MODFL 1
71598 _ACEOF
71599
71600 fi
71601 done
71602
71603   else
71604
71605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71606 $as_echo_n "checking for _modfl declaration... " >&6; }
71607   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71608     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71609   $as_echo_n "(cached) " >&6
71610 else
71611
71612
71613       ac_ext=cpp
71614 ac_cpp='$CXXCPP $CPPFLAGS'
71615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71618
71619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71620 /* end confdefs.h.  */
71621 #include <math.h>
71622 int
71623 main ()
71624 {
71625  _modfl(0, 0);
71626   ;
71627   return 0;
71628 }
71629 _ACEOF
71630 if ac_fn_cxx_try_compile "$LINENO"; then :
71631   glibcxx_cv_func__modfl_use=yes
71632 else
71633   glibcxx_cv_func__modfl_use=no
71634 fi
71635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71636       ac_ext=c
71637 ac_cpp='$CPP $CPPFLAGS'
71638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71641
71642
71643 fi
71644
71645   fi
71646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71648
71649     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71650       for ac_func in _modfl
71651 do :
71652   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71653 if test "x$ac_cv_func__modfl" = x""yes; then :
71654   cat >>confdefs.h <<_ACEOF
71655 #define HAVE__MODFL 1
71656 _ACEOF
71657
71658 fi
71659 done
71660
71661     fi
71662   fi
71663
71664
71665
71666
71667
71668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71669 $as_echo_n "checking for powl declaration... " >&6; }
71670   if test x${glibcxx_cv_func_powl_use+set} != xset; then
71671     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71672   $as_echo_n "(cached) " >&6
71673 else
71674
71675
71676       ac_ext=cpp
71677 ac_cpp='$CXXCPP $CPPFLAGS'
71678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71681
71682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71683 /* end confdefs.h.  */
71684 #include <math.h>
71685 int
71686 main ()
71687 {
71688  powl(0, 0);
71689   ;
71690   return 0;
71691 }
71692 _ACEOF
71693 if ac_fn_cxx_try_compile "$LINENO"; then :
71694   glibcxx_cv_func_powl_use=yes
71695 else
71696   glibcxx_cv_func_powl_use=no
71697 fi
71698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71699       ac_ext=c
71700 ac_cpp='$CPP $CPPFLAGS'
71701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71704
71705
71706 fi
71707
71708   fi
71709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71711
71712   if test x$glibcxx_cv_func_powl_use = x"yes"; then
71713     for ac_func in powl
71714 do :
71715   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71716 if test "x$ac_cv_func_powl" = x""yes; then :
71717   cat >>confdefs.h <<_ACEOF
71718 #define HAVE_POWL 1
71719 _ACEOF
71720
71721 fi
71722 done
71723
71724   else
71725
71726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71727 $as_echo_n "checking for _powl declaration... " >&6; }
71728   if test x${glibcxx_cv_func__powl_use+set} != xset; then
71729     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71730   $as_echo_n "(cached) " >&6
71731 else
71732
71733
71734       ac_ext=cpp
71735 ac_cpp='$CXXCPP $CPPFLAGS'
71736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71739
71740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71741 /* end confdefs.h.  */
71742 #include <math.h>
71743 int
71744 main ()
71745 {
71746  _powl(0, 0);
71747   ;
71748   return 0;
71749 }
71750 _ACEOF
71751 if ac_fn_cxx_try_compile "$LINENO"; then :
71752   glibcxx_cv_func__powl_use=yes
71753 else
71754   glibcxx_cv_func__powl_use=no
71755 fi
71756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71757       ac_ext=c
71758 ac_cpp='$CPP $CPPFLAGS'
71759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71762
71763
71764 fi
71765
71766   fi
71767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71769
71770     if test x$glibcxx_cv_func__powl_use = x"yes"; then
71771       for ac_func in _powl
71772 do :
71773   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71774 if test "x$ac_cv_func__powl" = x""yes; then :
71775   cat >>confdefs.h <<_ACEOF
71776 #define HAVE__POWL 1
71777 _ACEOF
71778
71779 fi
71780 done
71781
71782     fi
71783   fi
71784
71785
71786
71787
71788
71789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71790 $as_echo_n "checking for sqrtl declaration... " >&6; }
71791   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71792     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71793   $as_echo_n "(cached) " >&6
71794 else
71795
71796
71797       ac_ext=cpp
71798 ac_cpp='$CXXCPP $CPPFLAGS'
71799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71802
71803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71804 /* end confdefs.h.  */
71805 #include <math.h>
71806                       #ifdef HAVE_IEEEFP_H
71807                       #include <ieeefp.h>
71808                       #endif
71809
71810 int
71811 main ()
71812 {
71813  sqrtl(0);
71814   ;
71815   return 0;
71816 }
71817 _ACEOF
71818 if ac_fn_cxx_try_compile "$LINENO"; then :
71819   glibcxx_cv_func_sqrtl_use=yes
71820 else
71821   glibcxx_cv_func_sqrtl_use=no
71822 fi
71823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71824       ac_ext=c
71825 ac_cpp='$CPP $CPPFLAGS'
71826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71829
71830
71831 fi
71832
71833   fi
71834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71836
71837   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71838     for ac_func in sqrtl
71839 do :
71840   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71841 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71842   cat >>confdefs.h <<_ACEOF
71843 #define HAVE_SQRTL 1
71844 _ACEOF
71845
71846 fi
71847 done
71848
71849   else
71850
71851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71853   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71854     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71855   $as_echo_n "(cached) " >&6
71856 else
71857
71858
71859       ac_ext=cpp
71860 ac_cpp='$CXXCPP $CPPFLAGS'
71861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71864
71865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71866 /* end confdefs.h.  */
71867 #include <math.h>
71868                       #ifdef HAVE_IEEEFP_H
71869                       #include <ieeefp.h>
71870                       #endif
71871
71872 int
71873 main ()
71874 {
71875  _sqrtl(0);
71876   ;
71877   return 0;
71878 }
71879 _ACEOF
71880 if ac_fn_cxx_try_compile "$LINENO"; then :
71881   glibcxx_cv_func__sqrtl_use=yes
71882 else
71883   glibcxx_cv_func__sqrtl_use=no
71884 fi
71885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71886       ac_ext=c
71887 ac_cpp='$CPP $CPPFLAGS'
71888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71891
71892
71893 fi
71894
71895   fi
71896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71898
71899     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71900       for ac_func in _sqrtl
71901 do :
71902   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71903 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71904   cat >>confdefs.h <<_ACEOF
71905 #define HAVE__SQRTL 1
71906 _ACEOF
71907
71908 fi
71909 done
71910
71911     fi
71912   fi
71913
71914
71915
71916
71917
71918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71919 $as_echo_n "checking for sincosl declaration... " >&6; }
71920   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71921     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71922   $as_echo_n "(cached) " >&6
71923 else
71924
71925
71926       ac_ext=cpp
71927 ac_cpp='$CXXCPP $CPPFLAGS'
71928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71931
71932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71933 /* end confdefs.h.  */
71934 #include <math.h>
71935 int
71936 main ()
71937 {
71938  sincosl(0, 0, 0);
71939   ;
71940   return 0;
71941 }
71942 _ACEOF
71943 if ac_fn_cxx_try_compile "$LINENO"; then :
71944   glibcxx_cv_func_sincosl_use=yes
71945 else
71946   glibcxx_cv_func_sincosl_use=no
71947 fi
71948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71949       ac_ext=c
71950 ac_cpp='$CPP $CPPFLAGS'
71951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71954
71955
71956 fi
71957
71958   fi
71959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71961
71962   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71963     for ac_func in sincosl
71964 do :
71965   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71966 if test "x$ac_cv_func_sincosl" = x""yes; then :
71967   cat >>confdefs.h <<_ACEOF
71968 #define HAVE_SINCOSL 1
71969 _ACEOF
71970
71971 fi
71972 done
71973
71974   else
71975
71976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71977 $as_echo_n "checking for _sincosl declaration... " >&6; }
71978   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71979     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71980   $as_echo_n "(cached) " >&6
71981 else
71982
71983
71984       ac_ext=cpp
71985 ac_cpp='$CXXCPP $CPPFLAGS'
71986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71989
71990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71991 /* end confdefs.h.  */
71992 #include <math.h>
71993 int
71994 main ()
71995 {
71996  _sincosl(0, 0, 0);
71997   ;
71998   return 0;
71999 }
72000 _ACEOF
72001 if ac_fn_cxx_try_compile "$LINENO"; then :
72002   glibcxx_cv_func__sincosl_use=yes
72003 else
72004   glibcxx_cv_func__sincosl_use=no
72005 fi
72006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72007       ac_ext=c
72008 ac_cpp='$CPP $CPPFLAGS'
72009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72012
72013
72014 fi
72015
72016   fi
72017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72019
72020     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72021       for ac_func in _sincosl
72022 do :
72023   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72024 if test "x$ac_cv_func__sincosl" = x""yes; then :
72025   cat >>confdefs.h <<_ACEOF
72026 #define HAVE__SINCOSL 1
72027 _ACEOF
72028
72029 fi
72030 done
72031
72032     fi
72033   fi
72034
72035
72036
72037
72038
72039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72040 $as_echo_n "checking for finitel declaration... " >&6; }
72041   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72042     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72043   $as_echo_n "(cached) " >&6
72044 else
72045
72046
72047       ac_ext=cpp
72048 ac_cpp='$CXXCPP $CPPFLAGS'
72049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72052
72053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72054 /* end confdefs.h.  */
72055 #include <math.h>
72056                       #ifdef HAVE_IEEEFP_H
72057                       #include <ieeefp.h>
72058                       #endif
72059
72060 int
72061 main ()
72062 {
72063  finitel(0);
72064   ;
72065   return 0;
72066 }
72067 _ACEOF
72068 if ac_fn_cxx_try_compile "$LINENO"; then :
72069   glibcxx_cv_func_finitel_use=yes
72070 else
72071   glibcxx_cv_func_finitel_use=no
72072 fi
72073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72074       ac_ext=c
72075 ac_cpp='$CPP $CPPFLAGS'
72076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72079
72080
72081 fi
72082
72083   fi
72084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72086
72087   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72088     for ac_func in finitel
72089 do :
72090   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72091 if test "x$ac_cv_func_finitel" = x""yes; then :
72092   cat >>confdefs.h <<_ACEOF
72093 #define HAVE_FINITEL 1
72094 _ACEOF
72095
72096 fi
72097 done
72098
72099   else
72100
72101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72102 $as_echo_n "checking for _finitel declaration... " >&6; }
72103   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72104     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72105   $as_echo_n "(cached) " >&6
72106 else
72107
72108
72109       ac_ext=cpp
72110 ac_cpp='$CXXCPP $CPPFLAGS'
72111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72114
72115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72116 /* end confdefs.h.  */
72117 #include <math.h>
72118                       #ifdef HAVE_IEEEFP_H
72119                       #include <ieeefp.h>
72120                       #endif
72121
72122 int
72123 main ()
72124 {
72125  _finitel(0);
72126   ;
72127   return 0;
72128 }
72129 _ACEOF
72130 if ac_fn_cxx_try_compile "$LINENO"; then :
72131   glibcxx_cv_func__finitel_use=yes
72132 else
72133   glibcxx_cv_func__finitel_use=no
72134 fi
72135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72136       ac_ext=c
72137 ac_cpp='$CPP $CPPFLAGS'
72138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72141
72142
72143 fi
72144
72145   fi
72146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72148
72149     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72150       for ac_func in _finitel
72151 do :
72152   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72153 if test "x$ac_cv_func__finitel" = x""yes; then :
72154   cat >>confdefs.h <<_ACEOF
72155 #define HAVE__FINITEL 1
72156 _ACEOF
72157
72158 fi
72159 done
72160
72161     fi
72162   fi
72163
72164
72165
72166
72167   LIBS="$ac_save_LIBS"
72168   CXXFLAGS="$ac_save_CXXFLAGS"
72169
72170
72171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
72172   ac_save_CXXFLAGS="$CXXFLAGS"
72173   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72174
72175
72176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72177 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72178   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72179     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72180   $as_echo_n "(cached) " >&6
72181 else
72182
72183
72184       ac_ext=cpp
72185 ac_cpp='$CXXCPP $CPPFLAGS'
72186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72189
72190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72191 /* end confdefs.h.  */
72192 #include <stdlib.h>
72193 int
72194 main ()
72195 {
72196  at_quick_exit(0);
72197   ;
72198   return 0;
72199 }
72200 _ACEOF
72201 if ac_fn_cxx_try_compile "$LINENO"; then :
72202   glibcxx_cv_func_at_quick_exit_use=yes
72203 else
72204   glibcxx_cv_func_at_quick_exit_use=no
72205 fi
72206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72207       ac_ext=c
72208 ac_cpp='$CPP $CPPFLAGS'
72209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72212
72213
72214 fi
72215
72216   fi
72217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72218 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72219   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72220     for ac_func in at_quick_exit
72221 do :
72222   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72223 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72224   cat >>confdefs.h <<_ACEOF
72225 #define HAVE_AT_QUICK_EXIT 1
72226 _ACEOF
72227
72228 fi
72229 done
72230
72231   fi
72232
72233
72234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72235 $as_echo_n "checking for quick_exit declaration... " >&6; }
72236   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72237     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72238   $as_echo_n "(cached) " >&6
72239 else
72240
72241
72242       ac_ext=cpp
72243 ac_cpp='$CXXCPP $CPPFLAGS'
72244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72247
72248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72249 /* end confdefs.h.  */
72250 #include <stdlib.h>
72251 int
72252 main ()
72253 {
72254  quick_exit(0);
72255   ;
72256   return 0;
72257 }
72258 _ACEOF
72259 if ac_fn_cxx_try_compile "$LINENO"; then :
72260   glibcxx_cv_func_quick_exit_use=yes
72261 else
72262   glibcxx_cv_func_quick_exit_use=no
72263 fi
72264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72265       ac_ext=c
72266 ac_cpp='$CPP $CPPFLAGS'
72267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72270
72271
72272 fi
72273
72274   fi
72275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72276 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72277   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72278     for ac_func in quick_exit
72279 do :
72280   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72281 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72282   cat >>confdefs.h <<_ACEOF
72283 #define HAVE_QUICK_EXIT 1
72284 _ACEOF
72285
72286 fi
72287 done
72288
72289   fi
72290
72291
72292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72293 $as_echo_n "checking for strtold declaration... " >&6; }
72294   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72295     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72296   $as_echo_n "(cached) " >&6
72297 else
72298
72299
72300       ac_ext=cpp
72301 ac_cpp='$CXXCPP $CPPFLAGS'
72302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72305
72306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72307 /* end confdefs.h.  */
72308 #include <stdlib.h>
72309 int
72310 main ()
72311 {
72312  strtold(0, 0);
72313   ;
72314   return 0;
72315 }
72316 _ACEOF
72317 if ac_fn_cxx_try_compile "$LINENO"; then :
72318   glibcxx_cv_func_strtold_use=yes
72319 else
72320   glibcxx_cv_func_strtold_use=no
72321 fi
72322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72323       ac_ext=c
72324 ac_cpp='$CPP $CPPFLAGS'
72325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72328
72329
72330 fi
72331
72332   fi
72333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72334 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72335   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72336     for ac_func in strtold
72337 do :
72338   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72339 if test "x$ac_cv_func_strtold" = x""yes; then :
72340   cat >>confdefs.h <<_ACEOF
72341 #define HAVE_STRTOLD 1
72342 _ACEOF
72343
72344 fi
72345 done
72346
72347   fi
72348
72349
72350
72351
72352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72353 $as_echo_n "checking for strtof declaration... " >&6; }
72354   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72355     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72356   $as_echo_n "(cached) " >&6
72357 else
72358
72359
72360       ac_ext=cpp
72361 ac_cpp='$CXXCPP $CPPFLAGS'
72362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72365
72366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72367 /* end confdefs.h.  */
72368 #include <stdlib.h>
72369 int
72370 main ()
72371 {
72372  strtof(0, 0);
72373   ;
72374   return 0;
72375 }
72376 _ACEOF
72377 if ac_fn_cxx_try_compile "$LINENO"; then :
72378   glibcxx_cv_func_strtof_use=yes
72379 else
72380   glibcxx_cv_func_strtof_use=no
72381 fi
72382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72383       ac_ext=c
72384 ac_cpp='$CPP $CPPFLAGS'
72385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72388
72389
72390 fi
72391
72392   fi
72393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72394 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72395   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72396     for ac_func in strtof
72397 do :
72398   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72399 if test "x$ac_cv_func_strtof" = x""yes; then :
72400   cat >>confdefs.h <<_ACEOF
72401 #define HAVE_STRTOF 1
72402 _ACEOF
72403
72404 fi
72405 done
72406
72407   fi
72408
72409
72410
72411
72412   CXXFLAGS="$ac_save_CXXFLAGS"
72413
72414     ;;
72415   *-tpf)
72416     SECTION_FLAGS='-ffunction-sections -fdata-sections'
72417     SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72418
72419     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72420
72421     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72422
72423     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72424
72425     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72426
72427     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72428
72429     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72430
72431     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72432
72433     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72434
72435     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72436
72437     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72438
72439     if test x"long_double_math_on_this_cpu" = x"yes"; then
72440       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72441
72442       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72443
72444       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72445
72446       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72447
72448     fi
72449     ;;
72450   *-*vms*)
72451     # Check for available headers.
72452     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72453
72454   ac_test_CXXFLAGS="${CXXFLAGS+set}"
72455   ac_save_CXXFLAGS="$CXXFLAGS"
72456   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72457
72458     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72459 $as_echo_n "checking for sin in -lm... " >&6; }
72460 if test "${ac_cv_lib_m_sin+set}" = set; then :
72461   $as_echo_n "(cached) " >&6
72462 else
72463   ac_check_lib_save_LIBS=$LIBS
72464 LIBS="-lm  $LIBS"
72465 if test x$gcc_no_link = xyes; then
72466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72467 fi
72468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72469 /* end confdefs.h.  */
72470
72471 /* Override any GCC internal prototype to avoid an error.
72472    Use char because int might match the return type of a GCC
72473    builtin and then its argument prototype would still apply.  */
72474 #ifdef __cplusplus
72475 extern "C"
72476 #endif
72477 char sin ();
72478 int
72479 main ()
72480 {
72481 return sin ();
72482   ;
72483   return 0;
72484 }
72485 _ACEOF
72486 if ac_fn_c_try_link "$LINENO"; then :
72487   ac_cv_lib_m_sin=yes
72488 else
72489   ac_cv_lib_m_sin=no
72490 fi
72491 rm -f core conftest.err conftest.$ac_objext \
72492     conftest$ac_exeext conftest.$ac_ext
72493 LIBS=$ac_check_lib_save_LIBS
72494 fi
72495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72496 $as_echo "$ac_cv_lib_m_sin" >&6; }
72497 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72498   libm="-lm"
72499 fi
72500
72501   ac_save_LIBS="$LIBS"
72502   LIBS="$LIBS $libm"
72503
72504
72505
72506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72507 $as_echo_n "checking for isinf declaration... " >&6; }
72508   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72509     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72510   $as_echo_n "(cached) " >&6
72511 else
72512
72513
72514       ac_ext=cpp
72515 ac_cpp='$CXXCPP $CPPFLAGS'
72516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72519
72520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72521 /* end confdefs.h.  */
72522 #include <math.h>
72523                       #ifdef HAVE_IEEEFP_H
72524                       #include <ieeefp.h>
72525                       #endif
72526
72527 int
72528 main ()
72529 {
72530  isinf(0);
72531   ;
72532   return 0;
72533 }
72534 _ACEOF
72535 if ac_fn_cxx_try_compile "$LINENO"; then :
72536   glibcxx_cv_func_isinf_use=yes
72537 else
72538   glibcxx_cv_func_isinf_use=no
72539 fi
72540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72541       ac_ext=c
72542 ac_cpp='$CPP $CPPFLAGS'
72543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72546
72547
72548 fi
72549
72550   fi
72551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72552 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72553
72554   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72555     for ac_func in isinf
72556 do :
72557   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72558 if test "x$ac_cv_func_isinf" = x""yes; then :
72559   cat >>confdefs.h <<_ACEOF
72560 #define HAVE_ISINF 1
72561 _ACEOF
72562
72563 fi
72564 done
72565
72566   else
72567
72568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72569 $as_echo_n "checking for _isinf declaration... " >&6; }
72570   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72571     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72572   $as_echo_n "(cached) " >&6
72573 else
72574
72575
72576       ac_ext=cpp
72577 ac_cpp='$CXXCPP $CPPFLAGS'
72578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72581
72582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72583 /* end confdefs.h.  */
72584 #include <math.h>
72585                       #ifdef HAVE_IEEEFP_H
72586                       #include <ieeefp.h>
72587                       #endif
72588
72589 int
72590 main ()
72591 {
72592  _isinf(0);
72593   ;
72594   return 0;
72595 }
72596 _ACEOF
72597 if ac_fn_cxx_try_compile "$LINENO"; then :
72598   glibcxx_cv_func__isinf_use=yes
72599 else
72600   glibcxx_cv_func__isinf_use=no
72601 fi
72602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72603       ac_ext=c
72604 ac_cpp='$CPP $CPPFLAGS'
72605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72608
72609
72610 fi
72611
72612   fi
72613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72614 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72615
72616     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72617       for ac_func in _isinf
72618 do :
72619   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72620 if test "x$ac_cv_func__isinf" = x""yes; then :
72621   cat >>confdefs.h <<_ACEOF
72622 #define HAVE__ISINF 1
72623 _ACEOF
72624
72625 fi
72626 done
72627
72628     fi
72629   fi
72630
72631
72632
72633
72634
72635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72636 $as_echo_n "checking for isnan declaration... " >&6; }
72637   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72638     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72639   $as_echo_n "(cached) " >&6
72640 else
72641
72642
72643       ac_ext=cpp
72644 ac_cpp='$CXXCPP $CPPFLAGS'
72645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72648
72649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72650 /* end confdefs.h.  */
72651 #include <math.h>
72652                       #ifdef HAVE_IEEEFP_H
72653                       #include <ieeefp.h>
72654                       #endif
72655
72656 int
72657 main ()
72658 {
72659  isnan(0);
72660   ;
72661   return 0;
72662 }
72663 _ACEOF
72664 if ac_fn_cxx_try_compile "$LINENO"; then :
72665   glibcxx_cv_func_isnan_use=yes
72666 else
72667   glibcxx_cv_func_isnan_use=no
72668 fi
72669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72670       ac_ext=c
72671 ac_cpp='$CPP $CPPFLAGS'
72672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72675
72676
72677 fi
72678
72679   fi
72680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72681 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72682
72683   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72684     for ac_func in isnan
72685 do :
72686   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72687 if test "x$ac_cv_func_isnan" = x""yes; then :
72688   cat >>confdefs.h <<_ACEOF
72689 #define HAVE_ISNAN 1
72690 _ACEOF
72691
72692 fi
72693 done
72694
72695   else
72696
72697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72698 $as_echo_n "checking for _isnan declaration... " >&6; }
72699   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72700     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72701   $as_echo_n "(cached) " >&6
72702 else
72703
72704
72705       ac_ext=cpp
72706 ac_cpp='$CXXCPP $CPPFLAGS'
72707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72710
72711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72712 /* end confdefs.h.  */
72713 #include <math.h>
72714                       #ifdef HAVE_IEEEFP_H
72715                       #include <ieeefp.h>
72716                       #endif
72717
72718 int
72719 main ()
72720 {
72721  _isnan(0);
72722   ;
72723   return 0;
72724 }
72725 _ACEOF
72726 if ac_fn_cxx_try_compile "$LINENO"; then :
72727   glibcxx_cv_func__isnan_use=yes
72728 else
72729   glibcxx_cv_func__isnan_use=no
72730 fi
72731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72732       ac_ext=c
72733 ac_cpp='$CPP $CPPFLAGS'
72734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72737
72738
72739 fi
72740
72741   fi
72742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72743 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72744
72745     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72746       for ac_func in _isnan
72747 do :
72748   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72749 if test "x$ac_cv_func__isnan" = x""yes; then :
72750   cat >>confdefs.h <<_ACEOF
72751 #define HAVE__ISNAN 1
72752 _ACEOF
72753
72754 fi
72755 done
72756
72757     fi
72758   fi
72759
72760
72761
72762
72763
72764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72765 $as_echo_n "checking for finite declaration... " >&6; }
72766   if test x${glibcxx_cv_func_finite_use+set} != xset; then
72767     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72768   $as_echo_n "(cached) " >&6
72769 else
72770
72771
72772       ac_ext=cpp
72773 ac_cpp='$CXXCPP $CPPFLAGS'
72774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72777
72778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72779 /* end confdefs.h.  */
72780 #include <math.h>
72781                       #ifdef HAVE_IEEEFP_H
72782                       #include <ieeefp.h>
72783                       #endif
72784
72785 int
72786 main ()
72787 {
72788  finite(0);
72789   ;
72790   return 0;
72791 }
72792 _ACEOF
72793 if ac_fn_cxx_try_compile "$LINENO"; then :
72794   glibcxx_cv_func_finite_use=yes
72795 else
72796   glibcxx_cv_func_finite_use=no
72797 fi
72798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72799       ac_ext=c
72800 ac_cpp='$CPP $CPPFLAGS'
72801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72804
72805
72806 fi
72807
72808   fi
72809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72810 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72811
72812   if test x$glibcxx_cv_func_finite_use = x"yes"; then
72813     for ac_func in finite
72814 do :
72815   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72816 if test "x$ac_cv_func_finite" = x""yes; then :
72817   cat >>confdefs.h <<_ACEOF
72818 #define HAVE_FINITE 1
72819 _ACEOF
72820
72821 fi
72822 done
72823
72824   else
72825
72826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72827 $as_echo_n "checking for _finite declaration... " >&6; }
72828   if test x${glibcxx_cv_func__finite_use+set} != xset; then
72829     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72830   $as_echo_n "(cached) " >&6
72831 else
72832
72833
72834       ac_ext=cpp
72835 ac_cpp='$CXXCPP $CPPFLAGS'
72836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72839
72840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72841 /* end confdefs.h.  */
72842 #include <math.h>
72843                       #ifdef HAVE_IEEEFP_H
72844                       #include <ieeefp.h>
72845                       #endif
72846
72847 int
72848 main ()
72849 {
72850  _finite(0);
72851   ;
72852   return 0;
72853 }
72854 _ACEOF
72855 if ac_fn_cxx_try_compile "$LINENO"; then :
72856   glibcxx_cv_func__finite_use=yes
72857 else
72858   glibcxx_cv_func__finite_use=no
72859 fi
72860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72861       ac_ext=c
72862 ac_cpp='$CPP $CPPFLAGS'
72863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72866
72867
72868 fi
72869
72870   fi
72871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72872 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72873
72874     if test x$glibcxx_cv_func__finite_use = x"yes"; then
72875       for ac_func in _finite
72876 do :
72877   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72878 if test "x$ac_cv_func__finite" = x""yes; then :
72879   cat >>confdefs.h <<_ACEOF
72880 #define HAVE__FINITE 1
72881 _ACEOF
72882
72883 fi
72884 done
72885
72886     fi
72887   fi
72888
72889
72890
72891
72892
72893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72894 $as_echo_n "checking for sincos declaration... " >&6; }
72895   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72896     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72897   $as_echo_n "(cached) " >&6
72898 else
72899
72900
72901       ac_ext=cpp
72902 ac_cpp='$CXXCPP $CPPFLAGS'
72903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72906
72907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72908 /* end confdefs.h.  */
72909 #include <math.h>
72910 int
72911 main ()
72912 {
72913  sincos(0, 0, 0);
72914   ;
72915   return 0;
72916 }
72917 _ACEOF
72918 if ac_fn_cxx_try_compile "$LINENO"; then :
72919   glibcxx_cv_func_sincos_use=yes
72920 else
72921   glibcxx_cv_func_sincos_use=no
72922 fi
72923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72924       ac_ext=c
72925 ac_cpp='$CPP $CPPFLAGS'
72926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72929
72930
72931 fi
72932
72933   fi
72934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72935 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72936
72937   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72938     for ac_func in sincos
72939 do :
72940   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72941 if test "x$ac_cv_func_sincos" = x""yes; then :
72942   cat >>confdefs.h <<_ACEOF
72943 #define HAVE_SINCOS 1
72944 _ACEOF
72945
72946 fi
72947 done
72948
72949   else
72950
72951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72952 $as_echo_n "checking for _sincos declaration... " >&6; }
72953   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72954     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72955   $as_echo_n "(cached) " >&6
72956 else
72957
72958
72959       ac_ext=cpp
72960 ac_cpp='$CXXCPP $CPPFLAGS'
72961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72964
72965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72966 /* end confdefs.h.  */
72967 #include <math.h>
72968 int
72969 main ()
72970 {
72971  _sincos(0, 0, 0);
72972   ;
72973   return 0;
72974 }
72975 _ACEOF
72976 if ac_fn_cxx_try_compile "$LINENO"; then :
72977   glibcxx_cv_func__sincos_use=yes
72978 else
72979   glibcxx_cv_func__sincos_use=no
72980 fi
72981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72982       ac_ext=c
72983 ac_cpp='$CPP $CPPFLAGS'
72984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72987
72988
72989 fi
72990
72991   fi
72992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72993 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72994
72995     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72996       for ac_func in _sincos
72997 do :
72998   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72999 if test "x$ac_cv_func__sincos" = x""yes; then :
73000   cat >>confdefs.h <<_ACEOF
73001 #define HAVE__SINCOS 1
73002 _ACEOF
73003
73004 fi
73005 done
73006
73007     fi
73008   fi
73009
73010
73011
73012
73013
73014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73015 $as_echo_n "checking for fpclass declaration... " >&6; }
73016   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73017     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73018   $as_echo_n "(cached) " >&6
73019 else
73020
73021
73022       ac_ext=cpp
73023 ac_cpp='$CXXCPP $CPPFLAGS'
73024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73027
73028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73029 /* end confdefs.h.  */
73030 #include <math.h>
73031                       #ifdef HAVE_IEEEFP_H
73032                       #include <ieeefp.h>
73033                       #endif
73034
73035 int
73036 main ()
73037 {
73038  fpclass(0);
73039   ;
73040   return 0;
73041 }
73042 _ACEOF
73043 if ac_fn_cxx_try_compile "$LINENO"; then :
73044   glibcxx_cv_func_fpclass_use=yes
73045 else
73046   glibcxx_cv_func_fpclass_use=no
73047 fi
73048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73049       ac_ext=c
73050 ac_cpp='$CPP $CPPFLAGS'
73051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73054
73055
73056 fi
73057
73058   fi
73059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73060 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73061
73062   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73063     for ac_func in fpclass
73064 do :
73065   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73066 if test "x$ac_cv_func_fpclass" = x""yes; then :
73067   cat >>confdefs.h <<_ACEOF
73068 #define HAVE_FPCLASS 1
73069 _ACEOF
73070
73071 fi
73072 done
73073
73074   else
73075
73076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73077 $as_echo_n "checking for _fpclass declaration... " >&6; }
73078   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73079     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73080   $as_echo_n "(cached) " >&6
73081 else
73082
73083
73084       ac_ext=cpp
73085 ac_cpp='$CXXCPP $CPPFLAGS'
73086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73089
73090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73091 /* end confdefs.h.  */
73092 #include <math.h>
73093                       #ifdef HAVE_IEEEFP_H
73094                       #include <ieeefp.h>
73095                       #endif
73096
73097 int
73098 main ()
73099 {
73100  _fpclass(0);
73101   ;
73102   return 0;
73103 }
73104 _ACEOF
73105 if ac_fn_cxx_try_compile "$LINENO"; then :
73106   glibcxx_cv_func__fpclass_use=yes
73107 else
73108   glibcxx_cv_func__fpclass_use=no
73109 fi
73110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73111       ac_ext=c
73112 ac_cpp='$CPP $CPPFLAGS'
73113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73116
73117
73118 fi
73119
73120   fi
73121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73122 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73123
73124     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73125       for ac_func in _fpclass
73126 do :
73127   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73128 if test "x$ac_cv_func__fpclass" = x""yes; then :
73129   cat >>confdefs.h <<_ACEOF
73130 #define HAVE__FPCLASS 1
73131 _ACEOF
73132
73133 fi
73134 done
73135
73136     fi
73137   fi
73138
73139
73140
73141
73142
73143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73144 $as_echo_n "checking for qfpclass declaration... " >&6; }
73145   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73146     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73147   $as_echo_n "(cached) " >&6
73148 else
73149
73150
73151       ac_ext=cpp
73152 ac_cpp='$CXXCPP $CPPFLAGS'
73153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73156
73157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73158 /* end confdefs.h.  */
73159 #include <math.h>
73160                       #ifdef HAVE_IEEEFP_H
73161                       #include <ieeefp.h>
73162                       #endif
73163
73164 int
73165 main ()
73166 {
73167  qfpclass(0);
73168   ;
73169   return 0;
73170 }
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173   glibcxx_cv_func_qfpclass_use=yes
73174 else
73175   glibcxx_cv_func_qfpclass_use=no
73176 fi
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178       ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73183
73184
73185 fi
73186
73187   fi
73188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73189 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73190
73191   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73192     for ac_func in qfpclass
73193 do :
73194   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73195 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73196   cat >>confdefs.h <<_ACEOF
73197 #define HAVE_QFPCLASS 1
73198 _ACEOF
73199
73200 fi
73201 done
73202
73203   else
73204
73205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73206 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73207   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73208     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73209   $as_echo_n "(cached) " >&6
73210 else
73211
73212
73213       ac_ext=cpp
73214 ac_cpp='$CXXCPP $CPPFLAGS'
73215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73218
73219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73220 /* end confdefs.h.  */
73221 #include <math.h>
73222                       #ifdef HAVE_IEEEFP_H
73223                       #include <ieeefp.h>
73224                       #endif
73225
73226 int
73227 main ()
73228 {
73229  _qfpclass(0);
73230   ;
73231   return 0;
73232 }
73233 _ACEOF
73234 if ac_fn_cxx_try_compile "$LINENO"; then :
73235   glibcxx_cv_func__qfpclass_use=yes
73236 else
73237   glibcxx_cv_func__qfpclass_use=no
73238 fi
73239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73240       ac_ext=c
73241 ac_cpp='$CPP $CPPFLAGS'
73242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73245
73246
73247 fi
73248
73249   fi
73250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73251 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73252
73253     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73254       for ac_func in _qfpclass
73255 do :
73256   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73257 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73258   cat >>confdefs.h <<_ACEOF
73259 #define HAVE__QFPCLASS 1
73260 _ACEOF
73261
73262 fi
73263 done
73264
73265     fi
73266   fi
73267
73268
73269
73270
73271
73272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73273 $as_echo_n "checking for hypot declaration... " >&6; }
73274   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73275     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73276   $as_echo_n "(cached) " >&6
73277 else
73278
73279
73280       ac_ext=cpp
73281 ac_cpp='$CXXCPP $CPPFLAGS'
73282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73285
73286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287 /* end confdefs.h.  */
73288 #include <math.h>
73289 int
73290 main ()
73291 {
73292  hypot(0, 0);
73293   ;
73294   return 0;
73295 }
73296 _ACEOF
73297 if ac_fn_cxx_try_compile "$LINENO"; then :
73298   glibcxx_cv_func_hypot_use=yes
73299 else
73300   glibcxx_cv_func_hypot_use=no
73301 fi
73302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73303       ac_ext=c
73304 ac_cpp='$CPP $CPPFLAGS'
73305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73308
73309
73310 fi
73311
73312   fi
73313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73314 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73315
73316   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73317     for ac_func in hypot
73318 do :
73319   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73320 if test "x$ac_cv_func_hypot" = x""yes; then :
73321   cat >>confdefs.h <<_ACEOF
73322 #define HAVE_HYPOT 1
73323 _ACEOF
73324
73325 fi
73326 done
73327
73328   else
73329
73330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73331 $as_echo_n "checking for _hypot declaration... " >&6; }
73332   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73333     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73334   $as_echo_n "(cached) " >&6
73335 else
73336
73337
73338       ac_ext=cpp
73339 ac_cpp='$CXXCPP $CPPFLAGS'
73340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73343
73344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73345 /* end confdefs.h.  */
73346 #include <math.h>
73347 int
73348 main ()
73349 {
73350  _hypot(0, 0);
73351   ;
73352   return 0;
73353 }
73354 _ACEOF
73355 if ac_fn_cxx_try_compile "$LINENO"; then :
73356   glibcxx_cv_func__hypot_use=yes
73357 else
73358   glibcxx_cv_func__hypot_use=no
73359 fi
73360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73361       ac_ext=c
73362 ac_cpp='$CPP $CPPFLAGS'
73363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73366
73367
73368 fi
73369
73370   fi
73371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73372 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73373
73374     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73375       for ac_func in _hypot
73376 do :
73377   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73378 if test "x$ac_cv_func__hypot" = x""yes; then :
73379   cat >>confdefs.h <<_ACEOF
73380 #define HAVE__HYPOT 1
73381 _ACEOF
73382
73383 fi
73384 done
73385
73386     fi
73387   fi
73388
73389
73390
73391
73392
73393     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73394 $as_echo_n "checking for float trig functions... " >&6; }
73395   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73396   $as_echo_n "(cached) " >&6
73397 else
73398
73399
73400     ac_ext=cpp
73401 ac_cpp='$CXXCPP $CPPFLAGS'
73402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73405
73406     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73407 /* end confdefs.h.  */
73408 #include <math.h>
73409 int
73410 main ()
73411 {
73412 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73413   ;
73414   return 0;
73415 }
73416 _ACEOF
73417 if ac_fn_cxx_try_compile "$LINENO"; then :
73418   glibcxx_cv_func_float_trig_use=yes
73419 else
73420   glibcxx_cv_func_float_trig_use=no
73421 fi
73422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73423     ac_ext=c
73424 ac_cpp='$CPP $CPPFLAGS'
73425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73428
73429 fi
73430
73431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73432 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73433   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73434     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73435 do :
73436   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73438 eval as_val=\$$as_ac_var
73439    if test "x$as_val" = x""yes; then :
73440   cat >>confdefs.h <<_ACEOF
73441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73442 _ACEOF
73443
73444 fi
73445 done
73446
73447   else
73448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73449 $as_echo_n "checking for _float trig functions... " >&6; }
73450     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73451   $as_echo_n "(cached) " >&6
73452 else
73453
73454
73455       ac_ext=cpp
73456 ac_cpp='$CXXCPP $CPPFLAGS'
73457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73460
73461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73462 /* end confdefs.h.  */
73463 #include <math.h>
73464 int
73465 main ()
73466 {
73467 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73468   ;
73469   return 0;
73470 }
73471 _ACEOF
73472 if ac_fn_cxx_try_compile "$LINENO"; then :
73473   glibcxx_cv_func__float_trig_use=yes
73474 else
73475   glibcxx_cv_func__float_trig_use=no
73476 fi
73477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73478       ac_ext=c
73479 ac_cpp='$CPP $CPPFLAGS'
73480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73483
73484 fi
73485
73486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73487 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73488     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73489       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73490 do :
73491   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73493 eval as_val=\$$as_ac_var
73494    if test "x$as_val" = x""yes; then :
73495   cat >>confdefs.h <<_ACEOF
73496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73497 _ACEOF
73498
73499 fi
73500 done
73501
73502     fi
73503   fi
73504
73505
73506
73507
73508
73509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73510 $as_echo_n "checking for float round functions... " >&6; }
73511   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73512   $as_echo_n "(cached) " >&6
73513 else
73514
73515
73516     ac_ext=cpp
73517 ac_cpp='$CXXCPP $CPPFLAGS'
73518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73521
73522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73523 /* end confdefs.h.  */
73524 #include <math.h>
73525 int
73526 main ()
73527 {
73528 ceilf (0); floorf (0);
73529   ;
73530   return 0;
73531 }
73532 _ACEOF
73533 if ac_fn_cxx_try_compile "$LINENO"; then :
73534   glibcxx_cv_func_float_round_use=yes
73535 else
73536   glibcxx_cv_func_float_round_use=no
73537 fi
73538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73539     ac_ext=c
73540 ac_cpp='$CPP $CPPFLAGS'
73541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73544
73545 fi
73546
73547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73548 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73549   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73550     for ac_func in ceilf floorf
73551 do :
73552   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73554 eval as_val=\$$as_ac_var
73555    if test "x$as_val" = x""yes; then :
73556   cat >>confdefs.h <<_ACEOF
73557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73558 _ACEOF
73559
73560 fi
73561 done
73562
73563   else
73564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73565 $as_echo_n "checking for _float round functions... " >&6; }
73566     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73567   $as_echo_n "(cached) " >&6
73568 else
73569
73570
73571       ac_ext=cpp
73572 ac_cpp='$CXXCPP $CPPFLAGS'
73573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73576
73577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73578 /* end confdefs.h.  */
73579 #include <math.h>
73580 int
73581 main ()
73582 {
73583 _ceilf (0); _floorf (0);
73584   ;
73585   return 0;
73586 }
73587 _ACEOF
73588 if ac_fn_cxx_try_compile "$LINENO"; then :
73589   glibcxx_cv_func__float_round_use=yes
73590 else
73591   glibcxx_cv_func__float_round_use=no
73592 fi
73593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73594       ac_ext=c
73595 ac_cpp='$CPP $CPPFLAGS'
73596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73599
73600 fi
73601
73602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73603 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73604     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73605       for ac_func in _ceilf _floorf
73606 do :
73607   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73609 eval as_val=\$$as_ac_var
73610    if test "x$as_val" = x""yes; then :
73611   cat >>confdefs.h <<_ACEOF
73612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73613 _ACEOF
73614
73615 fi
73616 done
73617
73618     fi
73619   fi
73620
73621
73622
73623
73624
73625
73626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73627 $as_echo_n "checking for expf declaration... " >&6; }
73628   if test x${glibcxx_cv_func_expf_use+set} != xset; then
73629     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73630   $as_echo_n "(cached) " >&6
73631 else
73632
73633
73634       ac_ext=cpp
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73639
73640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73641 /* end confdefs.h.  */
73642 #include <math.h>
73643                       #ifdef HAVE_IEEEFP_H
73644                       #include <ieeefp.h>
73645                       #endif
73646
73647 int
73648 main ()
73649 {
73650  expf(0);
73651   ;
73652   return 0;
73653 }
73654 _ACEOF
73655 if ac_fn_cxx_try_compile "$LINENO"; then :
73656   glibcxx_cv_func_expf_use=yes
73657 else
73658   glibcxx_cv_func_expf_use=no
73659 fi
73660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73661       ac_ext=c
73662 ac_cpp='$CPP $CPPFLAGS'
73663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73666
73667
73668 fi
73669
73670   fi
73671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73672 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73673
73674   if test x$glibcxx_cv_func_expf_use = x"yes"; then
73675     for ac_func in expf
73676 do :
73677   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73678 if test "x$ac_cv_func_expf" = x""yes; then :
73679   cat >>confdefs.h <<_ACEOF
73680 #define HAVE_EXPF 1
73681 _ACEOF
73682
73683 fi
73684 done
73685
73686   else
73687
73688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73689 $as_echo_n "checking for _expf declaration... " >&6; }
73690   if test x${glibcxx_cv_func__expf_use+set} != xset; then
73691     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73692   $as_echo_n "(cached) " >&6
73693 else
73694
73695
73696       ac_ext=cpp
73697 ac_cpp='$CXXCPP $CPPFLAGS'
73698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73701
73702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73703 /* end confdefs.h.  */
73704 #include <math.h>
73705                       #ifdef HAVE_IEEEFP_H
73706                       #include <ieeefp.h>
73707                       #endif
73708
73709 int
73710 main ()
73711 {
73712  _expf(0);
73713   ;
73714   return 0;
73715 }
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718   glibcxx_cv_func__expf_use=yes
73719 else
73720   glibcxx_cv_func__expf_use=no
73721 fi
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723       ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73728
73729
73730 fi
73731
73732   fi
73733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73734 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73735
73736     if test x$glibcxx_cv_func__expf_use = x"yes"; then
73737       for ac_func in _expf
73738 do :
73739   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73740 if test "x$ac_cv_func__expf" = x""yes; then :
73741   cat >>confdefs.h <<_ACEOF
73742 #define HAVE__EXPF 1
73743 _ACEOF
73744
73745 fi
73746 done
73747
73748     fi
73749   fi
73750
73751
73752
73753
73754
73755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73756 $as_echo_n "checking for isnanf declaration... " >&6; }
73757   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73758     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73759   $as_echo_n "(cached) " >&6
73760 else
73761
73762
73763       ac_ext=cpp
73764 ac_cpp='$CXXCPP $CPPFLAGS'
73765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73768
73769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73770 /* end confdefs.h.  */
73771 #include <math.h>
73772                       #ifdef HAVE_IEEEFP_H
73773                       #include <ieeefp.h>
73774                       #endif
73775
73776 int
73777 main ()
73778 {
73779  isnanf(0);
73780   ;
73781   return 0;
73782 }
73783 _ACEOF
73784 if ac_fn_cxx_try_compile "$LINENO"; then :
73785   glibcxx_cv_func_isnanf_use=yes
73786 else
73787   glibcxx_cv_func_isnanf_use=no
73788 fi
73789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73790       ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73795
73796
73797 fi
73798
73799   fi
73800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73801 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73802
73803   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73804     for ac_func in isnanf
73805 do :
73806   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73807 if test "x$ac_cv_func_isnanf" = x""yes; then :
73808   cat >>confdefs.h <<_ACEOF
73809 #define HAVE_ISNANF 1
73810 _ACEOF
73811
73812 fi
73813 done
73814
73815   else
73816
73817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73818 $as_echo_n "checking for _isnanf declaration... " >&6; }
73819   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73820     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73821   $as_echo_n "(cached) " >&6
73822 else
73823
73824
73825       ac_ext=cpp
73826 ac_cpp='$CXXCPP $CPPFLAGS'
73827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73830
73831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73832 /* end confdefs.h.  */
73833 #include <math.h>
73834                       #ifdef HAVE_IEEEFP_H
73835                       #include <ieeefp.h>
73836                       #endif
73837
73838 int
73839 main ()
73840 {
73841  _isnanf(0);
73842   ;
73843   return 0;
73844 }
73845 _ACEOF
73846 if ac_fn_cxx_try_compile "$LINENO"; then :
73847   glibcxx_cv_func__isnanf_use=yes
73848 else
73849   glibcxx_cv_func__isnanf_use=no
73850 fi
73851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73852       ac_ext=c
73853 ac_cpp='$CPP $CPPFLAGS'
73854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73857
73858
73859 fi
73860
73861   fi
73862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73863 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73864
73865     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73866       for ac_func in _isnanf
73867 do :
73868   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73869 if test "x$ac_cv_func__isnanf" = x""yes; then :
73870   cat >>confdefs.h <<_ACEOF
73871 #define HAVE__ISNANF 1
73872 _ACEOF
73873
73874 fi
73875 done
73876
73877     fi
73878   fi
73879
73880
73881
73882
73883
73884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73885 $as_echo_n "checking for isinff declaration... " >&6; }
73886   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73887     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73888   $as_echo_n "(cached) " >&6
73889 else
73890
73891
73892       ac_ext=cpp
73893 ac_cpp='$CXXCPP $CPPFLAGS'
73894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73897
73898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73899 /* end confdefs.h.  */
73900 #include <math.h>
73901                       #ifdef HAVE_IEEEFP_H
73902                       #include <ieeefp.h>
73903                       #endif
73904
73905 int
73906 main ()
73907 {
73908  isinff(0);
73909   ;
73910   return 0;
73911 }
73912 _ACEOF
73913 if ac_fn_cxx_try_compile "$LINENO"; then :
73914   glibcxx_cv_func_isinff_use=yes
73915 else
73916   glibcxx_cv_func_isinff_use=no
73917 fi
73918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73919       ac_ext=c
73920 ac_cpp='$CPP $CPPFLAGS'
73921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73924
73925
73926 fi
73927
73928   fi
73929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73930 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73931
73932   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73933     for ac_func in isinff
73934 do :
73935   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73936 if test "x$ac_cv_func_isinff" = x""yes; then :
73937   cat >>confdefs.h <<_ACEOF
73938 #define HAVE_ISINFF 1
73939 _ACEOF
73940
73941 fi
73942 done
73943
73944   else
73945
73946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73947 $as_echo_n "checking for _isinff declaration... " >&6; }
73948   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73949     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73950   $as_echo_n "(cached) " >&6
73951 else
73952
73953
73954       ac_ext=cpp
73955 ac_cpp='$CXXCPP $CPPFLAGS'
73956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73959
73960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73961 /* end confdefs.h.  */
73962 #include <math.h>
73963                       #ifdef HAVE_IEEEFP_H
73964                       #include <ieeefp.h>
73965                       #endif
73966
73967 int
73968 main ()
73969 {
73970  _isinff(0);
73971   ;
73972   return 0;
73973 }
73974 _ACEOF
73975 if ac_fn_cxx_try_compile "$LINENO"; then :
73976   glibcxx_cv_func__isinff_use=yes
73977 else
73978   glibcxx_cv_func__isinff_use=no
73979 fi
73980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73981       ac_ext=c
73982 ac_cpp='$CPP $CPPFLAGS'
73983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73986
73987
73988 fi
73989
73990   fi
73991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73992 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73993
73994     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73995       for ac_func in _isinff
73996 do :
73997   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73998 if test "x$ac_cv_func__isinff" = x""yes; then :
73999   cat >>confdefs.h <<_ACEOF
74000 #define HAVE__ISINFF 1
74001 _ACEOF
74002
74003 fi
74004 done
74005
74006     fi
74007   fi
74008
74009
74010
74011
74012
74013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74014 $as_echo_n "checking for atan2f declaration... " >&6; }
74015   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74016     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74017   $as_echo_n "(cached) " >&6
74018 else
74019
74020
74021       ac_ext=cpp
74022 ac_cpp='$CXXCPP $CPPFLAGS'
74023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74026
74027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74028 /* end confdefs.h.  */
74029 #include <math.h>
74030 int
74031 main ()
74032 {
74033  atan2f(0, 0);
74034   ;
74035   return 0;
74036 }
74037 _ACEOF
74038 if ac_fn_cxx_try_compile "$LINENO"; then :
74039   glibcxx_cv_func_atan2f_use=yes
74040 else
74041   glibcxx_cv_func_atan2f_use=no
74042 fi
74043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74044       ac_ext=c
74045 ac_cpp='$CPP $CPPFLAGS'
74046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74049
74050
74051 fi
74052
74053   fi
74054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74055 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74056
74057   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74058     for ac_func in atan2f
74059 do :
74060   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74061 if test "x$ac_cv_func_atan2f" = x""yes; then :
74062   cat >>confdefs.h <<_ACEOF
74063 #define HAVE_ATAN2F 1
74064 _ACEOF
74065
74066 fi
74067 done
74068
74069   else
74070
74071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74072 $as_echo_n "checking for _atan2f declaration... " >&6; }
74073   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74074     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74075   $as_echo_n "(cached) " >&6
74076 else
74077
74078
74079       ac_ext=cpp
74080 ac_cpp='$CXXCPP $CPPFLAGS'
74081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74084
74085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74086 /* end confdefs.h.  */
74087 #include <math.h>
74088 int
74089 main ()
74090 {
74091  _atan2f(0, 0);
74092   ;
74093   return 0;
74094 }
74095 _ACEOF
74096 if ac_fn_cxx_try_compile "$LINENO"; then :
74097   glibcxx_cv_func__atan2f_use=yes
74098 else
74099   glibcxx_cv_func__atan2f_use=no
74100 fi
74101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74102       ac_ext=c
74103 ac_cpp='$CPP $CPPFLAGS'
74104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74107
74108
74109 fi
74110
74111   fi
74112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74113 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74114
74115     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74116       for ac_func in _atan2f
74117 do :
74118   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74119 if test "x$ac_cv_func__atan2f" = x""yes; then :
74120   cat >>confdefs.h <<_ACEOF
74121 #define HAVE__ATAN2F 1
74122 _ACEOF
74123
74124 fi
74125 done
74126
74127     fi
74128   fi
74129
74130
74131
74132
74133
74134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74135 $as_echo_n "checking for fabsf declaration... " >&6; }
74136   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74137     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74138   $as_echo_n "(cached) " >&6
74139 else
74140
74141
74142       ac_ext=cpp
74143 ac_cpp='$CXXCPP $CPPFLAGS'
74144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74147
74148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74149 /* end confdefs.h.  */
74150 #include <math.h>
74151                       #ifdef HAVE_IEEEFP_H
74152                       #include <ieeefp.h>
74153                       #endif
74154
74155 int
74156 main ()
74157 {
74158  fabsf(0);
74159   ;
74160   return 0;
74161 }
74162 _ACEOF
74163 if ac_fn_cxx_try_compile "$LINENO"; then :
74164   glibcxx_cv_func_fabsf_use=yes
74165 else
74166   glibcxx_cv_func_fabsf_use=no
74167 fi
74168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74169       ac_ext=c
74170 ac_cpp='$CPP $CPPFLAGS'
74171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74174
74175
74176 fi
74177
74178   fi
74179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74180 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74181
74182   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74183     for ac_func in fabsf
74184 do :
74185   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74186 if test "x$ac_cv_func_fabsf" = x""yes; then :
74187   cat >>confdefs.h <<_ACEOF
74188 #define HAVE_FABSF 1
74189 _ACEOF
74190
74191 fi
74192 done
74193
74194   else
74195
74196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74197 $as_echo_n "checking for _fabsf declaration... " >&6; }
74198   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74199     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74200   $as_echo_n "(cached) " >&6
74201 else
74202
74203
74204       ac_ext=cpp
74205 ac_cpp='$CXXCPP $CPPFLAGS'
74206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74209
74210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74211 /* end confdefs.h.  */
74212 #include <math.h>
74213                       #ifdef HAVE_IEEEFP_H
74214                       #include <ieeefp.h>
74215                       #endif
74216
74217 int
74218 main ()
74219 {
74220  _fabsf(0);
74221   ;
74222   return 0;
74223 }
74224 _ACEOF
74225 if ac_fn_cxx_try_compile "$LINENO"; then :
74226   glibcxx_cv_func__fabsf_use=yes
74227 else
74228   glibcxx_cv_func__fabsf_use=no
74229 fi
74230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74231       ac_ext=c
74232 ac_cpp='$CPP $CPPFLAGS'
74233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74236
74237
74238 fi
74239
74240   fi
74241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74242 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74243
74244     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74245       for ac_func in _fabsf
74246 do :
74247   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74248 if test "x$ac_cv_func__fabsf" = x""yes; then :
74249   cat >>confdefs.h <<_ACEOF
74250 #define HAVE__FABSF 1
74251 _ACEOF
74252
74253 fi
74254 done
74255
74256     fi
74257   fi
74258
74259
74260
74261
74262
74263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74264 $as_echo_n "checking for fmodf declaration... " >&6; }
74265   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74266     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74267   $as_echo_n "(cached) " >&6
74268 else
74269
74270
74271       ac_ext=cpp
74272 ac_cpp='$CXXCPP $CPPFLAGS'
74273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74276
74277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74278 /* end confdefs.h.  */
74279 #include <math.h>
74280 int
74281 main ()
74282 {
74283  fmodf(0, 0);
74284   ;
74285   return 0;
74286 }
74287 _ACEOF
74288 if ac_fn_cxx_try_compile "$LINENO"; then :
74289   glibcxx_cv_func_fmodf_use=yes
74290 else
74291   glibcxx_cv_func_fmodf_use=no
74292 fi
74293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74294       ac_ext=c
74295 ac_cpp='$CPP $CPPFLAGS'
74296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74299
74300
74301 fi
74302
74303   fi
74304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74305 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74306
74307   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74308     for ac_func in fmodf
74309 do :
74310   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74311 if test "x$ac_cv_func_fmodf" = x""yes; then :
74312   cat >>confdefs.h <<_ACEOF
74313 #define HAVE_FMODF 1
74314 _ACEOF
74315
74316 fi
74317 done
74318
74319   else
74320
74321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74322 $as_echo_n "checking for _fmodf declaration... " >&6; }
74323   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74324     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74325   $as_echo_n "(cached) " >&6
74326 else
74327
74328
74329       ac_ext=cpp
74330 ac_cpp='$CXXCPP $CPPFLAGS'
74331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74334
74335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74336 /* end confdefs.h.  */
74337 #include <math.h>
74338 int
74339 main ()
74340 {
74341  _fmodf(0, 0);
74342   ;
74343   return 0;
74344 }
74345 _ACEOF
74346 if ac_fn_cxx_try_compile "$LINENO"; then :
74347   glibcxx_cv_func__fmodf_use=yes
74348 else
74349   glibcxx_cv_func__fmodf_use=no
74350 fi
74351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74352       ac_ext=c
74353 ac_cpp='$CPP $CPPFLAGS'
74354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74357
74358
74359 fi
74360
74361   fi
74362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74363 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74364
74365     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74366       for ac_func in _fmodf
74367 do :
74368   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74369 if test "x$ac_cv_func__fmodf" = x""yes; then :
74370   cat >>confdefs.h <<_ACEOF
74371 #define HAVE__FMODF 1
74372 _ACEOF
74373
74374 fi
74375 done
74376
74377     fi
74378   fi
74379
74380
74381
74382
74383
74384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74385 $as_echo_n "checking for frexpf declaration... " >&6; }
74386   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74387     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74388   $as_echo_n "(cached) " >&6
74389 else
74390
74391
74392       ac_ext=cpp
74393 ac_cpp='$CXXCPP $CPPFLAGS'
74394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74397
74398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74399 /* end confdefs.h.  */
74400 #include <math.h>
74401 int
74402 main ()
74403 {
74404  frexpf(0, 0);
74405   ;
74406   return 0;
74407 }
74408 _ACEOF
74409 if ac_fn_cxx_try_compile "$LINENO"; then :
74410   glibcxx_cv_func_frexpf_use=yes
74411 else
74412   glibcxx_cv_func_frexpf_use=no
74413 fi
74414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74415       ac_ext=c
74416 ac_cpp='$CPP $CPPFLAGS'
74417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74420
74421
74422 fi
74423
74424   fi
74425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74426 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74427
74428   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74429     for ac_func in frexpf
74430 do :
74431   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74432 if test "x$ac_cv_func_frexpf" = x""yes; then :
74433   cat >>confdefs.h <<_ACEOF
74434 #define HAVE_FREXPF 1
74435 _ACEOF
74436
74437 fi
74438 done
74439
74440   else
74441
74442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74443 $as_echo_n "checking for _frexpf declaration... " >&6; }
74444   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74445     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74446   $as_echo_n "(cached) " >&6
74447 else
74448
74449
74450       ac_ext=cpp
74451 ac_cpp='$CXXCPP $CPPFLAGS'
74452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74455
74456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74457 /* end confdefs.h.  */
74458 #include <math.h>
74459 int
74460 main ()
74461 {
74462  _frexpf(0, 0);
74463   ;
74464   return 0;
74465 }
74466 _ACEOF
74467 if ac_fn_cxx_try_compile "$LINENO"; then :
74468   glibcxx_cv_func__frexpf_use=yes
74469 else
74470   glibcxx_cv_func__frexpf_use=no
74471 fi
74472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74473       ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74478
74479
74480 fi
74481
74482   fi
74483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74484 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74485
74486     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74487       for ac_func in _frexpf
74488 do :
74489   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74490 if test "x$ac_cv_func__frexpf" = x""yes; then :
74491   cat >>confdefs.h <<_ACEOF
74492 #define HAVE__FREXPF 1
74493 _ACEOF
74494
74495 fi
74496 done
74497
74498     fi
74499   fi
74500
74501
74502
74503
74504
74505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74506 $as_echo_n "checking for hypotf declaration... " >&6; }
74507   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74508     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74509   $as_echo_n "(cached) " >&6
74510 else
74511
74512
74513       ac_ext=cpp
74514 ac_cpp='$CXXCPP $CPPFLAGS'
74515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74518
74519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74520 /* end confdefs.h.  */
74521 #include <math.h>
74522 int
74523 main ()
74524 {
74525  hypotf(0, 0);
74526   ;
74527   return 0;
74528 }
74529 _ACEOF
74530 if ac_fn_cxx_try_compile "$LINENO"; then :
74531   glibcxx_cv_func_hypotf_use=yes
74532 else
74533   glibcxx_cv_func_hypotf_use=no
74534 fi
74535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74536       ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74541
74542
74543 fi
74544
74545   fi
74546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74547 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74548
74549   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74550     for ac_func in hypotf
74551 do :
74552   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74553 if test "x$ac_cv_func_hypotf" = x""yes; then :
74554   cat >>confdefs.h <<_ACEOF
74555 #define HAVE_HYPOTF 1
74556 _ACEOF
74557
74558 fi
74559 done
74560
74561   else
74562
74563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74564 $as_echo_n "checking for _hypotf declaration... " >&6; }
74565   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74566     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74567   $as_echo_n "(cached) " >&6
74568 else
74569
74570
74571       ac_ext=cpp
74572 ac_cpp='$CXXCPP $CPPFLAGS'
74573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74576
74577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74578 /* end confdefs.h.  */
74579 #include <math.h>
74580 int
74581 main ()
74582 {
74583  _hypotf(0, 0);
74584   ;
74585   return 0;
74586 }
74587 _ACEOF
74588 if ac_fn_cxx_try_compile "$LINENO"; then :
74589   glibcxx_cv_func__hypotf_use=yes
74590 else
74591   glibcxx_cv_func__hypotf_use=no
74592 fi
74593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74594       ac_ext=c
74595 ac_cpp='$CPP $CPPFLAGS'
74596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74599
74600
74601 fi
74602
74603   fi
74604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74605 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74606
74607     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74608       for ac_func in _hypotf
74609 do :
74610   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74611 if test "x$ac_cv_func__hypotf" = x""yes; then :
74612   cat >>confdefs.h <<_ACEOF
74613 #define HAVE__HYPOTF 1
74614 _ACEOF
74615
74616 fi
74617 done
74618
74619     fi
74620   fi
74621
74622
74623
74624
74625
74626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74627 $as_echo_n "checking for ldexpf declaration... " >&6; }
74628   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74629     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74630   $as_echo_n "(cached) " >&6
74631 else
74632
74633
74634       ac_ext=cpp
74635 ac_cpp='$CXXCPP $CPPFLAGS'
74636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74639
74640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74641 /* end confdefs.h.  */
74642 #include <math.h>
74643 int
74644 main ()
74645 {
74646  ldexpf(0, 0);
74647   ;
74648   return 0;
74649 }
74650 _ACEOF
74651 if ac_fn_cxx_try_compile "$LINENO"; then :
74652   glibcxx_cv_func_ldexpf_use=yes
74653 else
74654   glibcxx_cv_func_ldexpf_use=no
74655 fi
74656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74657       ac_ext=c
74658 ac_cpp='$CPP $CPPFLAGS'
74659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74662
74663
74664 fi
74665
74666   fi
74667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74668 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74669
74670   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74671     for ac_func in ldexpf
74672 do :
74673   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74674 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74675   cat >>confdefs.h <<_ACEOF
74676 #define HAVE_LDEXPF 1
74677 _ACEOF
74678
74679 fi
74680 done
74681
74682   else
74683
74684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74685 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74686   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74687     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74688   $as_echo_n "(cached) " >&6
74689 else
74690
74691
74692       ac_ext=cpp
74693 ac_cpp='$CXXCPP $CPPFLAGS'
74694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74697
74698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74699 /* end confdefs.h.  */
74700 #include <math.h>
74701 int
74702 main ()
74703 {
74704  _ldexpf(0, 0);
74705   ;
74706   return 0;
74707 }
74708 _ACEOF
74709 if ac_fn_cxx_try_compile "$LINENO"; then :
74710   glibcxx_cv_func__ldexpf_use=yes
74711 else
74712   glibcxx_cv_func__ldexpf_use=no
74713 fi
74714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74715       ac_ext=c
74716 ac_cpp='$CPP $CPPFLAGS'
74717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74720
74721
74722 fi
74723
74724   fi
74725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74726 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74727
74728     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74729       for ac_func in _ldexpf
74730 do :
74731   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74732 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74733   cat >>confdefs.h <<_ACEOF
74734 #define HAVE__LDEXPF 1
74735 _ACEOF
74736
74737 fi
74738 done
74739
74740     fi
74741   fi
74742
74743
74744
74745
74746
74747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74748 $as_echo_n "checking for logf declaration... " >&6; }
74749   if test x${glibcxx_cv_func_logf_use+set} != xset; then
74750     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74751   $as_echo_n "(cached) " >&6
74752 else
74753
74754
74755       ac_ext=cpp
74756 ac_cpp='$CXXCPP $CPPFLAGS'
74757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74760
74761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74762 /* end confdefs.h.  */
74763 #include <math.h>
74764                       #ifdef HAVE_IEEEFP_H
74765                       #include <ieeefp.h>
74766                       #endif
74767
74768 int
74769 main ()
74770 {
74771  logf(0);
74772   ;
74773   return 0;
74774 }
74775 _ACEOF
74776 if ac_fn_cxx_try_compile "$LINENO"; then :
74777   glibcxx_cv_func_logf_use=yes
74778 else
74779   glibcxx_cv_func_logf_use=no
74780 fi
74781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74782       ac_ext=c
74783 ac_cpp='$CPP $CPPFLAGS'
74784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74787
74788
74789 fi
74790
74791   fi
74792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74793 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74794
74795   if test x$glibcxx_cv_func_logf_use = x"yes"; then
74796     for ac_func in logf
74797 do :
74798   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74799 if test "x$ac_cv_func_logf" = x""yes; then :
74800   cat >>confdefs.h <<_ACEOF
74801 #define HAVE_LOGF 1
74802 _ACEOF
74803
74804 fi
74805 done
74806
74807   else
74808
74809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74810 $as_echo_n "checking for _logf declaration... " >&6; }
74811   if test x${glibcxx_cv_func__logf_use+set} != xset; then
74812     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74813   $as_echo_n "(cached) " >&6
74814 else
74815
74816
74817       ac_ext=cpp
74818 ac_cpp='$CXXCPP $CPPFLAGS'
74819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74822
74823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74824 /* end confdefs.h.  */
74825 #include <math.h>
74826                       #ifdef HAVE_IEEEFP_H
74827                       #include <ieeefp.h>
74828                       #endif
74829
74830 int
74831 main ()
74832 {
74833  _logf(0);
74834   ;
74835   return 0;
74836 }
74837 _ACEOF
74838 if ac_fn_cxx_try_compile "$LINENO"; then :
74839   glibcxx_cv_func__logf_use=yes
74840 else
74841   glibcxx_cv_func__logf_use=no
74842 fi
74843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74844       ac_ext=c
74845 ac_cpp='$CPP $CPPFLAGS'
74846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74849
74850
74851 fi
74852
74853   fi
74854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74855 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74856
74857     if test x$glibcxx_cv_func__logf_use = x"yes"; then
74858       for ac_func in _logf
74859 do :
74860   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74861 if test "x$ac_cv_func__logf" = x""yes; then :
74862   cat >>confdefs.h <<_ACEOF
74863 #define HAVE__LOGF 1
74864 _ACEOF
74865
74866 fi
74867 done
74868
74869     fi
74870   fi
74871
74872
74873
74874
74875
74876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74877 $as_echo_n "checking for log10f declaration... " >&6; }
74878   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74879     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74880   $as_echo_n "(cached) " >&6
74881 else
74882
74883
74884       ac_ext=cpp
74885 ac_cpp='$CXXCPP $CPPFLAGS'
74886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74889
74890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74891 /* end confdefs.h.  */
74892 #include <math.h>
74893                       #ifdef HAVE_IEEEFP_H
74894                       #include <ieeefp.h>
74895                       #endif
74896
74897 int
74898 main ()
74899 {
74900  log10f(0);
74901   ;
74902   return 0;
74903 }
74904 _ACEOF
74905 if ac_fn_cxx_try_compile "$LINENO"; then :
74906   glibcxx_cv_func_log10f_use=yes
74907 else
74908   glibcxx_cv_func_log10f_use=no
74909 fi
74910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74911       ac_ext=c
74912 ac_cpp='$CPP $CPPFLAGS'
74913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74916
74917
74918 fi
74919
74920   fi
74921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74922 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74923
74924   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74925     for ac_func in log10f
74926 do :
74927   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74928 if test "x$ac_cv_func_log10f" = x""yes; then :
74929   cat >>confdefs.h <<_ACEOF
74930 #define HAVE_LOG10F 1
74931 _ACEOF
74932
74933 fi
74934 done
74935
74936   else
74937
74938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74939 $as_echo_n "checking for _log10f declaration... " >&6; }
74940   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74941     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74942   $as_echo_n "(cached) " >&6
74943 else
74944
74945
74946       ac_ext=cpp
74947 ac_cpp='$CXXCPP $CPPFLAGS'
74948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74951
74952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74953 /* end confdefs.h.  */
74954 #include <math.h>
74955                       #ifdef HAVE_IEEEFP_H
74956                       #include <ieeefp.h>
74957                       #endif
74958
74959 int
74960 main ()
74961 {
74962  _log10f(0);
74963   ;
74964   return 0;
74965 }
74966 _ACEOF
74967 if ac_fn_cxx_try_compile "$LINENO"; then :
74968   glibcxx_cv_func__log10f_use=yes
74969 else
74970   glibcxx_cv_func__log10f_use=no
74971 fi
74972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74973       ac_ext=c
74974 ac_cpp='$CPP $CPPFLAGS'
74975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74978
74979
74980 fi
74981
74982   fi
74983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74984 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74985
74986     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74987       for ac_func in _log10f
74988 do :
74989   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74990 if test "x$ac_cv_func__log10f" = x""yes; then :
74991   cat >>confdefs.h <<_ACEOF
74992 #define HAVE__LOG10F 1
74993 _ACEOF
74994
74995 fi
74996 done
74997
74998     fi
74999   fi
75000
75001
75002
75003
75004
75005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75006 $as_echo_n "checking for modff declaration... " >&6; }
75007   if test x${glibcxx_cv_func_modff_use+set} != xset; then
75008     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75009   $as_echo_n "(cached) " >&6
75010 else
75011
75012
75013       ac_ext=cpp
75014 ac_cpp='$CXXCPP $CPPFLAGS'
75015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75018
75019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75020 /* end confdefs.h.  */
75021 #include <math.h>
75022 int
75023 main ()
75024 {
75025  modff(0, 0);
75026   ;
75027   return 0;
75028 }
75029 _ACEOF
75030 if ac_fn_cxx_try_compile "$LINENO"; then :
75031   glibcxx_cv_func_modff_use=yes
75032 else
75033   glibcxx_cv_func_modff_use=no
75034 fi
75035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75036       ac_ext=c
75037 ac_cpp='$CPP $CPPFLAGS'
75038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75041
75042
75043 fi
75044
75045   fi
75046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75047 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75048
75049   if test x$glibcxx_cv_func_modff_use = x"yes"; then
75050     for ac_func in modff
75051 do :
75052   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75053 if test "x$ac_cv_func_modff" = x""yes; then :
75054   cat >>confdefs.h <<_ACEOF
75055 #define HAVE_MODFF 1
75056 _ACEOF
75057
75058 fi
75059 done
75060
75061   else
75062
75063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75064 $as_echo_n "checking for _modff declaration... " >&6; }
75065   if test x${glibcxx_cv_func__modff_use+set} != xset; then
75066     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75067   $as_echo_n "(cached) " >&6
75068 else
75069
75070
75071       ac_ext=cpp
75072 ac_cpp='$CXXCPP $CPPFLAGS'
75073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75076
75077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75078 /* end confdefs.h.  */
75079 #include <math.h>
75080 int
75081 main ()
75082 {
75083  _modff(0, 0);
75084   ;
75085   return 0;
75086 }
75087 _ACEOF
75088 if ac_fn_cxx_try_compile "$LINENO"; then :
75089   glibcxx_cv_func__modff_use=yes
75090 else
75091   glibcxx_cv_func__modff_use=no
75092 fi
75093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75094       ac_ext=c
75095 ac_cpp='$CPP $CPPFLAGS'
75096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75099
75100
75101 fi
75102
75103   fi
75104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75105 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75106
75107     if test x$glibcxx_cv_func__modff_use = x"yes"; then
75108       for ac_func in _modff
75109 do :
75110   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75111 if test "x$ac_cv_func__modff" = x""yes; then :
75112   cat >>confdefs.h <<_ACEOF
75113 #define HAVE__MODFF 1
75114 _ACEOF
75115
75116 fi
75117 done
75118
75119     fi
75120   fi
75121
75122
75123
75124
75125
75126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75127 $as_echo_n "checking for modf declaration... " >&6; }
75128   if test x${glibcxx_cv_func_modf_use+set} != xset; then
75129     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75130   $as_echo_n "(cached) " >&6
75131 else
75132
75133
75134       ac_ext=cpp
75135 ac_cpp='$CXXCPP $CPPFLAGS'
75136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75139
75140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75141 /* end confdefs.h.  */
75142 #include <math.h>
75143 int
75144 main ()
75145 {
75146  modf(0, 0);
75147   ;
75148   return 0;
75149 }
75150 _ACEOF
75151 if ac_fn_cxx_try_compile "$LINENO"; then :
75152   glibcxx_cv_func_modf_use=yes
75153 else
75154   glibcxx_cv_func_modf_use=no
75155 fi
75156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75157       ac_ext=c
75158 ac_cpp='$CPP $CPPFLAGS'
75159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75162
75163
75164 fi
75165
75166   fi
75167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75168 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75169
75170   if test x$glibcxx_cv_func_modf_use = x"yes"; then
75171     for ac_func in modf
75172 do :
75173   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75174 if test "x$ac_cv_func_modf" = x""yes; then :
75175   cat >>confdefs.h <<_ACEOF
75176 #define HAVE_MODF 1
75177 _ACEOF
75178
75179 fi
75180 done
75181
75182   else
75183
75184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75185 $as_echo_n "checking for _modf declaration... " >&6; }
75186   if test x${glibcxx_cv_func__modf_use+set} != xset; then
75187     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75188   $as_echo_n "(cached) " >&6
75189 else
75190
75191
75192       ac_ext=cpp
75193 ac_cpp='$CXXCPP $CPPFLAGS'
75194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75197
75198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75199 /* end confdefs.h.  */
75200 #include <math.h>
75201 int
75202 main ()
75203 {
75204  _modf(0, 0);
75205   ;
75206   return 0;
75207 }
75208 _ACEOF
75209 if ac_fn_cxx_try_compile "$LINENO"; then :
75210   glibcxx_cv_func__modf_use=yes
75211 else
75212   glibcxx_cv_func__modf_use=no
75213 fi
75214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75215       ac_ext=c
75216 ac_cpp='$CPP $CPPFLAGS'
75217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75220
75221
75222 fi
75223
75224   fi
75225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75226 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75227
75228     if test x$glibcxx_cv_func__modf_use = x"yes"; then
75229       for ac_func in _modf
75230 do :
75231   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75232 if test "x$ac_cv_func__modf" = x""yes; then :
75233   cat >>confdefs.h <<_ACEOF
75234 #define HAVE__MODF 1
75235 _ACEOF
75236
75237 fi
75238 done
75239
75240     fi
75241   fi
75242
75243
75244
75245
75246
75247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75248 $as_echo_n "checking for powf declaration... " >&6; }
75249   if test x${glibcxx_cv_func_powf_use+set} != xset; then
75250     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75251   $as_echo_n "(cached) " >&6
75252 else
75253
75254
75255       ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75260
75261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h.  */
75263 #include <math.h>
75264 int
75265 main ()
75266 {
75267  powf(0, 0);
75268   ;
75269   return 0;
75270 }
75271 _ACEOF
75272 if ac_fn_cxx_try_compile "$LINENO"; then :
75273   glibcxx_cv_func_powf_use=yes
75274 else
75275   glibcxx_cv_func_powf_use=no
75276 fi
75277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75278       ac_ext=c
75279 ac_cpp='$CPP $CPPFLAGS'
75280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75283
75284
75285 fi
75286
75287   fi
75288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75289 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75290
75291   if test x$glibcxx_cv_func_powf_use = x"yes"; then
75292     for ac_func in powf
75293 do :
75294   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75295 if test "x$ac_cv_func_powf" = x""yes; then :
75296   cat >>confdefs.h <<_ACEOF
75297 #define HAVE_POWF 1
75298 _ACEOF
75299
75300 fi
75301 done
75302
75303   else
75304
75305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75306 $as_echo_n "checking for _powf declaration... " >&6; }
75307   if test x${glibcxx_cv_func__powf_use+set} != xset; then
75308     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75309   $as_echo_n "(cached) " >&6
75310 else
75311
75312
75313       ac_ext=cpp
75314 ac_cpp='$CXXCPP $CPPFLAGS'
75315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75318
75319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75320 /* end confdefs.h.  */
75321 #include <math.h>
75322 int
75323 main ()
75324 {
75325  _powf(0, 0);
75326   ;
75327   return 0;
75328 }
75329 _ACEOF
75330 if ac_fn_cxx_try_compile "$LINENO"; then :
75331   glibcxx_cv_func__powf_use=yes
75332 else
75333   glibcxx_cv_func__powf_use=no
75334 fi
75335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75336       ac_ext=c
75337 ac_cpp='$CPP $CPPFLAGS'
75338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75341
75342
75343 fi
75344
75345   fi
75346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75347 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75348
75349     if test x$glibcxx_cv_func__powf_use = x"yes"; then
75350       for ac_func in _powf
75351 do :
75352   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75353 if test "x$ac_cv_func__powf" = x""yes; then :
75354   cat >>confdefs.h <<_ACEOF
75355 #define HAVE__POWF 1
75356 _ACEOF
75357
75358 fi
75359 done
75360
75361     fi
75362   fi
75363
75364
75365
75366
75367
75368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75369 $as_echo_n "checking for sqrtf declaration... " >&6; }
75370   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75371     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75372   $as_echo_n "(cached) " >&6
75373 else
75374
75375
75376       ac_ext=cpp
75377 ac_cpp='$CXXCPP $CPPFLAGS'
75378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75381
75382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75383 /* end confdefs.h.  */
75384 #include <math.h>
75385                       #ifdef HAVE_IEEEFP_H
75386                       #include <ieeefp.h>
75387                       #endif
75388
75389 int
75390 main ()
75391 {
75392  sqrtf(0);
75393   ;
75394   return 0;
75395 }
75396 _ACEOF
75397 if ac_fn_cxx_try_compile "$LINENO"; then :
75398   glibcxx_cv_func_sqrtf_use=yes
75399 else
75400   glibcxx_cv_func_sqrtf_use=no
75401 fi
75402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75403       ac_ext=c
75404 ac_cpp='$CPP $CPPFLAGS'
75405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75408
75409
75410 fi
75411
75412   fi
75413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75414 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75415
75416   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75417     for ac_func in sqrtf
75418 do :
75419   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75420 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75421   cat >>confdefs.h <<_ACEOF
75422 #define HAVE_SQRTF 1
75423 _ACEOF
75424
75425 fi
75426 done
75427
75428   else
75429
75430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75431 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75432   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75433     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75434   $as_echo_n "(cached) " >&6
75435 else
75436
75437
75438       ac_ext=cpp
75439 ac_cpp='$CXXCPP $CPPFLAGS'
75440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75443
75444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75445 /* end confdefs.h.  */
75446 #include <math.h>
75447                       #ifdef HAVE_IEEEFP_H
75448                       #include <ieeefp.h>
75449                       #endif
75450
75451 int
75452 main ()
75453 {
75454  _sqrtf(0);
75455   ;
75456   return 0;
75457 }
75458 _ACEOF
75459 if ac_fn_cxx_try_compile "$LINENO"; then :
75460   glibcxx_cv_func__sqrtf_use=yes
75461 else
75462   glibcxx_cv_func__sqrtf_use=no
75463 fi
75464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75465       ac_ext=c
75466 ac_cpp='$CPP $CPPFLAGS'
75467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75470
75471
75472 fi
75473
75474   fi
75475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75476 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75477
75478     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75479       for ac_func in _sqrtf
75480 do :
75481   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75482 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75483   cat >>confdefs.h <<_ACEOF
75484 #define HAVE__SQRTF 1
75485 _ACEOF
75486
75487 fi
75488 done
75489
75490     fi
75491   fi
75492
75493
75494
75495
75496
75497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75498 $as_echo_n "checking for sincosf declaration... " >&6; }
75499   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75500     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75501   $as_echo_n "(cached) " >&6
75502 else
75503
75504
75505       ac_ext=cpp
75506 ac_cpp='$CXXCPP $CPPFLAGS'
75507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75510
75511       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75512 /* end confdefs.h.  */
75513 #include <math.h>
75514 int
75515 main ()
75516 {
75517  sincosf(0, 0, 0);
75518   ;
75519   return 0;
75520 }
75521 _ACEOF
75522 if ac_fn_cxx_try_compile "$LINENO"; then :
75523   glibcxx_cv_func_sincosf_use=yes
75524 else
75525   glibcxx_cv_func_sincosf_use=no
75526 fi
75527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75528       ac_ext=c
75529 ac_cpp='$CPP $CPPFLAGS'
75530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75533
75534
75535 fi
75536
75537   fi
75538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75539 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75540
75541   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75542     for ac_func in sincosf
75543 do :
75544   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75545 if test "x$ac_cv_func_sincosf" = x""yes; then :
75546   cat >>confdefs.h <<_ACEOF
75547 #define HAVE_SINCOSF 1
75548 _ACEOF
75549
75550 fi
75551 done
75552
75553   else
75554
75555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75556 $as_echo_n "checking for _sincosf declaration... " >&6; }
75557   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75558     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75559   $as_echo_n "(cached) " >&6
75560 else
75561
75562
75563       ac_ext=cpp
75564 ac_cpp='$CXXCPP $CPPFLAGS'
75565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75568
75569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75570 /* end confdefs.h.  */
75571 #include <math.h>
75572 int
75573 main ()
75574 {
75575  _sincosf(0, 0, 0);
75576   ;
75577   return 0;
75578 }
75579 _ACEOF
75580 if ac_fn_cxx_try_compile "$LINENO"; then :
75581   glibcxx_cv_func__sincosf_use=yes
75582 else
75583   glibcxx_cv_func__sincosf_use=no
75584 fi
75585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586       ac_ext=c
75587 ac_cpp='$CPP $CPPFLAGS'
75588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75591
75592
75593 fi
75594
75595   fi
75596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75597 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75598
75599     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75600       for ac_func in _sincosf
75601 do :
75602   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75603 if test "x$ac_cv_func__sincosf" = x""yes; then :
75604   cat >>confdefs.h <<_ACEOF
75605 #define HAVE__SINCOSF 1
75606 _ACEOF
75607
75608 fi
75609 done
75610
75611     fi
75612   fi
75613
75614
75615
75616
75617
75618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75619 $as_echo_n "checking for finitef declaration... " >&6; }
75620   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75621     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75622   $as_echo_n "(cached) " >&6
75623 else
75624
75625
75626       ac_ext=cpp
75627 ac_cpp='$CXXCPP $CPPFLAGS'
75628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75631
75632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75633 /* end confdefs.h.  */
75634 #include <math.h>
75635                       #ifdef HAVE_IEEEFP_H
75636                       #include <ieeefp.h>
75637                       #endif
75638
75639 int
75640 main ()
75641 {
75642  finitef(0);
75643   ;
75644   return 0;
75645 }
75646 _ACEOF
75647 if ac_fn_cxx_try_compile "$LINENO"; then :
75648   glibcxx_cv_func_finitef_use=yes
75649 else
75650   glibcxx_cv_func_finitef_use=no
75651 fi
75652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75653       ac_ext=c
75654 ac_cpp='$CPP $CPPFLAGS'
75655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75658
75659
75660 fi
75661
75662   fi
75663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75664 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75665
75666   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75667     for ac_func in finitef
75668 do :
75669   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75670 if test "x$ac_cv_func_finitef" = x""yes; then :
75671   cat >>confdefs.h <<_ACEOF
75672 #define HAVE_FINITEF 1
75673 _ACEOF
75674
75675 fi
75676 done
75677
75678   else
75679
75680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75681 $as_echo_n "checking for _finitef declaration... " >&6; }
75682   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75683     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75684   $as_echo_n "(cached) " >&6
75685 else
75686
75687
75688       ac_ext=cpp
75689 ac_cpp='$CXXCPP $CPPFLAGS'
75690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75693
75694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75695 /* end confdefs.h.  */
75696 #include <math.h>
75697                       #ifdef HAVE_IEEEFP_H
75698                       #include <ieeefp.h>
75699                       #endif
75700
75701 int
75702 main ()
75703 {
75704  _finitef(0);
75705   ;
75706   return 0;
75707 }
75708 _ACEOF
75709 if ac_fn_cxx_try_compile "$LINENO"; then :
75710   glibcxx_cv_func__finitef_use=yes
75711 else
75712   glibcxx_cv_func__finitef_use=no
75713 fi
75714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75715       ac_ext=c
75716 ac_cpp='$CPP $CPPFLAGS'
75717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75720
75721
75722 fi
75723
75724   fi
75725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75726 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75727
75728     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75729       for ac_func in _finitef
75730 do :
75731   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75732 if test "x$ac_cv_func__finitef" = x""yes; then :
75733   cat >>confdefs.h <<_ACEOF
75734 #define HAVE__FINITEF 1
75735 _ACEOF
75736
75737 fi
75738 done
75739
75740     fi
75741   fi
75742
75743
75744
75745
75746
75747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75748 $as_echo_n "checking for long double trig functions... " >&6; }
75749   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75750   $as_echo_n "(cached) " >&6
75751 else
75752
75753
75754     ac_ext=cpp
75755 ac_cpp='$CXXCPP $CPPFLAGS'
75756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75759
75760     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75761 /* end confdefs.h.  */
75762 #include <math.h>
75763 int
75764 main ()
75765 {
75766 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75767   ;
75768   return 0;
75769 }
75770 _ACEOF
75771 if ac_fn_cxx_try_compile "$LINENO"; then :
75772   glibcxx_cv_func_long_double_trig_use=yes
75773 else
75774   glibcxx_cv_func_long_double_trig_use=no
75775 fi
75776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75777     ac_ext=c
75778 ac_cpp='$CPP $CPPFLAGS'
75779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75782
75783 fi
75784
75785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75786 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75787   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75788     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75789 do :
75790   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75792 eval as_val=\$$as_ac_var
75793    if test "x$as_val" = x""yes; then :
75794   cat >>confdefs.h <<_ACEOF
75795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75796 _ACEOF
75797
75798 fi
75799 done
75800
75801   else
75802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75803 $as_echo_n "checking for _long double trig functions... " >&6; }
75804     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75805   $as_echo_n "(cached) " >&6
75806 else
75807
75808
75809       ac_ext=cpp
75810 ac_cpp='$CXXCPP $CPPFLAGS'
75811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75814
75815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75816 /* end confdefs.h.  */
75817 #include <math.h>
75818 int
75819 main ()
75820 {
75821 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75822   ;
75823   return 0;
75824 }
75825 _ACEOF
75826 if ac_fn_cxx_try_compile "$LINENO"; then :
75827   glibcxx_cv_func__long_double_trig_use=yes
75828 else
75829   glibcxx_cv_func__long_double_trig_use=no
75830 fi
75831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75832       ac_ext=c
75833 ac_cpp='$CPP $CPPFLAGS'
75834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75837
75838 fi
75839
75840     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75841 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75842     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75843       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75844 do :
75845   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75847 eval as_val=\$$as_ac_var
75848    if test "x$as_val" = x""yes; then :
75849   cat >>confdefs.h <<_ACEOF
75850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75851 _ACEOF
75852
75853 fi
75854 done
75855
75856     fi
75857   fi
75858
75859
75860
75861
75862
75863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75864 $as_echo_n "checking for long double round functions... " >&6; }
75865   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75866   $as_echo_n "(cached) " >&6
75867 else
75868
75869
75870     ac_ext=cpp
75871 ac_cpp='$CXXCPP $CPPFLAGS'
75872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75875
75876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75877 /* end confdefs.h.  */
75878 #include <math.h>
75879 int
75880 main ()
75881 {
75882 ceill (0); floorl (0);
75883   ;
75884   return 0;
75885 }
75886 _ACEOF
75887 if ac_fn_cxx_try_compile "$LINENO"; then :
75888   glibcxx_cv_func_long_double_round_use=yes
75889 else
75890   glibcxx_cv_func_long_double_round_use=no
75891 fi
75892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75893     ac_ext=c
75894 ac_cpp='$CPP $CPPFLAGS'
75895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75898
75899 fi
75900
75901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75902 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75903   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75904     for ac_func in ceill floorl
75905 do :
75906   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75908 eval as_val=\$$as_ac_var
75909    if test "x$as_val" = x""yes; then :
75910   cat >>confdefs.h <<_ACEOF
75911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75912 _ACEOF
75913
75914 fi
75915 done
75916
75917   else
75918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75919 $as_echo_n "checking for _long double round functions... " >&6; }
75920     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75921   $as_echo_n "(cached) " >&6
75922 else
75923
75924
75925       ac_ext=cpp
75926 ac_cpp='$CXXCPP $CPPFLAGS'
75927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75930
75931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75932 /* end confdefs.h.  */
75933 #include <math.h>
75934 int
75935 main ()
75936 {
75937 _ceill (0); _floorl (0);
75938   ;
75939   return 0;
75940 }
75941 _ACEOF
75942 if ac_fn_cxx_try_compile "$LINENO"; then :
75943   glibcxx_cv_func__long_double_round_use=yes
75944 else
75945   glibcxx_cv_func__long_double_round_use=no
75946 fi
75947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75948       ac_ext=c
75949 ac_cpp='$CPP $CPPFLAGS'
75950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75953
75954 fi
75955
75956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75957 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75958     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75959       for ac_func in _ceill _floorl
75960 do :
75961   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75963 eval as_val=\$$as_ac_var
75964    if test "x$as_val" = x""yes; then :
75965   cat >>confdefs.h <<_ACEOF
75966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75967 _ACEOF
75968
75969 fi
75970 done
75971
75972     fi
75973   fi
75974
75975
75976
75977
75978
75979
75980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75981 $as_echo_n "checking for isnanl declaration... " >&6; }
75982   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75983     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75984   $as_echo_n "(cached) " >&6
75985 else
75986
75987
75988       ac_ext=cpp
75989 ac_cpp='$CXXCPP $CPPFLAGS'
75990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75993
75994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75995 /* end confdefs.h.  */
75996 #include <math.h>
75997                       #ifdef HAVE_IEEEFP_H
75998                       #include <ieeefp.h>
75999                       #endif
76000
76001 int
76002 main ()
76003 {
76004  isnanl(0);
76005   ;
76006   return 0;
76007 }
76008 _ACEOF
76009 if ac_fn_cxx_try_compile "$LINENO"; then :
76010   glibcxx_cv_func_isnanl_use=yes
76011 else
76012   glibcxx_cv_func_isnanl_use=no
76013 fi
76014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76015       ac_ext=c
76016 ac_cpp='$CPP $CPPFLAGS'
76017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76020
76021
76022 fi
76023
76024   fi
76025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76026 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76027
76028   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76029     for ac_func in isnanl
76030 do :
76031   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76032 if test "x$ac_cv_func_isnanl" = x""yes; then :
76033   cat >>confdefs.h <<_ACEOF
76034 #define HAVE_ISNANL 1
76035 _ACEOF
76036
76037 fi
76038 done
76039
76040   else
76041
76042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76043 $as_echo_n "checking for _isnanl declaration... " >&6; }
76044   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76045     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76046   $as_echo_n "(cached) " >&6
76047 else
76048
76049
76050       ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76055
76056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h.  */
76058 #include <math.h>
76059                       #ifdef HAVE_IEEEFP_H
76060                       #include <ieeefp.h>
76061                       #endif
76062
76063 int
76064 main ()
76065 {
76066  _isnanl(0);
76067   ;
76068   return 0;
76069 }
76070 _ACEOF
76071 if ac_fn_cxx_try_compile "$LINENO"; then :
76072   glibcxx_cv_func__isnanl_use=yes
76073 else
76074   glibcxx_cv_func__isnanl_use=no
76075 fi
76076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76077       ac_ext=c
76078 ac_cpp='$CPP $CPPFLAGS'
76079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76082
76083
76084 fi
76085
76086   fi
76087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76088 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76089
76090     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76091       for ac_func in _isnanl
76092 do :
76093   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76094 if test "x$ac_cv_func__isnanl" = x""yes; then :
76095   cat >>confdefs.h <<_ACEOF
76096 #define HAVE__ISNANL 1
76097 _ACEOF
76098
76099 fi
76100 done
76101
76102     fi
76103   fi
76104
76105
76106
76107
76108
76109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76110 $as_echo_n "checking for isinfl declaration... " >&6; }
76111   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76112     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76113   $as_echo_n "(cached) " >&6
76114 else
76115
76116
76117       ac_ext=cpp
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76122
76123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124 /* end confdefs.h.  */
76125 #include <math.h>
76126                       #ifdef HAVE_IEEEFP_H
76127                       #include <ieeefp.h>
76128                       #endif
76129
76130 int
76131 main ()
76132 {
76133  isinfl(0);
76134   ;
76135   return 0;
76136 }
76137 _ACEOF
76138 if ac_fn_cxx_try_compile "$LINENO"; then :
76139   glibcxx_cv_func_isinfl_use=yes
76140 else
76141   glibcxx_cv_func_isinfl_use=no
76142 fi
76143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76144       ac_ext=c
76145 ac_cpp='$CPP $CPPFLAGS'
76146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76149
76150
76151 fi
76152
76153   fi
76154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76155 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76156
76157   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76158     for ac_func in isinfl
76159 do :
76160   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76161 if test "x$ac_cv_func_isinfl" = x""yes; then :
76162   cat >>confdefs.h <<_ACEOF
76163 #define HAVE_ISINFL 1
76164 _ACEOF
76165
76166 fi
76167 done
76168
76169   else
76170
76171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76172 $as_echo_n "checking for _isinfl declaration... " >&6; }
76173   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76174     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76175   $as_echo_n "(cached) " >&6
76176 else
76177
76178
76179       ac_ext=cpp
76180 ac_cpp='$CXXCPP $CPPFLAGS'
76181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76184
76185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76186 /* end confdefs.h.  */
76187 #include <math.h>
76188                       #ifdef HAVE_IEEEFP_H
76189                       #include <ieeefp.h>
76190                       #endif
76191
76192 int
76193 main ()
76194 {
76195  _isinfl(0);
76196   ;
76197   return 0;
76198 }
76199 _ACEOF
76200 if ac_fn_cxx_try_compile "$LINENO"; then :
76201   glibcxx_cv_func__isinfl_use=yes
76202 else
76203   glibcxx_cv_func__isinfl_use=no
76204 fi
76205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76206       ac_ext=c
76207 ac_cpp='$CPP $CPPFLAGS'
76208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76211
76212
76213 fi
76214
76215   fi
76216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76217 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76218
76219     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76220       for ac_func in _isinfl
76221 do :
76222   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76223 if test "x$ac_cv_func__isinfl" = x""yes; then :
76224   cat >>confdefs.h <<_ACEOF
76225 #define HAVE__ISINFL 1
76226 _ACEOF
76227
76228 fi
76229 done
76230
76231     fi
76232   fi
76233
76234
76235
76236
76237
76238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76239 $as_echo_n "checking for atan2l declaration... " >&6; }
76240   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76241     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76242   $as_echo_n "(cached) " >&6
76243 else
76244
76245
76246       ac_ext=cpp
76247 ac_cpp='$CXXCPP $CPPFLAGS'
76248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76251
76252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76253 /* end confdefs.h.  */
76254 #include <math.h>
76255 int
76256 main ()
76257 {
76258  atan2l(0, 0);
76259   ;
76260   return 0;
76261 }
76262 _ACEOF
76263 if ac_fn_cxx_try_compile "$LINENO"; then :
76264   glibcxx_cv_func_atan2l_use=yes
76265 else
76266   glibcxx_cv_func_atan2l_use=no
76267 fi
76268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76269       ac_ext=c
76270 ac_cpp='$CPP $CPPFLAGS'
76271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76274
76275
76276 fi
76277
76278   fi
76279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76280 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76281
76282   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76283     for ac_func in atan2l
76284 do :
76285   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76286 if test "x$ac_cv_func_atan2l" = x""yes; then :
76287   cat >>confdefs.h <<_ACEOF
76288 #define HAVE_ATAN2L 1
76289 _ACEOF
76290
76291 fi
76292 done
76293
76294   else
76295
76296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76297 $as_echo_n "checking for _atan2l declaration... " >&6; }
76298   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76299     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76300   $as_echo_n "(cached) " >&6
76301 else
76302
76303
76304       ac_ext=cpp
76305 ac_cpp='$CXXCPP $CPPFLAGS'
76306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76309
76310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76311 /* end confdefs.h.  */
76312 #include <math.h>
76313 int
76314 main ()
76315 {
76316  _atan2l(0, 0);
76317   ;
76318   return 0;
76319 }
76320 _ACEOF
76321 if ac_fn_cxx_try_compile "$LINENO"; then :
76322   glibcxx_cv_func__atan2l_use=yes
76323 else
76324   glibcxx_cv_func__atan2l_use=no
76325 fi
76326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76327       ac_ext=c
76328 ac_cpp='$CPP $CPPFLAGS'
76329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76332
76333
76334 fi
76335
76336   fi
76337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76338 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76339
76340     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76341       for ac_func in _atan2l
76342 do :
76343   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76344 if test "x$ac_cv_func__atan2l" = x""yes; then :
76345   cat >>confdefs.h <<_ACEOF
76346 #define HAVE__ATAN2L 1
76347 _ACEOF
76348
76349 fi
76350 done
76351
76352     fi
76353   fi
76354
76355
76356
76357
76358
76359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76360 $as_echo_n "checking for expl declaration... " >&6; }
76361   if test x${glibcxx_cv_func_expl_use+set} != xset; then
76362     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76363   $as_echo_n "(cached) " >&6
76364 else
76365
76366
76367       ac_ext=cpp
76368 ac_cpp='$CXXCPP $CPPFLAGS'
76369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76372
76373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76374 /* end confdefs.h.  */
76375 #include <math.h>
76376                       #ifdef HAVE_IEEEFP_H
76377                       #include <ieeefp.h>
76378                       #endif
76379
76380 int
76381 main ()
76382 {
76383  expl(0);
76384   ;
76385   return 0;
76386 }
76387 _ACEOF
76388 if ac_fn_cxx_try_compile "$LINENO"; then :
76389   glibcxx_cv_func_expl_use=yes
76390 else
76391   glibcxx_cv_func_expl_use=no
76392 fi
76393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76394       ac_ext=c
76395 ac_cpp='$CPP $CPPFLAGS'
76396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76399
76400
76401 fi
76402
76403   fi
76404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76405 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76406
76407   if test x$glibcxx_cv_func_expl_use = x"yes"; then
76408     for ac_func in expl
76409 do :
76410   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76411 if test "x$ac_cv_func_expl" = x""yes; then :
76412   cat >>confdefs.h <<_ACEOF
76413 #define HAVE_EXPL 1
76414 _ACEOF
76415
76416 fi
76417 done
76418
76419   else
76420
76421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76422 $as_echo_n "checking for _expl declaration... " >&6; }
76423   if test x${glibcxx_cv_func__expl_use+set} != xset; then
76424     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76425   $as_echo_n "(cached) " >&6
76426 else
76427
76428
76429       ac_ext=cpp
76430 ac_cpp='$CXXCPP $CPPFLAGS'
76431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76434
76435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76436 /* end confdefs.h.  */
76437 #include <math.h>
76438                       #ifdef HAVE_IEEEFP_H
76439                       #include <ieeefp.h>
76440                       #endif
76441
76442 int
76443 main ()
76444 {
76445  _expl(0);
76446   ;
76447   return 0;
76448 }
76449 _ACEOF
76450 if ac_fn_cxx_try_compile "$LINENO"; then :
76451   glibcxx_cv_func__expl_use=yes
76452 else
76453   glibcxx_cv_func__expl_use=no
76454 fi
76455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76456       ac_ext=c
76457 ac_cpp='$CPP $CPPFLAGS'
76458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76461
76462
76463 fi
76464
76465   fi
76466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76467 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76468
76469     if test x$glibcxx_cv_func__expl_use = x"yes"; then
76470       for ac_func in _expl
76471 do :
76472   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76473 if test "x$ac_cv_func__expl" = x""yes; then :
76474   cat >>confdefs.h <<_ACEOF
76475 #define HAVE__EXPL 1
76476 _ACEOF
76477
76478 fi
76479 done
76480
76481     fi
76482   fi
76483
76484
76485
76486
76487
76488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76489 $as_echo_n "checking for fabsl declaration... " >&6; }
76490   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76491     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76492   $as_echo_n "(cached) " >&6
76493 else
76494
76495
76496       ac_ext=cpp
76497 ac_cpp='$CXXCPP $CPPFLAGS'
76498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76501
76502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76503 /* end confdefs.h.  */
76504 #include <math.h>
76505                       #ifdef HAVE_IEEEFP_H
76506                       #include <ieeefp.h>
76507                       #endif
76508
76509 int
76510 main ()
76511 {
76512  fabsl(0);
76513   ;
76514   return 0;
76515 }
76516 _ACEOF
76517 if ac_fn_cxx_try_compile "$LINENO"; then :
76518   glibcxx_cv_func_fabsl_use=yes
76519 else
76520   glibcxx_cv_func_fabsl_use=no
76521 fi
76522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76523       ac_ext=c
76524 ac_cpp='$CPP $CPPFLAGS'
76525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76528
76529
76530 fi
76531
76532   fi
76533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76534 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76535
76536   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76537     for ac_func in fabsl
76538 do :
76539   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76540 if test "x$ac_cv_func_fabsl" = x""yes; then :
76541   cat >>confdefs.h <<_ACEOF
76542 #define HAVE_FABSL 1
76543 _ACEOF
76544
76545 fi
76546 done
76547
76548   else
76549
76550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76551 $as_echo_n "checking for _fabsl declaration... " >&6; }
76552   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76553     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76554   $as_echo_n "(cached) " >&6
76555 else
76556
76557
76558       ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76563
76564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h.  */
76566 #include <math.h>
76567                       #ifdef HAVE_IEEEFP_H
76568                       #include <ieeefp.h>
76569                       #endif
76570
76571 int
76572 main ()
76573 {
76574  _fabsl(0);
76575   ;
76576   return 0;
76577 }
76578 _ACEOF
76579 if ac_fn_cxx_try_compile "$LINENO"; then :
76580   glibcxx_cv_func__fabsl_use=yes
76581 else
76582   glibcxx_cv_func__fabsl_use=no
76583 fi
76584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76585       ac_ext=c
76586 ac_cpp='$CPP $CPPFLAGS'
76587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76590
76591
76592 fi
76593
76594   fi
76595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76596 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76597
76598     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76599       for ac_func in _fabsl
76600 do :
76601   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76602 if test "x$ac_cv_func__fabsl" = x""yes; then :
76603   cat >>confdefs.h <<_ACEOF
76604 #define HAVE__FABSL 1
76605 _ACEOF
76606
76607 fi
76608 done
76609
76610     fi
76611   fi
76612
76613
76614
76615
76616
76617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76618 $as_echo_n "checking for fmodl declaration... " >&6; }
76619   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76620     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76621   $as_echo_n "(cached) " >&6
76622 else
76623
76624
76625       ac_ext=cpp
76626 ac_cpp='$CXXCPP $CPPFLAGS'
76627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76630
76631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76632 /* end confdefs.h.  */
76633 #include <math.h>
76634 int
76635 main ()
76636 {
76637  fmodl(0, 0);
76638   ;
76639   return 0;
76640 }
76641 _ACEOF
76642 if ac_fn_cxx_try_compile "$LINENO"; then :
76643   glibcxx_cv_func_fmodl_use=yes
76644 else
76645   glibcxx_cv_func_fmodl_use=no
76646 fi
76647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76648       ac_ext=c
76649 ac_cpp='$CPP $CPPFLAGS'
76650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76653
76654
76655 fi
76656
76657   fi
76658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76659 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76660
76661   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76662     for ac_func in fmodl
76663 do :
76664   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76665 if test "x$ac_cv_func_fmodl" = x""yes; then :
76666   cat >>confdefs.h <<_ACEOF
76667 #define HAVE_FMODL 1
76668 _ACEOF
76669
76670 fi
76671 done
76672
76673   else
76674
76675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76676 $as_echo_n "checking for _fmodl declaration... " >&6; }
76677   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76678     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76679   $as_echo_n "(cached) " >&6
76680 else
76681
76682
76683       ac_ext=cpp
76684 ac_cpp='$CXXCPP $CPPFLAGS'
76685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76688
76689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76690 /* end confdefs.h.  */
76691 #include <math.h>
76692 int
76693 main ()
76694 {
76695  _fmodl(0, 0);
76696   ;
76697   return 0;
76698 }
76699 _ACEOF
76700 if ac_fn_cxx_try_compile "$LINENO"; then :
76701   glibcxx_cv_func__fmodl_use=yes
76702 else
76703   glibcxx_cv_func__fmodl_use=no
76704 fi
76705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76706       ac_ext=c
76707 ac_cpp='$CPP $CPPFLAGS'
76708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76711
76712
76713 fi
76714
76715   fi
76716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76717 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76718
76719     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76720       for ac_func in _fmodl
76721 do :
76722   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76723 if test "x$ac_cv_func__fmodl" = x""yes; then :
76724   cat >>confdefs.h <<_ACEOF
76725 #define HAVE__FMODL 1
76726 _ACEOF
76727
76728 fi
76729 done
76730
76731     fi
76732   fi
76733
76734
76735
76736
76737
76738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76739 $as_echo_n "checking for frexpl declaration... " >&6; }
76740   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76741     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76742   $as_echo_n "(cached) " >&6
76743 else
76744
76745
76746       ac_ext=cpp
76747 ac_cpp='$CXXCPP $CPPFLAGS'
76748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76751
76752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76753 /* end confdefs.h.  */
76754 #include <math.h>
76755 int
76756 main ()
76757 {
76758  frexpl(0, 0);
76759   ;
76760   return 0;
76761 }
76762 _ACEOF
76763 if ac_fn_cxx_try_compile "$LINENO"; then :
76764   glibcxx_cv_func_frexpl_use=yes
76765 else
76766   glibcxx_cv_func_frexpl_use=no
76767 fi
76768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76769       ac_ext=c
76770 ac_cpp='$CPP $CPPFLAGS'
76771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76774
76775
76776 fi
76777
76778   fi
76779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76780 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76781
76782   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76783     for ac_func in frexpl
76784 do :
76785   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76786 if test "x$ac_cv_func_frexpl" = x""yes; then :
76787   cat >>confdefs.h <<_ACEOF
76788 #define HAVE_FREXPL 1
76789 _ACEOF
76790
76791 fi
76792 done
76793
76794   else
76795
76796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76797 $as_echo_n "checking for _frexpl declaration... " >&6; }
76798   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76799     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76800   $as_echo_n "(cached) " >&6
76801 else
76802
76803
76804       ac_ext=cpp
76805 ac_cpp='$CXXCPP $CPPFLAGS'
76806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76809
76810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76811 /* end confdefs.h.  */
76812 #include <math.h>
76813 int
76814 main ()
76815 {
76816  _frexpl(0, 0);
76817   ;
76818   return 0;
76819 }
76820 _ACEOF
76821 if ac_fn_cxx_try_compile "$LINENO"; then :
76822   glibcxx_cv_func__frexpl_use=yes
76823 else
76824   glibcxx_cv_func__frexpl_use=no
76825 fi
76826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76827       ac_ext=c
76828 ac_cpp='$CPP $CPPFLAGS'
76829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76832
76833
76834 fi
76835
76836   fi
76837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76838 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76839
76840     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76841       for ac_func in _frexpl
76842 do :
76843   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76844 if test "x$ac_cv_func__frexpl" = x""yes; then :
76845   cat >>confdefs.h <<_ACEOF
76846 #define HAVE__FREXPL 1
76847 _ACEOF
76848
76849 fi
76850 done
76851
76852     fi
76853   fi
76854
76855
76856
76857
76858
76859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76860 $as_echo_n "checking for hypotl declaration... " >&6; }
76861   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76862     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76863   $as_echo_n "(cached) " >&6
76864 else
76865
76866
76867       ac_ext=cpp
76868 ac_cpp='$CXXCPP $CPPFLAGS'
76869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76872
76873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76874 /* end confdefs.h.  */
76875 #include <math.h>
76876 int
76877 main ()
76878 {
76879  hypotl(0, 0);
76880   ;
76881   return 0;
76882 }
76883 _ACEOF
76884 if ac_fn_cxx_try_compile "$LINENO"; then :
76885   glibcxx_cv_func_hypotl_use=yes
76886 else
76887   glibcxx_cv_func_hypotl_use=no
76888 fi
76889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76890       ac_ext=c
76891 ac_cpp='$CPP $CPPFLAGS'
76892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76895
76896
76897 fi
76898
76899   fi
76900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76901 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76902
76903   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76904     for ac_func in hypotl
76905 do :
76906   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76907 if test "x$ac_cv_func_hypotl" = x""yes; then :
76908   cat >>confdefs.h <<_ACEOF
76909 #define HAVE_HYPOTL 1
76910 _ACEOF
76911
76912 fi
76913 done
76914
76915   else
76916
76917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76918 $as_echo_n "checking for _hypotl declaration... " >&6; }
76919   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76920     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76921   $as_echo_n "(cached) " >&6
76922 else
76923
76924
76925       ac_ext=cpp
76926 ac_cpp='$CXXCPP $CPPFLAGS'
76927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76930
76931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76932 /* end confdefs.h.  */
76933 #include <math.h>
76934 int
76935 main ()
76936 {
76937  _hypotl(0, 0);
76938   ;
76939   return 0;
76940 }
76941 _ACEOF
76942 if ac_fn_cxx_try_compile "$LINENO"; then :
76943   glibcxx_cv_func__hypotl_use=yes
76944 else
76945   glibcxx_cv_func__hypotl_use=no
76946 fi
76947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76948       ac_ext=c
76949 ac_cpp='$CPP $CPPFLAGS'
76950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76953
76954
76955 fi
76956
76957   fi
76958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76959 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76960
76961     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76962       for ac_func in _hypotl
76963 do :
76964   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76965 if test "x$ac_cv_func__hypotl" = x""yes; then :
76966   cat >>confdefs.h <<_ACEOF
76967 #define HAVE__HYPOTL 1
76968 _ACEOF
76969
76970 fi
76971 done
76972
76973     fi
76974   fi
76975
76976
76977
76978
76979
76980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76981 $as_echo_n "checking for ldexpl declaration... " >&6; }
76982   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76983     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76984   $as_echo_n "(cached) " >&6
76985 else
76986
76987
76988       ac_ext=cpp
76989 ac_cpp='$CXXCPP $CPPFLAGS'
76990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76993
76994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76995 /* end confdefs.h.  */
76996 #include <math.h>
76997 int
76998 main ()
76999 {
77000  ldexpl(0, 0);
77001   ;
77002   return 0;
77003 }
77004 _ACEOF
77005 if ac_fn_cxx_try_compile "$LINENO"; then :
77006   glibcxx_cv_func_ldexpl_use=yes
77007 else
77008   glibcxx_cv_func_ldexpl_use=no
77009 fi
77010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77011       ac_ext=c
77012 ac_cpp='$CPP $CPPFLAGS'
77013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77016
77017
77018 fi
77019
77020   fi
77021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77022 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77023
77024   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77025     for ac_func in ldexpl
77026 do :
77027   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77028 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77029   cat >>confdefs.h <<_ACEOF
77030 #define HAVE_LDEXPL 1
77031 _ACEOF
77032
77033 fi
77034 done
77035
77036   else
77037
77038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77039 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77040   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77041     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77042   $as_echo_n "(cached) " >&6
77043 else
77044
77045
77046       ac_ext=cpp
77047 ac_cpp='$CXXCPP $CPPFLAGS'
77048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77051
77052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77053 /* end confdefs.h.  */
77054 #include <math.h>
77055 int
77056 main ()
77057 {
77058  _ldexpl(0, 0);
77059   ;
77060   return 0;
77061 }
77062 _ACEOF
77063 if ac_fn_cxx_try_compile "$LINENO"; then :
77064   glibcxx_cv_func__ldexpl_use=yes
77065 else
77066   glibcxx_cv_func__ldexpl_use=no
77067 fi
77068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77069       ac_ext=c
77070 ac_cpp='$CPP $CPPFLAGS'
77071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77074
77075
77076 fi
77077
77078   fi
77079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77080 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77081
77082     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77083       for ac_func in _ldexpl
77084 do :
77085   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77086 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77087   cat >>confdefs.h <<_ACEOF
77088 #define HAVE__LDEXPL 1
77089 _ACEOF
77090
77091 fi
77092 done
77093
77094     fi
77095   fi
77096
77097
77098
77099
77100
77101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77102 $as_echo_n "checking for logl declaration... " >&6; }
77103   if test x${glibcxx_cv_func_logl_use+set} != xset; then
77104     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77105   $as_echo_n "(cached) " >&6
77106 else
77107
77108
77109       ac_ext=cpp
77110 ac_cpp='$CXXCPP $CPPFLAGS'
77111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77114
77115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77116 /* end confdefs.h.  */
77117 #include <math.h>
77118                       #ifdef HAVE_IEEEFP_H
77119                       #include <ieeefp.h>
77120                       #endif
77121
77122 int
77123 main ()
77124 {
77125  logl(0);
77126   ;
77127   return 0;
77128 }
77129 _ACEOF
77130 if ac_fn_cxx_try_compile "$LINENO"; then :
77131   glibcxx_cv_func_logl_use=yes
77132 else
77133   glibcxx_cv_func_logl_use=no
77134 fi
77135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77136       ac_ext=c
77137 ac_cpp='$CPP $CPPFLAGS'
77138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77141
77142
77143 fi
77144
77145   fi
77146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77147 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77148
77149   if test x$glibcxx_cv_func_logl_use = x"yes"; then
77150     for ac_func in logl
77151 do :
77152   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77153 if test "x$ac_cv_func_logl" = x""yes; then :
77154   cat >>confdefs.h <<_ACEOF
77155 #define HAVE_LOGL 1
77156 _ACEOF
77157
77158 fi
77159 done
77160
77161   else
77162
77163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77164 $as_echo_n "checking for _logl declaration... " >&6; }
77165   if test x${glibcxx_cv_func__logl_use+set} != xset; then
77166     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77167   $as_echo_n "(cached) " >&6
77168 else
77169
77170
77171       ac_ext=cpp
77172 ac_cpp='$CXXCPP $CPPFLAGS'
77173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77176
77177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77178 /* end confdefs.h.  */
77179 #include <math.h>
77180                       #ifdef HAVE_IEEEFP_H
77181                       #include <ieeefp.h>
77182                       #endif
77183
77184 int
77185 main ()
77186 {
77187  _logl(0);
77188   ;
77189   return 0;
77190 }
77191 _ACEOF
77192 if ac_fn_cxx_try_compile "$LINENO"; then :
77193   glibcxx_cv_func__logl_use=yes
77194 else
77195   glibcxx_cv_func__logl_use=no
77196 fi
77197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77198       ac_ext=c
77199 ac_cpp='$CPP $CPPFLAGS'
77200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77203
77204
77205 fi
77206
77207   fi
77208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77209 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77210
77211     if test x$glibcxx_cv_func__logl_use = x"yes"; then
77212       for ac_func in _logl
77213 do :
77214   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77215 if test "x$ac_cv_func__logl" = x""yes; then :
77216   cat >>confdefs.h <<_ACEOF
77217 #define HAVE__LOGL 1
77218 _ACEOF
77219
77220 fi
77221 done
77222
77223     fi
77224   fi
77225
77226
77227
77228
77229
77230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77231 $as_echo_n "checking for log10l declaration... " >&6; }
77232   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77233     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77234   $as_echo_n "(cached) " >&6
77235 else
77236
77237
77238       ac_ext=cpp
77239 ac_cpp='$CXXCPP $CPPFLAGS'
77240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77243
77244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77245 /* end confdefs.h.  */
77246 #include <math.h>
77247                       #ifdef HAVE_IEEEFP_H
77248                       #include <ieeefp.h>
77249                       #endif
77250
77251 int
77252 main ()
77253 {
77254  log10l(0);
77255   ;
77256   return 0;
77257 }
77258 _ACEOF
77259 if ac_fn_cxx_try_compile "$LINENO"; then :
77260   glibcxx_cv_func_log10l_use=yes
77261 else
77262   glibcxx_cv_func_log10l_use=no
77263 fi
77264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77265       ac_ext=c
77266 ac_cpp='$CPP $CPPFLAGS'
77267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77270
77271
77272 fi
77273
77274   fi
77275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77276 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77277
77278   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77279     for ac_func in log10l
77280 do :
77281   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77282 if test "x$ac_cv_func_log10l" = x""yes; then :
77283   cat >>confdefs.h <<_ACEOF
77284 #define HAVE_LOG10L 1
77285 _ACEOF
77286
77287 fi
77288 done
77289
77290   else
77291
77292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77293 $as_echo_n "checking for _log10l declaration... " >&6; }
77294   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77295     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77296   $as_echo_n "(cached) " >&6
77297 else
77298
77299
77300       ac_ext=cpp
77301 ac_cpp='$CXXCPP $CPPFLAGS'
77302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77305
77306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77307 /* end confdefs.h.  */
77308 #include <math.h>
77309                       #ifdef HAVE_IEEEFP_H
77310                       #include <ieeefp.h>
77311                       #endif
77312
77313 int
77314 main ()
77315 {
77316  _log10l(0);
77317   ;
77318   return 0;
77319 }
77320 _ACEOF
77321 if ac_fn_cxx_try_compile "$LINENO"; then :
77322   glibcxx_cv_func__log10l_use=yes
77323 else
77324   glibcxx_cv_func__log10l_use=no
77325 fi
77326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77327       ac_ext=c
77328 ac_cpp='$CPP $CPPFLAGS'
77329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77332
77333
77334 fi
77335
77336   fi
77337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77338 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77339
77340     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77341       for ac_func in _log10l
77342 do :
77343   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77344 if test "x$ac_cv_func__log10l" = x""yes; then :
77345   cat >>confdefs.h <<_ACEOF
77346 #define HAVE__LOG10L 1
77347 _ACEOF
77348
77349 fi
77350 done
77351
77352     fi
77353   fi
77354
77355
77356
77357
77358
77359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77360 $as_echo_n "checking for modfl declaration... " >&6; }
77361   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77362     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77363   $as_echo_n "(cached) " >&6
77364 else
77365
77366
77367       ac_ext=cpp
77368 ac_cpp='$CXXCPP $CPPFLAGS'
77369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77372
77373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77374 /* end confdefs.h.  */
77375 #include <math.h>
77376 int
77377 main ()
77378 {
77379  modfl(0, 0);
77380   ;
77381   return 0;
77382 }
77383 _ACEOF
77384 if ac_fn_cxx_try_compile "$LINENO"; then :
77385   glibcxx_cv_func_modfl_use=yes
77386 else
77387   glibcxx_cv_func_modfl_use=no
77388 fi
77389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77390       ac_ext=c
77391 ac_cpp='$CPP $CPPFLAGS'
77392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77395
77396
77397 fi
77398
77399   fi
77400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77401 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77402
77403   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77404     for ac_func in modfl
77405 do :
77406   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77407 if test "x$ac_cv_func_modfl" = x""yes; then :
77408   cat >>confdefs.h <<_ACEOF
77409 #define HAVE_MODFL 1
77410 _ACEOF
77411
77412 fi
77413 done
77414
77415   else
77416
77417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77418 $as_echo_n "checking for _modfl declaration... " >&6; }
77419   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77420     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77421   $as_echo_n "(cached) " >&6
77422 else
77423
77424
77425       ac_ext=cpp
77426 ac_cpp='$CXXCPP $CPPFLAGS'
77427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77430
77431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77432 /* end confdefs.h.  */
77433 #include <math.h>
77434 int
77435 main ()
77436 {
77437  _modfl(0, 0);
77438   ;
77439   return 0;
77440 }
77441 _ACEOF
77442 if ac_fn_cxx_try_compile "$LINENO"; then :
77443   glibcxx_cv_func__modfl_use=yes
77444 else
77445   glibcxx_cv_func__modfl_use=no
77446 fi
77447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77448       ac_ext=c
77449 ac_cpp='$CPP $CPPFLAGS'
77450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77453
77454
77455 fi
77456
77457   fi
77458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77459 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77460
77461     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77462       for ac_func in _modfl
77463 do :
77464   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77465 if test "x$ac_cv_func__modfl" = x""yes; then :
77466   cat >>confdefs.h <<_ACEOF
77467 #define HAVE__MODFL 1
77468 _ACEOF
77469
77470 fi
77471 done
77472
77473     fi
77474   fi
77475
77476
77477
77478
77479
77480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77481 $as_echo_n "checking for powl declaration... " >&6; }
77482   if test x${glibcxx_cv_func_powl_use+set} != xset; then
77483     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77484   $as_echo_n "(cached) " >&6
77485 else
77486
77487
77488       ac_ext=cpp
77489 ac_cpp='$CXXCPP $CPPFLAGS'
77490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77493
77494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77495 /* end confdefs.h.  */
77496 #include <math.h>
77497 int
77498 main ()
77499 {
77500  powl(0, 0);
77501   ;
77502   return 0;
77503 }
77504 _ACEOF
77505 if ac_fn_cxx_try_compile "$LINENO"; then :
77506   glibcxx_cv_func_powl_use=yes
77507 else
77508   glibcxx_cv_func_powl_use=no
77509 fi
77510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77511       ac_ext=c
77512 ac_cpp='$CPP $CPPFLAGS'
77513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77516
77517
77518 fi
77519
77520   fi
77521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77522 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77523
77524   if test x$glibcxx_cv_func_powl_use = x"yes"; then
77525     for ac_func in powl
77526 do :
77527   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77528 if test "x$ac_cv_func_powl" = x""yes; then :
77529   cat >>confdefs.h <<_ACEOF
77530 #define HAVE_POWL 1
77531 _ACEOF
77532
77533 fi
77534 done
77535
77536   else
77537
77538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77539 $as_echo_n "checking for _powl declaration... " >&6; }
77540   if test x${glibcxx_cv_func__powl_use+set} != xset; then
77541     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77542   $as_echo_n "(cached) " >&6
77543 else
77544
77545
77546       ac_ext=cpp
77547 ac_cpp='$CXXCPP $CPPFLAGS'
77548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77551
77552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77553 /* end confdefs.h.  */
77554 #include <math.h>
77555 int
77556 main ()
77557 {
77558  _powl(0, 0);
77559   ;
77560   return 0;
77561 }
77562 _ACEOF
77563 if ac_fn_cxx_try_compile "$LINENO"; then :
77564   glibcxx_cv_func__powl_use=yes
77565 else
77566   glibcxx_cv_func__powl_use=no
77567 fi
77568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77569       ac_ext=c
77570 ac_cpp='$CPP $CPPFLAGS'
77571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77574
77575
77576 fi
77577
77578   fi
77579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77580 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77581
77582     if test x$glibcxx_cv_func__powl_use = x"yes"; then
77583       for ac_func in _powl
77584 do :
77585   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77586 if test "x$ac_cv_func__powl" = x""yes; then :
77587   cat >>confdefs.h <<_ACEOF
77588 #define HAVE__POWL 1
77589 _ACEOF
77590
77591 fi
77592 done
77593
77594     fi
77595   fi
77596
77597
77598
77599
77600
77601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77602 $as_echo_n "checking for sqrtl declaration... " >&6; }
77603   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77604     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77605   $as_echo_n "(cached) " >&6
77606 else
77607
77608
77609       ac_ext=cpp
77610 ac_cpp='$CXXCPP $CPPFLAGS'
77611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77614
77615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77616 /* end confdefs.h.  */
77617 #include <math.h>
77618                       #ifdef HAVE_IEEEFP_H
77619                       #include <ieeefp.h>
77620                       #endif
77621
77622 int
77623 main ()
77624 {
77625  sqrtl(0);
77626   ;
77627   return 0;
77628 }
77629 _ACEOF
77630 if ac_fn_cxx_try_compile "$LINENO"; then :
77631   glibcxx_cv_func_sqrtl_use=yes
77632 else
77633   glibcxx_cv_func_sqrtl_use=no
77634 fi
77635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77636       ac_ext=c
77637 ac_cpp='$CPP $CPPFLAGS'
77638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77641
77642
77643 fi
77644
77645   fi
77646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77647 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77648
77649   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77650     for ac_func in sqrtl
77651 do :
77652   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77653 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77654   cat >>confdefs.h <<_ACEOF
77655 #define HAVE_SQRTL 1
77656 _ACEOF
77657
77658 fi
77659 done
77660
77661   else
77662
77663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77664 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77665   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77666     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77667   $as_echo_n "(cached) " >&6
77668 else
77669
77670
77671       ac_ext=cpp
77672 ac_cpp='$CXXCPP $CPPFLAGS'
77673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77676
77677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77678 /* end confdefs.h.  */
77679 #include <math.h>
77680                       #ifdef HAVE_IEEEFP_H
77681                       #include <ieeefp.h>
77682                       #endif
77683
77684 int
77685 main ()
77686 {
77687  _sqrtl(0);
77688   ;
77689   return 0;
77690 }
77691 _ACEOF
77692 if ac_fn_cxx_try_compile "$LINENO"; then :
77693   glibcxx_cv_func__sqrtl_use=yes
77694 else
77695   glibcxx_cv_func__sqrtl_use=no
77696 fi
77697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77698       ac_ext=c
77699 ac_cpp='$CPP $CPPFLAGS'
77700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77703
77704
77705 fi
77706
77707   fi
77708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77709 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77710
77711     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77712       for ac_func in _sqrtl
77713 do :
77714   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77715 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77716   cat >>confdefs.h <<_ACEOF
77717 #define HAVE__SQRTL 1
77718 _ACEOF
77719
77720 fi
77721 done
77722
77723     fi
77724   fi
77725
77726
77727
77728
77729
77730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77731 $as_echo_n "checking for sincosl declaration... " >&6; }
77732   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77733     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77734   $as_echo_n "(cached) " >&6
77735 else
77736
77737
77738       ac_ext=cpp
77739 ac_cpp='$CXXCPP $CPPFLAGS'
77740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77743
77744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77745 /* end confdefs.h.  */
77746 #include <math.h>
77747 int
77748 main ()
77749 {
77750  sincosl(0, 0, 0);
77751   ;
77752   return 0;
77753 }
77754 _ACEOF
77755 if ac_fn_cxx_try_compile "$LINENO"; then :
77756   glibcxx_cv_func_sincosl_use=yes
77757 else
77758   glibcxx_cv_func_sincosl_use=no
77759 fi
77760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77761       ac_ext=c
77762 ac_cpp='$CPP $CPPFLAGS'
77763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77766
77767
77768 fi
77769
77770   fi
77771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77772 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77773
77774   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77775     for ac_func in sincosl
77776 do :
77777   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77778 if test "x$ac_cv_func_sincosl" = x""yes; then :
77779   cat >>confdefs.h <<_ACEOF
77780 #define HAVE_SINCOSL 1
77781 _ACEOF
77782
77783 fi
77784 done
77785
77786   else
77787
77788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77789 $as_echo_n "checking for _sincosl declaration... " >&6; }
77790   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77791     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77792   $as_echo_n "(cached) " >&6
77793 else
77794
77795
77796       ac_ext=cpp
77797 ac_cpp='$CXXCPP $CPPFLAGS'
77798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77801
77802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77803 /* end confdefs.h.  */
77804 #include <math.h>
77805 int
77806 main ()
77807 {
77808  _sincosl(0, 0, 0);
77809   ;
77810   return 0;
77811 }
77812 _ACEOF
77813 if ac_fn_cxx_try_compile "$LINENO"; then :
77814   glibcxx_cv_func__sincosl_use=yes
77815 else
77816   glibcxx_cv_func__sincosl_use=no
77817 fi
77818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77819       ac_ext=c
77820 ac_cpp='$CPP $CPPFLAGS'
77821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77824
77825
77826 fi
77827
77828   fi
77829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77830 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77831
77832     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77833       for ac_func in _sincosl
77834 do :
77835   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77836 if test "x$ac_cv_func__sincosl" = x""yes; then :
77837   cat >>confdefs.h <<_ACEOF
77838 #define HAVE__SINCOSL 1
77839 _ACEOF
77840
77841 fi
77842 done
77843
77844     fi
77845   fi
77846
77847
77848
77849
77850
77851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77852 $as_echo_n "checking for finitel declaration... " >&6; }
77853   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77854     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77855   $as_echo_n "(cached) " >&6
77856 else
77857
77858
77859       ac_ext=cpp
77860 ac_cpp='$CXXCPP $CPPFLAGS'
77861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77864
77865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77866 /* end confdefs.h.  */
77867 #include <math.h>
77868                       #ifdef HAVE_IEEEFP_H
77869                       #include <ieeefp.h>
77870                       #endif
77871
77872 int
77873 main ()
77874 {
77875  finitel(0);
77876   ;
77877   return 0;
77878 }
77879 _ACEOF
77880 if ac_fn_cxx_try_compile "$LINENO"; then :
77881   glibcxx_cv_func_finitel_use=yes
77882 else
77883   glibcxx_cv_func_finitel_use=no
77884 fi
77885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77886       ac_ext=c
77887 ac_cpp='$CPP $CPPFLAGS'
77888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77891
77892
77893 fi
77894
77895   fi
77896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77897 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77898
77899   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77900     for ac_func in finitel
77901 do :
77902   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77903 if test "x$ac_cv_func_finitel" = x""yes; then :
77904   cat >>confdefs.h <<_ACEOF
77905 #define HAVE_FINITEL 1
77906 _ACEOF
77907
77908 fi
77909 done
77910
77911   else
77912
77913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77914 $as_echo_n "checking for _finitel declaration... " >&6; }
77915   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77916     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77917   $as_echo_n "(cached) " >&6
77918 else
77919
77920
77921       ac_ext=cpp
77922 ac_cpp='$CXXCPP $CPPFLAGS'
77923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77926
77927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77928 /* end confdefs.h.  */
77929 #include <math.h>
77930                       #ifdef HAVE_IEEEFP_H
77931                       #include <ieeefp.h>
77932                       #endif
77933
77934 int
77935 main ()
77936 {
77937  _finitel(0);
77938   ;
77939   return 0;
77940 }
77941 _ACEOF
77942 if ac_fn_cxx_try_compile "$LINENO"; then :
77943   glibcxx_cv_func__finitel_use=yes
77944 else
77945   glibcxx_cv_func__finitel_use=no
77946 fi
77947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77948       ac_ext=c
77949 ac_cpp='$CPP $CPPFLAGS'
77950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77953
77954
77955 fi
77956
77957   fi
77958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77959 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77960
77961     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77962       for ac_func in _finitel
77963 do :
77964   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77965 if test "x$ac_cv_func__finitel" = x""yes; then :
77966   cat >>confdefs.h <<_ACEOF
77967 #define HAVE__FINITEL 1
77968 _ACEOF
77969
77970 fi
77971 done
77972
77973     fi
77974   fi
77975
77976
77977
77978
77979   LIBS="$ac_save_LIBS"
77980   CXXFLAGS="$ac_save_CXXFLAGS"
77981
77982
77983   ac_test_CXXFLAGS="${CXXFLAGS+set}"
77984   ac_save_CXXFLAGS="$CXXFLAGS"
77985   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77986
77987
77988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77989 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77990   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77991     if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77992   $as_echo_n "(cached) " >&6
77993 else
77994
77995
77996       ac_ext=cpp
77997 ac_cpp='$CXXCPP $CPPFLAGS'
77998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78001
78002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h.  */
78004 #include <stdlib.h>
78005 int
78006 main ()
78007 {
78008  at_quick_exit(0);
78009   ;
78010   return 0;
78011 }
78012 _ACEOF
78013 if ac_fn_cxx_try_compile "$LINENO"; then :
78014   glibcxx_cv_func_at_quick_exit_use=yes
78015 else
78016   glibcxx_cv_func_at_quick_exit_use=no
78017 fi
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78019       ac_ext=c
78020 ac_cpp='$CPP $CPPFLAGS'
78021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78024
78025
78026 fi
78027
78028   fi
78029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78030 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78031   if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78032     for ac_func in at_quick_exit
78033 do :
78034   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78035 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78036   cat >>confdefs.h <<_ACEOF
78037 #define HAVE_AT_QUICK_EXIT 1
78038 _ACEOF
78039
78040 fi
78041 done
78042
78043   fi
78044
78045
78046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78047 $as_echo_n "checking for quick_exit declaration... " >&6; }
78048   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78049     if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78050   $as_echo_n "(cached) " >&6
78051 else
78052
78053
78054       ac_ext=cpp
78055 ac_cpp='$CXXCPP $CPPFLAGS'
78056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78059
78060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78061 /* end confdefs.h.  */
78062 #include <stdlib.h>
78063 int
78064 main ()
78065 {
78066  quick_exit(0);
78067   ;
78068   return 0;
78069 }
78070 _ACEOF
78071 if ac_fn_cxx_try_compile "$LINENO"; then :
78072   glibcxx_cv_func_quick_exit_use=yes
78073 else
78074   glibcxx_cv_func_quick_exit_use=no
78075 fi
78076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78077       ac_ext=c
78078 ac_cpp='$CPP $CPPFLAGS'
78079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78082
78083
78084 fi
78085
78086   fi
78087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78088 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78089   if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78090     for ac_func in quick_exit
78091 do :
78092   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78093 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78094   cat >>confdefs.h <<_ACEOF
78095 #define HAVE_QUICK_EXIT 1
78096 _ACEOF
78097
78098 fi
78099 done
78100
78101   fi
78102
78103
78104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78105 $as_echo_n "checking for strtold declaration... " >&6; }
78106   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78107     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78108   $as_echo_n "(cached) " >&6
78109 else
78110
78111
78112       ac_ext=cpp
78113 ac_cpp='$CXXCPP $CPPFLAGS'
78114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78117
78118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78119 /* end confdefs.h.  */
78120 #include <stdlib.h>
78121 int
78122 main ()
78123 {
78124  strtold(0, 0);
78125   ;
78126   return 0;
78127 }
78128 _ACEOF
78129 if ac_fn_cxx_try_compile "$LINENO"; then :
78130   glibcxx_cv_func_strtold_use=yes
78131 else
78132   glibcxx_cv_func_strtold_use=no
78133 fi
78134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78135       ac_ext=c
78136 ac_cpp='$CPP $CPPFLAGS'
78137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78140
78141
78142 fi
78143
78144   fi
78145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78146 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78147   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78148     for ac_func in strtold
78149 do :
78150   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78151 if test "x$ac_cv_func_strtold" = x""yes; then :
78152   cat >>confdefs.h <<_ACEOF
78153 #define HAVE_STRTOLD 1
78154 _ACEOF
78155
78156 fi
78157 done
78158
78159   fi
78160
78161
78162
78163
78164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78165 $as_echo_n "checking for strtof declaration... " >&6; }
78166   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78167     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78168   $as_echo_n "(cached) " >&6
78169 else
78170
78171
78172       ac_ext=cpp
78173 ac_cpp='$CXXCPP $CPPFLAGS'
78174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78177
78178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78179 /* end confdefs.h.  */
78180 #include <stdlib.h>
78181 int
78182 main ()
78183 {
78184  strtof(0, 0);
78185   ;
78186   return 0;
78187 }
78188 _ACEOF
78189 if ac_fn_cxx_try_compile "$LINENO"; then :
78190   glibcxx_cv_func_strtof_use=yes
78191 else
78192   glibcxx_cv_func_strtof_use=no
78193 fi
78194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78195       ac_ext=c
78196 ac_cpp='$CPP $CPPFLAGS'
78197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78200
78201
78202 fi
78203
78204   fi
78205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78206 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78207   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78208     for ac_func in strtof
78209 do :
78210   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78211 if test "x$ac_cv_func_strtof" = x""yes; then :
78212   cat >>confdefs.h <<_ACEOF
78213 #define HAVE_STRTOF 1
78214 _ACEOF
78215
78216 fi
78217 done
78218
78219   fi
78220
78221
78222
78223
78224   CXXFLAGS="$ac_save_CXXFLAGS"
78225
78226     ;;
78227   *-vxworks)
78228     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78229
78230     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78231
78232     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78233
78234     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78235
78236     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78237
78238     $as_echo "#define HAVE_COSF 1" >>confdefs.h
78239
78240     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78241
78242     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78243
78244     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78245
78246     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78247
78248     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78249
78250     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78251
78252     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78253
78254     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78255
78256     $as_echo "#define HAVE_POWF 1" >>confdefs.h
78257
78258     $as_echo "#define HAVE_SINF 1" >>confdefs.h
78259
78260     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78261
78262     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78263
78264     $as_echo "#define HAVE_TANF 1" >>confdefs.h
78265
78266     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78267
78268     ;;
78269   *)
78270     as_fn_error "No support for this host/target combination." "$LINENO" 5
78271    ;;
78272 esac
78273
78274   fi
78275
78276   # At some point, we should differentiate between architectures
78277   # like x86, which have long double versions, and alpha/powerpc/etc.,
78278   # which don't. For the time being, punt.
78279   if test x"long_double_math_on_this_cpu" = x"yes"; then
78280     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78281
78282     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78283
78284     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78285
78286     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78287
78288     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78289
78290     $as_echo "#define HAVE_COSL 1" >>confdefs.h
78291
78292     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78293
78294     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78295
78296     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78297
78298     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78299
78300     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78301
78302     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78303
78304     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78305
78306     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78307
78308     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78309
78310     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78311
78312     $as_echo "#define HAVE_POWL 1" >>confdefs.h
78313
78314     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78315
78316     $as_echo "#define HAVE_SINL 1" >>confdefs.h
78317
78318     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78319
78320     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78321
78322     $as_echo "#define HAVE_TANL 1" >>confdefs.h
78323
78324     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78325
78326   fi
78327 fi
78328
78329 # Check for _Unwind_GetIPInfo.
78330
78331
78332 # Check whether --with-system-libunwind was given.
78333 if test "${with_system_libunwind+set}" = set; then :
78334   withval=$with_system_libunwind;
78335 fi
78336
78337   # If system-libunwind was not specifically set, pick a default setting.
78338   if test x$with_system_libunwind = x; then
78339     case ${target} in
78340       ia64-*-hpux*) with_system_libunwind=yes ;;
78341       *) with_system_libunwind=no ;;
78342     esac
78343   fi
78344   # Based on system-libunwind and target, do we have ipinfo?
78345   if  test x$with_system_libunwind = xyes; then
78346     case ${target} in
78347       ia64-*-*) have_unwind_getipinfo=no ;;
78348       *) have_unwind_getipinfo=yes ;;
78349     esac
78350   else
78351     # Darwin before version 9 does not have _Unwind_GetIPInfo.
78352
78353     case ${target} in
78354       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78355       *) have_unwind_getipinfo=yes ;;
78356     esac
78357
78358   fi
78359
78360   if test x$have_unwind_getipinfo = xyes; then
78361
78362 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78363
78364   fi
78365
78366
78367  # Check whether --enable-linux-futex was given.
78368 if test "${enable_linux_futex+set}" = set; then :
78369   enableval=$enable_linux_futex;
78370       case "$enableval" in
78371        yes|no|default) ;;
78372        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78373                           esac
78374
78375 else
78376   enable_linux_futex=default
78377 fi
78378
78379
78380 case "$target" in
78381   *-linux*)
78382     case "$enable_linux_futex" in
78383       default)
78384         # If headers don't have gettid/futex syscalls definition, then
78385         # default to no, otherwise there will be compile time failures.
78386         # Otherwise, default to yes.  If we don't detect we are
78387         # compiled/linked against NPTL and not cross-compiling, check
78388         # if programs are run by default against NPTL and if not, issue
78389         # a warning.
78390         enable_linux_futex=no
78391         if test x$gcc_no_link = xyes; then
78392   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78393 fi
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h.  */
78396 #include <sys/syscall.h>
78397            int lk;
78398 int
78399 main ()
78400 {
78401 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78402   ;
78403   return 0;
78404 }
78405 _ACEOF
78406 if ac_fn_c_try_link "$LINENO"; then :
78407   save_LIBS="$LIBS"
78408            LIBS="-lpthread $LIBS"
78409            if test x$gcc_no_link = xyes; then
78410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78411 fi
78412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78413 /* end confdefs.h.  */
78414 #ifndef _GNU_SOURCE
78415              #define _GNU_SOURCE 1
78416              #endif
78417              #include <pthread.h>
78418              pthread_t th; void *status;
78419 int
78420 main ()
78421 {
78422 pthread_tryjoin_np (th, &status);
78423   ;
78424   return 0;
78425 }
78426 _ACEOF
78427 if ac_fn_c_try_link "$LINENO"; then :
78428   enable_linux_futex=yes
78429 else
78430   if test x$cross_compiling = xno; then
78431                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78432                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78433                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78434 If so, please configure with --disable-linux-futex" >&5
78435 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78436 If so, please configure with --disable-linux-futex" >&2;}
78437                fi
78438              fi
78439              enable_linux_futex=yes
78440 fi
78441 rm -f core conftest.err conftest.$ac_objext \
78442     conftest$ac_exeext conftest.$ac_ext
78443            LIBS="$save_LIBS"
78444 fi
78445 rm -f core conftest.err conftest.$ac_objext \
78446     conftest$ac_exeext conftest.$ac_ext
78447         ;;
78448       yes)
78449         if test x$gcc_no_link = xyes; then
78450   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78451 fi
78452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78453 /* end confdefs.h.  */
78454 #include <sys/syscall.h>
78455            int lk;
78456 int
78457 main ()
78458 {
78459 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78460   ;
78461   return 0;
78462 }
78463 _ACEOF
78464 if ac_fn_c_try_link "$LINENO"; then :
78465
78466 else
78467   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78468 fi
78469 rm -f core conftest.err conftest.$ac_objext \
78470     conftest$ac_exeext conftest.$ac_ext
78471         ;;
78472     esac
78473     ;;
78474   *)
78475     enable_linux_futex=no
78476     ;;
78477 esac
78478 if test x$enable_linux_futex = xyes; then
78479
78480 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78481
78482 fi
78483
78484
78485
78486
78487 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
78488
78489 acx_cv_header_stdint=stddef.h
78490 acx_cv_header_stdint_kind="(already complete)"
78491 for i in stdint.h $inttype_headers; do
78492   unset ac_cv_type_uintptr_t
78493   unset ac_cv_type_uintmax_t
78494   unset ac_cv_type_int_least32_t
78495   unset ac_cv_type_int_fast32_t
78496   unset ac_cv_type_uint64_t
78497   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78498   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78499 #include <$i>
78500 "
78501 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78502   acx_cv_header_stdint=$i
78503 else
78504   continue
78505 fi
78506
78507   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78508 #include <$i>
78509 "
78510 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78511
78512 else
78513   acx_cv_header_stdint_kind="(mostly complete)"
78514 fi
78515
78516   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78517 #include <$i>
78518 "
78519 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78520
78521 else
78522   acx_cv_header_stdint_kind="(mostly complete)"
78523 fi
78524
78525   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78526 #include <$i>
78527 "
78528 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78529
78530 else
78531   acx_cv_header_stdint_kind="(mostly complete)"
78532 fi
78533
78534   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78535 #include <$i>
78536 "
78537 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78538
78539 else
78540   acx_cv_header_stdint_kind="(lacks uint64_t)"
78541 fi
78542
78543   break
78544 done
78545 if test "$acx_cv_header_stdint" = stddef.h; then
78546   acx_cv_header_stdint_kind="(lacks uintmax_t)"
78547   for i in stdint.h $inttype_headers; do
78548     unset ac_cv_type_uintptr_t
78549     unset ac_cv_type_uint32_t
78550     unset ac_cv_type_uint64_t
78551     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78552     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78553 #include <$i>
78554 "
78555 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78556   acx_cv_header_stdint=$i
78557 else
78558   continue
78559 fi
78560
78561     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78562 #include <$i>
78563 "
78564 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78565
78566 fi
78567
78568     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78569 #include <$i>
78570 "
78571 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78572
78573 fi
78574
78575     break
78576   done
78577 fi
78578 if test "$acx_cv_header_stdint" = stddef.h; then
78579   acx_cv_header_stdint_kind="(u_intXX_t style)"
78580   for i in sys/types.h $inttype_headers; do
78581     unset ac_cv_type_u_int32_t
78582     unset ac_cv_type_u_int64_t
78583     $as_echo_n "looking for u_intXX_t types in $i, " >&6
78584     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78585 #include <$i>
78586 "
78587 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78588   acx_cv_header_stdint=$i
78589 else
78590   continue
78591 fi
78592
78593     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78594 #include <$i>
78595 "
78596 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78597
78598 fi
78599
78600     break
78601   done
78602 fi
78603 if test "$acx_cv_header_stdint" = stddef.h; then
78604   acx_cv_header_stdint_kind="(using manual detection)"
78605 fi
78606
78607 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78608 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78609 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78610 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78611 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78612
78613 # ----------------- Summarize what we found so far
78614
78615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78616 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78617
78618 case `$as_basename -- include/gstdint.h ||
78619 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78620          Xinclude/gstdint.h : 'X\(//\)$' \| \
78621          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78622 $as_echo X/include/gstdint.h |
78623     sed '/^.*\/\([^/][^/]*\)\/*$/{
78624             s//\1/
78625             q
78626           }
78627           /^X\/\(\/\/\)$/{
78628             s//\1/
78629             q
78630           }
78631           /^X\/\(\/\).*/{
78632             s//\1/
78633             q
78634           }
78635           s/.*/./; q'` in
78636   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78637 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78638   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78639 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78640   *) ;;
78641 esac
78642
78643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78644 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78645
78646 # ----------------- done included file, check C basic types --------
78647
78648 # Lacking an uintptr_t?  Test size of void *
78649 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78650   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78653 # This bug is HP SR number 8606223364.
78654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78655 $as_echo_n "checking size of void *... " >&6; }
78656 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78657   $as_echo_n "(cached) " >&6
78658 else
78659   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
78660
78661 else
78662   if test "$ac_cv_type_void_p" = yes; then
78663      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78665 { as_fn_set_status 77
78666 as_fn_error "cannot compute sizeof (void *)
78667 See \`config.log' for more details." "$LINENO" 5; }; }
78668    else
78669      ac_cv_sizeof_void_p=0
78670    fi
78671 fi
78672
78673 fi
78674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78675 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78676
78677
78678
78679 cat >>confdefs.h <<_ACEOF
78680 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78681 _ACEOF
78682
78683  ;;
78684 esac
78685
78686 # Lacking an uint64_t?  Test size of long
78687 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78688   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78690 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78691 # This bug is HP SR number 8606223364.
78692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78693 $as_echo_n "checking size of long... " >&6; }
78694 if test "${ac_cv_sizeof_long+set}" = set; then :
78695   $as_echo_n "(cached) " >&6
78696 else
78697   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
78698
78699 else
78700   if test "$ac_cv_type_long" = yes; then
78701      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78703 { as_fn_set_status 77
78704 as_fn_error "cannot compute sizeof (long)
78705 See \`config.log' for more details." "$LINENO" 5; }; }
78706    else
78707      ac_cv_sizeof_long=0
78708    fi
78709 fi
78710
78711 fi
78712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78713 $as_echo "$ac_cv_sizeof_long" >&6; }
78714
78715
78716
78717 cat >>confdefs.h <<_ACEOF
78718 #define SIZEOF_LONG $ac_cv_sizeof_long
78719 _ACEOF
78720
78721  ;;
78722 esac
78723
78724 if test $acx_cv_header_stdint = stddef.h; then
78725   # Lacking a good header?  Test size of everything and deduce all types.
78726   # The cast to long int works around a bug in the HP C Compiler
78727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78729 # This bug is HP SR number 8606223364.
78730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78731 $as_echo_n "checking size of int... " >&6; }
78732 if test "${ac_cv_sizeof_int+set}" = set; then :
78733   $as_echo_n "(cached) " >&6
78734 else
78735   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
78736
78737 else
78738   if test "$ac_cv_type_int" = yes; then
78739      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78741 { as_fn_set_status 77
78742 as_fn_error "cannot compute sizeof (int)
78743 See \`config.log' for more details." "$LINENO" 5; }; }
78744    else
78745      ac_cv_sizeof_int=0
78746    fi
78747 fi
78748
78749 fi
78750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78751 $as_echo "$ac_cv_sizeof_int" >&6; }
78752
78753
78754
78755 cat >>confdefs.h <<_ACEOF
78756 #define SIZEOF_INT $ac_cv_sizeof_int
78757 _ACEOF
78758
78759
78760   # The cast to long int works around a bug in the HP C Compiler
78761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78763 # This bug is HP SR number 8606223364.
78764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78765 $as_echo_n "checking size of short... " >&6; }
78766 if test "${ac_cv_sizeof_short+set}" = set; then :
78767   $as_echo_n "(cached) " >&6
78768 else
78769   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
78770
78771 else
78772   if test "$ac_cv_type_short" = yes; then
78773      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78775 { as_fn_set_status 77
78776 as_fn_error "cannot compute sizeof (short)
78777 See \`config.log' for more details." "$LINENO" 5; }; }
78778    else
78779      ac_cv_sizeof_short=0
78780    fi
78781 fi
78782
78783 fi
78784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78785 $as_echo "$ac_cv_sizeof_short" >&6; }
78786
78787
78788
78789 cat >>confdefs.h <<_ACEOF
78790 #define SIZEOF_SHORT $ac_cv_sizeof_short
78791 _ACEOF
78792
78793
78794   # The cast to long int works around a bug in the HP C Compiler
78795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78797 # This bug is HP SR number 8606223364.
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78799 $as_echo_n "checking size of char... " >&6; }
78800 if test "${ac_cv_sizeof_char+set}" = set; then :
78801   $as_echo_n "(cached) " >&6
78802 else
78803   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
78804
78805 else
78806   if test "$ac_cv_type_char" = yes; then
78807      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78809 { as_fn_set_status 77
78810 as_fn_error "cannot compute sizeof (char)
78811 See \`config.log' for more details." "$LINENO" 5; }; }
78812    else
78813      ac_cv_sizeof_char=0
78814    fi
78815 fi
78816
78817 fi
78818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78819 $as_echo "$ac_cv_sizeof_char" >&6; }
78820
78821
78822
78823 cat >>confdefs.h <<_ACEOF
78824 #define SIZEOF_CHAR $ac_cv_sizeof_char
78825 _ACEOF
78826
78827
78828
78829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78830 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78831   case "$ac_cv_sizeof_char" in
78832     1) acx_cv_type_int8_t=char ;;
78833     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78834   esac
78835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78836 $as_echo "$acx_cv_type_int8_t" >&6; }
78837
78838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78839 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78840   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78841     2:*) acx_cv_type_int16_t=int ;;
78842     *:2) acx_cv_type_int16_t=short ;;
78843     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78844   esac
78845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78846 $as_echo "$acx_cv_type_int16_t" >&6; }
78847
78848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78849 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78850   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78851     4:*) acx_cv_type_int32_t=int ;;
78852     *:4) acx_cv_type_int32_t=long ;;
78853     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78854   esac
78855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78856 $as_echo "$acx_cv_type_int32_t" >&6; }
78857 fi
78858
78859 # These tests are here to make the output prettier
78860
78861 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78862   case "$ac_cv_sizeof_long" in
78863     8) acx_cv_type_int64_t=long ;;
78864   esac
78865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78866 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78868 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78869 fi
78870
78871 # Now we can use the above types
78872
78873 if test "$ac_cv_type_uintptr_t" != yes; then
78874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78875 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78876   case $ac_cv_sizeof_void_p in
78877     2) acx_cv_type_intptr_t=int16_t ;;
78878     4) acx_cv_type_intptr_t=int32_t ;;
78879     8) acx_cv_type_intptr_t=int64_t ;;
78880     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78881   esac
78882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78883 $as_echo "$acx_cv_type_intptr_t" >&6; }
78884 fi
78885
78886 # ----------------- done all checks, emit header -------------
78887 ac_config_commands="$ac_config_commands include/gstdint.h"
78888
78889
78890
78891
78892
78893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78894 $as_echo_n "checking for GNU c++filt... " >&6; }
78895 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78896   $as_echo_n "(cached) " >&6
78897 else
78898   if test -z "$CXXFILT"; then
78899   ac_path_CXXFILT_found=false
78900   # Loop through the user's path and test for each of PROGNAME-LIST
78901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78902 for as_dir in $PATH
78903 do
78904   IFS=$as_save_IFS
78905   test -z "$as_dir" && as_dir=.
78906     for ac_prog in c++filt gc++filt; do
78907     for ac_exec_ext in '' $ac_executable_extensions; do
78908       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78909       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78910 # Check for GNU $ac_path_CXXFILT
78911 case `"$ac_path_CXXFILT" --version 2>&1` in
78912 *GNU*)
78913   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78914 esac
78915
78916       $ac_path_CXXFILT_found && break 3
78917     done
78918   done
78919   done
78920 IFS=$as_save_IFS
78921   if test -z "$ac_cv_path_CXXFILT"; then
78922     :
78923   fi
78924 else
78925   ac_cv_path_CXXFILT=$CXXFILT
78926 fi
78927
78928 fi
78929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78930 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78931   CXXFILT=$ac_cv_path_CXXFILT
78932
78933
78934
78935  # Check whether --enable-symvers was given.
78936 if test "${enable_symvers+set}" = set; then :
78937   enableval=$enable_symvers;
78938       case "$enableval" in
78939        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78940        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78941                         esac
78942
78943 else
78944   enable_symvers=yes
78945 fi
78946
78947
78948
78949 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78950 # don't know enough about $LD to do tricks...
78951
78952 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78953 # with extern "C++" in version scripts.
78954
78955
78956 # Turn a 'yes' into a suitable default.
78957 if test x$enable_symvers = xyes ; then
78958   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78959     enable_symvers=no
78960   else
78961     if test $with_gnu_ld = yes ; then
78962       case ${target_os} in
78963         hpux*)
78964           enable_symvers=no ;;
78965         *)
78966           enable_symvers=gnu ;;
78967       esac
78968     else
78969       case ${target_os} in
78970         darwin*)
78971           enable_symvers=darwin ;;
78972         # Sun symbol versioning exists since Solaris 2.5.
78973         solaris2.[5-9]* | solaris2.1[0-9]*)
78974           # make_sunver.pl needs GNU c++filt to support extern "C++" in
78975           # version scripts, so disable symbol versioning if none can be
78976           # found.
78977           if test -z "$ac_cv_path_CXXFILT"; then
78978             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78979 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78980             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
78981 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
78982             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78983 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78984             enable_symvers=no
78985           else
78986             enable_symvers=sun
78987           fi
78988           ;;
78989         *)
78990           enable_symvers=no ;;
78991       esac
78992     fi
78993   fi
78994 fi
78995
78996 # Check to see if 'darwin' or 'darwin-export' can win.
78997 if test x$enable_symvers = xdarwin-export ; then
78998     enable_symvers=darwin
78999 fi
79000
79001 # Check if 'sun' was requested on non-Solaris 2 platforms.
79002 if test x$enable_symvers = xsun ; then
79003   case ${target_os} in
79004     solaris2*)
79005       # All fine.
79006       ;;
79007     *)
79008       # Unlikely to work.
79009       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79010 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79011       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79012 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79013       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79014 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79015       enable_symvers=no
79016       ;;
79017   esac
79018 fi
79019
79020 # Check to see if 'gnu' can win.
79021 if test $enable_symvers = gnu ||
79022   test $enable_symvers = gnu-versioned-namespace ||
79023   test $enable_symvers = sun; then
79024   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79026 $as_echo_n "checking for shared libgcc... " >&6; }
79027   ac_save_CFLAGS="$CFLAGS"
79028   CFLAGS=' -lgcc_s'
79029   if test x$gcc_no_link = xyes; then
79030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79031 fi
79032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79033 /* end confdefs.h.  */
79034
79035 int
79036 main ()
79037 {
79038 return 0;
79039   ;
79040   return 0;
79041 }
79042 _ACEOF
79043 if ac_fn_c_try_link "$LINENO"; then :
79044   glibcxx_shared_libgcc=yes
79045 else
79046   glibcxx_shared_libgcc=no
79047 fi
79048 rm -f core conftest.err conftest.$ac_objext \
79049     conftest$ac_exeext conftest.$ac_ext
79050   CFLAGS="$ac_save_CFLAGS"
79051   if test $glibcxx_shared_libgcc = no; then
79052     cat > conftest.c <<EOF
79053 int main (void) { return 0; }
79054 EOF
79055     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79056                              -shared -shared-libgcc -o conftest.so \
79057                              conftest.c -v 2>&1 >/dev/null \
79058                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79059     rm -f conftest.c conftest.so
79060     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79061       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79062       if test x$gcc_no_link = xyes; then
79063   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79064 fi
79065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79066 /* end confdefs.h.  */
79067
79068 int
79069 main ()
79070 {
79071 return 0;
79072   ;
79073   return 0;
79074 }
79075 _ACEOF
79076 if ac_fn_c_try_link "$LINENO"; then :
79077   glibcxx_shared_libgcc=yes
79078 fi
79079 rm -f core conftest.err conftest.$ac_objext \
79080     conftest$ac_exeext conftest.$ac_ext
79081       CFLAGS="$ac_save_CFLAGS"
79082     fi
79083   fi
79084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79085 $as_echo "$glibcxx_shared_libgcc" >&6; }
79086
79087   # For GNU ld, we need at least this version.  The format is described in
79088   # GLIBCXX_CHECK_LINKER_FEATURES above.
79089   glibcxx_min_gnu_ld_version=21400
79090
79091   # If no shared libgcc, can't win.
79092   if test $glibcxx_shared_libgcc != yes; then
79093       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79094 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79095       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79096 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79097       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79098 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79099       enable_symvers=no
79100   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79101     : All interesting versions of Sun ld support sun style symbol versioning.
79102   elif test $with_gnu_ld != yes ; then
79103     # just fail for now
79104     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79105 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79106     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79107 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79109 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79110     enable_symvers=no
79111   elif test $glibcxx_ld_is_gold = yes ; then
79112     : All versions of gold support symbol versioning.
79113   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79114     # The right tools, the right setup, but too old.  Fallbacks?
79115     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79116 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79118 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79120 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79122 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125     enable_symvers=no
79126   fi
79127 fi
79128
79129 # For libtool versioning info, format is CURRENT:REVISION:AGE
79130 libtool_VERSION=6:25:0
79131
79132 # Everything parsed; figure out what files and settings to use.
79133 case $enable_symvers in
79134   no)
79135     SYMVER_FILE=config/abi/pre/none.ver
79136     ;;
79137   gnu)
79138     SYMVER_FILE=config/abi/pre/gnu.ver
79139
79140 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79141
79142     ;;
79143   gnu-versioned-namespace)
79144     libtool_VERSION=8:0:0
79145     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79146
79147 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79148
79149     ;;
79150   darwin)
79151     SYMVER_FILE=config/abi/pre/gnu.ver
79152
79153 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79154
79155     ;;
79156   sun)
79157     SYMVER_FILE=config/abi/pre/gnu.ver
79158
79159 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79160
79161     ;;
79162 esac
79163
79164 if test x$enable_symvers != xno ; then
79165
79166 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79167
79168 fi
79169
79170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79171 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79172 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79173   $as_echo_n "(cached) " >&6
79174 else
79175
79176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79177 /* end confdefs.h.  */
79178 void foo (void); __asm (".symver foo, bar@SYMVER");
79179 int
79180 main ()
79181 {
79182
79183   ;
79184   return 0;
79185 }
79186 _ACEOF
79187 if ac_fn_c_try_compile "$LINENO"; then :
79188   glibcxx_cv_have_as_symver_directive=yes
79189 else
79190   glibcxx_cv_have_as_symver_directive=no
79191 fi
79192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79193 fi
79194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79195 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79196 if test $glibcxx_cv_have_as_symver_directive = yes; then
79197
79198 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79199
79200 fi
79201
79202
79203
79204
79205
79206
79207
79208
79209 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79210 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79211
79212 if test $enable_symvers != no ; then
79213    case ${target_os} in
79214      # The Solaris 2 runtime linker doesn't support the GNU extension of
79215      # binding the same symbol to different versions
79216      solaris2*)
79217        ;;
79218      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79219      *)
79220
79221 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79222
79223        ;;
79224     esac
79225 fi
79226
79227 # Now, set up compatibility support, if any.
79228 # In addition, need this to deal with std::size_t mangling in
79229 # src/compatibility.cc.  In a perfect world, could use
79230 # typeid(std::size_t).name()[0] to do direct substitution.
79231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79232 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79233 ac_save_CFLAGS="$CFLAGS"
79234 CFLAGS="-Werror"
79235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79236 /* end confdefs.h.  */
79237
79238 int
79239 main ()
79240 {
79241 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79242   ;
79243   return 0;
79244 }
79245 _ACEOF
79246 if ac_fn_c_try_compile "$LINENO"; then :
79247   glibcxx_size_t_is_i=yes
79248 else
79249   glibcxx_size_t_is_i=no
79250 fi
79251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79252 CFLAGS=$ac_save_CFLAGS
79253 if test "$glibcxx_size_t_is_i" = yes; then
79254
79255 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79256
79257 fi
79258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79259 $as_echo "$glibcxx_size_t_is_i" >&6; }
79260
79261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79262 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79263 ac_save_CFLAGS="$CFLAGS"
79264 CFLAGS="-Werror"
79265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79266 /* end confdefs.h.  */
79267
79268 int
79269 main ()
79270 {
79271 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79272   ;
79273   return 0;
79274 }
79275 _ACEOF
79276 if ac_fn_c_try_compile "$LINENO"; then :
79277   glibcxx_ptrdiff_t_is_i=yes
79278 else
79279   glibcxx_ptrdiff_t_is_i=no
79280 fi
79281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79282 CFLAGS=$ac_save_CFLAGS
79283 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79284
79285 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79286
79287 fi
79288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79289 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79290
79291
79292
79293
79294  # Check whether --enable-libstdcxx-visibility was given.
79295 if test "${enable_libstdcxx_visibility+set}" = set; then :
79296   enableval=$enable_libstdcxx_visibility;
79297       case "$enableval" in
79298        yes|no) ;;
79299        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79300       esac
79301
79302 else
79303   enable_libstdcxx_visibility=yes
79304 fi
79305
79306
79307
79308 if test x$enable_libstdcxx_visibility = xyes ; then
79309       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79310 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79311 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79312   $as_echo_n "(cached) " >&6
79313 else
79314
79315   save_CFLAGS="$CFLAGS"
79316   CFLAGS="$CFLAGS -Werror"
79317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79318 /* end confdefs.h.  */
79319 void __attribute__((visibility("hidden"))) foo(void) { }
79320 int
79321 main ()
79322 {
79323
79324   ;
79325   return 0;
79326 }
79327 _ACEOF
79328 if ac_fn_c_try_compile "$LINENO"; then :
79329   glibcxx_cv_have_attribute_visibility=yes
79330 else
79331   glibcxx_cv_have_attribute_visibility=no
79332 fi
79333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79334   CFLAGS="$save_CFLAGS"
79335 fi
79336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79337 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79338   if test $glibcxx_cv_have_attribute_visibility = no; then
79339     enable_libstdcxx_visibility=no
79340   fi
79341 fi
79342
79343
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79345 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79346
79347
79348
79349    # Check whether --enable-libstdcxx-dual-abi was given.
79350 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79351   enableval=$enable_libstdcxx_dual_abi;
79352       case "$enableval" in
79353        yes|no) ;;
79354        *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79355       esac
79356
79357 else
79358   enable_libstdcxx_dual_abi=yes
79359 fi
79360
79361
79362   if test x$enable_symvers = xgnu-versioned-namespace; then
79363     # gnu-versioned-namespace is incompatible with the dual ABI.
79364     enable_libstdcxx_dual_abi="no"
79365   fi
79366   if test x"$enable_libstdcxx_dual_abi" != xyes; then
79367     { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79368 $as_echo "$as_me: dual ABI is disabled" >&6;}
79369     default_libstdcxx_abi="gcc4-compatible"
79370   fi
79371
79372
79373
79374   if test x$enable_libstdcxx_dual_abi = xyes; then
79375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79376 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79377
79378 # Check whether --with-default-libstdcxx-abi was given.
79379 if test "${with_default_libstdcxx_abi+set}" = set; then :
79380   withval=$with_default_libstdcxx_abi; case "$withval" in
79381       gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
79382       new|cxx11)  default_libstdcxx_abi="new" ;;
79383       c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79384       *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79385      esac
79386
79387 else
79388   default_libstdcxx_abi="new"
79389 fi
79390
79391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79392 $as_echo "${default_libstdcxx_abi}" >&6; }
79393   fi
79394   if test $default_libstdcxx_abi = "new"; then
79395     glibcxx_cxx11_abi=1
79396     glibcxx_cxx98_abi=0
79397   else
79398     glibcxx_cxx11_abi=0
79399     glibcxx_cxx98_abi=1
79400   fi
79401
79402
79403
79404
79405 ac_ldbl_compat=no
79406 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79407 case "$target" in
79408   powerpc*-*-linux* | \
79409   sparc*-*-linux* | \
79410   s390*-*-linux* | \
79411   alpha*-*-linux*)
79412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79413 /* end confdefs.h.  */
79414
79415 int
79416 main ()
79417 {
79418
79419 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79420 #error no need for long double compatibility
79421 #endif
79422
79423   ;
79424   return 0;
79425 }
79426 _ACEOF
79427 if ac_fn_c_try_compile "$LINENO"; then :
79428   ac_ldbl_compat=yes
79429 else
79430   ac_ldbl_compat=no
79431 fi
79432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79433   if test "$ac_ldbl_compat" = yes; then
79434
79435 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79436
79437     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79438     case "$target" in
79439       powerpc*-*-linux*)
79440         LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79441     esac
79442   fi
79443 esac
79444
79445
79446
79447 # Check if assembler supports disabling hardware capability support.
79448
79449   test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79450
79451   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79452   # with a different meaning.
79453   case ${target_os} in
79454     solaris2*)
79455       ac_save_CFLAGS="$CFLAGS"
79456       CFLAGS="$CFLAGS -Wa,-nH"
79457
79458       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79459 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79461 /* end confdefs.h.  */
79462
79463 int
79464 main ()
79465 {
79466 return 0;
79467   ;
79468   return 0;
79469 }
79470 _ACEOF
79471 if ac_fn_c_try_compile "$LINENO"; then :
79472   ac_hwcap_flags=yes
79473 else
79474   ac_hwcap_flags=no
79475 fi
79476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79477       if test "$ac_hwcap_flags" = "yes"; then
79478         HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79479       fi
79480       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79481 $as_echo "$ac_hwcap_flags" >&6; }
79482
79483       CFLAGS="$ac_save_CFLAGS"
79484       ;;
79485   esac
79486
79487
79488
79489
79490 # Check if assembler supports rdrand opcode.
79491
79492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79493 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79494   if test "${ac_cv_x86_rdrand+set}" = set; then :
79495   $as_echo_n "(cached) " >&6
79496 else
79497
79498   ac_cv_x86_rdrand=no
79499   case "$target" in
79500     i?86-*-* | \
79501     x86_64-*-*)
79502     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79503 /* end confdefs.h.  */
79504
79505 int
79506 main ()
79507 {
79508 asm("rdrand %eax");
79509   ;
79510   return 0;
79511 }
79512 _ACEOF
79513 if ac_fn_c_try_compile "$LINENO"; then :
79514   ac_cv_x86_rdrand=yes
79515 else
79516   ac_cv_x86_rdrand=no
79517 fi
79518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79519   esac
79520
79521 fi
79522
79523   if test $ac_cv_x86_rdrand = yes; then
79524
79525 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79526
79527   fi
79528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79529 $as_echo "$ac_cv_x86_rdrand" >&6; }
79530
79531
79532 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79533
79534   # Do checks for resource limit functions.
79535
79536   setrlimit_have_headers=yes
79537   for ac_header in unistd.h sys/time.h sys/resource.h
79538 do :
79539   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79540 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79541 eval as_val=\$$as_ac_Header
79542    if test "x$as_val" = x""yes; then :
79543   cat >>confdefs.h <<_ACEOF
79544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79545 _ACEOF
79546
79547 else
79548   setrlimit_have_headers=no
79549 fi
79550
79551 done
79552
79553   # If don't have the headers, then we can't run the tests now, and we
79554   # won't be seeing any of these during testsuite compilation.
79555   if test $setrlimit_have_headers = yes; then
79556     # Can't do these in a loop, else the resulting syntax is wrong.
79557
79558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79559 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79561 /* end confdefs.h.  */
79562 #include <unistd.h>
79563      #include <sys/time.h>
79564      #include <sys/resource.h>
79565
79566 int
79567 main ()
79568 {
79569  int f = RLIMIT_DATA ;
79570   ;
79571   return 0;
79572 }
79573 _ACEOF
79574 if ac_fn_c_try_compile "$LINENO"; then :
79575   glibcxx_mresult=1
79576 else
79577   glibcxx_mresult=0
79578 fi
79579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79580
79581 cat >>confdefs.h <<_ACEOF
79582 #define HAVE_LIMIT_DATA $glibcxx_mresult
79583 _ACEOF
79584
79585   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79587 $as_echo "$res" >&6; }
79588
79589
79590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79591 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79593 /* end confdefs.h.  */
79594 #include <unistd.h>
79595      #include <sys/time.h>
79596      #include <sys/resource.h>
79597
79598 int
79599 main ()
79600 {
79601  int f = RLIMIT_RSS ;
79602   ;
79603   return 0;
79604 }
79605 _ACEOF
79606 if ac_fn_c_try_compile "$LINENO"; then :
79607   glibcxx_mresult=1
79608 else
79609   glibcxx_mresult=0
79610 fi
79611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79612
79613 cat >>confdefs.h <<_ACEOF
79614 #define HAVE_LIMIT_RSS $glibcxx_mresult
79615 _ACEOF
79616
79617   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79619 $as_echo "$res" >&6; }
79620
79621
79622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79623 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79625 /* end confdefs.h.  */
79626 #include <unistd.h>
79627      #include <sys/time.h>
79628      #include <sys/resource.h>
79629
79630 int
79631 main ()
79632 {
79633  int f = RLIMIT_VMEM ;
79634   ;
79635   return 0;
79636 }
79637 _ACEOF
79638 if ac_fn_c_try_compile "$LINENO"; then :
79639   glibcxx_mresult=1
79640 else
79641   glibcxx_mresult=0
79642 fi
79643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79644
79645 cat >>confdefs.h <<_ACEOF
79646 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79647 _ACEOF
79648
79649   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79651 $as_echo "$res" >&6; }
79652
79653
79654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79655 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79657 /* end confdefs.h.  */
79658 #include <unistd.h>
79659      #include <sys/time.h>
79660      #include <sys/resource.h>
79661
79662 int
79663 main ()
79664 {
79665  int f = RLIMIT_AS ;
79666   ;
79667   return 0;
79668 }
79669 _ACEOF
79670 if ac_fn_c_try_compile "$LINENO"; then :
79671   glibcxx_mresult=1
79672 else
79673   glibcxx_mresult=0
79674 fi
79675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79676
79677 cat >>confdefs.h <<_ACEOF
79678 #define HAVE_LIMIT_AS $glibcxx_mresult
79679 _ACEOF
79680
79681   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79683 $as_echo "$res" >&6; }
79684
79685
79686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79687 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79689 /* end confdefs.h.  */
79690 #include <unistd.h>
79691      #include <sys/time.h>
79692      #include <sys/resource.h>
79693
79694 int
79695 main ()
79696 {
79697  int f = RLIMIT_FSIZE ;
79698   ;
79699   return 0;
79700 }
79701 _ACEOF
79702 if ac_fn_c_try_compile "$LINENO"; then :
79703   glibcxx_mresult=1
79704 else
79705   glibcxx_mresult=0
79706 fi
79707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79708
79709 cat >>confdefs.h <<_ACEOF
79710 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79711 _ACEOF
79712
79713   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79715 $as_echo "$res" >&6; }
79716
79717
79718     # Check for rlimit, setrlimit.
79719     if test "${glibcxx_cv_setrlimit+set}" = set; then :
79720   $as_echo_n "(cached) " >&6
79721 else
79722
79723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79724 /* end confdefs.h.  */
79725 #include <unistd.h>
79726          #include <sys/time.h>
79727          #include <sys/resource.h>
79728
79729 int
79730 main ()
79731 {
79732 struct rlimit r;
79733          setrlimit(0, &r);
79734   ;
79735   return 0;
79736 }
79737 _ACEOF
79738 if ac_fn_c_try_compile "$LINENO"; then :
79739   glibcxx_cv_setrlimit=yes
79740 else
79741   glibcxx_cv_setrlimit=no
79742 fi
79743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79744
79745 fi
79746
79747   fi
79748
79749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79750 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79751   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79752     ac_res_limits=yes
79753
79754 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79755
79756   else
79757     ac_res_limits=no
79758   fi
79759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79760 $as_echo "$ac_res_limits" >&6; }
79761
79762
79763   if $GLIBCXX_IS_NATIVE ; then
79764     # Look for setenv, so that extended locale tests can be performed.
79765
79766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79767 $as_echo_n "checking for setenv declaration... " >&6; }
79768   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79769     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79770   $as_echo_n "(cached) " >&6
79771 else
79772
79773
79774       ac_ext=cpp
79775 ac_cpp='$CXXCPP $CPPFLAGS'
79776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79779
79780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79781 /* end confdefs.h.  */
79782 #include <stdlib.h>
79783 int
79784 main ()
79785 {
79786  setenv(0, 0, 0);
79787   ;
79788   return 0;
79789 }
79790 _ACEOF
79791 if ac_fn_cxx_try_compile "$LINENO"; then :
79792   glibcxx_cv_func_setenv_use=yes
79793 else
79794   glibcxx_cv_func_setenv_use=no
79795 fi
79796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79797       ac_ext=c
79798 ac_cpp='$CPP $CPPFLAGS'
79799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79802
79803
79804 fi
79805
79806   fi
79807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79808 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79809   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79810     for ac_func in setenv
79811 do :
79812   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79813 if test "x$ac_cv_func_setenv" = x""yes; then :
79814   cat >>confdefs.h <<_ACEOF
79815 #define HAVE_SETENV 1
79816 _ACEOF
79817
79818 fi
79819 done
79820
79821   fi
79822
79823   fi
79824
79825   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79826      test $enable_symvers != no; then
79827     case "$host" in
79828       *-*-cygwin*)
79829         enable_abi_check=no ;;
79830       *)
79831         enable_abi_check=yes ;;
79832     esac
79833   else
79834     # Only build this as native, since automake does not understand
79835     # CXX_FOR_BUILD.
79836     enable_abi_check=no
79837   fi
79838
79839   # Export file names for ABI checking.
79840   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79841
79842   baseline_subdir_switch="$abi_baseline_subdir_switch"
79843
79844
79845
79846 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
79847
79848    # Check whether --enable-libstdcxx-threads was given.
79849 if test "${enable_libstdcxx_threads+set}" = set; then :
79850   enableval=$enable_libstdcxx_threads;
79851       case "$enableval" in
79852        yes|no) ;;
79853        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79854       esac
79855
79856 else
79857   enable_libstdcxx_threads=auto
79858 fi
79859
79860
79861
79862   if test x$enable_libstdcxx_threads = xauto ||
79863      test x$enable_libstdcxx_threads = xyes; then
79864
79865
79866   ac_ext=cpp
79867 ac_cpp='$CXXCPP $CPPFLAGS'
79868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79871
79872
79873   ac_save_CXXFLAGS="$CXXFLAGS"
79874   CXXFLAGS="$CXXFLAGS -fno-exceptions \
79875         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79876
79877   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79878   case $target_thread_file in
79879     posix)
79880       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79881   esac
79882
79883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79884 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79885
79886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79887 /* end confdefs.h.  */
79888 #include <unistd.h>
79889 int
79890 main ()
79891 {
79892
79893       // In case of POSIX threads check _POSIX_TIMEOUTS.
79894       #if (defined(_PTHREADS) \
79895           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79896       #error
79897       #endif
79898
79899   ;
79900   return 0;
79901 }
79902 _ACEOF
79903 if ac_fn_cxx_try_compile "$LINENO"; then :
79904   ac_gthread_use_mutex_timedlock=1
79905 else
79906   ac_gthread_use_mutex_timedlock=0
79907 fi
79908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79909
79910
79911 cat >>confdefs.h <<_ACEOF
79912 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79913 _ACEOF
79914
79915
79916   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79917   else res_mutex_timedlock=no ; fi
79918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79919 $as_echo "$res_mutex_timedlock" >&6; }
79920
79921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79922 $as_echo_n "checking for gthreads library... " >&6; }
79923
79924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79925 /* end confdefs.h.  */
79926 #include "gthr.h"
79927 int
79928 main ()
79929 {
79930
79931       #ifndef __GTHREADS_CXX0X
79932       #error
79933       #endif
79934
79935   ;
79936   return 0;
79937 }
79938 _ACEOF
79939 if ac_fn_cxx_try_compile "$LINENO"; then :
79940   ac_has_gthreads=yes
79941 else
79942   ac_has_gthreads=no
79943 fi
79944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79945   else
79946     ac_has_gthreads=no
79947   fi
79948
79949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79950 $as_echo "$ac_has_gthreads" >&6; }
79951
79952   if test x"$ac_has_gthreads" = x"yes"; then
79953
79954 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79955
79956
79957     # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79958     ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79959 "
79960 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79961
79962 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79963
79964 fi
79965
79966   fi
79967
79968   CXXFLAGS="$ac_save_CXXFLAGS"
79969   ac_ext=c
79970 ac_cpp='$CPP $CPPFLAGS'
79971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79974
79975
79976
79977 # For Filesystem TS.
79978 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79979 do :
79980   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79982 eval as_val=\$$as_ac_Header
79983    if test "x$as_val" = x""yes; then :
79984   cat >>confdefs.h <<_ACEOF
79985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79986 _ACEOF
79987
79988 fi
79989
79990 done
79991
79992
79993    # Check whether --enable-libstdcxx-filesystem-ts was given.
79994 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79995   enableval=$enable_libstdcxx_filesystem_ts;
79996       case "$enableval" in
79997        yes|no|auto) ;;
79998        *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79999                         esac
80000
80001 else
80002   enable_libstdcxx_filesystem_ts=auto
80003 fi
80004
80005
80006
80007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80008 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80009   if test x"$ac_cv_header_dirent_h" != x"yes"; then
80010     enable_libstdcxx_filesystem_ts=no
80011   fi
80012   if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80013     case "${target_os}" in
80014       freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80015         enable_libstdcxx_filesystem_ts=yes
80016         ;;
80017       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80018         enable_libstdcxx_filesystem_ts=yes
80019         ;;
80020       rtems*)
80021         enable_libstdcxx_filesystem_ts=yes
80022         ;;
80023       solaris*)
80024         enable_libstdcxx_filesystem_ts=yes
80025         ;;
80026       *)
80027         enable_libstdcxx_filesystem_ts=no
80028         ;;
80029     esac
80030   fi
80031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80032 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80033
80034
80035
80036   ac_ext=cpp
80037 ac_cpp='$CXXCPP $CPPFLAGS'
80038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80041
80042   ac_save_CXXFLAGS="$CXXFLAGS"
80043   CXXFLAGS="$CXXFLAGS -fno-exceptions"
80044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80045 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80046   if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80047   $as_echo_n "(cached) " >&6
80048 else
80049       if test x$gcc_no_link = xyes; then
80050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80051 /* end confdefs.h.  */
80052 #include <dirent.h>
80053 int
80054 main ()
80055 {
80056
80057        struct dirent d;
80058        if (sizeof d.d_type) return 0;
80059
80060   ;
80061   return 0;
80062 }
80063 _ACEOF
80064 if ac_fn_cxx_try_compile "$LINENO"; then :
80065   glibcxx_cv_dirent_d_type=yes
80066 else
80067   glibcxx_cv_dirent_d_type=no
80068 fi
80069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80070 else
80071   if test x$gcc_no_link = xyes; then
80072   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80073 fi
80074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80075 /* end confdefs.h.  */
80076 #include <dirent.h>
80077 int
80078 main ()
80079 {
80080
80081        struct dirent d;
80082        if (sizeof d.d_type) return 0;
80083
80084   ;
80085   return 0;
80086 }
80087 _ACEOF
80088 if ac_fn_cxx_try_link "$LINENO"; then :
80089   glibcxx_cv_dirent_d_type=yes
80090 else
80091   glibcxx_cv_dirent_d_type=no
80092 fi
80093 rm -f core conftest.err conftest.$ac_objext \
80094     conftest$ac_exeext conftest.$ac_ext
80095 fi
80096
80097 fi
80098
80099   if test $glibcxx_cv_dirent_d_type = yes; then
80100
80101 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80102
80103   fi
80104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80105 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80107 $as_echo_n "checking for realpath... " >&6; }
80108   if test "${glibcxx_cv_realpath+set}" = set; then :
80109   $as_echo_n "(cached) " >&6
80110 else
80111       if test x$gcc_no_link = xyes; then
80112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80113 /* end confdefs.h.  */
80114
80115        #include <limits.h>
80116        #include <stdlib.h>
80117        #include <unistd.h>
80118
80119 int
80120 main ()
80121 {
80122
80123        #if _XOPEN_VERSION < 500
80124        #error
80125        #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80126        char *tmp = realpath((const char*)NULL, (char*)NULL);
80127        #else
80128        #error
80129        #endif
80130
80131   ;
80132   return 0;
80133 }
80134 _ACEOF
80135 if ac_fn_cxx_try_compile "$LINENO"; then :
80136   glibcxx_cv_realpath=yes
80137 else
80138   glibcxx_cv_realpath=no
80139 fi
80140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80141 else
80142   if test x$gcc_no_link = xyes; then
80143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80144 fi
80145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80146 /* end confdefs.h.  */
80147
80148        #include <limits.h>
80149        #include <stdlib.h>
80150        #include <unistd.h>
80151
80152 int
80153 main ()
80154 {
80155
80156        #if _XOPEN_VERSION < 500
80157        #error
80158        #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80159        char *tmp = realpath((const char*)NULL, (char*)NULL);
80160        #else
80161        #error
80162        #endif
80163
80164   ;
80165   return 0;
80166 }
80167 _ACEOF
80168 if ac_fn_cxx_try_link "$LINENO"; then :
80169   glibcxx_cv_realpath=yes
80170 else
80171   glibcxx_cv_realpath=no
80172 fi
80173 rm -f core conftest.err conftest.$ac_objext \
80174     conftest$ac_exeext conftest.$ac_ext
80175 fi
80176
80177 fi
80178
80179   if test $glibcxx_cv_realpath = yes; then
80180
80181 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80182
80183   fi
80184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80185 $as_echo "$glibcxx_cv_realpath" >&6; }
80186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80187 $as_echo_n "checking for utimensat... " >&6; }
80188   if test "${glibcxx_cv_utimensat+set}" = set; then :
80189   $as_echo_n "(cached) " >&6
80190 else
80191       if test x$gcc_no_link = xyes; then
80192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80193 /* end confdefs.h.  */
80194
80195         #include <fcntl.h>
80196         #include <sys/stat.h>
80197
80198 int
80199 main ()
80200 {
80201
80202         struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80203         int i = utimensat(AT_FDCWD, "path", ts, 0);
80204
80205   ;
80206   return 0;
80207 }
80208 _ACEOF
80209 if ac_fn_cxx_try_compile "$LINENO"; then :
80210   glibcxx_cv_utimensat=yes
80211 else
80212   glibcxx_cv_utimensat=no
80213 fi
80214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80215 else
80216   if test x$gcc_no_link = xyes; then
80217   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80218 fi
80219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80220 /* end confdefs.h.  */
80221
80222         #include <fcntl.h>
80223         #include <sys/stat.h>
80224
80225 int
80226 main ()
80227 {
80228
80229         struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80230         int i = utimensat(AT_FDCWD, "path", ts, 0);
80231
80232   ;
80233   return 0;
80234 }
80235 _ACEOF
80236 if ac_fn_cxx_try_link "$LINENO"; then :
80237   glibcxx_cv_utimensat=yes
80238 else
80239   glibcxx_cv_utimensat=no
80240 fi
80241 rm -f core conftest.err conftest.$ac_objext \
80242     conftest$ac_exeext conftest.$ac_ext
80243 fi
80244
80245 fi
80246
80247   if test $glibcxx_cv_utimensat = yes; then
80248
80249 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80250
80251   fi
80252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80253 $as_echo "$glibcxx_cv_utimensat" >&6; }
80254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80255 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80256   if test "${glibcxx_cv_st_mtim+set}" = set; then :
80257   $as_echo_n "(cached) " >&6
80258 else
80259       if test x$gcc_no_link = xyes; then
80260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80261 /* end confdefs.h.  */
80262  #include <sys/stat.h>
80263 int
80264 main ()
80265 {
80266
80267         struct stat st;
80268         return st.st_mtim.tv_nsec;
80269
80270   ;
80271   return 0;
80272 }
80273 _ACEOF
80274 if ac_fn_cxx_try_compile "$LINENO"; then :
80275   glibcxx_cv_st_mtim=yes
80276 else
80277   glibcxx_cv_st_mtim=no
80278 fi
80279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80280 else
80281   if test x$gcc_no_link = xyes; then
80282   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80283 fi
80284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80285 /* end confdefs.h.  */
80286  #include <sys/stat.h>
80287 int
80288 main ()
80289 {
80290
80291         struct stat st;
80292         return st.st_mtim.tv_nsec;
80293
80294   ;
80295   return 0;
80296 }
80297 _ACEOF
80298 if ac_fn_cxx_try_link "$LINENO"; then :
80299   glibcxx_cv_st_mtim=yes
80300 else
80301   glibcxx_cv_st_mtim=no
80302 fi
80303 rm -f core conftest.err conftest.$ac_objext \
80304     conftest$ac_exeext conftest.$ac_ext
80305 fi
80306
80307 fi
80308
80309   if test $glibcxx_cv_st_mtim = yes; then
80310
80311 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80312
80313   fi
80314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80315 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80317 $as_echo_n "checking for fchmod... " >&6; }
80318   if test "${glibcxx_cv_fchmod+set}" = set; then :
80319   $as_echo_n "(cached) " >&6
80320 else
80321       if test x$gcc_no_link = xyes; then
80322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80323 /* end confdefs.h.  */
80324 #include <sys/stat.h>
80325 int
80326 main ()
80327 {
80328 fchmod(1, S_IWUSR);
80329   ;
80330   return 0;
80331 }
80332 _ACEOF
80333 if ac_fn_cxx_try_compile "$LINENO"; then :
80334   glibcxx_cv_fchmod=yes
80335 else
80336   glibcxx_cv_fchmod=no
80337 fi
80338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80339 else
80340   if test x$gcc_no_link = xyes; then
80341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80342 fi
80343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80344 /* end confdefs.h.  */
80345 #include <sys/stat.h>
80346 int
80347 main ()
80348 {
80349 fchmod(1, S_IWUSR);
80350   ;
80351   return 0;
80352 }
80353 _ACEOF
80354 if ac_fn_cxx_try_link "$LINENO"; then :
80355   glibcxx_cv_fchmod=yes
80356 else
80357   glibcxx_cv_fchmod=no
80358 fi
80359 rm -f core conftest.err conftest.$ac_objext \
80360     conftest$ac_exeext conftest.$ac_ext
80361 fi
80362
80363 fi
80364
80365   if test $glibcxx_cv_fchmod = yes; then
80366
80367 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80368
80369   fi
80370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80371 $as_echo "$glibcxx_cv_fchmod" >&6; }
80372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80373 $as_echo_n "checking for fchmodat... " >&6; }
80374   if test "${glibcxx_cv_fchmodat+set}" = set; then :
80375   $as_echo_n "(cached) " >&6
80376 else
80377       if test x$gcc_no_link = xyes; then
80378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80379 /* end confdefs.h.  */
80380
80381         #include <fcntl.h>
80382         #include <sys/stat.h>
80383
80384 int
80385 main ()
80386 {
80387 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80388   ;
80389   return 0;
80390 }
80391 _ACEOF
80392 if ac_fn_cxx_try_compile "$LINENO"; then :
80393   glibcxx_cv_fchmodat=yes
80394 else
80395   glibcxx_cv_fchmodat=no
80396 fi
80397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80398 else
80399   if test x$gcc_no_link = xyes; then
80400   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80401 fi
80402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80403 /* end confdefs.h.  */
80404
80405         #include <fcntl.h>
80406         #include <sys/stat.h>
80407
80408 int
80409 main ()
80410 {
80411 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80412   ;
80413   return 0;
80414 }
80415 _ACEOF
80416 if ac_fn_cxx_try_link "$LINENO"; then :
80417   glibcxx_cv_fchmodat=yes
80418 else
80419   glibcxx_cv_fchmodat=no
80420 fi
80421 rm -f core conftest.err conftest.$ac_objext \
80422     conftest$ac_exeext conftest.$ac_ext
80423 fi
80424
80425 fi
80426
80427   if test $glibcxx_cv_fchmodat = yes; then
80428
80429 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80430
80431   fi
80432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80433 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80435 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80436   if test "${glibcxx_cv_sendfile+set}" = set; then :
80437   $as_echo_n "(cached) " >&6
80438 else
80439       case "${target_os}" in
80440       gnu* | linux* | solaris*)
80441         if test x$gcc_no_link = xyes; then
80442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80443 /* end confdefs.h.  */
80444 #include <sys/sendfile.h>
80445 int
80446 main ()
80447 {
80448 sendfile(1, 2, (off_t*)0, sizeof 1);
80449   ;
80450   return 0;
80451 }
80452 _ACEOF
80453 if ac_fn_cxx_try_compile "$LINENO"; then :
80454   glibcxx_cv_sendfile=yes
80455 else
80456   glibcxx_cv_sendfile=no
80457 fi
80458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80459 else
80460   if test x$gcc_no_link = xyes; then
80461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80462 fi
80463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80464 /* end confdefs.h.  */
80465 #include <sys/sendfile.h>
80466 int
80467 main ()
80468 {
80469 sendfile(1, 2, (off_t*)0, sizeof 1);
80470   ;
80471   return 0;
80472 }
80473 _ACEOF
80474 if ac_fn_cxx_try_link "$LINENO"; then :
80475   glibcxx_cv_sendfile=yes
80476 else
80477   glibcxx_cv_sendfile=no
80478 fi
80479 rm -f core conftest.err conftest.$ac_objext \
80480     conftest$ac_exeext conftest.$ac_ext
80481 fi
80482         ;;
80483       *)
80484         glibcxx_cv_sendfile=no
80485         ;;
80486     esac
80487
80488 fi
80489
80490   if test $glibcxx_cv_sendfile = yes; then
80491
80492 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80493
80494   fi
80495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80496 $as_echo "$glibcxx_cv_sendfile" >&6; }
80497   CXXFLAGS="$ac_save_CXXFLAGS"
80498   ac_ext=c
80499 ac_cpp='$CPP $CPPFLAGS'
80500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80503
80504
80505
80506 # For Transactional Memory TS
80507
80508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80509 $as_echo_n "checking how size_t is mangled... " >&6; }
80510 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80511   $as_echo_n "(cached) " >&6
80512 else
80513
80514     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80515 /* end confdefs.h.  */
80516
80517 int
80518 main ()
80519 {
80520 extern __SIZE_TYPE__ x; extern unsigned long x;
80521   ;
80522   return 0;
80523 }
80524 _ACEOF
80525 if ac_fn_c_try_compile "$LINENO"; then :
80526   glibcxx_cv_size_t_mangling=m
80527 else
80528
80529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80530 /* end confdefs.h.  */
80531
80532 int
80533 main ()
80534 {
80535 extern __SIZE_TYPE__ x; extern unsigned int x;
80536   ;
80537   return 0;
80538 }
80539 _ACEOF
80540 if ac_fn_c_try_compile "$LINENO"; then :
80541   glibcxx_cv_size_t_mangling=j
80542 else
80543
80544         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80545 /* end confdefs.h.  */
80546
80547 int
80548 main ()
80549 {
80550 extern __SIZE_TYPE__ x; extern unsigned long long x;
80551   ;
80552   return 0;
80553 }
80554 _ACEOF
80555 if ac_fn_c_try_compile "$LINENO"; then :
80556   glibcxx_cv_size_t_mangling=y
80557 else
80558
80559           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80560 /* end confdefs.h.  */
80561
80562 int
80563 main ()
80564 {
80565 extern __SIZE_TYPE__ x; extern unsigned short x;
80566   ;
80567   return 0;
80568 }
80569 _ACEOF
80570 if ac_fn_c_try_compile "$LINENO"; then :
80571   glibcxx_cv_size_t_mangling=t
80572 else
80573
80574             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80575 /* end confdefs.h.  */
80576
80577 int
80578 main ()
80579 {
80580 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80581   ;
80582   return 0;
80583 }
80584 _ACEOF
80585 if ac_fn_c_try_compile "$LINENO"; then :
80586   glibcxx_cv_size_t_mangling=u6uint20
80587 else
80588   glibcxx_cv_size_t_mangling=x
80589 fi
80590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80591
80592 fi
80593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80594
80595 fi
80596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80597
80598 fi
80599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80600
80601 fi
80602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80603
80604 fi
80605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80606 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80607   if test $glibcxx_cv_size_t_mangling = x; then
80608     as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80609   fi
80610
80611 cat >>confdefs.h <<_ACEOF
80612 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80613 _ACEOF
80614
80615
80616
80617 # Check which release added std::exception_ptr for the target
80618
80619   if test $enable_symvers != no; then
80620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80621 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80622     case ${target} in
80623       aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80624       m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80625         ac_exception_ptr_since_gcc46=yes
80626         ;;
80627       *)
80628         # If the value of this macro changes then we will need to hardcode
80629         # yes/no here for additional targets based on the original value.
80630         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80631 /* end confdefs.h.  */
80632
80633 int
80634 main ()
80635 {
80636
80637           #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80638           # error atomic int not always lock free
80639           #endif
80640
80641   ;
80642   return 0;
80643 }
80644 _ACEOF
80645 if ac_fn_c_try_compile "$LINENO"; then :
80646   ac_exception_ptr_since_gcc46=yes
80647 else
80648   ac_exception_ptr_since_gcc46=no
80649 fi
80650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80651         ;;
80652     esac
80653     if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80654
80655 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80656
80657       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80658 $as_echo "4.6.0" >&6; }
80659     else
80660       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80661 $as_echo "7.1.0" >&6; }
80662     fi
80663   fi
80664
80665
80666 # Define documentation rules conditionally.
80667
80668 # See if makeinfo has been installed and is modern enough
80669 # that we can use it.
80670
80671   # Extract the first word of "makeinfo", so it can be a program name with args.
80672 set dummy makeinfo; ac_word=$2
80673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80674 $as_echo_n "checking for $ac_word... " >&6; }
80675 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80676   $as_echo_n "(cached) " >&6
80677 else
80678   if test -n "$MAKEINFO"; then
80679   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80680 else
80681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80682 for as_dir in $PATH
80683 do
80684   IFS=$as_save_IFS
80685   test -z "$as_dir" && as_dir=.
80686     for ac_exec_ext in '' $ac_executable_extensions; do
80687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80688     ac_cv_prog_MAKEINFO="makeinfo"
80689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80690     break 2
80691   fi
80692 done
80693   done
80694 IFS=$as_save_IFS
80695
80696 fi
80697 fi
80698 MAKEINFO=$ac_cv_prog_MAKEINFO
80699 if test -n "$MAKEINFO"; then
80700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80701 $as_echo "$MAKEINFO" >&6; }
80702 else
80703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80704 $as_echo "no" >&6; }
80705 fi
80706
80707
80708   if test -n "$MAKEINFO"; then
80709     # Found it, now check the version.
80710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80711 $as_echo_n "checking for modern makeinfo... " >&6; }
80712 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80713   $as_echo_n "(cached) " >&6
80714 else
80715   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80716                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80717
80718                     case $ac_prog_version in
80719                       '')  gcc_cv_prog_makeinfo_modern=no;;
80720                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
80721                       *)   gcc_cv_prog_makeinfo_modern=no;;
80722                     esac
80723
80724 fi
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80726 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80727   else
80728     gcc_cv_prog_makeinfo_modern=no
80729   fi
80730   if test $gcc_cv_prog_makeinfo_modern = no; then
80731     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80732   fi
80733
80734  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80735   BUILD_INFO_TRUE=
80736   BUILD_INFO_FALSE='#'
80737 else
80738   BUILD_INFO_TRUE='#'
80739   BUILD_INFO_FALSE=
80740 fi
80741
80742
80743 # Check for doxygen
80744 # Extract the first word of "doxygen", so it can be a program name with args.
80745 set dummy doxygen; ac_word=$2
80746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80747 $as_echo_n "checking for $ac_word... " >&6; }
80748 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80749   $as_echo_n "(cached) " >&6
80750 else
80751   if test -n "$DOXYGEN"; then
80752   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80753 else
80754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80755 for as_dir in $PATH
80756 do
80757   IFS=$as_save_IFS
80758   test -z "$as_dir" && as_dir=.
80759     for ac_exec_ext in '' $ac_executable_extensions; do
80760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80761     ac_cv_prog_DOXYGEN="yes"
80762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80763     break 2
80764   fi
80765 done
80766   done
80767 IFS=$as_save_IFS
80768
80769   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80770 fi
80771 fi
80772 DOXYGEN=$ac_cv_prog_DOXYGEN
80773 if test -n "$DOXYGEN"; then
80774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80775 $as_echo "$DOXYGEN" >&6; }
80776 else
80777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80778 $as_echo "no" >&6; }
80779 fi
80780
80781
80782 # Extract the first word of "dot", so it can be a program name with args.
80783 set dummy dot; ac_word=$2
80784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80785 $as_echo_n "checking for $ac_word... " >&6; }
80786 if test "${ac_cv_prog_DOT+set}" = set; then :
80787   $as_echo_n "(cached) " >&6
80788 else
80789   if test -n "$DOT"; then
80790   ac_cv_prog_DOT="$DOT" # Let the user override the test.
80791 else
80792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80793 for as_dir in $PATH
80794 do
80795   IFS=$as_save_IFS
80796   test -z "$as_dir" && as_dir=.
80797     for ac_exec_ext in '' $ac_executable_extensions; do
80798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80799     ac_cv_prog_DOT="yes"
80800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80801     break 2
80802   fi
80803 done
80804   done
80805 IFS=$as_save_IFS
80806
80807   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80808 fi
80809 fi
80810 DOT=$ac_cv_prog_DOT
80811 if test -n "$DOT"; then
80812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80813 $as_echo "$DOT" >&6; }
80814 else
80815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80816 $as_echo "no" >&6; }
80817 fi
80818
80819
80820
80821 # Check for docbook
80822 # Extract the first word of "xsltproc", so it can be a program name with args.
80823 set dummy xsltproc; ac_word=$2
80824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80825 $as_echo_n "checking for $ac_word... " >&6; }
80826 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80827   $as_echo_n "(cached) " >&6
80828 else
80829   if test -n "$XSLTPROC"; then
80830   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80831 else
80832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80833 for as_dir in $PATH
80834 do
80835   IFS=$as_save_IFS
80836   test -z "$as_dir" && as_dir=.
80837     for ac_exec_ext in '' $ac_executable_extensions; do
80838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80839     ac_cv_prog_XSLTPROC="yes"
80840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80841     break 2
80842   fi
80843 done
80844   done
80845 IFS=$as_save_IFS
80846
80847   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80848 fi
80849 fi
80850 XSLTPROC=$ac_cv_prog_XSLTPROC
80851 if test -n "$XSLTPROC"; then
80852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80853 $as_echo "$XSLTPROC" >&6; }
80854 else
80855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80856 $as_echo "no" >&6; }
80857 fi
80858
80859
80860 # Extract the first word of "xmllint", so it can be a program name with args.
80861 set dummy xmllint; ac_word=$2
80862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80863 $as_echo_n "checking for $ac_word... " >&6; }
80864 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80865   $as_echo_n "(cached) " >&6
80866 else
80867   if test -n "$XMLLINT"; then
80868   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80869 else
80870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80871 for as_dir in $PATH
80872 do
80873   IFS=$as_save_IFS
80874   test -z "$as_dir" && as_dir=.
80875     for ac_exec_ext in '' $ac_executable_extensions; do
80876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80877     ac_cv_prog_XMLLINT="yes"
80878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80879     break 2
80880   fi
80881 done
80882   done
80883 IFS=$as_save_IFS
80884
80885   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80886 fi
80887 fi
80888 XMLLINT=$ac_cv_prog_XMLLINT
80889 if test -n "$XMLLINT"; then
80890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80891 $as_echo "$XMLLINT" >&6; }
80892 else
80893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80894 $as_echo "no" >&6; }
80895 fi
80896
80897
80898
80899
80900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80901 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80902 glibcxx_stylesheets=no
80903 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
80904   glibcxx_stylesheets=yes
80905 fi
80906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80907 $as_echo "$glibcxx_stylesheets" >&6; }
80908
80909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80910 $as_echo_n "checking for local stylesheet directory... " >&6; }
80911 glibcxx_local_stylesheets=no
80912 if test x"$glibcxx_stylesheets" = x"yes"; then
80913   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80914     glibcxx_local_stylesheets=yes
80915     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80916   fi
80917   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80918     glibcxx_local_stylesheets=yes
80919     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80920   fi
80921   if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80922     glibcxx_local_stylesheets=yes
80923     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80924   fi
80925 fi
80926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80927 $as_echo "$glibcxx_local_stylesheets" >&6; }
80928
80929 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80930
80931   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80932 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80933 else
80934   glibcxx_stylesheets=no
80935 fi
80936
80937 # Check for epub3 dependencies.
80938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80939 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80940 glibcxx_epub_stylesheets=no
80941 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80942    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80943       glibcxx_epub_stylesheets=yes
80944    fi
80945 fi
80946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80947 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80948  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80949   BUILD_EPUB_TRUE=
80950   BUILD_EPUB_FALSE='#'
80951 else
80952   BUILD_EPUB_TRUE='#'
80953   BUILD_EPUB_FALSE=
80954 fi
80955
80956
80957
80958
80959 # Check for xml/html dependencies.
80960  if test $ac_cv_prog_DOXYGEN = "yes" &&
80961                test $ac_cv_prog_DOT = "yes" &&
80962                test $ac_cv_prog_XSLTPROC = "yes" &&
80963                test $ac_cv_prog_XMLLINT = "yes" &&
80964                test $glibcxx_stylesheets = "yes"; then
80965   BUILD_XML_TRUE=
80966   BUILD_XML_FALSE='#'
80967 else
80968   BUILD_XML_TRUE='#'
80969   BUILD_XML_FALSE=
80970 fi
80971
80972
80973  if test $ac_cv_prog_DOXYGEN = "yes" &&
80974                test $ac_cv_prog_DOT = "yes" &&
80975                test $ac_cv_prog_XSLTPROC = "yes" &&
80976                test $ac_cv_prog_XMLLINT = "yes" &&
80977                test $glibcxx_stylesheets = "yes"; then
80978   BUILD_HTML_TRUE=
80979   BUILD_HTML_FALSE='#'
80980 else
80981   BUILD_HTML_TRUE='#'
80982   BUILD_HTML_FALSE=
80983 fi
80984
80985
80986 # Check for man dependencies.
80987  if test $ac_cv_prog_DOXYGEN = "yes" &&
80988                test $ac_cv_prog_DOT = "yes"; then
80989   BUILD_MAN_TRUE=
80990   BUILD_MAN_FALSE='#'
80991 else
80992   BUILD_MAN_TRUE='#'
80993   BUILD_MAN_FALSE=
80994 fi
80995
80996
80997 # Check for pdf dependencies.
80998 # Extract the first word of "dblatex", so it can be a program name with args.
80999 set dummy dblatex; ac_word=$2
81000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81001 $as_echo_n "checking for $ac_word... " >&6; }
81002 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81003   $as_echo_n "(cached) " >&6
81004 else
81005   if test -n "$DBLATEX"; then
81006   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81007 else
81008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81009 for as_dir in $PATH
81010 do
81011   IFS=$as_save_IFS
81012   test -z "$as_dir" && as_dir=.
81013     for ac_exec_ext in '' $ac_executable_extensions; do
81014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81015     ac_cv_prog_DBLATEX="yes"
81016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81017     break 2
81018   fi
81019 done
81020   done
81021 IFS=$as_save_IFS
81022
81023   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81024 fi
81025 fi
81026 DBLATEX=$ac_cv_prog_DBLATEX
81027 if test -n "$DBLATEX"; then
81028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81029 $as_echo "$DBLATEX" >&6; }
81030 else
81031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81032 $as_echo "no" >&6; }
81033 fi
81034
81035
81036 # Extract the first word of "pdflatex", so it can be a program name with args.
81037 set dummy pdflatex; ac_word=$2
81038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81039 $as_echo_n "checking for $ac_word... " >&6; }
81040 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81041   $as_echo_n "(cached) " >&6
81042 else
81043   if test -n "$PDFLATEX"; then
81044   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81045 else
81046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81047 for as_dir in $PATH
81048 do
81049   IFS=$as_save_IFS
81050   test -z "$as_dir" && as_dir=.
81051     for ac_exec_ext in '' $ac_executable_extensions; do
81052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81053     ac_cv_prog_PDFLATEX="yes"
81054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81055     break 2
81056   fi
81057 done
81058   done
81059 IFS=$as_save_IFS
81060
81061   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81062 fi
81063 fi
81064 PDFLATEX=$ac_cv_prog_PDFLATEX
81065 if test -n "$PDFLATEX"; then
81066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81067 $as_echo "$PDFLATEX" >&6; }
81068 else
81069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81070 $as_echo "no" >&6; }
81071 fi
81072
81073
81074  if test $ac_cv_prog_DBLATEX = "yes" &&
81075                test $ac_cv_prog_PDFLATEX = "yes"; then
81076   BUILD_PDF_TRUE=
81077   BUILD_PDF_FALSE='#'
81078 else
81079   BUILD_PDF_TRUE='#'
81080   BUILD_PDF_FALSE=
81081 fi
81082
81083
81084 case "$build" in
81085  *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81086  * ) glibcxx_include_dir_notparallel=no ;;
81087 esac
81088  if test $glibcxx_include_dir_notparallel = "yes"; then
81089   INCLUDE_DIR_NOTPARALLEL_TRUE=
81090   INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81091 else
81092   INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81093   INCLUDE_DIR_NOTPARALLEL_FALSE=
81094 fi
81095
81096
81097 # Propagate the target-specific source directories through the build chain.
81098 ATOMICITY_SRCDIR=config/${atomicity_dir}
81099 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81100 ATOMIC_FLAGS=${atomic_flags}
81101 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81102 OS_INC_SRCDIR=config/${os_include_dir}
81103 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81104 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81105 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81106 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81107
81108
81109
81110
81111
81112
81113
81114
81115
81116
81117
81118 # Add CET specific flags if Intel CET is enabled.
81119  # Check whether --enable-cet was given.
81120 if test "${enable_cet+set}" = set; then :
81121   enableval=$enable_cet;
81122       case "$enableval" in
81123        yes|no|default) ;;
81124        *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81125                           esac
81126
81127 else
81128   enable_cet=default
81129 fi
81130
81131
81132 case "$host" in
81133   i[34567]86-*-linux* | x86_64-*-linux*)
81134     case "$enable_cet" in
81135       default)
81136         # Check if assembler supports CET.
81137         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81138 /* end confdefs.h.  */
81139
81140 int
81141 main ()
81142 {
81143 asm ("setssbsy");
81144   ;
81145   return 0;
81146 }
81147 _ACEOF
81148 if ac_fn_c_try_compile "$LINENO"; then :
81149   enable_cet=yes
81150 else
81151   enable_cet=no
81152 fi
81153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81154         ;;
81155       yes)
81156         # Check if assembler supports CET.
81157         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81158 /* end confdefs.h.  */
81159
81160 int
81161 main ()
81162 {
81163 asm ("setssbsy");
81164   ;
81165   return 0;
81166 }
81167 _ACEOF
81168 if ac_fn_c_try_compile "$LINENO"; then :
81169
81170 else
81171   as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81172 fi
81173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81174         ;;
81175     esac
81176     ;;
81177   *)
81178     enable_cet=no
81179     ;;
81180 esac
81181 if test x$enable_cet = xyes; then
81182   CET_FLAGS="-fcf-protection -mcet"
81183 fi
81184
81185 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81186 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81187
81188
81189
81190 # Determine cross-compile flags and AM_CONDITIONALs.
81191 #AC_SUBST(GLIBCXX_IS_NATIVE)
81192 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81193     if test $is_hosted = yes; then
81194   GLIBCXX_HOSTED_TRUE=
81195   GLIBCXX_HOSTED_FALSE='#'
81196 else
81197   GLIBCXX_HOSTED_TRUE='#'
81198   GLIBCXX_HOSTED_FALSE=
81199 fi
81200
81201
81202     if test $enable_libstdcxx_pch = yes; then
81203   GLIBCXX_BUILD_PCH_TRUE=
81204   GLIBCXX_BUILD_PCH_FALSE='#'
81205 else
81206   GLIBCXX_BUILD_PCH_TRUE='#'
81207   GLIBCXX_BUILD_PCH_FALSE=
81208 fi
81209
81210
81211     if test $enable_libstdcxx_allocator_flag = new; then
81212   ENABLE_ALLOCATOR_NEW_TRUE=
81213   ENABLE_ALLOCATOR_NEW_FALSE='#'
81214 else
81215   ENABLE_ALLOCATOR_NEW_TRUE='#'
81216   ENABLE_ALLOCATOR_NEW_FALSE=
81217 fi
81218
81219
81220     if test $enable_cheaders = c; then
81221   GLIBCXX_C_HEADERS_C_TRUE=
81222   GLIBCXX_C_HEADERS_C_FALSE='#'
81223 else
81224   GLIBCXX_C_HEADERS_C_TRUE='#'
81225   GLIBCXX_C_HEADERS_C_FALSE=
81226 fi
81227
81228
81229     if test $enable_cheaders = c_std; then
81230   GLIBCXX_C_HEADERS_C_STD_TRUE=
81231   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81232 else
81233   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81234   GLIBCXX_C_HEADERS_C_STD_FALSE=
81235 fi
81236
81237
81238     if test $enable_cheaders = c_global; then
81239   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81240   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81241 else
81242   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81243   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81244 fi
81245
81246
81247     if test $c_compatibility = yes; then
81248   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81249   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81250 else
81251   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81252   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81253 fi
81254
81255
81256     if test $enable_libstdcxx_debug = yes; then
81257   GLIBCXX_BUILD_DEBUG_TRUE=
81258   GLIBCXX_BUILD_DEBUG_FALSE='#'
81259 else
81260   GLIBCXX_BUILD_DEBUG_TRUE='#'
81261   GLIBCXX_BUILD_DEBUG_FALSE=
81262 fi
81263
81264
81265     if test $enable_extern_template = yes; then
81266   ENABLE_EXTERN_TEMPLATE_TRUE=
81267   ENABLE_EXTERN_TEMPLATE_FALSE='#'
81268 else
81269   ENABLE_EXTERN_TEMPLATE_TRUE='#'
81270   ENABLE_EXTERN_TEMPLATE_FALSE=
81271 fi
81272
81273
81274     if test $python_mod_dir != no; then
81275   ENABLE_PYTHONDIR_TRUE=
81276   ENABLE_PYTHONDIR_FALSE='#'
81277 else
81278   ENABLE_PYTHONDIR_TRUE='#'
81279   ENABLE_PYTHONDIR_FALSE=
81280 fi
81281
81282
81283     if test $enable_werror = yes; then
81284   ENABLE_WERROR_TRUE=
81285   ENABLE_WERROR_FALSE='#'
81286 else
81287   ENABLE_WERROR_TRUE='#'
81288   ENABLE_WERROR_FALSE=
81289 fi
81290
81291
81292     if test $enable_vtable_verify = yes; then
81293   ENABLE_VTABLE_VERIFY_TRUE=
81294   ENABLE_VTABLE_VERIFY_FALSE='#'
81295 else
81296   ENABLE_VTABLE_VERIFY_TRUE='#'
81297   ENABLE_VTABLE_VERIFY_FALSE=
81298 fi
81299
81300
81301     if test $enable_symvers != no; then
81302   ENABLE_SYMVERS_TRUE=
81303   ENABLE_SYMVERS_FALSE='#'
81304 else
81305   ENABLE_SYMVERS_TRUE='#'
81306   ENABLE_SYMVERS_FALSE=
81307 fi
81308
81309
81310     if test $enable_symvers = gnu; then
81311   ENABLE_SYMVERS_GNU_TRUE=
81312   ENABLE_SYMVERS_GNU_FALSE='#'
81313 else
81314   ENABLE_SYMVERS_GNU_TRUE='#'
81315   ENABLE_SYMVERS_GNU_FALSE=
81316 fi
81317
81318
81319     if test $enable_symvers = gnu-versioned-namespace; then
81320   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81321   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81322 else
81323   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81324   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81325 fi
81326
81327
81328     if test $enable_symvers = darwin; then
81329   ENABLE_SYMVERS_DARWIN_TRUE=
81330   ENABLE_SYMVERS_DARWIN_FALSE='#'
81331 else
81332   ENABLE_SYMVERS_DARWIN_TRUE='#'
81333   ENABLE_SYMVERS_DARWIN_FALSE=
81334 fi
81335
81336
81337     if test $enable_symvers = sun; then
81338   ENABLE_SYMVERS_SUN_TRUE=
81339   ENABLE_SYMVERS_SUN_FALSE='#'
81340 else
81341   ENABLE_SYMVERS_SUN_TRUE='#'
81342   ENABLE_SYMVERS_SUN_FALSE=
81343 fi
81344
81345
81346     if test $enable_libstdcxx_visibility = yes; then
81347   ENABLE_VISIBILITY_TRUE=
81348   ENABLE_VISIBILITY_FALSE='#'
81349 else
81350   ENABLE_VISIBILITY_TRUE='#'
81351   ENABLE_VISIBILITY_FALSE=
81352 fi
81353
81354
81355     if test $enable_libstdcxx_dual_abi = yes; then
81356   ENABLE_DUAL_ABI_TRUE=
81357   ENABLE_DUAL_ABI_FALSE='#'
81358 else
81359   ENABLE_DUAL_ABI_TRUE='#'
81360   ENABLE_DUAL_ABI_FALSE=
81361 fi
81362
81363
81364     if test $glibcxx_cxx11_abi = 1; then
81365   ENABLE_CXX11_ABI_TRUE=
81366   ENABLE_CXX11_ABI_FALSE='#'
81367 else
81368   ENABLE_CXX11_ABI_TRUE='#'
81369   ENABLE_CXX11_ABI_FALSE=
81370 fi
81371
81372
81373     if test $ac_ldbl_compat = yes; then
81374   GLIBCXX_LDBL_COMPAT_TRUE=
81375   GLIBCXX_LDBL_COMPAT_FALSE='#'
81376 else
81377   GLIBCXX_LDBL_COMPAT_TRUE='#'
81378   GLIBCXX_LDBL_COMPAT_FALSE=
81379 fi
81380
81381
81382     if test $enable_libstdcxx_filesystem_ts = yes; then
81383   ENABLE_FILESYSTEM_TS_TRUE=
81384   ENABLE_FILESYSTEM_TS_FALSE='#'
81385 else
81386   ENABLE_FILESYSTEM_TS_TRUE='#'
81387   ENABLE_FILESYSTEM_TS_FALSE=
81388 fi
81389
81390
81391
81392
81393 cat >confcache <<\_ACEOF
81394 # This file is a shell script that caches the results of configure
81395 # tests run on this system so they can be shared between configure
81396 # scripts and configure runs, see configure's option --config-cache.
81397 # It is not useful on other systems.  If it contains results you don't
81398 # want to keep, you may remove or edit it.
81399 #
81400 # config.status only pays attention to the cache file if you give it
81401 # the --recheck option to rerun configure.
81402 #
81403 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81404 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81405 # following values.
81406
81407 _ACEOF
81408
81409 # The following way of writing the cache mishandles newlines in values,
81410 # but we know of no workaround that is simple, portable, and efficient.
81411 # So, we kill variables containing newlines.
81412 # Ultrix sh set writes to stderr and can't be redirected directly,
81413 # and sets the high bit in the cache file unless we assign to the vars.
81414 (
81415   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81416     eval ac_val=\$$ac_var
81417     case $ac_val in #(
81418     *${as_nl}*)
81419       case $ac_var in #(
81420       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81421 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81422       esac
81423       case $ac_var in #(
81424       _ | IFS | as_nl) ;; #(
81425       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81426       *) { eval $ac_var=; unset $ac_var;} ;;
81427       esac ;;
81428     esac
81429   done
81430
81431   (set) 2>&1 |
81432     case $as_nl`(ac_space=' '; set) 2>&1` in #(
81433     *${as_nl}ac_space=\ *)
81434       # `set' does not quote correctly, so add quotes: double-quote
81435       # substitution turns \\\\ into \\, and sed turns \\ into \.
81436       sed -n \
81437         "s/'/'\\\\''/g;
81438           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81439       ;; #(
81440     *)
81441       # `set' quotes correctly as required by POSIX, so do not add quotes.
81442       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81443       ;;
81444     esac |
81445     sort
81446 ) |
81447   sed '
81448      /^ac_cv_env_/b end
81449      t clear
81450      :clear
81451      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81452      t end
81453      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81454      :end' >>confcache
81455 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81456   if test -w "$cache_file"; then
81457     test "x$cache_file" != "x/dev/null" &&
81458       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81459 $as_echo "$as_me: updating cache $cache_file" >&6;}
81460     cat confcache >$cache_file
81461   else
81462     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81463 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81464   fi
81465 fi
81466 rm -f confcache
81467
81468 if test ${multilib} = yes; then
81469   multilib_arg="--enable-multilib"
81470 else
81471   multilib_arg=
81472 fi
81473
81474 # Export all the install information.
81475
81476   glibcxx_toolexecdir=no
81477   glibcxx_toolexeclibdir=no
81478   glibcxx_prefixdir=$prefix
81479
81480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81481 $as_echo_n "checking for gxx-include-dir... " >&6; }
81482
81483 # Check whether --with-gxx-include-dir was given.
81484 if test "${with_gxx_include_dir+set}" = set; then :
81485   withval=$with_gxx_include_dir; case "$withval" in
81486       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81487       no)  gxx_include_dir=no ;;
81488       *)   gxx_include_dir=$withval ;;
81489      esac
81490 else
81491   gxx_include_dir=no
81492 fi
81493
81494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81495 $as_echo "$gxx_include_dir" >&6; }
81496
81497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81498 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81499   # Check whether --enable-version-specific-runtime-libs was given.
81500 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81501   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81502       yes) version_specific_libs=yes ;;
81503       no)  version_specific_libs=no ;;
81504       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81505      esac
81506 else
81507   version_specific_libs=no
81508 fi
81509
81510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81511 $as_echo "$version_specific_libs" >&6; }
81512
81513   # Default case for install directory for include files.
81514   if test $version_specific_libs = no && test $gxx_include_dir = no; then
81515     gxx_include_dir='include/c++/${gcc_version}'
81516     if test -n "$with_cross_host" &&
81517        test x"$with_cross_host" != x"no"; then
81518       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81519     else
81520       gxx_include_dir='${prefix}/'"$gxx_include_dir"
81521     fi
81522   fi
81523
81524   # Version-specific runtime libs processing.
81525   if test $version_specific_libs = yes; then
81526     # Need the gcc compiler version to know where to install libraries
81527     # and header files if --enable-version-specific-runtime-libs option
81528     # is selected.  FIXME: these variables are misnamed, there are
81529     # no executables installed in _toolexecdir or _toolexeclibdir.
81530     if test x"$gxx_include_dir" = x"no"; then
81531       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81532     fi
81533     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81534     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81535   fi
81536
81537   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81538   # Install a library built with a cross compiler in tooldir, not libdir.
81539   if test x"$glibcxx_toolexecdir" = x"no"; then
81540     if test -n "$with_cross_host" &&
81541        test x"$with_cross_host" != x"no"; then
81542       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81543       glibcxx_toolexeclibdir='${toolexecdir}/lib'
81544     else
81545       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81546       glibcxx_toolexeclibdir='${libdir}'
81547     fi
81548     multi_os_directory=`$CXX -print-multi-os-directory`
81549     case $multi_os_directory in
81550       .) ;; # Avoid trailing /.
81551       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81552     esac
81553   fi
81554
81555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81556 $as_echo_n "checking for install location... " >&6; }
81557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81558 $as_echo "$gxx_include_dir" >&6; }
81559
81560
81561
81562
81563
81564
81565
81566 # Export all the include and flag information to Makefiles.
81567
81568   # Used for every C++ compile we perform.
81569   GLIBCXX_INCLUDES="\
81570 -I$glibcxx_builddir/include/$host_alias \
81571 -I$glibcxx_builddir/include \
81572 -I$glibcxx_srcdir/libsupc++"
81573
81574   # For Canadian crosses, pick this up too.
81575   if test $CANADIAN = yes; then
81576     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81577   fi
81578
81579   # Stuff in the actual top level.  Currently only used by libsupc++ to
81580   # get unwind* headers from the libgcc dir.
81581   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81582   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81583
81584   # Now, export this to all the little Makefiles....
81585
81586
81587
81588
81589   # Optimization flags that are probably a good idea for thrill-seekers. Just
81590   # uncomment the lines below and make, everything else is ready to go...
81591   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81592   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81593
81594
81595   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81596
81597
81598
81599 # Determine what GCC version number to use in filesystem paths.
81600
81601   get_gcc_base_ver="cat"
81602
81603 # Check whether --with-gcc-major-version-only was given.
81604 if test "${with_gcc_major_version_only+set}" = set; then :
81605   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81606         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81607       fi
81608
81609 fi
81610
81611
81612
81613
81614 ac_config_files="$ac_config_files Makefile"
81615
81616 ac_config_files="$ac_config_files scripts/testsuite_flags"
81617
81618 ac_config_files="$ac_config_files scripts/extract_symvers"
81619
81620 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81621
81622
81623 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81624 # that multilib installs will end up installed in the correct place.
81625 # The testsuite needs it for multilib-aware ABI baseline files.
81626 # To work around this not being passed down from config-ml.in ->
81627 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81628 # append it here.  Only modify Makefiles that have just been created.
81629 #
81630 # Also, get rid of this simulated-VPATH thing that automake does.
81631 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81632
81633
81634 ac_config_commands="$ac_config_commands generate-headers"
81635
81636
81637 cat >confcache <<\_ACEOF
81638 # This file is a shell script that caches the results of configure
81639 # tests run on this system so they can be shared between configure
81640 # scripts and configure runs, see configure's option --config-cache.
81641 # It is not useful on other systems.  If it contains results you don't
81642 # want to keep, you may remove or edit it.
81643 #
81644 # config.status only pays attention to the cache file if you give it
81645 # the --recheck option to rerun configure.
81646 #
81647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81649 # following values.
81650
81651 _ACEOF
81652
81653 # The following way of writing the cache mishandles newlines in values,
81654 # but we know of no workaround that is simple, portable, and efficient.
81655 # So, we kill variables containing newlines.
81656 # Ultrix sh set writes to stderr and can't be redirected directly,
81657 # and sets the high bit in the cache file unless we assign to the vars.
81658 (
81659   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81660     eval ac_val=\$$ac_var
81661     case $ac_val in #(
81662     *${as_nl}*)
81663       case $ac_var in #(
81664       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81666       esac
81667       case $ac_var in #(
81668       _ | IFS | as_nl) ;; #(
81669       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81670       *) { eval $ac_var=; unset $ac_var;} ;;
81671       esac ;;
81672     esac
81673   done
81674
81675   (set) 2>&1 |
81676     case $as_nl`(ac_space=' '; set) 2>&1` in #(
81677     *${as_nl}ac_space=\ *)
81678       # `set' does not quote correctly, so add quotes: double-quote
81679       # substitution turns \\\\ into \\, and sed turns \\ into \.
81680       sed -n \
81681         "s/'/'\\\\''/g;
81682           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81683       ;; #(
81684     *)
81685       # `set' quotes correctly as required by POSIX, so do not add quotes.
81686       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81687       ;;
81688     esac |
81689     sort
81690 ) |
81691   sed '
81692      /^ac_cv_env_/b end
81693      t clear
81694      :clear
81695      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81696      t end
81697      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81698      :end' >>confcache
81699 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81700   if test -w "$cache_file"; then
81701     test "x$cache_file" != "x/dev/null" &&
81702       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81703 $as_echo "$as_me: updating cache $cache_file" >&6;}
81704     cat confcache >$cache_file
81705   else
81706     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81707 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81708   fi
81709 fi
81710 rm -f confcache
81711
81712 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81713 # Let make expand exec_prefix.
81714 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81715
81716 DEFS=-DHAVE_CONFIG_H
81717
81718 ac_libobjs=
81719 ac_ltlibobjs=
81720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81721   # 1. Remove the extension, and $U if already installed.
81722   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81723   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81724   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
81725   #    will be set to the directory where LIBOBJS objects are built.
81726   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81727   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81728 done
81729 LIBOBJS=$ac_libobjs
81730
81731 LTLIBOBJS=$ac_ltlibobjs
81732
81733
81734  if test -n "$EXEEXT"; then
81735   am__EXEEXT_TRUE=
81736   am__EXEEXT_FALSE='#'
81737 else
81738   am__EXEEXT_TRUE='#'
81739   am__EXEEXT_FALSE=
81740 fi
81741
81742 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81743   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81745 fi
81746 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81747   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81749 fi
81750 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81751   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81753 fi
81754 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81755   as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81757 fi
81758 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81759   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81761 fi
81762 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81763   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81765 fi
81766 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81767   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81769 fi
81770 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81771   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81773 fi
81774 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81775   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81777 fi
81778 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81779   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81781 fi
81782 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81783   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81785 fi
81786 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81787   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81789 fi
81790 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81791   as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81793 fi
81794 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81795   as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81797 fi
81798 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81799   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81801 fi
81802 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81803   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81805 fi
81806 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81807   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81809 fi
81810 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81811   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81813 fi
81814 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81815   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81817 fi
81818 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81819   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81821 fi
81822 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81823   as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81825 fi
81826 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81827   as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81829 fi
81830 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81831   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81833 fi
81834 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81835   as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81837 fi
81838 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81839   as_fn_error "conditional \"BUILD_INFO\" was never defined.
81840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81841 fi
81842 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81843   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81845 fi
81846 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81847   as_fn_error "conditional \"BUILD_XML\" was never defined.
81848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81849 fi
81850 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81851   as_fn_error "conditional \"BUILD_HTML\" was never defined.
81852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81853 fi
81854 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81855   as_fn_error "conditional \"BUILD_MAN\" was never defined.
81856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81857 fi
81858 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81859   as_fn_error "conditional \"BUILD_PDF\" was never defined.
81860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81861 fi
81862 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81863   as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81865 fi
81866
81867 : ${CONFIG_STATUS=./config.status}
81868 ac_write_fail=0
81869 ac_clean_files_save=$ac_clean_files
81870 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81872 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81873 as_write_fail=0
81874 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81875 #! $SHELL
81876 # Generated by $as_me.
81877 # Run this file to recreate the current configuration.
81878 # Compiler output produced by configure, useful for debugging
81879 # configure, is in config.log if it exists.
81880
81881 debug=false
81882 ac_cs_recheck=false
81883 ac_cs_silent=false
81884
81885 SHELL=\${CONFIG_SHELL-$SHELL}
81886 export SHELL
81887 _ASEOF
81888 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81889 ## -------------------- ##
81890 ## M4sh Initialization. ##
81891 ## -------------------- ##
81892
81893 # Be more Bourne compatible
81894 DUALCASE=1; export DUALCASE # for MKS sh
81895 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81896   emulate sh
81897   NULLCMD=:
81898   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81899   # is contrary to our usage.  Disable this feature.
81900   alias -g '${1+"$@"}'='"$@"'
81901   setopt NO_GLOB_SUBST
81902 else
81903   case `(set -o) 2>/dev/null` in #(
81904   *posix*) :
81905     set -o posix ;; #(
81906   *) :
81907      ;;
81908 esac
81909 fi
81910
81911
81912 as_nl='
81913 '
81914 export as_nl
81915 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81916 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81919 # Prefer a ksh shell builtin over an external printf program on Solaris,
81920 # but without wasting forks for bash or zsh.
81921 if test -z "$BASH_VERSION$ZSH_VERSION" \
81922     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81923   as_echo='print -r --'
81924   as_echo_n='print -rn --'
81925 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81926   as_echo='printf %s\n'
81927   as_echo_n='printf %s'
81928 else
81929   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81930     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81931     as_echo_n='/usr/ucb/echo -n'
81932   else
81933     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81934     as_echo_n_body='eval
81935       arg=$1;
81936       case $arg in #(
81937       *"$as_nl"*)
81938         expr "X$arg" : "X\\(.*\\)$as_nl";
81939         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81940       esac;
81941       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81942     '
81943     export as_echo_n_body
81944     as_echo_n='sh -c $as_echo_n_body as_echo'
81945   fi
81946   export as_echo_body
81947   as_echo='sh -c $as_echo_body as_echo'
81948 fi
81949
81950 # The user is always right.
81951 if test "${PATH_SEPARATOR+set}" != set; then
81952   PATH_SEPARATOR=:
81953   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81954     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81955       PATH_SEPARATOR=';'
81956   }
81957 fi
81958
81959
81960 # IFS
81961 # We need space, tab and new line, in precisely that order.  Quoting is
81962 # there to prevent editors from complaining about space-tab.
81963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81964 # splitting by setting IFS to empty value.)
81965 IFS=" ""        $as_nl"
81966
81967 # Find who we are.  Look in the path if we contain no directory separator.
81968 case $0 in #((
81969   *[\\/]* ) as_myself=$0 ;;
81970   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81971 for as_dir in $PATH
81972 do
81973   IFS=$as_save_IFS
81974   test -z "$as_dir" && as_dir=.
81975     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81976   done
81977 IFS=$as_save_IFS
81978
81979      ;;
81980 esac
81981 # We did not find ourselves, most probably we were run as `sh COMMAND'
81982 # in which case we are not to be found in the path.
81983 if test "x$as_myself" = x; then
81984   as_myself=$0
81985 fi
81986 if test ! -f "$as_myself"; then
81987   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81988   exit 1
81989 fi
81990
81991 # Unset variables that we do not need and which cause bugs (e.g. in
81992 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
81993 # suppresses any "Segmentation fault" message there.  '((' could
81994 # trigger a bug in pdksh 5.2.14.
81995 for as_var in BASH_ENV ENV MAIL MAILPATH
81996 do eval test x\${$as_var+set} = xset \
81997   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81998 done
81999 PS1='$ '
82000 PS2='> '
82001 PS4='+ '
82002
82003 # NLS nuisances.
82004 LC_ALL=C
82005 export LC_ALL
82006 LANGUAGE=C
82007 export LANGUAGE
82008
82009 # CDPATH.
82010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82011
82012
82013 # as_fn_error ERROR [LINENO LOG_FD]
82014 # ---------------------------------
82015 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82016 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82017 # script with status $?, using 1 if that was 0.
82018 as_fn_error ()
82019 {
82020   as_status=$?; test $as_status -eq 0 && as_status=1
82021   if test "$3"; then
82022     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82023     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82024   fi
82025   $as_echo "$as_me: error: $1" >&2
82026   as_fn_exit $as_status
82027 } # as_fn_error
82028
82029
82030 # as_fn_set_status STATUS
82031 # -----------------------
82032 # Set $? to STATUS, without forking.
82033 as_fn_set_status ()
82034 {
82035   return $1
82036 } # as_fn_set_status
82037
82038 # as_fn_exit STATUS
82039 # -----------------
82040 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82041 as_fn_exit ()
82042 {
82043   set +e
82044   as_fn_set_status $1
82045   exit $1
82046 } # as_fn_exit
82047
82048 # as_fn_unset VAR
82049 # ---------------
82050 # Portably unset VAR.
82051 as_fn_unset ()
82052 {
82053   { eval $1=; unset $1;}
82054 }
82055 as_unset=as_fn_unset
82056 # as_fn_append VAR VALUE
82057 # ----------------------
82058 # Append the text in VALUE to the end of the definition contained in VAR. Take
82059 # advantage of any shell optimizations that allow amortized linear growth over
82060 # repeated appends, instead of the typical quadratic growth present in naive
82061 # implementations.
82062 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82063   eval 'as_fn_append ()
82064   {
82065     eval $1+=\$2
82066   }'
82067 else
82068   as_fn_append ()
82069   {
82070     eval $1=\$$1\$2
82071   }
82072 fi # as_fn_append
82073
82074 # as_fn_arith ARG...
82075 # ------------------
82076 # Perform arithmetic evaluation on the ARGs, and store the result in the
82077 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82078 # must be portable across $(()) and expr.
82079 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82080   eval 'as_fn_arith ()
82081   {
82082     as_val=$(( $* ))
82083   }'
82084 else
82085   as_fn_arith ()
82086   {
82087     as_val=`expr "$@" || test $? -eq 1`
82088   }
82089 fi # as_fn_arith
82090
82091
82092 if expr a : '\(a\)' >/dev/null 2>&1 &&
82093    test "X`expr 00001 : '.*\(...\)'`" = X001; then
82094   as_expr=expr
82095 else
82096   as_expr=false
82097 fi
82098
82099 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82100   as_basename=basename
82101 else
82102   as_basename=false
82103 fi
82104
82105 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82106   as_dirname=dirname
82107 else
82108   as_dirname=false
82109 fi
82110
82111 as_me=`$as_basename -- "$0" ||
82112 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82113          X"$0" : 'X\(//\)$' \| \
82114          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82115 $as_echo X/"$0" |
82116     sed '/^.*\/\([^/][^/]*\)\/*$/{
82117             s//\1/
82118             q
82119           }
82120           /^X\/\(\/\/\)$/{
82121             s//\1/
82122             q
82123           }
82124           /^X\/\(\/\).*/{
82125             s//\1/
82126             q
82127           }
82128           s/.*/./; q'`
82129
82130 # Avoid depending upon Character Ranges.
82131 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82132 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82133 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82134 as_cr_digits='0123456789'
82135 as_cr_alnum=$as_cr_Letters$as_cr_digits
82136
82137 ECHO_C= ECHO_N= ECHO_T=
82138 case `echo -n x` in #(((((
82139 -n*)
82140   case `echo 'xy\c'` in
82141   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
82142   xy)  ECHO_C='\c';;
82143   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
82144        ECHO_T=' ';;
82145   esac;;
82146 *)
82147   ECHO_N='-n';;
82148 esac
82149
82150 rm -f conf$$ conf$$.exe conf$$.file
82151 if test -d conf$$.dir; then
82152   rm -f conf$$.dir/conf$$.file
82153 else
82154   rm -f conf$$.dir
82155   mkdir conf$$.dir 2>/dev/null
82156 fi
82157 if (echo >conf$$.file) 2>/dev/null; then
82158   if ln -s conf$$.file conf$$ 2>/dev/null; then
82159     as_ln_s='ln -s'
82160     # ... but there are two gotchas:
82161     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82162     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82163     # In both cases, we have to default to `cp -p'.
82164     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82165       as_ln_s='cp -p'
82166   elif ln conf$$.file conf$$ 2>/dev/null; then
82167     as_ln_s=ln
82168   else
82169     as_ln_s='cp -p'
82170   fi
82171 else
82172   as_ln_s='cp -p'
82173 fi
82174 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82175 rmdir conf$$.dir 2>/dev/null
82176
82177
82178 # as_fn_mkdir_p
82179 # -------------
82180 # Create "$as_dir" as a directory, including parents if necessary.
82181 as_fn_mkdir_p ()
82182 {
82183
82184   case $as_dir in #(
82185   -*) as_dir=./$as_dir;;
82186   esac
82187   test -d "$as_dir" || eval $as_mkdir_p || {
82188     as_dirs=
82189     while :; do
82190       case $as_dir in #(
82191       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82192       *) as_qdir=$as_dir;;
82193       esac
82194       as_dirs="'$as_qdir' $as_dirs"
82195       as_dir=`$as_dirname -- "$as_dir" ||
82196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82197          X"$as_dir" : 'X\(//\)[^/]' \| \
82198          X"$as_dir" : 'X\(//\)$' \| \
82199          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82200 $as_echo X"$as_dir" |
82201     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82202             s//\1/
82203             q
82204           }
82205           /^X\(\/\/\)[^/].*/{
82206             s//\1/
82207             q
82208           }
82209           /^X\(\/\/\)$/{
82210             s//\1/
82211             q
82212           }
82213           /^X\(\/\).*/{
82214             s//\1/
82215             q
82216           }
82217           s/.*/./; q'`
82218       test -d "$as_dir" && break
82219     done
82220     test -z "$as_dirs" || eval "mkdir $as_dirs"
82221   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82222
82223
82224 } # as_fn_mkdir_p
82225 if mkdir -p . 2>/dev/null; then
82226   as_mkdir_p='mkdir -p "$as_dir"'
82227 else
82228   test -d ./-p && rmdir ./-p
82229   as_mkdir_p=false
82230 fi
82231
82232 if test -x / >/dev/null 2>&1; then
82233   as_test_x='test -x'
82234 else
82235   if ls -dL / >/dev/null 2>&1; then
82236     as_ls_L_option=L
82237   else
82238     as_ls_L_option=
82239   fi
82240   as_test_x='
82241     eval sh -c '\''
82242       if test -d "$1"; then
82243         test -d "$1/.";
82244       else
82245         case $1 in #(
82246         -*)set "./$1";;
82247         esac;
82248         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82249         ???[sx]*):;;*)false;;esac;fi
82250     '\'' sh
82251   '
82252 fi
82253 as_executable_p=$as_test_x
82254
82255 # Sed expression to map a string onto a valid CPP name.
82256 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82257
82258 # Sed expression to map a string onto a valid variable name.
82259 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82260
82261
82262 exec 6>&1
82263 ## ----------------------------------- ##
82264 ## Main body of $CONFIG_STATUS script. ##
82265 ## ----------------------------------- ##
82266 _ASEOF
82267 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82268
82269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82270 # Save the log message, to keep $0 and so on meaningful, and to
82271 # report actual input values of CONFIG_FILES etc. instead of their
82272 # values after options handling.
82273 ac_log="
82274 This file was extended by package-unused $as_me version-unused, which was
82275 generated by GNU Autoconf 2.64.  Invocation command line was
82276
82277   CONFIG_FILES    = $CONFIG_FILES
82278   CONFIG_HEADERS  = $CONFIG_HEADERS
82279   CONFIG_LINKS    = $CONFIG_LINKS
82280   CONFIG_COMMANDS = $CONFIG_COMMANDS
82281   $ $0 $@
82282
82283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82284 "
82285
82286 _ACEOF
82287
82288 case $ac_config_files in *"
82289 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82290 esac
82291
82292 case $ac_config_headers in *"
82293 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82294 esac
82295
82296
82297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82298 # Files that config.status was made for.
82299 config_files="$ac_config_files"
82300 config_headers="$ac_config_headers"
82301 config_commands="$ac_config_commands"
82302
82303 _ACEOF
82304
82305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82306 ac_cs_usage="\
82307 \`$as_me' instantiates files and other configuration actions
82308 from templates according to the current configuration.  Unless the files
82309 and actions are specified as TAGs, all are instantiated by default.
82310
82311 Usage: $0 [OPTION]... [TAG]...
82312
82313   -h, --help       print this help, then exit
82314   -V, --version    print version number and configuration settings, then exit
82315   -q, --quiet, --silent
82316                    do not print progress messages
82317   -d, --debug      don't remove temporary files
82318       --recheck    update $as_me by reconfiguring in the same conditions
82319       --file=FILE[:TEMPLATE]
82320                    instantiate the configuration file FILE
82321       --header=FILE[:TEMPLATE]
82322                    instantiate the configuration header FILE
82323
82324 Configuration files:
82325 $config_files
82326
82327 Configuration headers:
82328 $config_headers
82329
82330 Configuration commands:
82331 $config_commands
82332
82333 Report bugs to the package provider."
82334
82335 _ACEOF
82336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82337 ac_cs_version="\\
82338 package-unused config.status version-unused
82339 configured by $0, generated by GNU Autoconf 2.64,
82340   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82341
82342 Copyright (C) 2009 Free Software Foundation, Inc.
82343 This config.status script is free software; the Free Software Foundation
82344 gives unlimited permission to copy, distribute and modify it."
82345
82346 ac_pwd='$ac_pwd'
82347 srcdir='$srcdir'
82348 INSTALL='$INSTALL'
82349 MKDIR_P='$MKDIR_P'
82350 AWK='$AWK'
82351 test -n "\$AWK" || AWK=awk
82352 _ACEOF
82353
82354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82355 # The default lists apply if the user does not specify any file.
82356 ac_need_defaults=:
82357 while test $# != 0
82358 do
82359   case $1 in
82360   --*=*)
82361     ac_option=`expr "X$1" : 'X\([^=]*\)='`
82362     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82363     ac_shift=:
82364     ;;
82365   *)
82366     ac_option=$1
82367     ac_optarg=$2
82368     ac_shift=shift
82369     ;;
82370   esac
82371
82372   case $ac_option in
82373   # Handling of the options.
82374   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82375     ac_cs_recheck=: ;;
82376   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82377     $as_echo "$ac_cs_version"; exit ;;
82378   --debug | --debu | --deb | --de | --d | -d )
82379     debug=: ;;
82380   --file | --fil | --fi | --f )
82381     $ac_shift
82382     case $ac_optarg in
82383     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82384     esac
82385     as_fn_append CONFIG_FILES " '$ac_optarg'"
82386     ac_need_defaults=false;;
82387   --header | --heade | --head | --hea )
82388     $ac_shift
82389     case $ac_optarg in
82390     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82391     esac
82392     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82393     ac_need_defaults=false;;
82394   --he | --h)
82395     # Conflict between --help and --header
82396     as_fn_error "ambiguous option: \`$1'
82397 Try \`$0 --help' for more information.";;
82398   --help | --hel | -h )
82399     $as_echo "$ac_cs_usage"; exit ;;
82400   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82401   | -silent | --silent | --silen | --sile | --sil | --si | --s)
82402     ac_cs_silent=: ;;
82403
82404   # This is an error.
82405   -*) as_fn_error "unrecognized option: \`$1'
82406 Try \`$0 --help' for more information." ;;
82407
82408   *) as_fn_append ac_config_targets " $1"
82409      ac_need_defaults=false ;;
82410
82411   esac
82412   shift
82413 done
82414
82415 ac_configure_extra_args=
82416
82417 if $ac_cs_silent; then
82418   exec 6>/dev/null
82419   ac_configure_extra_args="$ac_configure_extra_args --silent"
82420 fi
82421
82422 _ACEOF
82423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82424 if \$ac_cs_recheck; then
82425   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82426   shift
82427   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82428   CONFIG_SHELL='$SHELL'
82429   export CONFIG_SHELL
82430   exec "\$@"
82431 fi
82432
82433 _ACEOF
82434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82435 exec 5>>config.log
82436 {
82437   echo
82438   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82439 ## Running $as_me. ##
82440 _ASBOX
82441   $as_echo "$ac_log"
82442 } >&5
82443
82444 _ACEOF
82445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82446 #
82447 # INIT-COMMANDS
82448 #
82449
82450 srcdir="$srcdir"
82451 host="$host"
82452 target="$target"
82453 with_multisubdir="$with_multisubdir"
82454 with_multisrctop="$with_multisrctop"
82455 with_target_subdir="$with_target_subdir"
82456 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82457 multi_basedir="$multi_basedir"
82458 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82459 CC="$CC"
82460 CXX="$CXX"
82461 GFORTRAN="$GFORTRAN"
82462
82463
82464 # The HP-UX ksh and POSIX shell print the target directory to stdout
82465 # if CDPATH is set.
82466 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82467
82468 sed_quote_subst='$sed_quote_subst'
82469 double_quote_subst='$double_quote_subst'
82470 delay_variable_subst='$delay_variable_subst'
82471 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82472 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82473 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82474 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82475 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82476 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82477 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82478 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82479 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82480 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82481 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82482 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82483 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82484 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82485 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82486 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82487 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82488 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82489 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82490 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82491 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82492 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82493 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82494 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82495 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82496 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82497 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82498 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82501 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82504 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82505 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82506 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82507 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82508 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82509 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82510 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82511 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82512 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82513 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82514 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82515 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82516 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82517 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82518 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82519 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"`'
82520 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82521 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82522 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82523 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82524 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82525 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82526 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82527 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82528 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82529 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82530 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82531 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82532 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82533 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82534 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82535 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82536 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82537 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82538 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82539 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82540 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82541 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82542 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82543 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82544 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82545 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82546 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82547 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82548 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82549 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82550 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82551 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82552 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82553 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82554 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82555 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82556 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82557 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82558 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82559 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82560 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82561 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82562 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82563 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82564 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82565 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82566 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82567 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82568 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82569 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82570 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82571 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82572 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82573 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82574 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82575 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82576 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82577 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82578 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82579 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82580 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82581 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82582 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82583 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82584 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82585 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82586 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82587 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82588 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82589 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82590 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82591 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82592 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82593 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82594 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82595 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82596 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82597 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82598 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82599 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82600 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82601 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82602 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82603 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82604 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82605 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82606 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82607 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82608 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82609 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82610 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82611 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82612 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82613 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82614 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82615 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82616 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82617 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82618 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82619 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82620 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82621 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82622 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82623 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82624 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82625 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82626 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82627 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82628 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82629 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82630 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82631 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82632 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82633 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82634 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82635 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82636 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82637 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82638 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82639 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82640 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82641 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82642 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82643 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82644 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82645 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82646
82647 LTCC='$LTCC'
82648 LTCFLAGS='$LTCFLAGS'
82649 compiler='$compiler_DEFAULT'
82650
82651 # A function that is used when there is no print builtin or printf.
82652 func_fallback_echo ()
82653 {
82654   eval 'cat <<_LTECHO_EOF
82655 \$1
82656 _LTECHO_EOF'
82657 }
82658
82659 # Quote evaled strings.
82660 for var in SHELL \
82661 ECHO \
82662 SED \
82663 GREP \
82664 EGREP \
82665 FGREP \
82666 LD \
82667 NM \
82668 LN_S \
82669 lt_SP2NL \
82670 lt_NL2SP \
82671 reload_flag \
82672 OBJDUMP \
82673 deplibs_check_method \
82674 file_magic_cmd \
82675 AR \
82676 AR_FLAGS \
82677 STRIP \
82678 RANLIB \
82679 CC \
82680 CFLAGS \
82681 compiler \
82682 lt_cv_sys_global_symbol_pipe \
82683 lt_cv_sys_global_symbol_to_cdecl \
82684 lt_cv_sys_global_symbol_to_c_name_address \
82685 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82686 lt_prog_compiler_no_builtin_flag \
82687 lt_prog_compiler_wl \
82688 lt_prog_compiler_pic \
82689 lt_prog_compiler_static \
82690 lt_cv_prog_compiler_c_o \
82691 need_locks \
82692 DSYMUTIL \
82693 NMEDIT \
82694 LIPO \
82695 OTOOL \
82696 OTOOL64 \
82697 shrext_cmds \
82698 export_dynamic_flag_spec \
82699 whole_archive_flag_spec \
82700 compiler_needs_object \
82701 with_gnu_ld \
82702 allow_undefined_flag \
82703 no_undefined_flag \
82704 hardcode_libdir_flag_spec \
82705 hardcode_libdir_flag_spec_ld \
82706 hardcode_libdir_separator \
82707 fix_srcfile_path \
82708 exclude_expsyms \
82709 include_expsyms \
82710 file_list_spec \
82711 variables_saved_for_relink \
82712 libname_spec \
82713 library_names_spec \
82714 soname_spec \
82715 install_override_mode \
82716 finish_eval \
82717 old_striplib \
82718 striplib \
82719 compiler_lib_search_dirs \
82720 predep_objects \
82721 postdep_objects \
82722 predeps \
82723 postdeps \
82724 compiler_lib_search_path \
82725 LD_CXX \
82726 reload_flag_CXX \
82727 compiler_CXX \
82728 lt_prog_compiler_no_builtin_flag_CXX \
82729 lt_prog_compiler_wl_CXX \
82730 lt_prog_compiler_pic_CXX \
82731 lt_prog_compiler_static_CXX \
82732 lt_cv_prog_compiler_c_o_CXX \
82733 export_dynamic_flag_spec_CXX \
82734 whole_archive_flag_spec_CXX \
82735 compiler_needs_object_CXX \
82736 with_gnu_ld_CXX \
82737 allow_undefined_flag_CXX \
82738 no_undefined_flag_CXX \
82739 hardcode_libdir_flag_spec_CXX \
82740 hardcode_libdir_flag_spec_ld_CXX \
82741 hardcode_libdir_separator_CXX \
82742 fix_srcfile_path_CXX \
82743 exclude_expsyms_CXX \
82744 include_expsyms_CXX \
82745 file_list_spec_CXX \
82746 compiler_lib_search_dirs_CXX \
82747 predep_objects_CXX \
82748 postdep_objects_CXX \
82749 predeps_CXX \
82750 postdeps_CXX \
82751 compiler_lib_search_path_CXX; do
82752     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82753     *[\\\\\\\`\\"\\\$]*)
82754       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82755       ;;
82756     *)
82757       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82758       ;;
82759     esac
82760 done
82761
82762 # Double-quote double-evaled strings.
82763 for var in reload_cmds \
82764 old_postinstall_cmds \
82765 old_postuninstall_cmds \
82766 old_archive_cmds \
82767 extract_expsyms_cmds \
82768 old_archive_from_new_cmds \
82769 old_archive_from_expsyms_cmds \
82770 archive_cmds \
82771 archive_expsym_cmds \
82772 module_cmds \
82773 module_expsym_cmds \
82774 export_symbols_cmds \
82775 prelink_cmds \
82776 postinstall_cmds \
82777 postuninstall_cmds \
82778 finish_cmds \
82779 sys_lib_search_path_spec \
82780 sys_lib_dlsearch_path_spec \
82781 reload_cmds_CXX \
82782 old_archive_cmds_CXX \
82783 old_archive_from_new_cmds_CXX \
82784 old_archive_from_expsyms_cmds_CXX \
82785 archive_cmds_CXX \
82786 archive_expsym_cmds_CXX \
82787 module_cmds_CXX \
82788 module_expsym_cmds_CXX \
82789 export_symbols_cmds_CXX \
82790 prelink_cmds_CXX; do
82791     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82792     *[\\\\\\\`\\"\\\$]*)
82793       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82794       ;;
82795     *)
82796       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82797       ;;
82798     esac
82799 done
82800
82801 ac_aux_dir='$ac_aux_dir'
82802 xsi_shell='$xsi_shell'
82803 lt_shell_append='$lt_shell_append'
82804
82805 # See if we are running on zsh, and set the options which allow our
82806 # commands through without removal of \ escapes INIT.
82807 if test -n "\${ZSH_VERSION+set}" ; then
82808    setopt NO_GLOB_SUBST
82809 fi
82810
82811
82812     PACKAGE='$PACKAGE'
82813     VERSION='$VERSION'
82814     TIMESTAMP='$TIMESTAMP'
82815     RM='$RM'
82816     ofile='$ofile'
82817
82818
82819
82820
82821
82822
82823 GCC="$GCC"
82824 CC="$CC"
82825 acx_cv_header_stdint="$acx_cv_header_stdint"
82826 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82827 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82828 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82829 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82830 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82831 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82832 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82833 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82834 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82835 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82836 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82837 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82838 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82839
82840
82841 _ACEOF
82842
82843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82844
82845 # Handling of arguments.
82846 for ac_config_target in $ac_config_targets
82847 do
82848   case $ac_config_target in
82849     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82850     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82851     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82852     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82853     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82854     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82855     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82856     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82857     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82858     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82859     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82860     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82861     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82862     "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82863     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82864     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82865     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82866     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82867     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82868
82869   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82870   esac
82871 done
82872
82873
82874 # If the user did not use the arguments to specify the items to instantiate,
82875 # then the envvar interface is used.  Set only those that are not.
82876 # We use the long form for the default assignment because of an extremely
82877 # bizarre bug on SunOS 4.1.3.
82878 if $ac_need_defaults; then
82879   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82880   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82881   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82882 fi
82883
82884 # Have a temporary directory for convenience.  Make it in the build tree
82885 # simply because there is no reason against having it here, and in addition,
82886 # creating and moving files from /tmp can sometimes cause problems.
82887 # Hook for its removal unless debugging.
82888 # Note that there is a small window in which the directory will not be cleaned:
82889 # after its creation but before its name has been assigned to `$tmp'.
82890 $debug ||
82891 {
82892   tmp=
82893   trap 'exit_status=$?
82894   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82895 ' 0
82896   trap 'as_fn_exit 1' 1 2 13 15
82897 }
82898 # Create a (secure) tmp directory for tmp files.
82899
82900 {
82901   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82902   test -n "$tmp" && test -d "$tmp"
82903 }  ||
82904 {
82905   tmp=./conf$$-$RANDOM
82906   (umask 077 && mkdir "$tmp")
82907 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82908
82909 # Set up the scripts for CONFIG_FILES section.
82910 # No need to generate them if there are no CONFIG_FILES.
82911 # This happens for instance with `./config.status config.h'.
82912 if test -n "$CONFIG_FILES"; then
82913
82914
82915 ac_cr=`echo X | tr X '\015'`
82916 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82917 # But we know of no other shell where ac_cr would be empty at this
82918 # point, so we can use a bashism as a fallback.
82919 if test "x$ac_cr" = x; then
82920   eval ac_cr=\$\'\\r\'
82921 fi
82922 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82923 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82924   ac_cs_awk_cr='\r'
82925 else
82926   ac_cs_awk_cr=$ac_cr
82927 fi
82928
82929 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82930 _ACEOF
82931
82932
82933 {
82934   echo "cat >conf$$subs.awk <<_ACEOF" &&
82935   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82936   echo "_ACEOF"
82937 } >conf$$subs.sh ||
82938   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82939 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82940 ac_delim='%!_!# '
82941 for ac_last_try in false false false false false :; do
82942   . ./conf$$subs.sh ||
82943     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82944
82945   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82946   if test $ac_delim_n = $ac_delim_num; then
82947     break
82948   elif $ac_last_try; then
82949     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82950   else
82951     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82952   fi
82953 done
82954 rm -f conf$$subs.sh
82955
82956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82957 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82958 _ACEOF
82959 sed -n '
82960 h
82961 s/^/S["/; s/!.*/"]=/
82962 p
82963 g
82964 s/^[^!]*!//
82965 :repl
82966 t repl
82967 s/'"$ac_delim"'$//
82968 t delim
82969 :nl
82970 h
82971 s/\(.\{148\}\).*/\1/
82972 t more1
82973 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82974 p
82975 n
82976 b repl
82977 :more1
82978 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82979 p
82980 g
82981 s/.\{148\}//
82982 t nl
82983 :delim
82984 h
82985 s/\(.\{148\}\).*/\1/
82986 t more2
82987 s/["\\]/\\&/g; s/^/"/; s/$/"/
82988 p
82989 b
82990 :more2
82991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82992 p
82993 g
82994 s/.\{148\}//
82995 t delim
82996 ' <conf$$subs.awk | sed '
82997 /^[^""]/{
82998   N
82999   s/\n//
83000 }
83001 ' >>$CONFIG_STATUS || ac_write_fail=1
83002 rm -f conf$$subs.awk
83003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83004 _ACAWK
83005 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83006   for (key in S) S_is_set[key] = 1
83007   FS = "\a"
83008
83009 }
83010 {
83011   line = $ 0
83012   nfields = split(line, field, "@")
83013   substed = 0
83014   len = length(field[1])
83015   for (i = 2; i < nfields; i++) {
83016     key = field[i]
83017     keylen = length(key)
83018     if (S_is_set[key]) {
83019       value = S[key]
83020       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83021       len += length(value) + length(field[++i])
83022       substed = 1
83023     } else
83024       len += 1 + keylen
83025   }
83026
83027   print line
83028 }
83029
83030 _ACAWK
83031 _ACEOF
83032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83033 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83034   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83035 else
83036   cat
83037 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83038   || as_fn_error "could not setup config files machinery" "$LINENO" 5
83039 _ACEOF
83040
83041 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83042 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83043 # trailing colons and then remove the whole line if VPATH becomes empty
83044 # (actually we leave an empty line to preserve line numbers).
83045 if test "x$srcdir" = x.; then
83046   ac_vpsub='/^[  ]*VPATH[        ]*=/{
83047 s/:*\$(srcdir):*/:/
83048 s/:*\${srcdir}:*/:/
83049 s/:*@srcdir@:*/:/
83050 s/^\([^=]*=[     ]*\):*/\1/
83051 s/:*$//
83052 s/^[^=]*=[       ]*$//
83053 }'
83054 fi
83055
83056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83057 fi # test -n "$CONFIG_FILES"
83058
83059 # Set up the scripts for CONFIG_HEADERS section.
83060 # No need to generate them if there are no CONFIG_HEADERS.
83061 # This happens for instance with `./config.status Makefile'.
83062 if test -n "$CONFIG_HEADERS"; then
83063 cat >"$tmp/defines.awk" <<\_ACAWK ||
83064 BEGIN {
83065 _ACEOF
83066
83067 # Transform confdefs.h into an awk script `defines.awk', embedded as
83068 # here-document in config.status, that substitutes the proper values into
83069 # config.h.in to produce config.h.
83070
83071 # Create a delimiter string that does not exist in confdefs.h, to ease
83072 # handling of long lines.
83073 ac_delim='%!_!# '
83074 for ac_last_try in false false :; do
83075   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83076   if test -z "$ac_t"; then
83077     break
83078   elif $ac_last_try; then
83079     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83080   else
83081     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83082   fi
83083 done
83084
83085 # For the awk script, D is an array of macro values keyed by name,
83086 # likewise P contains macro parameters if any.  Preserve backslash
83087 # newline sequences.
83088
83089 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83090 sed -n '
83091 s/.\{148\}/&'"$ac_delim"'/g
83092 t rset
83093 :rset
83094 s/^[     ]*#[    ]*define[       ][      ]*/ /
83095 t def
83096 d
83097 :def
83098 s/\\$//
83099 t bsnl
83100 s/["\\]/\\&/g
83101 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
83102 D["\1"]=" \3"/p
83103 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
83104 d
83105 :bsnl
83106 s/["\\]/\\&/g
83107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
83108 D["\1"]=" \3\\\\\\n"\\/p
83109 t cont
83110 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83111 t cont
83112 d
83113 :cont
83114 n
83115 s/.\{148\}/&'"$ac_delim"'/g
83116 t clear
83117 :clear
83118 s/\\$//
83119 t bsnlc
83120 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83121 d
83122 :bsnlc
83123 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83124 b cont
83125 ' <confdefs.h | sed '
83126 s/'"$ac_delim"'/"\\\
83127 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83128
83129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83130   for (key in D) D_is_set[key] = 1
83131   FS = "\a"
83132 }
83133 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83134   line = \$ 0
83135   split(line, arg, " ")
83136   if (arg[1] == "#") {
83137     defundef = arg[2]
83138     mac1 = arg[3]
83139   } else {
83140     defundef = substr(arg[1], 2)
83141     mac1 = arg[2]
83142   }
83143   split(mac1, mac2, "(") #)
83144   macro = mac2[1]
83145   prefix = substr(line, 1, index(line, defundef) - 1)
83146   if (D_is_set[macro]) {
83147     # Preserve the white space surrounding the "#".
83148     print prefix "define", macro P[macro] D[macro]
83149     next
83150   } else {
83151     # Replace #undef with comments.  This is necessary, for example,
83152     # in the case of _POSIX_SOURCE, which is predefined and required
83153     # on some systems where configure will not decide to define it.
83154     if (defundef == "undef") {
83155       print "/*", prefix defundef, macro, "*/"
83156       next
83157     }
83158   }
83159 }
83160 { print }
83161 _ACAWK
83162 _ACEOF
83163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83164   as_fn_error "could not setup config headers machinery" "$LINENO" 5
83165 fi # test -n "$CONFIG_HEADERS"
83166
83167
83168 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
83169 shift
83170 for ac_tag
83171 do
83172   case $ac_tag in
83173   :[FHLC]) ac_mode=$ac_tag; continue;;
83174   esac
83175   case $ac_mode$ac_tag in
83176   :[FHL]*:*);;
83177   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83178   :[FH]-) ac_tag=-:-;;
83179   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83180   esac
83181   ac_save_IFS=$IFS
83182   IFS=:
83183   set x $ac_tag
83184   IFS=$ac_save_IFS
83185   shift
83186   ac_file=$1
83187   shift
83188
83189   case $ac_mode in
83190   :L) ac_source=$1;;
83191   :[FH])
83192     ac_file_inputs=
83193     for ac_f
83194     do
83195       case $ac_f in
83196       -) ac_f="$tmp/stdin";;
83197       *) # Look for the file first in the build tree, then in the source tree
83198          # (if the path is not absolute).  The absolute path cannot be DOS-style,
83199          # because $ac_f cannot contain `:'.
83200          test -f "$ac_f" ||
83201            case $ac_f in
83202            [\\/$]*) false;;
83203            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83204            esac ||
83205            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83206       esac
83207       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83208       as_fn_append ac_file_inputs " '$ac_f'"
83209     done
83210
83211     # Let's still pretend it is `configure' which instantiates (i.e., don't
83212     # use $as_me), people would be surprised to read:
83213     #    /* config.h.  Generated by config.status.  */
83214     configure_input='Generated from '`
83215           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83216         `' by configure.'
83217     if test x"$ac_file" != x-; then
83218       configure_input="$ac_file.  $configure_input"
83219       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83220 $as_echo "$as_me: creating $ac_file" >&6;}
83221     fi
83222     # Neutralize special characters interpreted by sed in replacement strings.
83223     case $configure_input in #(
83224     *\&* | *\|* | *\\* )
83225        ac_sed_conf_input=`$as_echo "$configure_input" |
83226        sed 's/[\\\\&|]/\\\\&/g'`;; #(
83227     *) ac_sed_conf_input=$configure_input;;
83228     esac
83229
83230     case $ac_tag in
83231     *:-:* | *:-) cat >"$tmp/stdin" \
83232       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83233     esac
83234     ;;
83235   esac
83236
83237   ac_dir=`$as_dirname -- "$ac_file" ||
83238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83239          X"$ac_file" : 'X\(//\)[^/]' \| \
83240          X"$ac_file" : 'X\(//\)$' \| \
83241          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83242 $as_echo X"$ac_file" |
83243     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83244             s//\1/
83245             q
83246           }
83247           /^X\(\/\/\)[^/].*/{
83248             s//\1/
83249             q
83250           }
83251           /^X\(\/\/\)$/{
83252             s//\1/
83253             q
83254           }
83255           /^X\(\/\).*/{
83256             s//\1/
83257             q
83258           }
83259           s/.*/./; q'`
83260   as_dir="$ac_dir"; as_fn_mkdir_p
83261   ac_builddir=.
83262
83263 case "$ac_dir" in
83264 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83265 *)
83266   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83267   # A ".." for each directory in $ac_dir_suffix.
83268   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83269   case $ac_top_builddir_sub in
83270   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83271   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83272   esac ;;
83273 esac
83274 ac_abs_top_builddir=$ac_pwd
83275 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83276 # for backward compatibility:
83277 ac_top_builddir=$ac_top_build_prefix
83278
83279 case $srcdir in
83280   .)  # We are building in place.
83281     ac_srcdir=.
83282     ac_top_srcdir=$ac_top_builddir_sub
83283     ac_abs_top_srcdir=$ac_pwd ;;
83284   [\\/]* | ?:[\\/]* )  # Absolute name.
83285     ac_srcdir=$srcdir$ac_dir_suffix;
83286     ac_top_srcdir=$srcdir
83287     ac_abs_top_srcdir=$srcdir ;;
83288   *) # Relative name.
83289     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83290     ac_top_srcdir=$ac_top_build_prefix$srcdir
83291     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83292 esac
83293 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83294
83295
83296   case $ac_mode in
83297   :F)
83298   #
83299   # CONFIG_FILE
83300   #
83301
83302   case $INSTALL in
83303   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83304   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83305   esac
83306   ac_MKDIR_P=$MKDIR_P
83307   case $MKDIR_P in
83308   [\\/$]* | ?:[\\/]* ) ;;
83309   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83310   esac
83311 _ACEOF
83312
83313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83314 # If the template does not know about datarootdir, expand it.
83315 # FIXME: This hack should be removed a few years after 2.60.
83316 ac_datarootdir_hack=; ac_datarootdir_seen=
83317 ac_sed_dataroot='
83318 /datarootdir/ {
83319   p
83320   q
83321 }
83322 /@datadir@/p
83323 /@docdir@/p
83324 /@infodir@/p
83325 /@localedir@/p
83326 /@mandir@/p'
83327 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83328 *datarootdir*) ac_datarootdir_seen=yes;;
83329 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83330   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83331 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83332 _ACEOF
83333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83334   ac_datarootdir_hack='
83335   s&@datadir@&$datadir&g
83336   s&@docdir@&$docdir&g
83337   s&@infodir@&$infodir&g
83338   s&@localedir@&$localedir&g
83339   s&@mandir@&$mandir&g
83340   s&\\\${datarootdir}&$datarootdir&g' ;;
83341 esac
83342 _ACEOF
83343
83344 # Neutralize VPATH when `$srcdir' = `.'.
83345 # Shell code in configure.ac might set extrasub.
83346 # FIXME: do we really want to maintain this feature?
83347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83348 ac_sed_extra="$ac_vpsub
83349 $extrasub
83350 _ACEOF
83351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83352 :t
83353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83354 s|@configure_input@|$ac_sed_conf_input|;t t
83355 s&@top_builddir@&$ac_top_builddir_sub&;t t
83356 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83357 s&@srcdir@&$ac_srcdir&;t t
83358 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83359 s&@top_srcdir@&$ac_top_srcdir&;t t
83360 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83361 s&@builddir@&$ac_builddir&;t t
83362 s&@abs_builddir@&$ac_abs_builddir&;t t
83363 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83364 s&@INSTALL@&$ac_INSTALL&;t t
83365 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83366 $ac_datarootdir_hack
83367 "
83368 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83369   || as_fn_error "could not create $ac_file" "$LINENO" 5
83370
83371 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83372   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83373   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83374   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83375 which seems to be undefined.  Please make sure it is defined." >&5
83376 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83377 which seems to be undefined.  Please make sure it is defined." >&2;}
83378
83379   rm -f "$tmp/stdin"
83380   case $ac_file in
83381   -) cat "$tmp/out" && rm -f "$tmp/out";;
83382   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83383   esac \
83384   || as_fn_error "could not create $ac_file" "$LINENO" 5
83385  ;;
83386   :H)
83387   #
83388   # CONFIG_HEADER
83389   #
83390   if test x"$ac_file" != x-; then
83391     {
83392       $as_echo "/* $configure_input  */" \
83393       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83394     } >"$tmp/config.h" \
83395       || as_fn_error "could not create $ac_file" "$LINENO" 5
83396     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83397       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83398 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83399     else
83400       rm -f "$ac_file"
83401       mv "$tmp/config.h" "$ac_file" \
83402         || as_fn_error "could not create $ac_file" "$LINENO" 5
83403     fi
83404   else
83405     $as_echo "/* $configure_input  */" \
83406       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83407       || as_fn_error "could not create -" "$LINENO" 5
83408   fi
83409 # Compute "$ac_file"'s index in $config_headers.
83410 _am_arg="$ac_file"
83411 _am_stamp_count=1
83412 for _am_header in $config_headers :; do
83413   case $_am_header in
83414     $_am_arg | $_am_arg:* )
83415       break ;;
83416     * )
83417       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83418   esac
83419 done
83420 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83421 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83422          X"$_am_arg" : 'X\(//\)[^/]' \| \
83423          X"$_am_arg" : 'X\(//\)$' \| \
83424          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83425 $as_echo X"$_am_arg" |
83426     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83427             s//\1/
83428             q
83429           }
83430           /^X\(\/\/\)[^/].*/{
83431             s//\1/
83432             q
83433           }
83434           /^X\(\/\/\)$/{
83435             s//\1/
83436             q
83437           }
83438           /^X\(\/\).*/{
83439             s//\1/
83440             q
83441           }
83442           s/.*/./; q'`/stamp-h$_am_stamp_count
83443  ;;
83444
83445   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83446 $as_echo "$as_me: executing $ac_file commands" >&6;}
83447  ;;
83448   esac
83449
83450
83451   case $ac_file$ac_mode in
83452     "default-1":C)
83453 # Only add multilib support code if we just rebuilt the top-level
83454 # Makefile.
83455 case " $CONFIG_FILES " in
83456  *" Makefile "*)
83457    ac_file=Makefile . ${multi_basedir}/config-ml.in
83458    ;;
83459 esac ;;
83460     "libtool":C)
83461
83462     # See if we are running on zsh, and set the options which allow our
83463     # commands through without removal of \ escapes.
83464     if test -n "${ZSH_VERSION+set}" ; then
83465       setopt NO_GLOB_SUBST
83466     fi
83467
83468     cfgfile="${ofile}T"
83469     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83470     $RM "$cfgfile"
83471
83472     cat <<_LT_EOF >> "$cfgfile"
83473 #! $SHELL
83474
83475 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83476 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83477 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83478 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83479 #
83480 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83481 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83482 #   Written by Gordon Matzigkeit, 1996
83483 #
83484 #   This file is part of GNU Libtool.
83485 #
83486 # GNU Libtool is free software; you can redistribute it and/or
83487 # modify it under the terms of the GNU General Public License as
83488 # published by the Free Software Foundation; either version 2 of
83489 # the License, or (at your option) any later version.
83490 #
83491 # As a special exception to the GNU General Public License,
83492 # if you distribute this file as part of a program or library that
83493 # is built using GNU Libtool, you may include this file under the
83494 # same distribution terms that you use for the rest of that program.
83495 #
83496 # GNU Libtool is distributed in the hope that it will be useful,
83497 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83498 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
83499 # GNU General Public License for more details.
83500 #
83501 # You should have received a copy of the GNU General Public License
83502 # along with GNU Libtool; see the file COPYING.  If not, a copy
83503 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83504 # obtained by writing to the Free Software Foundation, Inc.,
83505 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83506
83507
83508 # The names of the tagged configurations supported by this script.
83509 available_tags="CXX "
83510
83511 # ### BEGIN LIBTOOL CONFIG
83512
83513 # Which release of libtool.m4 was used?
83514 macro_version=$macro_version
83515 macro_revision=$macro_revision
83516
83517 # Whether or not to build shared libraries.
83518 build_libtool_libs=$enable_shared
83519
83520 # Whether or not to build static libraries.
83521 build_old_libs=$enable_static
83522
83523 # What type of objects to build.
83524 pic_mode=$pic_mode
83525
83526 # Whether or not to optimize for fast installation.
83527 fast_install=$enable_fast_install
83528
83529 # Shell to use when invoking shell scripts.
83530 SHELL=$lt_SHELL
83531
83532 # An echo program that protects backslashes.
83533 ECHO=$lt_ECHO
83534
83535 # The host system.
83536 host_alias=$host_alias
83537 host=$host
83538 host_os=$host_os
83539
83540 # The build system.
83541 build_alias=$build_alias
83542 build=$build
83543 build_os=$build_os
83544
83545 # A sed program that does not truncate output.
83546 SED=$lt_SED
83547
83548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83549 Xsed="\$SED -e 1s/^X//"
83550
83551 # A grep program that handles long lines.
83552 GREP=$lt_GREP
83553
83554 # An ERE matcher.
83555 EGREP=$lt_EGREP
83556
83557 # A literal string matcher.
83558 FGREP=$lt_FGREP
83559
83560 # A BSD- or MS-compatible name lister.
83561 NM=$lt_NM
83562
83563 # Whether we need soft or hard links.
83564 LN_S=$lt_LN_S
83565
83566 # What is the maximum length of a command?
83567 max_cmd_len=$max_cmd_len
83568
83569 # Object file suffix (normally "o").
83570 objext=$ac_objext
83571
83572 # Executable file suffix (normally "").
83573 exeext=$exeext
83574
83575 # whether the shell understands "unset".
83576 lt_unset=$lt_unset
83577
83578 # turn spaces into newlines.
83579 SP2NL=$lt_lt_SP2NL
83580
83581 # turn newlines into spaces.
83582 NL2SP=$lt_lt_NL2SP
83583
83584 # An object symbol dumper.
83585 OBJDUMP=$lt_OBJDUMP
83586
83587 # Method to check whether dependent libraries are shared objects.
83588 deplibs_check_method=$lt_deplibs_check_method
83589
83590 # Command to use when deplibs_check_method == "file_magic".
83591 file_magic_cmd=$lt_file_magic_cmd
83592
83593 # The archiver.
83594 AR=$lt_AR
83595 AR_FLAGS=$lt_AR_FLAGS
83596
83597 # A symbol stripping program.
83598 STRIP=$lt_STRIP
83599
83600 # Commands used to install an old-style archive.
83601 RANLIB=$lt_RANLIB
83602 old_postinstall_cmds=$lt_old_postinstall_cmds
83603 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83604
83605 # Whether to use a lock for old archive extraction.
83606 lock_old_archive_extraction=$lock_old_archive_extraction
83607
83608 # A C compiler.
83609 LTCC=$lt_CC
83610
83611 # LTCC compiler flags.
83612 LTCFLAGS=$lt_CFLAGS
83613
83614 # Take the output of nm and produce a listing of raw symbols and C names.
83615 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83616
83617 # Transform the output of nm in a proper C declaration.
83618 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83619
83620 # Transform the output of nm in a C name address pair.
83621 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83622
83623 # Transform the output of nm in a C name address pair when lib prefix is needed.
83624 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83625
83626 # The name of the directory that contains temporary libtool files.
83627 objdir=$objdir
83628
83629 # Used to examine libraries when file_magic_cmd begins with "file".
83630 MAGIC_CMD=$MAGIC_CMD
83631
83632 # Must we lock files when doing compilation?
83633 need_locks=$lt_need_locks
83634
83635 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83636 DSYMUTIL=$lt_DSYMUTIL
83637
83638 # Tool to change global to local symbols on Mac OS X.
83639 NMEDIT=$lt_NMEDIT
83640
83641 # Tool to manipulate fat objects and archives on Mac OS X.
83642 LIPO=$lt_LIPO
83643
83644 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83645 OTOOL=$lt_OTOOL
83646
83647 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83648 OTOOL64=$lt_OTOOL64
83649
83650 # Old archive suffix (normally "a").
83651 libext=$libext
83652
83653 # Shared library suffix (normally ".so").
83654 shrext_cmds=$lt_shrext_cmds
83655
83656 # The commands to extract the exported symbol list from a shared archive.
83657 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83658
83659 # Variables whose values should be saved in libtool wrapper scripts and
83660 # restored at link time.
83661 variables_saved_for_relink=$lt_variables_saved_for_relink
83662
83663 # Do we need the "lib" prefix for modules?
83664 need_lib_prefix=$need_lib_prefix
83665
83666 # Do we need a version for libraries?
83667 need_version=$need_version
83668
83669 # Library versioning type.
83670 version_type=$version_type
83671
83672 # Shared library runtime path variable.
83673 runpath_var=$runpath_var
83674
83675 # Shared library path variable.
83676 shlibpath_var=$shlibpath_var
83677
83678 # Is shlibpath searched before the hard-coded library search path?
83679 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83680
83681 # Format of library name prefix.
83682 libname_spec=$lt_libname_spec
83683
83684 # List of archive names.  First name is the real one, the rest are links.
83685 # The last name is the one that the linker finds with -lNAME
83686 library_names_spec=$lt_library_names_spec
83687
83688 # The coded name of the library, if different from the real name.
83689 soname_spec=$lt_soname_spec
83690
83691 # Permission mode override for installation of shared libraries.
83692 install_override_mode=$lt_install_override_mode
83693
83694 # Command to use after installation of a shared archive.
83695 postinstall_cmds=$lt_postinstall_cmds
83696
83697 # Command to use after uninstallation of a shared archive.
83698 postuninstall_cmds=$lt_postuninstall_cmds
83699
83700 # Commands used to finish a libtool library installation in a directory.
83701 finish_cmds=$lt_finish_cmds
83702
83703 # As "finish_cmds", except a single script fragment to be evaled but
83704 # not shown.
83705 finish_eval=$lt_finish_eval
83706
83707 # Whether we should hardcode library paths into libraries.
83708 hardcode_into_libs=$hardcode_into_libs
83709
83710 # Compile-time system search path for libraries.
83711 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83712
83713 # Run-time system search path for libraries.
83714 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83715
83716 # Whether dlopen is supported.
83717 dlopen_support=$enable_dlopen
83718
83719 # Whether dlopen of programs is supported.
83720 dlopen_self=$enable_dlopen_self
83721
83722 # Whether dlopen of statically linked programs is supported.
83723 dlopen_self_static=$enable_dlopen_self_static
83724
83725 # Commands to strip libraries.
83726 old_striplib=$lt_old_striplib
83727 striplib=$lt_striplib
83728
83729
83730 # The linker used to build libraries.
83731 LD=$lt_LD
83732
83733 # How to create reloadable object files.
83734 reload_flag=$lt_reload_flag
83735 reload_cmds=$lt_reload_cmds
83736
83737 # Commands used to build an old-style archive.
83738 old_archive_cmds=$lt_old_archive_cmds
83739
83740 # A language specific compiler.
83741 CC=$lt_compiler
83742
83743 # Is the compiler the GNU compiler?
83744 with_gcc=$GCC
83745
83746 # Compiler flag to turn off builtin functions.
83747 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83748
83749 # How to pass a linker flag through the compiler.
83750 wl=$lt_lt_prog_compiler_wl
83751
83752 # Additional compiler flags for building library objects.
83753 pic_flag=$lt_lt_prog_compiler_pic
83754
83755 # Compiler flag to prevent dynamic linking.
83756 link_static_flag=$lt_lt_prog_compiler_static
83757
83758 # Does compiler simultaneously support -c and -o options?
83759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83760
83761 # Whether or not to add -lc for building shared libraries.
83762 build_libtool_need_lc=$archive_cmds_need_lc
83763
83764 # Whether or not to disallow shared libs when runtime libs are static.
83765 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83766
83767 # Compiler flag to allow reflexive dlopens.
83768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83769
83770 # Compiler flag to generate shared objects directly from archives.
83771 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83772
83773 # Whether the compiler copes with passing no objects directly.
83774 compiler_needs_object=$lt_compiler_needs_object
83775
83776 # Create an old-style archive from a shared archive.
83777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83778
83779 # Create a temporary old-style archive to link instead of a shared archive.
83780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83781
83782 # Commands used to build a shared archive.
83783 archive_cmds=$lt_archive_cmds
83784 archive_expsym_cmds=$lt_archive_expsym_cmds
83785
83786 # Commands used to build a loadable module if different from building
83787 # a shared archive.
83788 module_cmds=$lt_module_cmds
83789 module_expsym_cmds=$lt_module_expsym_cmds
83790
83791 # Whether we are building with GNU ld or not.
83792 with_gnu_ld=$lt_with_gnu_ld
83793
83794 # Flag that allows shared libraries with undefined symbols to be built.
83795 allow_undefined_flag=$lt_allow_undefined_flag
83796
83797 # Flag that enforces no undefined symbols.
83798 no_undefined_flag=$lt_no_undefined_flag
83799
83800 # Flag to hardcode \$libdir into a binary during linking.
83801 # This must work even if \$libdir does not exist
83802 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83803
83804 # If ld is used when linking, flag to hardcode \$libdir into a binary
83805 # during linking.  This must work even if \$libdir does not exist.
83806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83807
83808 # Whether we need a single "-rpath" flag with a separated argument.
83809 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83810
83811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83812 # DIR into the resulting binary.
83813 hardcode_direct=$hardcode_direct
83814
83815 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83816 # DIR into the resulting binary and the resulting library dependency is
83817 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83818 # library is relocated.
83819 hardcode_direct_absolute=$hardcode_direct_absolute
83820
83821 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83822 # into the resulting binary.
83823 hardcode_minus_L=$hardcode_minus_L
83824
83825 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83826 # into the resulting binary.
83827 hardcode_shlibpath_var=$hardcode_shlibpath_var
83828
83829 # Set to "yes" if building a shared library automatically hardcodes DIR
83830 # into the library and all subsequent libraries and executables linked
83831 # against it.
83832 hardcode_automatic=$hardcode_automatic
83833
83834 # Set to yes if linker adds runtime paths of dependent libraries
83835 # to runtime path list.
83836 inherit_rpath=$inherit_rpath
83837
83838 # Whether libtool must link a program against all its dependency libraries.
83839 link_all_deplibs=$link_all_deplibs
83840
83841 # Fix the shell variable \$srcfile for the compiler.
83842 fix_srcfile_path=$lt_fix_srcfile_path
83843
83844 # Set to "yes" if exported symbols are required.
83845 always_export_symbols=$always_export_symbols
83846
83847 # The commands to list exported symbols.
83848 export_symbols_cmds=$lt_export_symbols_cmds
83849
83850 # Symbols that should not be listed in the preloaded symbols.
83851 exclude_expsyms=$lt_exclude_expsyms
83852
83853 # Symbols that must always be exported.
83854 include_expsyms=$lt_include_expsyms
83855
83856 # Commands necessary for linking programs (against libraries) with templates.
83857 prelink_cmds=$lt_prelink_cmds
83858
83859 # Specify filename containing input files.
83860 file_list_spec=$lt_file_list_spec
83861
83862 # How to hardcode a shared library path into an executable.
83863 hardcode_action=$hardcode_action
83864
83865 # The directories searched by this compiler when creating a shared library.
83866 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83867
83868 # Dependencies to place before and after the objects being linked to
83869 # create a shared library.
83870 predep_objects=$lt_predep_objects
83871 postdep_objects=$lt_postdep_objects
83872 predeps=$lt_predeps
83873 postdeps=$lt_postdeps
83874
83875 # The library search path used internally by the compiler when linking
83876 # a shared library.
83877 compiler_lib_search_path=$lt_compiler_lib_search_path
83878
83879 # ### END LIBTOOL CONFIG
83880
83881 _LT_EOF
83882
83883   case $host_os in
83884   aix3*)
83885     cat <<\_LT_EOF >> "$cfgfile"
83886 # AIX sometimes has problems with the GCC collect2 program.  For some
83887 # reason, if we set the COLLECT_NAMES environment variable, the problems
83888 # vanish in a puff of smoke.
83889 if test "X${COLLECT_NAMES+set}" != Xset; then
83890   COLLECT_NAMES=
83891   export COLLECT_NAMES
83892 fi
83893 _LT_EOF
83894     ;;
83895   esac
83896
83897
83898 ltmain="$ac_aux_dir/ltmain.sh"
83899
83900
83901   # We use sed instead of cat because bash on DJGPP gets confused if
83902   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
83903   # text mode, it properly converts lines to CR/LF.  This bash problem
83904   # is reportedly fixed, but why not run on old versions too?
83905   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83906     || (rm -f "$cfgfile"; exit 1)
83907
83908   case $xsi_shell in
83909   yes)
83910     cat << \_LT_EOF >> "$cfgfile"
83911
83912 # func_dirname file append nondir_replacement
83913 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
83914 # otherwise set result to NONDIR_REPLACEMENT.
83915 func_dirname ()
83916 {
83917   case ${1} in
83918     */*) func_dirname_result="${1%/*}${2}" ;;
83919     *  ) func_dirname_result="${3}" ;;
83920   esac
83921 }
83922
83923 # func_basename file
83924 func_basename ()
83925 {
83926   func_basename_result="${1##*/}"
83927 }
83928
83929 # func_dirname_and_basename file append nondir_replacement
83930 # perform func_basename and func_dirname in a single function
83931 # call:
83932 #   dirname:  Compute the dirname of FILE.  If nonempty,
83933 #             add APPEND to the result, otherwise set result
83934 #             to NONDIR_REPLACEMENT.
83935 #             value returned in "$func_dirname_result"
83936 #   basename: Compute filename of FILE.
83937 #             value retuned in "$func_basename_result"
83938 # Implementation must be kept synchronized with func_dirname
83939 # and func_basename. For efficiency, we do not delegate to
83940 # those functions but instead duplicate the functionality here.
83941 func_dirname_and_basename ()
83942 {
83943   case ${1} in
83944     */*) func_dirname_result="${1%/*}${2}" ;;
83945     *  ) func_dirname_result="${3}" ;;
83946   esac
83947   func_basename_result="${1##*/}"
83948 }
83949
83950 # func_stripname prefix suffix name
83951 # strip PREFIX and SUFFIX off of NAME.
83952 # PREFIX and SUFFIX must not contain globbing or regex special
83953 # characters, hashes, percent signs, but SUFFIX may contain a leading
83954 # dot (in which case that matches only a dot).
83955 func_stripname ()
83956 {
83957   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83958   # positional parameters, so assign one to ordinary parameter first.
83959   func_stripname_result=${3}
83960   func_stripname_result=${func_stripname_result#"${1}"}
83961   func_stripname_result=${func_stripname_result%"${2}"}
83962 }
83963
83964 # func_opt_split
83965 func_opt_split ()
83966 {
83967   func_opt_split_opt=${1%%=*}
83968   func_opt_split_arg=${1#*=}
83969 }
83970
83971 # func_lo2o object
83972 func_lo2o ()
83973 {
83974   case ${1} in
83975     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83976     *)    func_lo2o_result=${1} ;;
83977   esac
83978 }
83979
83980 # func_xform libobj-or-source
83981 func_xform ()
83982 {
83983   func_xform_result=${1%.*}.lo
83984 }
83985
83986 # func_arith arithmetic-term...
83987 func_arith ()
83988 {
83989   func_arith_result=$(( $* ))
83990 }
83991
83992 # func_len string
83993 # STRING may not start with a hyphen.
83994 func_len ()
83995 {
83996   func_len_result=${#1}
83997 }
83998
83999 _LT_EOF
84000     ;;
84001   *) # Bourne compatible functions.
84002     cat << \_LT_EOF >> "$cfgfile"
84003
84004 # func_dirname file append nondir_replacement
84005 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
84006 # otherwise set result to NONDIR_REPLACEMENT.
84007 func_dirname ()
84008 {
84009   # Extract subdirectory from the argument.
84010   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84011   if test "X$func_dirname_result" = "X${1}"; then
84012     func_dirname_result="${3}"
84013   else
84014     func_dirname_result="$func_dirname_result${2}"
84015   fi
84016 }
84017
84018 # func_basename file
84019 func_basename ()
84020 {
84021   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84022 }
84023
84024
84025 # func_stripname prefix suffix name
84026 # strip PREFIX and SUFFIX off of NAME.
84027 # PREFIX and SUFFIX must not contain globbing or regex special
84028 # characters, hashes, percent signs, but SUFFIX may contain a leading
84029 # dot (in which case that matches only a dot).
84030 # func_strip_suffix prefix name
84031 func_stripname ()
84032 {
84033   case ${2} in
84034     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84035     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84036   esac
84037 }
84038
84039 # sed scripts:
84040 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84041 my_sed_long_arg='1s/^-[^=]*=//'
84042
84043 # func_opt_split
84044 func_opt_split ()
84045 {
84046   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84047   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84048 }
84049
84050 # func_lo2o object
84051 func_lo2o ()
84052 {
84053   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84054 }
84055
84056 # func_xform libobj-or-source
84057 func_xform ()
84058 {
84059   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84060 }
84061
84062 # func_arith arithmetic-term...
84063 func_arith ()
84064 {
84065   func_arith_result=`expr "$@"`
84066 }
84067
84068 # func_len string
84069 # STRING may not start with a hyphen.
84070 func_len ()
84071 {
84072   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84073 }
84074
84075 _LT_EOF
84076 esac
84077
84078 case $lt_shell_append in
84079   yes)
84080     cat << \_LT_EOF >> "$cfgfile"
84081
84082 # func_append var value
84083 # Append VALUE to the end of shell variable VAR.
84084 func_append ()
84085 {
84086   eval "$1+=\$2"
84087 }
84088 _LT_EOF
84089     ;;
84090   *)
84091     cat << \_LT_EOF >> "$cfgfile"
84092
84093 # func_append var value
84094 # Append VALUE to the end of shell variable VAR.
84095 func_append ()
84096 {
84097   eval "$1=\$$1\$2"
84098 }
84099
84100 _LT_EOF
84101     ;;
84102   esac
84103
84104
84105   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84106     || (rm -f "$cfgfile"; exit 1)
84107
84108   mv -f "$cfgfile" "$ofile" ||
84109     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84110   chmod +x "$ofile"
84111
84112
84113     cat <<_LT_EOF >> "$ofile"
84114
84115 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84116
84117 # The linker used to build libraries.
84118 LD=$lt_LD_CXX
84119
84120 # How to create reloadable object files.
84121 reload_flag=$lt_reload_flag_CXX
84122 reload_cmds=$lt_reload_cmds_CXX
84123
84124 # Commands used to build an old-style archive.
84125 old_archive_cmds=$lt_old_archive_cmds_CXX
84126
84127 # A language specific compiler.
84128 CC=$lt_compiler_CXX
84129
84130 # Is the compiler the GNU compiler?
84131 with_gcc=$GCC_CXX
84132
84133 # Compiler flag to turn off builtin functions.
84134 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84135
84136 # How to pass a linker flag through the compiler.
84137 wl=$lt_lt_prog_compiler_wl_CXX
84138
84139 # Additional compiler flags for building library objects.
84140 pic_flag=$lt_lt_prog_compiler_pic_CXX
84141
84142 # Compiler flag to prevent dynamic linking.
84143 link_static_flag=$lt_lt_prog_compiler_static_CXX
84144
84145 # Does compiler simultaneously support -c and -o options?
84146 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84147
84148 # Whether or not to add -lc for building shared libraries.
84149 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84150
84151 # Whether or not to disallow shared libs when runtime libs are static.
84152 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84153
84154 # Compiler flag to allow reflexive dlopens.
84155 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84156
84157 # Compiler flag to generate shared objects directly from archives.
84158 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84159
84160 # Whether the compiler copes with passing no objects directly.
84161 compiler_needs_object=$lt_compiler_needs_object_CXX
84162
84163 # Create an old-style archive from a shared archive.
84164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84165
84166 # Create a temporary old-style archive to link instead of a shared archive.
84167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84168
84169 # Commands used to build a shared archive.
84170 archive_cmds=$lt_archive_cmds_CXX
84171 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84172
84173 # Commands used to build a loadable module if different from building
84174 # a shared archive.
84175 module_cmds=$lt_module_cmds_CXX
84176 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84177
84178 # Whether we are building with GNU ld or not.
84179 with_gnu_ld=$lt_with_gnu_ld_CXX
84180
84181 # Flag that allows shared libraries with undefined symbols to be built.
84182 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84183
84184 # Flag that enforces no undefined symbols.
84185 no_undefined_flag=$lt_no_undefined_flag_CXX
84186
84187 # Flag to hardcode \$libdir into a binary during linking.
84188 # This must work even if \$libdir does not exist
84189 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84190
84191 # If ld is used when linking, flag to hardcode \$libdir into a binary
84192 # during linking.  This must work even if \$libdir does not exist.
84193 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84194
84195 # Whether we need a single "-rpath" flag with a separated argument.
84196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84197
84198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84199 # DIR into the resulting binary.
84200 hardcode_direct=$hardcode_direct_CXX
84201
84202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84203 # DIR into the resulting binary and the resulting library dependency is
84204 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84205 # library is relocated.
84206 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84207
84208 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84209 # into the resulting binary.
84210 hardcode_minus_L=$hardcode_minus_L_CXX
84211
84212 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84213 # into the resulting binary.
84214 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84215
84216 # Set to "yes" if building a shared library automatically hardcodes DIR
84217 # into the library and all subsequent libraries and executables linked
84218 # against it.
84219 hardcode_automatic=$hardcode_automatic_CXX
84220
84221 # Set to yes if linker adds runtime paths of dependent libraries
84222 # to runtime path list.
84223 inherit_rpath=$inherit_rpath_CXX
84224
84225 # Whether libtool must link a program against all its dependency libraries.
84226 link_all_deplibs=$link_all_deplibs_CXX
84227
84228 # Fix the shell variable \$srcfile for the compiler.
84229 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84230
84231 # Set to "yes" if exported symbols are required.
84232 always_export_symbols=$always_export_symbols_CXX
84233
84234 # The commands to list exported symbols.
84235 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84236
84237 # Symbols that should not be listed in the preloaded symbols.
84238 exclude_expsyms=$lt_exclude_expsyms_CXX
84239
84240 # Symbols that must always be exported.
84241 include_expsyms=$lt_include_expsyms_CXX
84242
84243 # Commands necessary for linking programs (against libraries) with templates.
84244 prelink_cmds=$lt_prelink_cmds_CXX
84245
84246 # Specify filename containing input files.
84247 file_list_spec=$lt_file_list_spec_CXX
84248
84249 # How to hardcode a shared library path into an executable.
84250 hardcode_action=$hardcode_action_CXX
84251
84252 # The directories searched by this compiler when creating a shared library.
84253 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84254
84255 # Dependencies to place before and after the objects being linked to
84256 # create a shared library.
84257 predep_objects=$lt_predep_objects_CXX
84258 postdep_objects=$lt_postdep_objects_CXX
84259 predeps=$lt_predeps_CXX
84260 postdeps=$lt_postdeps_CXX
84261
84262 # The library search path used internally by the compiler when linking
84263 # a shared library.
84264 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84265
84266 # ### END LIBTOOL TAG CONFIG: CXX
84267 _LT_EOF
84268
84269  ;;
84270     "include/gstdint.h":C)
84271 if test "$GCC" = yes; then
84272   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84273 else
84274   echo "/* generated for $CC */" > tmp-stdint.h
84275 fi
84276
84277 sed 's/^ *//' >> tmp-stdint.h <<EOF
84278
84279   #ifndef GCC_GENERATED_STDINT_H
84280   #define GCC_GENERATED_STDINT_H 1
84281
84282   #include <sys/types.h>
84283 EOF
84284
84285 if test "$acx_cv_header_stdint" != stdint.h; then
84286   echo "#include <stddef.h>" >> tmp-stdint.h
84287 fi
84288 if test "$acx_cv_header_stdint" != stddef.h; then
84289   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84290 fi
84291
84292 sed 's/^ *//' >> tmp-stdint.h <<EOF
84293   /* glibc uses these symbols as guards to prevent redefinitions.  */
84294   #ifdef __int8_t_defined
84295   #define _INT8_T
84296   #define _INT16_T
84297   #define _INT32_T
84298   #endif
84299   #ifdef __uint32_t_defined
84300   #define _UINT32_T
84301   #endif
84302
84303 EOF
84304
84305 # ----------------- done header, emit basic int types -------------
84306 if test "$acx_cv_header_stdint" = stddef.h; then
84307   sed 's/^ *//' >> tmp-stdint.h <<EOF
84308
84309     #ifndef _UINT8_T
84310     #define _UINT8_T
84311     #ifndef __uint8_t_defined
84312     #define __uint8_t_defined
84313     #ifndef uint8_t
84314     typedef unsigned $acx_cv_type_int8_t uint8_t;
84315     #endif
84316     #endif
84317     #endif
84318
84319     #ifndef _UINT16_T
84320     #define _UINT16_T
84321     #ifndef __uint16_t_defined
84322     #define __uint16_t_defined
84323     #ifndef uint16_t
84324     typedef unsigned $acx_cv_type_int16_t uint16_t;
84325     #endif
84326     #endif
84327     #endif
84328
84329     #ifndef _UINT32_T
84330     #define _UINT32_T
84331     #ifndef __uint32_t_defined
84332     #define __uint32_t_defined
84333     #ifndef uint32_t
84334     typedef unsigned $acx_cv_type_int32_t uint32_t;
84335     #endif
84336     #endif
84337     #endif
84338
84339     #ifndef _INT8_T
84340     #define _INT8_T
84341     #ifndef __int8_t_defined
84342     #define __int8_t_defined
84343     #ifndef int8_t
84344     typedef $acx_cv_type_int8_t int8_t;
84345     #endif
84346     #endif
84347     #endif
84348
84349     #ifndef _INT16_T
84350     #define _INT16_T
84351     #ifndef __int16_t_defined
84352     #define __int16_t_defined
84353     #ifndef int16_t
84354     typedef $acx_cv_type_int16_t int16_t;
84355     #endif
84356     #endif
84357     #endif
84358
84359     #ifndef _INT32_T
84360     #define _INT32_T
84361     #ifndef __int32_t_defined
84362     #define __int32_t_defined
84363     #ifndef int32_t
84364     typedef $acx_cv_type_int32_t int32_t;
84365     #endif
84366     #endif
84367     #endif
84368 EOF
84369 elif test "$ac_cv_type_u_int32_t" = yes; then
84370   sed 's/^ *//' >> tmp-stdint.h <<EOF
84371
84372     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84373     #ifndef _INT8_T
84374     #define _INT8_T
84375     #endif
84376     #ifndef _INT16_T
84377     #define _INT16_T
84378     #endif
84379     #ifndef _INT32_T
84380     #define _INT32_T
84381     #endif
84382
84383     #ifndef _UINT8_T
84384     #define _UINT8_T
84385     #ifndef __uint8_t_defined
84386     #define __uint8_t_defined
84387     #ifndef uint8_t
84388     typedef u_int8_t uint8_t;
84389     #endif
84390     #endif
84391     #endif
84392
84393     #ifndef _UINT16_T
84394     #define _UINT16_T
84395     #ifndef __uint16_t_defined
84396     #define __uint16_t_defined
84397     #ifndef uint16_t
84398     typedef u_int16_t uint16_t;
84399     #endif
84400     #endif
84401     #endif
84402
84403     #ifndef _UINT32_T
84404     #define _UINT32_T
84405     #ifndef __uint32_t_defined
84406     #define __uint32_t_defined
84407     #ifndef uint32_t
84408     typedef u_int32_t uint32_t;
84409     #endif
84410     #endif
84411     #endif
84412 EOF
84413 else
84414   sed 's/^ *//' >> tmp-stdint.h <<EOF
84415
84416     /* Some systems have guard macros to prevent redefinitions, define them.  */
84417     #ifndef _INT8_T
84418     #define _INT8_T
84419     #endif
84420     #ifndef _INT16_T
84421     #define _INT16_T
84422     #endif
84423     #ifndef _INT32_T
84424     #define _INT32_T
84425     #endif
84426     #ifndef _UINT8_T
84427     #define _UINT8_T
84428     #endif
84429     #ifndef _UINT16_T
84430     #define _UINT16_T
84431     #endif
84432     #ifndef _UINT32_T
84433     #define _UINT32_T
84434     #endif
84435 EOF
84436 fi
84437
84438 # ------------- done basic int types, emit int64_t types ------------
84439 if test "$ac_cv_type_uint64_t" = yes; then
84440   sed 's/^ *//' >> tmp-stdint.h <<EOF
84441
84442     /* system headers have good uint64_t and int64_t */
84443     #ifndef _INT64_T
84444     #define _INT64_T
84445     #endif
84446     #ifndef _UINT64_T
84447     #define _UINT64_T
84448     #endif
84449 EOF
84450 elif test "$ac_cv_type_u_int64_t" = yes; then
84451   sed 's/^ *//' >> tmp-stdint.h <<EOF
84452
84453     /* system headers have an u_int64_t (and int64_t) */
84454     #ifndef _INT64_T
84455     #define _INT64_T
84456     #endif
84457     #ifndef _UINT64_T
84458     #define _UINT64_T
84459     #ifndef __uint64_t_defined
84460     #define __uint64_t_defined
84461     #ifndef uint64_t
84462     typedef u_int64_t uint64_t;
84463     #endif
84464     #endif
84465     #endif
84466 EOF
84467 elif test -n "$acx_cv_type_int64_t"; then
84468   sed 's/^ *//' >> tmp-stdint.h <<EOF
84469
84470     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84471     #ifndef _INT64_T
84472     #define _INT64_T
84473     #ifndef int64_t
84474     typedef $acx_cv_type_int64_t int64_t;
84475     #endif
84476     #endif
84477     #ifndef _UINT64_T
84478     #define _UINT64_T
84479     #ifndef __uint64_t_defined
84480     #define __uint64_t_defined
84481     #ifndef uint64_t
84482     typedef unsigned $acx_cv_type_int64_t uint64_t;
84483     #endif
84484     #endif
84485     #endif
84486 EOF
84487 else
84488   sed 's/^ *//' >> tmp-stdint.h <<EOF
84489
84490     /* some common heuristics for int64_t, using compiler-specific tests */
84491     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84492     #ifndef _INT64_T
84493     #define _INT64_T
84494     #ifndef __int64_t_defined
84495     #ifndef int64_t
84496     typedef long long int64_t;
84497     #endif
84498     #endif
84499     #endif
84500     #ifndef _UINT64_T
84501     #define _UINT64_T
84502     #ifndef uint64_t
84503     typedef unsigned long long uint64_t;
84504     #endif
84505     #endif
84506
84507     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84508     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84509        does not implement __extension__.  But that compiler doesn't define
84510        __GNUC_MINOR__.  */
84511     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84512     # define __extension__
84513     # endif
84514
84515     # ifndef _INT64_T
84516     # define _INT64_T
84517     # ifndef int64_t
84518     __extension__ typedef long long int64_t;
84519     # endif
84520     # endif
84521     # ifndef _UINT64_T
84522     # define _UINT64_T
84523     # ifndef uint64_t
84524     __extension__ typedef unsigned long long uint64_t;
84525     # endif
84526     # endif
84527
84528     #elif !defined __STRICT_ANSI__
84529     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84530
84531     #  ifndef _INT64_T
84532     #  define _INT64_T
84533     #  ifndef int64_t
84534     typedef __int64 int64_t;
84535     #  endif
84536     #  endif
84537     #  ifndef _UINT64_T
84538     #  define _UINT64_T
84539     #  ifndef uint64_t
84540     typedef unsigned __int64 uint64_t;
84541     #  endif
84542     #  endif
84543     # endif /* compiler */
84544
84545     #endif /* ANSI version */
84546 EOF
84547 fi
84548
84549 # ------------- done int64_t types, emit intptr types ------------
84550 if test "$ac_cv_type_uintptr_t" != yes; then
84551   sed 's/^ *//' >> tmp-stdint.h <<EOF
84552
84553     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84554     #ifndef __uintptr_t_defined
84555     #ifndef uintptr_t
84556     typedef u$acx_cv_type_intptr_t uintptr_t;
84557     #endif
84558     #endif
84559     #ifndef __intptr_t_defined
84560     #ifndef intptr_t
84561     typedef $acx_cv_type_intptr_t  intptr_t;
84562     #endif
84563     #endif
84564 EOF
84565 fi
84566
84567 # ------------- done intptr types, emit int_least types ------------
84568 if test "$ac_cv_type_int_least32_t" != yes; then
84569   sed 's/^ *//' >> tmp-stdint.h <<EOF
84570
84571     /* Define int_least types */
84572     typedef int8_t     int_least8_t;
84573     typedef int16_t    int_least16_t;
84574     typedef int32_t    int_least32_t;
84575     #ifdef _INT64_T
84576     typedef int64_t    int_least64_t;
84577     #endif
84578
84579     typedef uint8_t    uint_least8_t;
84580     typedef uint16_t   uint_least16_t;
84581     typedef uint32_t   uint_least32_t;
84582     #ifdef _UINT64_T
84583     typedef uint64_t   uint_least64_t;
84584     #endif
84585 EOF
84586 fi
84587
84588 # ------------- done intptr types, emit int_fast types ------------
84589 if test "$ac_cv_type_int_fast32_t" != yes; then
84590       sed 's/^ *//' >> tmp-stdint.h <<EOF
84591
84592     /* Define int_fast types.  short is often slow */
84593     typedef int8_t       int_fast8_t;
84594     typedef int          int_fast16_t;
84595     typedef int32_t      int_fast32_t;
84596     #ifdef _INT64_T
84597     typedef int64_t      int_fast64_t;
84598     #endif
84599
84600     typedef uint8_t      uint_fast8_t;
84601     typedef unsigned int uint_fast16_t;
84602     typedef uint32_t     uint_fast32_t;
84603     #ifdef _UINT64_T
84604     typedef uint64_t     uint_fast64_t;
84605     #endif
84606 EOF
84607 fi
84608
84609 if test "$ac_cv_type_uintmax_t" != yes; then
84610   sed 's/^ *//' >> tmp-stdint.h <<EOF
84611
84612     /* Define intmax based on what we found */
84613     #ifndef intmax_t
84614     #ifdef _INT64_T
84615     typedef int64_t       intmax_t;
84616     #else
84617     typedef long          intmax_t;
84618     #endif
84619     #endif
84620     #ifndef uintmax_t
84621     #ifdef _UINT64_T
84622     typedef uint64_t      uintmax_t;
84623     #else
84624     typedef unsigned long uintmax_t;
84625     #endif
84626     #endif
84627 EOF
84628 fi
84629
84630 sed 's/^ *//' >> tmp-stdint.h <<EOF
84631
84632   #endif /* GCC_GENERATED_STDINT_H */
84633 EOF
84634
84635 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84636   rm -f tmp-stdint.h
84637 else
84638   mv -f tmp-stdint.h include/gstdint.h
84639 fi
84640
84641  ;;
84642     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84643     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84644     "include/Makefile":F) cat > vpsed$$ << \_EOF
84645 s!`test -f '$<' || echo '$(srcdir)/'`!!
84646 _EOF
84647    sed -f vpsed$$ $ac_file > tmp$$
84648    mv tmp$$ $ac_file
84649    rm vpsed$$
84650    echo 'MULTISUBDIR =' >> $ac_file
84651    ml_norecursion=yes
84652    . ${multi_basedir}/config-ml.in
84653    { ml_norecursion=; unset ml_norecursion;}
84654  ;;
84655     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84656 s!`test -f '$<' || echo '$(srcdir)/'`!!
84657 _EOF
84658    sed -f vpsed$$ $ac_file > tmp$$
84659    mv tmp$$ $ac_file
84660    rm vpsed$$
84661    echo 'MULTISUBDIR =' >> $ac_file
84662    ml_norecursion=yes
84663    . ${multi_basedir}/config-ml.in
84664    { ml_norecursion=; unset ml_norecursion;}
84665  ;;
84666     "src/Makefile":F) cat > vpsed$$ << \_EOF
84667 s!`test -f '$<' || echo '$(srcdir)/'`!!
84668 _EOF
84669    sed -f vpsed$$ $ac_file > tmp$$
84670    mv tmp$$ $ac_file
84671    rm vpsed$$
84672    echo 'MULTISUBDIR =' >> $ac_file
84673    ml_norecursion=yes
84674    . ${multi_basedir}/config-ml.in
84675    { ml_norecursion=; unset ml_norecursion;}
84676  ;;
84677     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84678 s!`test -f '$<' || echo '$(srcdir)/'`!!
84679 _EOF
84680    sed -f vpsed$$ $ac_file > tmp$$
84681    mv tmp$$ $ac_file
84682    rm vpsed$$
84683    echo 'MULTISUBDIR =' >> $ac_file
84684    ml_norecursion=yes
84685    . ${multi_basedir}/config-ml.in
84686    { ml_norecursion=; unset ml_norecursion;}
84687  ;;
84688     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84689 s!`test -f '$<' || echo '$(srcdir)/'`!!
84690 _EOF
84691    sed -f vpsed$$ $ac_file > tmp$$
84692    mv tmp$$ $ac_file
84693    rm vpsed$$
84694    echo 'MULTISUBDIR =' >> $ac_file
84695    ml_norecursion=yes
84696    . ${multi_basedir}/config-ml.in
84697    { ml_norecursion=; unset ml_norecursion;}
84698  ;;
84699     "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84700 s!`test -f '$<' || echo '$(srcdir)/'`!!
84701 _EOF
84702    sed -f vpsed$$ $ac_file > tmp$$
84703    mv tmp$$ $ac_file
84704    rm vpsed$$
84705    echo 'MULTISUBDIR =' >> $ac_file
84706    ml_norecursion=yes
84707    . ${multi_basedir}/config-ml.in
84708    { ml_norecursion=; unset ml_norecursion;}
84709  ;;
84710     "doc/Makefile":F) cat > vpsed$$ << \_EOF
84711 s!`test -f '$<' || echo '$(srcdir)/'`!!
84712 _EOF
84713    sed -f vpsed$$ $ac_file > tmp$$
84714    mv tmp$$ $ac_file
84715    rm vpsed$$
84716    echo 'MULTISUBDIR =' >> $ac_file
84717    ml_norecursion=yes
84718    . ${multi_basedir}/config-ml.in
84719    { ml_norecursion=; unset ml_norecursion;}
84720  ;;
84721     "po/Makefile":F) cat > vpsed$$ << \_EOF
84722 s!`test -f '$<' || echo '$(srcdir)/'`!!
84723 _EOF
84724    sed -f vpsed$$ $ac_file > tmp$$
84725    mv tmp$$ $ac_file
84726    rm vpsed$$
84727    echo 'MULTISUBDIR =' >> $ac_file
84728    ml_norecursion=yes
84729    . ${multi_basedir}/config-ml.in
84730    { ml_norecursion=; unset ml_norecursion;}
84731  ;;
84732     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84733 s!`test -f '$<' || echo '$(srcdir)/'`!!
84734 _EOF
84735    sed -f vpsed$$ $ac_file > tmp$$
84736    mv tmp$$ $ac_file
84737    rm vpsed$$
84738    echo 'MULTISUBDIR =' >> $ac_file
84739    ml_norecursion=yes
84740    . ${multi_basedir}/config-ml.in
84741    { ml_norecursion=; unset ml_norecursion;}
84742  ;;
84743     "python/Makefile":F) cat > vpsed$$ << \_EOF
84744 s!`test -f '$<' || echo '$(srcdir)/'`!!
84745 _EOF
84746    sed -f vpsed$$ $ac_file > tmp$$
84747    mv tmp$$ $ac_file
84748    rm vpsed$$
84749    echo 'MULTISUBDIR =' >> $ac_file
84750    ml_norecursion=yes
84751    . ${multi_basedir}/config-ml.in
84752    { ml_norecursion=; unset ml_norecursion;}
84753  ;;
84754     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84755
84756   esac
84757 done # for ac_tag
84758
84759
84760 as_fn_exit 0
84761 _ACEOF
84762 ac_clean_files=$ac_clean_files_save
84763
84764 test $ac_write_fail = 0 ||
84765   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84766
84767
84768 # configure is writing to config.log, and then calls config.status.
84769 # config.status does its own redirection, appending to config.log.
84770 # Unfortunately, on DOS this fails, as config.log is still kept open
84771 # by configure, so config.status won't be able to write to it; its
84772 # output is simply discarded.  So we exec the FD to /dev/null,
84773 # effectively closing config.log, so it can be properly (re)opened and
84774 # appended to by config.status.  When coming back to configure, we
84775 # need to make the FD available again.
84776 if test "$no_create" != yes; then
84777   ac_cs_success=:
84778   ac_config_status_args=
84779   test "$silent" = yes &&
84780     ac_config_status_args="$ac_config_status_args --quiet"
84781   exec 5>/dev/null
84782   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84783   exec 5>>config.log
84784   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84785   # would make configure fail if this is the last instruction.
84786   $ac_cs_success || as_fn_exit $?
84787 fi
84788 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84789   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84790 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84791 fi
84792